PageSourceSearch

https://www.breitling.com/_next/static/chunks/9038.25.0.5.js

js breitling.com collected 2026-10-02 02:28:26 UTC 22,599 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9038],{79038:function(e,t,n){n.d(t,{n:function(){return ew},Y:function(){return ef}});var r,o,i,l,a,d,s,c,u,p,h,f,v,m,g,w=n(52676),b=n(75271),x=n(53720),y=n(30967),P=n(31584),C=n(50659),E=n(18720),j=n(44729);function k(e){return isNaN(e)?"00:00":"".concat(String(Math.floor(e/60)).padStart(2,"0"),":").concat(String(Math.floor(e%60)).padStart(2,"0"))}let O=e=>{switch(e){case"PlayOnClick":case"OpenPopup":default:return{autoPlay:!1,loop:!1};case"AutoplayLoop":return{autoPlay:!0,loop:!0}}};function I(){return(I=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}var M=function(e){return b.createElement("svg",I({xmlns:"http://www.w3.org/2000/svg",width:14,height:14,fill:"none"},e),r||(r=b.createElement("path",{stroke:"#fff",strokeWidth:1.5,d:"M5.6 1.23H1.344v4.026M5.6 12.72H1.344V8.693M8.61 1.23h4.257v4.026M8.61 12.72h4.257V8.693"})))};function L(){return(L=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}var Z=function(e){return b.createElement("svg",L({xmlns:"http://www.w3.org/2000/svg",width:17,height:17,fill:"none"},e),o||(o=b.createElement("path",{fill:"#fff",d:"M9.722 2.742a.667.667 0 0 0-1.093-.512l-3.63 3.024c-.12.1-.27.155-.426.155H1.055a.667.667 0 0 0-.666.667v5.333c0 .368.298.667.666.667h3.518c.156 0 .307.054.426.154l3.63 3.024a.667.667 0 0 0 1.093-.512z"})),i||(i=b.createElement("path",{fill:"#fff",fillRule:"evenodd",d:"M10.94 5.913c.26-.26.683-.26.943 0a4 4 0 0 1 1.172 2.829 4 4 0 0 1-1.172 2.828.667.667 0 1 1-.943-.943 2.66 2.66 0 0 0 .781-1.885c0-.737-.297-1.403-.78-1.886a.667.667 0 0 1 0-.943",clipRule:"evenodd"})),l||(l=b.createElement("path",{fill:"#fff",fillRule:"evenodd",d:"M12.827 4.028c.26-.26.682-.26.943 0a6.65 6.65 0 0 1 1.952 4.714c0 1.84-.747 3.508-1.952 4.714a.667.667 0 1 1-.943-.943 5.31 5.31 0 0 0 1.562-3.77 5.31 5.31 0 0 0-1.562-3.772.667.667 0 0 1 0-.943",clipRule:"evenodd"})))};function _(){return(_=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}var S=function(e){return b.createElement("svg",_({xmlns:"http://www.w3.org/2000/svg",width:15,height:15,className:"icon",viewBox:"0 0 1024 1024"},e),a||(a=b.createElement("path",{fill:"#fff",d:"M767.99 677.517V21.371a21.333 21.333 0 0 0-36.436-15.103L414.17 323.696zm164.431 224.717L121.785 91.598a21.333 21.333 0 0 0-30.164 30.164L311.176 341.36h-76.499a21.333 21.333 0 0 0-21.332 21.333v298.655a21.333 21.333 0 0 0 21.332 21.333h161.829l335.091 335.09a21.333 21.333 0 0 0 36.393-15.103V798.174l134.225 134.224a21.333 21.333 0 1 0 30.206-30.164"})))};function z(){return(z=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}var R=function(e){return b.createElement("svg",z({xmlns:"http://www.w3.org/2000/svg",width:25,height:25,fill:"none"},e),d||(d=b.createElement("rect",{width:3.444,height:12.397,x:7.285,y:6.543,fill:"#fff",rx:1})),s||(s=b.createElement("rect",{width:3.444,height:12.397,x:13.484,y:6.543,fill:"#fff",rx:1})))};function V(){return(V=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}var B=function(e){return b.createElement("svg",V({xmlns:"http://www.w3.org/2000/svg",width:11,height:13,fill:"none"},e),c||(c=b.createElement("path",{fill:"#fff",d:"M1.699.72a1 1 0 0 0-1.537.844V11.92a1 1 0 0 0 1.537.843l8.137-5.178a1 1 0 0 0 0-1.687z"})))};function A(){return(A=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}var N=function(e){return b.createElement("svg",A({xmlns:"http://www.w3.org/2000/svg",width:20,height:20,className:"icon",viewBox:"0 0 1024 1024"},e),u||(u=b.createElement("path",{fill:"#fff",d:"M841.789 410.527H638.842a25.37 25.37 0 0 1-25.369-25.369V182.211a25.368 25.368 0 0 1 50.737 0v141.706L976.06 12.061a25.368 25.368 0 1 1 35.88 35.88L700.083 359.79h141.706a25.368 25.368 0 0 1 0 50.737M47.94 1011.939l311.85-311.856v141.706a25.368 25.368 0 0 0 50.737 0V638.842a25.37 25.37 0 0 0-25.369-25.369H182.211a25.368 25.368 0 0 0 0 50.737h141.706L12.061 976.06a25.368 25.368 0 0 0 35.88 35.88z"})))},Q=n(74949),T=n(52059),D=n(47079);function U(){return(U=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}var W=function(e){return b.createElement("svg",U({xmlns:"http://www.w3.org/2000/svg",width:18,height:23,fill:"none"},e),p||(p=b.createElement("path",{fill:"#fff",d:"M2.508 22.235a1.333 1.333 0 0 1-2.058-1.12V2.018A1.333 1.333 0 0 1 2.508.897l14.758 9.55a1.333 1.333 0 0 1 0 2.239z"})))};let F=(0,Q.ZP)(T.x).withConfig({componentId:"sc-1911372d-0"})(["background-color:",";border-top:3px solid ",";bottom:0;display:flex;flex-direction:column;height:100%;justify-content:center;position:fixed;width:100%;z-index:999;"],e=>{var t;let{theme:n}=e;return null===(t=n.colors)||void 0===t?void 0:t.black},e=>{var t;let{theme:n}=e;return null===(t=n.colors)||void 0===t?void 0:t.goldenRod}),H=(0,Q.ZP)(T.x).withConfig({componentId:"sc-1911372d-1"})(["cursor:pointer;top:5px;right:5px;position:absolute;z-index:",";color:white;width:56px;height:56px;text-align:center;line-height:56px;background:rgba(211,211,211,0.15);backdrop-filter:blur(13.125px);"],e=>{let{theme:t}=e;return t.zIndex.modalContent}),X=(0,Q.ZP)(T.x).withConfig({componentId:"sc-1911372d-2"})(["align-self:center;height:100%;max-height:100%;max-width:100%;position:relative;width:100%;&:hover .controls.hover{opacity:1;transform:translateY(0);pointer-events:all;}&:hover .player-overlay.hover{opacity:1;}"]),Y=Q.ZP.div.withConfig({componentId:"sc-1911372d-3"})(["position:absolute;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,0.3);pointer-events:none;opacity:0;&.show{opacity:1;}"]);(0,Q.ZP)(T.x).withConfig({componentId:"sc-1911372d-4"})(["position:relative;width:100%;height:100%;"," ",""],e=>{let{$currentTime:t}=e;return 0!==t&&(0,Q.iv)(["z-index:1;"])},e=>{let{$isEnded:t}=e;return!!t&&(0,Q.iv)(["z-index:unset;"])});let $=Q.ZP.video.withConfig({componentId:"sc-1911372d-5"})(["width:100%;height:100%;object-fit:cover;margin:0 auto;"," "," ",""],e=>{let{$mobileAspectRatio:t}=e;return t&&(0,Q.iv)(["aspect-ratio:"," / ",";"],t.x,t.y)},e=>{let{$desktopAspectRatio:t,theme:n}=e;return t&&(0,Q.iv)(["","{aspect-ratio:"," / ",";}"],n.media.md.up,t.x,t.y)},e=>{let{controls:t}=e;return!t&&(0,Q.iv)(["pointer-events:none;"])}),q=Q.ZP.button.withConfig({componentId:"sc-1911372d-6"})(["border-radius:50%;position:absolute;top:50%;left:50%;padding:0;transform:translate(-50%,-50%);cursor:pointer;z-index:3;width:64px;
1height:64px;background:rgb(211,211,211,0.3);opacity:0;display:flex;justify-content:center;align-items:center;&.show{opacity:1;}"]),G=(0,Q.ZP)(W).withConfig({componentId:"sc-1911372d-7"})(["path:nth-child(2){fill:",";transition:fill 0.3s;}path:nth-child(1){stroke:",";transition:stroke 0.3s;}transform:translateX(3px);"],e=>{var t;let{theme:n}=e;return null===(t=n.colors)||void 0===t?void 0:t.white},e=>{var t;let{theme:n}=e;return null===(t=n.colors)||void 0===t?void 0:t.white}),J=(0,Q.ZP)(W).withConfig({componentId:"sc-1911372d-8"})(["transform:translateX(2px) scale(0.8);path:nth-child(2){fill:",";transition:fill 0.3s;}path:nth-child(1){stroke:",";transition:stroke 0.3s;}"],e=>{var t;let{theme:n}=e;return null===(t=n.colors)||void 0===t?void 0:t.white},e=>{var t;let{theme:n}=e;return null===(t=n.colors)||void 0===t?void 0:t.white}),K=(0,Q.iv)(["position:absolute;border-radius:50%;right:0;top:3rem;padding:0;transform:translate(-50%,-50%);cursor:pointer;z-index:",";width:48px;height:48px;background:rgba(211,211,211,0.3);display:flex;justify-content:center;align-items:center;border:none;","{top:unset;bottom:0;}"],e=>{let{theme:t}=e;return t.zIndex.modalContent},e=>{let{theme:t}=e;return t.media.md.up}),ee=Q.ZP.button.withConfig({componentId:"sc-1911372d-9"})(["",""],K),et=Q.ZP.button.withConfig({componentId:"sc-1911372d-10"})(["",""],K),en=(0,Q.ZP)(R).withConfig({componentId:"sc-1911372d-11"})(["rect{fill:",";transition:fill 0.3s;}path{stroke:",";transition:stroke 0.3s;}"],e=>{var t;let{theme:n}=e;return null===(t=n.colors)||void 0===t?void 0:t.white},e=>{var t;let{theme:n}=e;return null===(t=n.colors)||void 0===t?void 0:t.white}),er=(0,Q.ZP)(T.x).withConfig({componentId:"sc-1911372d-12"})(["bottom:0;left:0;height:3.5rem;padding:1rem;position:absolute;width:100%;z-index:10;background:rgba(0,0,0,0);opacity:0;padding:8px 16px;transition:opacity 0.3s ease,transform 0.3s ease;&.show{opacity:1;transform:translateY(0);pointer-events:all;}&.hide{opacity:0;transform:translateY(100%);pointer-events:none;}"]),eo=Q.ZP.button.withConfig({componentId:"sc-1911372d-13"})(["cursor:grab;background:unset;border:none;border-radius:0;color:white;flex:1 auto;margin:0;outline:none;padding:0;text-align:center;width:1rem;border-bottom-left-radius:0.2em;border-top-left-radius:0.2em;"]),ei=Q.ZP.button.withConfig({componentId:"sc-1911372d-14"})(["background:unset;cursor:grab;border:none;border-radius:0;color:white;flex:1 auto;margin:0;outline:none;padding:0;text-align:center;width:1rem;"]),el=Q.ZP.button.withConfig({componentId:"sc-1911372d-15"})(["display:flex;align-items:center;justify-content:center;background:unset;cursor:grab;border:none;border-radius:0;color:white;flex:1 auto;margin:0;outline:none;padding:0;text-align:center;width:1rem;border-bottom-right-radius:0.2em;border-top-right-radius:0.2em;"]),ea=(0,Q.ZP)(T.x).withConfig({componentId:"sc-1911372d-16"})(["width:100%;height:4px;flex:1 100%;position:relative;margin-bottom:8px;"]),ed=Q.ZP.progress.withConfig({componentId:"sc-1911372d-17"})(["cursor:grab;appearance:none;background-color:#666;border:none;box-shadow:inset -0.2em 0.2em 0.4em rgba(0,0,0,0.2);color:",";height:100%;position:absolute;width:100%;::-webkit-progress-value{background:",";}"],e=>{var t;let{theme:n}=e;return null===(t=n.colors)||void 0===t?void 0:t.goldenRod},e=>{var t;let{theme:n}=e;return null===(t=n.colors)||void 0===t?void 0:t.goldenRod}),es=Q.ZP.div.withConfig({componentId:"sc-1911372d-18"})(["display:flex;align-items:center;justify-content:space-between;"]),ec=Q.ZP.div.withConfig({componentId:"sc-1911372d-19"})(["display:flex;gap:16px;"]),eu=(0,Q.ZP)(D.Z).withConfig({componentId:"sc-1911372d-20"})(["",""],e=>{let{theme:t}=e;return(0,Q.iv)(["font-size:",";color:",";"],t.fontSizes.p3,t.colors.white)});Q.ZP.div.withConfig({componentId:"sc-1911372d-21"})(["position:absolute;right:16px;bottom:40px;padding:10px;background:white;"]),Q.ZP.ul.withConfig({componentId:"sc-1911372d-22"})(["list-style:none;margin:0;padding:0;"]),Q.ZP.li.withConfig({componentId:"sc-1911372d-23"})([""]);let ep=e=>{let t=e.play();void 0!==t&&t.catch(()=>{})}
1,eh=e=>{let{controls:t=!1,desktopAspectRatio:n,isCountDownType:r,isPopupMode:o,lazyLoad:i=!1,localeCode:l="en-US",mediaUrl:a,mobileAspectRatio:d,muted:s=!0,onClose:c,playCallback:u,playOption:p,poster:h,setLoadingState:f,title:v}=e,{sendEvent:m}=(0,C.o)(),[g,x]=(0,b.useState)(!1),[I,L]=(0,b.useState)(s),[_,z]=(0,b.useState)(!1),[V,A]=(0,b.useState)(0),[Q,T]=(0,b.useState)(0),[D,U]=(0,b.useState)(!1),[W,F]=(0,b.useState)(0),[K,eh]=(0,b.useState)(!i),ef=(0,E.Eo)(),ev=(0,b.useRef)(null),em=(0,b.useRef)(null),[eg,ew]=(0,b.useState)(!1),[eb,ex]=(0,b.useState)(!0),ey=(0,b.useRef)(new Set),eP=(0,b.useRef)(!1),eC=document.getElementById("video-play-button-root");(0,b.useEffect)(()=>{if(!i||K)return;let e=ev.current;if(!e)return;let t=new IntersectionObserver(e=>{let[n]=e;n.isIntersecting&&(eh(!0),t.disconnect())},{rootMargin:"50px"});return t.observe(e),()=>t.disconnect()},[i,K]),(0,b.useEffect)(()=>{let{autoPlay:e,loop:t}=O(p||"PlayOnClick");ew(e),ex(t)},[p]),(0,b.useEffect)(()=>{let e=ev.current;e&&(e.muted=I)},[I]),(0,b.useEffect)(()=>{let e=ev.current;if(!e)return;if(i&&!K){null==f||f("loading");return}ey.current.clear(),eP.current=!1,F(0),A(0),T(0),null==f||f("loading"),e.load();let t=()=>{null==f||f("loaded"),T(e.duration||0)};return e.addEventListener("loadedmetadata",t),e.addEventListener("loadeddata",t),eg&&(I||(e.muted=!0,L(!0)),ep(e)),()=>{e.removeEventListener("loadedmetadata",t),e.removeEventListener("loadeddata",t)}},[a,eg,i,K]),(0,b.useEffect)(()=>{let e=ev.current;if(!e)return;let t=()=>{x(!0),eP.current||(null==m||m({event:j.W1.VIDEO_START,video_title:v,video_url:a}),eP.current=!0)},n=()=>x(!1),r=()=>{x(!1),ey.current.has(100)||(null==m||m({event:j.W1.VIDEO_COMPLETE,video_title:v,video_url:a}),ey.current.add(100))},o=()=>A(e.currentTime);return e.addEventListener("play",t),e.addEventListener("pause",n),e.addEventListener("ended",r),e.addEventListener("timeupdate",o),()=>{e.removeEventListener("play",t),e.removeEventListener("pause",n),e.removeEventListener("ended",r),e.removeEventListener("timeupdate",o)}},[a,v,m]),(0,b.useEffect)(()=>{if(!Q||Q<=0){F(0);return}F(Math.max(0,Math.min(100,Math.floor(V/Q*100))))},[V,Q]),(0,b.useEffect)(()=>{ey.current.has(W)||([25,50,75].includes(W)?(null==m||m({event:j.W1.VIDEO_PROGRESS,video_title:v,video_url:a,video_percent:W}),ey.current.add(W)):100!==W||ey.current.has(100)||(null==m||m({event:j.W1.VIDEO_COMPLETE,video_title:v,video_url:a}),ey.current.add(100)))},[W,a,v,m]),(0,b.useEffect)(()=>{let e=e=>{var t;if(!D)return;let n=em.current,r=ev.current;if(!n||!r)return;let o=n.getBoundingClientRect(),i=Math.max(0,Math.min(1,((null!==(t=e.clientX)&&void 0!==t?t:0)-o.left)/o.width));r.currentTime=i*Math.max(0,Q||0)},t=()=>{U(!1)};return document.addEventListener("pointermove",e),document.addEventListener("pointerup",t),()=>{document.removeEventListener("pointermove",e),document.removeEventListener("pointerup",t)}},[D,Q]);let eE=(0,b.useCallback)(e=>{let t=em.current,n=ev.current;if(!t||!n)return;let r=t.getBoundingClientRect(),o=Math.max(0,Math.min(1,(e-r.left)/r.width));n.currentTime=o*Math.max(0,Q||0)},[Q]),ej=(0,b.useCallback)(e=>{e.stopPropagation(),eE(e.nativeEvent.clientX)},[eE]),ek=(0,b.useCallback)(e=>{e.stopPropagation(),e.preventDefault();let t=ev.current;if(t){if("OpenPopup"===p&&!o){null==u||u();return}t.paused?ep(t):t.pause()}},[u,o,p,a,v,m]),eO=(0,b.useRef)("");(0,b.useEffect)(()=>{let e=()=>{document.fullscreenElement||(z(!1),document.body.style.overflow=eO.current)};return document.addEventListener("fullscreenchange",e),()=>{if(document.removeEventListener("fullscreenchange",e),document.fullscreenElement){var t,n;null===(t=(n=document).exitFullscreen)||void 0===t||t.call(n)}document.body.style.overflow=eO.current}},[]),(0,b.useEffect)(()=>{o&&ev.current&&ep(ev.current)},[o]);let eI=(0,b.useMemo)(()=>["play-button-center","OpenPopup"===p&&!g&&"show","PlayOnClick"===p&&!ef&&!g&&"show","PlayOnClick"===p&&ef&&!g&&"show"].filter(Boolean).join(" "),[p,g,ef]),eM=(0,w.jsx)(q,{"aria-label":(0,P.Q0)("play_video",l)||"Play video",className:eI,"data-testid":"videoPlayButtonCenter",onClick:ek,children:(0,w.jsx)(G,{})});return(0,b.useEffect)(()=>{eC&&(eC.className=eI)},[p,g,ef,eC]),(0,w.jsxs)(X,{"data-testid":"VideoPlayerWrapper",children:[["OpenPopup","PlayOnClick"].includes(p)&&!g&&(0,w.jsx)(Y,{className:["player-overlay","OpenPopup"===p&&!g&&"show","PlayOnClick"===p&&g&&"hover","PlayOnClick"===p&&!g&&"show"].filter(
1Boolean).join(" ")}),o&&(0,w.jsx)(H,{"aria-label":(0,P.Q0)("close_video",l)||"Close video","data-testid":"VideoCloseButton",onClick:c,children:"✕"}),r&&eC?(0,y.createPortal)(eM,eC):eM,"AutoplayLoop"===p&&!g&&(0,w.jsx)(ee,{"aria-label":(0,P.Q0)("play_video",l)||"Play video","data-testid":"videoPlayButtonCorner",onClick:ek,children:(0,w.jsx)(J,{})}),"AutoplayLoop"===p&&g&&(0,w.jsx)(et,{"aria-label":(0,P.Q0)("pause_video",l)||"Pause video","data-testid":"videoPauseButtonCorner",onClick:ek,children:(0,w.jsx)(en,{})}),(0,w.jsx)($,{ref:ev,$desktopAspectRatio:n,$mobileAspectRatio:d,autoPlay:eg,controls:t,"data-testid":"videoPlayer",loop:eb,muted:s,onClick:ek,playsInline:!0,poster:h,preload:i&&!K?"none":"auto",children:K&&(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)("source",{src:null!=a?a:"",type:"video/mp4"}),(0,w.jsx)("source",{src:null!=a?a:"",type:"video/webm"})]})}),(0,w.jsxs)(er,{className:["controls","PlayOnClick"===p&&ef&&V>0&&"show","PlayOnClick"===p&&!ef&&"hover","PlayOnClick"===p&&!ef&&V>0&&!g&&"show","OpenPopup"===p&&o&&"show","AutoplayLoop"===p&&"hide"].filter(Boolean).join(" "),"data-testid":"VideoPlayerControls",children:[(0,w.jsx)(ea,{children:(0,w.jsx)(ed,{ref:em,"data-testid":"VideoProgressBar",max:Q,onClick:ej,onMouseDown:()=>U(!0),onMouseUp:()=>U(!1),value:V})}),(0,w.jsxs)(es,{children:[(0,w.jsxs)(ec,{children:[(0,w.jsx)(eo,{"aria-label":g?(0,P.Q0)("pause_video",l)||"Pause video":(0,P.Q0)("play_video",l)||"Play video","data-testid":"VideoPlayAndPause",onClick:ek,type:"button",children:g?(0,w.jsx)(R,{"aria-hidden":"true"}):(0,w.jsx)(B,{"aria-hidden":"true"})}),(0,w.jsxs)(eu,{children:[k(V)," / ",k(Q)]})]}),(0,w.jsxs)(ec,{children:[(0,w.jsx)(ei,{"aria-label":I?(0,P.Q0)("unmute_video",l)||"Unmute video":(0,P.Q0)("mute_video",l)||"Mute video",onClick:()=>{let e=ev.current;e&&(e.muted=!e.muted,L(e.muted))},type:"button",children:I?(0,w.jsx)(S,{"aria-hidden":"true"}):(0,w.jsx)(Z,{"aria-hidden":"true"})}),"OpenPopup"===p&&(0,w.jsx)(el,{"aria-label":_?(0,P.Q0)("exit_fullscreen",l)||"Exit fullscreen":(0,P.Q0)("enter_fullscreen",l)||"Enter fullscreen",onClick:()=>{var e,t,n;let r=document.documentElement;document.fullscreenElement?null===(t=(n=document).exitFullscreen)||void 0===t||t.call(n).then(()=>{z(!1),document.body.style.overflow=eO.current}):(eO.current=document.body.style.overflow,null===(e=r.requestFullscreen)||void 0===e||e.call(r).then(()=>{z(!0),document.body.style.overflow="hidden"}))},type:"button",children:_?(0,w.jsx)(N,{"aria-hidden":"true"}):(0,w.jsx)(M,{"aria-hidden":"true"})})]})]})]})]})},ef=e=>{let{playOption:t="AutoplayLoop",...n}=e,r=(0,b.useRef)(null);return(r.current=document.getElementById("modal-root"),n.mediaUrl&&r.current)?(0,y.createPortal)((0,w.jsx)(F,{"data-testid":"VideoVideoModal",children:(0,w.jsx)(eh,{playOption:t,...n})}),r.current):null};function ev(){return(ev=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}function em(){return(em=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}(0,Q.ZP)(T.x).withConfig({componentId:"sc-da8b720e-0"})(["cursor:grab;top:5px;right:5px;position:absolute;z-index:10;"]);let eg=(0,Q.ZP)(T.x).withConfig({componentId:"sc-da8b720e-1"})(["position:relative;width:100%;height:100%;"," ",""],e=>{let{$currentTime:t}=e;return 0!==t&&(0,Q.iv)(["z-index:1;"])},e=>{let{$isEnded:t}=e;return!!t&&(0,Q.iv)(["z-index:unset;"])});Q.ZP.video.withConfig({componentId:"sc-da8b720e-2"})(["width:100%;height:100%;object-fit:cover;margin:0 auto;"," "," ",""],e=>{let{$mobileAspectRatio:t}=e;return t&&(0,Q.iv)(["aspect-ratio:"," / ",";"],t.x,t.y)},e=>{let{$desktopAspectRatio:t,theme:n}=e;return t&&(0,Q.iv)(["","{aspect-ratio:"," / ",";}"],n.media.md.up,t.x,t.y)},e=>{let{controls:t}=e;return!t&&(0,Q.iv)(["pointer-events:none;"])}),Q.ZP.button.withConfig({componentId:"sc-da8b720e-3"})(["background:transparent;border-radius:50%;position:absolute;top:50%;left:50%;padding:0;transform:translate(-50%,-50%);cursor:pointer;z-index:3;"]),(0,Q.ZP)(function(e){return b.createElement("svg",em({xmlns:"http://www.w3.org/2000/svg",width:61,height:61,fill:"none"},e),m||(m=b.createElement("path",{stroke:"#fff",d:"M30.5 59.5c16.016 0 29-12.984 29-29s-12.984-29-29-29-29 12.984-29 29 12.984 29 29 29Z"})),g||(g=b.createElement("path",{fill:"#fff",d:"M27.164 39.335a1.078 1.078 0 0 1-1.664-.906V22.982c0-.854.947-1.37 1.664-.905L39.101 29.8a1.078 1.078 0 0 1 0 1.811z"})))}).withConfig({componentId:"sc-da8b720e-4"})(["&:hover{path:nth-child(2){fill:",";transition:fill 0.3s;}path:nth-child(1){stroke:",";transition:stroke 0.3s;}}"],e=>{var t;let{theme:n}=e;return null===(t=n.colors)||void 0===t?void 0:t.primary},e=>{var t;let{theme:n}=e;return null===(t=n.colors)||void 0===t?void 0:t.primary}),(0,Q.ZP)(function(e){return b.createElement("svg",ev({xmlns:"http://www.w3.org/2000/svg",width:60,height:60,fill:"none"},e),h||(h=b.createElement("path",{stroke:"#fff",d:"M30 59c16.016 0 29-12.984 29-29S46.016 1 30 1 1 13.984 1 30s12.984 29 29 29Z"})),f||(f=b.createElement("rect",{width:5,height:18,x:23,y:21,fill:"#fff",rx:1})),v||(v=b.createElement("rect",{width:5,height:18,x:32,y:21,fill:"#fff",rx:1})))}).withConfig({componentId:"sc-da8b720e-5"})(["&:hover{rect{fill:",";transition:fill 0.3s;}path{stroke:",";transition:stroke 0.3s;}}"],e=>{var t;let{theme:n}=e;return null===(t=n.colors)||void 0===t?void 0:t.primary},e=>{var t;let{theme:n}=e;return null===(t=n.colors)||void 0===t?void 0:t.primary}),Q.ZP.button.withConfig({componentId:"sc-da8b720e-6"})(["cursor:grab;background-color:#ddd;border:none;border-radius:0;color:#000;flex:1 auto;margin:0;outline:none;padding:0;text-align:center;width:3rem;border-bottom-left-radius:0.2em;border-top-left-radius:0.2em;"]);let ew=e=>{let{desktopAspectRatio:t,isCountDownType:n=!1,lazyLoad:r,mediaUrl:o,mobileAspectRatio:i,poster:l,setLoadingState:a,title:d,videoPlayOption:s="PlayOnClick"}=e,{locale:c}=(0,x.VJ)(),[u,p]=(0,b.useState)(!1),h=()=>{p(!1)},f=null!=r?r:"AutoplayLoop"===s;return(0,w.jsxs)(w.Fragment,{children:[o&&(0,w.jsx)(eg,{children:(0,w.jsx)(eh,{"data-testid":"videoPlayer",desktopAspectRatio:t,isCountDownType:n,lazyLoad:f,localeCode:c.code,mediaUrl:o,mobileAspectRatio:i,onClose:h,playCallback:()=>{"OpenPopup"===s&&p(!0)},playOption:null!=s?s:"",poster:l,setLoadingState:a,title:d})}),u&&(0,w.jsx)(ef,{"data-testid":"videoPopupModal",isCountDownType:n,isPopupMode:!0,localeCode:c.code,mediaUrl:o,onClose:h,playOption:null!=s?s:"",poster:l,title:d})]})}}}]);
2//# sourceMappingURL=9038.25.0.5.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.