"use strict";(self.webpackChunkwebpackJsonp_FAVE_=self.webpackChunkwebpackJsonp_FAVE_||[]).push([["app"],{fc8b619f44de9e7645ef:function(e,t,n){n.d(t,{qT:function(){return v},G6:function(){return c}});var r=n("940d95ccb231cd3ef3f4"),i=n.n(r),a={"<":function(e,t){return e<t},"<=":function(e,t){return e<=t},">":function(e,t){return e>t},">=":function(e,t){return e>=t}},o=(navigator&&navigator.userAgent||"").toLowerCase();function u(e,t){var n=t+"",r=+(n.match(/\d+/)||NaN),i=n.match(/^[<>]=?|/)[0];return a[i]?a[i](e,r):e==r||r!=r}function c(e){var t=o.match(/version\/(\d+).+?safari/),n=/constructor/i.test(window.HTMLElement)||"[object SafariRemoteNotification]"===(!window.safari||void 0!==window.safari&&window.safari.pushNotification).toString();return FAVE.Utils.existsString(e)&&n?null!==t&&u(t[1],e):n}var s={autoplaySupported:null};function l(){return"function"!=typeof document.createElement?document.createElement(arguments[0]):document.createElement.apply(document,arguments)}function p(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=l("video");return n.muted=t,t&&(n.setAttribute("muted",""),n.setAttribute("playsinline","")),n.setAttribute("src",e),n.setAttribute("autoplay",""),n.style.cssText="display:none",n.style.position="absolute",n.style.height=0,n.style.width=0,n}function d(e){var t=e.maxDuration,n=e.maxRetries,r=e.videoElement,a=i().Deferred(),o=t/n,u=0;return function e(){u>=n?a.resolve(!1):(function(e,t){var n=e.play(),r=i().Deferred();return void 0!==n?n.catch((function(){r.resolve(!1)})).then((function(){"resolved"!==r.state()&&r.resolve(!0)})):r.resolve(!0),setTimeout((function(){"resolved"!==r.state()&&r.resolve(!1)}),t),r}(r,o).then((function(t){t?a.resolve(!0):e()})),u++)}(),a}function y(e,t){var n=window.FAVE.settings.player.autoplay.compatibility;return{maxDuration:n.maxDuration,maxRetries:n.maxRetries,videoElement:p(e,t)}}function f(){return c("<11")||navigator.userAgent.match(/(?:\b(MS)?IE\s+|\bTrident\/7\.0;.*\s+rv:)(\d+)/)||!!document.documentMode||(e="<66",t=navigator.userAgent.match(/Chrom(e|ium)\/([0-9]+)\./),n=Boolean(window.chrome),FAVE.Utils.existsString(e)&&n?null!==t&&u(t[2],e):n)||function(e){var t=navigator.userAgent.match(/(Edge)\/([0-9]+)\./),n=!!window.StyleMedia;return FAVE.Utils.existsString(e)&&n?null!==t&&u(t[2],e):n}("<18");var e,t,n}function v(){var e,t=window.FAVE.settings.player.autoplay.compatibility,n=t.testMobile,r=t.videoUrl;return s.autoplaySupported?s.autoplaySupported:(e=f()?FAVE.Utils.mobile?i().Deferred().resolve({muted:!0,unmuted:!1}).promise():i().Deferred().resolve({muted:!0,unmuted:!0}).promise():FAVE.Utils.mobile&&!n?i().Deferred().resolve({muted:!0,unmuted:!1}).promise():d(y(r,!0)).then((function(e){return!1===e?{muted:e,unmuted:!1}:d(y(r,!1)).then((function(t){return{muted:e,unmuted:t}}))})),s.autoplaySupported=e,e)}},"706320d3368d0da49503":function(e,t,n){function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function i(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(null===e||"object"!==r(e))return e;var t=new e.constructor;for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=i(e[n]));return t}n.d(t,{d:function(){return i}})},d3b9b67cdbc6f69a5519:function(e,t,n){var r=n("940d95ccb231cd3ef3f4"),i=n.n(r),a=n("fc8b619f44de9e7645ef");function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var u={},c=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.id=t.containerId,u[this.id]=t}var t,n,r;return t=e,n=[{key:"configs",get:function(){return u[this.id]._instanceProps.configs}},{key:"destroy",value:function(){var e;return(e=u[this.id]).destroy.apply(e,arguments)}},{key:"disableCaptions",value:function(){var e;return(e=u[this.id]).disableCaptions.apply(e,arguments)}},{key:"enableCaptions",value:function(){var e;return(e=u[this.id]).enableCaptions.apply(e,arguments)}},{key:"enterFullscreen",value:function(){var e;return(e=u[this.id]).enterFullscreen.apply(e,arguments)}},{key:"enterVrStereoMode",value:function(){var e;return(e=u[this.id]).enterVrStereoMode.apply(e,arguments)}},{key:"exitFullscreen",value:function(){var e;return(e=u[this.id]).exitFullscreen.apply(e,arguments)}},{key:"exitVrStereoMode",value:function(){var e;return(e=u[this.id]).exitVrStereoMode.apply(e,arguments)}},{key:"getAdDuration",value:function(){var e;return(e=u[this.id]).getAdDuration.apply(e,arguments)}},{key:"getAdTime",value:function(){var e;return(e=u[this.id]).getAdTime.apply(e,arguments)}},{key:"getBufferedRange",value:function(){var e;return(e=u[this.id]).getBufferedRange.apply(e,arguments)}},{key:"getCallbacks",value:function(){var e;return(e=u[this.id]).getCallbacks.apply(e,arguments)}},{key:"getCaptionsStyle",value:function(){var e;return(e=u[this.id]).getCaptionsStyle.apply(e,arguments)}},{key:"getConfigs",value:function(){var e;return(e=u[this.id]).getConfigs.apply(e,arguments)}},{key:"getConvivaContentMetadata",value:function(){var e;return(e=u[this.id]).getConvivaContentMetadata.apply(e,arguments)}},{key:"getData",value:function(){var e;return(e=u[this.id]).getVideoData.apply(e,arguments)}},{key:"getDuration",value:function(){var e;return(e=u[this.id]).getDuration.apply(e,arguments)}},{key:"getFontFamilyOptions",value:function(){var e;return(e=u[this.id]).getFontFamilyOptions.apply(e,arguments)}},{key:"getFontSizeOptions",value:function(){var e;return(e=u[this.id]).getFontSizeOptions.apply(e,arguments)}},{key:"getLoadMetrics",value:function(){var e;return(e=u[this.id]).getLoadMetrics.apply(e,arguments)}},{key:"getMediaError",value:function(){var e;return(e=u[this.id]).getMediaError.apply(e,arguments)}},{key:"getMediaState",value:function(){var e;return(e=u[this.id]).getMediaState.apply(e,arguments)}},{key:"getMediaType",value:function(){var e;return(e=u[this.id]).getMediaType.apply(e,arguments)}},{key:"getPlaybackSpeed",value:function(){var e;return(e=u[this.id]).getPlaybackSpeed.apply(e,arguments)}},{key:"getPlayer",value:function(){var e;return(e=u[this.id]).getVideoPlayer.apply(e,arguments)}},{key:"getPlayerUserInterfaceWrapper",value:function(){var e;return(e=u[this.id]).getPlayerUserInterfaceWrapper.apply(e,arguments)}},{key:"getSeekableRange",value:function(){var e;return(e=u[this.id]).getSeekableRange.apply(e,arguments)}},{key:"getSiteSectionId",value:function(){var e;return(e=u[this.id]).getSiteSectionId.apply(e,arguments)}},{key:"getStartType",value:function(){var e;return(e=u[this.id]).getStartType.apply(e,arguments)}},{key:"getTime",value:function(){var e;return(e=u[this.id]).getTime.apply(e,arguments)}},{key:"getVideoData",value:function(){var e;return(e=u[this.id]).getVideoData.apply(e,arguments)}},{key:"getVideoHeight",value:function(){var e;return(e=u[this.id]).getVideoHeight.apply(e,arguments)}},{key:"getVideoPlayer",value:function(){var e;return(e=u[this.id]).getVideoPlayer.apply(e,arguments)}},{key:"getVideoWidth",value:function(){var e;return(e=u[this.id]).getVideoWidth.apply(e,arguments)}},{key:"getZionVideoSessionId",value:function(){var e;return(e=u[this.id]).getZionVideoSessionId.apply(e,arguments)}},{key:"getVolume",value:function(){var e;return(e=u[this.id]).getVolume.apply(e,arguments)}},{key:"getVrDirection",value:function(){var e;return(e=u[this.id]).getVrDirection.apply(e,arguments)}},{key:"hideUI",value:function(){var e;return(e=u[this.id]).hideUI.apply(e,arguments)}},{key:"isCaptionsAvailable",value:function(){var e;return(e=u[this.id]).isCaptionsAvailable.apply(e,arguments)}},{key:"isBuffering",value:function(){var e;return(e=u[this.id]).isBuffering.apply(e,arguments)}},{key:"isCaptionsEnabled",value:function(){var e;return(e=u[this.id]).isCaptionsEnabled.apply(e,arguments)}},{key:"isChromeless",value:function(){var e;return(e=u[this.id]).isChromeless.apply(e,arguments)}},{key:"isFullscreen",value:function(){var e;return(e=u[this.id]).isFullscreen.apply(e,arguments)}},{key:"isLive",value:function(){var e;return(e=u[this.id]).isLive.apply(e,arguments)}},{key:"isLivePoint",value:function(){var e;return(e=u[this.id]).isLivePoint.apply(e,arguments)}},{key:"isMuted",value:function(){var e;return(e=u[this.id]).isMuted.apply(e,arguments)}},{key:"isVr",value:function(){var e;return(e=u[this.id]).isVr.apply(e,arguments)}},{key:"isVrStereoMode",value:function(){var e;return(e=u[this.id]).isVrStereoMode.apply(e,arguments)}},{key:"mute",value:function(){var e;return(e=u[this.id]).mute.apply(e,arguments)}},{key:"omnitureCallbacks",get:function(){return u[this.id]._instanceProps.omniture}},{key:"pause",value:function(){var e;return(e=u[this.id]).pause.apply(e,arguments)}},{key:"play",value:function(){var e;return(e=u[this.id]).play.apply(e,arguments)}},{key:"prepare",value:function(){var e;return(e=u[this.id]).prepare.apply(e,arguments)}},{key:"registerCallbacks",value:function(){var e;return(e=u[this.id]).registerCallbacks.apply(e,arguments)}},{key:"replay",value:function(){var e;return(e=u[this.id]).replay.apply(e,arguments)}},{key:"resume",value:function(){var e;return(e=u[this.id]).resume.apply(e,arguments)}},{key:"seek",value:function(){var e;return(e=u[this.id]).seek.apply(e,arguments)}},{key:"seekToLive",value:function(){var e;return(e=u[this.id]).seekToLive.apply(e,arguments)}},{key:"setAdKeyValue",value:function(){var e;return(e=u[this.id]).setAdKeyValue.apply(e,arguments)}},{key:"setCaptionsStyle",value:function(){var e;return(e=u[this.id]).setCaptionsStyle.apply(e,arguments)}},{key:"setMaxBitrate",value:function(){var e;return(e=u[this.id]).setMaxBitrate.apply(e,arguments)}},{key:"setMediaError",value:function(){var e;return(e=u[this.id]).setMediaError.apply(e,arguments)}},{key:"setPlaybackSpeed",value:function(){var e;return(e=u[this.id]).setPlaybackSpeed.apply(e,arguments)}},{key:"setSessionAdKeyValue",value:function(){var e;return(e=u[this.id]).setSessionAdKeyValue.apply(e,arguments)}},{key:"setSiteSectionId",value:function(){var e;return(e=u[this.id]).setSiteSectionId.apply(e,arguments)}},{key:"setTheoAdKeyValue",value:function(){var e;return(e=u[this.id]).setTheoAdKeyValue.apply(e,arguments)}},{key:"setUiTheme",value:function(){var e;return(e=u[this.id]).setUiTheme.apply(e,arguments)}},{key:"setVolume",value:function(){var e;return(e=u[this.id]).setVolume.apply(e,arguments)}},{key:"showUI",value:function(){var e;return(e=u[this.id]).showUI.apply(e,arguments)}},{key:"stop",value:function(){var e;return(e=u[this.id]).stop.apply(e,arguments)}},{key:"unmute",value:function(){var e;return(e=u[this.id]).unmute.apply(e,arguments)}},{key:"unregisterCallbacks",value:function(){var e;return(e=u[this.id]).unregisterCallbacks.apply(e,arguments)}},{key:"updateConvivaContentMetadata",value:function(){var e;return(e=u[this.id]).updateConvivaContentMetadata.apply(e,arguments)}},{key:"updateZionCustomMetadata",value:function(){var e;return(e=u[this.id]).updateZionCustomMetadata.apply(e,arguments)}},{key:"updateAdobeCustomMetadata",value:function(){var e;return(e=u[this.id]).updateAdobeCustomMetadata.apply(e,arguments)}}],n&&o(t.prototype,n),r&&o(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}(),s=n("706320d3368d0da49503"),l=n("496e0129bb8ecd8cdf62");function p(e){return p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},p(e)}function d(){d=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},i=r.iterator||"@@iterator",a=r.asyncIterator||"@@asyncIterator",o=r.toStringTag||"@@toStringTag";function u(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(e){u=function(e,t,n){return e[t]=n}}function c(e,t,n,r){var i=t&&t.prototype instanceof y?t:y,a=Object.create(i.prototype),o=new S(r||[]);return a._invoke=function(e,t,n){var r="suspendedStart";return function(i,a){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw a;return P()}for(n.method=i,n.arg=a;;){var o=n.delegate;if(o){var u=V(o,n);if(u){if(u===l)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var c=s(e,t,n);if("normal"===c.type){if(r=n.done?"completed":"suspendedYield",c.arg===l)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r="completed",n.method="throw",n.arg=c.arg)}}}(e,n,o),a}function s(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=c;var l={};function y(){}function f(){}function v(){}var h={};u(h,i,(function(){return this}));var g=Object.getPrototypeOf,m=g&&g(g(F([])));m&&m!==t&&n.call(m,i)&&(h=m);var b=v.prototype=y.prototype=Object.create(h);function k(e){["next","throw","return"].forEach((function(t){u(e,t,(function(e){return this._invoke(t,e)}))}))}function E(e,t){function r(i,a,o,u){var c=s(e[i],e,a);if("throw"!==c.type){var l=c.arg,d=l.value;return d&&"object"==p(d)&&n.call(d,"__await")?t.resolve(d.__await).then((function(e){r("next",e,o,u)}),(function(e){r("throw",e,o,u)})):t.resolve(d).then((function(e){l.value=e,o(l)}),(function(e){return r("throw",e,o,u)}))}u(c.arg)}var i;this._invoke=function(e,n){function a(){return new t((function(t,i){r(e,n,t,i)}))}return i=i?i.then(a,a):a()}}function V(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,V(e,t),"throw"===t.method))return l;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return l}var r=s(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,l;var i=r.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,l):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,l)}function w(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function S(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(w,this),this.reset(!0)}function F(e){if(e){var t=e[i];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,a=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return a.next=a}}return{next:P}}function P(){return{value:void 0,done:!0}}return f.prototype=v,u(b,"constructor",v),u(v,"constructor",f),f.displayName=u(v,o,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===f||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,u(e,o,"GeneratorFunction")),e.prototype=Object.create(b),e},e.awrap=function(e){return{__await:e}},k(E.prototype),u(E.prototype,a,(function(){return this})),e.AsyncIterator=E,e.async=function(t,n,r,i,a){void 0===a&&(a=Promise);var o=new E(c(t,n,r,i),a);return e.isGeneratorFunction(n)?o:o.next().then((function(e){return e.done?e.value:o.next()}))},k(b),u(b,o,"Generator"),u(b,i,(function(){return this})),u(b,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=F,S.prototype={constructor:S,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(A),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return o.type="throw",o.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],o=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(u&&c){if(this.prev<a.catchLoc)return r(a.catchLoc,!0);if(this.prev<a.finallyLoc)return r(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return r(a.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return r(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var a=i;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var o=a?a.completion:{};return o.type=e,o.arg=t,a?(this.method="next",this.next=a.finallyLoc,l):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),l},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),A(n),l}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;A(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:F(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),l}},e}function y(e,t,n,r,i,a,o){try{var u=e[a](o),c=u.value}catch(e){return void n(e)}u.done?t(c):Promise.resolve(c).then(r,i)}function f(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var a=e.apply(t,n);function o(e){y(a,r,i,o,u,"next",e)}function u(e){y(a,r,i,o,u,"throw",e)}o(void 0)}))}}function v(e){var t=e.api,n=e.resolve,r=e.tempPlayerMethodResolve;return"function"==typeof r?r(t):n(t)}function h(e){var t=e.reject,n=e.tempPlayerMethodReject;return"function"==typeof n?n():t()}function g(e){e&&e.getConfigs().player.ui.enabled&&FAVE.loadScripts("uiLoaded","".concat(FAVE.settings.origin,"/").concat("ui-b3ac64ca","/ui")).then((function(){var t=new FaveUiController({player:e});ReactDOM.render(React.createElement(PlayerUserInterface,{theme:e.getConfigs().player.ui.theme,uiController:t}),e.getPlayerUserInterfaceWrapper())}))}function m(e){var t=e.playerDescription,r=e.resolve,i=e.reject,a=e.tempPlayerMethodResolve,o=e.tempPlayerMethodReject;return FAVE.loadScripts("topLoaded","".concat(FAVE.settings.origin,"/").concat("topplayer-3cd326ad","/topplayer"),"".concat(FAVE.settings.origin,"/").concat("topinstance-b9811709","/topinstance")).catch((function(e){return FAVE.Utils.consoleError("TOP player library failed to load.",e),h({reject:i,tempPlayerMethodReject:o})})).then(f(d().mark((function e(){var i,o,u;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,Promise.all([n.e("vendor"),n.e("topplayer"),n.e("topinstance")]).then(n.bind(n,"c8aa07703d93b797c2b1"));case 3:return o=e.sent,(u=new o.TopPlayerInstance(t)).setup(),e.next=8,u.ready();case 8:return V.instances[t.configs.markupId]=i=new c(u),g(i),e.abrupt("return",v({api:i,resolve:r,tempPlayerMethodResolve:a}));case 13:e.prev=13,e.t0=e.catch(0),FAVE.Utils.consoleError("favePlayer: An error occurred while trying to create a TOP player instance.",e.t0);case 16:case"end":return e.stop()}}),e,null,[[0,13]])}))))}function b(e){var t=e.playerDescription,r=e.resolve,i=e.reject,a=e.tempPlayerMethodResolve,o=e.tempPlayerMethodReject;return FAVE.loadScripts("theoLoaded","".concat(FAVE.settings.origin,"/").concat("freewheel-3aa0f884","/freewheel"),"".concat(FAVE.settings.origin,"/").concat("theoplayer-9be11a9d","/theoplayer"),"".concat(FAVE.settings.origin,"/").concat("theoinstance-c1e0a207","/theoinstance")).catch((function(e){return FAVE.Utils.consoleError("THEOplayer library failed to load.",e),h({reject:i,tempPlayerMethodReject:o})})).then(f(d().mark((function e(){var i,o,u;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,Promise.all([n.e("vendor"),n.e("theoplayer"),n.e("theoinstance")]).then(n.bind(n,"811c196c57307e44e8ae"));case 3:return o=e.sent,(u=new o.TheoPlayerInstance(t)).setup(),e.next=8,u.ready();case 8:return V.instances[t.configs.markupId]=i=new c(u),g(i),e.abrupt("return",v({api:i,resolve:r,tempPlayerMethodResolve:a}));case 13:e.prev=13,e.t0=e.catch(0),FAVE.Utils.consoleError("favePlayer: An error occurred while trying to create a THEOplayer instance.",e.t0);case 16:case"end":return e.stop()}}),e,null,[[0,13]])}))))}function k(e){var t=e.playerDescription,r=e.resolve,i=e.reject,a=e.tempPlayerMethodResolve,o=e.tempPlayerMethodReject;return FAVE.loadScripts("topLiteLoaded","".concat(FAVE.settings.origin,"/").concat("topLitePlayer-5ab0b783","/topLitePlayer"),"".concat(FAVE.settings.origin,"/").concat("topLiteInstance-45cf9526","/topLiteInstance")).catch((function(e){return FAVE.Utils.consoleError("TOP Lite player library failed to load.",e),h({reject:i,tempPlayerMethodReject:o})})).then(f(d().mark((function e(){var i,o,u;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,Promise.all([n.e("vendor"),n.e("topLitePlayer"),n.e("topLiteInstance")]).then(n.bind(n,"6476109580b11ed03c12"));case 3:return o=e.sent,(u=new o.TopLitePlayerInstance(t)).setup(),e.next=8,u.ready();case 8:return V.instances[t.configs.markupId]=i=new c(u),g(i),e.abrupt("return",v({api:i,resolve:r,tempPlayerMethodResolve:a}));case 13:e.prev=13,e.t0=e.catch(0),FAVE.Utils.consoleError("favePlayer: An error occurred while trying to create a TOP Lite player instance.",e.t0);case 16:case"end":return e.stop()}}),e,null,[[0,13]])}))))}var E,V=(E=f(d().mark((function e(t,n,r){return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",new Promise((function(e,i){if(FAVE.Utils.existsObject(t)&&FAVE.Utils.existsObject(t.configs)&&FAVE.Utils.existsString(t.configs.markupId)&&null!==document.getElementById(t.configs.markupId)){if(Object.prototype.hasOwnProperty.call(V.instances,t.configs.markupId))return FAVE.Utils.consoleError("Violation - Multiple player instances requested for id: ".concat(t.configs.markupId)),h({reject:i,tempPlayerMethodReject:r});V.instances[t.configs.markupId]=null;var a=(0,l.T)((0,s.d)(FAVE.settings),t.configs),o=FAVE.pageParams.mediaPlayer||a.mediaPlayer;return"theo"===o?b({playerDescription:t,resolve:e,reject:i,tempPlayerMethodResolve:n,tempPlayerMethodReject:r}):"topLite"===o?k({playerDescription:t,resolve:e,reject:i,tempPlayerMethodResolve:n,tempPlayerMethodReject:r}):m({playerDescription:t,resolve:e,reject:i,tempPlayerMethodResolve:n,tempPlayerMethodReject:r})}return FAVE.Utils.consoleError("Invalid markupId/containerId. Could not instantiate the video player."),h({reject:i,tempPlayerMethodReject:r})})));case 1:case"end":return e.stop()}}),e)}))),function(e,t,n){return E.apply(this,arguments)});function w(e){return w="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},w(e)}V.instances={},V.getInstance=function(e){return V.instances[e]},FAVE.player=V,FAVE.jQuery=i(),(0,a.qT)().then((function(e){FAVE.autoplaySupported=e})),FAVE.pageVis={handlers:{},hiddenEvent:"",hiddenKey:"",isDocumentHidden:function(){return this.hiddenKey.length>0&&!0===document[this.hiddenKey]},isDocumentVisible:function(){return this.hiddenKey.length>0&&!1===document[this.hiddenKey]}};var A=null;void 0!==document.hidden?(FAVE.pageVis.hiddenKey="hidden",FAVE.pageVis.hiddenEvent="visibilitychange"):void 0!==document.mozHidden?(FAVE.pageVis.hiddenKey="mozHidden",FAVE.pageVis.hiddenEvent="mozvisibilitychange"):void 0!==document.msHidden?(FAVE.pageVis.hiddenKey="msHidden",FAVE.pageVis.hiddenEvent="msvisibilitychange"):void 0!==document.webkitHidden?(FAVE.pageVis.hiddenKey="webkitHidden",FAVE.pageVis.hiddenEvent="webkitvisibilitychange"):(document.createEvent&&(A||(A=document.createEvent("HTMLEvents")).initEvent("visibilitychange",!0,!0)),FAVE.pageVis.hiddenKey="hidden",FAVE.pageVis.hiddenEvent="visibilitychange",document.hidden=!1,i()(document).on("focus",(function(){document.hidden&&(document.hidden=!1,document.dispatchEvent(A))})),i()(document).on("blur",(function(){document.hidden||(document.hidden=!0,document.dispatchEvent(A))}))),i().fn.extend({onVisibilityChange:function(e,t){"string"==typeof t&&"function"==typeof e&&(FAVE.pageVis.handlers[t]=function(e){"object"===w((e=e||{}).data)&&null!==e.data&&"function"==typeof e.data.handler&&e.data.handler(i())},i()(this).on(FAVE.pageVis.hiddenEvent,{handler:e},FAVE.pageVis.handlers[t]))},removeVisibilityChange:function(e){"string"==typeof e&&"function"==typeof FAVE.pageVis.handlers[e]&&i()(this).off(FAVE.pageVis.hiddenEvent,FAVE.pageVis.handlers[e])}})}},function(e){var t=function(t){return e(e.s=t)};e.O(0,["vendor"],(function(){return t("d3b9b67cdbc6f69a5519"),t("940d95ccb231cd3ef3f4"),t("d37d0366961416497297")}));e.O()}]);