1"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[2022],{56949:(e,t,l)=>{l.r(t),l.d(t,{default:()=>T});var n=l(67294),i=l(52019),o=l(46618);const r=(e,t)=>{var l;const n=null===(l=document)||void 0===l?void 0:l.getElementById(t);n&&(null!=n&&n.paused||null!=n&&n.ended)&&(null==n||n.play(),e(!0))},d=(e,t)=>{var l;const n=null===(l=document)||void 0===l?void 0:l.getElementById(t);!n||null!=n&&n.paused||null!=n&&n.pause&&(null==n||n.pause(),e(!1))};var C=l(87077);const s=function(){return(0,C.jsx)("svg",{width:"40",height:"40",viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,C.jsx)("path",{d:"M30.8333 35H24.1667C23.25 35 22.5 34.25 22.5 33.3333V6.66667C22.5 5.75 23.25 5 24.1667 5H30.8333C31.75 5 32.5 5.75 32.5 6.66667V33.3333C32.5 34.25 31.75 35 30.8333 35Z",fill:"white"}),(0,C.jsx)("path",{d:"M15.8333 35H9.16667C8.25 35 7.5 34.25 7.5 33.3333V6.66667C7.5 5.75 8.25 5 9.16667 5H15.8333C16.75 5 17.5 5.75 17.5 6.66667V33.3333C17.5 34.25 16.75 35 15.8333 35Z",fill:"white"}))},a=function(){return(0,C.jsx)("svg",{width:"21",height:"24",viewBox:"0 0 21 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,C.jsx)("path",{d:"M20.0266 10.8667L2.71993 0.20001C1.8266 -0.346657 0.679932 0.293343 0.679932 1.33334V22.6667C0.679932 23.7067 1.8266 24.3467 2.7066 23.8L20.0133 13.1333C20.8666 12.6133 20.8666 11.3867 20.0266 10.8667Z",fill:"white"}))},u=function(){return(0,C.jsx)("svg",{width:"40",height:"40",viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,C.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.7169 34.0165C15.1947 35.4638 18.014 36.2233 20.8836 36.2165H20.9336C23.4169 36.2206 25.8681 35.6548 28.0984 34.5627C30.3288 33.4707 32.2789 31.8815 33.7986 29.9174C35.3183 27.9534 36.3672 25.6669 36.8644 23.2338C37.3617 20.8008 37.2941 18.2861 36.6669 15.8832C35.857 12.7641 34.1389 9.95582 31.7305 7.81464C29.3221 5.67347 26.332 4.29589 23.1395 3.85665C19.947 3.41742 16.696 3.93633 13.7989 5.34755C11.0846 6.66972 8.79549 8.71933 7.18335 11.2627V8.06652C7.18559 7.90175 7.15479 7.7382 7.09277 7.58553C7.03074 7.43286 6.93875 7.29416 6.82223 7.17764C6.70571 7.06112 6.56701 6.96913 6.41434 6.9071C6.26167 6.84508 6.09812 6.81428 5.93335 6.81652C5.60183 6.81652 5.28389 6.94822 5.04947 7.18264C4.81505 7.41706 4.68335 7.735 4.68335 8.06652V14.4165C4.68767 14.7467 4.82075 15.0621 5.05424 15.2956C5.28773 15.5291 5.60317 15.6622 5.93335 15.6665H12.2833C12.6149 15.6665 12.9328 15.5348 13.1672 15.3004C13.4017 15.066 13.5333 14.748 13.5333 14.4165C13.5333 14.085 13.4017 13.7671 13.1672 13.5326C12.9328 13.2982 12.6149 13.1665 12.2833 13.1665H8.94748L9.00024 13.0832C10.3778 10.7399 12.4175 8.85625 14.8628 7.66911C17.3081 6.48197 20.0498 6.04436 22.7431 6.41131C25.4365 6.77826 27.9612 7.93339 29.9998 9.73143C32.0383 11.5295 33.4998 13.8901 34.2002 16.5165C34.6648 18.2575 34.7788 20.0734 34.5356 21.8587C34.2924 23.6441 33.6969 25.3633 32.7836 26.9165C31.3093 29.4302 29.0753 31.4112 26.4034 32.5744C23.7314 33.7375 20.7593 34.0227 17.9149 33.389C15.0705 32.7552 12.5005 31.2352 10.5751 29.0478C8.64963 26.8604 7.46797 24.1184 7.20024 21.2165C7.18602 21.0524 7.1396 20.8927 7.06363 20.7464C6.98767 20.6002 6.88366 20.4704 6.75752 20.3644C6.63139 20.2584 6.48561 20.1782 6.32851 20.1286C6.17141 20.0789 6.00606 20.0607 5.84191 20.0749C5.67776 20.0891 5.51801 20.1355 5.3718 20.2115C5.22559 20.2875 5.09577 20.3915 4.98976 20.5176C4.88374 20.6437 4.80361 20.7895 4.75394 20.9466C4.70426 21.1037 4.68602 21.2691 4.70024 21.4332C4.94232 24.0162 5.79559 26.5046 7.18956 28.6926C8.58353 30.8807 10.4782 32.7056 12.7169 34.0165Z",fill:"white"}),(0,C.jsx)("path",{d:"M27.0666 20.1055L19.3166 15.1055C19.2208 15.042 19.1095 15.0057 18.9946 15.0006C18.8798 14.9955 18.7657 15.0218 18.6646 15.0766C18.5636 15.1314 18.4793 15.2127 18.421 15.3118C18.3626 15.4108 18.3323 15.5239 18.3333 15.6388V25.6388C18.3323 25.7538 18.3626 25.8669 18.421 25.9659C18.4793 26.065 18.5636 26.1463 18.6646 26.2011C18.7657 26.2559 18.8798 26.2822 18.9946 26.2771C19.1095 26.272 19.2208 26.2357 19.3166 26.1722L27.0666 21.1722C27.1561 21.1149 27.2297 21.036 27.2807 20.9428C27.3317 20.8496 27.3584 20.7451 27.3584 20.6388C27.3584 20.5326 27.3317 20.4281 27.2807 20.3349C27.2297 20.2417 27.1561 20.1628 27.0666 20.1055Z",fill:"white"}))};var c=l(77907);const p=i.Z.div` 2 position: absolute; 3 margin: 0 auto; 4 top: 50%; 5 left: 50%; 6 transform: translate(-50%, -50%); 7 display: flex; 8 justify-content: center; 9 align-items: center; 10 width: auto; 11 flex: 1; 12 justify-content: space-around; 13 height: 40px; 14 z-index: 3; 15`,h=i.Z.div` 16 z-index: 2; 17 ${e=>{let{theme:t}=e;return t.typography.subTitleLarge}}; 18 color: ${e=>{let{theme:t}=e;return t.colors.surface}}; 19 width: 48px; 20 cursor: pointer; 21 svg { 22 width: 40px; 23 height: 40px; 24 } 25 &:active { 26 background-color: ${e=>{let{theme:t}=e;return(0,c.oo)(t.colors.surface,.32)}}; 27 border-radius: 50px; 28 height: 60px; 29 width: 60px; 30 padding: ${e=>{let{theme:t}=e;return t.spacing.spacing40}}; 31 ${e=>{let{playing:t,theme:l}=e;return!t&&`\n padding: ${l.spacing.spacing60};\n `}}; 32 } 33`,v=e=>{var t,l,i,c,v;const{counter:x,activeVideo:g,setVideoEnded:m,setCounter:w,setVideoPlaying:f,handleTracking:V}=e;let j=null;var b,H;return"undefined"!=typeof window&&(j=null===(b=window)||void 0===b||null===(H=b.document)||void 0===H?void 0:H.getElementById(g)),(0,C.jsx)(p,null,null!==(t=j)&&void 0!==t&&t.ended||x>=(null===(l=j)||void 0===l?void 0:l.duration)?(0,C.jsx)(h,{playing:!(null!==(i=j)&&void 0!==i&&i.ended),onClick:e=>(e=>{e.preventDefault(),e.stopPropagation(),j.currentTime=0,w(0),m(!1),r(f,g)})(e)},(0,C.jsx)(u,null)):(0,C.jsx)(n.Fragment,null,(0,C.jsx)(h,{playing:!(null!==(c=j)&&void 0!==c&&c.paused),onClick:e=>(e=>{var t;e.preventDefault(),e.stopPropagation(),null!==(t=j)&&void 0!==t&&t.paused?r(f,g):(V(),(0,o.W)({skipData:{videoImpression:"pause",videoPlayTime:x}}),d(f,g))})(e)},null!==(v=j)&&void 0!==v&&v.paused?(0,C.jsx)(a,null):(0,C.jsx)(s,null))))};var x=l(29868);const g=function(){return(0,C.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,C.jsx)("path",{d:"M15.3586 9.99998L17.3252 8.02498C17.3842 7.96752 17.4311 7.89884 17.4631 7.82299C17.4951 7.74713 17.5115 7.66564 17.5115 7.58331C17.5115 7.50098 17.4951 7.41949 17.4631 7.34363C17.4311 7.26778 17.3842 7.1991 17.3252 7.14165C17.208 7.0246 17.0492 6.95886 16.8836 6.95886C16.7179 6.95886 16.5591 7.0246 16.4419 7.14165L14.4669 9.11665L12.5002 7.14165C12.3818 7.03125 12.225 6.97114 12.0631 6.974C11.9012 6.97686 11.7467 7.04245 11.6322 7.15696C11.5177 7.27147 11.4521 7.42596 11.4493 7.58788C11.4464 7.74979 11.5065 7.9065 11.6169 8.02498L13.5836 9.99998L11.6086 11.975C11.4915 12.0922 11.4258 12.251 11.4258 12.4166C11.4258 12.5823 11.4915 12.7411 11.6086 12.8583C11.6663 12.9167 11.7351 12.9631 11.8109 12.9945C11.8867 13.026 11.9681 13.042 12.0502 13.0416C12.1326 13.0435 12.2144 13.0282 12.2904 12.9966C12.3665 12.965 12.4351 12.9179 12.4919 12.8583L14.4669 10.8833L16.4419 12.8583C16.4996 12.9167 16.5684 12.9631 16.6442 12.9945C16.7201 13.026 16.8014 13.042 16.8836 13.0416C16.9659 13.0435 17.047
337 13.0282 17.1237 12.9966C17.1998 12.965 17.2684 12.9179 17.3252 12.8583C17.3842 12.8009 17.4311 12.7322 17.4631 12.6563C17.4951 12.5805 17.5115 12.499 17.5115 12.4166C17.5115 12.3343 17.4951 12.2528 17.4631 12.177C17.4311 12.1011 17.3842 12.0324 17.3252 11.975L15.3586 9.99998Z",fill:"white"}),(0,C.jsx)("path",{d:"M8.33333 5.34167V14.6667L6.09167 12.5L5.725 12.1417H3.74167V7.975H5.73333L6.1 7.6L8.33333 5.34167ZM8.74167 3.5C8.52186 3.50313 8.31219 3.59299 8.15833 3.75L5.21667 6.66667H3.33333C3.11232 6.66667 2.90036 6.75446 2.74408 6.91074C2.5878 7.06703 2.5 7.27899 2.5 7.5V12.5C2.5 12.721 2.5878 12.933 2.74408 13.0893C2.90036 13.2455 3.11232 13.3333 3.33333 13.3333H5.21667L8.15833 16.2167C8.31149 16.3686 8.51761 16.4552 8.73333 16.4583C8.95435 16.4583 9.16631 16.3705 9.32259 16.2143C9.47887 16.058 9.56667 15.846 9.56667 15.625V4.33333C9.56667 4.11232 9.47887 3.90036 9.32259 3.74408C9.16631 3.5878 8.95435 3.5 8.73333 3.5H8.74167Z",fill:"white"}))},m=function(){return(0,C.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,C.jsx)("path",{d:"M13.9834 16.3083C13.8855 16.308 13.7892 16.2845 13.7022 16.2395C13.6153 16.1946 13.5403 16.1296 13.4834 16.05C13.4346 15.9838 13.3993 15.9087 13.3796 15.8289C13.3599 15.749 13.3561 15.6661 13.3685 15.5848C13.3809 15.5036 13.4092 15.4255 13.4518 15.3552C13.4944 15.2849 13.5504 15.2236 13.6167 15.175C14.4359 14.5834 15.103 13.8058 15.563 12.9062C16.023 12.0065 16.2629 11.0105 16.2629 10C16.2629 8.98954 16.023 7.99352 15.563 7.09385C15.103 6.19418 14.4359 5.41658 13.6167 4.825C13.5439 4.77961 13.4812 4.71969 13.4325 4.64899C13.3838 4.57828 13.3502 4.49831 13.3338 4.41405C13.3174 4.32979 13.3185 4.24306 13.3371 4.15925C13.3557 4.07545 13.3913 3.99637 13.4418 3.92695C13.4923 3.85753 13.5565 3.79925 13.6305 3.75575C13.7045 3.71225 13.7867 3.68446 13.8719 3.67411C13.9571 3.66377 14.0436 3.67108 14.1258 3.69561C14.2081 3.72014 14.2844 3.76135 14.3501 3.81667C15.3293 4.52324 16.1267 5.45226 16.6766 6.52726C17.2266 7.60226 17.5133 8.7925 17.5133 10C17.5133 11.2075 17.2266 12.3978 16.6766 13.4728C16.1267 14.5478 15.3293 15.4768 14.3501 16.1833C14.2453 16.265 14.1162 16.309 13.9834 16.3083Z",fill:"white"}),(0,C.jsx)("path",{d:"M11.9829 13.7583C11.8522 13.7513 11.727 13.7034 11.625 13.6214C11.523 13.5394 11.4493 13.4274 11.4143 13.3013C11.3794 13.1752 11.3849 13.0412 11.4301 12.9184C11.4752 12.7956 11.5579 12.69 11.6663 12.6167C12.0874 12.3225 12.4314 11.931 12.6689 11.4755C12.9064 11.0199 13.0304 10.5137 13.0304 10C13.0304 9.48625 12.9064 8.9801 12.6689 8.52454C12.4314 8.06899 12.0874 7.67749 11.6663 7.38333C11.599 7.33627 11.5416 7.27642 11.4974 7.20719C11.4532 7.13796 11.4231 7.06071 11.4088 6.97984C11.3945 6.89898 11.3963 6.81609 11.414 6.7359C11.4317 6.65571 11.465 6.5798 11.5121 6.5125C11.5591 6.44519 11.619 6.38782 11.6882 6.34365C11.7575 6.29948 11.8347 6.26937 11.9156 6.25506C11.9964 6.24074 12.0793 6.24249 12.1595 6.26021C12.2397 6.27793 12.3156 6.31127 12.3829 6.35833C12.9692 6.76769 13.4479 7.31253 13.7784 7.94654C14.109 8.58055 14.2816 9.28499 14.2816 10C14.2816 10.715 14.109 11.4194 13.7784 12.0535C13.4479 12.6875 12.9692 13.2323 12.3829 13.6417C12.2652 13.7218 12.1252 13.7626 11.9829 13.7583Z",fill:"white"}),(0,C.jsx)("path",{d:"M8.33333 5.34167V14.6667L6.09167 12.5L5.725 12.1417H3.74167V7.975H5.73333L6.1 7.6L8.33333 5.34167ZM8.74167 3.5C8.52186 3.50313 8.31219 3.59299 8.15833 3.75L5.21667 6.66667H3.33333C3.11232 6.66667 2.90036 6.75446 2.74408 6.91074C2.5878 7.06703 2.5 7.27899 2.5 7.5V12.5C2.5 12.721 2.5878 12.933 2.74408 13.0893C2.90036 13.2455 3.11232 13.3333 3.33333 13.3333H5.21667L8.15833 16.2167C8.31149 16.3686 8.51761 16.4552 8.73333 16.4583C8.95435 16.4583 9.16631 16.3705 9.32259 16.2143C9.47887 16.058 9.56667 15.846 9.56667 15.625V4.33333C9.56667 4.11232 9.47887 3.90036 9.32259 3.74408C9.16631 3.5878 8.95435 3.5 8.73333 3.5H8.74167Z",fill:"white"}))},w=function(){return(0,C.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,C.jsx)("path",{d:"M16.6669 8.80001C16.5011 8.80001 16.3421 8.73416 16.2249 8.61695C16.1077 8.49974 16.0419 8.34077 16.0419 8.17501V3.95834H11.8252C11.6601 3.95618 11.5024 3.88964 11.3856 3.7729C11.2689 3.65615 11.2024 3.49843 11.2002 3.33334C11.2024 3.16903 11.2692 3.01219 11.3862 2.89678C11.5031 2.78136 11.6609 2.71666 11.8252 2.71667H16.6669C16.8326 2.71667 16.9916 2.78252 17.1088 2.89973C17.226 3.01694 17.2919 3.17591 17.2919 3.34168V8.17501C17.2919 8.34077 17.226 8.49974 17.1088 8.61695C16.9916 8.73416 16.8326 8.80001 16.6669 8.80001Z",fill:"white"}),(0,C.jsx)("path",{d:"M3.33301 8.79998C3.16725 8.79998 3.00828 8.73413 2.89107 8.61692C2.77386 8.49971 2.70801 8.34074 2.70801 8.17498V3.33331C2.70801 3.16755 2.77386 3.00858 2.89107 2.89137C3.00828 2.77416 3.16725 2.70831 3.33301 2.70831H8.17467C8.339 2.7083 8.49672 2.773 8.6137 2.88842C8.73067 3.00383 8.79748 3.16067 8.79967 3.32498C8.79969 3.49152 8.73411 3.65136 8.61713 3.76989C8.50015 3.88843 8.3412 3.95612 8.17467 3.95831H3.95801V8.17498C3.95801 8.34074 3.89216 8.49971 3.77495 8.61692C3.65774 8.73413 3.49877 8.79998 3.33301 8.79998Z",fill:"white"}),(0,C.jsx)("path",{d:"M8.17467 17.2917H3.33301C3.16725 17.2917 3.00828 17.2258 2.89107 17.1086C2.77386 16.9914 2.70801 16.8324 2.70801 16.6667V11.825C2.70801 11.6593 2.77386 11.5003 2.89
33107 11.3831C3.00828 11.2659 3.16725 11.2 3.33301 11.2C3.49877 11.2 3.65774 11.2659 3.77495 11.3831C3.89216 11.5003 3.95801 11.6593 3.95801 11.825V16.0417H8.17467C8.3412 16.0439 8.50015 16.1116 8.61713 16.2301C8.73411 16.3486 8.79969 16.5085 8.79967 16.675C8.79748 16.8393 8.73067 16.9962 8.6137 17.1116C8.49672 17.227 8.339 17.2917 8.17467 17.2917Z",fill:"white"}),(0,C.jsx)("path",{d:"M11.8252 17.2917C11.6609 17.2917 11.5031 17.227 11.3862 17.1116C11.2692 16.9962 11.2024 16.8393 11.2002 16.675C11.2002 16.5085 11.2658 16.3486 11.3827 16.2301C11.4997 16.1116 11.6587 16.0439 11.8252 16.0417H16.0419V11.825C16.0419 11.6593 16.1077 11.5003 16.2249 11.3831C16.3421 11.2659 16.5011 11.2 16.6669 11.2C16.8326 11.2 16.9916 11.2659 17.1088 11.3831C17.226 11.5003 17.2919 11.6593 17.2919 11.825V16.6667C17.2919 16.8324 17.226 16.9914 17.1088 17.1086C16.9916 17.2258 16.8326 17.2917 16.6669 17.2917H11.8252Z",fill:"white"}))},f=function(){return(0,C.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,C.jsx)("path",{d:"M17.0834 8.70835H11.9334C11.851 8.70947 11.7692 8.69407 11.6929 8.66306C11.6166 8.63205 11.5472 8.58605 11.489 8.52779C11.4307 8.46953 11.3847 8.40019 11.3537 8.32385C11.3227 8.24752 11.3073 8.16574 11.3084 8.08335V2.91669C11.3106 2.7516 11.3771 2.59388 11.4939 2.47713C11.
336106 2.36039 11.7683 2.29385 11.9334 2.29169C12.0992 2.29169 12.2581 2.35753 12.3753 2.47475C12.4926 2.59196 12.5584 2.75093 12.5584 2.91669V7.45002H17.0834C17.1658 7.4489 17.2476 7.4643 17.3239 7.49531C17.4002 7.52632 17.4696 7.57232 17.5278 7.63058C17.5861 7.68884 17.6321 7.75819 17.6631 7.83452C17.6941 7.91086 17.7095 7.99263 17.7084 8.07502C17.7084 8.24156 17.6428 8.4014 17.5259 8.51993C17.4089 8.63847 17.2499 8.70616 17.0834 8.70835Z",fill:"white"}),(0,C.jsx)("path",{d:"M2.91664 8.70835C2.78334 8.67305 2.66546 8.59465 2.58136 8.48537C2.49726 8.3761 2.45166 8.24208 2.45166 8.10419C2.45166 7.96629 2.49726 7.83227 2.58136 7.723C2.66546 7.61372 2.78334 7.53533 2.91664 7.50002H7.44164V2.91669C7.44164 2.75093 7.50748 2.59196 7.62469 2.47475C7.7419 2.35753 7.90088 2.29169 8.06664 2.29169C8.23173 2.29385 8.38945 2.36039 8.50619 2.47713C8.62294 2.59388 8.68948 2.7516 8.69164 2.91669V8.07502C8.69276 8.15741 8.67736 8.23918 8.64634 8.31552C8.61533 8.39185 8.56934 8.4612 8.51108 8.51946C8.45281 8.57772 8.38347 8.62372 8.30713 8.65473C8.2308 8.68574 8.14902 8.70114 8.06664 8.70002L2.91664 8.70835Z",fill:"white"}),(0,C.jsx)("path",{d:"M8.07508 17.7083C7.90932 17.7083 7.75035 17.6425 7.63314 17.5253C7.51593 17.408 7.45008 17.2491 7.45008 17.0833V12.55H2.91675C2.75099 12.55 2.59202 12.4841 2.47481 12.3669C2.3576 12.2497 2.29175 12.0907 2.29175 11.925C2.29175 11.7592 2.3576 11.6003 2.47481 11.483C2.59202 11.3658 2.75099 11.3 2.91675 11.3H8.06675C8.14913 11.2989 8.23091 11.3143 8.30724 11.3453C8.38358 11.3763 8.45293 11.4223 8.51119 11.4805C8.56945 11.5388 8.61544 11.6082 8.64646 11.6845C8.67747 11.7608 8.69287 11.8426 8.69175 11.925V17.0833C8.68959 17.2484 8.62305 17.4061 8.5063 17.5229C8.38956 17.6396 8.23184 17.7062 8.06675 17.7083H8.07508Z",fill:"white"}),(0,C.jsx)("path",{d:"M11.9251 17.7083C11.76 17.7062 11.6023 17.6396 11.4856 17.5229C11.3688 17.4061 11.3023 17.2484 11.3001 17.0833V11.925C11.299 11.8426 11.3144 11.7608 11.3454 11.6845C11.3764 11.6082 11.4224 11.5388 11.4807 11.4805C11.5389 11.4223 11.6083 11.3763 11.6846 11.3453C11.7609 11.3143 11.8427 11.2989 11.9251 11.3H17.0834C17.2485 11.3021 17.4062 11.3687 17.523 11.4854C17.6397 11.6022 17.7063 11.7599 17.7084 11.925C17.7096 12.0074 17.6942 12.0891 17.6631 12.1655C17.6321 12.2418 17.5861 12.3112 17.5279 12.3694C17.4696 12.4277 17.4003 12.4737 17.3239 12.5047C17.2476 12.5357 17.1658 12.5511 17.0834 12.55H12.5584V17.0833C12.5584 17.1661 12.542 17.2481 12.5101 17.3244C12.4782 17.4008 12.4314 17.4701 12.3724 17.5282C12.3135 17.5864 12.2436 17.6322 12.1668 17.6632C12.09 17.6941 12.0079 17.7094 11.9251 17.7083Z",fill:"white"}))},V=i.Z.div` 34 padding: 0 ${e=>{let{theme:t}=e;return t.spacing.spacing120}}; 35 width: ${e=>{let{showFullScreen:t}=e;return"100%"}}; 36 justify-content: space-around; 37 display: flex; 38 align-items: center; 39 height: 48px; 40 z-index: 3; 41 position: absolute; 42 bottom: 0; 43 @media (min-width: 768px) and (max-width: 1024px) { 44 bottom: 0; 45 } 46 background-color: ${e=>{let{theme:t}=e;return(0,c.oo)(t.colors.surfaceInverse,.64)}}; 47 backdrop-filter: blur(2px); 48 border-bottom-left-radius: 9px; 49 svg { 50 width: ${e=>{let{showFullScreen:t}=e;return t?"32px":"20px"}}; 51 height: ${e=>{let{showFullScreen:t}=e;return t?"32px":"20px"}}; 52 } 53`,j=i.Z.div` 54 color: ${e=>{let{theme:t}=e;return t.colors.surface}}; 55 margin-right: ${e=>{let{showFullScreen:t}=e;return t?"40px":"5px"}}; 56 width: 40px; 57 cursor: pointer; 58 &:active { 59 background-color: ${e=>{let{theme:t}=e;return(0,c.oo)(t.colors.surface,.32)}}; 60 border-radius: 50px; 61 height: 40px; 62 width: 40px; 63 display: flex; 64 justify-content: center; 65 align-items: center; 66 } 67`,b=i.Z.div` 68 color: ${e=>{let{theme:t}=e;return t.colors.surface}}; 69 cursor: pointer; 70 &:active { 71 background-color: ${e=>{let{theme:t}=e;return(0,c.oo)(t.colors.surface,.32)}}; 72 border-radius: 50px; 73 height: 40px; 74 width: 40px; 75 display: flex; 76 justify-content: center; 77 align-items: center; 78 } 79`,H=i.Z.div` 80 margin-top: -7px; 81 margin-right: ${e=>{let{showFullScreen:t}=e;return t?"48px":"24px"}}; 82 flex: 1; 83 input { 84 width: 100%; 85 background: ${e=>{let{sliderValue:t,theme:l}=e;return`linear-gradient(to right, ${l.colors.primary20} ${t}%, ${l.colors.surface} 0%, ${l.colors.surface} 100%)`}}; 86 outline: none; 87 -webkit-appearance: none; 88 border-radius: ${e=>{let{theme:t}=e;return t.borders.radius10}}; 89 height: 4px; 90 transition: background 450ms ease-in; 91 } 92 input[type=range]::-webkit-slider-thumb { 93 -webkit-appearance: none; 94 border: none; 95 height: 12px; 96 width: 12px; 97 border-radius: 50%; 98 background: ${e=>{let{theme:t}=e;return t.colors.primary20}}; 99 } 100 input[type=range]::-moz-range-thumb { 101 -webkit-appearance: none; 102 border: none; 103 height: 12px; 104 width: 12px; 105 border-radius: 50%; 106 background: ${e=>{let{theme:t}=e;return t.colors.primary20}}; 107 } 108`,y=i.Z.div` 109 color: ${e=>{let{theme:t}=e;return t.colors.surface}}; 110 margin-right: ${e=>{let{showFullScreen:t}=e;return t?"40px":"20px"}}; 111 margin-top: -5px; 112 ${e=>{let{showFullScreen:t,theme:l}=e;return t?l.typography.titleSmall:l.typography.subTitleLarge}}; 113`,L=i.Z.div` 114 z-index: 2; 115 ${e=>{let{theme:t}=e;return t.typography.subTitleLarge}}; 116 color: ${e=>{let{theme:t}=e;return t.colors.surface}}; 117 width: 40px; 118 cursor: pointer; 119 margin-right: ${e=>{let{showFullScreen:t}=e;return t?"40px":"5px"}}; 120 &:active { 121 background-color: ${e=>{let{theme:t}=e;return(0,c.oo)(t.colors.surface,.32)}}; 122 border-radius: 50px; 123 height: 40px; 124 width: 40px; 125 display: flex; 126 justify-content: center;
127 align-items: center; 128 ${e=>{let{playing:t,theme:l}=e;const{spacing40:n,spacing60:i}=l.spacing;return!t&&`\n padding: ${n} ${n} ${n} ${i};\n `}}; 129 } 130`,Z=e=>{var t,l,i,u,c,p;const{activeVideo:h,setFullScreen:v,setVideoPlaying:Z,setVideoEnded:M,counter:k,setCounter:S,productId:$,handleTracking:F,showFullScreen:E}=e;let I=null;var B,P;"undefined"!=typeof window&&(I=null===(B=window)||void 0===B||null===(P=B.document)||void 0===P?void 0:P.getElementById(h));let T=0;const D=(0,n.useCallback)((()=>{const e=document.getElementById("videoWrapper");if(E&&document){var t,l,n;if(v(!1),null!==(t=document)&&void 0!==t&&t.mozCancelFullScreen)document.mozCancelFullScreen();else if(null!==(l=document)&&void 0!==l&&l.webkitCancelFullScreen){var i;null===(i=document)||void 0===i||i.webkitCancelFullScreen()}else null!==(n=document)&&void 0!==n&&n.exitFullscreen&&document.exitFullscreen()}else{var r;if((0,o.A)("pdpVideoFullScreen",{pdpVideoData:{productId:$,videoId:h}}),null!=e&&e.requestFullScreen)null==e||e.requestFullScreen();else if(null!=e&&e.mozRequestFullScreen)null==e||e.mozRequestFullScreen();else if(null!=e&&e.webkitRequestFullScreen)e.webkitRequestFullScreen();else if(null!==(r=I)&&void 0!==r&&r.webkitEnterFullScreen)return void I.webkitEnterFullScreen();document.webkitFullScreen=!0,v(!0)}}),[h,$,v,E,I]);(0,n.useEffect)((()=>{const e=()=>{null===(document.fullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement)&&E&&document&&D()};document&&document.addEventListener&&(document.addEventListener("mozfullscreenchange",e,!1),document.addEventListener("webkitfullscreenchange",e,!1),document.addEventListener("fullscreenchange",e,!1))}),[D,E]);const _=(0,x.kZ)(k,x.B1.MINUTES);return T=(null==k?void 0:k.toFixed())/(null===(t=I)||void 0===t?void 0:t.duration)*100,(0,C.jsx)(V,{showFullScreen:E},(0,C.jsx)(L,{playing:!(null!==(l=I)&&void 0!==l&&l.paused),onClick:e=>(e=>{var t;e.preventDefault(),e.stopPropagation(),null!==(t=I)&&void 0!==t&&t.paused?r(Z,h):(F(),(0,o.W)({skipData:{videoImpression:"pause",videoPlayTime:k}}),d(Z,h))})(e),showFullScreen:E},null!==(i=I)&&void 0!==i&&i.paused||k>=(null===(u=I)||void 0===u?void 0:u.duration)?(0,C.jsx)(a,null):(0,C.jsx)(s,null)),(0,C.jsx)(H,{sliderValue:T,showFullScreen:E},(0,C.jsx)("input",{type:"range",id:"progress-bar-cv",min:"0",max:`${null===(c=I)||void 0===c?void 0:c.duration.toFixed()}`,value:String(k.toFixed()),step:"1",onChange:e=>(e=>{var t;e.preventDefault(),e.stopPropagation(),I.currentTime=parseInt(e.target.value),S(parseInt(e.target.value)),null!==(t=I)&&void 0!==t&&t.ended&&(r(Z,h),M(!1))})(e)})),(0,C.jsx)(y,{showFullScreen:E},_),(0,C.jsx)(j,{onClick:e=>(e=>{e.preventDefault(),e.stopPropagation(),I&&(F(),(0,o.W)({muteData:{videoImpression:"mute",videoPlayTime:k}}),I.muted=!I.muted)})(e),showFullScreen:E},null!==(p=I)&&void 0!==p&&p.muted?(0,C.jsx)(g,null):(0,C.jsx)(m,null)),(0,C.jsx)(b,{onClick:()=>D()},E?(0,C.jsx)(f,null):(0,C.jsx)(w,null)))},M=function(){return(0,C.jsx)("svg",{width:"71",height:"74",viewBox:"0 0 71 74",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,C.jsx)("path",{d:"M12.2401 0.919922C5.28014 2.35992 0.640137 4.99992 0.640137 7.95992C0.640137 10.9199 5.28014 13.5599 12.2401 14.9999V0.919922Z",fill:"#CECECE"}),(0,C.jsx)("path",{d:"M13.9201 0.599609C6.08013 1.95961 0.640137 4.75961 0.640137 7.95961C0.640137 11.1596 6.00014 13.9596 13.9201 15.3196V0.599609Z",fill:"#303030"}),(0,C.jsx)("path",{d:"M30.1601 2.43945C19.3601 2.43945 10.5601 4.91945 10.5601 7.95945V29.5595H49.7601V7.95945C49.8401 4.91945 41.0401 2.43945 30.1601 2.43945Z",fill:"#424242"}),(0,C.jsx)("path",{d:"M26.0801 11.9595V21.0795H10.5601V6.51953H26.0801V11.9595Z",fill:"#8C8C8C"}),(0,C.jsx)("path",{d:"M25.2001 15.639C11.6001 15.639 0.640137 12.199 0.640137 7.95898V66.839C0.640137 70.519 11.6001 73.479 25.2001 73.479C38.8001 73.479 49.7601 70.519 49.7601 66.839V7.95898C49.8401 12.199 38.8001 15.639 25.2001 15.639Z",fill:"#8C8C8C"}),(0,C.jsx)("path",{d:"M25.4401 15.639C25.3601 15.639 25.2801 15.639 25.2001 15.639C11.6001 15.639 0.640137 12.199 0.640137 7.95898V66.839C0.640137 70.519 11.6001 73.479 25.2001 73.479C25.2801 73.479 25.3601 73.479 25.4401 73.479V15.639Z",fill:"#B5B5B5"}),(0,C.jsx)("path",{d:"M26.4801 2.51953C17.4401 2.91953 10.6401 4.51953 10.6401 6.51953C10.6401 8.51953 17.4401 10.1995 26.4801 10.5195V2.51953Z",fill:"#424242"}),(0,C.jsx)("path",{d:"M37.6804 18.2793C35.7604 18.6793 33.6004 18.9193 31.3604 19.1593V25.7993C33.6004 25.6393 35.6804 25.3193 37.6804 24.9993V18.2793Z",fill:"black"}),(0,C.jsx)("path",{d:"M46.4003 15.4004C45.1203 16.1204 43.6003 16.7604 41.7603 17.3204V23.9604C43.6003 23.4004 45.1203 22.8404 46.4003 22.1204V15.4004Z",fill:"black"}),(0,C.jsx)("path",{d:"M37.6804 62.4395C35.7604 62.8395 33.6004 63.0795 31.3604 63.3195V69.9594C33.6004 69.7994 35.6804 69.4794 37.6804 69.1594V62.4395Z",fill:"black"}),(0,C.jsx)("path",{d:"M46.4003 59.5605C45.1203 60.2805 43.6003 60.9205 41.7603 61.4805V68.1206C43.6003 67.5606 45.1203 67.0005 46.4003 66.2805V59.5605Z",fill:"black"}),(0,C.jsx)("path",{d:"M2.95996 59.0801V65.4801C3.91996 66.2001 5.19996 66.8401 6.63996 67.4001V60.9201C5.19996 60.3601 3.99996 59.7201 2.95996 59.0801Z",fill:"black"}),(0,C.jsx)("path",{d:"M16.2401 63.079C14.0001 62.839 11.9201 62.439 10.0801 61.959V68.519C11.9201 68.999 14.0001 69.399 16.2401 69.639V63.079Z",fill:"black"}),(0,C.jsx)("path",{d:"M26.6399 63.5604C26.1599 63.5604 25.5999 63.5604 25.1199 63.5604C23.5199 63.5604 21.9199 63.4804 20.3999 63.4004V69.9604C21.9999 70.0404 23.6799 70.1204 25.4399 70.1204C25.8399 70.1204 26.3199 70.1204 26.7199 70.1204V63.5604H26.6399Z",fill:"black"}),(0,C.jsx)("path",{d:"M49.8401 61.399C38.4001 61.399 29.1201 52.119 29.1201 40.679C29.1201 29.239 38.4001 19.959 49.8401 19.959",fill:"#3A3A3A"}),(0,C.jsx)("path",{d:"M49.8403 20.0391C61.2803 20.0391 70.5603 29.3191 70.5603 40.7591C70.5603 52.1991 61.2003 61.3991 49.8403 61.3991",fill:"black"}),(0,C.jsx)("path",{d:"M49.84 56.0384C58.3231 56.0384 65.2 49.1615 65.2 40.6784C65.2 32.1953 58.3231 25.3184 49.84 25.3184C41.3569 25.3184 34.48 32.1953 34.48 40.6784C34.48 49.1615 41.3569 56.0384 49.84 56.0384Z",fill:"white"}),(0,C.jsx)("path",{d:"M56.5599 31.8784L58.3999 33.7184C58.9599 34.2784 58.9599 35.2384 58.3999 35.7984L53.6799 40.5184C53.6799 40.5184 53.6799 40.5984 53.6799 40.6784L58.3999 45.3984C58.9599 45.9584 58.9599 46.9184 58.3999 47.4784L56.3999 49.4784C55.8399 50.0384 54.8799 50.0384 54.3199 49.4784L49.5999 44.7584C49.5999 44.7584 49.5199 44.7584 49.4399 44.7584L44.7199 49.4784C44.1599 50.0384 43.1999 50.0384 42.6399 49.4784L40.7999 47.6384C40.2399 47.0784 40.2399 46.1184 40.7999 45.5584L45.5199 40.8384C45.5199 40.8384 45.5199 40.7584 45.5199 40.6784L40.7999 35.9584C40.2399 35.3984 40.2399 34.4384 40.7999 33.8784L42.7999 31.8784C43.3599 31.3184 44.3199 31.3184 44.8799 31.8784L49.5999 36.5984C49.5999 36.5984 49.6799 36.5984 49.7599 36.5984L54.4799 31.8784C55.0399 31.2384 55.9199 31.2384 56.5599 31.8784Z",fill:"black"}),(0,C.jsx)("path",{d:"M2.95996 14.9199V21.3199C3.91996 22.0399 5.19996 22.6799 6.63996 23.2399V16.7599C5.19996 16.1999 3.99996 15.5599 2.95996 14.9199Z",fill:"black"}),(0,C.jsx)("path",{d:"M16.2401 18.8387C14.0001 18.5987 11.9201 18.1987 10.0801 17.7188V24.2787C11.9201 24.7587 14.0001 25.1587 16.2401 25.3987V18.8387Z",fill:"black"}),(0,C.jsx)("path",{d:"M26.6399 19.4002C26.1599 19.4002 25.5999 19.4002 25.1199 19.4002C23.5199 19.4002 21.9199 19.3202 20.3999 19.2402V25.8002C21.9999 25.8802 23.6799 25.9602 25.4399 25.9602C25.8399 25.9602 26.3199 25.9602 26.7199 25.9602V19.4002H26.6399Z",fill:"black"}))},k=function(){return(0,C.jsx)("svg",{width:"107",height:"49",viewBox:"0 0 107 49",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,C.jsx)("g",{clipPath:"url(#clip0_3376_35827)"},(0,C.jsx)("path",{d:"M17.604 30H19.7119V25.7386H21.8597L24.1437 30H26.496L23.979 25.3864C25.3483 24.8352 26.0699 23.6648 26.0699 22.0852C26.0699 19.8636 24.6381 18.3636 21.9676 18.3636H17.604V30ZM19.7119 23.9886V20.125H21.6437C23.2176 20.125 23.9222 20.8466 23.9222 22.0852C23.9222 23.3239 23.2176 23.9886 21.6551 23.9886H19.7119ZM31.758 30.1705C33.792 30.1705 35.1898 29.1761 35.5534 27.6591L33.633 27.4432C33.3545 28.1818 32.6727 28.5682 31.7864 28.5682C30.4568 28.5682 29.5761 27.6932 29.5591 26.1989H35.6386V25.5682C35.6386 22.5057 33.7977 21.1591 31.65 21.1591C29.15 21.1591 27.5193 22.9943 27.5193 25.687
1305C27.5193 28.4261 29.1273 30.1705 31.758 30.1705ZM29.5648 24.8125C29.6273 23.6989 30.4511 22.7614 31.6784 22.7614C32.8602 22.7614 33.6557 23.625 33.667 24.8125H29.5648ZM41.8366 21.2727H40.1151V19.1818H38.0582V21.2727H36.8196V22.8636H38.0582V27.7159C38.0469 29.358 39.2401 30.1648 40.7855 30.1193C41.3707 30.1023 41.7741 29.9886 41.9957 29.9148L41.6491 28.3068C41.5355 28.3352 41.3026 28.3864 41.0469 28.3864C40.5298 28.3864 40.1151 28.2045 40.1151 27.375V22.8636H41.8366V21.2727ZM43.6568 30H45.7136V24.8693C45.7136 23.7614 46.5489 22.9773 47.6795 22.9773C48.0261 22.9773 48.458 23.0398 48.6341 23.0966V21.2045C48.4466 21.1705 48.1227 21.1477 47.8955 21.1477C46.8955 21.1477 46.0602 21.7159 45.742 22.7273H45.6511V21.2727H43.6568V30ZM51.6446 33.2727C53.2469 33.2727 54.173 32.4489 54.6673 31.0568L58.173 21.2841L55.9741 21.2727L53.9571 27.8636H53.8662L51.8548 21.2727H49.673L52.8378 30.1818L52.6616 30.6534C52.281 31.6477 51.6787 31.7159 50.781 31.4545L50.3037 33.0568C50.5821 33.1705 51.0821 33.2727 51.6446 33.2727Z",fill:"#FA8BB4"}),(0,C.jsx)("path",{d:"M74.7194 16.0744C76.0341 15.3643 77.5064 14.9949 79.0012 15.0001C80.7485 15.0038 82.457 15.514 83.9191 16.4686C85.3812 17.4233 86.534 18.7812 87.2372 20.3775C87.9405 21.9737 88.164 23.7395 87.8805 25.4601C87.5971 27.1808 86.8189 28.7822 85.6405 30.0697C84.4622 31.3572 82.9344 32.2753 81.243 32.7125C79.5516 33.1497 77.7693 33.0871 76.1129 32.5324C74.4565 31.9776 72.9972 30.9545 71.9124 29.5876C70.8277 28.2206 70.1642 26.5686 70.0026 24.8323C69.9864 24.6402 70.0464 24.4493 70.1697 24.3009C70.293 24.1525 70.4698 24.0584 70.662 24.0387C70.7571 24.0295 70.853 24.0392 70.9443 24.0674C71.0355 24.0956 71.1202 24.1417 71.1933 24.203C71.2665 24.2643 71.3267 24.3395 71.3703 24.4243C71.4139 24.5091 71.4401 24.6018 71.4474 24.6968C71.6061 26.4813 72.3972 28.1509 73.6786 29.4056C74.96 30.6603 76.6477 31.4178 78.4385 31.5422C80.2293 31.6665 82.0058 31.1494 83.4489 30.0839C84.892 29.0184 85.9071 27.4742 86.3119 25.7288C86.7166 23.9834 86.4844 22.1512 85.6571 20.5612C84.8297 18.9713 83.4614 17.728 81.7979 17.0545C80.1345 16.381 78.2849 16.3216 76.5815 16.8869C74.8781 17.4522 73.4325 18.6052 72.5044 20.1388H74.1528C74.3457 20.1388 74.5307 20.2152 74.6671 20.3513C74.8035 20.4875 74.8801 20.6721 74.8801 20.8646C74.8801 21.0571 74.8035 21.2417 74.6671 21.3778C74.5307 21.5139 74.3457 21.5904 74.1528 21.5904H70.7493C70.5564 21.5904 70.3714 21.5139 70.235 21.3778C70.0986 21.2417 70.022 21.0571 70.022 20.8646V17.4775C70.022 17.285 70.0986 17.1004 70.235 16.9642C70.3714 16.8281 70.5564 16.7517 70.7493 16.7517C70.9421 16.7517 71.1271 16.8281 71.2635 16.9642C71.3999 17.1004 71.4765 17.285 71.4765 17.4775V19.0646C72.2897 17.8127 73.4047 16.7846 74.7194 16.0744Z",fill:"#FA8BB4"}),(0,C.jsx)("path",{d:"M78.0316 20.7968L82.5503 23.7C82.6041 23.7324 82.6485 23.7782 82.679 23.8331C82.7096 23.8879 82.7251 23.9498 82.7241 24.0125C82.7231 24.0752 82.7057 24.1366 82.6735 24.1904C82.6412 24.2443 82.5954 24.2888 82.5406 24.3194L78.0316 27.2226C77.976 27.257 77.9122 27.2759 77.8468 27.2776C77.7815 27.2792 77.7169 27.2635 77.6596 27.2319C77.6024 27.2004 77.5545 27.1542 77.5211 27.0982C77.4876 27.0421 77.4697 26.9782 77.4691 26.9129V21.1065C77.4697 21.0413 77.4876 20.9773 77.5211 20.9213C77.5545 20.8652 77.6024 20.819 77.6596 20.7875C77.7169 20.756 77.7815 20.7402 77.8468 20.7419C77.9122 20.7435 77.976 20.7625 78.0316 20.7968Z",fill:"#FA8BB4"}),(0,C.jsx)("path",{d:"M8 1H99V-1H8V1ZM106 8V40.001H108V8H106ZM99 47.001H8V49.001H99V47.001ZM1 40.001V8H-1V40.001H1ZM8 47.001C4.13401 47.001 1 43.867 1 40.001H-1C-1 44.9716 3.02944 49.001 8 49.001V47.001ZM106 40.001C106 43.867 102.866 47.001 99 47.001V49.001C103.971 49.001 108 44.9716 108 40.001H106ZM99 1C102.866 1 106 4.13401 106 8H108C108 3.02944 103.971 -1 99 -1V1ZM8 -1C3.02944 -1 -1 3.02944 -1 8H1C1 4.13401 4.13401 1 8 1V-1Z",fill:"white",fillOpacity:"0.16"})),(0,C.jsx)("defs",null,(0,C.jsx)("clipPath",{id:"clip0_3376_35827"},(0,C.jsx)("path",{d:"M0 8C0 3.58173 3.58172 0 8 0H99C103.418 0 107 3.58172 107 8V40.001C107 44.4193 103.418 48.001 99 48.001H8C3.58172 48.001 0 44.4193 0 40.001V8Z",fill:"white"}))))};var S=l(72618);const $=S.z.div` 131 z-index: 2; 132 color: ${e=>{let{theme:t}=e;return t.colors.surface}}; 133 ${e=>{let{theme:t}=e;return t.typography.subTitleLarge}}; 134 text-align: center; 135 max-width: 220px; 136 display: flex; 137 flex-direction: column; 138 align-items: center; 139 justify-content: center; 140 height: 100%; 141 margin: 0 auto; 142 svg { 143 margin-bottom: ${e=>{let{theme:t}=e;return t.spacing.spacing80}}; 144 } 145`,F=S.z.div` 146 svg{ 147 margin-top: ${e=>{let{theme:t}=e;return t.spacing.spacing120}}; 148 cursor: pointer; 149 } 150`,E=e=>{let{onClick:t}=e;return(0,C.jsx)($,null,(0,C.jsx)(M,null),(0,C.jsx)("span",null,"Uh-oh! Unable to load video. Please try again later"),(0,C.jsx)(F,{onClick:t}
150,(0,C.jsx)(k,null)))},I=i.Z.div` 151 position: relative; 152 height: ${e=>{let{dynamicHeight:t}=e;return`${t}px`}}; 153 background-color: ${e=>{let{theme:t}=e;return t.colors.surfaceInverse}}; 154 align-self: center; 155 width: 100%; 156 border-radius: ${e=>{let{theme:t}=e;return t.borders.radius40}} 0 0 157 ${e=>{let{theme:t}=e;return t.borders.radius40}}; 158 max-height: 100%; 159 @media only screen and (min-width: 768px) and (max-width: 1024px) { 160 height: 850px; 161 } 162 163 .fullScreenView { 164 position: fixed; 165 left: 0; 166 right: 0; 167 top: 0; 168 bottom: 0; 169 } 170 video::-webkit-media-controls { 171 display: none !important; 172 -webkit-appearance: none; 173 } 174 video::-webkit-media-controls-enclosure { 175 display: none !important; 176 } 177 video::-o-media-controls-panel { 178 display: none !important; 179 -webkit-appearance: none; 180 } 181`,B=i.Z.video` 182 width: 100%; 183 height: 100%; 184 background-color: ${e=>{let{theme:t}=e;return t.colors.surface}}; 185 border-radius: ${e=>{let{theme:t}=e;return t.borders.radius40}} 0 0 186 ${e=>{let{theme:t}=e;return t.borders.radius40}}; 187`,P=i.Z.div` 188 position: fixed; 189 overflow: hidden; 190 text-overflow: ellipsis; 191 z-index: 2; 192 color: ${e=>{let{theme:t}=e;return t.colors.surfaceInverse}}; 193 white-space: nowrap; 194 width: ${e=>{let{showFullScreen:t}=e;return t?"1000px":"600px"}}; 195 ${e=>{let{theme:t,showFullScreen:l}=e;return l?t.typography.titleSmall:t.typography.titleXSmall}}; 196 margin: 18px 0 0 60px; 197`,T=e=>{var t;const{url:l,videoId:i,title:s,activeVideo:a,videoPosition:u,aspectRatio:c,currentTime:p=0,productId:h,pdpVideoPosition:x,showFullScreen:g,setFullScreen:m}=e,w=(0,n.useRef)(!0),[f,V]=(0,n.useState)(a),[j,b]=(0,n.useState)(!1),[H,y]=(0,n.useState)(!0),[L,M]=(0,n.useState)(!1),[k,S]=(0,n.useState)(0),[$,F]=(0,n.useState)(!0),[T,D]=(0,n.useState)(!1);let _=null;var z,A;"undefined"!=typeof window&&(_=null===(z=window)||void 0===z||null===(A=z.document)||void 0===A?void 0:A.getElementById(a));const R=(0,n.useCallback)((()=>{if(!j&&a===i){var e,t,l;const n=null===(e=document)||void 0===e?void 0:e.getElementById(a),i=null==n||null===(t=n.getBoundingClientRect())||void 0===t?void 0:t.top,o=null==n||null===(l=n.getBoundingClientRect())||void 0===l?void 0:l.bottom;i&&o&&(i>window.innerHeight||o<0)?d(y,a):r(y,a)}}),[a,j,i]),W=(0,n.useCallback)((()=>{if($)return;F(!0);const e=setTimeout((()=>{F(!1),clearTimeout(e)}),3e3)}),[$]);(0,n.useEffect)((()=>{_&&(_.onerror=function(){b(!0)})}),[_,a]),(0,n.useEffect)((()=>{var e;if(!j&&(null===(e=document)||void 0===e?void 0:e.getElementById(a))){if(V(a),!f||a===f)return window.addEventListener("scroll",R,{passive:!0}),()=>window.removeEventListener("scroll",R);d(y,f)}return()=>{w.current=!1}}),[R,j,a,f,p]),(0,n.useEffect)((()=>{var e;const t=null===(e=document)||void 0===e?void 0:e.getElementById(f);if(t&&f&&i===f){const e=H&&setInterval((()=>{(null==t?void 0:t.currentTime)<(null==t?void 0:t.duration)?S((null==t?void 0:t.currentTime)+1):k>=(null==t?void 0:t.duration)&&(d(y,f),M(!0)),k>=1.5&&!T&&(D(!0),(0,o.A)("pdpVideoPlay",{pdpVideoData:{videoId:f,productId:h,pdpvideoPosition:x}}))}),1e3);return()=>{e&&clearInterval(e)}}}),[k,H,a,i,h,x,u,T,f]);let q=600;"undefined"!=typeof window&&(q=window.innerWidth*c);const O=()=>{var e;(0,o.A)("videoImpression",{pdpVideoData:{videoId:a,videoTotalTime:null===(e=_)||void 0===e?void 0:e.duration,interactionLocation:u,productId:h,pdpvideoPosition:x}})};(0,n.useEffect)((()=>{a!==f&&j&&b(!1)}),[a,f,j]);return j?(0,C.jsx)(E,{onClick:()=>{r(y,a)}}):(0,C.jsx)(I,{id:"videoWrapper",onMouseLeave:()=>F(!1),onMouseMoveCapture:()=>W(),dynamicHeight:q},(0,C.jsx)(P,{showFullScreen:g},s),(0,C.jsx)(B,{id:i,muted:!0,autoPlay:!0,src:l,playsInline:!0,preload:"none",className:g?"fullScreenView":"",onClick:e=>(e=>{var t;e.preventDefault(),e.stopPropagation(),null!==(t=_)&&void 0!==t&&t.paused?r(y,a):(O(),(0,o.W)({skipData:{videoImpression:"pause",videoPlayTime:k}}),d(y,a))})(e),onError:()=>b(!0)}),$&&(0,C.jsx)(v,{activeVideo:a,counter:k,ended:L,setVideoPlaying:y,setVideoEnded:M,setCounter:S,handleTracking:O}),($||_&&(null===(t=_)||void 0===t?void 0:t.paused))&&(0,C.jsx)("div",null,(0,C.jsx)(Z,{setFullScreen:m,setCounter:S,setVideoPlaying:y,activeVideo:a,counter:k,setVideoEnded:M,productId:h,handleTracking:O,showFullScreen:g})))}}}]);
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.