/*!
JW Player version 8.22.1
Copyright (c) 2021, JW Player, All Rights Reserved
This source code and its use and distribution is subject to the terms
and conditions of the applicable license agreement.
https://www.jwplayer.com/tos/
This product includes portions of other software. For the full text of licenses, see
https://ssl.p.jwpcdn.com/player/v/8.22.1/notice.txt
*/
(window.webpackJsonpjwplayer=window.webpackJsonpjwplayer||[]).push([[5,2,4],Array(70).concat([function(t,e,i){"use strict";i.r(e);var n={};i.r(n),i.d(n,"facebook",(function(){return ht})),i.d(n,"twitter",(function(){return wt})),i.d(n,"linkedin",(function(){return ft})),i.d(n,"pinterest",(function(){return jt})),i.d(n,"reddit",(function(){return gt})),i.d(n,"tumblr",(function(){return mt})),i.d(n,"email",(function(){return bt})),i.d(n,"link",(function(){return vt})),i.d(n,"embed",(function(){return yt}));var o=i(5),a=i(3),r=i(9),s=i(52),l=i(7),c=i(18),u=i(77),d=i(130),p=i(128),h=i(0),w=i(11),f=i(34),j=i(76),g=i(2),m=i(53),b=i(12),v=i(75),y=function(){function t(t,e,i){Object(h.j)(this,r.a),this._model=t,this._api=e,this._playerElement=i,this.localization=t.get("localization"),this.state="tooltip",this.enabled=!1,this.shown=!1,this.feedShownId="",this.closeUi=null,this.tooltipUi=null,this.reset()}var e=t.prototype;return e.setup=function(t){this.container=t.createElement("div"),this.container.className="jw-nextup-container jw-reset";var e,i,n,o,a=Object(l.f)((void 0===e&&(e=""),void 0===i&&(i=""),void 0===n&&(n=""),void 0===o&&(o=""),'
'));a.querySelector(".jw-nextup-close").appendChild(Object(j.a)("close")),this.addContent(a),this.closeButton=this.content.querySelector(".jw-nextup-close"),this.closeButton.setAttribute("aria-label",this.localization.close),this.tooltip=this.content.querySelector(".jw-nextup-tooltip");var r=this._model,s=r.player;this.enabled=!1,r.on("change:nextUp",this.onNextUp,this),s.change("duration",this.onDuration,this),s.change("position",this.onElapsed,this),s.change("streamType",this.onStreamType,this),s.change("state",(function(t,e){"complete"===e&&this.toggle(!1)}),this),this.closeUi=Object(v.a)(this.closeButton,(function(){this.nextUpSticky=!1,this.toggle(!1)}),this),this.tooltipUi=new f.a(this.tooltip).on("click",this.click,this)},e.loadThumbnail=function(t){return this.nextUpImage=new Image,this.nextUpImage.onload=function(){this.nextUpImage.onload=null}.bind(this),this.nextUpImage.src=t,{backgroundImage:'url("'+t+'")'}},e.click=function(){var t=this.feedShownId;this.reset(),this._api.next({feedShownId:t,reason:"interaction"})},e.toggle=function(t,e){if(this.enabled&&(Object(l.w)(this.container,"jw-nextup-sticky",!!this.nextUpSticky),this.shown!==t)){this.shown=t,Object(l.w)(this.container,"jw-nextup-container-visible",t),Object(l.w)(this._playerElement,"jw-flag-nextup",t);var i=this._model.get("nextUp");t&&i?(this.feedShownId=Object(m.b)(m.a),this.trigger("nextShown",{mode:i.mode,ui:"nextup",itemsShown:[i],feedData:i.feedData,reason:e,feedShownId:this.feedShownId})):this.feedShownId=""}},e.setNextUpItem=function(t){var e=this;setTimeout((function(){if(e.thumbnail=e.content.querySelector(".jw-nextup-thumbnail"),Object(l.w)(e.content,"jw-nextup-thumbnail-visible",!!t.image),t.image){var i=e.loadThumbnail(t.image);Object(w.d)(e.thumbnail,i)}e.header=e.content.querySelector(".jw-nextup-header"),e.header.textContent=Object(l.f)(e.localization.nextUp).textContent,e.title=e.content.querySelector(".jw-nextup-title");var n=t.title;e.title.textContent=n?Object(l.f)(n).textContent:"";var o=t.duration;o&&(e.duration=e.content.querySelector(".jw-nextup-duration"),e.duration.textContent="number"==typeof o?Object(b.timeFormat)(o):o)}),500)},e.onNextUp=function(t,e){this.reset(),e||(e={showNextUp:!1}),this.enabled=!(!e.title&&!e.image),this.enabled&&(e.showNextUp||(this.nextUpSticky=!1,this.toggle(!1)),this.setNextUpItem(e))},e.onDuration=function(t,e){if(e){var i=t.get("nextupoffset"),n=-10;i&&(n=Object(g.d)(i,e)),n<0&&(n+=e),Object(g.c)(i)&&e-5=this.offset;n&&void 0===i?(this.nextUpSticky=n,this.toggle(n,"time")):!n&&i&&this.reset()}},e.onStreamType=function(t,e){"VOD"!==e&&(this.nextUpSticky=!1,this.toggle(!1))},e.element=function(){return this.container},e.addContent=function(t){this.content&&this.removeContent(),this.content=t,this.container.appendChild(t)},e.removeContent=function(){this.content&&(this.container.removeChild(this.content),this.content=null)},e.reset=function(){this.nextUpSticky=void 0,this.toggle(!1)},e.destroy=function(){this.off(),this._model.off(null,null,this),this.closeUi&&this.closeUi.destroy(),this.tooltipUi&&this.tooltipUi.destroy()},t}(),k=function(t,e){var i=t.featured,n=t.showLogo,o=t.type;return t.logo=n?' ':"",''+x[o](t,e)+" "},x={link:function(t){var e=t.link,i=t.title;return''+t.logo+(i||"")+" "},share:function(t,e){return''+e.sharing.heading+" "},pip:function(t,e){return''+e.pipIcon+" "},keyboardShortcuts:function(t,e){return''+e.shortcuts.keyboardShortcuts+" "},button:function(t){var e=t.title;return''+e+" "}},O=i(29),C=i(13),M={free:0,pro:1,premium:2,ads:3,invalid:4,enterprise:6,trial:7,platinum:8,starter:9,business:10,developer:11};function T(t){var e=Object(l.f)(t),i=e.querySelector(".jw-rightclick-logo");return i&&i.appendChild(Object(j.a)("jwplayer-logo")),e}function S(t,e){return(S=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}var _=function(t){var e,i;function n(){return t.apply(this,arguments)||this}i=t,(e=n).prototype=Object.create(i.prototype),e.prototype.constructor=e,S(e,i);var o=n.prototype;return o.buildArray=function(){var e=this.model,i=t.prototype.buildArray.call(this),n=e.get("localization"),o=n.abouttext,a=n.videoInfo,r=i.items;if(o){for(var s,l,c=0;cJW Player '+t+"",r={items:[{title:Object(C.g)(n)?a+" "+n:n+" "+a,type:"link",featured:!0,showLogo:!0,link:"https://jwplayer.com/learn-more?e="+M[i]}]},s=r.items;return this.shortcutsTooltip&&s.splice(s.length-1,0,{type:"keyboardShortcuts"}),this.pipMenu=!o.OS.mobile&&"disabled"!==e.get("pipIcon")&&(o.Browser.chrome||o.Browser.edge||o.Browser.safari),this.pipMenu&&s.splice(s.length-1,0,{type:"pip"}),r},e.rightClick=function(t){if(this.lazySetup(),this.mouseOverContext)return!1;this.hideMenu(),this.showMenu(t),this.addHideMenuHandlers()},e.getOffset=function(t){var e=Object(l.d)(this.wrapperElement),i=t.pageX-e.left,n=t.pageY-e.top;return this.model.get("touchMode")&&(n-=100),{x:i,y:n}},e.showMenu=function(t){var e=this,i=this.getOffset(t);return this.el.style.left=i.x+"px",this.el.style.top=i.y+"px",this.outCount=0,Object(l.b)(this.playerContainer,"jw-flag-rightclick-open"),Object(l.b)(this.el,"jw-open"),clearTimeout(this._menuTimeout),this._menuTimeout=setTimeout((function(){return e.hideMenu()}),3e3),!1},e.hideMenu=function(t){t&&this.el&&this.el.contains(t.target)||(Object(l.p)(this.playerContainer,"jw-flag-rightclick-open"),Object(l.p)(this.el,"jw-open"))},e.lazySetup=function(){var t,e,i,n=this,o=(t=this.buildArray(),e=this.model.get("localization"),''+(void 0===(i=t.items)?[]:i).map((function(t){return k(t,e)})).join("")+" ");if(this.el){if(this.html!==o){this.html=o;var a=T(o);Object(l.i)(this.el);for(var r=a.childNodes.length;r--;)this.el.appendChild(a.firstChild)}}else this.html=o,this.el=T(this.html),this.wrapperElement.appendChild(this.el),this.hideMenuHandler=function(t){Object(f.c)(t)||n.hideMenu(t)},this.overHandler=function(){n.mouseOverContext=!0},this.outHandler=function(t){n.mouseOverContext=!1,t.relatedTarget&&!n.el.contains(t.relatedTarget)&&++n.outCount>1&&n.hideMenu()},this.pipHandler=function(){n.model.set("pip",!n.model.get("pip"))},this.shortcutsTooltipHandler=function(){n.mouseOverContext=!1,n.hideMenu(),n.shortcutsTooltip.open()}},e.setup=function(t,e,i){this.wrapperElement=i,this.model=t,this.mouseOverContext=!1,this.playerContainer=e,this.ui=new f.a(i).on("longPress",this.rightClick,this)},e.addHideMenuHandlers=function(){this.removeHideMenuHandlers(),this.wrapperElement.addEventListener("touchstart",this.hideMenuHandler),document.addEventListener("touchstart",this.hideMenuHandler),o.OS.mobile||(this.wrapperElement.addEventListener("click",this.hideMenuHandler),document.addEventListener("click",this.hideMenuHandler),this.el.addEventListener("mouseover",this.overHandler),this.el.addEventListener("mouseout",this.outHandler)),this.pipMenu&&this.el.querySelector(".jw-pip-item").addEventListener("click",this.pipHandler),this.shortcutsTooltip&&this.el.querySelector(".jw-shortcuts-item").addEventListener("click",this.shortcutsTooltipHandler)},e.removeHideMenuHandlers=function(){this.wrapperElement&&(this.wrapperElement.removeEventListener("click",this.hideMenuHandler),this.wrapperElement.removeEventListener("touchstart",this.hideMenuHandler)),this.el&&(this.el.removeEventListener("mouseover",this.overHandler),this.el.removeEventListener("mouseout",this.outHandler),this.pipMenu&&this.el.querySelector(".jw-pip-item").removeEventListener("click",this.pipHandler),this.shortcutsTooltip&&this.el.querySelector(".jw-shortcuts-item").removeEventListener("click",this.shortcutsTooltipHandler)),document.removeEventListener("click",this.hideMenuHandler),document.removeEventListener("touchstart",this.hideMenuHandler)},e.destroy=function(){clearTimeout(this._menuTimeout),this.removeHideMenuHandlers(),this.el&&(this.hideMenu(),this.hideMenuHandler=null,this.el=null),this.wrapperElement&&(this.wrapperElement.oncontextmenu=null,this.wrapperElement=null),this.model&&(this.model=null),this.ui&&(this.ui.destroy(),this.ui=null)},t}()),E=i(93),A=i(84),z=i(95),P=i(94),L=i(82);function I(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function B(t,e){return(B=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function R(t,e,i,n){if(t&&"Auto"===t[0].label&&i&&i.items.length){var o=i.items[0].el.querySelector(".jw-auto-label"),a=t[e.index]||{label:""};o.textContent=n?"":a.label}}var F=function(t){var e,i;function n(e,i,n,o){var a,r,s,c;return(a=t.call(this,"settings",o.settings,null,o)||this).api=e,a.model=i,a.localization=o,a.controlbar=n,a.closeButton=function(t,e,i){var n=Object(u.a)("jw-settings-close",e,i.close,[Object(j.a)("close")]);return n.show(),n.ui.on("keydown",(function(t){var i=t.sourceEvent,n=Object(L.c)(i.key);("Enter"===n||"Right"===n||"Tab"===n&&!i.shiftKey)&&e(t)}),this),t.appendChild(n.element()),n}(a.el.querySelector(".jw-"+a.name+"-topbar-buttons"),a.close,o),a.backButtonTarget=null,a.defaultChild=null,a.topbar=(r=I(a),s=r.closeButton,c=r.el.querySelector(".jw-settings-topbar"),new f.a(c).on("keydown",(function(t){var e,i,n=t.sourceEvent,o=t.target,a=Object(l.l)(o),c=Object(l.o)(o),u=function(e){c?e||c.focus():r.close(t)};switch(Object(L.c)(n.key)){case"Esc":r.close(t);break;case"Left":u();break;case"Right":a&&s.element()&&o!==s.element()&&a.focus();break;case"Tab":n.shiftKey&&u(!0);break;case"Up":case"Down":case"Enter":e=o.getAttribute("name"),!(i=r.children[e])&&e&&r.backButtonTarget&&(i=r.backButtonTarget.children[e]),i&&i.open&&i.open(t)}if(n.stopPropagation(),/13|32|37|38|39|40/.test(n.keyCode))return n.preventDefault(),!1}))),a.onDocumentClick=a.onDocumentClick.bind(I(a)),a.addEventListeners(),a}i=t,(e=n).prototype=Object.create(i.prototype),e.prototype.constructor=e,B(e,i);var o=n.prototype;return o.setupMenu=function(t,e,i,n,o,a){if(!i||i.length<=1)this.removeMenu(t);else{var r=this.children[t];r||(r=new E.a(t,e,this,this.localization)),r.setMenuItems(r.createItems(i,n,a),o);var s=r.categoryButton&&r.categoryButton.element();this.buttonContainer.firstChild===s&&(this.defaultChild=r)}},o.onLevels=function(t,e){var i=this,n={defaultText:this.localization.auto};this.setupMenu("quality",this.localization.hd,e,(function(t){return i.api.setCurrentQuality(t)}),t.get("currentLevel")||0,n)},o.onCurrentLevel=function(t,e){var i=this.children.quality,n=t.get("visualQuality");n&&i&&R(t.get("levels"),n.level,i,e),i.items[e].active||Object(L.d)(i,e)},o.onVisualQuality=function(t,e){var i=this.children.quality;e&&i&&R(t.get("levels"),e.level,i,t.get("currentLevel"))},o.onAudioTracks=function(t,e){var i=this;this.setupMenu("audioTracks",this.localization.audioTracks,e,(function(t){return i.api.setCurrentAudioTrack(t)}),t.get("currentAudioTrack"))},o.onAudioTrackIndex=function(t,e){this.children.audioTracks&&Object(L.d)(this.children.audioTracks,e)},o.onCaptionsList=function(t,e){var i=this,n={defaultText:this.localization.off},o=t.get("captionsIndex");this.setupMenu("captions",this.localization.cc,e,(function(t){return i.api.setCurrentCaptions(t)}),o,n);var a=this.children.captions;if(a&&!a.children.captionsSettings){a.topbar=a.topbar||a.createTopbar(),Object(l.i)(a.topbar);var r=this.localization.captionsStyles,s=new E.a("captionsSettings",r.subtitleSettings,a,this.localization),c=s.open;s.open=function(t){var e=s.visible;c.call(s,t),e||i.trigger("captionStylesOpened")};var u=s.destroy;s.destroy=function(t){a.topbar.parentNode.removeChild(a.topbar),a.topbar=null,a.topbarUI.destroy(),u.call(s,t)};var d=new A.a(this.localization.settings,s.open);a.topbar.appendChild(d.el);var p=t.get("captions");!function e(n){var o=new A.a(i.localization.reset,(function(){i.model.set("captions",Object(h.j)({},P.a)),e(!0)}));o.el.classList.add("jw-settings-reset");var a=[];Object(L.a)(r).forEach((function(e){!n&&p&&p[e.name]?e.val=p[e.name]:e.val=e.defaultVal;var o=e.values.indexOf(e.val);e.currentSelection=e.options[o];var r=new E.a(e.name,e.label,s,i.localization),l=new A.a(e,r.open,z.a),c=r.createItems(e.options,(function(n){var o=l.el.querySelector(".jw-settings-content-item-value");!function(e,n){var o=t.get("captions"),a=e.name,r=e.values[n],s=Object(h.j)({},o);s[a]=r,i.model.set("captions",s)}(e,n),o.innerText=e.options[n]}),null);r.setMenuItems(c,e.values.indexOf(e.val)||0),a.push(l)})),a.push(o),s.setMenuItems(a)}()}},o.onPlaylistItem=function(){this.removeMenu("captions"),this.removeMenu("audioTracks"),this.removeMenu("quality"),this.controlbar.elements.captionsButton.hide(),this.visible&&this.close()},o.onCaptionsIndex=function(t,e){var i=this.children.captions;i&&Object(L.d)(i,e),this.controlbar.toggleCaptionsButtonState(!!e)},o.onPlaybackRates=function(t,e){var i=this;!e&&t&&(e=t.get("playbackRates"));var n=this.localization,o=this.children;if(t.get("supportsPlaybackRate")&&"LIVE"!==t.get("streamType")&&t.get("playbackRateControls")){var a=e.indexOf(t.get("playbackRate")),r={tooltipText:n.playbackRates};this.setupMenu("playbackRates",this.localization.playbackRates,e,(function(t){return i.api.setPlaybackRate(t)}),a,r)}else o.playbackRates&&this.removeMenu("playbackRates")},o.onPlaybackRate=function(t,e){var i=t.get("playbackRates"),n=-1;i&&(n=i.indexOf(e)),Object(L.d)(this.children.playbackRates,n)},o.onPlaybackRateControls=function(t){this.onPlaybackRates(t)},o.onCastActive=function(t,e,i){e!==i&&(e?(this.removeMenu("audioTracks"),this.removeMenu("quality"),this.removeMenu("playbackRates"),this.children.captions&&this.children.captions.removeMenu("captionsSettings")):(this.onAudioTracks(t,t.get("audioTracks")),this.onLevels(t,t.get("levels")),this.onPlaybackRates(t,t.get("playbackRates")),this.onCaptionsList(t,t.get("captionsList"))))},o.onChangeStreamType=function(){this.onPlaybackRates(this.model)},o.onDocumentClick=function(t){/jw-(settings|video|nextup-close|sharing-link|share-item)/.test(t.target.className)||this.close()},o.addEventListeners=function(){var t=this.updateControlbarButtons,e=this.model;this.on("menuAppended menuRemoved",t,this),e.change("levels",this.onLevels,this),e.on("change:currentLevel",this.onCurrentLevel,this),e.on("change:visualQuality",this.onVisualQuality,this),e.change("audioTracks",this.onAudioTracks,this),e.on("change:currentAudioTrack",this.onAudioTrackIndex,this),e.change("captionsList",this.onCaptionsList,this),e.on("change:playlistItem",this.onPlaylistItem,this),e.change("captionsIndex",this.onCaptionsIndex,this),e.change("playbackRates",this.onPlaybackRates,this),e.change("playbackRate",this.onPlaybackRate,this),e.on("change:playbackRateControls",this.onPlaybackRateControls,this),e.on("change:castActive",this.onCastActive,this),e.on("change:streamType",this.onChangeStreamType,this)},o.open=function(t){this.visible||(this.el.parentNode.classList.add("jw-settings-open"),this.trigger("visibility",{visible:!0,evt:t}),document.addEventListener("click",this.onDocumentClick),this.el.setAttribute("aria-expanded","true"),this.visible=!0)},o.close=function(t){this.el.parentNode.classList.remove("jw-settings-open"),this.trigger("visibility",{visible:!1,evt:t}),document.removeEventListener("click",this.onDocumentClick),this.visible=!1,this.openMenus.length&&this.closeChildren();var e,i=Object(L.c)(t&&t.sourceEvent&&t.sourceEvent.key),n=this.controlbar.elements.settingsButton.element();switch(i){case"Right":e=Object(l.l)(n);break;case"Left":e=Object(l.o)(n);break;case"Tab":if(t.shiftKey){e=Object(l.o)(n);break}case"Esc":e=n}e&&e.focus({preventScroll:!event})},o.updateControlbarButtons=function(t){var e=this.children,i=this.controlbar,n=this.model,o=!!e.quality||!!e.playbackRates||!!e.audioTracks||Object.keys(e).length>1;i.elements.settingsButton.toggle(o),e.captions&&i.toggleCaptionsButtonState(!!n.get("captionsIndex"));var a=i.elements[t+"Button"];if(a){var r=!!e[t];a.toggle(r)}},o.destroy=function(){L.b.call(this),document.removeEventListener("click",this.onDocumentClick)},n}(E.a),V=i(89),H=i(43),N=i(14);var q=function(t,e,i,n){var o,a=!1,r=i.get("localization").shortcuts,s=Object(l.f)(function(t,e){return'"}(function(t){var e=t.playPause,i=t.volumeToggle,n=t.fullscreenToggle,o=t.seekPercent,a=t.increaseVolume,r=t.decreaseVolume,s=t.seekForward,l=t.seekBackward;return[{key:t.spacebar,description:e},{key:"↑",description:a},{key:"↓",description:r},{key:"→",description:s},{key:"←",description:l},{key:"c",description:t.captionsToggle},{key:"f",description:n},{key:"m",description:i},{key:"0-9",description:o}]}(r),r.keyboardShortcuts)),c=new f.a(s.querySelector(".jw-switch")),d=function(){c.el.setAttribute("aria-checked",i.get("enableShortcuts")),Object(l.b)(s,"jw-open"),s.querySelector(".jw-shortcuts-close").focus(),document.addEventListener("click",h),a=!0,n(!0)},p=function(){Object(l.p)(s,"jw-open"),document.removeEventListener("click",h),a=!1,n(!1)},h=function(t){var e=t.target;/jw-shortcuts|jw-switch/.test(e.className)||p()},w=function(t){var e=t.currentTarget,n="true"!==e.getAttribute("aria-checked");e.setAttribute("aria-checked",n.toString()),i.set("enableShortcuts",n)};return o=Object(u.a)("jw-shortcuts-close",p,i.get("localization").close,[Object(j.a)("close")]),Object(l.n)(s,o.element()),o.show(),t.appendChild(s),c.on("click",w),{el:s,open:d,close:p,destroy:function(){p(),c.destroy()},toggleVisibility:function(){a?p():d()}}};function U(t,e){return(U=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}var D=function(t){var e,i;function n(e,i){var n;return(n=t.call(this)||this).element=Object(l.f)(function(t){return'
'}(i)),n.element.appendChild(Object(j.a)("close")),n.ui=Object(v.a)(n.element,(function(){n.trigger(a.tb)})),e.appendChild(n.element),n}return i=t,(e=n).prototype=Object.create(i.prototype),e.prototype.constructor=e,U(e,i),n.prototype.destroy=function(){this.element&&(this.ui.destroy(),this.element.parentNode.removeChild(this.element),this.element=null)},n}(r.a);function W(t,e){return(W=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}i(133),i(135);var Z=o.OS.mobile?4e3:2e3,Y=[27];H.a.cloneIcon=j.a,N.a.forEach((function(t){if(t.getState()===a.lb){var e=t.getContainer().querySelector(".jw-error-msg .jw-icon");e&&!e.hasChildNodes()&&e.appendChild(H.a.cloneIcon("error"))}}));var Q=function(t){var e,i;function n(e,i){var n;return(n=t.call(this)||this).activeTimeout=-1,n.inactiveTime=0,n.context=e,n.controlbar=null,n.displayContainer=null,n.backdrop=null,n.enabled=!0,n.instreamState=null,n.keydownCallback=null,n.keyupCallback=null,n.blurCallback=null,n.mute=null,n.nextUpToolTip=null,n.playerContainer=i,n.wrapperElement=i.querySelector(".jw-wrapper"),n.rightClickMenu=null,n.settingsMenu=null,n.shortcutsTooltip=null,n.showing=!1,n.muteChangeCallback=null,n.unmuteCallback=null,n.logo=null,n.div=null,n.dimensions={},n.userInactiveTimeout=function(){var t=n.inactiveTime-Object(c.a)();n.inactiveTime&&t>16?n.activeTimeout=setTimeout(n.userInactiveTimeout,t):n.playerContainer.querySelector(".jw-tab-focus")?n.resetActiveTimeout():n.userInactive()},n}i=t,(e=n).prototype=Object.create(i.prototype),e.prototype.constructor=e,W(e,i);var r=n.prototype;return r.resetActiveTimeout=function(){clearTimeout(this.activeTimeout),this.activeTimeout=-1,this.inactiveTime=0},r.enable=function(t,e){var i=this,n=this.context.createElement("div");n.className="jw-controls jw-reset",this.div=n;var r=this.context.createElement("div");r.className="jw-controls-backdrop jw-reset",this.backdrop=r,this.logo=this.playerContainer.querySelector(".jw-logo");var c=e.get("touchMode");if(this.focusPlayerElement=function(){e.get("isFloating")?i.wrapperElement.querySelector("video").focus({preventScroll:!0}):i.playerContainer.focus({preventScroll:!0})},!this.displayContainer){var h=new p.a(e,t);h.buttons.display.on("click enter",(function(){i.trigger(a.q),i.userActive(1e3),t.playToggle({reason:"interaction"}),i.focusPlayerElement()})),this.div.appendChild(h.element()),this.displayContainer=h}o.OS.mobile||(this.shortcutsTooltip=new q(this.wrapperElement,t,e,(function(t){t||i.focusPlayerElement()}))),this.rightClickMenu=new _(this.shortcutsTooltip),c&&Object(l.b)(this.playerContainer,"jw-flag-touch"),this.rightClickMenu.setup(e,this.playerContainer,this.wrapperElement);var w=e.get("floating");if(w){var f=new D(n,e.get("localization").close);f.on(a.tb,(function(){return i.trigger("dismissFloating",{doNotForward:!0})})),!1!==w.dismissible&&Object(l.b)(this.playerContainer,"jw-floating-dismissible")}var g=this.controlbar=new d.a(t,e,this.playerContainer.querySelector(".jw-hidden-accessibility"));if(g.on(a.tb,(function(){i.off("userInactive",i.focusPlayerElement,i),i.once("userInactive",i.focusPlayerElement,i),i.userActive()})),g.on("nextShown",(function(t){this.trigger("nextShown",t)}),this),g.on("adjustVolume",C,this),e.get("nextUpDisplay")&&!g.nextUpToolTip){var m=new y(e,t,this.playerContainer);m.on("all",this.trigger,this),m.setup(this.context),g.nextUpToolTip=m,this.div.appendChild(m.element())}this.div.appendChild(g.element());var b=e.get("localization"),v=this.settingsMenu=new F(t,e.player,this.controlbar,b),k=null;v.on("menuVisibility",(function(n){var o=n.visible,r=n.evt,s=e.get("state"),l={reason:"settingsInteraction"},c=i.controlbar.elements.settingsButton,u="keydown"===(r&&r.sourceEvent||r||{}).type,d=o||u?0:Z;i.userActive(d),Object(V.a)(e.get("containerWidth"))<2&&(o&&s===a.pb?t.pause(l):o||s!==a.ob||k!==a.pb||t.play(l)),k=s,!o&&u&&c?c.element().focus():r&&i.focusPlayerElement()})),v.on("captionStylesOpened",(function(){return i.trigger("captionStylesOpened")})),g.on("settingsInteraction",(function(t,e,i){if(e)return v.defaultChild.toggle(i,!0);v.children[t].toggle(i)})),o.OS.mobile?this.div.appendChild(v.el):(this.playerContainer.setAttribute("aria-describedby","jw-shortcuts-tooltip-explanation"),this.div.insertBefore(v.el,g.element()));var x=function(e){if(e.get("autostartMuted")){var n=function(){return i.unmuteAutoplay(t,e)},a=function(t,e){e||n()};o.OS.mobile&&(i.mute=Object(u.a)("jw-autostart-mute jw-off",n,e.get("localization").unmute,[Object(j.a)("volume-0")]),i.mute.show(),i.div.appendChild(i.mute.element())),g.renderVolume(!0,e.get("volume")),Object(l.b)(i.playerContainer,"jw-flag-autostart"),e.on("change:autostartFailed",n,i),e.on("change:autostartMuted change:mute",a,i),i.muteChangeCallback=a,i.unmuteCallback=n}};function O(i){var n=0,o=e.get("duration"),a=e.get("position");if("DVR"===e.get("streamType")){var r=e.get("dvrSeekLimit");n=o,o=Math.max(a,-r)}var l=Object(s.a)(a+i,n,o);t.seek(l,{reason:"interaction"})}function C(i){var n=Object(s.a)(e.get("volume")+i,0,100);t.setVolume(n)}e.once("change:autostartMuted",x),x(e);var M=function(n){if(n.ctrlKey||n.metaKey)return!0;var o=!i.settingsMenu||!i.settingsMenu.visible,a=!0===e.get("enableShortcuts"),r=i.instreamState;if(a||-1!==Y.indexOf(n.keyCode)){switch(n.keyCode){case 27:if(e.get("fullscreen"))t.setFullscreen(!1),i.playerContainer.blur(),i.userInactive();else{var s=t.getPlugin("related");s&&s.close({type:"escape"})}i.rightClickMenu.el&&i.rightClickMenu.hideMenuHandler(),e.get("displayStats")&&e.set("displayStats",!1),i.shortcutsTooltip&&i.shortcutsTooltip.close();break;case 13:case 32:if(document.activeElement.classList.contains("jw-switch")&&13===n.keyCode)return!0;t.playToggle({reason:"interaction"});break;case 37:!r&&o&&O(-5);break;case 39:!r&&o&&O(5);break;case 38:o&&C(10);break;case 40:o&&C(-10);break;case 67:var l=t.getCaptionsList().length;if(l){var c=(t.getCurrentCaptions()+1)%l;t.setCurrentCaptions(c)}break;case 77:t.setMute();break;case 70:t.setFullscreen();break;case 191:i.shortcutsTooltip&&i.shortcutsTooltip.toggleVisibility();break;default:if(n.keyCode>=48&&n.keyCode<=59){var u=(n.keyCode-48)/10*e.get("duration");t.seek(u,{reason:"interaction"})}}return/13|32|37|38|39|40/.test(n.keyCode)?(n.preventDefault(),!1):void 0}};this.playerContainer.addEventListener("keydown",M),this.keydownCallback=M;var T=function(t){switch(t.keyCode){case 9:var e=i.playerContainer.contains(t.target)?0:Z;i.userActive(e);break;case 32:t.preventDefault()}};this.playerContainer.addEventListener("keyup",T),this.keyupCallback=T;var S=function(t){i.off("userInactive",i.focusPlayerElement,i);var e=t.relatedTarget||document.querySelector(":focus");e&&(i.playerContainer.contains(e)||i.userInactive())};this.playerContainer.addEventListener("blur",S,!0),this.blurCallback=S;var E=function t(){"jw-shortcuts-tooltip-explanation"===i.playerContainer.getAttribute("aria-describedby")&&i.playerContainer.removeAttribute("aria-describedby"),i.playerContainer.removeEventListener("blur",t,!0)};this.shortcutsTooltip&&(this.playerContainer.addEventListener("blur",E,!0),this.onRemoveShortcutsDescription=E),this.userActive(),this.addControls(),this.addBackdrop(),e.set("controlsEnabled",!0)},r.addControls=function(){this.wrapperElement.appendChild(this.div)},r.disable=function(t){var e=this.nextUpToolTip,i=this.settingsMenu,n=this.controlbar,o=this.rightClickMenu,a=this.shortcutsTooltip,r=this.playerContainer,s=this.div;clearTimeout(this.activeTimeout),this.activeTimeout=-1,this.off(),t.off(null,null,this),t.set("controlsEnabled",!1),s.parentNode&&(Object(l.p)(r,"jw-flag-touch"),s.parentNode.removeChild(s)),n&&n.destroy(),o&&o.destroy(),this.keydownCallback&&r.removeEventListener("keydown",this.keydownCallback),this.keyupCallback&&r.removeEventListener("keyup",this.keyupCallback),this.blurCallback&&r.removeEventListener("blur",this.blurCallback),this.onRemoveShortcutsDescription&&r.removeEventListener("blur",this.onRemoveShortcutsDescription),this.displayContainer&&this.displayContainer.destroy(),e&&e.destroy(),i&&i.destroy(),t.get("displayStats")&&t.set("displayStats",!1),a&&a.destroy(),this.removeBackdrop()},r.controlbarHeight=function(){return this.dimensions.cbHeight||(this.dimensions.cbHeight=this.controlbar.element().clientHeight),this.dimensions.cbHeight},r.element=function(){return this.div},r.resize=function(){this.dimensions={}},r.unmuteAutoplay=function(t,e){var i=!e.get("autostartFailed"),n=e.get("mute");i?n=!1:e.set("playOnViewable",!1),this.muteChangeCallback&&(e.off("change:autostartMuted change:mute",this.muteChangeCallback),this.muteChangeCallback=null),this.unmuteCallback&&(e.off("change:autostartFailed",this.unmuteCallback),this.unmuteCallback=null),e.set("autostartFailed",void 0),e.set("autostartMuted",void 0),t.setMute(n),this.controlbar.renderVolume(n,e.get("volume")),this.mute&&this.mute.hide(),Object(l.p)(this.playerContainer,"jw-flag-autostart"),this.userActive()},r.mouseMove=function(t){var e=this.controlbar.element().contains(t.target),i=this.controlbar.nextUpToolTip&&this.controlbar.nextUpToolTip.element().contains(t.target),n=this.logo&&this.logo.contains(t.target),o=e||i||n?0:Z;this.userActive(o)},r.userActive=function(t){void 0===t&&(t=Z),t>0?(this.inactiveTime=Object(c.a)()+t,-1===this.activeTimeout&&(this.activeTimeout=setTimeout(this.userInactiveTimeout,t))):this.resetActiveTimeout(),this.showing||(Object(l.p)(this.playerContainer,"jw-flag-user-inactive"),this.showing=!0,this.trigger("userActive"))},r.userInactive=function(){clearTimeout(this.activeTimeout),this.activeTimeout=-1,this.settingsMenu.visible||(this.inactiveTime=0,this.showing=!1,Object(l.b)(this.playerContainer,"jw-flag-user-inactive"),this.trigger("userInactive"))},r.addBackdrop=function(){var t=this.instreamState?this.div:this.wrapperElement.querySelector(".jw-captions");this.wrapperElement.insertBefore(this.backdrop,t)},r.removeBackdrop=function(){var t=this.backdrop.parentNode;t&&t.removeChild(this.backdrop)},r.setupInstream=function(){this.instreamState=!0,this.userActive(),this.addBackdrop(),this.settingsMenu&&this.settingsMenu.close(),Object(l.p)(this.playerContainer,"jw-flag-autostart"),this.controlbar.elements.time.element().setAttribute("tabindex","-1")},r.destroyInstream=function(t){this.instreamState=null,this.addBackdrop(),t.get("autostartMuted")&&Object(l.b)(this.playerContainer,"jw-flag-autostart"),this.controlbar.elements.time.element().setAttribute("tabindex","0")},n}(r.a),X=i(136),K=i.n(X),J=i(137),$=i.n(J),G=i(138),tt=i.n(G),et=i(139),it=i.n(et),nt=i(140),ot=i.n(nt),at=i(141),rt=i.n(at),st=i(142),lt=i.n(st),ct=i(143),ut=i.n(ct),dt=i(144),pt=i.n(dt),ht={label:"facebook",src:"http://www.facebook.com/sharer/sharer.php?u=[URL]",svg:K.a,jwsource:"fb"},wt={label:"twitter",src:"http://twitter.com/intent/tweet?url=[URL]",svg:rt.a,jwsource:"twi"},ft={label:"linkedin",src:"https://www.linkedin.com/cws/share?url=[URL]",svg:$.a,jwsource:"lkn"},jt={label:"pinterest",src:"http://pinterest.com/pin/create/button/?url=[URL]",svg:tt.a,jwsource:"pin"},gt={label:"reddit",src:"http://www.reddit.com/submit?url=[URL]",svg:it.a,jwsource:"rdt"},mt={label:"tumblr",src:"http://tumblr.com/widgets/share/tool?canonicalUrl=[URL]",svg:ot.a,jwsource:"tbr"},bt={label:"email",src:"mailto:?body=[URL]",svg:lt.a,jwsource:"em"},vt={label:"link",svg:ut.a,jwsource:"cl"},yt={label:"embed",svg:pt.a,jwsource:"ceb"},kt=i(96),xt=i.n(kt),Ot=!1,Ct=function(t,e,o,a){Object(h.j)(this,r.a);var s,c,u=this,d=[ht,wt,bt];function p(t,e){var i=t.indexOf("MEDIAID");return i>0&&e?t.replace("MEDIAID",e):-1===i?t:void 0}function w(t){o.trigger("settingsInteraction","sharing",!1,t)}function f(){var i=t.getPlaylistItem(),n=d.filter((function(t){return"link"===t.label}))[0];s=function(t){var i=window.location.toString();if(window.top!==window&&(i=document.referrer),e.link){var n=p(e.link,t);i=n||i}return i}(i.mediaid),n?-1===n.src.indexOf(s)&&(n.src=s):d.push(Object(h.j)({src:j(s,vt.jwsource)},vt));var o=d.filter((function(t){return"embed"===t.label}));c=function(t){var i=null;if(e.code){var n=p(e.code,t);i=n||i}return i}(i.mediaid)||e.code,o[0]?o[0].src=decodeURIComponent(c):e.code&&d.push(Object(h.j)({src:decodeURIComponent(c)},yt))}function j(t,e){var i=/([?&]jwsource)=?[^&]*/;if(i.test(t))return t.replace(i,"$1="+e);var n=-1===t.indexOf("?")?"?":"&";return""+t+n+"jwsource="+e}function g(t){u.trigger("click",{method:t})}return function(){if(Array.isArray(e.sites)){var i=[];Object(h.i)(e.sites,(function(t){Object(h.x)(t)&&n[t]?i.push(n[t]):Object(h.w)(t)&&i.push(t)})),d=i}t.addButton(xt.a,a,w,"share","jw-settings-sharing");var r=o.el.querySelector(".jw-settings-sharing");r.setAttribute("aria-haspopup","true"),r.setAttribute("aria-controls","jw-settings-submenu-sharing")}(),this.getShareMethods=function(){return f(),d},this.getHeading=function(){return a},this.onSubmenuToggle=function(t,e){void 0===e&&(e="interaction"),t&&!Ot&&(Ot=!0,i(145)),u.trigger(t?"open":"close",{visible:t,method:e})},this.action=function(e){var i=d[e].label;"embed"!==i&&"link"!==i?function(e){var i=e.src;if(Object(h.t)(i))i(s);else if(null!=i){var n=encodeURIComponent(j(s,e.jwsource||"share")),o=i.replace(/\[URL\]/gi,n);i===o&&(o=i+n),t.pause({reason:"sharing"}),Object(l.m)(o,"_blank",{rel:"noreferrer"}),window.focus()}g(e.label)}(d[e]):g(i)},this.open=function(){o.trigger("sharingApi",!0)},this.close=function(){o.trigger("sharingApi",!1)},this},Mt=function(t,e){var i=Object(l.f)('
');i.querySelector(".jw-icon").appendChild(Object(j.a)("next")),this.el=i,this.skiptext=this.el.querySelector(".jw-skiptext"),this.skipUI=Object(v.a)(this.el,this.skipAd,this),this.model=t,this.skipMessage=t.get("skipText")||"",this.skipMessageCountdown=t.get("skipMessage")||"",this.waitTime=Object(g.d)(t.get("skipOffset")),t.change("duration",(function(i,n){n&&(this.waitTime||(this.waitTime=Object(g.d)(i.get("skipOffset"),n)),this.el.parentNode!==e&&this.waitTime+20?this.updateMessage(this.skipMessageCountdown.replace(/(\b)xx(s?\b)/gi,"$1"+Math.ceil(i)+"$2")):null!==this.waitTime&&(this.updateMessage(this.skipMessage),this.skippable=!0,Object(l.b)(this.el,"jw-skippable"))}),this),e.appendChild(this.el)))}),this)};Object(h.j)(Mt.prototype,r.a,{updateMessage:function(t){Object(l.r)(this.skiptext,t),this.el.setAttribute("aria-label",t)},skipAd:function(){this.skippable&&(this.skipUI.off(),this.trigger(a.e))},destroy:function(){this.model.off(null,null,this),this.skipUI&&this.skipUI.destroy(),this.el&&this.el.parentNode&&this.el.parentNode.removeChild(this.el)}});var Tt=Mt,St=function(t,e,i){this.api=t,this.playerElement=e,this.wrapperElement=i};Object(h.j)(St.prototype,{setup:function(t){var e=this;this.element=Object(l.f)(function(t){return'
'}(t)),this.element.appendChild(Object(j.a)("close")),this.ui=Object(v.a)(this.element,(function(){e.api.remove()}),this),this.wrapperElement.insertBefore(this.element,this.wrapperElement.firstChild),Object(l.b)(this.playerElement,"jw-flag-top")},destroy:function(){this.element&&(this.ui.destroy(),this.wrapperElement.removeChild(this.element),this.element=null)}});var _t=St,Et=function(t){var e=t.label,i=t.src,n=t.options,o=t.displayText,a=t.svg,r=void 0===a?"":a,s=t.icon,l=void 0===s?"":s,c=l?' ':r;return"link"===e||"embed"===e?'":''+c+" "+(o||e)+" "};function At(t,e){return(At=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}var zt=function(t){var e,i;function n(e,i,n){var o;return void 0===n&&(n=Et),(o=t.call(this,e,i,n)||this).content=e,o.el&&e.label?(o.el.setAttribute("aria-label",e.label),o.el.setAttribute("role","button"),o.el.setAttribute("tabindex","0"),o):function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(o)}i=t,(e=n).prototype=Object.create(i.prototype),e.prototype.constructor=e,At(e,i);var o=n.prototype;return o.activate=function(){if("embed"===this.content.label||"link"===this.content.label){var t=this.el.querySelector(".jw-sharing-textarea");if(t.select(),document.execCommand("copy")){var e=t.nextSibling;Object(l.b)(e,"jw-open"),setTimeout((function(){Object(l.p)(e,"jw-open")}),1e3)}else window.prompt("Copy the text below",this.content.src);t.blur()}},o.destroy=function(){this.ui.destroy()},n}(A.a);function Pt(t,e){return(Pt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}var Lt=function(t){var e,i;function n(){return t.apply(this,arguments)||this}i=t,(e=n).prototype=Object.create(i.prototype),e.prototype.constructor=e,Pt(e,i);var o=n.prototype;return o.createCategoryButton=function(){return"sharing"===this.name&&(this.icon=xt.a),t.prototype.createCategoryButton.call(this,this.title)},o.createItems=function(e,i,n,o){return"sharing"===this.name&&(o=zt),t.prototype.createItems.apply(this,[e,i,n,o])},n}(E.a);function It(t,e){return(It=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}var Bt=function(t){var e,i;function n(e,i){var n;return(n=t.call(this,e,i)||this).playerContainer=i,n.sharing=null,n.sharingApi=!1,n.dismissButton=null,n.skipButton=null,n}i=t,(e=n).prototype=Object.create(i.prototype),e.prototype.constructor=e,It(e,i);var o=n.prototype;return o.disable=function(e){t.prototype.disable.call(this,e),this.dismissButton&&(this.dismissButton.destroy(),this.dismissButton=null)},o.enable=function(e,i){var n=this;t.prototype.enable.call(this,e,i),i.change("instream",(function(){n._destroySkipButton()})),i.change("skipButton",(function(t,i){n._destroySkipButton(),i&&(n.skipButton=new Tt(t,n.div),n.skipButton.on(a.e,(function(){t.set("skipButton",!1),e.skipAd()})),n.controlbar.adSkipButton=n.skipButton)}));var o=i.get("localization"),r=i.get("advertising");r&&r.outstream&&r.dismissible&&(this.dismissButton=new _t(e,this.playerContainer,this.playerContainer.querySelector(".jw-top")),this.dismissButton.setup(o.close));var s=i.get("sharing");if(!this.sharing&&s){var l=this.controlbar,c=this.settingsMenu,u=o.sharing;this.sharing=new Ct(e,s,l,u.heading),e.addPlugin("sharing",this.sharing),i.change("playlistItem",(function(){var t=n.sharing.getShareMethods().map((function(t){var e=u[t.label];return e&&(t.displayText=e),t}));c.removeMenu("sharing");var e=new Lt("sharing",o.sharing.heading,c,o),i=e.open,a=e.close,r=o.sharing.copied;e.open=function(t){e.visible||n._onSharingActive(!0),i(t)},e.close=function(t){e.visible&&n._onSharingActive(!1),a(t)},e.setMenuItems(e.createItems(t,n.sharing.action,{copyText:r})),e.el.classList.add("jw-sharing-menu")})),this._addSharingApiEvent(l,c),this.rightClickMenu.enableSharing(this.sharing.open)}},o._destroySkipButton=function(){this.skipButton&&(this.skipButton.destroy(),this.skipButton=null,this.controlbar.adSkipButton=null)},o._addSharingApiEvent=function(t,e){var i=this;t.on("sharingApi",(function(t){var n=e.children.sharing;n&&(i.sharingApi=!0,t&&!n.visible?(e.children.sharing.open(),i.sharing.onSubmenuToggle(!0,"api")):!t&&n.visible&&(e.close(),i.sharing.onSubmenuToggle(!1,"api")))}))},o._onSharingActive=function(t){this.sharingApi?this.sharingApi=!1:this.sharing.onSubmenuToggle(t)},n}(Q);e.default=Bt},,function(t,e,i){"use strict";i.r(e);var n=i(37),o=i(3),a=i(0),r=i(14),s=i(64),l=i(44),c=["notVisible","always","never"];var u=i(55),d=i(59),p=i(23),h=i(56),w=i(2),f=i(9),j=i(42),g=function(){function t(t){this.callback=t}var e=t.prototype;return e.async=function(){for(var t=this,e=arguments.length,i=new Array(e),n=0;n-1&&g.length>1&&i.set("currentLevel",parseInt(j));break;case o.g:i.set(o.g,e.tracks);case o.h:var m=e,b=m.currentTrack,v=m.tracks;b>-1&&v.length>0&&b=Math.max(c,h.a)&&(t.preloadNextItem(),v=!0)}function z(t){var e={};m.tag&&(e.tag=m.tag),this.trigger(o.F,e),P.call(this,t)}function P(t){j={},r&&f+10?t:null,p&&p.model.set("skipOffset",l)}};Object(a.j)(it.prototype,f.a);var nt=it,ot=i(88),at=i(87),rt=function(t){var e=this,i=[],n={},a=0,r=0;function s(t){t.data=t.data||[],t.name=t.label||t.name||t.language;var e=Object(at.a)(t,i.length);if(!t.name){var o=Object(at.b)(t,a);t.name=o.label,a=o.unknownCount}t._id=e,n[e]=t,(i=i.filter((function(t){return t._id!==e}))).push(t)}function l(){for(var t=[{id:"off",label:"Off"}],e=0;e=0&&j>=0&&{top:d,bottom:p,left:h,right:w,width:f,height:j})))return 0;r=r.parentNode}var c,u,d,p,h,w,f,j;var g=o.width*o.height,m=a.width*a.height;return g?m/g:0}(e),window.top!==window.self&&i)?0:i}function dt(t){try{return t.getBoundingClientRect()}catch(t){}}var pt=i(62),ht=i(49),wt=i(89),ft=i(131),jt=i(39),gt=i(7),mt=i(6),bt=i(11),vt=["fullscreenchange","webkitfullscreenchange","mozfullscreenchange","MSFullscreenChange"],yt=function(t,e,i){for(var n=t.requestFullscreen||t.webkitRequestFullscreen||t.webkitRequestFullScreen||t.mozRequestFullScreen||t.msRequestFullscreen,o=e.exitFullscreen||e.webkitExitFullscreen||e.webkitCancelFullScreen||e.mozCancelFullScreen||e.msExitFullscreen,a=!(!n||!o),r=vt.length;r--;)e.addEventListener(vt[r],i);return{events:vt,supportsDomFullscreen:function(){return a},requestFullscreen:function(){n.call(t,{navigationUI:"hide"})},exitFullscreen:function(){null!==this.fullscreenElement()&&o.apply(e)},fullscreenElement:function(){var t=e.fullscreenElement,i=e.webkitCurrentFullScreenElement,n=e.mozFullScreenElement,o=e.msFullscreenElement;return null===t?t:t||i||n||o},destroy:function(){for(var t=vt.length;t--;)e.removeEventListener(vt[t],i)}}},kt=yt.requestFullscreen,xt=yt.requestFullscreen,Ot=i(34);function Ct(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Mt(t,e){return(Mt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}var Tt=function(t){var e,i;function n(e,i){var n;return(n=t.call(this)||this).revertAlternateClickHandlers(),n.domElement=i,n.model=e,n.ui=new Ot.a(i).on("click",n.clickHandler,Ct(n)).on("doubleClick",(function(){this.alternateDoubleClickHandler?this.alternateDoubleClickHandler():this.trigger("doubleClick")}),Ct(n)),n}i=t,(e=n).prototype=Object.create(i.prototype),e.prototype.constructor=e,Mt(e,i);var a=n.prototype;return a.destroy=function(){this.ui&&(this.ui.destroy(),this.ui=null,this.domElement=null,this.model=null,this.revertAlternateClickHandlers())},a.clickHandler=function(t){this.model&&(this.alternateClickHandler?this.alternateClickHandler(t):this.trigger(o.o))},a.element=function(){return this.domElement},a.setAlternateClickHandlers=function(t,e){this.alternateClickHandler=t,this.alternateDoubleClickHandler=e||null},a.revertAlternateClickHandlers=function(){this.alternateClickHandler=null,this.alternateDoubleClickHandler=null},n}(f.a),St=i(94),_t=i(75),Et={linktarget:"_blank",margin:8,hide:!1,position:"top-right"};function At(t){var e,i;Object(a.j)(this,f.a);var n=new Image;this.setup=function(){var r,s;((i=Object(a.j)({},Et,t.get("logo"))).position=i.position||Et.position,i.hide="true"===i.hide.toString(),i.file&&"control-bar"!==i.position)&&(e||(e=Object(gt.f)((r=i.position,s=i.hide,'
'))),t.set("logo",i),n.onload=function(){var n=this.height,o=this.width,a={backgroundImage:'url("'+this.src+'")'};if(i.margin!==Et.margin){var r=/(\w+)-(\w+)/.exec(i.position);3===r.length&&(a["margin-"+r[1]]=i.margin,a["margin-"+r[2]]=i.margin)}var s=.15*t.get("containerHeight"),l=.15*t.get("containerWidth");if(n>s||o>l){var c=o/n;l/s>c?(n=s,o=s*c):(o=l,n=l/c)}a.width=Math.round(o),a.height=Math.round(n),Object(bt.d)(e,a),t.set("logoWidth",a.width)},n.src=i.file,i.link&&(e.setAttribute("tabindex","0"),e.setAttribute("aria-label",t.get("localization").logo)),this.ui=Object(_t.a)(e,(function(){this.trigger(o.A,{link:i.link,linktarget:i.linktarget})}),this))},this.setContainer=function(t){e&&t.appendChild(e)},this.element=function(){return e},this.position=function(){return i.position},this.destroy=function(){n.onload=null,this.ui&&this.ui.destroy()}}var zt=function(){function t(t){this.model=t,this.image=null}var e=t.prototype;return e.setup=function(t){this.el=t,this.hasZoomThumbnail=this.model.get("_abZoomThumbnail"),this.hasZoomThumbnail&&(this.zoomOriginX=Math.ceil(100*Math.random())+"%",this.zoomOriginY=Math.ceil(100*Math.random())+"%",this.model.on("change:viewable",this.pauseZoomThumbnail,this),this.model.on("change:isFloating",this.enableZoomThumbnail,this))},e.setImage=function(t){var e=this.image;e&&(e.onload=null),this.image=null;var i="";"string"==typeof t&&(i='url("'+t+'")',(e=this.image=new Image).src=t),this.hasZoomThumbnail?(this.imageEl=document.createElement("div"),Object(bt.d)(this.imageEl,{backgroundImage:i}),this.el&&this.el.appendChild(this.imageEl),this.enableZoomThumbnail()):Object(bt.d)(this.el,{backgroundImage:i})},e.enableZoomThumbnail=function(){var t=this;this.hasZoomThumbnail&&!this.model.get("isFloating")&&(clearTimeout(this.zoomThumbnailTimeout),this.zoomThumbnailTimeout=setTimeout((function(){t.imageEl&&(t.imageEl.classList.add("jw-ab-zoom-thumbnail"),t.imageEl.style.transformOrigin=t.zoomOriginX+" "+t.zoomOriginY)}),2e3))},e.pauseZoomThumbnail=function(){clearTimeout(this.zoomThumbnailTimeout),this.imageEl&&(this.imageEl.style.animationPlayState=this.model.get("viewable")?"running":"paused")},e.removeZoomThumbnail=function(){clearTimeout(this.zoomThumbnailTimeout),this.imageEl&&this.imageEl.classList.remove("jw-ab-zoom-thumbnail")},e.resize=function(t,e,i){var n,o=this;if("uniform"===i){if(t&&(this.playerAspectRatio=t/e),!this.playerAspectRatio||!this.image||"complete"!==(n=this.model.get("state"))&&"idle"!==n&&"error"!==n&&"buffering"!==n)return;var a=this.image,r=null;if(a){if(0===a.width)return void(a.onload=function(){o.resize(t,e,i)});var s=a.width/a.height;Math.abs(this.playerAspectRatio-s)<.09&&(r="cover")}Object(bt.d)(this.el,{backgroundSize:r})}},e.element=function(){return this.el},e.destroy=function(){this.hasZoomThumbnail&&(this.removeZoomThumbnail(),this.model.off(null,null,this))},t}(),Pt=i(152),Lt=function(t){var e=new zt(t),i=e.setImage.bind(e);return(e=Object(a.j)(e,f.a)).setImage=function(t,n,o,a){if(i(t),n){var r=a._model;new Pt.a("posterItem",e.el,o,a,(function(){e.trigger("videoThumbnailFirstFrame",{feedData:o.feedData,target:o,ui:"poster",viewable:r.get("viewable")})})).init()}},e},It=i(132),Bt=function(){function t(t){this.container=t,this.input=t.querySelector(".jw-media")}var e=t.prototype;return e.disable=function(){var t=this.container;t&&(Object(gt.p)(t,"jw-floating-dragged"),Object(gt.p)(t,"jw-floating-dragging"),Vt(t,"auto")),this.ui&&(this.ui.destroy(),this.ui=null)},e.enable=function(){var t,e,i,n,o,a,r,s,l=this.container,c=this.input,u=0,d=0;this.ui=new Ot.a(c,{preventScrolling:!0}).on("dragStart",(function(i){var n=i.pageX,c=i.pageY,u=window,d=u.innerWidth,p=u.innerHeight,h=l.offsetLeft,w=l.offsetTop,f=l.offsetWidth,j=l.offsetHeight;t=n,e=c,o=-h,a=-w,r=Rt(d,h,f),s=Rt(p,w,j),Object(gt.b)(l,"jw-floating-dragged"),Object(gt.b)(l,"jw-floating-dragging"),Vt(l,"transform")})).on("drag",(function(c){var p=c.pageX,h=c.pageY;i=Ft(u,p,t,r,o),n=Ft(d,h,e,s,a),Object(bt.e)(l,"translate("+i+"px, "+n+"px)")})).on("dragEnd",(function(){Object(gt.p)(l,"jw-floating-dragging"),Vt(l,"auto"),u=i,d=n}))},t}(),Rt=function(t,e,i){return t-e-i},Ft=function(t,e,i,n,o){return Math.max(Math.min(t+e-i,n),o)},Vt=function(t,e){return Object(bt.d)(t,{willChange:e})};function Ht(t,e,i,n){var o={width:e};if(n&&void 0!==i&&t.set("aspectratio",null),!t.get("aspectratio")){var r=i;Object(a.v)(r)&&0!==r&&(r=Math.max(r,44)),o.height=r}return o}var Nt=null,qt={floatingPlayer:Nt};Object.defineProperty(qt,"floatingPlayer",{get:function(){return Nt},set:function(t){if(t!==Nt){Nt=t;var e=Dt.slice();Dt.length=0,e.forEach((function(t){t.startFloating()}))}}});var Ut,Dt=[],Wt=function(t){var e=Dt.indexOf(t);-1!==e&&Dt.splice(e,1)},Zt=function(){function t(t,e,i,n){void 0===n&&(n=k.OS.mobile),this._playerEl=i.player,this._wrapperEl=i.wrapper,this._preview=i.preview,this._model=t,this._floatingUI=new Bt(this._wrapperEl),this._floatingStoppedForever=!1,this._lastIntRatio=0,this._playerBounds=e,this._isMobile=n,this._mobileCheckCanFire=!0,this._inTransition=!1,this._boundThrottledMobileFloatScrollHandler=this.throttledMobileFloatScrollHandler.bind(this),this._boundInitFloatingBehavior=this.initFloatingBehavior.bind(this)}var e=t.prototype;return e.setup=function(){this._model.change("floating",this._boundInitFloatingBehavior)},e.initFloatingBehavior=function(){if(!this._floatingStoppedForever&&(ct.a.removeScrollHandler(this._boundThrottledMobileFloatScrollHandler),Wt(this),this.getFloatingConfig())){var t=this.getFloatMode();"notVisible"===t?this._isMobile?(ct.a.addScrollHandler(this._boundThrottledMobileFloatScrollHandler),this._boundThrottledMobileFloatScrollHandler()):this.checkFloatIntersection():"always"===t?this.startFloating():"never"===t&&this.stopFloating()}},e.updatePlayerBounds=function(t){this._playerBounds=t},e.getFloatingConfig=function(){return this._model.get("floating")},e.getFloatMode=function(){var t=this.getFloatingConfig();return t&&t.mode||"notVisible"},e.resize=function(){this._model.get("isFloating")&&this.updateFloatingSize()},e.fosMobileBehavior=function(){return this._isMobile&&!Object(gt.g)()&&!this._model.get("fullscreen")},e.shouldFloatOnViewable=function(){var t=this._model.get("state");return t!==o.mb&&t!==o.lb&&t!==o.kb},e.startFloating=function(t){var e,i=this,n=this._playerBounds;if(null===this.getFloatingPlayer()){this.setFloatingPlayer(this._playerEl),this.transitionFloating(!0),this._model.set("isFloating",!0),Object(gt.b)(this._playerEl,"jw-flag-floating"),t&&(Object(bt.d)(this._wrapperEl,{transform:"translateY(-"+(62-n.top)+"px)"}),setTimeout((function(){Object(bt.d)(i._wrapperEl,{transform:"translateY(0)",transition:"transform 150ms cubic-bezier(0, 0.25, 0.25, 1)"})}))),setTimeout((function(){i.transitionFloating(!1)}),50);var o=this._preview.el;Object(bt.d)(this._playerEl,{backgroundImage:o.style.backgroundImage}),this.updateFloatingSize(),this._model.get("instreamMode")||this._floatingUI.enable()}else this.getFloatingPlayer()!==this._playerEl&&"always"===this.getFloatMode()&&(e=this,-1===Dt.indexOf(e)&&Dt.push(e))},e.stopFloating=function(t,e){var i=this;if(t&&(this._floatingStoppedForever=!0,ct.a.removeScrollHandler(this._boundThrottledMobileFloatScrollHandler)),this.getFloatingPlayer()===this._playerEl){this.transitionFloating(!0),this.setFloatingPlayer(null),this._model.set("isFloating",!1);var n=this._playerBounds,o=function(){Object(gt.p)(i._playerEl,"jw-flag-floating"),i._model.trigger("forceAspectRatioChange",{}),Object(bt.d)(i._playerEl,{backgroundImage:null}),Object(bt.d)(i._wrapperEl,{maxWidth:null,width:null,height:null,transform:null,transition:null,"transition-timing-function":null}),setTimeout((function(){i.transitionFloating(!1)}),50)};e?(Object(bt.d)(this._wrapperEl,{transform:"translateY(-"+(62-n.top)+"px)","transition-timing-function":"ease-out"}),setTimeout(o,150)):o(),this.disableFloatingUI()}},e.transitionFloating=function(t){this._inTransition=t;var e=this._wrapperEl;Object(bt.d)(e,{display:t?"none":null}),t||this._model.trigger("forceResponsiveListener",{})},e.isInTransition=function(){return this._inTransition},e.updateFloatingSize=function(){var t=this._playerBounds,e=this._model.get("width"),i=this._model.get("height"),n=Ht(this._model,e);if(n.maxWidth=Math.min(400,t.width),!this._model.get("aspectratio")){var o=t.width,r=t.height/o||.5625;Object(a.v)(e)&&Object(a.v)(i)&&(r=i/e),this._model.trigger("forceAspectRatioChange",{ratio:100*r+"%"})}Object(bt.d)(this._wrapperEl,n)},e.enableFloatingUI=function(){this._floatingUI.enable()},e.disableFloatingUI=function(){this._floatingUI.disable()},e.setFloatingPlayer=function(t){qt.floatingPlayer=t},e.getFloatingPlayer=function(){return qt.floatingPlayer},e.destroy=function(){this.getFloatingPlayer()===this._playerEl&&this.setFloatingPlayer(null),this.getFloatingConfig()&&this._isMobile&&ct.a.removeScrollHandler(this._boundThrottledMobileFloatScrollHandler),Wt(this),this._model.off("change:floating",this._boundInitFloatingBehavior)},e.updateFloating=function(t,e){t<.5&&!Object(mt.m)()&&this.shouldFloatOnViewable()?this.startFloating(e):this.stopFloating(!1,e)},e.checkFloatOnScroll=function(){if("notVisible"===this.getFloatMode()){var t=this._model.get("isFloating"),e=this._playerBounds,i=e.top<62,n=window.scrollY||window.pageYOffset,o=i?e.top<=n:e.top<=n+62;!t&&o?this.updateFloating(0,i):t&&!o&&this.updateFloating(1,i)}},e.throttledMobileFloatScrollHandler=function(){var t=this;this.fosMobileBehavior()&&this._model.get("inDom")&&(clearTimeout(this._mobileDebounceTimeout),this._mobileDebounceTimeout=setTimeout(this.checkFloatOnScroll.bind(this),150),this._mobileCheckCanFire&&(this._mobileCheckCanFire=!1,this.checkFloatOnScroll(),setTimeout((function(){t._mobileCheckCanFire=!0}),50)))},e.checkFloatIntersection=function(t){var e="number"==typeof t,i=e?t:this._lastIntRatio;this._canFloat=this._canFloat||i>=.5,!this.getFloatingConfig()||"notVisible"!==this.getFloatMode()||this.fosMobileBehavior()||this._floatingStoppedForever||this._canFloat&&this.updateFloating(i),e&&(this._lastIntRatio=t)},e.updateStyles=function(){!this._floatingStoppedForever&&this.getFloatingConfig()&&"notVisible"===this.getFloatMode()&&this._boundThrottledMobileFloatScrollHandler()},t}(),Yt=i(71);i(155);var Qt=k.OS.mobile,Xt=k.Browser.ie;var Kt=function(t,e){var i,n,r,s,l,c,u=this,d=Object(a.j)(this,f.a,{isSetup:!1,api:t,model:e}),p=e.get("localization"),h=Object(gt.f)((i=e.get("id"),n=p.player,'')),w=h.querySelector(".jw-wrapper"),j=h.querySelector(".jw-media"),g=new Lt(e,t),m=new It.a(e),b=new St.b(e);b.on("all",d.trigger,d);var v=-1,y=-1,x=-1,O=e.get("floating");this.dismissible=O&&O.dismissible;var C,M,T,S={},_=new Zt(e,S,{player:h,wrapper:w,preview:g}),E=null,A=null,z=!1,P=null;function L(){Object(ht.a)(y),y=Object(ht.b)(I)}function I(){d.isSetup&&!_.isInTransition()&&(d.updateBounds(),d.updateStyles(),d.checkResized())}function B(t,i){if(Object(a.v)(t)&&Object(a.v)(i)){var n=Object(wt.a)(t);Object(wt.b)(h,n);var o=n<2;Object(gt.w)(h,"jw-flag-small-player",o),Object(gt.w)(h,"jw-orientation-portrait",i>t)}if(e.get("controls")){var r=function(t){var e=t.get("height");if(t.get("aspectratio"))return!1;if("string"==typeof e&&e.indexOf("%")>-1)return!1;var i=1*e||NaN;return!!(i=isNaN(i)?t.get("containerHeight"):i)&&!!(i&&i<=44)}(e);Object(gt.w)(h,"jw-flag-audio-player",r),e.set("audioMode",r)}}function R(){e.set("visibility",ut(e,h))}function F(t,e){var i={controls:e};e?(Ut=jt.a.controls)?V():(i.loadPromise=Object(jt.b)().then((function(e){Ut=e;var i=t.get("controls");return i&&V(),i})),i.loadPromise.catch((function(t){d.trigger(o.ub,t)}))):d.removeControls(),s&&l&&d.trigger(o.p,i)}function V(){var t=new Ut(document,d.element());d.addControls(t)}function H(t,e,i){e&&!i&&(et(t,t.get("state")),d.updateStyles())}function N(t){A&&A.mouseMove(t)}function q(t){A&&!A.showing&&"IFRAME"===t.target.nodeName&&A.userActive()}function U(t){A&&A.showing&&(t.relatedTarget&&!h.contains(t.relatedTarget)||!t.relatedTarget&&k.Features.iframe)&&A.userActive()}function D(t,e){Object(gt.q)(h,/jw-stretch-\S+/,"jw-stretch-"+e)}function W(t,e){Object(gt.w)(h,"jw-flag-aspect-mode",!!e);var i=h.querySelectorAll(".jw-aspect");Object(bt.d)(i,{paddingTop:e||null}),d.isSetup&&e&&!t.get("isFloating")&&Object(bt.d)(h,Ht(t,t.get("width")))}function Z(i){i.link?(t.pause({reason:"interaction"}),t.setFullscreen(!1),Object(gt.m)(i.link,i.linktarget,{rel:"noreferrer"})):e.get("controls")&&t.playToggle({reason:"interaction"})}this.updateBounds=function(){Object(ht.a)(y);var t=vt(),i=document.body.contains(t),n=Object(gt.d)(t),o=Math.round(n.width),a=Math.round(n.height);if(S=Object(gt.d)(h),_.updatePlayerBounds(S),o===s&&a===l)return s&&l||L(),void e.set("inDom",i);o&&a||s&&l||L(),(o||a||i)&&(e.set("containerWidth",o),e.set("containerHeight",a)),e.set("inDom",i),i&&ct.a.observe(h)},this.updateStyles=function(){var t=e.get("containerWidth"),i=e.get("containerHeight");B(t,i),A&&A.resize(t,i),Q(t,i),b.resize(),_.updateStyles()},this.checkResized=function(){var t=e.get("containerWidth"),i=e.get("containerHeight"),n=e.get("isFloating");if(t!==s||i!==l){this.resizeListener||(this.resizeListener=new Yt.a(w,this,e)),s=t,l=i,d.trigger(o.hb,{width:t,height:i});var a=Object(wt.a)(t);E!==a&&(E=a,d.trigger(o.k,{breakpoint:E}))}n!==c&&(c=n,d.trigger(o.x,{floating:n}),R())},this.responsiveListener=L,this.setup=function(){g.setup(h.querySelector(".jw-preview")),m.setup(h.querySelector(".jw-title")),(r=new At(e)).setup(),r.setContainer(w),r.on(o.A,Z),b.setup(h.id,e.get("captions")),m.element().parentNode.insertBefore(b.element(),m.element()),C=function(t,e,i){var n=new Tt(e,i),a=e.get("controls");n.on({click:function(){if(d.trigger(o.q),vt().focus(),A){if(k.OS.mobile){var i=e.get("state");if(a&&(i===o.mb||i===o.kb||e.get("instream")&&i===o.ob)&&t.playToggle({reason:"interaction"}),a&&i===o.ob){if(e.get("instream")||e.get("castActive")||"audio"===e.get("mediaType"))return;Object(gt.w)(h,"jw-flag-controls-hidden"),d.dismissible&&Object(gt.w)(h,"jw-floating-dismissible",Object(gt.j)(h,"jw-flag-controls-hidden")),b.renderCues(!0)}else A.showing?A.userInactive():A.userActive();return}ot()?A.settingsMenu.close():e.get("displayStats")?e.set("displayStats",!1):t.playToggle({reason:"interaction"})}},doubleClick:function(){return A&&t.setFullscreen()}}),Qt||(h.addEventListener("mousemove",N),h.addEventListener("mouseover",q),h.addEventListener("mouseout",U));return n}(t,e,j),T=new Ot.a(h).on("click",(function(){})),M=function(t,e,i,n){var o=function(){return n.get("ampController")&&!k.OS.iOS&&!k.Browser.safari};return yt.requestFullscreen=function(){if(!o())return kt.call(yt)},yt.exitFullscreen=function(){if(!o())return xt.call(yt)},yt(t,e,i)}(h,document,K,e),e.on("change:hideAdsControls",(function(t,e){Object(gt.w)(h,"jw-flag-ads-hide-controls",e)})),e.on("change:scrubbing",(function(t,e){Object(gt.w)(h,"jw-flag-dragging",e)})),e.on("change:playRejected",(function(t,e){Object(gt.w)(h,"jw-flag-play-rejected",e)})),e.on(o.X,X),e.on("change:"+o.U,(function(){Q(),b.resize()})),e.player.on("change:errorEvent",tt),e.change("stretching",D);var i=e.get("width"),n=e.get("height"),a=Ht(e,i,n);Object(bt.d)(h,a),e.change("aspectratio",W),B(i,n),e.get("controls")||(Object(gt.b)(h,"jw-flag-controls-hidden"),Object(gt.p)(h,"jw-floating-dismissible")),Xt&&Object(gt.b)(h,"jw-ie");var s=e.get("skin")||{};s.name&&Object(gt.q)(h,/jw-skin-\S+/,"jw-skin-"+s.name);var l=Object(ft.c)(s);Object(ft.b)(e.get("id"),l),e.set("mediaContainer",j),e.set("iFrame",k.Features.iframe),e.set("activeTab",Object(pt.a)()),e.set("touchMode",Qt&&("string"==typeof n||n>=44)),ct.a.add(this),e.get("enableGradient")&&!Xt&&Object(gt.b)(h,"jw-ab-drop-shadow"),this.isSetup=!0,e.trigger("viewSetup",h);var c=document.body.contains(h);c&&ct.a.observe(h),e.set("inDom",c),e.on("forceAspectRatioChange",(function(t){var i=t.ratio||e.get("aspectratio");W(e,i)})),e.on("forceResponsiveListener",L),_.setup()},this.init=function(){this.updateBounds(),e.on("change:fullscreen",Y),e.on("change:pip",st),e.on("change:activeTab",R),e.on("change:fullscreen",R),e.on("change:intersectionRatio",R),e.on("change:visibility",H),e.on("instreamMode",(function(t){t?at():rt()})),R(),1!==ct.a.size()||e.get("visibility")||H(e,1,0);var t=e.player;e.change("state",et),t.change("controls",F),e.change("streamType",$),e.change("mediaType",G),t.change("playlistItem",(function(t,e){nt(t,e)})),s=l=null,this.initFloatingBehavior(),this.checkResized()},this.initFloatingBehavior=function(){_.initFloatingBehavior()},this.addControls=function(i){var n=this;A=i,Object(gt.p)(h,"jw-flag-controls-hidden"),Object(gt.w)(h,"jw-floating-dismissible",this.dismissible),i.enable(t,e),l&&(B(s,l),i.resize(s,l),b.renderCues(!0)),i.on("userActive userInactive",(function(){var t=e.get("state");t!==o.pb&&t!==o.jb||b.renderCues(!0)})),i.on("dismissFloating",(function(){n.stopFloating(!0),t.pause({reason:"interaction"})})),i.on("all",d.trigger,d),e.get("instream")&&A.setupInstream()},this.removeControls=function(){A&&(A.disable(e),A=null),Object(gt.b)(h,"jw-flag-controls-hidden"),Object(gt.p)(h,"jw-floating-dismissible")};var Y=function(e,i){if(i&&A&&e.get("autostartMuted")&&A.unmuteAutoplay(t,e),M.supportsDomFullscreen())i?M.requestFullscreen():M.exitFullscreen(),J(h,i);else if(Xt)J(h,i);else{var n=e.get("instream"),o=n?n.provider:null,a=e.getVideo()||o;a&&a.setFullscreen&&a.setFullscreen(i)}};function Q(t,i){if((t&&!isNaN(1*t)||(t=e.get("containerWidth")))&&(i&&!isNaN(1*i)||(i=e.get("containerHeight")))){g&&g.resize(t,i,e.get("stretching"));var n=e.getVideo();n&&n.resize(t,i,e.get("stretching"))}}function X(t){k.OS.mobile&&(Object(gt.w)(h,"jw-flag-ios-fullscreen",t.jwstate),K(t))}function K(t){var i=e.get("fullscreen"),n=void 0!==t.jwstate?t.jwstate:function(){if(M.supportsDomFullscreen()){var t=M.fullscreenElement();return!(!t||t!==h)}return e.getVideo().getFullScreen()}();i!==n&&e.set("fullscreen",n),L(),clearTimeout(v),v=setTimeout(Q,200)}function J(t,e){Object(gt.w)(t,"jw-flag-fullscreen",e),Object(bt.d)(document.body,{overflowY:e?"hidden":""}),e&&A&&A.userActive(),Q(),L()}function $(t,e){var i="LIVE"===e;Object(gt.w)(h,"jw-flag-live",i)}function G(t,e){var i="audio"===e;Object(gt.w)(h,"jw-flag-media-audio",i),i&&t.get("pip")&&t.set("pip",!1);var n=i?j:j.nextSibling;g.el.parentNode.insertBefore(g.el,n)}function tt(t,e){if(e){var i=Object(lt.a)(t,e);lt.a.cloneIcon&&i.querySelector(".jw-icon").appendChild(lt.a.cloneIcon("error")),m.hide(),h.appendChild(i.firstChild),Object(gt.w)(h,"jw-flag-audio-player",!!t.get("audioMode"))}else m.playlistItem(t,t.get("playlistItem"))}function et(t,e,i){if(d.isSetup){if(i===o.lb){var n=h.querySelector(".jw-error-msg");n&&n.parentNode.removeChild(n)}Object(ht.a)(x),e===o.pb?it(e):x=Object(ht.b)((function(){return it(e)}))}}function it(t){switch(e.get("controls")&&t!==o.ob&&Object(gt.j)(h,"jw-flag-controls-hidden")&&(Object(gt.p)(h,"jw-flag-controls-hidden"),Object(gt.w)(h,"jw-floating-dismissible",d.dismissible)),Object(gt.q)(h,/jw-state-\S+/,"jw-state-"+t),t){case o.lb:d.stopFloating();case o.mb:case o.kb:b&&b.hide(),g&&g.enableZoomThumbnail();break;default:b&&(b.show(),t===o.ob&&A&&!A.showing&&b.renderCues(!0)),g&&g.removeZoomThumbnail()}}this.resize=function(t,i){var n=Ht(e,t,i,!0);void 0!==t&&void 0!==i&&(e.set("width",t),e.set("height",i)),Object(bt.d)(h,n),_.resize(),I()},this.resizeMedia=Q,this.setPosterImage=function(t,e){e.setImage(t&&t.image)};var nt=function(t,e){u.setPosterImage(e,g),Qt&&function(t,e){var i=t.get("mediaElement");if(i){var n=Object(gt.k)(e.title||"");i.setAttribute("title",n.textContent)}}(t,e)},ot=function(){var t=A&&A.settingsMenu;return!(!t||!t.visible)},at=function(){Object(gt.b)(h,"jw-flag-ads"),A&&A.setupInstream(),_.disableFloatingUI()},rt=function(){if(C){A&&A.destroyInstream(e),_.getFloatingPlayer()!==h||Object(mt.m)()||_.enableFloatingUI(),d.setAltText(""),Object(gt.p)(h,["jw-flag-ads","jw-flag-ads-hide-controls"]),e.set("hideAdsControls",!1);var t=e.getVideo();t&&t.setContainer(j),C.revertAlternateClickHandlers()}},st=function(t,e){e?d.requestPip():document.pictureInPictureElement&&document.exitPictureInPicture()};function dt(){if(P){var t=P,e=t.video,i=t.enter,n=t.leave;e.removeEventListener("loadedmetadata",i),e.removeEventListener("leavepictureinpicture",n)}}function vt(){return e.get("isFloating")?w:h}this.requestPip=function(t){var i=t||e.get("mediaElement");if(i.requestPictureInPicture){dt();var n=function t(){dt(),i.requestPictureInPicture().then((function(){z||(z=!0,d.trigger("pipEnter",{video:i})),i.addEventListener("leavepictureinpicture",o)})),i.removeEventListener("loadedmetadata",t)},o=function t(){i.removeEventListener("leavepictureinpicture",t),z&&(z=!1,d.trigger("pipLeave",{video:i}),e.set("pip",!1),document.pictureInPictureElement&&document.exitPictureInPicture())};i.readyState?n():i.addEventListener("loadedmetadata",n),P={video:i,enter:n,leave:o}}},this.setAltText=function(t){e.set("altText",t)},this.clickHandler=function(){return C},this.getContainer=this.element=function(){return h},this.getWrapper=function(){return w},this.controlsContainer=function(){return A?A.element():null},this.getSafeRegion=function(t){void 0===t&&(t=!0);var e={x:0,y:0,width:s||0,height:l||0};return A&&t&&(e.height-=A.controlbarHeight()),e},this.setCaptions=function(t){b.clear(),b.setup(e.get("id"),t),b.resize()},this.setIntersection=function(t){var i=Math.round(100*t.intersectionRatio)/100;e.set("intersectionRatio",i),this.checkFloatIntersection(i)},this.checkFloatIntersection=function(t){_.checkFloatIntersection(t)},this.stopFloating=function(t,e){_.stopFloating(t,e)},this.destroy=function(){e.destroy(),g.destroy(),ct.a.unobserve(h),ct.a.remove(this),this.isSetup=!1,this.off(),Object(ht.a)(y),clearTimeout(v),T&&(T.destroy(),T=null),M&&(M.destroy(),M=null),A&&A.disable(e),C&&(C.destroy(),h.removeEventListener("mousemove",N),h.removeEventListener("mouseout",U),h.removeEventListener("mouseover",q),C=null),b.destroy(),r&&(r.destroy(),r=null),Object(bt.a)(e.get("id")),this.resizeListener&&(this.resizeListener.destroy(),delete this.resizeListener),_.destroy()}},Jt=!1,$t=window.$sf,Gt=function(t,e){this.playerElement=t,this.wrapperElement=e};Object(a.j)(Gt.prototype,{setup:function(t){var e=Object(gt.f)(function(t){return''+t+" "}(t));this.wrapperElement.appendChild(e),Object(gt.b)(this.playerElement,"jw-flag-top")}});var te,ee=Gt,ie=i(90),ne=i.n(ie),oe=i(91),ae=i(153),re=function(t,e){var n="free"===e.get("edition");n&&!te&&(i(159),te=!0);var a=new Kt(t,e),r=a.setup;if(a.setPosterImage=function(i,n){var o=Object(ae.a)(i.images);o?(k.OS.mobile||o.reverse(),i.videoThumbnail=o[0].src,n.on("videoThumbnailFirstFrame",(function(e){t.trigger("videoThumbFirstFrame",e)})),n.setImage(i&&i.image,!0,i,e)):n.setImage(i&&i.image)},a.setup=function(){var t=this;(r.call(this),e.get("displayHeading"))&&new ee(a.getContainer(),a.getContainer().querySelector(".jw-top")).setup(e.get("localization").advertising.displayHeading);e.change("castAvailable",(function(e,i){var n=e.get("cast");Object(n)===n&&Object(gt.w)(t.getContainer(),"jw-flag-cast-available",i)}),this),e.change("castActive",(function(e,i){var n=e.get("airplayActive");Object(gt.w)(t.getContainer(),"jw-flag-casting",i||!1),Object(gt.w)(t.getContainer(),"jw-flag-airplay-casting",n||!1)}),this)},n){var s=a.addControls;a.addControls=function(t){s.call(this,t);var e=document.querySelector(".jw-logo-button");if(e){var i=Object(oe.b)(ne.a);e.appendChild(i)}}}var l=e.get("advertising");return l&&l.outstream&&function(t,e){Jt||(Jt=!0,i(157));var n=e.model,a=e.getSafeRegion;e.getSafeRegion=function(t){var e=a.call(this,t);return e.height=this.api.getHeight(),e},n.on("change:mediaState",(function(i,r){if(r===o.nb||r===o.pb){if(n.off("change:mediaState",null,e),$t&&$t.ext&&$t.ext.supports()["exp-push"]){var s=$t.ext.geom(),l=s.exp,c=s.self,u=Math.min(t.getHeight()-c.h,l.yx?1/0:l.b),d=Math.min(t.getWidth()-c.w,l.xs?1/0:l.r);(u>0||d>0)&&$t.ext.expand({b:Math.max(0,u),r:Math.max(0,d),push:!0})}Object(gt.p)(e.getContainer(),"jw-flag-outstream-pending"),e.getSafeRegion=a,e.responsiveListener()}}),e);var r=e.setup;e.setup=function(){r.call(this),Object(gt.b)(this.getContainer(),"jw-flag-outstream jw-flag-outstream-pending")};var s=n.get("advertising");s.dismissible&&(e.dismissible=!0,e.on("dismissFloating",(function(){t.remove()}))),$t&&$t.ext&&t.once(o.gb,(function(){$t.ext.register(t.getWidth(),t.getHeight())})),t.once(o.cb,(function(){e.stopFloating(!0),"close"===s.endstate&&(Object(gt.b)(e.getContainer(),"jw-flag-outstream-close"),$t&&$t.ext&&$t.ext.collapse())}))}(t,a),a};function se(t,e){for(var i=0;i0&&en&&i(t),n=e}),t._onPlayAttempt=function(){this._qoeItem.tick(o.N)},t._onTabVisible=function(t,e){e?t._qoeItem.tick("tabVisible"):t._qoeItem.tick("tabHidden")},t.on("change:activeTab",t._onTabVisible),e.on(o.N,t._onPlayAttempt,t),e.once(o.fb,t._triggerFirstFrame),e.on(o.S,t._onTime)}(t,e),i.on("change:mediaState",(function(e,i,n){i!==n&&(t._qoeItem.end(n),t._qoeItem.start(i))}))}))}var ze=function(){},Pe=function(){};Object(a.j)(ze.prototype,{destroy:function(){var t,e;this.off(),this.stop(),Object(s.b)(this,this.originalContainer),this._view&&this._view.destroy(),this._model&&(t=this._model,e=this._programController,t._onTabVisible&&Ee(t,e),t._qoeItem=t._triggerFirstFrame=t._onTime=t._onPlayAttempt=t._onTabVisible=null,this._model.destroy()),this._apiQueue&&this._apiQueue.destroy(),this._captions&&this._captions.destroy(),this._programController&&this._programController.destroy(),this.instreamDestroy(!0),this._view=this._model=this._apiQueue=this._captions=this._programController=null,this.clearSetupVars&&this.clearSetupVars()},playerSetup:function(t,e,i,n,w,j){var g,v,y,x,O=this,C=this,M=C._model=new E,T=!1,S=!1,_=null,A=m(H),z=m(Pe);C.originalContainer=C.currentContainer=i,C._events=n,C.trigger=function(t,e){var i=function(t,e,i){var n=i;switch(e){case"time":case"beforePlay":case"pause":case"play":case"ready":var o=t.get("viewable");void 0!==o&&(n=Object(a.j)({},i,{viewable:o}))}return n}(M,t,e);return f.a.trigger.call(this,t,i)};var P=new u.a(C,["trigger"],(function(){return!0})),L=function(t,e){C.trigger(t,e)};M.setup(t);var I=M.get("backgroundLoading"),B=new je(M);(g=this._view=new re(e,B)).on("all",(function(t,e){e&&e.doNotForward||L(t,e)}),C),B.on("viewSetup",(function(t){Object(s.b)(O,t)}));var R=this._programController=new Q(M,j,e._publicApi);ht(),R.on("all",L,C).on("subtitlesTracks",(function(t){if(v){v.setSubtitlesTracks(t.tracks);var e=v.getCurrentIndex();e>0&&ut(e,t.tracks)}}),C).on(o.F,(function(){Promise.resolve().then(ct)}),C).on(o.G,C.triggerError,C),Ae(M,R),C.clearSetupVars=function(){P&&P.destroy(),C=R=M=g=A=z=wt=P=null},M.on(o.w,C.triggerError,C),M.on("change:state",(function(t,e,i){Y()||K.call(O,t,e,i)}),this),M.on("change:castState",(function(t,e){C.trigger(o.n,e)})),M.on("change:fullscreen",(function(t,e){C.trigger(o.y,{fullscreen:e}),e&&t.set("playOnViewable",!1)})),M.on("change:volume",(function(t,e){C.trigger(o.V,{volume:e})})),M.on("change:mute",(function(t){C.trigger(o.M,{mute:t.getMute()})})),M.on("change:playbackRate",(function(t,e){C.trigger(o.ab,{playbackRate:e,position:t.get("position")})}));var F=function t(e,i){"clickthrough"===i||"interaction"===i||"external"===i?(M.set("playOnViewable",!1),M.off("change:playReason change:pauseReason",t)):!i&&M.get("autostart")&&"playing"===Y()&&M.set("playReason","autostart")};function V(t,e){Object(a.y)(e)||M.set("viewable",Math.round(e))}function H(){wt&&(!0!==M.get("autostart")||M.get("playOnViewable")||tt("autostart"),wt.flush())}function N(t,e){C.trigger("viewable",{viewable:e}),q()}function q(){if((r.a[0]===e||1===M.get("viewable"))&&"idle"===M.get("state")&&!1===M.get("autostart"))if(!j.primed()&&k.OS.android){var t=j.getTestElement(),i=C.getMute();Promise.resolve().then((function(){return ke(t,{muted:i})})).then((function(){"idle"===M.get("state")&&R.preloadVideo()})).catch(Pe)}else R.preloadVideo()}function U(t){C._instreamAdapter.noResume=!t,t||it({reason:"viewable"})}function D(t){t||(C.pause({reason:"viewable"}),M.set("playOnViewable",!t))}function W(t,e){var i=Y();if(t.get("playOnViewable")){if(e){var n=t.get("autoPause").pauseAds,a=t.get("pauseReason");X()===o.mb?tt("viewable"):i&&!n||"interaction"===a||J({reason:"viewable"})}else k.OS.mobile&&!i&&(C.pause({reason:"autostart"}),M.set("playOnViewable",!0));k.OS.mobile&&i&&U(e)}}function Z(t,e){var i=t.get("state"),n=Y(),a=t.get("playReason");n?t.get("autoPause").pauseAds?D(e):U(e):i===o.pb||i===o.jb?D(e):i===o.mb&&"playlist"===a&&t.once("change:state",(function(){D(e)}))}function Y(){var t=C._instreamAdapter;return!!t&&t.getState()}function X(){var t=Y();return t||M.get("state")}function J(t){if(A.cancel(),S=!1,M.get("state")===o.lb)return Promise.resolve();var i=G(t);M.set("playReason",i);var n=Y();return n?(M.get("autostart")&&"paused"===n&&M.set("playReason","autostart"),C._instreamAdapter.off("state",at,C),e.pauseAd(!1,t),Promise.resolve()):M.get("state")===o.kb?(et(!0),C.setItemIndex(0).then((function(){return $(t,i)}))):$(t,i)}function $(t,e){if(!T&&(T=!0,C.trigger(o.C,{playReason:e,startTime:t&&t.startTime?t.startTime:M.get("playlistItem").starttime}),T=!1,Object(Me.a)()&&!j.primed()&&j.prime(),"playlist"===e&&M.get("autoPause").viewability&&Z(M,M.get("viewable")),x)){if(Object(Me.a)()&&!I){var i=M.get("mediaElement");C._instreamAdapter&&(i.src=""),i.load()}return x=!1,y=null,Promise.resolve()}return R.playVideo(e).then(j.played)}function G(t){return t&&t.reason?t.reason:"unknown"}function tt(t){if(X()===o.mb){A=m(H);var e=M.get("advertising");Oe(j,{cancelable:A,muted:C.getMute(),allowMuted:!e||e.autoplayadsmuted}).then((function(e){return M.set("canAutoplay",e),"autoplayMuted"!==e||C.getMute()||(M.set("autostartMuted",!0),ht(),M.once("change:autostartMuted",(function(t){t.off("change:viewable",W),C.trigger(o.M,{mute:M.getMute()})}))),v&&C.getMute()&&M.get("enableDefaultCaptions")&&v.selectDefaultIndex(1),J({reason:t}).catch((function(){C._instreamAdapter||M.set("autostartFailed",!0),y=null}))})).catch((function(t){if(M.set("canAutoplay","autoplayDisabled"),M.set("autostart",!1),!A.cancelled()){var e=Object(b.A)(t);C.trigger(o.i,{reason:t.reason,code:e,error:t})}}))}}function et(t){if(A.cancel(),wt.empty(),Y()){var e=C._instreamAdapter;return e&&(e.noResume=!0),void(y=function(){return R.stopVideo()})}y=null,!t&&(S=!0),T&&(x=!0),M.set("errorEvent",void 0),R.stopVideo()}function it(t){var e=G(t);M.set("pauseReason",e),M.set("playOnViewable","viewable"===e)}function ot(t){y=null,A.cancel();var i=Y();if(i&&i!==o.ob)return it(t),void(i===o.jb?(C._instreamAdapter.once("state",at,C),C._instreamAdapter.noResume=!0):e.pauseAd(!0,t));switch(M.get("state")){case o.lb:return;case o.pb:case o.jb:it(t),R.pause();break;default:T&&(x=!0)}}function at(){var t=M.get("pauseReason");e.pauseAd(!0,{reason:t})}function rt(t,e){C.instreamDestroy(),et(!0),C.setItemIndex(t),C.play(e)}function lt(t){rt(M.get("item")+1,t)}function ct(){C.completeCancelled()||(y=C.completeHandler,C.shouldAutoAdvance()?C.nextItem():M.get("repeat")?lt({reason:"repeat"}):(k.OS.iOS&&pt(!1),M.set("playOnViewable",!1),M.set("state",o.kb),C.trigger(o.cb,{})))}function ut(t,e){t=parseInt(t,10)||0,M.persistVideoSubtitleTrack(t,e),R.subtitles=t,C.trigger(o.l,{tracks:dt(),track:t})}function dt(){return v?v.getCaptionsList():[]}function pt(t){M.get("pip")&&M.set("pip",!1),Object(a.r)(t)||(t=!M.get("fullscreen")),!M.get("allowFullscreen")&&t||(M.set("fullscreen",t),C._instreamAdapter&&C._instreamAdapter._adModel&&C._instreamAdapter._adModel.set("fullscreen",t))}function ht(){R.setMute(M.getMute()),R.setVolume(M.get("volume"))}M.on("change:playReason change:pauseReason",F),C.on(o.d,(function(t){return F(0,t.playReason)})),C.on(o.c,(function(t){return F(0,t.pauseReason)})),M.on("change:scrubbing",(function(t,e){e?(_=M.get("state")!==o.ob,ot({reason:"interaction"})):_&&J({reason:"interaction"})})),M.on("change:captionsList",(function(t,e){C.trigger(o.m,{tracks:e,track:M.get("captionsIndex")||0})})),M.on("change:mediaModel",(function(t,e){var i=this;t.set("errorEvent",void 0),e.change("mediaState",(function(e,i){var n;t.get("errorEvent")||t.set(o.bb,(n=i)===o.nb||n===o.qb?o.jb:n)}),this),e.change("duration",(function(e,i){if(0!==i){var n=t.get("minDvrWindow"),o=Object(Ce.b)(i,n);t.setStreamType(o)}}),this);var n="autoplay"===(t.get("related")||{}).oncomplete,a=t.get("item")+1,r=t.get("playlist")[a];if(r||n){e.on("change:position",(function t(o,s){if(n&&!r&&(a=-1,r=M.get("nextUp")),r&&!r.daiSetting){var l=e.get("duration");s&&l>0&&s>=l-h.b&&(e.off("change:position",t,i),I?R.backgroundLoad(r,a):R.getAsyncItem(a).run())}}),this)}})),(v=this._captions=new st(M)).on("all",L,C),this.playerReady=function(){g.once(o.hb,(function(){try{!function(){M.change("visibility",V),P.off(),C.trigger(o.gb,{setupTime:0}),M.change("playlist",(function(t,e){if(e.length){var i={playlist:e},n=M.get("feedData");n&&(i.feedData=Object(a.j)({},n)),C.trigger(o.eb,i)}})),M.change("playlistItem",(function(t,e){if(e){var i=e.title,n=e.image;if("mediaSession"in navigator&&window.MediaMetadata&&(i||n))try{navigator.mediaSession.metadata=new window.MediaMetadata({title:i,artist:window.location.hostname,artwork:[{src:n||""}]})}catch(t){}t.set("cues",[]),C.trigger(o.db,{index:M.get("item"),item:e})}})),P.flush(),P.destroy(),P=null,M.change("viewable",N),M.change("viewable",W),M.get("autoPause").viewability?M.change("viewable",Z):M.once("change:autostartFailed change:mute",(function(t){t.off("change:viewable",W)}));H(),M.on("change:itemReady",(function(t,e){e&&(wt.flush(),M.get("pip")&&!C._instreamAdapter&&g.requestPip())}))}()}catch(t){C.triggerError(Object(b.z)(b.p,b.b,t))}})),g.init()},this.preload=q,this.load=function(t,e){var i,n=C._instreamAdapter;switch(n&&(n.noResume=!0),C.trigger("destroyPlugin",{}),et(!0),R.clearItemPromises(),A.cancel(),A=m(H),z.cancel(),Object(Me.a)()&&j.prime(),typeof t){case"string":M.attributes.item=0,M.attributes.itemReady=!1,z=m((function(t){if(t)return C.updatePlaylist(Object(p.a)(t.playlist),t)})),i=function(t){var e=this;return new Promise((function(i,n){var a=new d.a;a.on(o.eb,(function(t){i(t)})),a.on(o.w,n,e),a.load(t)}))}(t).then((function(t){return z.async(t)}));break;case"object":M.attributes.item=0,i=C.updatePlaylist(Object(p.a)(t),e||{});break;case"number":i=C.setItemIndex(t);break;default:return}i.catch((function(t){C.triggerError(Object(b.y)(t,b.d))})),i.then((function(){return A.async()})).catch(Pe)},this.play=function(t){return J(t).catch(Pe)},this.pause=ot,this.seek=function(t,e){var i=M.get("state");if(i!==o.lb){e&&i===o.pb&&M.get("playReason")!==e.reason&&M.set("playReason",e.reason),R.position=t;var n=i===o.mb;M.get("scrubbing")||!n&&i!==o.kb||(n&&((e=e||{}).startTime=t),this.play(e))}},this.stop=et,this.playlistItem=rt,this.playlistNext=lt,this.playlistPrev=function(t){rt(M.get("item")-1,t)},this.setCurrentCaptions=ut,this.setCurrentQuality=function(t){R.quality=t},this.setFullscreen=pt,this.setAllowFullscreen=function(t){M.set("allowFullscreen",t),!t&&M.get("fullscreen")&&C.setFullscreen(!1)},this.setPip=function(t){M.get("fullscreen")&&M.set("fullscreen",!1),Object(a.r)(t)||(t=!M.get("pip")),M.set("pip",t)},this.getCurrentQuality=function(){return R.quality},this.getQualityLevels=function(){return R.qualities},this.setCurrentAudioTrack=function(t){R.audioTrack=t},this.getCurrentAudioTrack=function(){return R.audioTrack},this.getAudioTracks=function(){return R.audioTracks},this.getCurrentCaptions=function(){return v?v.getCurrentIndex():-1},this.getCaptionsList=dt,this.getVisualQuality=function(){var t=this._model.get("mediaModel");return t?t.get(o.U):null},this.getConfig=function(){return this._model?this._model.getConfiguration():void 0},this.getState=X,this.next=Pe,this.completeHandler=ct,this.completeCancelled=function(){return(t=M.get("state"))!==o.mb&&t!==o.kb&&t!==o.lb||!!S&&(S=!1,!0);var t},this.shouldAutoAdvance=function(){return M.get("item")!==M.get("playlist").length-1},this.nextItem=function(){lt({reason:"playlist"})},this.setConfig=function(t){!function(t,e){var i=t._model,n=i.attributes;if(e.height&&(e.height=Object(l.b)(e.height),e.width=e.width||n.width),e.width&&(e.width=Object(l.b)(e.width),e.aspectratio?(n.width=e.width,delete e.width):e.height=n.height),e.width&&e.height&&!e.aspectratio&&t._view.resize(e.width,e.height),e.floating){var o=i.get("floating")||{},r=Object(a.j)({},o,e.floating);-1===c.indexOf(r.mode)?delete e.floating:e.floating=r}Object.keys(e).forEach((function(o){var a=e[o];if(void 0!==a)switch(o){case"aspectratio":i.set(o,Object(l.a)(a,n.width));break;case"autostart":!function(t,e,i){t.setAutoStart(i),"idle"===t.get("state")&&!0===i&&e.play({reason:"autostart"})}(i,t,a);break;case"mute":t.setMute(a);break;case"volume":t.setVolume(a);break;case"playbackRateControls":case"playbackRates":case"repeat":case"stretching":case"floating":i.set(o,a)}}))}(C,t)},this.setItemIndex=function(t){R.stopVideo();var e=M.get("playlist").length,i=Object(p.f)(t,e);return R.setActiveItem(i).catch((function(t){if(t.code===b.a){if(R.asyncItems.reduce((function(t,e){return t&&e.skipped}),!0))throw t;var e=O.shouldAutoAdvance;return O.shouldAutoAdvance=function(){return!1},ct(),M.attributes.itemReady=!0,void(O.shouldAutoAdvance=e)}t.code>=151&&t.code<=162&&(t=Object(b.y)(t,b.f)),O.triggerError(Object(b.z)(b.m,b.e,t))}))},this.detachMedia=function(){if(T&&(x=!0),M.get("autoPause").viewability&&Z(M,M.get("viewable")),!I)return R.setAttached(!1);R.backgroundActiveMedia()},this.attachMedia=function(){I?R.restoreBackgroundMedia():R.setAttached(!0),"function"==typeof y&&y()},this.routeEvents=function(t){return R.routeEvents(t)},this.forwardEvents=function(){return R.forwardEvents()},this.playVideo=function(t){return R.playVideo(t)},this.stopVideo=function(){return R.stopVideo()},this.castVideo=function(t,e){return R.castVideo(t,e)},this.stopCast=function(){return R.stopCast()},this.backgroundActiveMedia=function(){return R.backgroundActiveMedia()},this.restoreBackgroundMedia=function(){return R.restoreBackgroundMedia()},this.preloadNextItem=function(){R.background.currentMedia&&R.preloadVideo()},this.isBeforeComplete=function(){return R.beforeComplete},this.setVolume=function(t){M.setVolume(t),ht()},this.setMute=function(t){M.setMute(t),ht()},this.setPlaybackRate=function(t){M.setPlaybackRate(t)},this.getProvider=function(){return M.get("provider")},this.getWidth=function(){return M.get("containerWidth")},this.getHeight=function(){return M.get("containerHeight")},this.getItemQoe=function(){return M._qoeItem},this.setItemCallback=function(t){R.itemCallback=t},this.getItemPromise=function(t){var e=M.get("playlist");if(t<-1||t>e.length-1||isNaN(t))return null;var i=R.getAsyncItem(t);return i?i.promise:null},this.addButton=function(t,e,i,n,o){var a=M.get("customButtons")||[],r=!1,s={img:t,tooltip:e,callback:i,id:n,btnClass:o};a=a.reduce((function(t,e){return e.id===n?(r=!0,t.push(s)):t.push(e),t}),[]),r||a.unshift(s),M.set("customButtons",a)},this.removeButton=function(t){var e=M.get("customButtons")||[];e=e.filter((function(e){return e.id!==t})),M.set("customButtons",e)},this.resize=g.resize,this.getSafeRegion=g.getSafeRegion,this.setCaptions=g.setCaptions,this.checkBeforePlay=function(){return T},this.setControls=function(t){Object(a.r)(t)||(t=!M.get("controls")),M.set("controls",t),R.controls=t},this.addCues=function(t){this.setCues(M.get("cues").concat(t))},this.setCues=function(t){M.set("cues",t)},this.setPlaylistItem=function(t,e){var i=M.get("playlist"),n=Object(p.f)(t,i.length),o=R.getAsyncItem(n);if(o.replace(e)){var a=i[n];e&&e!==a&&(R.asyncItems[n]=null,o.reject(new Error("Item replaced"))),n===M.get("item")&&"idle"===M.get("state")&&this.setItemIndex(n)}},this.isBeforePlay=this.checkBeforePlay,this.createInstream=function(){return this.instreamDestroy(),this._instreamAdapter=new nt(this,M,g,j),this._instreamAdapter},this.instreamDestroy=function(t){this._instreamAdapter&&(t&&(this._instreamAdapter.noResume=!0),this._instreamAdapter.destroy(),this._instreamAdapter=null)};var wt=this._apiQueue=new u.a(this,["play","pause","setCurrentAudioTrack","setCurrentCaptions","setCurrentQuality","setAllowFullscreen","setFullscreen"],(function(){return!O._model.get("itemReady")||P}));wt.queue.push.apply(wt.queue,w),g&&g.setup()},requestPip:function(t){this._view&&this._view.requestPip(t)},get:function(t){if(t in O.c){var e=this._model.get("mediaModel");return e?e.get(t):O.c[t]}return this._model.get(t)},getContainer:function(){return this.currentContainer||this.originalContainer},getMute:function(){return this._model.getMute()},triggerError:function(t){var e=this._model;t.message=e.get("localization").errors[t.key],delete t.key,e.set("errorEvent",t),e.set("state",o.lb),e.once("change:state",(function(){this.set("errorEvent",void 0)}),e),this.trigger(o.w,t)},updatePlaylist:function(t,e){var i=this._model;try{var n=Object(p.b)(t,i,e);Object(p.e)(n);var o=Object(a.j)({},e);delete o.playlist,i.set("feedData",o),i.set("playlist",n)}catch(t){return Promise.reject(t)}return this.setItemIndex(i.get("item"))}});var Le=ze;var Ie=function(t){var e,i,n=!1;return t&&((i=document.createElement("div")).className="afs_ads ad-placement",i.innerHTML=" ",i.style.width="1px",i.style.height="1px",i.style.position="absolute",i.style.background="transparent",e=i,t.element().appendChild(e)),{onReady:function(){if(n)return!0;(function(){t&&document.body.contains(t.element())&&(null!==e.offsetParent&&"afs_ads ad-placement"===e.className&&""!==e.innerHTML&&0!==e.clientHeight||(n=!0));return n})()&&this.trigger("adBlock")},getAdBlock:function(){return n}}};var Be,Re=i(31),Fe=i(154),Ve=i(8),He=i(58),Ne=i(38);function qe(t,e,n,a){if(function(t,e,i){var n=t.get("related"),o=e.getPlaylist(),a=!(!n||!n.file)||!!i.recommendations;return(o.length>1||a)&&(!1!==t.get("controls")||!n.disableRelated)}(t,e,a))return function(t,e){return i.e(18).then(function(n){if(!t.attributes._destroyed&&!e.getPlugin("related")){var o=new He.a;return o.name="related",o.js=i(311).default,o}}.bind(null,i)).catch(Object(Ve.b)(301129))}(t,e).then((function(i){var o=e.getPlugin("related");if(!o){var a=t.get("related");(o=Object(Ne.a)(i,a,e)).on("nextUp",(function(e){var i=null;e===Object(e)&&((i=Object(I.a)(e)).sources=Object(p.c)(i,t),i.feedType=e.feedType),t.set("nextUp",i)})),o.on("warning",(function(t){n.trigger("warning",t)})),o.setup(t),o.addToPlayer.call(e)}})).catch((function(e){return e.message=e.message||t.get("localization").errors[e.key],delete e.key,n.trigger(o.ub,e),e}))}var Ue=[],De=!1;function We(t,e){De||(setTimeout((function(){Ue.push(function(t,e){var i=Object(a.l)(t.sources,(function(t){return"video/mp4"===t.type}));i||(i=t.sources[0]);var n,o=t.pubdate?new Date(1e3*t.pubdate):null,r=e.getConfig(),s=t.mediaid&&r.pid?"https://cdn.jwplayer.com/players/"+t.mediaid+"-"+r.pid+".html":null,l=e.get("duration");l&&(n="PT"+Math.floor(l/60)+"M"+Math.round(l)%60+"S");return{"@context":"https://schema.org","@type":"VideoObject",name:t.title,description:t.description,thumbnailUrl:t.image,uploadDate:o?o.toISOString():void 0,duration:n,contentUrl:i.file,embedUrl:s?'':void 0}}(t,e))}),750),clearTimeout(Be),Be=setTimeout((function(){var t=document.createElement("script");t.setAttribute("type","application/ld+json"),t.setAttribute("id","__jw-ld-json"),Ue.length>1?t.innerText=JSON.stringify(Ue):t.innerText=JSON.stringify(Ue[0]),document.head.appendChild(t),De=!0}),1e3))}Le.prototype.osPlayerSetup=Le.prototype.playerSetup,Le.prototype.playerSetup=function(t,e,r,s,l,c){var u=this;this.osPlayerSetup(t,e,r,s,l,c);var d,p=this.shouldAutoAdvance,h=this._model,w=this._view,f=this.modelShim,j=Ie(w),g=h.get("advertising");if(f&&f.attributes.ampController){var m=f.attributes.ampController,b=this.playerReady;this.ampController=m,delete f.attributes.ampController,this.playerReady=function(){b.apply(this,arguments),m.ready(h)}}t.analytics&&(t.sdkplatform=t.sdkplatform||t.analytics.sdkplatform),h.once("change:visibility",(function(){j.onReady.call(u)})),this.next=function(t){t=t||{};var i=e.getPlugin("related");y.call(this,i,"nextClick",t.feedShownId,(function(){return i.next(t)}))};var v=this.nextItem;this.nextItem=function(){var t=e.getPlugin("related");y.call(this,t,"nextAutoAdvance"),v.call(this)};var y=function(t,e,i,n){if(t){var o=h.get("nextUp");o&&this.trigger(e,{mode:o.mode,ui:"nextup",feedShownId:i,target:o,itemsShown:[o],feedData:o.feedData}),"function"==typeof n&&n()}};function x(){return d||(d=i.e(9).then(function(t){return new(0,i(314).default)(w,h,e)}.bind(null,i)).catch((function(t){throw t})).catch((function(t){console.error("jwplayer.stats:",t)}))),d}function O(t,i){j.onReady(),qe(h,e,this,i)}this.updatePlaylist=function(t,i){var o=this,a=[];return h.get("mobileSdk")||!function(t){return window.WebGLRenderingContext&&t.some((function(t){return t.stereomode&&t.stereomode.length>0}))}(t)||e.getPlugin("vr")||console.warn("Playlist contains 360° or VR media. JW Player 360°/VR support is now deprecated"),Object(n.b)(t)&&a.push(Object(n.d)(h.get("edition"))),Object(Fe.a)(t,"images","image"),a.length?(h.attributes.itemReady=!1,Promise.all(a).then((function(){return Le.prototype.updatePlaylist.call(o,t,i)}))):Le.prototype.updatePlaylist.call(this,t,i)},this.shouldAutoAdvance=function(){var t=h.get("related"),e=h.get("nextUp");return e&&"playlist"===e.mode?!!t.shouldAutoAdvance:p.call(this)},e.getAdBlock=j.getAdBlock,this.once(o.db,(function(t){h.on("change:playlistItem",O,this);var i=g&&g.outstream;!i&&h.get("cast")?(!(h.get("cast")||{}).customAppId&&Object(n.b)(h.get("playlist"))||M.apply(this),T.apply(this)):S();qe(h,e,this,t.item);h.get("generateSEOMetadata")&&We(t.item,this);this.getContainer().addEventListener("keydown",(function(t){"n"===t.key&&(h.set("displayStats",!h.get("displayStats")),x())}),this),h.on("change:displayStats",(function(t,e){e?x().then((function(t){return t.show()})):!1===e&&x().then((function(t){return t.hide()}))}),this)}),this);var C=function(t){u.trigger(o.ub,t)};function M(){if(window.chrome&&k.Browser.chrome)return function(t,e,n){i.e(13).then(function(n){var o=new(0,i(313).default)(t,e);return t.castToggle=o.castToggle.bind(t._castController),t._castController=o,t.stopCasting=o.stopCasting,o.init()}.bind(null,i)).catch(Object(Ve.c)(301161)).catch(n)}(this,h,C)}function T(){if(window.WebKitPlaybackTargetAvailabilityEvent&&!h.get("playlist").some((function(t){return!Object(Re.b)(t.sources[0])})))return function(t,e,n){return i.e(12).then(function(n){var o=i(310).default;t._airplayController=new o(t,e),t.castToggle=t._airplayController.airplayToggle.bind(t._airplayController)}.bind(null,i)).catch(Object(Ve.c)(301162)).catch(n)}(this,h,C);S()}function S(){var t=h.getVideo();t&&t.video&&(t.video.webkitWirelessVideoPlaybackDisabled=!0)}g&&g.outstream&&function(t,e){var i=t._model,n=t._view,r=!1,s=e.height,l=e.width,c=t.getHeight;t.getHeight=function(){var t=i.get("aspectratio");return t?Math.round(i.get("containerWidth")*parseFloat(t)/100):s};var u,d=t.getWidth;t.getWidth=function(){return Object(a.v)(l)?l:d.call(this)},t.getSafeRegion=function(t){return n.getSafeRegion(t)},t.resize=function(t,e){return n.resize(t,e)},u=n.resize,n.resize=function(t,e){return s=e,l=t,u.call(n,t,e)},i.setAutoStart("viewable"),t.setMute(!0),t.setItemIndex=function(){return i.setActiveItem(0),Promise.resolve()},t.updatePlaylist=function(){return i.set("playlist",[{sources:[{}]}]),i.attributes.itemReady=!0,this.setItemIndex(0)};var p=t.createInstream;t.createInstream=function(){var e=p.call(this);return e.noResume=!0,r=!1,e.on("state",(function(e){var i=e.newstate;i!==o.nb&&i!==o.pb||(t.attachMedia=w,t.getHeight=c,t.getWidth=d,n&&(n.resize=u),r=!0)})),e};var h=t.attachMedia;t.attachMedia=t.playerDestroy;var w=function(){return r||i.set("repeat",!1),i.get("backgroundLoading")||this._programController.mediaPool.clean(),i.set("state",o.kb),this._programController.trigger(o.F,{}),h.call(this)};t._programController.playVideo=function(){return Promise.resolve()}}(this,t)};e.default=Le},,,function(t,e,i){"use strict";i.d(e,"a",(function(){return o}));var n=i(34);function o(t,e,i){return new n.a(t).on("click enter",e,i)}},function(t,e,i){"use strict";i.d(e,"a",(function(){return at})),i.d(e,"b",(function(){return rt}));var n=i(99),o=i.n(n),a=i(100),r=i.n(a),s=i(101),l=i.n(s),c=i(102),u=i.n(c),d=i(103),p=i.n(d),h=i(104),w=i.n(h),f=i(105),j=i.n(f),g=i(106),m=i.n(g),b=i(107),v=i.n(b),y=i(108),k=i.n(y),x=i(109),O=i.n(x),C=i(110),M=i.n(C),T=i(111),S=i.n(T),_=i(112),E=i.n(_),A=i(113),z=i.n(A),P=i(114),L=i.n(P),I=i(86),B=i.n(I),R=i(115),F=i.n(R),V=i(116),H=i.n(V),N=i(117),q=i.n(N),U=i(118),D=i.n(U),W=i(119),Z=i.n(W),Y=i(120),Q=i.n(Y),X=i(121),K=i.n(X),J=i(122),$=i.n(J),G=i(123),tt=i.n(G),et=i(90),it=i.n(et),nt=i(79),ot=null;function at(t){var e=ct().querySelector(st(t));return e?lt(e):null}function rt(t){var e=ct().querySelectorAll(t.split(",").map(st).join(","));return Array.prototype.map.call(e,(function(t){return lt(t)}))}function st(t){return".jw-svg-icon-"+t}function lt(t){return t.cloneNode(!0)}function ct(){return ot||(ot=Object(nt.a)(""+o.a+r.a+l.a+u.a+p.a+w.a+j.a+m.a+v.a+k.a+O.a+M.a+S.a+E.a+z.a+L.a+B.a+F.a+H.a+q.a+D.a+K.a+$.a+Z.a+Q.a+tt.a+it.a+" ")),ot}},function(t,e,i){"use strict";var n=i(79),o=i(36),a=i(75);e.a=function(t,e,i,r){var s=document.createElement("div");s.className="jw-icon jw-icon-inline jw-button-color jw-reset "+t,s.setAttribute("role","button"),s.setAttribute("tabindex","0"),i&&s.setAttribute("aria-label",i),s.style.display="none";var l=Object(a.a)(s,e||o.a.noop);return r&&Array.prototype.forEach.call(r,(function(t){"string"==typeof t?s.appendChild(Object(n.a)(t)):s.appendChild(t)})),{ui:l,element:function(){return s},toggle:function(t){t?this.show():this.hide()},show:function(){s.style.display=""},hide:function(){s.style.display="none"}}}},function(t,e,i){"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var i=function(t,e){var i=t[1]||"",n=t[3];if(!n)return i;if(e&&"function"==typeof btoa){var o=(r=n,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */"),a=n.sources.map((function(t){return"/*# sourceURL="+n.sourceRoot+t+" */"}));return[i].concat(a).concat([o]).join("\n")}var r;return[i].join("\n")}(e,t);return e[2]?"@media "+e[2]+"{"+i+"}":i})).join("")},e.i=function(t,i){"string"==typeof t&&(t=[[null,t,""]]);for(var n={},o=0;o0&&(o=0),i.length>o+1&&i[o+1]){var a=i[o],r=a.indexOf(" --\x3e ");r>0&&(e.begin=Object(n.g)(a.substr(0,r)),e.end=Object(n.g)(a.substr(r+5)),e.text=i.slice(o+1).join("\r\n"))}return e}},function(t,e,i){"use strict";function n(t){return new Promise((function(e,i){if(t.paused)return i(o("NotAllowedError",0,"play() failed."));var n=function(){t.removeEventListener("play",a),t.removeEventListener("playing",r),t.removeEventListener("pause",r),t.removeEventListener("abort",r),t.removeEventListener("error",r)},a=function(){t.addEventListener("playing",r),t.addEventListener("abort",r),t.addEventListener("error",r),t.addEventListener("pause",r)},r=function(t){if(n(),"playing"!==t.type){var a='The play() request was interrupted by a "'+t.type+'" event.';return"error"===t.type?i(o("NotSupportedError",9,a)):i(o("AbortError",20,a))}e()};t.addEventListener("play",a)}))}function o(t,e,i){var n=new Error(i);return n.name=t,n.code=e,n}i.d(e,"a",(function(){return n}))},function(t,e,i){"use strict";i.d(e,"a",(function(){return c})),i.d(e,"c",(function(){return u})),i.d(e,"b",(function(){return h})),i.d(e,"d",(function(){return w}));var n,o,a=["#ffffff","#000000","#ff0000","#00ff00","#0000ff","#ffff00","ff00ff","#00ffff"],r=["Arial","Courier","Georgia","Impact","Lucida Console","Tahoma","Times New Roman","Trebuchet MS","Verdana"],s=["100%","75%","50%","25%","0%"],l=[100,75,50,25,0],c=function(t){return[{name:"color",label:t.color,options:n||d(t),values:a,defaultVal:"#ffffff"},{name:"fontOpacity",label:t.fontOpacity,options:["100%","75%","25%"],values:[100,75,25],defaultVal:100},{name:"userFontScale",label:t.userFontScale,options:["200%","175%","150%","125%","100%","75%","50%"],values:[2,1.75,1.5,1.25,1,.75,.5],defaultVal:1},{name:"fontFamily",label:t.fontFamily,options:r,values:r,defaultVal:"Arial"},{name:"edgeStyle",label:t.edgeStyle,options:o||p(t),values:["none","raised","depressed","uniform","dropShadow"],defaultVal:"none"},{name:"backgroundColor",label:t.backgroundColor,options:n||d(t),values:a,defaultVal:"#000000"},{name:"backgroundOpacity",label:t.backgroundOpacity,options:s,values:l,defaultVal:50},{name:"windowColor",label:t.windowColor,options:n||d(t),values:a,defaultVal:"#000000"},{name:"windowOpacity",label:t.windowOpacity,options:["100%","75%","50%","25%","0%"],values:l,defaultVal:0}]},u=function(t){return t&&t.replace(/(Arrow|ape)/,"")},d=function(t){var e=t.white,i=t.black,o=t.red,a=t.green,r=t.blue,s=t.yellow,l=t.magenta,c=t.cyan;return n=[e,i,o,a,r,s,l,c]},p=function(t){var e=t.none,i=t.raised,n=t.depressed,a=t.uniform,r=t.dropShadow;return o=[e,i,n,a,r]};function h(){var t=this;Object.keys(this.children).map((function(e){t.children[e].destroy()})),this.model&&(this.model.off(null,null,this),delete this.model),this.off()}function w(t,e){t&&e>-1&&(t.items.forEach((function(t){t.deactivate()})),t.items[e].activate())}},function(t,e,i){"use strict";var n=window.VTTCue;function o(t){if("string"!=typeof t)return!1;return!!{start:!0,middle:!0,end:!0,left:!0,right:!0}[t.toLowerCase()]&&t.toLowerCase()}if(!n){(n=function(t,e,i){var n=this;n.hasBeenReset=!1;var a="",r=!1,s=t,l=e,c=i,u=null,d="",p=!0,h="auto",w="start",f="auto",j=100,g="middle";Object.defineProperty(n,"id",{enumerable:!0,get:function(){return a},set:function(t){a=""+t}}),Object.defineProperty(n,"pauseOnExit",{enumerable:!0,get:function(){return r},set:function(t){r=!!t}}),Object.defineProperty(n,"startTime",{enumerable:!0,get:function(){return s},set:function(t){if("number"!=typeof t)throw new TypeError("Start time must be set to a number.");s=t,this.hasBeenReset=!0}}),Object.defineProperty(n,"endTime",{enumerable:!0,get:function(){return l},set:function(t){if("number"!=typeof t)throw new TypeError("End time must be set to a number.");l=t,this.hasBeenReset=!0}}),Object.defineProperty(n,"text",{enumerable:!0,get:function(){return c},set:function(t){c=""+t,this.hasBeenReset=!0}}),Object.defineProperty(n,"region",{enumerable:!0,get:function(){return u},set:function(t){u=t,this.hasBeenReset=!0}}),Object.defineProperty(n,"vertical",{enumerable:!0,get:function(){return d},set:function(t){var e=function(t){return"string"==typeof t&&(!!{"":!0,lr:!0,rl:!0}[t.toLowerCase()]&&t.toLowerCase())}(t);if(!1===e)throw new SyntaxError("An invalid or illegal string was specified.");d=e,this.hasBeenReset=!0}}),Object.defineProperty(n,"snapToLines",{enumerable:!0,get:function(){return p},set:function(t){p=!!t,this.hasBeenReset=!0}}),Object.defineProperty(n,"line",{enumerable:!0,get:function(){return h},set:function(t){if("number"!=typeof t&&"auto"!==t)throw new SyntaxError("An invalid number or illegal string was specified.");h=t,this.hasBeenReset=!0}}),Object.defineProperty(n,"lineAlign",{enumerable:!0,get:function(){return w},set:function(t){var e=o(t);if(!e)throw new SyntaxError("An invalid or illegal string was specified.");w=e,this.hasBeenReset=!0}}),Object.defineProperty(n,"position",{enumerable:!0,get:function(){return f},set:function(t){if(t<0||t>100)throw new Error("Position must be between 0 and 100.");f=t,this.hasBeenReset=!0}}),Object.defineProperty(n,"size",{enumerable:!0,get:function(){return j},set:function(t){if(t<0||t>100)throw new Error("Size must be between 0 and 100.");j=t,this.hasBeenReset=!0}}),Object.defineProperty(n,"align",{enumerable:!0,get:function(){return g},set:function(t){var e=o(t);if(!e)throw new SyntaxError("An invalid or illegal string was specified.");g=e,this.hasBeenReset=!0}}),n.displayState=void 0}).prototype.getCueAsHTML=function(){return window.WebVTT.convertCueToDOMTree(window,this.text)}}e.a=n},function(t,e,i){"use strict";i.d(e,"a",(function(){return s})),i.d(e,"b",(function(){return l}));var n=i(7),o=i(95),a=i(75);function r(t,e){return(r=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}var s=function(){function t(t,e,i){void 0===i&&(i=o.c),this.el=Object(n.f)(i(t)),this.ui=Object(a.a)(this.el,e,this)}return t.prototype.destroy=function(){this.el.parentNode&&this.el.parentNode.removeChild(this.el),this.ui.destroy()},t}(),l=function(t){var e,i;function a(e,i,n){return void 0===n&&(n=o.b),t.call(this,e,i,n)||this}i=t,(e=a).prototype=Object.create(i.prototype),e.prototype.constructor=e,r(e,i);var s=a.prototype;return s.activate=function(){this.active||(Object(n.w)(this.el,"jw-settings-item-active",!0),this.el.setAttribute("aria-checked","true"),this.active=!0)},s.deactivate=function(){this.active&&(Object(n.w)(this.el,"jw-settings-item-active",!1),this.el.setAttribute("aria-checked","false"),this.active=!1)},a}(s)},function(t,e,i){"use strict";function n(t,e){return t!==1/0&&Math.abs(t)>=Math.max(a(e),0)}function o(t,e){var i="VOD";return t===1/0?i="LIVE":t<0&&(i=n(t,a(e))?"DVR":"LIVE"),i}function a(t){return void 0===t?120:Math.max(t,0)}i.d(e,"a",(function(){return n})),i.d(e,"b",(function(){return o}))},function(t,e){t.exports=' '},function(t,e,i){"use strict";function n(t,e){var i=t.kind||"cc";return t.default||t.defaulttrack?"default":t._id||t.file||i+e}function o(t,e){var i=t.label||t.name||t.language;return i||(i="Unknown CC",(e+=1)>1&&(i+=" ["+e+"]")),{label:i,unknownCount:e}}i.d(e,"a",(function(){return n})),i.d(e,"b",(function(){return o}))},function(t,e,i){"use strict";var n=i(83),o=i(8),a=i(27),r=i(4),s=i(80),l=i(2),c=i(1);function u(t){throw new c.q(null,t)}function d(t,e,n){t.xhr=Object(a.b)(t.file,(function(a){!function(t,e,n,a){var d,p,w=t.responseXML?t.responseXML.firstChild:null;if(w)for("xml"===Object(r.b)(w)&&(w=w.nextSibling);w&&w.nodeType===w.COMMENT_NODE;)w=w.nextSibling;try{if(w&&"tt"===Object(r.b)(w)){if(!t.responseXML)throw new Error("Empty XML response");d=function(t){t||u(306007);var e=[],i=t.getElementsByTagName("p"),n=30,o=t.getElementsByTagName("tt");if(o&&o[0]){var a=parseFloat(o[0].getAttribute("ttp:frameRate")||"");isNaN(a)||(n=a)}i||u(306005),i.length||(i=t.getElementsByTagName("tt:p")).length||(i=t.getElementsByTagName("tts:p"));for(var r=0;r\s+<").replace(/(<\/?)tts?:/g,"$1").replace(/ /g,"\r\n");if(w){var f=s.getAttribute("begin")||"",j=s.getAttribute("dur")||"",g=s.getAttribute("end")||"",m={begin:Object(l.g)(f,n),text:w};g?m.end=Object(l.g)(g,n):j&&(m.end=(m.begin||0)+Object(l.g)(j,n)),e.push(m)}}return e.length||u(306005),e}(t.responseXML),p=h(d),delete e.xhr,n(p)}else{var f=t.responseText;f.indexOf("WEBVTT")>=0?i.e(19).then(function(t){return i(168).default}.bind(null,i)).catch(Object(o.c)(301131)).then((function(t){var i=new t(window);p=[],i.oncue=function(t){p.push(t)},i.onflush=function(){delete e.xhr,n(p)},i.parse(f)})).catch((function(t){delete e.xhr,a(Object(c.z)(null,c.c,t))})):(d=Object(s.a)(f),p=h(d),delete e.xhr,n(p))}}catch(t){delete e.xhr,a(Object(c.z)(null,c.c,t))}}(a,t,e,n)}),(function(t,e,i,o){n(Object(c.y)(o,c.c))}))}function p(t){t&&t.forEach((function(t){var e=t.xhr;e&&(e.onload=null,e.onreadystatechange=null,e.onerror=null,"abort"in e&&e.abort()),delete t.xhr}))}function h(t){return t.map((function(t){return new n.a(t.begin,t.end,t.text)}))}i.d(e,"b",(function(){return d})),i.d(e,"a",(function(){return p}))},function(t,e,i){"use strict";i.d(e,"a",(function(){return o})),i.d(e,"b",(function(){return a}));var n=i(7);function o(t){var e=-1;return t>=1280?e=7:t>=960?e=6:t>=800?e=5:t>=640?e=4:t>=540?e=3:t>=420?e=2:t>=320?e=1:t>=250&&(e=0),e}function a(t,e){var i="jw-breakpoint-"+e;Object(n.q)(t,/jw-breakpoint--?\d+/,i)}},function(t,e){t.exports=' '},function(t,e,i){"use strict";i.d(e,"b",(function(){return s}));var n=i(11),o=i(79),a=i(75),r={};function s(t){if(!r[t]){var e=Object.keys(r);e.length>10&&delete r[e[0]];var i=Object(o.a)(t);r[t]=i}return r[t].cloneNode(!0)}var l=function(){function t(t,e,i,o,r){var l,c=document.createElement("div");c.className="jw-icon jw-icon-inline jw-button-color jw-reset "+(r||""),c.setAttribute("button",o),c.setAttribute("role","button"),c.setAttribute("tabindex","0"),e&&c.setAttribute("aria-label",e),t&&"'},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=''},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e,i){var n=i(146);"string"==typeof n&&(n=[["all-players",n,""]]),i(41).style(n,"all-players"),n.locals&&(t.exports=n.locals)},function(t,e,i){(t.exports=i(78)(!1)).push([t.i,'.jw-settings-content-item .jw-svg-icon{margin-right:1em;height:16px;width:16px;padding:0}.jw-settings-content-item .jw-tooltip{bottom:12px;left:50px;width:60px}.jw-settings-content-item .jw-tooltip.jw-open{transition:none}.jw-sharing-link{display:flex;align-items:center;line-height:16px;text-transform:capitalize}.jw-sharing-link:hover,.jw-sharing-link:focus{text-decoration:none}.jw-sharing-copy:after{background-color:#fff;border-radius:50px;bottom:20px;color:#000;content:"Copied";display:block;font-size:13px;font-weight:bold;opacity:0;margin-left:-25px;left:50%;position:absolute;text-align:center;-webkit-transform:translateY(10px);transform:translateY(10px);transition:all 200ms ease-in-out;visibility:hidden;width:60px}.jw-sharing-copy-textarea-copied:after{opacity:1;-webkit-transform:translateY(0);transform:translateY(0);visibility:visible}.jw-sharing-copy .jw-sharing-link{padding:0}.jw-sharing-copy .jw-sharing-link:hover,.jw-sharing-copy .jw-sharing-link:focus{color:#fff}.jw-sharing-link:focus,.jw-sharing-copy:focus{outline:none}.jw-sharing-link:active,.jw-sharing-copy:active{color:#fff;font-weight:bold}.jw-sharing-textarea{display:flex;opacity:0;height:1px;cursor:pointer}',""])},,,,,,function(t,e,i){"use strict";i.d(e,"a",(function(){return l}));var n=i(7),o=i(5),a=i(49),r=i(60),s=i(81),l=function(){function t(t,e,i,n,o){this.hoverElement=e,this.item=i,this.model=n,this.onView=o,this.type=t,this.container=null,this.played=!1,this.seeking=!1,this.completed=!1,this.src=i.videoThumbnail,this.video=Object(r.a)({class:"jw-reset jw-video-thumbnail"}),this.video.muted=!0,this.onPlay=this.onPlay.bind(this),this.onPause=this.onPause.bind(this),this.onEnded=this.onEnded.bind(this),this.onError=this.onError.bind(this)}var e=t.prototype;return e.adapt=function(){var t=this.video;switch(this.type){case"overlayItem":this.container=this.hoverElement.querySelector(".jw-related-item-poster"),this.container&&this.container.parentElement&&!this.hoverElement.className.match(/jw-related-item-next-up/)&&(this.hoverElement=this.container.parentElement);break;case"widgetItem":this.container=this.hoverElement.querySelector(".jw-related-shelf-item-image");break;case"shelfItem":break;case"posterItem":t.setAttribute("loop","")}this.container||(this.container=Object(n.f)('
'))},e.onPlay=function(){var t=this.video;return this.src?(Object(n.b)(this.video,"jw-video-thumbnail-visible"),t&&!t.src&&(t.src=this.src,t.load()),this.completed&&(t.currentTime=0,Object(n.p)(t,"jw-video-thumbnail-completed"),this.completed=!1),o.OS.iOS?Promise.resolve(this.seekPlay()):this.asyncPlay()):this.destroy()},e.onPause=function(){Object(n.p)(this.video,"jw-video-thumbnail-visible"),this.seeking=!1,this.video.pause()},e.onEnded=function(){"posterItem"!==this.type&&Object(n.b)(this.video,"jw-video-thumbnail-completed"),this.completed=!0,this.seeking=!1},e.onFirstFrame=function(){this.played=!0,"function"==typeof this.onView&&this.onView(this.item)},e.onError=function(){this.destroy()},e.onViewPoster=function(t,e){if(e)return this.onPlay();this.onPause()},e.asyncPlay=function(){var t=this,e=this.video;return(e.play()||Object(s.a)(e)).then((function(){t.played||t.onFirstFrame()})).catch((function(e){if(20!==e.code)return 9!==e.code&&"Failed to load because no supported source was found."!==e.message?t.seekPlay():void t.destroy()}))},e.seekPlay=function(){var t=this,e=this.video,i=e.hasAttribute("loop"),n=this.seek=function(o){if(t.seeking){if(!e.duration)return Object(a.b)(n);r||(r=o);var s=(o-r)/1e3;i?s%=e.duration:s=Math.min(s,e.duration),e.currentTime=s,e.duration>s||i?Object(a.b)(n):t.onEnded()}},o=this.handleSeek=function(){t.onFirstFrame(),t.video.removeEventListener("seeked",o)},r=0;this.played||this.video.addEventListener("seeked",o),this.seeking=!0,Object(a.b)(n)},e.addEventListeners=function(){"posterItem"===this.type?(this.model.once("change:state",this.destroy,this),this.model.on("change:viewable",this.onViewPoster,this)):(o.OS.mobile||(this.hoverElement.addEventListener("mouseenter",this.onPlay),this.hoverElement.addEventListener("mouseleave",this.onPause)),this.video.addEventListener("ended",this.onEnded)),this.video.addEventListener("error",this.onError)},e.removeEventListeners=function(){"posterItem"===this.type?(this.model.off("change: state",this.destroy,this),this.model.off("change:viewable",this.onViewPoster,this)):(o.OS.mobile||(this.hoverElement.removeEventListener("mouseenter",this.onPlay),this.hoverElement.removeEventListener("mouseleave",this.onPause)),this.video.removeEventListener("ended",this.onEnded)),this.video.removeEventListener("error",this.onError),this.handleSeek&&this.video.removeEventListener("seeked",this.handleSeek)},e.init=function(){this.adapt(this.hoverElement.className),Object(n.b)(this.container,"jw-video-thumbnail-container"),"widgetItem"===this.type?Object(n.n)(this.container,this.video):this.container.appendChild(this.video),this.container.parentElement&&"posterItem"!==this.type?"shelfItem"===this.type&&Object(n.n)(this.hoverElement,this.container):this.hoverElement.appendChild(this.container),this.addEventListeners(),"posterItem"===this.type&&this.model.get("viewable")&&this.onViewPoster(null,!0)},e.isDestroyed=function(){return!this.video},e.destroy=function(){this.isDestroyed()||(this.removeEventListeners(),this.seeking=!1,this.seek&&Object(a.a)(this.seek),this.onPause(),this.video.removeAttribute("src"),this.video.load(),this.container.removeChild(this.video),this.video=null,this.container.className.match(/jw-video-thumbnail-generated/)?this.container.parentNode.removeChild(this.container):Object(n.p)(this.container,"jw-video-thumbnail-container"),this.container=null)},t}()},function(t,e,i){"use strict";i.d(e,"a",(function(){return n}));var n=function(t){if(t&&t.length){var e=t.filter((function(t){return t.type&&t.type.match(/video/)}));if(e&&e.length)return e}return!1}},function(t,e,i){"use strict";i.d(e,"a",(function(){return a}));var n,o=i(53);function a(t,e,i){var a=function(){try{n=window.localStorage.jwplayerLocalId}catch(t){}return n=n||Object(o.b)(12)}();t.forEach((function(t){var n=t.variations;if(n&&n[e]){n.selected=n.selected||{};var o=function(t,e){for(var i=function(t){for(var e=1794770992,i=0,n=t.length;i>>0}(t)%2520,n=e.reduce((function(t,e){return t+e.weight}),0),o=0,a=0;ai)return r}}(a,n[e]),r=o[i];r&&(t[i]=r,n.selected[e]=o)}}))}},function(t,e,i){var n=i(156);"string"==typeof n&&(n=[["all-players",n,""]]),i(41).style(n,"all-players"),n.locals&&(t.exports=n.locals)},function(t,e,i){(t.exports=i(78)(!1)).push([t.i,'.jw-reset{text-align:left;direction:ltr}.jw-reset-text,.jw-reset{color:inherit;background-color:transparent;padding:0;margin:0;float:none;font-family:Arial,Helvetica,sans-serif;font-size:1em;line-height:1em;list-style:none;text-transform:none;vertical-align:baseline;border:0;font-variant:inherit;font-stretch:inherit;-webkit-tap-highlight-color:rgba(255,255,255,0)}body .jw-error,body .jwplayer.jw-state-error{height:100%;width:100%}.jw-title{position:absolute;top:0}.jw-background-color{background:rgba(0,0,0,0.4)}.jw-text{color:rgba(255,255,255,0.8)}.jw-knob{color:rgba(255,255,255,0.8);background-color:#fff}.jw-button-color{color:rgba(255,255,255,0.8)}:not(.jw-flag-touch) .jw-button-color:not(.jw-logo-button):focus,:not(.jw-flag-touch) .jw-button-color:not(.jw-logo-button):hover{color:#fff}.jw-toggle{color:#fff}.jw-toggle.jw-off{color:rgba(255,255,255,0.8)}.jw-toggle.jw-off:focus{color:#fff}.jw-toggle:focus{outline:none}:not(.jw-flag-touch) .jw-toggle.jw-off:hover{color:#fff}.jw-rail{background:rgba(255,255,255,0.3)}.jw-buffer{background:rgba(255,255,255,0.3)}.jw-progress{background:#f2f2f2}.jw-time-tip,.jw-volume-tip{border:0}.jw-slider-volume.jw-volume-tip.jw-background-color.jw-slider-vertical{background:none}.jw-skip{padding:.5em;outline:none}.jw-skip .jw-skiptext,.jw-skip .jw-skip-icon{color:rgba(255,255,255,0.8)}.jw-skip.jw-skippable:hover .jw-skip-icon,.jw-skip.jw-skippable:focus .jw-skip-icon{color:#fff}.jw-icon-cast google-cast-launcher{--connected-color:#fff;--disconnected-color:rgba(255,255,255,0.8)}.jw-icon-cast google-cast-launcher:focus{outline:none}.jw-icon-cast google-cast-launcher.jw-off{--connected-color:rgba(255,255,255,0.8)}.jw-icon-cast:focus google-cast-launcher{--connected-color:#fff;--disconnected-color:#fff}.jw-icon-cast:hover google-cast-launcher{--connected-color:#fff;--disconnected-color:#fff}.jw-nextup-container{bottom:2.5em;padding:5px .5em}.jw-nextup{border-radius:0}.jw-color-active{color:#fff;stroke:#fff;border-color:#fff}:not(.jw-flag-touch) .jw-color-active-hover:hover,:not(.jw-flag-touch) .jw-color-active-hover:focus{color:#fff;stroke:#fff;border-color:#fff}.jw-color-inactive{color:rgba(255,255,255,0.8);stroke:rgba(255,255,255,0.8);border-color:rgba(255,255,255,0.8)}:not(.jw-flag-touch) .jw-color-inactive-hover:hover{color:rgba(255,255,255,0.8);stroke:rgba(255,255,255,0.8);border-color:rgba(255,255,255,0.8)}.jw-option{color:rgba(255,255,255,0.8)}.jw-option.jw-active-option{color:#fff;background-color:rgba(255,255,255,0.1)}:not(.jw-flag-touch) .jw-option:hover{color:#fff}.jwplayer{width:100%;font-size:16px;position:relative;display:block;min-height:0;overflow:hidden;box-sizing:border-box;font-family:Arial,Helvetica,sans-serif;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;outline:none}.jwplayer *{box-sizing:inherit}.jwplayer.jw-tab-focus:focus{outline:solid 2px #4d90fe}.jwplayer.jw-flag-aspect-mode{height:auto !important}.jwplayer.jw-flag-aspect-mode .jw-aspect{display:block}.jwplayer .jw-aspect{display:none}.jw-media,.jw-preview{position:absolute;width:100%;height:100%;top:0;left:0;bottom:0;right:0}.jw-media{overflow:hidden;cursor:pointer}.jw-plugin{position:absolute;bottom:66px}.jw-breakpoint-7 .jw-plugin{bottom:132px}.jw-plugin .jw-banner{max-width:100%;opacity:0;cursor:pointer;position:absolute;margin:auto auto 0;left:0;right:0;bottom:0;display:block}.jw-preview,.jw-captions,.jw-title{pointer-events:none}.jw-media,.jw-logo{pointer-events:all}.jw-wrapper{background-color:#000;position:absolute;top:0;left:0;right:0;bottom:0}.jw-hidden-accessibility{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.jw-contract-trigger::before{content:"";overflow:hidden;width:200%;height:200%;display:block;position:absolute;top:0;left:0}.jwplayer .jw-media video{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;margin:auto;background:transparent;-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-focus-ring-color:rgba(0,0,0,0);outline:none}.jwplayer .jw-media video::-webkit-media-controls-start-playback-button{display:none}.jwplayer.jw-stretch-uniform .jw-media video{object-fit:contain}.jwplayer.jw-stretch-none .jw-media video{object-fit:none}.jwplayer.jw-stretch-fill .jw-media video{object-fit:cover}.jwplayer.jw-stretch-exactfit .jw-media video{object-fit:fill}.jw-preview{position:absolute;display:none;opacity:1;visibility:visible;width:100%;height:100%;background:#000 no-repeat 50% 50%}.jwplayer .jw-preview,.jw-error .jw-preview{background-size:contain}.jw-stretch-none .jw-preview{background-size:auto auto}.jw-stretch-fill .jw-preview{background-size:cover}.jw-stretch-exactfit .jw-preview{background-size:100% 100%}.jw-title{display:none;padding-top:20px;width:100%;z-index:1}.jw-title-primary,.jw-title-secondary{color:#fff;padding-left:20px;padding-right:20px;padding-bottom:.5em;overflow:hidden;text-overflow:ellipsis;direction:unset;white-space:nowrap;width:100%}.jw-title-primary{font-size:1.625em}.jw-breakpoint-2 .jw-title-primary,.jw-breakpoint-3 .jw-title-primary{font-size:1.5em}.jw-flag-small-player .jw-title-primary{font-size:1.25em}.jw-breakpoint-0 .jw-ab-truncated .jw-title-primary,.jw-breakpoint-1 .jw-ab-truncated .jw-title-primary,.jw-breakpoint-2 .jw-ab-truncated .jw-title-primary{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;padding-bottom:0;margin-bottom:.5em;white-space:pre-wrap;line-height:1.2}.jw-breakpoint-1 .jw-ab-truncated .jw-title-primary{font-size:1.25em}.jw-breakpoint-0 .jw-ab-truncated .jw-title-primary{font-size:1em}.jw-flag-small-player .jw-title-secondary,.jw-breakpoint-0 .jw-ab-truncated .jw-title-secondary,.jw-breakpoint-1 .jw-ab-truncated .jw-title-secondary,.jw-breakpoint-2 .jw-ab-truncated .jw-title-secondary,.jw-title-secondary:empty{display:none}.jw-captions{position:absolute;width:100%;height:100%;text-align:center;display:none;letter-spacing:normal;word-spacing:normal;text-transform:none;text-indent:0;text-decoration:none;pointer-events:none;overflow:hidden;top:0}.jw-captions.jw-captions-enabled{display:block}.jw-captions-window{display:none;padding:.25em;border-radius:.25em}.jw-captions-window.jw-captions-window-active{display:inline-block}.jw-captions-text{display:inline-block;color:#fff;background-color:#000;word-wrap:normal;word-break:normal;white-space:pre-line;font-style:normal;font-weight:normal;text-align:center;text-decoration:none}.jw-text-track-display{font-size:inherit;line-height:1.5}.jw-text-track-cue{background-color:rgba(0,0,0,0.5);color:#fff;padding:.1em .3em}.jwplayer video::-webkit-media-controls{display:none;justify-content:flex-start}.jwplayer video::-webkit-media-text-track-display{min-width:-webkit-min-content}.jwplayer video::cue{background-color:rgba(0,0,0,0.5)}.jwplayer video::-webkit-media-controls-panel-container{display:none}.jwplayer:not(.jw-flag-controls-hidden):not(.jw-state-playing) .jw-captions,.jwplayer.jw-flag-media-audio.jw-state-playing .jw-captions,.jwplayer.jw-state-playing:not(.jw-flag-user-inactive):not(.jw-flag-controls-hidden) .jw-captions{max-height:calc(100% - 60px)}.jwplayer:not(.jw-flag-controls-hidden):not(.jw-state-playing):not(.jw-flag-ios-fullscreen) video::-webkit-media-text-track-container,.jwplayer.jw-flag-media-audio.jw-state-playing:not(.jw-flag-ios-fullscreen) video::-webkit-media-text-track-container,.jwplayer.jw-state-playing:not(.jw-flag-user-inactive):not(.jw-flag-controls-hidden):not(.jw-flag-ios-fullscreen) video::-webkit-media-text-track-container{max-height:calc(100% - 60px)}.jw-logo{position:absolute;margin:20px;cursor:pointer;pointer-events:all;background-repeat:no-repeat;background-size:contain;top:auto;right:auto;left:auto;bottom:auto;outline:none}.jw-logo.jw-tab-focus:focus{outline:solid 2px #4d90fe}.jw-flag-audio-player .jw-logo{display:none}.jw-logo-top-right{top:0;right:0}.jw-logo-top-left{top:0;left:0}.jw-logo-bottom-left{left:0}.jw-logo-bottom-right{right:0}.jw-logo-bottom-left,.jw-logo-bottom-right{bottom:44px;transition:bottom 150ms cubic-bezier(0, .25, .25, 1)}.jw-state-idle .jw-logo{z-index:1}.jw-state-setup .jw-wrapper{background-color:inherit}.jw-state-setup .jw-logo,.jw-state-setup .jw-controls,.jw-state-setup .jw-controls-backdrop{visibility:hidden}span.jw-break{display:block}body .jw-error,body .jwplayer.jw-state-error{background-color:#333;color:#fff;font-size:16px;display:table;opacity:1;position:relative}body .jw-error .jw-display,body .jwplayer.jw-state-error .jw-display{display:none}body .jw-error .jw-media,body .jwplayer.jw-state-error .jw-media{cursor:default}body .jw-error .jw-preview,body .jwplayer.jw-state-error .jw-preview{background-color:#333}body .jw-error .jw-error-msg,body .jwplayer.jw-state-error .jw-error-msg{background-color:#000;border-radius:2px;display:flex;flex-direction:row;align-items:stretch;padding:20px}body .jw-error .jw-error-msg .jw-icon,body .jwplayer.jw-state-error .jw-error-msg .jw-icon{height:30px;width:30px;margin-right:20px;flex:0 0 auto;align-self:center}body .jw-error .jw-error-msg .jw-icon:empty,body .jwplayer.jw-state-error .jw-error-msg .jw-icon:empty{display:none}body .jw-error .jw-error-msg .jw-info-container,body .jwplayer.jw-state-error .jw-error-msg .jw-info-container{margin:0;padding:0}body .jw-error:not(.jw-flag-audio-player).jw-flag-small-player .jw-error-msg,body .jwplayer.jw-state-error:not(.jw-flag-audio-player).jw-flag-small-player .jw-error-msg,body .jw-error:not(.jw-flag-audio-player).jw-breakpoint-2 .jw-error-msg,body .jwplayer.jw-state-error:not(.jw-flag-audio-player).jw-breakpoint-2 .jw-error-msg{flex-direction:column}body .jw-error:not(.jw-flag-audio-player).jw-flag-small-player .jw-error-msg .jw-error-text,body .jwplayer.jw-state-error:not(.jw-flag-audio-player).jw-flag-small-player .jw-error-msg .jw-error-text,body .jw-error:not(.jw-flag-audio-player).jw-breakpoint-2 .jw-error-msg .jw-error-text,body .jwplayer.jw-state-error:not(.jw-flag-audio-player).jw-breakpoint-2 .jw-error-msg .jw-error-text{text-align:center}body .jw-error:not(.jw-flag-audio-player).jw-flag-small-player .jw-error-msg .jw-icon,body .jwplayer.jw-state-error:not(.jw-flag-audio-player).jw-flag-small-player .jw-error-msg .jw-icon,body .jw-error:not(.jw-flag-audio-player).jw-breakpoint-2 .jw-error-msg .jw-icon,body .jwplayer.jw-state-error:not(.jw-flag-audio-player).jw-breakpoint-2 .jw-error-msg .jw-icon{flex:.5 0 auto;margin-right:0;margin-bottom:20px}.jwplayer.jw-state-error.jw-flag-audio-player .jw-error-msg .jw-break,.jwplayer.jw-state-error.jw-flag-small-player .jw-error-msg .jw-break,.jwplayer.jw-state-error.jw-breakpoint-2 .jw-error-msg .jw-break{display:inline}.jwplayer.jw-state-error.jw-flag-audio-player .jw-error-msg .jw-break:before,.jwplayer.jw-state-error.jw-flag-small-player .jw-error-msg .jw-break:before,.jwplayer.jw-state-error.jw-breakpoint-2 .jw-error-msg .jw-break:before{content:" "}.jwplayer.jw-state-error.jw-flag-audio-player .jw-error-msg{height:100%;width:100%;top:0;position:absolute;left:0;background:#000;-webkit-transform:none;transform:none;padding:4px 16px;z-index:1}.jwplayer.jw-state-error.jw-flag-audio-player .jw-error-msg.jw-info-overlay{max-width:none;max-height:none}body .jwplayer.jw-state-error .jw-title,.jw-state-idle .jw-title,.jwplayer.jw-state-complete:not(.jw-flag-casting):not(.jw-flag-audio-player):not(.jw-flag-overlay-open-related) .jw-title{display:block}body .jwplayer.jw-state-error .jw-preview,.jw-state-idle .jw-preview,.jwplayer.jw-state-complete:not(.jw-flag-casting):not(.jw-flag-audio-player):not(.jw-flag-overlay-open-related) .jw-preview{display:block}.jw-state-idle .jw-captions,.jwplayer.jw-state-complete .jw-captions,body .jwplayer.jw-state-error .jw-captions{display:none}.jw-state-idle video::-webkit-media-text-track-container,.jwplayer.jw-state-complete video::-webkit-media-text-track-container,body .jwplayer.jw-state-error video::-webkit-media-text-track-container{display:none}.jwplayer.jw-flag-fullscreen{width:100% !important;height:100% !important;top:0;right:0;bottom:0;left:0;z-index:1000;margin:0;position:fixed}.jwplayer.jw-flag-controls-hidden .jw-media{cursor:default}.jw-flag-audio-player .jw-media{visibility:hidden}.jw-flag-audio-player .jw-title{background:none}.jw-flag-floating{background-size:cover;background-color:#000}.jw-flag-floating .jw-wrapper{position:fixed;z-index:2147483647;top:auto;bottom:1rem;left:auto;right:1rem;max-width:400px;max-height:400px;margin:0 auto}@media screen and (min-width:481px){.jw-flag-floating .jw-wrapper:not(.jw-floating-dragged){-webkit-animation:jw-float-to-bottom 150ms cubic-bezier(0, .25, .25, 1) forwards 1;animation:jw-float-to-bottom 150ms cubic-bezier(0, .25, .25, 1) forwards 1}}@media screen and (max-width:480px){.jw-flag-floating .jw-wrapper{width:100%;left:0;right:0}}.jw-flag-floating .jw-wrapper.jw-floating-dragging{transition:none!important}.jw-flag-floating .jw-wrapper .jw-media{touch-action:none}@media screen and (max-device-width:480px) and (orientation:portrait){.jw-flag-touch.jw-flag-floating .jw-wrapper{-webkit-animation:none;animation:none;top:0;margin-top:62px;bottom:auto;max-width:none;max-height:none}}.jw-flag-floating .jw-float-icon{pointer-events:all;cursor:pointer;display:none}.jw-flag-floating .jw-float-icon .jw-svg-icon{-webkit-filter:drop-shadow(0 0 1px #000);filter:drop-shadow(0 0 1px #000)}.jw-flag-floating.jw-floating-dismissible .jw-dismiss-icon{display:none}.jw-flag-floating.jw-floating-dismissible.jw-flag-ads .jw-float-icon{display:flex}.jw-flag-floating.jw-floating-dismissible.jw-state-paused .jw-logo,.jw-flag-floating.jw-floating-dismissible:not(.jw-flag-user-inactive) .jw-logo{display:none}.jw-flag-floating.jw-floating-dismissible.jw-state-paused .jw-float-icon,.jw-flag-floating.jw-floating-dismissible:not(.jw-flag-user-inactive) .jw-float-icon{display:flex}.jw-float-icon{display:none;position:absolute;top:3px;right:5px;align-items:center;justify-content:center}@-webkit-keyframes jw-float-to-bottom{from{-webkit-transform:translateY(100%);transform:translateY(100%)}to{-webkit-transform:translateY(0);transform:translateY(0)}}@keyframes jw-float-to-bottom{from{-webkit-transform:translateY(100%);transform:translateY(100%)}to{-webkit-transform:translateY(0);transform:translateY(0)}}.jw-flag-top{margin-top:2em;overflow:visible}.jw-top{height:2em;line-height:2;pointer-events:none;text-align:center;opacity:.8;position:absolute;top:-2em;width:100%}.jw-top .jw-icon{cursor:pointer;pointer-events:all;height:auto;width:auto}.jw-top .jw-text{color:#555}',""])},function(t,e,i){var n=i(158);"string"==typeof n&&(n=[["all-players",n,""]]),i(41).style(n,"all-players"),n.locals&&(t.exports=n.locals)},function(t,e,i){(t.exports=i(78)(!1)).push([t.i,".jw-flag-outstream.jw-state-complete .jw-controls,.jw-flag-outstream.jw-state-complete .jw-controls-backdrop{display:none}.jw-flag-outstream.jw-state-complete .jw-media{pointer-events:none}.jw-flag-outstream.jw-state-complete .jw-preview{background-color:#f2f2f2}.jw-flag-outstream .jw-wrapper{transition:-webkit-transform 250ms cubic-bezier(0, .25, .25, 1);transition:transform 250ms cubic-bezier(0, .25, .25, 1);transition:transform 250ms cubic-bezier(0, .25, .25, 1), -webkit-transform 250ms cubic-bezier(0, .25, .25, 1)}.jw-flag-outstream .jw-dismiss-icon{position:absolute;right:0;bottom:0}.jw-flag-outstream-close{max-height:1px;-webkit-animation:250ms jw-outstream-collapse 1 step-end;animation:250ms jw-outstream-collapse 1 step-end}@-webkit-keyframes jw-outstream-collapse{0%{max-height:initial}100%{max-height:1px}}@keyframes jw-outstream-collapse{0%{max-height:initial}100%{max-height:1px}}.jw-flag-outstream-close .jw-wrapper{-webkit-transform:scaleY(0);transform:scaleY(0)}.jw-flag-outstream-pending{max-height:1px;max-width:100%}.jw-flag-outstream-pending.jw-flag-top{margin-top:0;overflow:hidden}.jw-flag-outstream-pending .jw-wrapper{-webkit-transform:scaleY(0);transform:scaleY(0)}",""])},function(t,e,i){var n=i(160);"string"==typeof n&&(n=[["all-players",n,""]]),i(41).style(n,"all-players"),n.locals&&(t.exports=n.locals)},function(t,e,i){(t.exports=i(78)(!1)).push([t.i,".jw-logo-button{pointer-events:none;width:132px}.jw-svg-icon-watermark{color:#ff0046;width:96px}.jw-controlbar .jw-svg-icon-jwplayer-logo{display:none;color:#ff0046}.jw-flag-small-player .jw-logo-button{width:44px}.jw-flag-small-player .jw-svg-icon-watermark{display:none}.jw-flag-small-player .jw-controlbar .jw-svg-icon-jwplayer-logo{display:block}.jw-breakpoint--1:not(.jw-flag-audio-player) .jw-logo-button{bottom:6px}.jwplayer.jw-breakpoint-7 .jw-controlbar .jw-button-container .jw-icon-inline.jw-logo-button{width:186px}.jwplayer.jw-breakpoint-7 .jw-controlbar .jw-button-container .jw-svg-icon-watermark{width:150px}",""])}])]);