1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[27011],{3431:(e,t,a)=>{a.d(t,{A:()=>o});let o={bucketObjectId:"https://h3f5ivd9.b-cdn.net/placeholder_rectangle.jpg",webpSrc:"https://h3f5ivd9.b-cdn.net/placeholder_rectangle.webp"}},27011:(e,t,a)=>{a.d(t,{A:()=>T});var o=a(6029),i=a(7703),r=a(55729),n=a(21425),s=a(74836),l=a(7652),d=a(3431),c=a(69937),u=a(59396);function h(e){let{src:t,iconColor:a,shouldLoadAsset:i,objectPosition:n,objectFit:s,"data-item-media-attribute":l,"data-media-attribute":d}=e,c=(0,r.useId)();return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"0",height:"0",children:(0,o.jsxs)("filter",{id:c,colorInterpolationFilters:"sRGB",children:[(0,o.jsx)("feFlood",{floodColor:a,result:"flood"}),(0,o.jsx)("feComposite",{in:"flood",in2:"SourceGraphic",operator:"in"})]})}),(0,o.jsx)("img",{src:i?t:"",alt:"icon",style:{filter:`url(#${c})`,width:"100%",height:"100%",objectPosition:n,objectFit:s}})]})}var p=a(81553),f=a(71024),g=a.n(f),m=a(46944),b=a(29927),v=a(13654);let y=g()(()=>a.e(12353).then(a.bind(a,64187)),{loadableGenerated:{webpack:()=>[64187]}}),x=(0,i.n9)()(e=>({videoContainer:{display:"flex",justifyContent:"center",alignItems:"center",height:"100%",width:"100%",position:"relative"},controlContainer:{position:"absolute",top:"0",left:"0",width:"100%",height:"100%",display:"flex",justifyContent:"center",alignItems:"center"},video:{width:"100%",maxWidth:"100%"},backgroundVideo:{objectFit:"cover",width:"100%",height:"100%",backgroundColor:"black"},ieBackgroundVideo:{height:"unset"},icon:{color:"white !important",fontSize:"64px","&:hover":{cursor:"pointer"}},professionalIcon:{borderRadius:"50%","&:hover":{backgroundColor:e.palette.secondary.main}},forceHeight:{width:"auto",height:"100%"}})),w=(0,r.forwardRef)((e,t)=>{let a,{title:i,isBackground:s=!1,shouldLoadAsset:d=!1,src:c,customPlayButton:u=!1,playButtonSx:h,controls:f=!1,autoPlay:g=!1,loop:w=!1,forceHeight:j=!1,muted:C=!0,forcePaused:k=!1,onStarted:P,onEnded:E,onPause:N,className:I="",style:A={},containerClassName:S="","data-item-media-attribute":B,"data-media-attribute":F}=e,T=(0,m.A)(),L=g&&T,{template:$,disableImageCompression:R}=(0,r.useContext)(n.$$),[V,Y]=(0,r.useState)(!1),[z,H]=(0,r.useState)(!0),[_,D]=(0,r.useState)(!1),[W,G]=(0,r.useState)(!1),M=(0,b.A)(),{classes:q,cx:O}=x();(0,r.useEffect)(()=>{let e=e=>{e.ended&&(H(!0),D(!0))},a=()=>{H(!1),G(!1),Y(!0)},o=()=>{H(!0)},i=()=>{G(!0)};if(u){let r=t.current;return r.addEventListener("timeupdate",()=>e(r)),r.addEventListener("play",a),r.addEventListener("pause",o),r.addEventListener("seeking",i),()=>{r.removeEventListener("timeupdate",()=>e(r)),r.removeEventListener("play",a),r.removeEventListener("pause",o),r.removeEventListener("seeking",i)}}},[u,c,t]),(0,r.useEffect)(()=>{let e=t?.current;null!=e&&(M?(e.pause&&e.pause(),H(!0)):L&&e.play&&e.play().then(()=>H(!1)))},[M,t,L]),(0,r.useEffect)(()=>{let e=t?.current;null!=e&&k&&e.pause&&(e.pause(),H(!0))},[k,t]);let Z=e=>{e.preventDefault(),e.stopPropagation();let a=t.current;if(z&&null!=a){if(_&&D(!1),!a.play)return;a.play()}else{if(!a.pause)return;a.pause()}};switch($){case"bold":M||(a=(0,o.jsx)(y,{isVideoEnded:_,sx:h}));break;case"professional":a=(0,o.jsx)(p.A,{className:O(_&&"fas fa-redo-alt",!_&&"far fa-play-circle",q.icon,q.professionalIcon)});break;default:a=(0,o.jsx)(p.A,{className:O(_&&"fas fa-redo-alt",!_&&"far fa-play-circle",q.icon)})}let K="sunrise"===$?{objectFit:z?"cover":"contain"}:void 0,U=c;return"undefined"!=typeof navigator&&navigator.userAgent&&!/iPad|iPhone|iPod/.test(navigator.userAgent)&&(U=`${c}#t=1.1`),(0,o.jsxs)("div",{className:O(q.videoContainer,S,"video-container"),children:[(0,o.jsx)("video",{preload:"metadata",controls:f,title:i,className:O(I,!s&&q.video,s&&q.backgroundVideo,v.lT&&s&&q.ieBackgroundVideo,j&&q.forceHeight),style:{...K,...A},ref:t,muted:C,onPlay:P,onEnded:E,onPause:N,onClick:u&&!f?Z:void 0,autoPlay:!M&&L,loop:!M&&w,poster:(0,l.Vt)(c,{noTransform:R}),children:T&&d&&(0,o.jsx)("source",{src:U})},U),u&&a&&(!V||!W&&(_||z))&&(0,o.jsx)("div",{className:q.controlContainer,style:{background:`${z?"rgba(0, 0, 0, 0.4)":"rgba(0, 0, 0, 0)"}`},onClick:Z,onKeyPress:Z,role:"button",tabIndex:0,"aria-label":`Play button for video with title: ${i}`,children:z&&a})]})});var j=a(43072);let C="https://www.youtube.com/iframe_api",k=(0,i.n9)()({videoContainer:{overflow:"hidden",position:"relative",width:"100%",height:0,paddingBottom:0},includePaddingBottom:{paddingBottom:"56.25%"},background:{position:"static"},forceHeight:{width:"auto",height:"100%"},iframe:{position:"absolute",top:0,left:0,width:"100%",height:"100%"},posterFrame:{position:"absolute",top:0,left:0,width:"100%",height:"100%",overflow:"hidden",pointerEvents:"none"},poster:{position:"absolute",top:"-16.667%",left:0,width:"100%",height:"133.333%",objectFit:"cover"},playBadge:{position:"absolute",top:"50%",left:"50%",width:68,height:48,transform:"translate(-50%, -50%)",pointerEvents:"none",color:"#fff",filter:"drop-shadow(0 1px 3px rgba(0, 0, 0, 0.5))"},videoContainerFillContainer:{position:"relative",height:"100%"},iframeFillContainer:{top:"50%",left:"50%",width:"100vw",height:"100vh",position:"absolute",transform:"translate(-50%, -50%)","@media (min-aspect-ratio: 16/9)":{height:"56.25vw"},"@media (max-aspect-ratio: 16/9)":{width:"177.78vh"}}}),P=(0,r.forwardRef)((e,t)=>
1{let{videoId:a,title:i,isBackground:n=!1,controls:s=!1,onStarted:l,onEnded:d,onPause:c,autoPlay:u=!1,loop:h=!1,forceHeight:p=!1,muted:f=!1,forcePaused:g=!1,includePaddingBottom:v=!0,fillContainer:y=!1,className:x="",shouldLoadAsset:w=!0,style:P={},"data-item-media-attribute":E,"data-media-attribute":N}=e,I=(0,m.A)(),A=u&&I,{classes:S,cx:B}=k(),F=(0,r.useRef)(performance.now()),T=`${a}${F.current}-player`,[L,$]=(0,r.useState)(),R=(0,b.A)(),[V,Y]=(0,r.useState)(),z=!!a&&!L&&V!==a,[H,_]=(0,j.Wx)({triggerOnce:!0,rootMargin:"200px 0px"}),D=(0,r.useRef)(f),W=(0,r.useRef)(A);(0,r.useEffect)(()=>{D.current=f},[f]),(0,r.useEffect)(()=>{W.current=A},[A]);let G=(0,r.useCallback)(e=>{if(L)try{e(L)}catch{}},[L]);(0,r.useEffect)(()=>{L&&(R||!w?G(e=>e.stopVideo()):A&&G(e=>e.playVideo()))},[R,L,A,w,G]),(0,r.useEffect)(()=>{L&&g&&G(e=>e.pauseVideo())},[L,g,G]),(0,r.useEffect)(()=>{L&&(f?G(e=>e.mute()):G(e=>e.unMute()))},[f,L,G]);let M=(0,r.useCallback)(e=>{switch(e.data){case YT.PlayerState.ENDED:if(d&&d(),h)try{e.target.seekTo(0,!0),e.target.playVideo()}catch{}break;case YT.PlayerState.PLAYING:l&&l();break;case YT.PlayerState.PAUSED:c&&c()}},[l,d,h,c]),q=(0,r.useCallback)(e=>{try{D.current&&e.target.mute(),W.current&&e.target.playVideo()}catch{}$(e.target)},[]);return(0,r.useEffect)(()=>{let e;if(!_)return;let t=!1;return $(void 0),(window.YT?.Player?Promise.resolve():new Promise(e=>{let t=0,a=()=>{if(window.YT?.Player||++t>1200)return void e();requestAnimationFrame(a)};if(document.querySelector(`script[src="${C}"]`))a();else{globalThis.loadedYoutubeAPI=!0;let e=document.createElement("script");e.src=C;let t=document.getElementsByTagName("script")[0];t?.parentNode?.insertBefore(e,t);let o=window.onYouTubeIframeAPIReady;window.onYouTubeIframeAPIReady=()=>{"function"==typeof o&&o(),a()}}})).then(()=>{!t&&window.YT?.Player&&document.getElementById(T)&&(e=new window.YT.Player(T,{videoId:a,playerVars:{controls:+!!s,enablejsapi:1},events:{onStateChange:M,onReady:q},host:"https://www.youtube-nocookie.com"}))}).catch(()=>{globalThis.loadedYoutubeAPI=!1}),()=>{t=!0,$(void 0);try{e?.destroy?.()}catch{}}},[_,a,M,q,s,T]),(0,o.jsxs)("div",{ref:H,className:B(x,S.videoContainer,v&&S.includePaddingBottom,n&&S.background,p&&S.forceHeight,y&&S.videoContainerFillContainer),style:P,children:[(0,o.jsx)("div",{id:T,className:B(S.iframe,y&&S.iframeFillContainer),ref:t,role:"group","aria-label":i}),z&&(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("div",{className:S.posterFrame,"aria-hidden":"true",children:(0,o.jsx)("img",{className:S.poster,src:`https://i.ytimg.com/vi/${a}/hqdefault.jpg`,alt:"",onError:()=>Y(a),"data-youtube-poster":a})}),(!u||R)&&(0,o.jsxs)("svg",{className:S.playBadge,viewBox:"0 0 68 48","aria-hidden":"true",focusable:"false",children:[(0,o.jsx)("path",{d:"M66.52 7.74a8.4 8.4 0 0 0-5.9-5.94C55.4.6 34 .6 34 .6s-21.4 0-26.62 1.2A8.4 8.4 0 0 0 1.48 7.74C.3 13 .3 24 .3 24s0 11 1.18 16.26a8.4 8.4 0 0 0 5.9 5.94C12.6 47.4 34 47.4 34 47.4s21.4 0 26.62-1.2a8.4 8.4 0 0 0 5.9-5.94C67.7 35 67.7 24 67.7 24s0-11-1.18-16.26z",fill:"#000",fillOpacity:"0.55"}),(0,o.jsx)("path",{d:"M27 14.5v19l17-9.5z",fill:"currentColor"})]})]})]})});var E=a(56676);let N=(0,E.i7)` 2 0% { transform: rotate(0deg); } 3 100% { transform: rotate(360deg); } 4`,I=(0,E.i7)` 5 0%, 100% { opacity: 0.7; } 6 50% { opacity: 1; } 7`,A=(0,i.n9)()({container:{position:"relative",width:"100%",height:0,paddingBottom:"56.25%",backgroundColor:"#f5f5f5",display:"flex",alignItems:"center",justifyContent:"center",overflow:"hidden"},loadingContent:{position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)",display:"flex",flexDirection:"column",alignItems:"center",gap:"12px"},spinner:{width:"40px",height:"40px",border:"3px solid #e0e0e0",borderTop:"3px solid #666",borderRadius:"50%",animation:`${N} 1s linear infinite`},playIcon:{width:"60px",height:"60px",backgroundColor:"rgba(0, 0, 0, 0.7)",borderRadius:"50%",display:"flex",alignItems:"center",justifyContent:"center",animation:`${I} 2s ease-in-out infinite`,"&::after":{content:'""',width:0,height:0,borderLeft:"16px solid white",borderTop:"10
7px solid transparent",borderBottom:"10px solid transparent",marginLeft:"4px"}}}),S=e=>{let{className:t,style:a,variant:i="play"}=e,{classes:r,cx:n}=A();return(0,o.jsx)("div",{className:n(r.container,t),style:a,children:(0,o.jsx)("div",{className:r.loadingContent,children:"spinner"===i?(0,o.jsx)("div",{className:r.spinner}):(0,o.jsx)("div",{className:r.playIcon})})})},B=(0,r.lazy)(()=>a.e(82178).then(a.bind(a,82178))),F=(0,i.n9)()({imgContainer:{display:"flex",justifyContent:"center",alignItems:"center",width:"100%",height:"100%"},fillImgContainer:{position:"relative",display:"block",width:"100%",height:"100%"},autoHeight:{height:"auto"},img:{maxWidth:"100%",maxHeight:"100%"},bgWrap:{position:"fixed",height:"100vh",width:"100vw",overflow:"hidden",zIndex:-1},backgroundImage:{backgroundRepeat:"no-repeat",backgroundSize:"cover",backgroundPosition:"center"},backgroundImageNested:{width:"100%"},backgroundImageNoNested:{position:"absolute",top:"0",left:"0",bottom:"0",right:"0"},texture:{opacity:"0.8 !important"}}),T=(0,r.forwardRef)((e,t)=>{let{media:a,className:i,containerClassName:p,title:f,children:g,isBackground:m=!1,shouldLoadAsset:b=!0,onVideoStarted:v,onVideoEnded:y,onVideoPause:x,draggable:j,customPlayButton:C=!1,playButtonSx:k,muted:E=!1,controls:N=!1,autoPlay:I,forcePaused:A=!1,loop:T=!1,forceHeight:L=!1,includeYTPaddingBottom:$=!0,fillYTContainer:R=!1,objectFit:V,objectPosition:Y,focalPoint:z,loading:H="lazy",fetchPriority:_,sizes:D,srcSetWidths:W,style:G={},containerStyle:M={},iconColor:q="#000000",ytStyle:O={},"data-item-media-attribute":Z,"data-media-attribute":K}=e,{classes:U,cx:J}=F(),Q=(0,r.useRef)(null),{id:X,isPreview:ee,disableImageCompression:et}=(0,r.useContext)(n.$$),ea=(0,l.Nh)(a),eo=(0,l.fF)(a,{noTransform:et,sourceWidth:ea}),ei=D?(0,l.Dl)(a,{widths:W,noTransform:et,sourceWidth:ea}):void 0,er=z??(0,l.o5)(a),en=(0,l.Zi)(a)||f,es=en?(0,u.A)(en):"",el=(0,l.KT)(a),ed=er?`${100*er.x}% ${100*er.y}%`:Y,ec=ee&&eo.startsWith("/")?`/${X}/static${eo}`:eo,eu=eo.includes("textures/");switch((()=>{let e=(0,c.ZC)(eo);return"image"!==e&&""!==eo||g||m?("image"===e||""===eo)&&(g||m)?"backgroundImage":e:"image"})()){case"icon":return(0,o.jsx)(h,{src:ec,iconColor:q,shouldLoadAsset:b,objectPosition:Y,objectFit:V});case"image":return(0,o.jsx)("div",{className:J(p,U.imgContainer),style:M,children:(0,o.jsx)("img",{loading:H,fetchpriority:_,src:b?ec||(0,l.Ay)(d.A):"",srcSet:b?ei:void 0,sizes:b&&ei?D:void 0,width:ea,height:el,alt:es,ref:t??Q,className:J(U.autoHeight,i,U.img,eu&&U.texture),style:{objectFit:V||"cover",objectPosition:ed,...G},draggable:j})});case"backgroundImage":if(!g)return(0,o.jsx)("img",{loading:H,fetchpriority:_,src:ec||(0,l.Ay)(d.A),srcSet:ei,sizes:ei?D:void 0,alt:es??"",draggable:j,className:J(i,m&&U.backgroundImageNoNested,!m&&U.backgroundImageNested,eu&&U.texture),style:{objectFit:V||"cover",objectPosition:ed,position:"absolute",height:"100%",width:"100%",inset:"0px",color:"transparent",...G}});return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("img",{loading:H,fetchpriority:_,src:ec||(0,l.Ay)(d.A),srcSet:ei,sizes:ei?D:void 0,alt:es??"",draggable:j,className:J(i,m&&U.backgroundImageNoNested,!m&&U.backgroundImageNested,eu&&U.texture),style:{objectFit:V,position:"absolute",height:"100%",width:"100%",inset:"0px",color:"transparent",...G}}),g]});case"video":return(0,o.jsx)(w,{className:i,containerClassName:p,title:es,style:{objectFit:V,...G},isBackground:m,ref:t??Q,muted:E,controls:N,forcePaused:A,onStarted:v,onEnded:y,onPause:x,shouldLoadAsset:b,src:ec,autoPlay:I,customPlayButton:C,playButtonSx:k,loop:T,forceHeight:L});case"youtube":let eh=(0,c.CZ)(eo);return(0,o.jsx)(s.A,{children:(0,o.jsx)(P,{className:i,style:{...G,...O},videoId:eh&&eh[1]||"",title:es,isBackground:m,ref:t??Q,controls:N,forcePaused:A,onStarted:v,onEnded:y,onPause:x,autoPlay:I,loop:T,forceHeight:L,muted:E,includePaddingBottom:$,fillContainer:R,shouldLoadAsset:b})});case"vimeo":let ep=(0,c.t8)(eo);return(0,o.jsx)(s.A,{children:(0,o.jsx)(r.Suspense,{fallback:(0,o.jsx)(S,{style:{...G,...O}}),children:(0,o.jsx)(B,{className:i,style:{...G,...O}
7,videoId:ep&&ep[1]||"",title:es,isBackground:m,ref:t??Q,controls:N,forcePaused:A,onStarted:v,onEnded:y,onPause:x,autoPlay:I,loop:T,forceHeight:L,muted:E,includePaddingBottom:$,fillContainer:R,shouldLoadAsset:b})})});default:return null}})},46944:(e,t,a)=>{a.d(t,{A:()=>i});var o=a(55729);function i(){let[e,t]=(0,o.useState)(!1);return(0,o.useEffect)(()=>{if(e)return;let a=()=>t(!0);return document.addEventListener("mouseover",a,{once:!0}),document.addEventListener("touchstart",a,{once:!0}),()=>{document.removeEventListener("mouseover",a),document.removeEventListener("touchstart",a)}}),e}},74836:(e,t,a)=>{a.d(t,{A:()=>r});var o=a(6029),i=a(55729);let r=e=>{let{children:t,fallback:a=null}=e,[r,n]=(0,i.useState)(!1);return((0,i.useEffect)(()=>{n(!0)},[]),r)?(0,o.jsx)(o.Fragment,{children:t}):(0,o.jsx)(o.Fragment,{children:a})}}}]);
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.