(()=>{"use strict";(()=>{var e={582:e=>{e.exports=class{constructor(){this._embeds={}}getEmbed(e){return this._embeds[e]||null}getEmbeds(){return this._embeds}}},943:(e,t,n)=>{const r=n(582),o=n(32),i=n(216),a=n(756);e.exports={getContainers:function(e,t,n){const{id:r}=t;if(!r)return[];const o=`[data-experience="${r}"]`,a=i.toArray(e.document.querySelectorAll(o));if(!n)return a;const s=`#${n}`,l=i.toArray(e.document.querySelectorAll(s));return a.concat(l)},containsExperience:function(e){if(e&&e.childNodes)for(let t=0;t{m&&m.call(f),h()},f.render()}}},32:(e,t,n)=>{e.exports={resize:n(641)}},641:(e,t,n)=>{const r=n(216),o="undefined"!=typeof MutationObserver&&!r.isIE11,i=["animationstart","webkitAnimationStart","animationiteration","webkitAnimationIteration","animationend","webkitAnimationEnd","input","mouseup","mousedown","orientationchange","afterprint","beforeprint","readystatechange","resize","touchstart","touchend","touchcancel","transitionstart","webkitTransitionStart","MSTransitionStart","oTransitionStart","otransitionstart","transitioniteration","webkitTransitionIteration","MSTransitionIteration","oTransitionIteration","otransitioniteration","transitionend","webkitTransitionEnd","MSTransitionEnd","oTransitionEnd","otransitionend"];e.exports=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.parentNode;const n=r.isFixedHeight(t),a=r.isFixedWidth(t);if(n&&a)return()=>{};let s;const l=e.contentWindow,c=r.getDimensions(e);let u={height:c.height,width:c.width};function p(t){let{height:n}=t;e.style.height=`${n}px`}function d(){const e=r.getDocumentDimensions(l.document),o=r.getDimensions(t),i=e.height!==u.height||e.width!==u.width,s=o.height-3!==u.height||o.width!==u.width;(i||s)&&(u={height:e.height,width:e.width},function(e){let{height:o,width:i}=e;const s=r.getDimensions(t),l={};i=Math.max(i,s.width),l.width=a?c.width:i,l.height=n?c.height:o,p(l)}(u))}function f(e){d(),h(e.target)}function h(e){e.removeEventListener("load",f),e.removeEventListener("error",f)}function m(e){!1===e.complete&&(e.addEventListener("load",f,!1),e.addEventListener("error",f,!1))}function v(e){d(),e.target.querySelectorAll&&Array.prototype.forEach.call(e.target.querySelectorAll("img"),(e=>{h(e),m(e)}))}return p(c),i.forEach((e=>l.addEventListener(e,d))),o?(s=new MutationObserver((function(e){d(),e.forEach((e=>{"attributes"===e.type&&"IMG"===e.target.tagName&&"src"===e.attributeName?m(e.target):"childList"===e.type&&Array.prototype.forEach.call(e.target.querySelectorAll("img"),m)}))})),s.observe(l.document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):l.document.addEventListener("DOMSubtreeModified",v),function(){s&&s.disconnect(),l.document.removeEventListener("DOMSubtreeModified",v),i.forEach((e=>l.removeEventListener(e,d)))}}},216:e=>{const t="undefined"!=typeof navigator&&/MSIE 10/.test(navigator.userAgent),n="undefined"!=typeof navigator&&/Trident\/.*rv:11/.test(navigator.userAgent);function r(e){return e&&e.length?Array.prototype.slice.call(e):[]}function o(e,t){const n=e.style[t];return!!n&&"100%"!==n}e.exports={isIE10:t,isIE11:n,toArray:r,isFixedHeight:function(e){return o(e,"height")},isFixedWidth:function(e){return o(e,"width")},getDimensions:function(e){return{height:e.offsetHeight,width:e.offsetWidth}},getDocumentDimensions:function(e){const n=e.body,r=e.documentElement,o=n.getBoundingClientRect(),i=r.getBoundingClientRect();return{height:t?Math.ceil(o.height):i.height,width:Math.max(n.scrollWidth,n.offsetWidth,r.clientWidth,r.scrollWidth,r.offsetWidth,o.width,i.width)}},getElementAttributes:function(e){return r(e.attributes).reduce(((e,t)=>(e[t.name]=t.value,e)),{})}}},880:(e,t,n)=>{const r=n(943);e.exports.init=function(e,t,n,o,i,a,s){const l=r.getContainers(e,o,t);l.length&&l.forEach((t=>{r.containsExperience(t)||r.buildExperience(e,t,n,o,i,a,s)}))}},756:(e,t,n)=>{n.r(t),n.d(t,{default:()=>r});const r=' Brightcove Embedded Experience
'}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={exports:{}};return e[r](i,i.exports,n),i.exports}n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n(880).init(n.g,"bc-embed-66d1bad2bd1e47f30a23b5e6",2346984652001,{accountId:2346984652001,analytics:{gallery:{projectId:"58d16bbe54532c1f35f4347b",url:"https://gallery-metrics.api.brightcove.com/v1/gallery-experiences-analytics-proxy",writeKey:"af3b993ad689af63cd647e8030fcf44bbc142bf43bb050f7f9243e8659ef177dac3e1b15d65a26c7d866de99c184f3556fee62e400eeea20a9708a4216c9d412498a2bfe6c87677ac9ef95daca234ccf5f6d7e3bea8bc980821005e012d9ac67"}},assets:{fonts:[]},configurations:{},content:{},description:"",id:"66d1bad2bd1e47f30a23b5e6",inactive:!1,layouts:{presentation:{all:"fullBleed"},sharing:{all:"above"},videoInfo:{all:"below",during:"below"}},locale:"en_US",metadataLanguage:{},name:"Starting your career - US assurance",playbackApiBaseUrl:"https://edge.api.brightcove.com/playback/v1/",player:{autoAdvance:!1,baseUrl:"//players.brightcove.net/",endBehavior:"after",id:"default",playsInline:!0,viewportMoveDisabled:!0},policyKey:"BCpkADawqM2KJi3OfSAhaxLolW-Z5wHRvkEg-xfJGkjGbdy09m1nwHqJEC07LvMk08bpm6B9XY0-nNih7pLErBqHswlR3FeGdTH256sXwIBNnTTtni1qsCMCCYvK6zeOMypVkOAkKMzLXoTX",social:{display:"button",sharingOptions:{}},styles:{},template:"ee-carousel",templateVersion:"1.4.7",templateVersionLocked:!1,videos:{allowDownloads:"none",downloadCustomField:"",downloadCustomFieldValue:"",playlistId:null,showRelatedLinks:!1,type:"manual",useLongDescriptions:!1,videoIds:["6360769662112","6360770567112","6360769082112"],viewerSegments:null,watchedIndicator:!1},youtubeKey:"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhY2NvdW50SWQiOiIyMzQ2OTg0NjUyMDAxIiwicmFuZG9tIjoiOTEwZTk0NGY3N2VlIn0.5mKEkXcpbA0SfD1RuKznEiKTbESJw7iVH2t3rjAPD9U"},'/*! For license information please see embed.min.js.LICENSE.txt */\n(()=>{var e={55780:(e,t,n)=>{"use strict";const r=n(62352);var o;n(96455),(o=n.g).bcov=o.bcov||{},o.bcov.gal=o.bcov.gal||{},o.bcov.gal.initEmbed=r},87330:(e,t,n)=>{"use strict";const r=n(26217).API;e.exports={setPlayer:function(e){return{type:r.PLAYER,path:["player"],value:e,eventName:"player_init"}}}},79180:(e,t,n)=>{"use strict";const r=n(26217);e.exports={setEditorMode:function(e){return{type:r.SET_EDITOR_MODE,mode:e}},setEditorLocale:function(e){return{type:r.SET_EDITOR_LOCALE,locale:e}},setActiveStyles:function(e){return{type:r.SET_ACTIVE_STYLES,activeStyles:e}},setActiveOverlays:function(e){return{type:r.SET_ACTIVE_OVERLAYS,activeOverlays:e}},setEditingDisabled:function(e){return{type:r.SET_EDITING_DISABLED,editingDisabled:e}},requestHover:function(e,t,n,o){return{type:r.REQUEST_HOVER,lookup:e,value:t,bounds:n,isSingleComponent:o}},requestLeave:function(e){return{type:r.REQUEST_LEAVE,lookup:e}},requestEdit:function(e,t,n,o){return{type:r.REQUEST_EDIT,lookup:e,value:t,bounds:n,isSingleComponent:o}},requestShowStyle:function(e){return{type:r.REQUEST_SHOW_STYLE,styleName:e}},requestEditStyle:function(e){return{type:r.REQUEST_EDIT_STYLE,styleName:e}},requestHideStyle:function(e){return{type:r.REQUEST_HIDE_STYLE,styleName:e}},requestPage:function(e){return{type:r.REQUEST_PAGE,page:e}},requestComponentDrag:function(e){return{type:r.REQUEST_COMPONENT_DRAG,lookup:e}},requestComponentDrop:function(e,t){return{type:r.REQUEST_COMPONENT_DROP,lookup:e,isNext:t}}}},59611:(e,t,n)=>{"use strict";const r=n(87330),o=n(26217);e.exports={types:o,api:r,...n(79180),...n(50315),...n(78141),...n(94425),...n(76823),toggleSharePanel:function(e){return{type:o.TOGGLE_SHARE_PANEL,open:e}},autoAdvanceStart:function(e){return{type:o.AUTOADVANCE_START,time:e}},autoAdvanceStop:function(){return{type:o.AUTOADVANCE_STOP}}}},50315:(e,t,n)=>{"use strict";const r=n(26217);e.exports={interactionSyncStart:function(e){return{type:r.INTERACTION_SYNC_START,interaction:e}},interactionSyncEnd:function(e){return{type:r.INTERACTION_SYNC_END,interaction:e}},interactionSyncRemoveAll:function(){return{type:r.INTERACTION_SYNC_REMOVE_ALL}},interactionImpression:function(e){return{type:r.INTERACTION_IMPRESSION,name:e}},interactionConversion:function(e){return{type:r.INTERACTION_CONVERSION,name:e}}}},78141:(e,t,n)=>{"use strict";const r=n(26217);e.exports={setActiveView:function(e){return{type:r.SET_ACTIVE_VIEW,view:e}},setLightboxConfig:function(e,t){return{type:r.SET_LIGHTBOX_CONFIG,view:e,size:t}},setConfig:function(e){return{type:r.SET_CONFIG,config:e}},setFullBleed:function(e){return{type:r.SET_FULL_BLEED,active:e}}}},94425:(e,t,n)=>{"use strict";const r=n(11905),o=n(49639),i=n(26217),a=n(63748),{getJson:s}=n(87950),{getIn:l}=n(84048),c=n(62801),u=n(74792);function p(e,t,n,r){return{type:i.LOAD_PLAYER_SCRIPT_ERROR,accountId:e,playerId:t,error:n,lightbox:r}}function d(e){return e||"default"}function f(e,t,n,r){return t||(t="//players.brightcove.net/"),`${t}${e}/${n}_default/${r}`}e.exports={loadPlayerConfig:function(e,t,n){return n=d(n),async r=>{let o;r({type:i.LOADING_PLAYER_CONFIG,accountId:void 0,playerId:void 0});try{o=await s(f(e,t,n,"config.json"))}catch(e){o=null}return r(function(e,t,n){return{type:i.LOADED_PLAYER_CONFIG,accountId:e,playerId:t,config:n}}(e,n,o)),l(o,["video_cloud","policy_key"])}},loadPlayerScript:function(e,t,s,h){let m=arguments.length>4&&void 0!==arguments[4]?arguments[4]:n.g;const v=m!==n.g;return h=d(h),n=>{if(n(function(e,t,n){return{type:i.LOADING_PLAYER_SCRIPT,accountId:e,playerId:t,lightbox:n}}(e,h,v)),!e){const t=new Error("No account ID specified");return n(p(e,h,t,v)),Promise.reject(t)}const d=l(t,["videos","videoIds"]);let g=d&&d.reduce(((e,t)=>{const{type:n}=c.getTypeAndId(t),r=n===u.video.sources.youtube;return!!r||r||e}),!1);const A=l(t,["videos","playlistId"]);if(A){const{type:e}=c.getTypeAndId(A);e===u.video.sources.youtube&&(g=!0)}const y=f(e,s,h,"index.min.js");return a.loadScript(y,m.document).then((()=>r(m))).then((()=>g?o.init(m):null)).then((()=>n(function(e,t,n){return{type:i.LOADED_PLAYER_SCRIPT,accountId:e,playerId:t,lightbox:n}}(e,h,v)))).catch((t=>n(p(e,h,t,v))))}},setPlayerMetadata:function(e){return{type:i.SET_PLAYER_METADATA,metadata:e}},playerAdStart:function(){return{type:i.PLAYER_AD_START}},playerAdEnd:function(){return{type:i.PLAYER_AD_END}}}},26217:e=>{"use strict";e.exports={SET_ACTIVE_VIEW:"SET_ACTIVE_VIEW",SET_CONFIG:"SET_CONFIG",SET_EDITOR_MODE:"SET_EDITOR_MODE",SET_EDITOR_LOCALE:"SET_EDITOR_LOCALE",SET_ACTIVE_STYLES:"SET_ACTIVE_STYLES",SET_ACTIVE_OVERLAYS:"SET_ACTIVE_OVERLAYS",SET_EDITING_DISABLED:"SET_EDITING_DISABLED",LOADING_PLAYER_SCRIPT:"LOADING_PLAYER_SCRIPT",LOADED_PLAYER_SCRIPT:"LOADED_PLAYER_SCRIPT",LOAD_PLAYER_SCRIPT_ERROR:"LOAD_PLAYER_SCRIPT_ERROR",LOADING_PLAYER_CONFIG:"LOADING_PLAYER_CONFIG",LOADED_PLAYER_CONFIG:"LOADED_PLAYER_CONFIG",SET_PLAYER_METADATA:"SET_PLAYER_METADATA",LOAD_VIDEO:"LOAD_VIDEO",LOAD_VIDEO_INDEX:"LOAD_VIDEO_INDEX",LOAD_CURRENT_VIDEO:"LOAD_CURRENT_VIDEO",LOAD_NEXT_VIDEO:"LOAD_NEXT_VIDEO",LOAD_VIDEO_SUCCESS:"LOAD_VIDEO_SUCCESS",REQUEST_HOVER:"editor.requestHover",REQUEST_LEAVE:"editor.requestLeave",REQUEST_EDIT:"editor.requestEdit",REQUEST_COMPONENT_DRAG:"editor.requestComponentDrag",REQUEST_COMPONENT_DROP:"editor.requestComponentDrop",REQUEST_SHOW_STYLE:"editor.requestShowStyle",REQUEST_EDIT_STYLE:"editor.requestEditStyle",REQUEST_HIDE_STYLE:"editor.requestHideStyle",VIDEO_CLICKED:"editor.videoClicked",REQUEST_PAGE:"editor.requestPage",FETCHING_VIDEOS:"FETCHING_VIDEOS",FETCHED_VIDEOS:"FETCHED_VIDEOS",FETCHED_VIDEO_ERROR:"FETCHED_VIDEO_ERROR",FETCH_VIDEOS_FINISHED:"FETCH_VIDEOS_FINISHED",INTERACTION_SYNC_START:"INTERACTION_SYNC_START",INTERACTION_SYNC_END:"INTERACTION_SYNC_END",INTERACTION_SYNC_REMOVE_ALL:"INTERACTION_SYNC_REMOVE_ALL",INTERACTION_IMPRESSION:"INTERACTION_IMPRESSION",INTERACTION_CONVERSION:"INTERACTION_CONVERSION",TOGGLE_SHARE_PANEL:"TOGGLE_SHARE_PANEL",SET_FULL_BLEED:"SET_FULL_BLEED",SET_LIGHTBOX_CONFIG:"SET_LIGHTBOX_CONFIG",VIDEO_WATCHED:"VIDEO_WATCHED",AUTOADVANCE_START:"AUTOADVANCE_START",AUTOADVANCE_STOP:"AUTOADVANCE_STOP",PLAYER_AD_START:"PLAYER_AD_START",PLAYER_AD_END:"PLAYER_AD_END",API:{PLAYER:"_API.PLAYER"}}},76823:(e,t,n)=>{"use strict";const r=n(26217),{getIn:o}=n(84048),{getConfigurationPath:i}=n(99301),{escapeForRegex:a}=n(54555),{isDeepLinkSupported:s}=n(63748),l=n(89210),c=n(2291),u=n(94425),p=n(74792),d=n(92028);function f(e,t,n){return{type:r.FETCHED_VIDEOS,videos:e,fetchCount:n,configuration:t}}async function h(e,t,n,r,o){const i=encodeURIComponent(n),s=new RegExp(`[?&]${a(i)}=([^&#]+)`,"i").exec(d.getLocation());if(!s?.length)return;const l=await t.getVideo(s[1]);l&&e(f([l],r,o))}async function m(e,t,n,a){const l=o(t(),i(a,"videoFetchCounter"),0),u=o(t(),["player","config"]);e(function(e,t){return{type:r.FETCHING_VIDEOS,fetchCount:t,configuration:e}}(a,l));const d=new c(n,a,u);if(s(n)){const n=o(t(),["config","experience","social","deepLinkParameter"])||p.defaults.deepLinkParameter;await h(e,d,n,a,l)}d.on("videos",(t=>{let{videos:n}=t;e(f(n,a,l))})),d.on("videoError",(t=>{let{videoId:n,errorCode:o}=t;e(function(e,t,n,o){return{type:r.FETCHED_VIDEO_ERROR,configuration:e,videoId:t,errorCode:n,fetchCount:o}}(a,n,o,l))}));try{await d.fetch()}finally{e(function(e,t){return{type:r.FETCH_VIDEOS_FINISHED,configuration:e,fetchCount:t}}(a,l))}}e.exports={loadVideo:function(e){return{type:r.LOAD_VIDEO,video:e}},loadVideoIndex:function(e,t){return{type:r.LOAD_VIDEO_INDEX,videoIndex:e,configuration:t}},loadVideoSuccess:function(e){return{type:r.LOAD_VIDEO_SUCCESS,video:e}},loadCurrentVideo:function(){return{type:r.LOAD_CURRENT_VIDEO}},loadNextVideo:function(){return{type:r.LOAD_NEXT_VIDEO}},fetchVideos:function(e){return async(t,n)=>{const r=o(e,["player","id"])||"default",i=o(e,["player","baseUrl"]),a=o(n(),["player","configId"]),s=o(n(),["player","config","video_cloud","policy_key"]);let c=null;if(e.accountId&&(a!==r||s!==e.policyKey)){const o=u.loadPlayerConfig(e.accountId,i,r);c=await o(t,n)}if(c===e.policyKey||s===e.policyKey){const r=l.getVideoConfigurations();r.length?await Promise.all(r.map((r=>m(t,n,e,r.name)))):await m(t,n,e)}}},videoClicked:function(e,t,n){return{type:r.VIDEO_CLICKED,videoId:e,videoIndex:t,videoConfiguration:n}},videoWatched:function(e,t){return{type:r.VIDEO_WATCHED,videoIndex:e,videoConfiguration:t}},fetchVideoForDeepLink:h}},48314:(e,t,n)=>{"use strict";var r=n(64836)(n(29134));const o=n(58908),i=n(57588),a=n(59611),s=n(74792),l=n(44761)("app"),c=n(92028),u=n(63748),p=n(62801),d=n(17123).Connected,f=n(72246),{Style:h,Css:m,Js:v,JsonLd:g,Ga:A}=n(39324),{get:y,getIn:x,remove:b}=n(84048),w=n(9732),E=n(23040),C=n(10393),{ClientApi:_}=n(65274),k=n(45697);n(20930);class S extends i.PureComponent{static propTypes={clientApi:k.instanceOf(_).isRequired,dispatch:k.func.isRequired,accountId:k.number.isRequired,experience:k.object.isRequired,theme:k.object,layouts:k.object,videos:k.arrayOf(k.object),allVideos:k.arrayOf(k.object),metadata:k.object,Component:k.func,lightbox:k.shape({view:k.string,size:k.string}),autoAdvance:k.shape({enabled:k.bool,time:k.number}).isRequired,activeView:k.string.isRequired,lightboxView:k.string,analytics:w.analytics.isRequired,videoId:w.videoId};static childContextTypes={eeComponentsAutoAdvance:k.instanceOf(C),clientApi:k.object};autoAdvanceTimer=new C;state={isReady:!1};getChildContext(){return{eeComponentsAutoAdvance:this.autoAdvanceTimer,clientApi:this.props.clientApi}}closeLightbox=()=>{const{dispatch:e,activeView:t}=this.props;e(a.setActiveView(t))};autoAdvance=()=>{const{dispatch:e,videoId:t,analytics:n}=this.props;n.trackEvent(n.events.autoAdvanceNextVideo,{videoId:t}),e(a.loadNextVideo())};componentWillMount(){const{autoAdvance:e}=this.props;this.autoAdvanceTimer.on("done",this.autoAdvance),e.enabled&&this.autoAdvanceTimer.start(e.time),c.transferGlobals(o.parent,o,s.injectedParentGlobals).then((()=>{this.setState({isReady:!0})})).catch((e=>{l.error(e),this.setState({isReady:!0})}))}componentWillUnmount(){this.autoAdvanceTimer.stop(),this.autoAdvanceTimer.off("done",this.autoAdvance)}componentWillReceiveProps(e){const{autoAdvance:t,activeView:n,lightboxView:r}=e;this.props.clientApi.setCurrentState(r||n);const{currentVideo:o,currentVideos:i}=e;this.props.clientApi.videos=i,this.props.clientApi.setCurrentVideo(o),!this.props.autoAdvance.enabled!=!t.enabled&&(t.enabled?this.autoAdvanceTimer.start(t.time):this.autoAdvanceTimer.stop())}getViewProps(){return b(this.props,["allVideos"])}renderLightbox(){const{lightbox:e,lightboxView:t}=this.props,n=y(e,"size");if(c.isAccessible()&&n)return i.createElement(f,{type:n,visible:!!t,onClose:this.closeLightbox},i.createElement(d,this.getViewProps()))}render(){const{experience:e,allVideos:t,theme:n}=this.props;return this.state.isReady?i.createElement("div",{ref:"app",className:"ee-components-app"},i.createElement(m,{name:"theme-css",css:y(n,"customCss"),url:y(n,"customCssUrl"),insertBefore:["theme","styles","custom-css"]}),i.createElement(h,{name:"theme",styles:y(n,"styles"),fonts:y(n,"fonts"),insertBefore:["styles","custom-css"]}),i.createElement(h,{name:"styles",styles:e.styles,fonts:x(e,["assets","fonts"]),insertBefore:["custom-css"]}),i.createElement(m,{name:"custom-css",css:x(e,["assets","customCss"]),url:x(e,["assets","customCssUrl"])}),i.createElement(v,{js:x(e,["assets","customJavaScript"]),url:x(e,["assets","customJavaScriptUrl"])}),i.createElement(g,{videos:t,experience:e}),i.createElement(A,{experienceId:e.id,googleAnalyticsId:x(e,["analytics","googleAnalyticsId"])}),i.createElement(r.default,null),i.createElement(d,this.getViewProps()),this.renderLightbox()):null}}e.exports=u.connect((function(e){const{accountId:t,experience:n,interactions:r}=e.config;let{theme:o}=e.config;const{activeView:i,playerId:a,player:s,autoAdvance:l,lightbox:c,lightboxView:u}=e,{videoIndex:d,videoId:f,videoConfiguration:h,metadata:m}=s,{layouts:v}=n,g=x(e,["config","experience","viewerSegments"])||{},A=p.getVideosFromState(e),y=p.getAllVideosFromState(e),b=p.getVideosFromState(e,h),w=d||0,C=b[w],_=(w+1)%b.length||0,k=b[_];return o||"dark"!==n.theme||(o=E.dark),{accountId:t,activeView:i,experience:n,interactions:r,theme:o,playerId:a,videos:A,allVideos:y,metadata:m,videoIndex:d,videoId:f,currentVideoIndex:w,nextVideoIndex:_,currentVideo:C,currentVideos:b,nextVideo:k,layouts:v,lightbox:c,lightboxView:u,autoAdvance:l,viewerSegments:g}}))(S)},14600:(e,t,n)=>{"use strict";const r=n(57588),o=n(29798),i=n(45697);o.isIE10?n(984):n(43252);const a={left:"M45 5 L15 50 L45 95",right:"M5 5 L35 50 L5 95"};class s extends r.PureComponent{static propTypes={type:i.oneOf(Object.keys(a)).isRequired,disabled:i.bool,onClick:i.func,t:i.func.isRequired};handleKeyPress=e=>{"Enter"!==e.key&&" "!==e.key||this.onClick()};onClick=()=>{const{disabled:e,onClick:t}=this.props;!e&&t&&t()};render(){const{t:e,type:t,disabled:n}=this.props;return r.createElement("div",{className:"ee-components-arrow","data-type":t,"data-disabled":!!n,onClick:this.onClick,onKeyPress:this.handleKeyPress,tabIndex:n?"-1":"0","aria-label":e("a11y.scroll_"+t),role:"button"},r.createElement("div",{className:"ee-components-arrow-inner"},r.createElement("svg",{viewBox:"0 0 50 100"},r.createElement("path",{d:a[t]}))))}}e.exports=s},18472:(e,t,n)=>{"use strict";const r=n(57588),o=n(98054),i=n(56585),a=n(63748),s=n(74792),l=n(45697);class c extends r.PureComponent{static propTypes={t:l.func.isRequired,className:l.string,type:l.oneOf(Object.values(s.backButtonTypes)).isRequired};static defaultProps={type:s.backButtonTypes.allVideos};render(){const{t:e,className:t,type:n,...s}=this.props;return s.t=e,s.className=a.joinClasses(t,"ee-components-back"),r.createElement(i,s,r.createElement(o,{type:"back"})," ",e(n))}}e.exports=a.connect()(c)},6658:(e,t,n)=>{"use strict";const r=n(57588),o=n(99738),i=n(74792),{preventDefault:a,joinClasses:s}=n(63748),l=n(45697);n(11302);class c extends r.PureComponent{static propTypes={styleName:l.oneOf(Object.values(i.styleables)),className:l.string,video:l.object,t:l.func.isRequired,experience:l.object};render(){const{t:e,styleName:t,video:n,className:l,experience:c}=this.props;if(!n||!n.sources||!n.sources.length)return null;const u=new URLSearchParams(window.location.search).get("token");let p=i.downloadProxyUrl;switch("production"){case i.environment.STAGING:p="//download.staging.gallery.brightcove.com";break;case i.environment.QA:p="//download.qa.gallery.brightcove.com";break;case i.environment.DEVELOPMENT:p="http://localhost:3001"}let d=p+`/api/ipx/account/${n&&n.accountId}/experience/${c&&c.id}/video/${n&&n.id}/download`;return u&&(d+=`?token=${u}`),r.createElement(o,{component:"a",styleName:t,className:s("ee-components-download-button",l),href:d,target:"_top",onClick:a,"aria-label":e("a11y.download")},r.createElement("svg",{viewBox:"0 -50 1792 1742"},r.createElement("path",{d:"M1344 1344q0-26-19-45t-45-19-45 19-19 45 19 45 45 19 45-19 19-45zm256 0q0-26-19-45t-45-19-45 19-19 45 19 45 45 19 45-19 19-45zm128-224v320q0 40-28 68t-68 28h-1472q-40 0-68-28t-28-68v-320q0-40 28-68t68-28h465l135 136q58 56 136 56t136-56l136-136h464q40 0 68 28t28 68zm-325-569q17 41-14 70l-448 448q-18 19-45 19t-45-19l-448-448q-31-29-14-70 17-39 59-39h256v-448q0-26 19-45t45-19h256q26 0 45 19t19 45v448h256q42 0 59 39z"})))}}e.exports=c},54362:(e,t,n)=>{"use strict";var r=n(64836),o=r(n(10434)),i=r(n(10329));const a=n(57588),s=n(89144),l=n(63748),c=n(34041),u=n(29798),p=n(61317),{remove:d}=n(84048),f="ee-components-parent-style",h=/(^|\\s)ee-components-parent-style($|\\s)/,m=/(^|\\s)ee-components-ignore-style($|\\s)/,v=/^bc-style-/,g="undefined"!=typeof MutationObserver&&!u.isIE11,A=n(45697),y=["animationstart","webkitAnimationStart","animationiteration","webkitAnimationIteration","animationend","webkitAnimationEnd","input","mouseup","mousedown","orientationchange","afterprint","beforeprint","readystatechange","resize","touchstart","touchend","touchcancel","transitionstart","webkitTransitionStart","MSTransitionStart","oTransitionStart","otransitionstart","transitioniteration","webkitTransitionIteration","MSTransitionIteration","oTransitionIteration","otransitioniteration","transitionend","webkitTransitionEnd","MSTransitionEnd","oTransitionEnd","otransitionend"];function x(e,t){t.className=l.joinClasses(f,e.className)}function b(e){const{href:t,ownerNode:n}=e,r=c.getTextFromStyleSheetNode(e);return t||r?{href:t,text:r,className:n&&n.className}:null}class w extends a.PureComponent{static propTypes={baseHtml:A.string.isRequired,markup:A.string.isRequired,style:A.object,injectParentStylesheets:A.bool,ignoreParentBcStyles:A.bool,styleSheet:A.string,onLoad:A.func,onSubmit:A.func,onAnchorClick:A.func,visible:A.bool.isRequired,removeWobble:A.bool,noScroll:A.bool};static defaultProps={baseHtml:i.default,visible:!0,injectParentStylesheets:!0,ignoreParentBcStyles:!1};state={height:0,key:0};oldKey=0;height=0;oldHeight=0;loadCount=0;styleSheet=null;styleSheetNode=null;get frame(){return this.refs.frame}onLoad=e=>{const{onLoad:t}=this.props;this.loadCount++,t&&t(e)};isIgnoredParentStyleSheet(e){if(!e.ownerNode)return!1;const{ignoreParentBcStyles:t}=this.props,{className:n,id:r}=e.ownerNode;return m.test(n)||function(e,t,n){return e&&[t,n].some((e=>v.test(e)))}(t,r,n)}isFrameInjectedStyleSheet(e){return!!e.ownerNode&&h.test(e.ownerNode.className)}getParentStyleSheetInfo=e=>this.isIgnoredParentStyleSheet(e)?null:b(e);getFrameStyleSheetInfo=e=>this.isFrameInjectedStyleSheet(e)?b(e):null;injectStyles(){const{styleSheet:e,injectParentStylesheets:t}=this.props;e!==this.styleSheet&&(this.styleSheetNode&&this.styleSheetNode.parentNode.removeChild(this.styleSheetNode),this.styleSheetNode=l.injectCss(this.refs.frame.contentDocument,e),this.styleSheet=e);const n=this.refs.frame.contentDocument;if(!t||!s.styleSheets||!n)return;const r=Array.from(s.styleSheets).map(this.getParentStyleSheetInfo).filter(Boolean);if(!function(e,t){if(e.length!==t.length)return!0;for(let n=0;ne.parentNode.removeChild(e))),r.forEach((e=>{!function(e,t){const n=e.head||e.getElementsByTagName("head")[0];if(t.href){const r=e.createElement("link");return r.href=t.href,r.rel="stylesheet",x(t,r),void n.appendChild(r)}!function(e,t){x(t,l.injectCss(e,t.text))}(e,t)}(n,e)}))}injectContent(e,t){const{noScroll:n}=this.props,{frame:r}=this.refs,o=r.contentDocument;o&&(o.open(),o.write(t.replace("__markup__",l.getHtmlContent(e,!0).innerHTML)),o.close(),n?(o.body.style.overflow="hidden",o.documentElement.style.overflow="hidden"):u.isIE10&&"visible"===r.contentWindow.getComputedStyle(o.body).overflow&&(o.body.style.overflow="auto"))}stopResizer(){const e=this.refs.frame.contentWindow;this.mutationObserver&&this.mutationObserver.disconnect();try{y.forEach((t=>e.removeEventListener(t,this.updateSize))),e.document.removeEventListener("DOMSubtreeModified",this.domSubtreeModified)}catch(e){}}startResizer(){const e=this.refs.frame.contentWindow;y.forEach((t=>e.addEventListener(t,this.updateSize))),g?(this.mutationObserver=new MutationObserver(this.mutationObserved),this.mutationObserver.observe(e.document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):e.document.addEventListener("DOMSubtreeModified",this.domSubtreeModified),this.updateSize()}startStyleListener(){g?(this.styleMutationObserver=new MutationObserver(this.styleMutationHandler),this.styleMutationObserver.observe(s,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):s.addEventListener("DOMSubtreeModified",this.styleMutationHandler)}stopStyleListener(){this.styleMutationObserver&&this.styleMutationObserver.disconnect(),this.styleMutationHandler.cancel();try{s.removeEventListener("DOMSubtreeModified",this.styleMutationHandler)}catch(e){}}updateSize=()=>{const{frame:e}=this.refs,{removeWobble:t}=this.props;let n;try{n=l.getFrameContentSize(e)}catch(e){return}const{height:r}=n;t&&function(e,t,n){return e===n&&Math.abs(t-e)<20}(r,this.height,this.oldHeight)||r!==this.height&&(this.oldHeight=this.height,this.height=r,this.setState({height:r}))};handleAnchorClick=e=>{const{onAnchorClick:t}=this.props;t&&e.target&&"A"===e.target.tagName&&t(e)};handleFormSubmit=e=>{const{onSubmit:t}=this.props;t&&t(e)};startEventListeners(){const e=this.refs.frame.contentWindow.document.getElementsByTagName("body")[0];e.removeEventListener("submit",this.handleFormSubmit),e.removeEventListener("click",this.handleAnchorClick),e.addEventListener("submit",this.handleFormSubmit),e.addEventListener("click",this.handleAnchorClick)}imageEvent=e=>{this.updateSize(),this.removeImageLoadListener(e.target)};removeImageLoadListener=e=>{e.removeEventListener("load",this.imageEvent),e.removeEventListener("error",this.imageEvent)};addImageLoadListener=e=>{!1===e.complete&&(e.addEventListener("load",this.imageEvent,!1),e.addEventListener("error",this.imageEvent,!1))};mutationObserved=e=>{this.updateSize(),e.forEach((e=>{"attributes"===e.type&&"IMG"===e.target.tagName&&"src"===e.attributeName?this.addImageLoadListener(e.target):"childList"===e.type&&Array.from(e.target.querySelectorAll("img")).forEach(this.addImageLoadListener)}))};domSubtreeModified=e=>{this.updateSize(),e.target.querySelectorAll&&Array.from(e.target.querySelectorAll("img")).forEach((e=>{this.removeImageLoadListener(e),this.addImageLoadListener(e)}))};styleMutationHandler=p.throttle((()=>this.injectStyles()),500,!0);componentDidMount(){this.injectContent(this.props.markup,this.props.baseHtml),this.injectStyles(),this.startResizer(),this.startEventListeners(),this.startStyleListener()}componentWillUnmount(){this.stopStyleListener(),this.stopResizer(),this.styleSheetNode&&this.styleSheetNode.parentNode.removeChild(this.styleSheetNode)}get javascriptAccessible(){try{return!!this.refs.frame.contentWindow.document}catch(e){return!1}}componentWillReceiveProps(e){const{markup:t,baseHtml:n,visible:r}=e;t!==this.props.markup||n!==this.props.baseHtml||r&&!this.props.visible&&!this.javascriptAccessible?this.setState({key:this.state.key+1}):this.javascriptAccessible&&this.injectStyles()}componentDidUpdate(){this.javascriptAccessible&&this.oldKey!==this.state.key&&(this.styleSheet=null,this.oldKey=this.state.key,this.stopResizer(),this.injectContent(this.props.markup,this.props.baseHtml),this.injectStyles(),this.startResizer(),this.startEventListeners())}render(){const{style:e,noScroll:t}=this.props,n=Object.assign({height:this.state.height,width:"100%"},e),r=d(this.props,["style","markup","baseHtml","visible","injectParentStylesheets","ignoreParentBcStyles","styleSheet","onAnchorClick","onSubmit","removeWobble","noScroll"]);return a.createElement("iframe",(0,o.default)({key:this.state.key,allowFullScreen:!0,ref:"frame",style:n,onLoad:this.onLoad,scrolling:!t},r))}}e.exports=w},98054:(e,t,n)=>{"use strict";const r=n(57588),o=n(45697),i={back:"‹",check:"✔",replay:"⟳"};class a extends r.PureComponent{static propTypes={type:o.oneOf(Object.keys(i)).isRequired};render(){const{type:e}=this.props,t=i[e];return t?r.createElement("span",{dangerouslySetInnerHTML:{__html:t}}):null}}e.exports=a},28339:(e,t,n)=>{"use strict";const r=n(57588),o=n(63748),i=n(45697);class a extends r.Component{static propTypes={className:i.string,markup:i.string.isRequired};shouldComponentUpdate(){return!1}componentWillReceiveProps(e){this.props.markup!==e.markup&&o.injectHtml(this.refs.root,e.markup)}componentDidMount(){o.injectHtml(this.refs.root,this.props.markup)}render(){const{className:e}=this.props;return r.createElement("div",{className:e,ref:"root"})}}e.exports=a},60206:(e,t,n)=>{"use strict";const r=n(57588),o=n(63748),i=n(45697);class a extends r.PureComponent{static propTypes={onClick:i.func.isRequired,isSmallScreen:i.bool,visible:i.bool,htmlRef:i.func,t:i.func.isRequired};handleClick=e=>{e.preventDefault(),this.props.onClick()};handleKeyPress=e=>{"Enter"!==e.key&&" "!==e.key||this.handleClick(e)};render(){const{t:e,visible:t,isSmallScreen:n,htmlRef:o}=this.props,i={position:"absolute",right:n?4:-36,top:-36,display:"inline-block",height:32,width:32,cursor:"pointer",transition:"right 0.2s ease"};return r.createElement("svg",{ref:o,tabIndex:t?"0":"-1",onKeyPress:this.handleKeyPress,viewBox:"0 0 100 100",xmlns:"http://www.w3.org/2000/svg","aria-label":e("a11y.close"),style:i},r.createElement("g",null,r.createElement("ellipse",{onClick:this.handleClick,fill:"#ddd",cx:"50",cy:"50",rx:"50",ry:"50"}),r.createElement("line",{stroke:"#666",strokeWidth:"10",x1:"75",y1:"75",x2:"25",y2:"25"}),r.createElement("line",{stroke:"#666",strokeWidth:"10",x1:"75",y1:"25",x2:"25",y2:"75"})))}}e.exports=o.connect()(a)},82596:(e,t,n)=>{"use strict";const r=n(57588),o=n(45697);class i extends r.PureComponent{static propTypes={window:o.object,children:o.node};static childContextTypes={eeComponentsLightbox:o.object};getChildContext(){return{eeComponentsLightbox:this.props.window}}render(){const{children:e}=this.props;return r.createElement("div",null,e)}}e.exports=i},8221:(e,t,n)=>{"use strict";var r=n(64836)(n(10569));const o=n(58908),i=n(57588),a=n(45697),s=n(74792),l=n(54362),c=n(60206).Connected;class u extends i.PureComponent{static propTypes={visible:a.bool,type:a.oneOf(s.lightBoxTypes).isRequired,onClose:a.func};constructor(e){super(e),this.setSvgElementRef=this.setSvgElementRef.bind(this)}setSvgElementRef(e){this.svgElementRef=e}state={visible:!1,isSmallScreen:!1};topWindowResized=()=>{const e=o.top.innerWidth<=s.screenSizes.sm;this.state.isSmallScreen!==e&&this.setState({isSmallScreen:e})};isActiveElementAnIframe(){return o.top.document.body===o.top.document.activeElement||"iframe"===o.top.document.activeElement.tagName.toLowerCase()}getActiveElement(){let e=!1;return this.isActiveElementAnIframe()?[...o.top.document.getElementsByTagName("iframe")].some((t=>{const n=t.contentWindow.document.activeElement;return n!==t.contentWindow.document.body&&(e=n,!0)})):e=o.top.document.activeElement,e}isElementVisible(e){return!e.classList.contains(".vjs-hidden")&&!e.closest(".vjs-hidden")&&"none"!==o.getComputedStyle(e).display&&"hidden"!==o.getComputedStyle(e).visibility}getIframesLastTabbableElement(){let e=this.frame.contentWindow.document||this.frame.contentDocument;return e=e.document?e.document:e,[...e.querySelectorAll(\'a[href], area, button:enabled, input:not([type=hidden]):enabled, link[href], object, select:enabled, textarea:enabled, [tabindex]:not([tabindex="-1"]), [draggable]\')].filter(this.isElementVisible).at(-1)}onKeyDown=e=>{const{visible:t,onClose:n}=this.props,{firstTabElement:r,lastTabElement:i}=this.refs;t&&(n&&27===e.keyCode&&(e.preventDefault(),e.stopPropagation(),n()),"Tab"!==e.key&&9!==e.keyCode||o.setImmediate((()=>{const t=this.getActiveElement();e.shiftKey?t.isEqualNode(r)&&this.getIframesLastTabbableElement().focus():t.isEqualNode(i)&&this.svgElementRef.focus()})))};get frame(){return this.refs.frame.frame}show(){clearTimeout(this.timeout),this.timeout=setTimeout((()=>this.setState({visible:!0})),0)}hide(){clearTimeout(this.timeout),this.timeout=setTimeout((()=>this.setState({visible:!1})),s.timers.lightbox)}componentWillMount(){o.top.addEventListener("resize",this.topWindowResized),this.topWindowResized(),o.addEventListener("keydown",this.onKeyDown),o.top.document.addEventListener("keydown",this.onKeyDown)}componentDidMount(){this.frame.contentDocument.addEventListener("keydown",this.onKeyDown),this.props.visible&&(this.show(),this.frame.focus())}componentDidUpdate(){const{firstTabElement:e}=this.refs;this.props.visible&&e.focus()}componentWillReceiveProps(e){const{visible:t}=e;!this.props.visible&&t?(this.show(),this.frame.focus()):!t&&this.props.visible&&this.hide()}componentWillUnmount(){clearTimeout(this.timeout),o.top.removeEventListener("resize",this.topWindowResized),o.removeEventListener("keydown",this.onKeyDown),o.top.document.removeEventListener("keydown",this.onKeyDown),this.frame.contentDocument.removeEventListener("keydown",this.onKeyDown)}onClose=e=>{const{onClose:t}=this.props;e.currentTarget===this.refs.root&&t&&t()};render(){const{visible:e,type:t,onClose:n}=this.props,{visible:o,isSmallScreen:a}=this.state,u={position:"fixed",left:0,right:0,top:0,bottom:e||o?0:"auto",width:"auto",height:e||o?"auto":0,border:"none",maxHeight:"100%",transition:`opacity ${s.timers.lightbox}ms linear, padding 0.2s ease`,overflow:"auto",WebkitOverflowScrolling:"touch",background:"rgba(0, 0, 0, 0.5)",opacity:e&&o?1:0,padding:a?"40px 0px":40,textAlign:"center",visibility:e||o?"visible":"hidden",zIndex:1e4},p={display:"inline-block",width:"100%",verticalAlign:"middle",maxWidth:"small"===t?800:1200,position:"relative"},d={border:"none",background:"white",transition:`height ${s.timers.lightbox}ms linear`,verticalAlign:"middle"};return e&&o||(d.height=0),i.createElement("div",{ref:"root",style:u,onClick:this.onClose},i.createElement("div",{tabIndex:"0",ref:"firstTabElement"}),i.createElement("div",{style:{display:"inline-block",height:"100%",verticalAlign:"middle"}}),i.createElement("div",{style:p},i.createElement(c,{htmlRef:this.setSvgElementRef,visible:e,onClick:n,isSmallScreen:a}),i.createElement(l,{ref:"frame",style:d,markup:"
",baseHtml:r.default,ignoreParentBcStyles:!0,removeWobble:!0})),i.createElement("div",{tabIndex:"0",ref:"lastTabElement"}))}}e.exports=u},72246:(e,t,n)=>{"use strict";const r=n(57588),o=n(73935),i=n(58908),a=n(74792),s=n(82596),l=n(8221),c=n(45697);class u extends r.Component{static propTypes={children:c.node,type:c.oneOf(a.lightBoxTypes).isRequired,onClose:c.func};renderLightBox(e){let{children:t,...n}=e;const a=o.unstable_renderSubtreeIntoContainer(this,r.createElement(l,n),this.node),c=a.frame.contentWindow;c.bcov=i.bcov||{},c.bcov.gal=i.bcov.gal||{},c.bcov.gal.experience=i.bcov.gal.experience,o.unstable_renderSubtreeIntoContainer(this,r.createElement(s,{window:a.frame.contentWindow},t),a.frame.contentDocument.querySelector("div"))}componentWillMount(){const e=i.top.document;this.node=e.createElement("div"),e.body.appendChild(this.node),this.renderLightBox(this.props)}componentWillReceiveProps(e){this.renderLightBox(e)}shouldComponentUpdate(){return!1}componentWillUnmount(){if(!this.node)return;const e=this.node;this.node=null,o.unmountComponentAtNode(e),i.top.document.body.removeChild(e)}render(){return null}}e.exports=u},56585:(e,t,n)=>{"use strict";var r=n(64836)(n(10434));const o=n(57588),i=n(59611),a=n(74792),s=n(63748),l=n(9732),c=n(99738),u=n(45697);n(28206);class p extends o.PureComponent{static propTypes={dispatch:u.func.isRequired,view:u.string,onClick:u.func,analytics:l.analytics.isRequired,children:u.node,styleName:u.oneOf(Object.values(a.styleables)),className:u.string,adPlaying:u.bool};static defaultProps={styleName:a.styleables.navigation};onClick=e=>{if(e.preventDefault(),!this.props.adPlaying){const{dispatch:e,view:t,onClick:n,analytics:r}=this.props;t&&e(i.setActiveView(t)),n?n():r.trackEvent(r.events.clickLinkView(t))}};render(){const{children:e,className:t,adPlaying:n,...i}=this.props;return o.createElement(c,(0,r.default)({},i,{component:"a",href:"#",className:s.joinClasses(t,"ee-components-link-to-view"),onClick:this.onClick,"data-ad-playing":!!n}),e)}}e.exports=s.connect()(p)},79705:(e,t,n)=>{"use strict";const r=n(57588),o=n(74792),i=n(59611),a=n(63748),s=n(9732),l=n(10393),c=n(99738),u=n(89210),p=n(98054),{getIn:d}=n(84048),f=n(62801),h=n(45697);n(53826);class m extends r.PureComponent{static propTypes={dispatch:h.func.isRequired,video:h.shape({galleryVideoIndex:h.number,galleryVideoWatched:h.bool}),currentVideoIndex:h.number,activeView:h.string.isRequired,nextVideoIndex:h.number,autoAdvance:h.shape({enabled:h.bool,total:h.number,current:h.number}).isRequired,analytics:s.analytics.isRequired,videoId:s.videoId,adPlaying:h.bool,showNowPlaying:h.bool,watchedIndicator:h.bool,t:h.func.isRequired,displayFocus:h.bool,disabled:h.bool};static contextTypes={eeComponentsAutoAdvance:h.instanceOf(l)};state={current:this.context.eeComponentsAutoAdvance.current,total:this.context.eeComponentsAutoAdvance.total};onClick=e=>{const{autoAdvance:t,video:n,nextVideoIndex:r,dispatch:o,analytics:a,videoId:s}=this.props;t.enabled&&n&&n.galleryVideoIndex===r&&(e.preventDefault(),e.stopPropagation(),a.trackEvent(a.events.autoAdvanceStop,{videoId:s}),o(i.autoAdvanceStop()))};tick=(e,t)=>{const{autoAdvance:n,video:r,nextVideoIndex:o}=this.props,{enabled:i}=n;i&&r&&r.galleryVideoIndex===o&&this.setState({current:e,total:t})};componentWillMount(){this.context.eeComponentsAutoAdvance.on("tick",this.tick)}componentWillUnmount(){this.context.eeComponentsAutoAdvance.off("tick",this.tick)}render(){const{displayFocus:e,autoAdvance:t,video:n,activeView:i,currentVideoIndex:s,nextVideoIndex:l,adPlaying:d,showNowPlaying:f,watchedIndicator:h,t:m,disabled:v}=this.props,{enabled:g}=t,{total:A,current:y}=this.state,x=g&&n&&n.galleryVideoIndex===l,b=f&&n&&n.galleryVideoIndex===s&&i===u.getPlaybackViewName(),w=n&&n.galleryVideoWatched&&h,E={strokeDasharray:(A?283*(A-y)/A:0)+" 283"};return r.createElement("div",{className:"ee-components-play-button","data-countdown":!!x,"data-now-playing":!!b,"data-watched":!!w},r.createElement(c,{styleName:o.styleables.overlayBanner,className:"ee-components-play-button-watched","aria-hidden":"true"},r.createElement(p,{type:"check"})," ",m("watched")),r.createElement(c,{styleName:o.styleables.nowPlaying,className:"ee-components-play-button-now-playing","aria-label":m("now_playing")},m("now_playing")),r.createElement("svg",{viewBox:"0 0 100 100",className:"ee-components-play-button-svg"},r.createElement("g",{className:a.joinStyleClassNames("playButton","ee-components-play-button-group"),"data-ad-playing":!!d,onClick:this.onClick,tabIndex:e?"0":"-1","aria-hidden":!e,"aria-label":m("a11y.play"),"aria-disabled":!!v,role:"button"},r.createElement("g",{className:"ee-components-play-button-countdown"},r.createElement("circle",{cx:50,cy:50,r:45,className:"ee-components-play-button-track"}),r.createElement("circle",{cx:50,cy:50,r:45,transform:"rotate(-90 50 50)",style:E,className:"ee-components-play-button-runner"}),r.createElement("path",{d:"M 35 35 h 10 v 30 h -10 Z m 20 0 h 10 v 30 h -10 Z",width:30,height:30,className:"ee-components-play-button-pause"}),r.createElement("text",{x:50,y:50,textAnchor:"middle",alignmentBaseline:"central",className:"ee-components-play-button-text"},y?Math.ceil(y/o.date.millisPerSecond):0)),r.createElement("g",{className:"ee-components-play-button-button"},r.createElement("circle",{className:"ee-components-play-button-frame",cx:50,cy:50,r:40}),r.createElement("path",{className:"ee-components-play-button-icon",d:"M 41 35 l 24 15 l -24 15 Z"})))))}}e.exports=a.connect((function(e){const{autoAdvance:t,player:n,activeView:r}=e,{videoIndex:o,videoId:i,videoConfiguration:a}=n,s=o||0;return{autoAdvance:t,currentVideoIndex:s,activeView:r,nextVideoIndex:(s+1)%f.getVideosFromState(e,a).length||0,videoId:i,watchedIndicator:d(e,["config","experience","videos","watchedIndicator"])||!1}}))(m)},43575:(e,t,n)=>{"use strict";const r=n(57588),o=n(63748),i=n(74792),a=n(45697);n(89616);class s extends r.PureComponent{static propTypes={active:a.bool.isRequired,visible:a.bool.isRequired,views:a.arrayOf(a.string).isRequired,className:a.string,component:a.node};static childContextTypes={eeComponentsViews:a.arrayOf(a.string)};getChildContext(){return{eeComponentsViews:this.props.views}}get height(){return this.refs.root.offsetHeight}render(){const{active:e,visible:t,component:n,className:a}=this.props,s={transition:`opacity ${i.timers.switcher}ms linear`};return r.createElement("div",{ref:"root",className:o.joinClasses(a,"ee-components-switcher-component"),"data-visible":t,"data-active":e,style:s},n)}}class l extends r.PureComponent{static propTypes={activeView:a.string.isRequired,lightbox:a.shape({view:a.string}),components:a.arrayOf(a.shape({views:a.arrayOf(a.string).isRequired,component:a.node})),className:a.string,hidden:a.bool};static contextTypes={eeComponentsLightbox:a.object};state={[this.getActiveComponentIndex(this.props)]:!0};raf=null;timeouts={};getActiveComponentIndex(e){let{activeView:t,lightbox:n}=e;return this.context.eeComponentsLightbox&&n&&n.view&&(t=n.view),e.hidden?-1:e.components.findIndex((e=>e.views.includes(t)))}getActiveComponentHeight(e){const t=this.getActiveComponentIndex(e);return this.refs[`view${t}`]?this.refs[`view${t}`].height:0}componentWillReceiveProps(e){const t=this.getActiveComponentIndex(this.props),n=this.getActiveComponentIndex(e);if(t!==n){window.cancelAnimationFrame(this.raf),clearTimeout(this.timeouts[n]),clearTimeout(this.timeouts[t]),this.timeouts[t]=setTimeout((()=>this.setState({[t]:!1})),i.timers.switcher);const r=this.refs.root.offsetHeight;this.refs.root.style.height=`${r}px`,this.timeouts[n]=setTimeout((()=>this.setState({[n]:!0})),0),this.raf=window.requestAnimationFrame((t=>{const n=o=>{const a=this.getActiveComponentHeight(e)-r,s=o-t;s{let{views:i,component:a}=t;return r.createElement(s,{ref:`view${o}`,key:o,views:i,className:e,component:a,active:n===o,visible:!!this.state[o]})}))}render(){return r.createElement("div",{ref:"root",className:"ee-components-switcher"},this.renderComponents())}}e.exports=o.connect((function(e){const{activeView:t,lightbox:n}=e;return{activeView:t,lightbox:n}}))(l)},58993:(e,t,n)=>{"use strict";const r=n(57588),o=n(59611),i=n(74792),a=n(51196),s=n(79705).Connected,l=n(63748),c=n(9732),u=n(10393),p=n(62801),d=n(45697);n(20672);class f extends r.PureComponent{static propTypes={dispatch:d.func.isRequired,disabled:d.bool,nextVideo:d.object,autoAdvance:d.shape({enabled:d.bool}).isRequired,analytics:c.analytics.isRequired,videoId:c.videoId,t:d.func.isRequired};static defaultProps={disabled:!1};static contextTypes={eeComponentsAutoAdvance:d.instanceOf(u)};state={currentTime:this.context.eeComponentsAutoAdvance.current,visible:!!this.props.autoAdvance.enabled&&!this.props.disabled,isFading:!1};timeout=null;handleAdvance=e=>{const{dispatch:t,analytics:n,videoId:r}=this.props;e.preventDefault(),e.stopPropagation(),n.trackEvent(n.events.nextVideoClicked,{videoId:r}),t(o.loadNextVideo())};handleDismiss=e=>{const{autoAdvance:t,disabled:n,dispatch:r,analytics:i,videoId:a}=this.props,{enabled:s}=t;s&&!n&&(e.preventDefault(),e.stopPropagation(),i.trackEvent(i.events.autoAdvanceStop,{videoId:a}),r(o.autoAdvanceStop()))};handleAutoAdvanceTimerTick=e=>{const{autoAdvance:t,disabled:n}=this.props,{enabled:r}=t;r&&!n&&this.setState({currentTime:e})};componentWillMount(){this.context.eeComponentsAutoAdvance.on("tick",this.handleAutoAdvanceTimerTick)}componentWillReceiveProps(e){const{autoAdvance:t,disabled:n}=e,r=this.props.autoAdvance.enabled&&!this.props.disabled,o=t.enabled&&!n;!r!=!o&&(clearTimeout(this.timeout),this.setState({isFading:!0}),this.timeout=o?setTimeout((()=>this.setState({visible:!0})),0):setTimeout((()=>this.setState({visible:!1,isFading:!1})),200))}componentWillUnmount(){this.context.eeComponentsAutoAdvance.off("tick",this.handleAutoAdvanceTimerTick),clearTimeout(this.timeout)}render(){const{autoAdvance:e,disabled:t,dispatch:n,nextVideo:o,t:l}=this.props,{currentTime:c,visible:u,isFading:p}=this.state,d=e&&!t,f=Math.ceil(c/i.date.millisPerSecond);return u||p?r.createElement("div",{className:"ee-components-up-next","data-active":!!d,"data-visible":!!u,onClick:this.handleAdvance},r.createElement(a,{className:"ee-components-up-next-thumbnail",dispatch:n,video:o,t:l},r.createElement(s,{video:o})),r.createElement("div",{className:"ee-components-up-next-text"},r.createElement("div",{className:"ee-components-up-next-text-countdown"},l("up_next",{time:f})),r.createElement("div",null,o?o.name:"")),r.createElement("svg",{viewBox:"0 0 100 100",className:"ee-components-up-next-close",onClick:this.handleDismiss},r.createElement("circle",{cx:50,cy:50,r:50}),r.createElement("path",{d:"M 50,4 C 24.5949,3.9998 4.0002,24.5948 4,50 4.0002,75.4053 24.5949,96 50,96 75.4048,96 95.9999,75.4051 96,50 95.9999,24.595 75.4048,4.0001 50,4 Z M 30.1229,24.0352 49.5832,43.4935 69.0415,24.0352 75.5463,30.5417 56.0879,50 75.5463,69.4584 69.0415,75.9649 49.5832,56.5065 30.1229,75.9649 23.6181,69.4584 43.0766,50 23.6181,30.5417 Z"}))):null}}e.exports=l.connect((function(e){const{autoAdvance:t,player:n}=e,{videoIndex:r,videoId:o,videoConfiguration:i}=n,a=p.getVideosFromState(e,i),s=((r||0)+1)%a.length||0;return{autoAdvance:t,nextVideoIndex:s,nextVideo:a[s],videoId:o}}))(f)},65274:(e,t,n)=>{"use strict";const r=n(26729),o=n(59611);e.exports={ClientApi:class extends r{constructor(e){super(),this.dispatch=e}getCurrentPlayer(){return this.player}setCurrentPlayer(e){e!==this.player&&(this.player=e,this.emit("playerChanged",this.player))}getCurrentVideo(){return this.video}setCurrentVideo(e){e!==this.video&&(this.video=e,this.emit("videoChanged",this.video))}selectVideo(e){(!e||e>this.videos.length)&&console.error(`Cannot select video with index ${e}`),this.dispatch(o.loadVideoIndex(e))}getCurrentState(){return this.state}setCurrentState(e){e!==this.state&&(this.state=e,this.emit("stateChanged",e))}getAllVideos(){return this.videos}playerLoadStart(){this.emit("playerLoaded",this.player)}playerLoadedMetadata(){this.emit("videoLoaded",this.video)}videoStarted(){this.emit("videoStarted",this.video)}videoPaused(){this.emit("videoPaused",this.video)}videoEnded(){this.emit("videoEnded",this.video)}getInteractionEvent(e){return{element:e.type,linkText:e.text||e.linkText,linkUrl:e.href,videoId:this.video?this.video.id:"",videoTitle:this.video?this.video.name:"",videoTime:this.player?this.player.currentTime():""}}interactionStarted(e){this.emit("interactionStart",this.getInteractionEvent(e))}interactionEnded(e){this.emit("interactionEnd",this.getInteractionEvent(e))}interactionClicked(e){this.emit("interactionClick",this.getInteractionEvent(e))}interactionCardPanelOpen(e){const t=e.map((e=>this.getInteractionEvent(e)));this.emit("interactionCardPanelOpen",t)}interactionCardPanelClose(e){const t=e.map((e=>this.getInteractionEvent(e)));this.emit("interactionCardPanelClose",t)}}}},26065:(e,t,n)=>{"use strict";const r=n(57588),o=n(28339),i=n(63748),a=n(45697);n(27566);class s extends r.PureComponent{static propTypes={activeView:a.string,lightboxView:a.string,value:a.string,empty:a.node,hidden:a.bool};static contextTypes={eeComponentsViews:a.arrayOf(a.string),eeComponentsLightbox:a.object};static defaultProps={empty:null};render(){const{value:e,empty:t}=this.props;return e&&i.isActiveComponent(this)?r.createElement(o,{className:"ee-components-advertisement",markup:e}):t}}e.exports=i.connect((function(e){const{activeView:t,lightboxView:n}=e;return{activeView:t,lightboxView:n}}))(s)},66844:(e,t,n)=>{"use strict";const r=n(57588),o=n(54362),i=n(45697);n(51855);class a extends r.PureComponent{static propTypes={value:i.string,empty:i.node};static defaultProps={empty:null};render(){const{value:e,empty:t}=this.props;return e?r.createElement(o,{className:"ee-components-chat",markup:e}):t}}e.exports=a},61092:(e,t,n)=>{"use strict";var r=n(64836)(n(10434));const o=n(57588),i=n(43575).Connected,a=n(45697),s={advertisement:n(26065).Connected,chat:n(66844),heroImage:n(78433),html:n(93950).Connected,image:n(32176).Connected,text:n(39576),threePlay:n(16761).Connected,twitter:n(50411)};function l(e){return s[e]||null}class c extends o.PureComponent{static propTypes={value:a.shape({name:a.string,type:a.oneOf(Object.keys(s)).isRequired,views:a.arrayOf(a.string),value:a.any}),hidden:a.bool,isSingleComponent:a.bool,onClick:a.func,interactionIndex:a.number};static types=Object.keys(s);static getComponent=l;render(){const{value:e,hidden:t,isSingleComponent:n,onClick:a,interactionIndex:s,...c}=this.props;if(!e)return null;const{name:u,type:p,views:d}=e,f=l(p),h=o.createElement(f,(0,r.default)({},c,{name:u,value:e.value,hidden:!n&&t,onClick:a,interactionIndex:s}));if(n)return h;const m=[{views:d,component:h}];return o.createElement(i,{hidden:t,components:m})}}e.exports=c},78433:(e,t,n)=>{"use strict";const r=n(57588),o=n(63748),i=n(74792),{set:a,get:s}=n(84048),l=n(443),c=n(45697);function u(e){switch(e){default:case i.heroImageSizes.cover:return"cover";case i.heroImageSizes.contain:return"contain";case i.heroImageSizes.stretch:return"100% 100%";case i.heroImageSizes.none:return"auto auto"}}n(64932);class p extends r.PureComponent{static propTypes={value:c.shape({image:c.string,size:c.oneOf(Object.values(i.heroImageSizes))}),empty:c.node,children:c.node};static defaultProps={empty:null};static validFileTypes=/image\\/.+/i;static mapFileToValue(e,t){return a(e,"image",o.getImageFromFile(t))}render(){const{value:e,empty:t,children:n}=this.props,i=s(e,"image");if(!i)return t||r.createElement("div",{className:"ee-components-hero-image"});const a={backgroundImage:o.getCssUrl(i),backgroundPosition:"center",backgroundRepeat:"no-repeat",backgroundSize:u(e.size)};return r.createElement("div",{className:"ee-components-hero-image",style:a},n)}}e.exports=l({props:[["value","image"]]})(p)},93950:(e,t,n)=>{"use strict";const r=n(57588),o=n(59611),i=n(54362),a=n(9732),s=n(63748),l=n(443),c=n(45697);n(84894);class u extends r.PureComponent{static propTypes={dispatch:c.func.isRequired,activeView:c.string,lightboxView:c.string,value:c.string,name:c.string,empty:c.node,analytics:a.analytics.isRequired,analyticsId:c.string.isRequired,currentVideoId:c.string,hidden:c.bool,styleSheet:c.string,injectParentStylesheets:c.bool};static contextTypes={eeComponentsViews:c.arrayOf(c.string),eeComponentsLightbox:c.object,clientApi:c.object};static defaultProps={empty:null,name:"HTML",injectParentStylesheets:!0};static validFileTypes=/text\\/.+/i;static async mapFileToValue(e,t){return await s.getTextFromFile(t)}static ctaType="html";state={visible:s.isActiveComponent(this)};hasFiredImpression=!1;handleConversion=()=>{const e=this.props.name||u.defaultProps.name,{analytics:t,analyticsId:n,currentVideoId:r,dispatch:i}=this.props;t.trackEvent(t.events.conversion(u.ctaType),{lookup:n,videoId:r,label:"Conversion from Custom HTML",conversionType:"form_conversion",ctaName:e}),i(o.interactionConversion(e))};handleClickthrough=e=>{const t=this.props.name||u.defaultProps.name,{analytics:n,analyticsId:r,currentVideoId:i,dispatch:a}=this.props;n.trackEvent(n.events.conversion(u.ctaType),{lookup:r,videoId:i,conversionType:"clickthrough",ctaName:t});const{clientApi:s}=this.context;s.interactionClicked({type:"html",linkText:e.target.innerText,href:e.target.href}),a(o.interactionConversion(t))};sendImpression(e,t){const n=t.name||u.defaultProps.name,{analytics:r,value:i,analyticsId:a,currentVideoId:l,dispatch:c}=t,p=s.isActiveComponent(this,t),d=s.isActiveComponent(this,e)!==p,f=!!i,h=f&&i!==e.value;(h||d)&&(this.hasFiredImpression=!1),!this.hasFiredImpression&&f&&p&&(h||d)&&(r.trackEvent(r.events.impression(u.ctaType),{lookup:a,videoId:l,ctaName:n}),c(o.interactionImpression(n)),this.hasFiredImpression=!0)}componentDidMount(){this.sendImpression({},this.props)}componentWillReceiveProps(e){const t=s.isActiveComponent(this,e);this.sendImpression(this.props,e),t&&!this.state.visible&&this.setState({visible:t})}render(){const{value:e,empty:t,styleSheet:n,injectParentStylesheets:o}=this.props,{visible:a}=this.state;return e&&a?r.createElement(i,{className:"ee-components-html",visible:s.isActiveComponent(this,this.props),markup:e,onSubmit:this.handleConversion,onAnchorClick:this.handleClickthrough,styleSheet:n,injectParentStylesheets:o,noScroll:!0}):t}}e.exports=s.connect((function(e){const{player:t,activeView:n,lightboxView:r}=e;return{currentVideoId:t&&t.videoId,activeView:n,lightboxView:r}}))(l({props:["value"]})(u))},32176:(e,t,n)=>{"use strict";const r=n(57588),o=n(9732),i=n(63748),a=n(59611),{set:s,get:l}=n(84048),c=n(443),u=n(45697);n(11523);class p extends r.PureComponent{static propTypes={dispatch:u.func.isRequired,value:u.shape({image:u.string,width:u.number,height:u.number,display:u.string,clickThroughUrl:u.string,openNewWindow:u.bool,alignment:u.oneOf(["left","right","center","justify"])}),name:u.string,empty:u.node,analytics:o.analytics.isRequired,analyticsId:u.string.isRequired,activeView:u.string,lightboxView:u.string,currentVideoId:u.string,hidden:u.bool};static contextTypes={eeComponentsViews:u.arrayOf(u.string),eeComponentsLightbox:u.object,clientApi:u.object};static defaultProps={empty:null,name:"Image"};static validFileTypes=/image\\/.+/i;static mapFileToValue(e,t){return s(e,"image",i.getImageFromFile(t))}static ctaType="image";hasFiredImpression=!1;sendImpression(e,t){const n=t.name||p.defaultProps.name,{analytics:r,value:o,analyticsId:s,currentVideoId:l}=t,c=i.isActiveComponent(this,t),u=i.isActiveComponent(this)!==c,d=!!(o&&o.clickThroughUrl&&o.image),f=d&&(!e.value||o.clickThroughUrl!==e.value.clickThroughUrl||o.image!==e.value.image);(f||u)&&(this.hasFiredImpression=!1),!this.hasFiredImpression&&d&&c&&(f||u)&&(r.trackEvent(r.events.impression(p.ctaType),{lookup:s,videoId:l,ctaName:n}),t.dispatch(a.interactionImpression(n)),this.hasFiredImpression=!0)}handleImageClick=()=>{const e=this.props.name||p.defaultProps.name,{analytics:t,analyticsId:n,currentVideoId:r,dispatch:o,value:{clickThroughUrl:i}}=this.props;t.trackEvent(t.events.conversion(p.ctaType),{lookup:n,videoId:r,conversionType:"clickthrough",ctaName:e});const{clientApi:s}=this.context;s.interactionClicked({type:"image",linkText:e,href:i,videoId:r}),o(a.interactionConversion(e||p.defaultProps.name))};componentDidMount(){this.sendImpression({},this.props)}componentWillReceiveProps(e){this.sendImpression(this.props,e)}renderImage(e){const{value:t}=this.props,{display:n,width:o,height:i,clickThroughUrl:a}=t;let s;return"fixed"===n&&(s={width:o,height:i}),a?r.createElement("a",{target:t.openNewWindow?"_blank":"_top",href:a,onClick:this.handleImageClick},r.createElement("img",{className:"ee-components-image-image",style:s,src:e})):r.createElement("img",{className:"ee-components-image-image",style:s,src:e})}render(){const{value:e,empty:t}=this.props,n=l(e,"image");if(!n)return t;let o;return o=e.alignment?{textAlign:e.alignment}:{textAlign:"center"},r.createElement("div",{style:o,className:"ee-components-image"},this.renderImage(n))}}e.exports=i.connect((function(e){const{player:t,activeView:n,lightboxView:r}=e;return{currentVideoId:t&&t.videoId,activeView:n,lightboxView:r}}))(c({props:[["value","image"],["value","clickThroughUrl"]]})(p))},5694:(e,t,n)=>{"use strict";const r=n(61092);e.exports=Object.assign(r,{Editable:r})},39576:(e,t,n)=>{"use strict";const r=n(57588),o=n(63748),i=n(74792),a=n(26820),s=n(443),l=n(45697);n(81545);class c extends r.PureComponent{static propTypes={value:l.string,empty:l.node,className:l.string,style:l.object,mobileMinFontSize:l.number,mobileMaxFontSize:l.number,tabletMinFontSize:l.number,tabletMaxFontSize:l.number,onClick:l.func,interactionIndex:l.number};static defaultProps={empty:null};static contextTypes={eeComponentsLightbox:l.object};state={baseFontSize:null,breakpoint:null};getMinMaxFontBounds(){const{mobileMinFontSize:e,mobileMaxFontSize:t,tabletMinFontSize:n,tabletMaxFontSize:r}=this.props;switch(this.state.breakpoint){case i.breakpoints.mobile:return[e,t];case i.breakpoints.tablet:return[n,r];default:return[]}}updateBaseFontSize(){const e=this.context.eeComponentsLightbox||window;if(!this.refs.text)return;const t=parseFloat(e.getComputedStyle(this.refs.text).fontSize);this.state.baseFontSize!==t&&this.setState({baseFontSize:t})}onWindowResize=()=>{const e=this.context.eeComponentsLightbox||window;let t=null;e.innerWidth<=i.screenSizes.sm?t=i.breakpoints.mobile:e.innerWidth<=i.screenSizes.md&&(t=i.breakpoints.tablet),this.state.breakpoint!==t&&this.setState({breakpoint:t})};hasResponsiveText(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props;const{mobileMinFontSize:t,mobileMaxFontSize:n,tabletMinFontSize:r,tabletMaxFontSize:o}=e;return!!(t||n||r||o)}removeResizeHandler(){(this.context.eeComponentsLightbox||window).removeEventListener("resize",this.onWindowResize)}registerResizeHandler(){this.removeResizeHandler(),this.hasResponsiveText()&&((this.context.eeComponentsLightbox||window).addEventListener("resize",this.onWindowResize),this.onWindowResize())}componentDidMount(){this.updateBaseFontSize(),this.registerResizeHandler()}componentWillReceiveProps(e){this.hasResponsiveText(e)!==this.hasResponsiveText()&&this.registerResizeHandler()}componentWillUnmount(){this.removeResizeHandler()}componentDidUpdate(){this.updateBaseFontSize()}onClick=e=>{const{onClick:t,interactionIndex:n}=this.props;"function"==typeof t&&t(n,e)};render(){const{value:e,empty:t,className:n,style:i}=this.props,{baseFontSize:s}=this.state;if(!e)return t;const l=o.getHtmlContent(e,!1);if(!l.innerText)return t;const[c,u]=this.getMinMaxFontBounds();a.updateTextSize(l,s,c,u);const p={__html:l.innerHTML};return r.createElement("div",{onClick:this.onClick,ref:"text",className:o.joinClasses(n,"ee-components-text"),style:i,dangerouslySetInnerHTML:p})}}e.exports=s({props:["value"]})(c)},16761:(e,t,n)=>{"use strict";const r=n(57588),o=n(54362),i=n(9732),a=n(63748),{getIn:s}=n(84048),l=n(45697);n(84894);class c extends r.PureComponent{static propTypes={value:l.string,empty:l.node,lookup:i.lookup.isRequired,experience:l.object.isRequired};static defaultProps={empty:null};render(){const{value:e,empty:t,experience:n}=this.props;return e?r.createElement(o,{ref:"frame",className:"ee-components-html",markup:(i=n.id,a=e,`\\n