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,SAAAlE,CAAA,MAAAS,EAAAuD,GAAA,EAAAwD,EAAA,CAAA0D,MAAAzN,EAAAoN,aAAApL,EAAAqL,uBAAApL,EAAAqL,sBAAApL,EAAAgL,mBAAAtM,EAAA8M,oBAAA7M,EAAA4F,SAAAlE,CAAA,GAAAD,EAAA2K,YAAA,EAAAvE,gBAAA,OAAAwE,mBAAA,EAAAC,iBAAA,EAAA1G,SAAA,qBAAA3G,CAAA,CAAAC,CAAA,CAAAC,CAAA,EAAAF,EAAA6N,OAAA,CAAA3N,EAAA","sources":["webpack://_N_E/./adapters/cloudinary/ImageFactory.js","webpack://_N_E/./adapters/helpers/ContentBlockConfiguration.js","webpack://_N_E/./adapters/helpers/DeviceTypes.js","webpack://_N_E/./components/HomeVideoPlayer/HomeVideoPlayer.js","webpack://_N_E/./components/Content/VideoBackgroundWrapper.js","webpack://_N_E/./components/Content/BackgroundWrapper.js","webpack://_N_E/./node_modules/next/head.js","webpack://_N_E/"],"sourcesContent":["export function buildContentfullImageUrl(assetUrl, transformations) {\n return transformations ? 'https:'+ assetUrl + \"?\" + transformations : 'https:'+ assetUrl; \n}\n\nexport function buildContentfullImageUrlByHeight(assetUrl, height = 'auto', transformations = 'c_limit', format = 'auto') {\n return 'https:'+ assetUrl + \"?h=\"+ height ;\n}\n\nexport function buildContentfullImageUrlByWidth(assetUrl, width = 'auto', transformations = 'c_limit', format = 'auto') {\n return 'https:'+ assetUrl + \"?w=\"+ width ; \n}\n\nexport function imageContentfullSrc(assetUrl, transformations) {\n return buildContentfullImageUrl(assetUrl, transformations);\n}\n\nexport function imageContentfullDpr(assetUrl, transformations = '') {\n if (!transformations) {\n return buildContentfullImageUrl(assetUrl);\n }\n\n return buildContentfullImageUrl(assetUrl, transformations)\n}\n\n\nexport default {\n buildContentfullImageUrl,\n buildContentfullImageUrlByHeight,\n buildContentfullImageUrlByWidth,\n imageContentfullDpr,\n imageContentfullSrc,\n};\n","import {DeviceType} from './DeviceTypes';\n\nexport function getConfigurationValue(availableConfigurations, devicesConfigurations, fieldName, isMobile, isTiny, isTablet, defaultValue = false) {\n let value = defaultValue;\n if (availableConfigurations.indexOf(DeviceType.All) >= 0) {\n /*\n if configuration for device type ALL exist, only care about that one\n */\n let configuration = devicesConfigurations.find(conf => conf.fields.deviceType === DeviceType.All);\n value = configuration.fields[fieldName] || defaultValue;\n } else {\n /*\n in the other case fetch mobile and desktop value and return the one matching the is mobile variable\n given requested value is for mobile and mobile value is empty then use the desktop value\n */\n let tinyConfiguration = devicesConfigurations.find(conf => conf.fields.deviceType === DeviceType.TINY);\n let mobileConfiguration = devicesConfigurations.find(conf => conf.fields.deviceType === DeviceType.MOBILE);\n let tabletConfiguration = devicesConfigurations.find(conf => conf.fields.deviceType === DeviceType.TABLET);\n let desktopConfiguration = devicesConfigurations.find(conf => conf.fields.deviceType === DeviceType.DESKTOP);\n\n let tinyValue = tinyConfiguration ? tinyConfiguration.fields[fieldName] || defaultValue : defaultValue;\n let mobileValue = mobileConfiguration ? mobileConfiguration.fields[fieldName] || defaultValue : defaultValue;\n let tabletValue = tabletConfiguration ? tabletConfiguration.fields[fieldName] || defaultValue : defaultValue;\n let desktopValue = desktopConfiguration ? desktopConfiguration.fields[fieldName] || defaultValue : defaultValue;\n\n if (isTiny) {\n value = tinyValue || mobileValue || desktopValue;\n } else if (isMobile) {\n value = mobileValue || tabletValue || desktopValue;\n } else if (isTablet) {\n value = tabletValue || desktopValue;\n } else {\n value = desktopValue\n }\n }\n return value;\n}\n\nexport function getConfigurationBooleanValue(availableConfigurations, devicesConfigurations, fieldName, isMobile, isTiny, isTablet, defaultValue = false) {\n let value = defaultValue;\n \n if (availableConfigurations.indexOf(DeviceType.All) >= 0) {\n /*\n if configuration for device type ALL exist, only care about that one\n */\n let configuration = devicesConfigurations.find(conf => conf.fields.deviceType === DeviceType.All);\n value = configuration.fields[fieldName] ? configuration.fields[fieldName] : defaultValue;\n } else {\n /*\n in the other case fetch mobile and desktop value and return the one matching the is mobile variable\n given requested value is for mobile and mobile value is empty then use the desktop value\n */\n\n let tinyConfiguration = devicesConfigurations.find(conf => conf.fields.deviceType === DeviceType.TINY);\n let mobileConfiguration = devicesConfigurations.find(conf => conf.fields.deviceType === DeviceType.MOBILE);\n let tabletConfiguration = devicesConfigurations.find(conf => conf.fields.deviceType === DeviceType.TABLET);\n let desktopConfiguration = devicesConfigurations.find(conf => conf.fields.deviceType === DeviceType.DESKTOP);\n\n let tinyValue = tinyConfiguration && tinyConfiguration.fields[fieldName]\n ? tinyConfiguration.fields[fieldName] : defaultValue;\n let mobileValue = mobileConfiguration && mobileConfiguration.fields[fieldName]\n ? mobileConfiguration.fields[fieldName] : defaultValue;\n let tabletValue = tabletConfiguration && tabletConfiguration.fields[fieldName]\n ? tabletConfiguration.fields[fieldName] : defaultValue;\n let desktopValue = desktopConfiguration && desktopConfiguration.fields[fieldName]\n ? desktopConfiguration.fields[fieldName] : defaultValue;\n\n if (isTiny) {\n value = tinyValue || mobileValue || desktopValue;\n } else if (isMobile) {\n value = mobileValue || tabletValue || desktopValue;\n } else if (isTablet) {\n value = tabletValue || desktopValue;\n } else {\n value = desktopValue\n }\n }\n return value;\n}","export const DeviceType = Object.freeze({\n All:'all',\n DESKTOP:'desktop',\n MOBILE:'mobile',\n TINY:'tiny',\n TABLET: 'tablet'\n});","import {AnalyticsConstants} from '../../adapters/helpers/ConstantsGA';\nimport React, {Component, Fragment} from 'react';\nimport PropTypes from 'prop-types';\nimport ImageFactory from '../../adapters/cloudinary/ImageFactory';\nimport Head from 'next/head';\nimport { optimizeImage } from '../../adapters/helpers/pagespeedHelper';\n\nclass HomeVideoPlayer extends Component {\n\n constructor(props) {\n super(props);\n this.videoRef = React.createRef();\n this.videoPlayer = null;\n this.videoplay = this.onVideoPlay.bind(this);\n this.videoPause = this.onVideoPause.bind(this);\n this.videoEnd = this.onVideoEnd.bind(this);\n this.video = props.video;\n this.state = {\n video: null\n }\n }\n\n getVideo() {\n return this.video;\n }\n\n getVideoRef() {\n return this.videoRef?.current;\n }\n\n getVideoCustomID(string) {\n let videoCustomId = this.video.assetId;\n videoCustomId = videoCustomId.split('/');\n\n return string + '-' + videoCustomId[videoCustomId.length - 1];\n }\n\n getVideoPlayerRef() {\n return this.videoPlayer;\n }\n\n componentDidMount() {\n if (this.videoIsDefined()) {\n this.videoRef?.current?.play();\n this.props?.onVideoPlaying(true);\n this.videoRef?.current?.parentNode?.classList.add('vjs-playing')\n }\n }\n\n onVideoPause() {\n this.videoRef?.current?.parentNode?.classList.add('vjs-paused')\n this.setAnalyticsPlayPauseTags();\n }\n\n onVideoEnd(){\n if(this.props?.onVideoPlaying) {\n this.props?.onVideoPlaying(false);\n }\n this.videoRef?.current?.parentNode?.classList.remove('vjs-playing')\n this.videoRef?.current?.parentNode?.classList.add('vjs-ended')\n }\n onVideoPlay() {\n this.videoRef?.current?.parentNode?.classList.add('vjs-playing')\n this.setAnalyticsPlayPauseTags();\n }\n\n onVideoMuted() {\n this.setAnalyticsMuteUnmuteTags();\n }\n\n onVideoUnMuted() {\n this.setAnalyticsMuteUnmuteTags();\n }\n\n onVideoFullScreen() {\n this.setAnalyticsFullScreenTags();\n }\n\n setAnalyticsPlayPauseTags() {\n if(this.videoRef.current.parentNode) {\n let isVideoPaused = this.videoRef?.current?.parentNode?.classList.contains('vjs-paused');\n let playPauseButton = document.getElementsByClassName('ob-contentBlock-video-controls').length > 0 && document.getElementsByClassName('ob-contentBlock-video-controls')[0].querySelector('button.vjs-play-control');\n this.setElementAnalytics(playPauseButton, 'event-video-play', AnalyticsConstants.videoPlayText, AnalyticsConstants.videoPauseText, !isVideoPaused);\n }\n }\n\n setAnalyticsMuteUnmuteTags() {\n if(this.videoRef.current.parentNode) {\n let isVideoMuted = this.videoRef?.current.getAttribute('muted');\n let muteUnmuteButton = this.videoRef?.current.parentNode?.querySelector('button.vjs-mute-control');\n this.setElementAnalytics(muteUnmuteButton, 'event-button-click', AnalyticsConstants.videoUnmuteText, AnalyticsConstants.videoMuteText, !isVideoMuted);\n }\n }\n\n setAnalyticsFullScreenTags() {\n if(this.videoRef.current.parentNode) {\n let isVideoFullScreen = this.videoRef?.current?.parentNode?.classList.contains('vjs-fullscreen');\n let fullscreenButton = this.videoRef?.current?.parentNode.querySelector('button.vjs-fullscreen-control');\n this.setElementAnalytics(fullscreenButton, 'event-button-click', AnalyticsConstants.videoFullscreenOffText, AnalyticsConstants.videoFullscreenOnText, !isVideoFullScreen);\n }\n }\n\n setAnalyticsCaptionsTags() {\n if(this.videoRef.current.parentNode) {\n let isCaptionsVisible = this.videoRef?.current?.parentNode.querySelector('div.vjs-text-track-cue');\n let captionsButton = this.videoRef?.current?.parentNode.querySelector('button.vjs-subs-caps-button');\n this.setElementAnalytics(captionsButton, 'event-button-click', AnalyticsConstants.videoCloseCaptionsOffText, AnalyticsConstants.videoCloseCaptionsOnText, !isCaptionsVisible);\n }\n }\n\n setElementAnalytics(element, className, dataActionDetail, dataActionDetailAlternative = '', isAlternative = false) {\n if (element) {\n if (!element.classList.contains(className)) {\n element.classList.add(className);\n }\n\n if (!isAlternative) {\n element.setAttribute('data-action-detail', dataActionDetail);\n } else {\n element.setAttribute('data-action-detail', dataActionDetailAlternative);\n }\n }\n }\n\n videoIsDefined() {\n return (this.video && this.video.assetId);\n }\n\n renderTranscript() {\n return
{this.video.transcript}
\n }\n\n render() {\n const isVideoPosterImagePreload = this.props?.video?.isVideoPosterImagePreload;\n const videoSettings = this.props?.video?.videoSettings?.fields;\n let poster = optimizeImage(ImageFactory.buildContentfullImageUrlByHeight(this.props.video?.imageAsset?.fields?.file?.url,videoSettings.height));\n return (\n \n \n {isVideoPosterImagePreload && }\n \n
\n \n {this.renderTranscript()}\n
\n
\n )\n }\n}\n\nHomeVideoPlayer.propTypes = {\n video: PropTypes.object,\n onVideoPlaying: PropTypes.func,\n};\n\nexport default HomeVideoPlayer\n","import Modal from 'react-modal';\nimport dynamic from 'next/dynamic';\nconst Icon = dynamic(()=>import('../Icon/Icon'))\nimport {SpotlightContentVideoConstants, ImageConstants, ContentConstants} from '../../adapters/helpers/Constants';\nimport VideoPlayer from '../VideoPlayer/VideoPlayer';\nimport HomeVideoPlayer from '../HomeVideoPlayer/HomeVideoPlayer';\nimport PropTypes from 'prop-types';\nimport React, {useCallback, useEffect, useRef, useState} from 'react';\n\nexport default function VideoBackgroundWrapper({\n backgroundAsset, mainAssetOffsetTop, mainAssetOffsetRight, mainAssetOffsetBottom, mainAssetOffsetLeft,\n playLabel, pauseLabel, resetLabel,\n openTranscriptLabel, closeTranscriptLabel, children\n }) {\n\n const videoPlayerRef = useRef(null);\n let [windowWidth, setWindowWidth] = useState(ImageConstants.defaultWidth);\n const [playing, setIsPlaying] = useState(false);\n const [isTranscriptModalOpen, setIsTranscriptModalOpen] = useState(false);\n const [currentVideoRef, setCurrentVideoRef] = useState(null);\n const customModalStyles = {\n overlay: {\n backgroundColor: 'rgba(0, 0, 0, 0.5)',\n zIndex: 200\n },\n content : {\n border : 'none',\n top : '50%',\n left : '50%',\n right : 'auto',\n bottom : 'auto',\n padding : '45px 20px 20px',\n fontSize : '1.4rem',\n lineHeight : '2.1rem',\n marginRight : '-50%',\n transform : 'translate(-50%, -50%)',\n maxWidth : '123.6rem',\n width : '90%'\n }\n };\n\n const handleResetClick = useCallback(() => {\n const videoRef = videoPlayerRef.current?.getVideoRef();\n const videoPlayerControlsRef = videoPlayerRef?.current?.getVideoPlayerRef();\n if (videoPlayerControlsRef) {\n videoPlayerControlsRef.currentTime(0);\n videoPlayerControlsRef.play();\n }else if (videoRef) {\n videoRef.currentTime = 0;\n setIsPlaying(true)\n videoRef.play();\n }\n }, []);\n\n const handleVideoEvent = useCallback((value) => {\n setIsPlaying(value);\n }, []);\n\n const handlePlayClick = useCallback(() => {\n const videoRef = videoPlayerRef.current?.getVideoRef();\n const videoPlayerControlsRef = videoPlayerRef?.current?.getVideoPlayerRef();\n\n if (videoPlayerControlsRef && videoRef && videoRef instanceof HTMLVideoElement) {\n if (playing) {\n videoPlayerControlsRef.pause();\n } else {\n videoPlayerControlsRef.play();\n }\n }else if (videoRef && videoRef instanceof HTMLVideoElement) {\n if (playing) {\n videoRef.pause();\n setIsPlaying(false)\n } else {\n videoRef.play();\n setIsPlaying(true)\n }\n }\n }, [playing]);\n\n const handleTranscriptOpen = useCallback(() => {\n setIsTranscriptModalOpen(true);\n }, []);\n\n const handleTranscriptClose = useCallback(() => {\n setIsTranscriptModalOpen(false);\n }, []);\n\n useEffect(()=>{ \n window.addEventListener('resize', handleResize)\n handleResize()\n return(()=>{\n window.removeEventListener('resize', handleResize)\n })\n \n },[])\n\n function handleResize() {\n setWindowWidth(window.innerWidth);\n }\n\n useEffect(() => {\n const videoRef = videoPlayerRef.current?.getVideoRef();\n const video = videoPlayerRef.current?.getVideo();\n\n if (videoRef && videoRef instanceof HTMLVideoElement) {\n setCurrentVideoRef(video);\n }\n }, [videoPlayerRef.current]);\n\n const videoPositioningStyles = {\n top: mainAssetOffsetTop,\n right: SpotlightContentVideoConstants.defaultRight,\n bottom: SpotlightContentVideoConstants.defaultBottom,\n left: mainAssetOffsetLeft,\n };\n\n if(windowWidth){\n videoPositioningStyles.right = mainAssetOffsetRight\n videoPositioningStyles.bottom = mainAssetOffsetBottom\n }\n \n return (\n
\n {windowWidth}\n
\n\n {backgroundAsset && backgroundAsset?.fields?.isHomeVideoPlayer && process.env.CLOUDINARY_BASEURL_VIDEO ? :\n } \n \n
\n
\n
\n \n\n \n\n {currentVideoRef && currentVideoRef.transcript &&\n \n }\n\n {currentVideoRef && currentVideoRef.transcript &&\n \n \n {currentVideoRef.transcript}\n \n }\n
\n
\n\n
\n {children}\n
\n
\n )\n}\n\nVideoBackgroundWrapper.propTypes = {\n backgroundAsset: PropTypes.any,\n children: PropTypes.node,\n mainAssetOffsetTop: PropTypes.string,\n mainAssetOffsetRight: PropTypes.string,\n mainAssetOffsetBottom: PropTypes.string,\n mainAssetOffsetLeft: PropTypes.string,\n playLabel: PropTypes.string,\n pauseLabel: PropTypes.string,\n resetLabel: PropTypes.string,\n openTranscriptLabel: PropTypes.string,\n closeTranscriptLabel: PropTypes.string,\n};\n\nVideoBackgroundWrapper.defaultProps = {\n backgroundAsset: undefined,\n children: null,\n mainAssetOffsetTop: '0',\n mainAssetOffsetRight: '0',\n mainAssetOffsetBottom: '0',\n mainAssetOffsetLeft: '0',\n playLabel: null,\n pauseLabel: null,\n resetLabel: null,\n openTranscriptLabel: null,\n closeTranscriptLabel: null,\n};\n","import {ContentConstants} from '../../adapters/helpers/Constants';\nimport PropTypes from 'prop-types';\nimport React from 'react';\nimport dynamic from 'next/dynamic';\nimport VideoBackgroundWrapper from './VideoBackgroundWrapper';\nconst Image = dynamic(()=>import('../Image/Image'))\n\nexport default function BackgroundWrapper({\n backgroundAsset,\n backgroundPosition,\n sectionOffsetTop,\n mainAssetOffsetTop,\n mainAssetOffsetRight,\n mainAssetOffsetBottom,\n mainAssetOffsetLeft,\n pauseLabel,\n playLabel,\n resetLabel,\n openTranscriptLabel,\n closeTranscriptLabel,\n preloadImage,\n desktopBackgroundImage,\n mobileBackgroundImage,\n children\n }) {\n switch(backgroundAsset?.fields?.contentType) {\n case ContentConstants.cloudinaryVideo:\n return (\n \n {children}\n \n );\n default:\n return (\n \n {children}\n \n );\n }\n}\n\nBackgroundWrapper.propTypes = {\n backgroundAsset: PropTypes.any,\n backgroundPosition: PropTypes.any,\n sectionOffsetTop: PropTypes.any,\n children: PropTypes.node,\n mainAssetOffsetTop: PropTypes.string,\n mainAssetOffsetRight: PropTypes.string,\n mainAssetOffsetBottom: PropTypes.string,\n mainAssetOffsetLeft: PropTypes.string,\n};\n\nBackgroundWrapper.defaultProps = {\n backgroundAsset: undefined,\n backgroundPosition: 0,\n sectionOffsetTop: 0,\n children: null,\n};\n","module.exports = require('./dist/shared/lib/head')\n","(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3735],{42456:function(e,t,n){\"use strict\";function i(e,t){return t?\"https:\"+e+\"?\"+t:\"https:\"+e}t.ZP={buildContentfullImageUrl:i,buildContentfullImageUrlByHeight:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:\"auto\";return\"https:\"+e+\"?h=\"+t},buildContentfullImageUrlByWidth:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:\"auto\";return\"https:\"+e+\"?w=\"+t},imageContentfullDpr:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:\"\";return t?i(e,t):i(e)},imageContentfullSrc:function(e,t){return i(e,t)}}},91443:function(e,t,n){\"use strict\";n.d(t,{M:function(){return l},l:function(){return o}});var i=n(38805);function l(e,t,n,l,o,s){var r=arguments.length>6&&void 0!==arguments[6]&&arguments[6],a=r;if(e.indexOf(i.Y.All)>=0){var u=t.find((function(e){return e.fields.deviceType===i.Y.All}));a=u.fields[n]||r}else{var d=t.find((function(e){return e.fields.deviceType===i.Y.TINY})),c=t.find((function(e){return e.fields.deviceType===i.Y.MOBILE})),f=t.find((function(e){return e.fields.deviceType===i.Y.TABLET})),v=t.find((function(e){return e.fields.deviceType===i.Y.DESKTOP})),p=d&&d.fields[n]||r,h=c&&c.fields[n]||r,y=f&&f.fields[n]||r,m=v&&v.fields[n]||r;a=o?p||h||m:l?h||y||m:s&&y||m}return a}function o(e,t,n,l,o,s){var r=arguments.length>6&&void 0!==arguments[6]&&arguments[6],a=r;if(e.indexOf(i.Y.All)>=0){var u=t.find((function(e){return e.fields.deviceType===i.Y.All}));a=u.fields[n]?u.fields[n]:r}else{var d=t.find((function(e){return e.fields.deviceType===i.Y.TINY})),c=t.find((function(e){return e.fields.deviceType===i.Y.MOBILE})),f=t.find((function(e){return e.fields.deviceType===i.Y.TABLET})),v=t.find((function(e){return e.fields.deviceType===i.Y.DESKTOP})),p=d&&d.fields[n]?d.fields[n]:r,h=c&&c.fields[n]?c.fields[n]:r,y=f&&f.fields[n]?f.fields[n]:r,m=v&&v.fields[n]?v.fields[n]:r;a=o?p||h||m:l?h||y||m:s&&y||m}return a}},38805:function(e,t,n){\"use strict\";n.d(t,{Y:function(){return i}});var i=Object.freeze({All:\"all\",DESKTOP:\"desktop\",MOBILE:\"mobile\",TINY:\"tiny\",TABLET:\"tablet\"})},99052:function(e,t,n){\"use strict\";n.d(t,{Z:function(){return V}});var i=n(24036),l=n(67294),o=n(5152),s=n.n(o),r=n(83253),a=n.n(r),u=n(36909),d=n(33227),c=n.n(d),f=n(88361),v=n.n(f),p=n(92191),h=n.n(p),y=n(85971),m=n.n(y),b=n(52715),g=n.n(b),k=n(91193),T=n.n(k),x=n(75176),A=n(42456),L=n(9008),P=n.n(L),R=n(19271),j=n(85893);function N(e){var t=function(){if(\"undefined\"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(\"function\"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,i=T()(e);if(t){var l=T()(this).constructor;n=Reflect.construct(i,arguments,l)}else n=i.apply(this,arguments);return g()(this,n)}}var O=function(e){m()(n,e);var t=N(n);function n(e){var i;return c()(this,n),(i=t.call(this,e)).videoRef=l.createRef(),i.videoPlayer=null,i.videoplay=i.onVideoPlay.bind(h()(i)),i.videoPause=i.onVideoPause.bind(h()(i)),i.videoEnd=i.onVideoEnd.bind(h()(i)),i.video=e.video,i.state={video:null},i}return v()(n,[{key:\"getVideo\",value:function(){return this.video}},{key:\"getVideoRef\",value:function(){var e;return null==(e=this.videoRef)?void 0:e.current}},{key:\"getVideoCustomID\",value:function(e){var t=this.video.assetId;return e+\"-\"+(t=t.split(\"/\"))[t.length-1]}},{key:\"getVideoPlayerRef\",value:function(){return this.videoPlayer}},{key:\"componentDidMount\",value:function(){var e,t,n,i,l,o;this.videoIsDefined()&&(null==(e=this.videoRef)||null==(t=e.current)||t.play(),null==(n=this.props)||n.onVideoPlaying(!0),null==(i=this.videoRef)||null==(l=i.current)||null==(o=l.parentNode)||o.classList.add(\"vjs-playing\"))}},{key:\"onVideoPause\",value:function(){var e,t,n;null==(e=this.videoRef)||null==(t=e.current)||null==(n=t.parentNode)||n.classList.add(\"vjs-paused\"),this.setAnalyticsPlayPauseTags()}},{key:\"onVideoEnd\",value:function(){var e,t,n,i,l,o,s,r;(null==(e=this.props)?void 0:e.onVideoPlaying)&&(null==(r=this.props)||r.onVideoPlaying(!1));null==(t=this.videoRef)||null==(n=t.current)||null==(i=n.parentNode)||i.classList.remove(\"vjs-playing\"),null==(l=this.videoRef)||null==(o=l.current)||null==(s=o.parentNode)||s.classList.add(\"vjs-ended\")}},{key:\"onVideoPlay\",value:function(){var e,t,n;null==(e=this.videoRef)||null==(t=e.current)||null==(n=t.parentNode)||n.classList.add(\"vjs-playing\"),this.setAnalyticsPlayPauseTags()}},{key:\"onVideoMuted\",value:function(){this.setAnalyticsMuteUnmuteTags()}},{key:\"onVideoUnMuted\",value:function(){this.setAnalyticsMuteUnmuteTags()}},{key:\"onVideoFullScreen\",value:function(){this.setAnalyticsFullScreenTags()}},{key:\"setAnalyticsPlayPauseTags\",value:function(){if(this.videoRef.current.parentNode){var e,t,n,i=null==(e=this.videoRef)||null==(t=e.current)||null==(n=t.parentNode)?void 0:n.classList.contains(\"vjs-paused\"),l=document.getElementsByClassName(\"ob-contentBlock-video-controls\").length>0&&document.getElementsByClassName(\"ob-contentBlock-video-controls\")[0].querySelector(\"button.vjs-play-control\");this.setElementAnalytics(l,\"event-video-play\",x.k.videoPlayText,x.k.videoPauseText,!i)}}},{key:\"setAnalyticsMuteUnmuteTags\",value:function(){if(this.videoRef.current.parentNode){var e,t,n,i=null==(e=this.videoRef)?void 0:e.current.getAttribute(\"muted\"),l=null==(t=this.videoRef)||null==(n=t.current.parentNode)?void 0:n.querySelector(\"button.vjs-mute-control\");this.setElementAnalytics(l,\"event-button-click\",x.k.videoUnmuteText,x.k.videoMuteText,!i)}}},{key:\"setAnalyticsFullScreenTags\",value:function(){if(this.videoRef.current.parentNode){var e,t,n,i,l,o=null==(e=this.videoRef)||null==(t=e.current)||null==(n=t.parentNode)?void 0:n.classList.contains(\"vjs-fullscreen\"),s=null==(i=this.videoRef)||null==(l=i.current)?void 0:l.parentNode.querySelector(\"button.vjs-fullscreen-control\");this.setElementAnalytics(s,\"event-button-click\",x.k.videoFullscreenOffText,x.k.videoFullscreenOnText,!o)}}},{key:\"setAnalyticsCaptionsTags\",value:function(){if(this.videoRef.current.parentNode){var e,t,n,i,l=null==(e=this.videoRef)||null==(t=e.current)?void 0:t.parentNode.querySelector(\"div.vjs-text-track-cue\"),o=null==(n=this.videoRef)||null==(i=n.current)?void 0:i.parentNode.querySelector(\"button.vjs-subs-caps-button\");this.setElementAnalytics(o,\"event-button-click\",x.k.videoCloseCaptionsOffText,x.k.videoCloseCaptionsOnText,!l)}}},{key:\"setElementAnalytics\",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:\"\",l=arguments.length>4&&void 0!==arguments[4]&&arguments[4];e&&(e.classList.contains(t)||e.classList.add(t),l?e.setAttribute(\"data-action-detail\",i):e.setAttribute(\"data-action-detail\",n))}},{key:\"videoIsDefined\",value:function(){return this.video&&this.video.assetId}},{key:\"renderTranscript\",value:function(){return(0,j.jsx)(\"div\",{className:\"video-player-transcript visuallyhidden\",children:this.video.transcript})}},{key:\"render\",value:function(){var e,t,n,i,o,s,r,a,u,d,c,f,v,p=null==(e=this.props)||null==(t=e.video)?void 0:t.isVideoPosterImagePreload,h=null==(n=this.props)||null==(i=n.video)||null==(o=i.videoSettings)?void 0:o.fields,y=(0,R.H)(A.ZP.buildContentfullImageUrlByHeight(null==(s=this.props.video)||null==(r=s.imageAsset)||null==(a=r.fields)||null==(u=a.file)?void 0:u.url,h.height));return(0,j.jsxs)(l.Fragment,{children:[(0,j.jsx)(P(),{children:p&&(0,j.jsx)(\"link\",{rel:\"preload\",as:\"image\",href:y})}),(0,j.jsxs)(\"div\",{className:\"ob-video-player\",children:[(0,j.jsx)(\"video\",{muted:!0,poster:p?y:null,playsInline:!0,src:null==(d=this.props.video)||null==(c=d.asset)||null==(f=c.fields)||null==(v=f.file)?void 0:v.url,height:h.height,width:h.width,ref:this.videoRef,onPlay:this.videoplay,onPause:this.videoPause,onEnded:this.videoEnd}),this.renderTranscript()]})]})}}]),n}(l.Component),B=s()((function(){return Promise.resolve().then(n.bind(n,80713))}),{loadableGenerated:{webpack:function(){return[80713]}}});function C(e){var t,n=e.backgroundAsset,o=e.mainAssetOffsetTop,s=e.mainAssetOffsetRight,r=e.mainAssetOffsetBottom,d=e.mainAssetOffsetLeft,c=(e.playLabel,e.pauseLabel,e.resetLabel,e.openTranscriptLabel,e.closeTranscriptLabel),f=e.children,v=(0,l.useRef)(null),p=(0,l.useState)(i.j6.defaultWidth),h=p[0],y=p[1],m=(0,l.useState)(!1),b=m[0],g=m[1],k=(0,l.useState)(!1),T=k[0],x=k[1],A=(0,l.useState)(null),L=A[0],P=A[1],R=(0,l.useCallback)((function(){var e,t,n=null==(e=v.current)?void 0:e.getVideoRef(),i=null==v||null==(t=v.current)?void 0:t.getVideoPlayerRef();i?(i.currentTime(0),i.play()):n&&(n.currentTime=0,g(!0),n.play())}),[]),N=(0,l.useCallback)((function(e){g(e)}),[]),C=(0,l.useCallback)((function(){var e,t,n=null==(e=v.current)?void 0:e.getVideoRef(),i=null==v||null==(t=v.current)?void 0:t.getVideoPlayerRef();i&&n&&n instanceof HTMLVideoElement?b?i.pause():i.play():n&&n instanceof HTMLVideoElement&&(b?(n.pause(),g(!1)):(n.play(),g(!0)))}),[b]),E=(0,l.useCallback)((function(){x(!0)}),[]),V=(0,l.useCallback)((function(){x(!1)}),[]);function w(){y(window.innerWidth)}(0,l.useEffect)((function(){return window.addEventListener(\"resize\",w),w(),function(){window.removeEventListener(\"resize\",w)}}),[]),(0,l.useEffect)((function(){var e,t,n=null==(e=v.current)?void 0:e.getVideoRef(),i=null==(t=v.current)?void 0:t.getVideo();n&&n instanceof HTMLVideoElement&&P(i)}),[v.current]);var I={top:o,right:i.sF.defaultRight,bottom:i.sF.defaultBottom,left:d};return h&&(I.right=s,I.bottom=r),(0,j.jsxs)(\"div\",{className:h