/*!
 * JW Player
 * Copyright (c) 2018, 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, see below.
 *
 *************************************************************************************************
 The following software is used under MIT license
 *************************************************************************************************
 * AlloyFinger v0.1.10
 * Copyright (c) 2016 腾讯 AlloyTeam
 * https://github.com/AlloyTeam/AlloyFinger/blob/master/LICENSE
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 */
!function(e){function t(a){if(i[a])return i[a].exports;var n=i[a]={i:a,l:!1,exports:{}};return e[a].call(n.exports,n,n.exports,t),n.l=!0,n.exports}var i={};t.m=e,t.c=i,t.d=function(e,i,a){t.o(e,i)||Object.defineProperty(e,i,{configurable:!1,enumerable:!0,get:a})},t.n=function(e){var i=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(i,"a",i),i},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=5)}([function(e,t,i){var a=i(9);"string"==typeof a&&(a=[["all-players",a,""]]),i(11).style(a,"all-players"),a.locals&&(e.exports=a.locals)},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" class="jw-svg-icon jw-svg-icon-arrow-left" viewBox="0 0 240 240" focusable="false"><path d="M55.4,104.4c-1.1,1.1-2.2,2.3-3.1,3.6c-6.9,9.9-4.4,23.5,5.5,30.4L159.7,240l33.9-33.9l-84.9-84.9l84.9-84.9L157.3,0L55.4,104.4L55.4,104.4z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" class="jw-svg-icon jw-svg-icon-arrow-right" viewBox="0 0 240 240" focusable="false"><path d="M183.6,104.4L81.8,0L45.4,36.3l84.9,84.9l-84.9,84.9L79.3,240l101.9-101.7c9.9-6.9,12.4-20.4,5.5-30.4C185.8,106.7,184.8,105.4,183.6,104.4L183.6,104.4z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" class="jw-svg-icon jw-svg-icon-play" viewBox="0 0 240 240" focusable="false"><path d="M62.8,199.5c-1,0.8-2.4,0.6-3.3-0.4c-0.4-0.5-0.6-1.1-0.5-1.8V42.6c-0.2-1.3,0.7-2.4,1.9-2.6c0.7-0.1,1.3,0.1,1.9,0.4l154.7,77.7c2.1,1.1,2.1,2.8,0,3.8L62.8,199.5z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" class="jw-svg-icon jw-svg-icon-more-videos" viewBox="0 0 240 240" focusable="false"><path d="M0,30h60v75H0V30z M0,135h60v75H0V135z M90,135h60v75H90V135z M180,135h60v75h-60V135z M90,30h60v75H90V30z M180,30h60v75h-60V30z"></path></svg>'},function(e,t,i){"use strict";function a(e){return JSON.parse(e.responseText)}function n(e){var t=void 0;try{if(e.responseXML&&e.responseXML.firstChild){var i=we.rssparser.parse(e.responseXML.firstChild);t=we.extend({playlist:i},i.feedData)}else t=a(e),ue.isArray(t)&&(t={playlist:t})}catch(e){t=null}return t}function r(e){var t=e.selectedItem,i=e.feedData,a=e.autoplayTimeout,n=e.onClick,r=e.interactionMethod,l=r,o="auto"===l;o||(l="play"===n?"manual":"link");var s={item:t,feedData:i,auto:o,autoplaytimer:a>=0?a:-1,position:t.index,method:l};return t.pin_set_id&&(s.pin_set_id=t.pin_set_id),s}function l(e){return{playlist:e.relatedItems,feedData:e.feedData}}function o(e,t){var i=t.relatedItems,a=t.feedData,n=t.relatedFile,r=t.interactionMethod,l={visible:e,method:r};return e&&(l.feed=n,l.items=i,l.autoplay="autoplay"===ve.oncomplete,l.feedData=a),l}function s(e){var t=e.type,i=e.actionType,a=e.interactionMethod,n=e.autoplay,r=e.autoplayTimeout,l=e.feedData,o=e.page,s=e.pages,d=s.current,c=s.nextUp,u=e.centeredItem,m=e.smallPlayer,j=e.itemsPerPage,f=e.ui,g=a;"PAGED"!==i&&"PAGED_SWIPE"!==i&&"RESIZED"!==i||(g=i.toLowerCase());var y=c&&n&&"complete"===a,v=w(o,c,d);return m&&(o=p(o,u,v.length,j),v=[v[u]]),{mode:h(t),feedData:l,itemsShown:v,page:o,reason:g,autoTimer:y&&r>=0?r:-1,ui:f}}function d(e){var t=e.type,i=e.selectedItem,a=e.feedData,n=e.page,r=e.pages,l=r.current,o=r.nextUp,s=e.centeredItem,d=e.smallPlayer,c=e.itemsPerPage,u=e.lastReasonShown,m=e.ui,j=u.toLowerCase(),f=w(n,o,l);return d&&(n=p(n,s,f.length,c),f=[i]),{mode:h(t),feedData:a,itemsShown:f,reason:j,target:i,index:f.indexOf(i)+1,page:n,ui:m}}function p(e,t,i,a){return e<0?(e+1)*a-(i-t):t+e*a}function c(e){var t=e.type,i=e.selectedItem,a=e.feedData,n=e.page,r=e.pages,l=r.current,o=r.nextUp,s=e.smallPlayer,d=e.ui,p=s?[i]:w(n,o,l);return{mode:h(t),feedData:a,itemsShown:p,target:i,ui:d}}function h(e){return"related"===e?"discovery":e}function w(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],a=i.slice(0);return 0===e&&a.unshift(t),a}function u(){return{}}function m(e,t){var i=new _e(e);return i.add(t),i}function j(e){return e?' style="background-image: url('+e+')"':""}function f(e){return e?' style="background-image: url('+e+')"':""}function g(){He=he.utils,Ve=He.UI}function y(e,t){var i="left"===e?Ae.a:Te.a,a=x("jw-related-page jw-related-page-"+e,i);return a.setAttribute("aria-label","Page "+e),_(a,t,e),a}function v(e,t,i){var a=x("jw-related-close",i?Re.a:De.a,t,i);return a.setAttribute("aria-label",e),a}function x(e,t,i,a){var n=document.createElement("div");return n.className="jw-reset jw-icon jw-icon-inline "+e+(a?"":" jw-button-color"),n.appendChild(C(t)),n.setAttribute("role","button"),n.setAttribute("tabindex","0"),_(n,i),n}function b(e,t){return P(He.createElement(Oe(e)),e,t)}function k(e,t,i){var a=He.createElement(Ne(e));return a.setAttribute("data-jw-index",i),P(a,e,t)}function E(e,t,i){if(e){return P(He.createElement(Be(e,t)),e,i)}}function _(e,t,i){t&&(new Ve(e).on("click tap enter",function(e){t(i||e)},{directSelect:!0}),e.addEventListener("mousedown",function(e){e.preventDefault()}))}function P(e,t,i){return e.setAttribute("aria-label","Video - "+t.title||"Untitled Video"),_(e,i,t),e}function C(e){return qe||(qe=new DOMParser),qe.parseFromString(e,"image/svg+xml").documentElement}function I(e){if(e){var t=e.getBoundingClientRect(),i=2*t.height+2*t.width;e.style.strokeDasharray=i,e.style.strokeDashoffset=i}}function A(e,t,i,a){var n=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],r=t*i+a,l=n?T(i):0,o=void 0;if(0===t){var s=function(t,i){return L(e,t,i)};o={previous:s(r-i,r),current:s(r+1,i+r-l),next:s(i+r-l,2*i+r-l)}}else o=t>0?D(e,i,r-l):D(e,i,r);return o}function S(e,t){if("shelf"===e)switch(t){case 7:case 6:case 5:return 5;case 4:return 4;case 3:case 2:return 3;case 1:case 0:default:return 0}switch(t){case 7:case 6:case 5:case 4:return 9;case 3:return 6;case 2:return 4;case 1:case 0:return 5;default:return 1}}function T(e){switch(e){case 9:return 2;case 6:case 4:return 1;default:return 0}}function L(e,t,i){return e.slice(Math.max(0,t),Math.max(0,i))}function D(e,t,i){return{previous:L(e,i-t,i),current:L(e,i,t+i),next:L(e,t+i,2*t+i)}}function M(e,t){return e.smallPlayer?R(e.centeredItem,e.page,e.pages,t):z(e.page,t)}function R(e,t,i,a){var n=i.current.length+1*(0===t&&!!i.nextUp);return"right"===a?++e>=n&&(e=0,t++):--e<0&&(e=i.previous.length-1,t--),{centeredItem:e,page:t}}function z(e,t){return{page:"right"===t?e+1:e-1}}function U(e,t,i){var a=e.nextUp,n=a?a.index:0,r=A(e.items,t,i,n);return r.nextUp=e.nextUp,r}function O(e){return e?st.createElement(e).textContent:""}function N(e){return dt.map(e,function(e,t){var i=e,a=i.duration;return(dt.isNumber(a)&&a>0||dt.isString(a)&&a.indexOf(":")<0)&&(i.duration=st.timeFormat(a)),i.index=t,i.indexText=t+1+". ",i.title=O(i.title),i})}function B(e,t){return dt.extend({},e,t)}function q(e){var t=Array.isArray(e.sources)&&e.sources[0]||{};return e.mediaid||e.file||t.file}function H(e,t){return e.filter(function(e){var i=Array.isArray(e.sources)&&e.sources[0]||{};return e.image&&e.title&&("play"===t&&(i.file||e.file)||"play"!==t&&e.link)})}function V(e){return e.map(function(e,t){var i=e;return i.duration=i.duration?mt.timeFormat(i.duration):"",i.index=t,i})}function F(e){return(e||[]).map(function(e){return q(e)})}function Y(e,t){return e.filter(function(e){return-1===t.indexOf(q(e))})}function G(e){return"overlay"===e.ui?0:e.page}function X(e,t,i){var a=A(e.availableItems,t,i,0,"overlay"===e.ui);return a.nextUp=e.nextUp,a}function W(e,t){return gt.extend({},e,t)}function J(e){var t=e.loadPromise;if(t){var i=this;return void t.then(function(e){Z.call(i,e)}).catch(function(){i.destroyInterface()})}Z.call(this,e.controls)}function Z(e){e?K.call(this):Q.call(this)}function K(){this.div||(this.div=this.player.getContainer().querySelector(".jw-button-container")),this.div&&this.shelfContainer&&this.div.appendChild(this.shelfContainer)}function Q(){this.div&&this.shelfContainer&&(this.div.removeChild(this.shelfContainer),this.div=null)}function $(e,t,i,a,n){var r=Math.max(0,a),l=Math.min(t.length,n),o=e.childNodes;if(o.length)te(e,r,l),function(a){var n=o[0];if(n)for(var r=parseInt(n.getAttribute("data-jw-index")),l=a;l<r;l++){var s=k(t[l],i,l);e.insertBefore(s,n)}}(r),function(a){var n=o[o.length-1];if(n)for(var r=parseInt(n.getAttribute("data-jw-index")),l=r+1;l<a;l++){var s=k(t[l],i,l);e.appendChild(s)}}(l);else for(var s=r;s<l;s++){var d=k(t[s],i,s);e.appendChild(d)}}function ee(e){te(e)}function te(e,t,i){for(var a=Array.prototype.slice.call(e.childNodes),n=0;n<=a.length-1;n++){var r=a[n].getAttribute("data-jw-index");(r<t||r>=i||void 0===t)&&e.removeChild(a[n])}}function ie(e,t,i){function a(e){if(e)switch(e.keyCode){case 39:n(t,e),e.stopPropagation();break;case 37:r(t,e),e.stopPropagation()}}function n(e,t){!j&&b&&(0===y?m.removeClass(u,"jw-related-shelf-start"):m.addClass(u,"jw-related-shelf-slide-next"),y++,l(t),e("right"))}function r(e,t){!j&&k&&(1===y?m.addClass(u,"jw-related-shelf-start"):m.addClass(u,"jw-related-shelf-slide-prev"),y--,l(t),e("left"))}function l(e){E=o.bind(this,e),u.addEventListener("transitionend",E),m.addClass(u,"jw-related-shelf-animating"),j=!0}function o(e,t){if(t.target===u){if(t.stopImmediatePropagation(),u.removeEventListener("transitionend",E),j){s((y-1)*f,(y+2)*f),m.removeClass(u,["jw-related-shelf-animating","jw-related-shelf-slide-next","jw-related-shelf-slide-prev"]),j=!1;var i=u.querySelector(".jw-related-item-visible");e&&("enter"===e.type||"keydown"===e.type)&&i&&i.focus()}p()}}function s(e,t){if(v&&!(v.length<1)){$(u,v,g,e,t);for(var i=u.children,a=0;a<i.length;a++){var n=i[a],r=parseInt(n.getAttribute("data-jw-index")),l=r>=y*f&&r<(y+1)*f;m.toggleClass(n,"jw-related-item-visible",l),n.setAttribute("tabindex",l?"0":"-1")}}}function d(){ee(u),y=null}function p(){k=0!==y,m.toggleClass(h,"jw-off",!k),h.setAttribute("tabindex",k?"0":"-1"),b=y!==x-1,m.toggleClass(w,"jw-off",!b),w.setAttribute("tabindex",b?"0":"-1")}var c=this,h=e.querySelector(".jw-related-control-left"),w=e.querySelector(".jw-related-control-right"),u=e.querySelector(".jw-related-shelf-items"),m=he.utils,j=!1,f=void 0,g=void 0,y=void 0,v=void 0,x=void 0,b=!1,k=!1,E=void 0;this.load=function(e,t,i){f=t,g=i,d(),v=e,x=Math.ceil(e.length/f),c.scrollToFirstPage()},this.resize=function(e){if(e!==f&&v&&!(v.length<1)){var t=x>1&&y===x-1;f=e,x=Math.ceil(v.length/f),y=t?x-1:Math.min(y,x),s((y-1)*f,(y+2)*f),p(),0===y&&m.addClass(u,"jw-related-shelf-start")}},this.onShelfToggled=function(t){e.removeEventListener("keydown",a),t&&e.addEventListener("keydown",a)},this.enableSwipe=function(){return new Ce(u,{swipe:function(e){"Left"===e.direction?n(i):r(i)}})},this.scrollToFirstPage=function(){0===y||!v||v.length<1||(y=0,s(0,2*f),m.addClass(u,"jw-related-shelf-start"),p())},_(h,r.bind(this,t)),_(w,n.bind(this,t))}function ae(e,t){var i=e.pages.current.length+1*(0===e.page&&!!e.pages.nextUp);return e.smallPlayer&&0===e.actionType.indexOf("PAGED")&&e.centeredItem!==t.centeredItem&&e.centeredItem<=i&&t.page===e.page}function ne(e){clearTimeout(e.loadFeedsIdleTimeout),e.player_.off("play",e.loadFeeds,e)}function re(e,t){return e?Rt.extend({},e,t):null}function le(e,t){if(!e)return"api";var i=void 0;switch(e.type){case"click":case"tap":i="interaction"+(t?"_more":"");break;case"enter":case"escape":case"adBreak":i=e.type;break;case"pause":"interaction"===e.pauseReason&&(i="on_pause");break;case"playlistComplete":i="complete"}return i}function oe(e,t){var i=null;return e&&(e.indexOf("MEDIAID")>=0?t&&(i=e.replace("MEDIAID",t)):i=e),i}function se(e,t){var i={},a=function(e){return function(){t.dispatch(e.apply(null,arguments))}};return Rt.each(Rt.keys(e),function(t){i[t]=a(e[t])}),i}function de(e,t){var i={actionType:!0,interactionMethod:!0,pages:!0};return Rt.every(Rt.keys(e),function(a){return!!i[a]||e[a]===t[a]})}function pe(e,t){var i={feed:oe(e.recommendations,e.mediaid),recommendation:oe(t.recommendations,e.mediaid),file:oe(t.file,e.mediaid)};return i.isValid=i.feed||i.recommendation||i.file,i}Object.defineProperty(t,"__esModule",{value:!0});var ce={};i.d(ce,"cached",function(){return We}),i.d(ce,"close",function(){return Je}),i.d(ce,"open",function(){return Ze}),i.d(ce,"loaded",function(){return Ke}),i.d(ce,"loadFailed",function(){return Qe}),i.d(ce,"loading",function(){return $e}),i.d(ce,"page",function(){return et}),i.d(ce,"scroll",function(){return tt}),i.d(ce,"resize",function(){return it}),i.d(ce,"resetPagePosition",function(){return at}),i.d(ce,"selectItem",function(){return nt}),i.d(ce,"setupRelated",function(){return rt}),i.d(ce,"setupPlaylist",function(){return lt}),i.d(ce,"uiChanged",function(){return ot});var he={},we=void 0,ue=void 0,me=function(e){we=he.utils,ue=he._,this.currentRequest=null,this.requestOptions=e};me.prototype.load=function(e,t,i,a){var r=this;this.currentRequest&&this.abort();var l=function(e){if(r.currentRequest=null,r.lastResponseText===e.responseText)return void a();var l=n(e);if(l){r.lastResponseText=e.responseText;var o=l.playlist,s=ue.extend({},l);delete s.playlist,t(o,s,e.responseURL)}else r.lastResponseText=null,i("Playlist is not valid")},o=this.requestOptions;if(o&&o.queryParams){var s=Object.keys(o.queryParams).map(function(e){return e+"="+o.queryParams[e]});e=e+(e.indexOf("?")?"&":"?")+s}this.currentRequest=we.ajax(e,l,i)},me.prototype.loadRecommendation=function(e,t,i,a,r){var l=this;this.currentRequest&&this.abort();var o=function(e){l.currentRequest=null;var o=n(e);if(!o)return void a();var s=o.file||t;if(s){var d=function(e,t,a){i(e,t,a,o.params)};l.load(s,d,a,r)}else a(o)};this.currentRequest=we.ajax(e,o,a)},me.prototype.clearCache=function(){this.lastResponseText=null},me.prototype.abort=function(){this.currentRequest.onload=null,this.currentRequest.onreadystatechange=null,this.currentRequest.onerror=null,this.currentRequest.abort&&this.currentRequest.abort(),this.currentRequest=null,this.lastResponseText=null};var je=me,fe=function(e){this.subscribers=[],this.reducer=e,this.state=e(void 0,{})};fe.prototype.dispatch=function(e){var t=this;setTimeout(function(){var i=t.state;t.state=t.reducer(t.state,e),t.subscribers.forEach(function(e){e(t.state,i)})},0)},fe.prototype.subscribe=function(e){this.subscribers.push(e)},fe.prototype.getState=function(){return this.state},fe.prototype.getReducer=function(){return this.reducer},fe.prototype.replaceReducer=function(e){var t=this;setTimeout(function(){t.reducer=e},0),this.dispatch({type:"REDUCER_REPLACED"})};var ge=fe,ye=void 0,ve=void 0,xe=function(e){ye=he._,ve=e};xe.prototype.createEventData=function(e,t){var i=void 0;switch(e){case"setup":i=u();break;case"play":i=r(t);break;case"playlist":i=l(t);break;case"open":i=o(!0,t);break;case"close":i=o(!1,t);break;case"feedShown":i=s(t);break;case"feedClick":i=d(t);break;case"feedAutoAdvance":i=c(t);break;default:i={}}return t.relatedFile&&(i.relatedFile=t.relatedFile),t.recommendationParams&&(i=ye.extend(i,t.recommendationParams)),i.onclick="play"===t.onClick?"play":"link",i};var be=xe,ke=function(){this.timer=null,this.interval=null};ke.prototype.start=function(e,t,i,a){var n=this;this.timer=window.setTimeout(function(){n.clear(),i(e)},1e3*t);var r=t;this.interval=window.setInterval(function(){a(Math.max(0,r-=1))},1e3),a(Math.max(0,t))},ke.prototype.clear=function(){window.clearTimeout(this.timer),window.clearInterval(this.interval)};var Ee=ke,_e=function(e){this.handlers=[],this.el=e};_e.prototype.add=function(e){this.handlers.push(e)},_e.prototype.del=function(e){e||(this.handlers=[]);for(var t=this.handlers.length;t>=0;t--)this.handlers[t]===e&&this.handlers.splice(t,1)},_e.prototype.dispatch=function(){for(var e=0,t=this.handlers.length;e<t;e++){var i=this.handlers[e];"function"==typeof i&&i.apply(this.el,arguments)}};var Pe=function(e,t){this.element="string"==typeof e?document.querySelector(e):e,this.start=this.start.bind(this),this.move=this.move.bind(this),this.end=this.end.bind(this),this.cancel=this.cancel.bind(this),this.element.addEventListener("touchstart",this.start,!1),this.element.addEventListener("touchmove",this.move,!1),this.element.addEventListener("touchend",this.end,!1),this.element.addEventListener("touchcancel",this.cancel,!1),this.preV={x:null,y:null};var i=function(){};this.touchStart=m(this.element,t.touchStart||i),this.swipe=m(this.element,t.swipe||i),this.touchMove=m(this.element,t.touchMove||i),this.touchEnd=m(this.element,t.touchEnd||i),this.touchCancel=m(this.element,t.touchCancel||i),this._cancelAllHandler=this.cancelAll.bind(this),window.removeEventListener("scroll",this._cancelAllHandler),window.addEventListener("scroll",this._cancelAllHandler),this.delta=null,this.last=null,this.now=null,this.swipeTimeout=null,this.x1=null,this.x2=null,this.y1=null,this.y2=null};Pe.prototype={start:function(e){if(e.touches){this.now=Date.now(),this.x1=e.touches[0].pageX,this.y1=e.touches[0].pageY,this.delta=this.now-(this.last||this.now),this.touchStart.dispatch(e),this.last=this.now;var t=this.preV;if(e.touches.length>1){var i={x:e.touches[1].pageX-this.x1,y:e.touches[1].pageY-this.y1};t.x=i.x,t.y=i.y}e.preventDefault()}},move:function(e){if(e.touches){var t=this.preV,i=e.touches.length,a=e.touches[0].pageX,n=e.touches[0].pageY;if(i>1){var r=e.touches[1].pageX,l=e.touches[1].pageY,o={x:e.touches[1].pageX-a,y:e.touches[1].pageY-n};t.x=o.x,t.y=o.y,null!==this.x2&&null!==this.sx2?(e.deltaX=(a-this.x2+r-this.sx2)/2,e.deltaY=(n-this.y2+l-this.sy2)/2):(e.deltaX=0,e.deltaY=0),this.sx2=r,this.sy2=l}else null!==this.x2?(e.deltaX=a-this.x2,e.deltaY=n-this.y2):(e.deltaX=0,e.deltaY=0);this.touchMove.dispatch(e),this.x2=a,this.y2=n,i>1&&e.preventDefault()}},end:function(e){if(e.changedTouches){var t=this;(this.x2&&Math.abs(this.x1-this.x2)>30||this.y2&&Math.abs(this.y1-this.y2)>30)&&(e.direction=this._swipeDirection(this.x1,this.x2,this.y1,this.y2),this.swipeTimeout=setTimeout(function(){t.swipe.dispatch(e)},0)),this.touchEnd.dispatch(e),this.preV.x=0,this.preV.y=0,this.x1=this.x2=this.y1=this.y2=null}},cancelAll:function(){clearTimeout(this.swipeTimeout)},cancel:function(e){this.cancelAll(),this.touchCancel.dispatch(e)},_swipeDirection:function(e,t,i,a){return Math.abs(e-t)>=Math.abs(i-a)?e-t>0?"Left":"Right":i-a>0?"Up":"Down"},on:function(e,t){this[e]&&this[e].add(t)},off:function(e,t){this[e]&&this[e].del(t)},destroy:function(){return this.swipeTimeout&&clearTimeout(this.swipeTimeout),this.element.removeEventListener("touchstart",this.start),this.element.removeEventListener("touchmove",this.move),this.element.removeEventListener("touchend",this.end),this.element.removeEventListener("touchcancel",this.cancel),this.swipe.del(),this.delta=null,this.last=null,this.now=null,this.preV=null,this.swipe=null,this.swipeTimeout=null,this.touchStart=null,this.touchMove=null,this.touchEnd=null,this.touchCancel=null,this.x1=null,this.x2=null,this.y1=null,this.y2=null,null}};var Ce=Pe,Ie=i(1),Ae=i.n(Ie),Se=i(2),Te=i.n(Se),Le=i(6),De=i.n(Le),Me=i(7),Re=i.n(Me),ze=i(3),Ue=i.n(ze),Oe=function(e){var t=e.indexText,i=void 0===t?"":t,a=e.image,n=void 0===a?"":a,r=e.duration,l=void 0===r?"":r,o=e.title,s=void 0===o?"":o;return'<div class="jw-reset jw-related-item"><div class="jw-reset jw-related-item-container"><div class="jw-reset jw-related-item-content jw-color-active-hover" role="button" aria-expanded="false" tabindex="0"><div class="jw-reset jw-related-item-content-container jw-color-inactive jw-color-active-hover"><div class="jw-reset jw-related-item-poster"'+j(n)+'><div class="jw-reset jw-related-item-poster-content"><div class="jw-reset jw-related-item-duration">'+l+'</div><div class="jw-reset jw-related-item-play jw-icon jw-icon-inline">'+Ue.a+'</div></div></div><div class="jw-reset jw-related-item-title"><div class="jw-reset jw-related-item-title-content"><span class="jw-reset jw-item-index-text jw-related-item-title-text">'+i+"<em>"+s+"</em></span></div></div></div></div></div></div>"},Ne=function(e){var t=e.image,i=void 0===t?"":t,a=e.duration,n=void 0===a?"":a,r=e.title,l=void 0===r?"":r;return'<div class="jw-reset jw-related-shelf-item" '+(i?'style="background-image: url('+i+')"':"")+' tabindex="0" aria-label="'+l+'"><div class="jw-reset jw-related-shelf-item-contents">'+(n?'<div class="jw-reset jw-related-shelf-item-duration jw-text">'+n+"</div>":"")+'<div class="jw-reset jw-related-shelf-item-title jw-text">'+l+"</div></div></div>"},Be=function(e){var t=e.image,i=void 0===t?"":t,a=e.duration,n=void 0===a?"":a,r=e.title,l=void 0===r?"":r,o=e.description,s=void 0===o?"":o,d=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return'<div class="jw-related-item jw-related-item-next-up jw-reset"><div class="jw-related-item-container jw-reset"><div class="jw-related-item-content jw-color-active-hover jw-reset" role="button" aria-expanded="false" tabindex="0"><div class="jw-related-item-content-container jw-color-inactive jw-color-active-hover jw-reset"><div class="jw-related-item-poster jw-reset"'+f(i)+'><div class="jw-related-item-poster-content jw-reset"><div class="jw-related-item-duration jw-reset">'+n+'</div><div class="jw-related-item-play jw-icon jw-icon-inline jw-reset">'+Ue.a+'</div></div></div><div class="jw-related-item-title jw-reset"><div class="jw-related-item-title-content jw-reset"><strong class="jw-related-next-up-text jw-reset">'+d+'</strong><span class="jw-item-index-text jw-related-item-title-text jw-reset">'+l+'</span></div></div><div class="jw-related-item-description jw-reset"><div class="jw-related-item-description-content jw-reset">'+s+'</div></div></div><div class="jw-related-item-countdown jw-reset" id="countdown"></div></div></div></div>'},qe=void 0,He=void 0,Ve=void 0,Fe=void 0,Ye=void 0,Ge=function(e,t,i){Fe=he.utils,Ye=he._,this.div=e,this.enableSwipe=t.getEnvironment().OS.mobile,this.player=t,this.resizeAction=i,this.swipeHandler=null,this.keyDownHandler=this.transitionEndHandler=function(){},this.rightArrowEnabled=!1,this.leftArrowEnabled=!1,this.currentItem=0,this.isOpen=!1};Ge.prototype.renderInterface=function(e,t,i,a,n,r,l,o,s,d){var p=this;this.currentItem=d,this.leftArrowEnabled=!1,this.rightArrowEnabled=!1,this.isOpen=!0;var c=e.current,h=this.smallPlayer&&this.currentItem>-1,w=e.current.length+1*(0===t&&!!e.nextUp),u=document.createElement("div");if(u.className="jw-reset jw-related jw-overlay jw-overlay-open",this.enableSwipe){var m=this;this.swipeHandler=new Ce(u,{swipe:function(t){var i=null;"Left"===t.direction&&(e.next.length||h&&w&&m.currentItem<w-1)?i="right":"Right"===t.direction&&(e.previous.length||h&&w&&m.currentItem>0)&&(i="left"),i&&l(i)}})}var j=v(o.close,n);if(u.appendChild(j),e.previous.length||h){var f=y("left",r);u.appendChild(f),this.leftArrowEnabled=!0}var g=document.createElement("div");g.className="jw-reset jw-related-container";var x=document.createElement("div");x.className="jw-related-title jw-reset",x.textContent=o.title,x.setAttribute("aria-label",o.title),this.smallPlayer?u.appendChild(x):g.appendChild(x);var k=E(i,o.nextUp,a);0===t&&i&&("enter"===s&&k.addEventListener("animationend",function(){var e=k.querySelector(".jw-related-item-content");e&&e.focus()},{once:!0}),h||g.appendChild(k));var _=document.createElement("div");_.className="jw-reset jw-related-item-group",0===t&&i&&h&&_.appendChild(k),Ye.forEach(c,function(e){var t=b(e,a);_.appendChild(t)});var P=_.children;if("enter"===s&&!h&&P&&P.length>0&&(0!==t||!i)){var C=P[0];C.addEventListener("animationend",function(){var e=C.querySelector(".jw-related-item-content");e&&e.focus()},{once:!0})}if(Fe.toggleClass(_,"jw-slide-back",h&&this.currentItem===w-1),g.appendChild(_),u.appendChild(g),e.next.length||h){var I=y("right",r);u.appendChild(I),this.rightArrowEnabled=!0}this.div.appendChild(u),this.keyDownHandler=function(e){if(e)switch(e.keyCode){case 39:p.rightArrowEnabled&&r("right"),e.stopPropagation();break;case 37:p.leftArrowEnabled&&r("left"),e.stopPropagation()}},this.div.removeEventListener("keydown",this.keyDownHandler),this.div.addEventListener("keydown",this.keyDownHandler),h&&this.centerItem(_,this.currentItem,e)},Ge.prototype.renderAutoplayAnimation=function(e){var t=this.div.querySelector(".jw-related-item-content");if(t){var i=Fe.createElement('<svg xmlns="http://www.w3.org/2000/svg" class="jw-related-autoplay-svg" focusable="false"><rect class="jw-related-autoplay-frame" width="100%" height="100%"/><rect class="jw-related-autoplay-frame-progress jw-color-active jw-color-inactive-hover" width="100%" height="100%"/></svg>'),a=i.querySelector(".jw-related-autoplay-frame-progress");t.appendChild(i),I(a),a.style.animation=e+"s linear forwards jw-dash"}},Ge.prototype.removeInterface=function(){this.div.removeEventListener("keydown",this.keyDownHandler),Fe.emptyElement(this.div),this.toggleClasses(!1)},Ge.prototype.toggleClasses=function(e){var t=this.player.getContainer();Fe.toggleClass(this.div,"jw-plugin-related-open",e),Fe.toggleClass(t,"jw-flag-overlay-open-related",e),this.isOpen=e},Ge.prototype.resize=function(e){var t=e.breakpoint;I(this.div.querySelector(".jw-related-autoplay-frame-progress")),this.smallPlayer=t<2,this.resizeAction(t,this.smallPlayer)},Ge.prototype.centerItem=function(e,t,i){var a=this;if(this.currentItem=t,!(t<0||t>i.current.length)){e.removeEventListener("animationend",this.transitionEndHandler);var n=e.children,r=n[t].querySelector(".jw-related-item-content"),l=this.div.querySelector(".jw-related-page-left"),o=this.div.querySelector(".jw-related-page-right"),s=i.next&&i.next.length;if(t===n.length-1&&s>0){var d=Fe.createElement('<div class="jw-related-item jw-related-item-poster" style="background-image: url(\''+i.next[0].image+"')\"></div>");e.appendChild(d)}Ye.forEach(n,function(e,i){var n=i===t;Fe.toggleClass(e,"jw-related-active-item",n);var r=e.querySelector(".jw-related-item-content");r&&(r.removeEventListener("transitionend",a.transitionEndHandler),r.setAttribute("tabindex",n?"0":"-1"))}),this.transitionEndHandler=function(){r&&r.focus()};var p=this.player.getEnvironment();p.OS.iOS&&p.Features.iframe||(r.addEventListener("transitionend",this.transitionEndHandler,{once:!0}),e.addEventListener("animationend",this.transitionEndHandler,{once:!0})),e.style.transform="translateX(-"+100*t+"%)",l&&(this.leftArrowEnabled=i.previous.length||t>0,Fe.toggleClass(l,"jw-hidden",!this.leftArrowEnabled)),o&&(this.rightArrowEnabled=i.next.length||t<n.length-1,Fe.toggleClass(o,"jw-hidden",!this.rightArrowEnabled))}};var Xe=Ge,We=function(){return{type:"PLAYLIST_CACHED",payload:{}}},Je=function(e,t,i){return{type:"RELATED_CLOSED",payload:{event:e,method:t,playerState:i}}},Ze=function(e,t,i){return{type:"RELATED_OPENED",payload:{event:e,method:t,playerState:i,stateWhenOpened:i}}},Ke=function(e,t,i,a){return{type:"PLAYLIST_LOADED",payload:{items:e,feedData:t,relatedFile:i,recommendationParams:a}}},Qe=function(e){return{type:"PLAYLIST_LOADED_FAILED",payload:{errorMessage:e}}},$e=function(){return{type:"PLAYLIST_LOADING"}},et=function(e){return{type:"PAGED",payload:{direction:e}}},tt=function(e){return{type:"PAGED_SWIPE",payload:{direction:e}}},it=function(e,t){return{type:"RESIZED",payload:{breakpoint:e,smallPlayer:t}}},at=function(){return{type:"RESET_PAGE_POSITION",payload:{}}},nt=function(e,t){return{type:"ITEM_SELECTED",payload:{selectedItem:e,method:t}}},rt=function(e,t,i,a,n,r,l,o,s,d){return{type:"SETUP_RELATED",payload:{playerState:r,playlist:l,heading:a,onClick:n,autoplay:e,autoplayMessage:t,autoplayTimeout:i,showButton:o,breakpoint:s,ui:d}}},lt=function(e,t){return{type:"SETUP_PLAYLIST",payload:{heading:e,showButton:t}}},ot=function(e){return{type:"UI_CHANGED",payload:{ui:e}}},st=void 0,dt=void 0,pt=Object.freeze({actionType:null,open:!1,pages:null,error:!1,errorMessage:"",feedData:null,centeredItem:0,items:[],itemsPerPage:9,nextUp:null,nextUpHeading:"Next Up",onClick:"play",page:0,playedRecs:{},selectedItem:null,selecting:!1,showButton:!0,stateWhenOpened:"",type:"playlist",smallPlayer:!1,lastReasonShown:null,ui:"overlay"}),ct=function(){st=he.utils,dt=he._};ct.prototype.reduce=function(e,t){var i=e,a=t.payload;switch(i||(i=dt.extend({},pt)),t.type){case"SETUP_PLAYLIST":return B(i,{actionType:t.type,nextUpHeading:a.nextUpHeading||pt.nextUpHeading,showButton:a.showButton});case"PLAYLIST_LOADED":var n=a.items,r=void 0;return r=n.length>1?{items:N(n),feedData:a.feedData,error:pt.error,errorMessage:pt.errorMessage,page:0,nextUp:n[1]}:{error:!0,errorMessage:"Not enough items in the playlist (need at least 2)",nextUp:pt.nextUp,open:!1},r.actionType=t.type,r.selectedItem=pt.selectedItem,B(i,r);case"RELATED_OPENED":return B(i,{actionType:t.type,open:!0,pages:U(i,i.page,i.itemsPerPage),interactionMethod:a.method,stateWhenOpened:a.playerState,centeredItem:0,lastReasonShown:a.method});case"RELATED_CLOSED":return B(i,{actionType:t.type,open:!1,interactionMethod:a.method,page:0,centeredItem:0});case"ITEM_SELECTED":var l=t.payload.selectedItem,o=l.index,s=i.items[(o+1)%i.items.length];return B(i,{actionType:t.type,nextUp:s,selectedItem:l,interactionMethod:t.payload.method,selecting:!1,open:!1});case"PAGED":case"PAGED_SWIPE":var d=M(i,a.direction);return d.page!==i.page&&dt.extend(d,{pages:U(i,d.page,i.itemsPerPage)}),B(i,dt.extend({actionType:t.type,lastReasonShown:t.type},d));case"RESET_PAGE_POSITION":return B(i,{actionType:t.type,page:0,nextUp:i.items[0],selectedItem:pt.selectedItem});case"RESIZED":var p=a.breakpoint,c=S(i.ui,p);return B(i,{actionType:t.type,itemsPerPage:c,page:0,pages:U(i,0,c),smallPlayer:a.smallPlayer,lastReasonShown:t.type,breakpoint:p});case"REDUCER_REPLACED":return B(pt,{actionType:t.type,itemsPerPage:i.itemsPerPage,smallPlayer:i.smallPlayer});default:return i}};var ht=ct,wt=function(e){function t(t,i){try{c=e.localStorage}catch(e){}var r=i||6e5,l=t||36e5;this.addItem=function(e,t){var i="auto"===t?l:r;a(e,Date.now()+i)},this.removeItem=function(e){p[e]&&n(e)},this.containsItem=function(e){var t=p[e];return!!t&&(!(Date.now()>=t)||(n(e),!1))}}function i(){try{Object.keys(p).length?c[s]=JSON.stringify(p):delete c[s]}catch(e){}}function a(e,t){(c[s]||"").length>=d&&r(1),p[e]=t,i()}function n(e){delete p[e],i()}function r(e){for(var t=l();e-- >0;)delete p[t.shift()];i()}function l(){return Object.keys(p).filter(function(e){return!(Date.now()>=p[e])||(n(e),!1)}).sort(function(e,t){return p[e]-p[t]})}var o=void 0,s="jwplayer.mediaIds",d=1e3,p=void 0,c={};return function(e,i){if(!o){o=new t(e,i);var a=c[s];if(a)try{p=JSON.parse(a)}catch(e){}p=p||{}}return o}}(window),ut=wt,mt=void 0,jt=function(e){mt=he.utils,this.storage=e};jt.prototype.filterAvailableItems=function(e,t,i){var a=V(H(e,i));if(!(a=Y(a,F(t))))return null;var n=this.getUnstoredRecommendations(a);return n.length?n:(this.restoreRecommendations(a),a)},jt.prototype.saveRecommendations=function(e){var t=this;e.forEach(function(e){return t.storage.addItem(q(e))})},jt.prototype.itemSelected=function(e,t,i){return this.storage.addItem(q(e),i),t.splice(t.indexOf(e),1),t},jt.prototype.restoreRecommendations=function(e){var t=this;e.forEach(function(e){return t.storage.removeItem(q(e))})},jt.prototype.getUnstoredRecommendations=function(e){var t=this;return e.filter(function(e){return!t.storage.containsItem(q(e))})};var ft=jt,gt=void 0,yt=void 0,vt=Object.freeze({actionType:null,autoplay:!1,autoplayMessage:"Next up in xx",autoplayTimeout:10,cached:!1,error:!1,errorMessage:"",feedData:null,centeredItem:0,interactionMethod:null,itemsLoaded:!1,itemsPerPage:9,nextUp:null,nextUpHeading:"Next Up",onClick:null,open:!1,pages:null,page:0,playlist:[],recommendationParams:null,relatedFile:"",relatedItems:[],availableItems:[],selectedItem:null,showButton:!0,stateWhenOpened:"",type:"related",smallPlayer:!1,lastReasonShown:null,breakpoint:0,ui:"shelf",canAddOnPause:!1}),xt=function(){gt=he._,yt=new ft(ut())};xt.prototype.reduce=function(e,t){var i=e,a=t.payload;switch(i||(i=gt.extend({},vt)),t.type){case"SETUP_RELATED":var n=a.autoplayMessage;n||""===n||(n=vt.autoplayMessage);var r=parseFloat(a.autoplayTimeout);(gt.isNaN(r)||r<0)&&(r=vt.autoplayTimeout);var l=a.autoplay?"play":a.onClick,o=a.ui,s=a.breakpoint;return W(i,{actionType:t.type,nextUpHeading:a.nextUpHeading||vt.nextUpHeading,onClick:l,autoplay:a.autoplay||vt.autoplay,autoplayTimeout:r,autoplayMessage:n,showButton:a.showButton,playlist:a.playlist,breakpoint:s,itemsPerPage:S(o,s),ui:o});case"PLAYLIST_LOADING":return W(i,{actionType:t.type,itemsLoaded:vt.itemsLoaded,cached:vt.cached});case"PLAYLIST_LOADED":var d={},p=a.items,c=yt.filterAvailableItems(p,i.playlist,i.onClick);if(c&&c.length){var h=c[0];d={itemsLoaded:!0,canAddOnPause:!0,relatedItems:p,availableItems:c,feedData:a.feedData,error:vt.error,errorMessage:vt.errorMessage,recommendationParams:i.recommendationParams||a.recommendationParams,page:vt.page,nextUp:h}}else d={itemsLoaded:!1,error:!0,errorMessage:"No related items",nextUp:vt.nextUp};return d.actionType=t.type,d.relatedFile=a.relatedFile,d.selectedItem=vt.selectedItem,W(i,d);case"PLAYLIST_LOADED_FAILED":return W(i,{actionType:t.type,itemsLoaded:!0,error:!0,errorMessage:a.errorMessage,relatedItems:vt.relatedItems,availableItems:vt.availableItems});case"PLAYLIST_CACHED":var w={},u=i.relatedItems.slice();return i.availableItems.length||(yt.restoreRecommendations(u),w={selectedItem:vt.selectedItem,page:vt.page,nextUp:vt.nextUp,availableItems:u}),w.actionType=t.type,w.itemsLoaded=!0,w.cached=!0,W(i,w);case"RELATED_OPENED":return W(i,{actionType:t.type,open:!0,pages:X(i,i.page,i.itemsPerPage),interactionMethod:a.method,stateWhenOpened:a.playerState,centeredItem:0,lastReasonShown:a.method});case"RELATED_CLOSED":return W(i,{actionType:t.type,open:!1,interactionMethod:a.method,page:G(i),centeredItem:0});case"ITEM_SELECTED":var m=void 0,j=a.method,f=a.selectedItem,g=yt.itemSelected(f,i.availableItems,j);return g.length&&(m=g[0]),W(i,{actionType:t.type,selectedItem:f,interactionMethod:j,nextUp:m,open:!1,availableItems:g});case"PAGED":case"PAGED_SWIPE":var y=M(i,a.direction);return y.page!==i.page&&gt.extend(y,{pages:X(i,y.page,i.itemsPerPage)}),W(i,gt.extend({actionType:t.type,lastReasonShown:t.type},y));case"RESIZED":var v=a.breakpoint,x=S(i.ui,v),b=G(i);return W(i,{actionType:t.type,page:b,pages:X(i,b,x),smallPlayer:a.smallPlayer,lastReasonShown:t.type,breakpoint:v,itemsPerPage:x});case"RESET_PAGE_POSITION":return W(i,{actionType:t.type,page:0,selectedItem:vt.selectedItem});case"REDUCER_REPLACED":return W(vt,{actionType:t.type,itemsPerPage:i.itemsPerPage,smallPlayer:i.smallPlayer});case"UI_CHANGED":return W(i,{actionType:t.type,ui:a.ui,page:G(a),itemsPerPage:S(a.ui,i.breakpoint)});default:return i}};var bt=xt,kt=i(8),Et=i.n(kt),_t=i(4),Pt=i.n(_t),Ct=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return'<div class="jw-reset jw-related-shelf"><div class="jw-reset jw-icon jw-related-control jw-related-control-left jw-off" aria-label="'+e+'" tabindex="-1">'+Ae.a+'</div><div class="jw-reset jw-related-shelf-list"><div class="jw-reset jw-related-shelf-items jw-related-shelf-start"></div></div><div class="jw-reset jw-icon jw-related-control jw-related-control-right jw-off" aria-label="'+t+'" tabindex="-1">'+Te.a+"</div></div>"},It=void 0,At=void 0,St=function(e){It=he.utils,this.player=e,this.transitionEndHandler=null,this.currentItem=0,this.isOpen=!1,At=this.onToggleAnimationEnd.bind(this)};St.prototype.renderInterface=function(){},St.prototype.setUpInterface=function(e,t,i){if(!this.shelfContainer){var a=It.createElement('<div class="jw-related-shelf-contents jw-reset">');this.moreButton=x("jw-related-more",Pt.a,e,!0),this.moreButton.appendChild(window.document.createTextNode(t.related));var n=v(t.close,e,!0);if(It.addClass(n,"jw-related-more"),n.insertBefore(window.document.createTextNode(t.close),n.firstChild),this.shelfElement=It.createElement(Ct(t.prev,t.next)),this.shelfList=this.shelfElement.querySelector(".jw-related-shelf-items"),a.appendChild(this.moreButton),a.appendChild(this.shelfElement),a.appendChild(n),this.shelfContainer=It.createElement('<div class="jw-related-shelf-container jw-reset">'),this.shelfContainer.appendChild(a),i&&"bottom-left"===i.position){var r=this.player.getContainer().querySelector(".jw-logo");It.addClass(r,"jw-logo-bump")}this.player.getControls()&&K.call(this),this.player.on("controls",J,this)}},St.prototype.destroyInterface=function(){this.player.off("controls",J,this),this.shelfContainer&&(It.emptyElement(this.shelfContainer),this.player.getControls()&&Q.call(this),this.shelfContainer=null)},St.prototype.toggle=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:!this.isOpen,t=arguments[1];this.isOpen=e,this.shelfElement.removeEventListener("transitionend",At),"enter"!==t&&"escape"!==t||this.shelfElement.addEventListener("transitionend",At),It.toggleClass(this.player.getContainer(),"jw-flag-overlay-open-related-shelf",e)},St.prototype.onToggleAnimationEnd=function(e){if(e.stopImmediatePropagation(),this.shelfElement.removeEventListener("transitionend",At),this.isOpen){var t=this.shelfList.querySelector(".jw-related-item-visible");t&&t.focus()}else this.moreButton.focus()},St.prototype.visibility=function(e){this.shelfContainer&&It.css.style(this.shelfContainer,e?{display:""}:{display:"none"})},St.prototype.renderAutoplayAnimation=function(){},St.prototype.removeInterface=function(){},St.prototype.toggleClasses=function(){},St.prototype.centerItem=function(){};var Tt=St,Lt=void 0,Dt=function(e,t,i,a,n,r,l,o,s){var d=this;Lt=he._,this.player_=e,this.localization_=i,this.open=a,this.close=n,this.playItem=r,this.triggerAnalyticsEvent=l,this.shelfView=new Tt(e),this.shelfView.setUpInterface(function(e){return d.toggleShelf(e)},this.localization_,this.player_.getConfig().logo),this.active=!0,this.scroller=new ie(this.shelfView.shelfContainer,o,s),e.getEnvironment().OS.mobile&&this.scroller.enableSwipe(),this.peekMode=t.peekMode,this.togglePeek(!0)};Dt.prototype.onRelatedStateChange=function(e,t){var i=this,a=e.open,n=e.selectedItem,r=e.itemsLoaded;if(this.player_.getControls()||"RELATED_OPENED"!==e.actionType&&"RELATED_CLOSED"!==e.actionType)if(r&&!t.itemsLoaded&&this.triggerAnalyticsEvent("playlist",e),e.canAddOnPause&&!t.canAddOnPause&&this.player_.on("pause",this.onPause,this),a||this.player_.off("play",this.close,this),"RESIZED"===e.actionType&&this.scroller.resize(e.itemsPerPage),e.error)this.shelfView.destroyInterface();else if("UI_CHANGED"===e.actionType)this.active="shelf"===e.ui,this.togglePeek("complete"!==this.player_.getState()),this.active||this.onShelfToggle(!1,e.interactionMethod),this.scroller.scrollToFirstPage(),this.shelfView.visibility(this.active||"complete"===this.player_.getState());else if(n&&n!==t.selectedItem){var l=e.interactionMethod;if("click"===l||"enter"===l?this.triggerAnalyticsEvent("feedClick",e):"auto"===l&&this.triggerAnalyticsEvent("feedAutoAdvance",e),"link"===e.onClick)window.top.location=n.link,this.close({type:"play"});else{this.player_.load(n,e.feedData);var o="auto"===l?"related-auto":"related-interaction";this.player_.play({reason:o})}this.triggerAnalyticsEvent("play",e),this.togglePeek(!0),this.onShelfToggle(!1,l),this.triggerAnalyticsEvent("close",Lt.extend(e,{interactionMethod:"play"}))}else if("PAGED"===e.actionType||"PAGED_SWIPE"===e.actionType)this.triggerAnalyticsEvent("feedShown",e);else if(a&&r)this.togglePeek(!1),this.onShelfToggle(!0,e.interactionMethod),"enter"===e.interactionMethod&&(e=Lt.extend(e,{interactionMethod:"interaction_more"})),this.triggerAnalyticsEvent("open",e),this.triggerAnalyticsEvent("feedShown",e);else if(!a&&t.open)"play"!==e.interactionMethod&&(this.peekMode&&(this.peekMode=!1),this.player_.off("pause",this.onPause,this)),this.togglePeek(!0),this.onShelfToggle(!1,e.interactionMethod),this.triggerAnalyticsEvent("close",e);else if(e.smallPlayer!==t.smallPlayer)this.onShelfToggle(a,e.interactionMethod);else if(e.showButton&&!a){if(r&&("PLAYLIST_LOADED"===e.actionType||"PLAYLIST_CACHED"===e.actionType)){var s=function(e){i.playItem(e,"click")};this.scroller.load(e.availableItems,e.itemsPerPage,s)}this.shelfView.visibility(r)}},Dt.prototype.onPause=function(e){this.active&&!this.shelfView.isOpen&&(this.player_.once("play",this.close,this),this.toggleShelf(e))},Dt.prototype.toggleShelf=function(e){this.shelfView.isOpen?this.close(e):this.open(e)},Dt.prototype.togglePeek=function(e){this.peekMode&&he.utils.toggleClass(this.player_.getContainer(),"jw-overlay-related-shelf-peek",e)},Dt.prototype.onShelfToggle=function(e,t){this.shelfView.toggle(e,t),this.scroller.onShelfToggled(e)},Dt.prototype.destroy=function(){this.player_.off("pause",this.onPause,this),this.player_.off("play",this.close,this),this.player_=null,this.open=null,this.close=null,this.playItem=null,this.triggerAnalyticsEvent=null,this.togglePeek(!1),this.onShelfToggle(!1),this.shelfView.destroyInterface(),this.shelfView=null};var Mt=Dt,Rt=void 0,zt=!1,Ut=function(e,t,i){var a=this;he.utils=e.utils,Rt=he._=e._,g(),Rt.extend(this,e.Events),this.player_=e,this.config_=t,this.localization_=e.getConfig().localization,this.div_=i,this.loader_=new je(t.requestOptions),this.analyticsEvents_=new be(t),this.autoplay_=new Ee,this.playlistReducer_=(new ht).reduce,this.relatedReducer_=(new bt).reduce,this.store_=new ge(this.playlistReducer_),this.store_.subscribe(this.onStateChange.bind(this)),this.action_=se(ce,this.store_),this.overlayView=new Xe(i,e,this.action_.resize),e.on("ready",this.ready,this),e.on("playlist",this.onPlaylist,this),e.on("playlistItem",this.onPlaylistItem,this),e.on("beforePlay",this.closeOverlay,this),e.on("breakpoint",this.onResize,this),e.on("adBreakStart",function(){a.close({type:"adBreak"})},this),!0!==e.getConfig().repeat&&e.on("complete",this.onComplete,this),he.utils.toggleClass(this.div_,"jw-plugin-related",!0)};Ut.prototype.open=function(e){if(!this.player_.getConfig().instreamMode){var t=le(e,this.shelfMode&&!this.smallPlayer)||"unknown";this.action_.open(e,t,this.player_.getState())}},Ut.prototype.onResize=function(e){var t=this.smallPlayer,i=e.breakpoint;if(this.breakpoint=i,this.smallPlayer=i<2,this.shelfMode&&"complete"!==this.player_.getState()&&(t!==this.smallPlayer&&(this.toggleRelatedButton(this.smallPlayer),this.action_.uiChanged(this.smallPlayer?"overlay":"shelf")),!this.smallPlayer))return this.overlayView.removeInterface(),void this.action_.resize(e.breakpoint,this.smallPlayer);this.overlayView.resize(e)},Ut.prototype.onComplete=function(){var e=this;this.action_.uiChanged("overlay"),this.player_.once("play",function(){e.shelfMode&&!e.smallPlayer&&e.action_.uiChanged("shelf")})},Ut.prototype.closeOverlay=function(e){this.shelfMode&&!this.smallPlayer||this.close(e)},Ut.prototype.close=function(e){var t=le(e)||"play";this.action_.close(e,t,this.player_.getState())},Ut.prototype.nextUp=function(){return this.store_.getState().nextUp},Ut.prototype.next=function(){var e=this.nextUp();e&&this.playItem(e,"next")},Ut.prototype.playItem=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"unknown";this.action_.selectItem(e,t),this.autoplay_.clear()},Ut.prototype.ready=function(){this.setupPlaylist(),setTimeout(function(){this.triggerAnalyticsEvent("setup",{onClick:this.config_.onclick})}.bind(this),0)},Ut.prototype.setupRelated=function(e){var t=this.player_,a=this.config_;zt||(i(0),zt=!0),this.shelfMode="overlay"!==a.displayMode,this.shelfMode&&(this.removeControlbarButton(),this.shelfController=new Mt(t,a,this.localization_,this.open.bind(this),this.close.bind(this),this.playItem.bind(this),this.triggerAnalyticsEvent.bind(this),this.action_.page,this.action_.scroll),this.shelfController.active=!this.smallPlayer),t.off("playlistComplete",this.open,this),"hide"!==a.oncomplete&&!1!==a.oncomplete&&!0!==t.getConfig().repeat&&t.on("playlistComplete",this.open,this),this.action_.setupRelated("autoplay"===a.oncomplete,a.autoplaymessage,a.autoplaytimer,this.localization_.nextUp,a.onclick,t.getState(),e,a.showButton,this.breakpoint,this.shelfMode&&!this.smallPlayer?"shelf":"overlay")},Ut.prototype.setupPlaylist=function(){this.action_.setupPlaylist(this.localization_.nextUp,this.config_.showButton)},Ut.prototype.loadFeeds=function(){ne(this);var e=this.player_.getPlaylistItem(),t=pe(e,this.config_);this.loadRelatedPlaylist(t)},Ut.prototype.swapReducer=function(e,t,i){var a=this,n=this.player_.getPlaylist(),r=this.store_.getReducer(),l=t;if(e){var o=pe(l,this.config_);!this.config_.disableRelated&&o.isValid?(r!==this.relatedReducer_&&(this.loader_.clearCache(),this.store_.replaceReducer(this.relatedReducer_),this.setupRelated(n)),this.action_.loading(),ne(this),this.player_.once("play",this.loadFeeds,this),this.loadFeedsIdleTimeout=setTimeout(function(){a.loadFeeds()},2e3),this.player_.once("beforePlay",function(){clearTimeout(a.loadFeedsIdleTimeout)},this)):r===this.relatedReducer_?(this.action_.loading(),this.action_.cached()):n.length>1&&this.action_.resetPagePosition()}else r!==this.playlistReducer_&&(this.store_.replaceReducer(this.playlistReducer_),this.setupPlaylist(n),this.action_.loaded(n)),l.index=i,this.action_.selectItem(l,"playlist")},Ut.prototype.onPlaylistItem=function(e){var t=this.player_.getPlaylist(),i=e.index===t.length-1;this.swapReducer(i,e.item,e.index)},Ut.prototype.onPlaylist=function(e){this.store_.getReducer()===this.playlistReducer_&&this.action_.loaded(e.playlist,e.feedData)},Ut.prototype.loadRelatedPlaylist=function(e){var t=e.feed,i=e.recommendation,a=e.file,n=this.action_.loaded.bind(this),r=this.action_.loadFailed.bind(this),l=this.action_.cached.bind(this);t?this.loader_.load(t,n,r,l):i?this.loader_.loadRecommendation(i,a,n,r,l):a?this.loader_.load(a,n,r,l):r("No valid feed found")},Ut.prototype.onStateChange=function(e,t){if(!de(e,t))switch("playlist"===e.type&&"related"===t.type&&this.shelfController&&(this.shelfController.destroy(),this.shelfController=null),e.type){case"related":if(e.nextUp!==t.nextUp){var i=0===this.config_.autoplaytimer||"hide"===this.config_.oncomplete||!1===this.config_.oncomplete;this.trigger("nextUp",re(e.nextUp,{mode:"discovery",feedData:e.feedData,showNextUp:i}))}this.shelfMode?(("UI_CHANGED"===e.actionType||"PLAYLIST_LOADED"===e.actionType||"PLAYLIST_CACHED"===e.actionType||!this.smallPlayer&&"complete"!==this.player_.getState())&&this.shelfController.onRelatedStateChange(e,t),("UI_CHANGED"===e.actionType||this.smallPlayer||"complete"===this.player_.getState())&&this.onRelatedStateChange(e,t)):this.onRelatedStateChange(e,t);break;case"playlist":this.onPlaylistStateChange(e,t)}},Ut.prototype.onRelatedStateChange=function(e,t){var a=this;e.itemsLoaded&&!t.itemsLoaded&&this.triggerAnalyticsEvent("playlist",e);var n=e.nextUp,r=n&&e.autoplay&&"complete"===e.interactionMethod,l=this.div_.querySelector(".jw-related-item-group");if(l&&ae(e,t)&&!e.error){if(r&&"RELATED_OPENED"===t.actionType&&0!==e.centeredItem){this.autoplay_.clear();var o=this.div_.querySelector(".jw-related-autoplay-svg");o&&o.parentNode&&o.parentNode.removeChild(o);this.div_.querySelector(".jw-related-next-up-text").innerHTML=t.nextUpHeading}return this.overlayView.centerItem(l,e.centeredItem,e.pages),void this.triggerAnalyticsEvent("feedShown",e)}this.overlayView.removeInterface();var s=function(e){a.playItem(e,"click")};if(e.error)this.autoplay_.clear(),this.removeControlbarButton();else{if("UI_CHANGED"===e.actionType)return;if(e.selectedItem&&e.selectedItem!==t.selectedItem){var d=e.interactionMethod;"click"===d||"enter"===d?this.triggerAnalyticsEvent("feedClick",e):"auto"===d&&this.triggerAnalyticsEvent("feedAutoAdvance",e);var p=e.selectedItem;if("link"===e.onClick)window.top.location=p.link,this.close({type:"play"});else{this.player_.load(p,e.feedData);var c="auto"===d?"related-auto":"related-interaction";this.player_.play({reason:c})}this.triggerAnalyticsEvent("play",e),this.triggerAnalyticsEvent("close",Rt.extend(e,{interactionMethod:"play"}))}else if(e.open&&e.itemsLoaded){if(this.player_.pause(),!n&&!e.pages.current.length)return void this.action_.resetPagePosition();zt||(i(0),zt=!0);var h=function(e){a.playItem(e,"auto")};if(r&&0===e.autoplayTimeout)return void h(n);var w={nextUp:this.localization_.nextUp,close:this.localization_.close,title:this.localization_.related};this.overlayView.toggleClasses(!0),this.overlayView.renderInterface(e.pages,e.page,n,s,this.close.bind(this),this.action_.page.bind(this),this.action_.scroll.bind(this),w,e.interactionMethod,e.centeredItem);var u=this.player_.getContainer().querySelector(".jw-related-btn");if(!e.smallPlayer||t.smallPlayer||u||this.addRelatedButton(),!t.open||t.open&&!t.itemsLoaded||t.open&&"UI_CHANGED"===t.actionType){if(r){var m=e.autoplayTimeout,j=e.autoplayMessage.replace(/__title__/i,n.title),f=this.div_.querySelector(".jw-related-next-up-text"),g=function(e){f&&(f.innerHTML=j.replace(/xx/i,e))};this.autoplay_.start(n,m,h,g),setTimeout(function(){a.overlayView.renderAutoplayAnimation(Math.max(0,m-.25))},250)}this.triggerAnalyticsEvent("open",e)}else e.page!==t.page&&this.autoplay_.clear();"enter"===e.interactionMethod&&"RELATED_OPENED"===e.actionType&&(e=Rt.extend(e,{interactionMethod:"interaction"+(this.shelfMode&&!this.smallPlayer?"_more":"")})),this.triggerAnalyticsEvent("feedShown",e)}else if(!e.open&&t.open){this.autoplay_.clear(),"paused"===this.player_.getState()&&"playing"===e.stateWhenOpened&&"link"!==e.onClick&&this.player_.play({reason:"related-interaction"}),this.triggerAnalyticsEvent("close",e);var y=this.shelfMode?".jw-related-more":".jw-related-btn",v=this.player_.getContainer().querySelector(y);"RELATED_CLOSED"!==e.actionType||!v||"enter"!==e.interactionMethod&&"escape"!==e.interactionMethod||v.focus()}else e.showButton&&!e.open&&(e.itemsLoaded?(this.addRelatedButton(),this.toggleRelatedButton(!this.shelfMode||this.smallPlayer)):this.removeControlbarButton())}},Ut.prototype.onPlaylistStateChange=function(e,t){var a=this,n=e.nextUp;if(n!==t.nextUp&&this.trigger("nextUp",re(n,{mode:"playlist",feedData:e.feedData,showNextUp:!0})),!e.error){var r=this.div_.querySelector(".jw-related-item-group");if(r&&ae(e,t))return this.overlayView.centerItem(r,e.centeredItem,e.pages),void this.triggerAnalyticsEvent("feedShown",e);if(this.overlayView.removeInterface(),e.selectedItem&&e.selectedItem!==t.selectedItem){var l=e.interactionMethod;if("playlist"!==l){"click"===l?this.triggerAnalyticsEvent("feedClick",e):"auto"===l&&this.triggerAnalyticsEvent("feedAutoAdvance",e);var o=e.selectedItem,s="next"===l?"interaction":"related-interaction";this.player_.playlistItem(o.index,{reason:s})}}else if(e.open){this.player_.pause(),zt||(i(0),zt=!0);var d=function(e){a.playItem(e,"click")},p={nextUp:this.localization_.nextUp,close:this.localization_.close,title:this.localization_.playlist};this.overlayView.toggleClasses(!0),this.overlayView.renderInterface(e.pages,e.page,n,d,this.close.bind(this),this.action_.page.bind(this),this.action_.scroll.bind(this),p,e.interactionMethod,e.centeredItem),"enter"===e.interactionMethod&&"RELATED_OPENED"===e.actionType&&(e=Rt.extend(e,{interactionMethod:"interaction"+(this.shelfMode&&!this.smallPlayer?"_more":"")})),this.triggerAnalyticsEvent("feedShown",e)}else e.showButton&&(this.addControlbarButton(function(e){return a.open(e)},this.localization_.playlist,"jw-playlist-btn",Et.a),"RELATED_CLOSED"!==e.actionType||"enter"!==e.interactionMethod&&"escape"!==e.interactionMethod||this.player_.getContainer().querySelector(".jw-playlist-btn").focus()),"paused"===this.player_.getState()&&"playing"===e.stateWhenOpened&&this.player_.play({reason:"interaction"})}},Ut.prototype.triggerAnalyticsEvent=function(e,t){this.trigger(e,this.analyticsEvents_.createEventData(e,t))},Ut.prototype.addRelatedButton=function(){var e=this;this.addControlbarButton(function(t){return e.open(t)},this.localization_.related,"jw-related-btn",Pt.a)},Ut.prototype.toggleRelatedButton=function(e){var t=this.player_.getContainer().querySelector(".jw-related-btn");t&&(t.style.display=e?"":"none")},Ut.prototype.addControlbarButton=function(e,t,i,a){this.player_.addButton(a,t,e,"related",i)},Ut.prototype.removeControlbarButton=function(){this.player_.removeButton("related")},Ut.version="6.2.6";var Ot=Ut;(window.jwplayerPluginJsonp||window.jwplayer().registerPlugin)("related","8.0.0",Ot)},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" class="jw-svg-icon jw-svg-icon-close" viewBox="0 0 240 240" focusable="false"><path d="M176,56.6a5.164,5.164,0,0,0-7.2-.2L120,105.2,71.4,56.6a5.164,5.164,0,0,0-7.2-.2L56.6,64a5.164,5.164,0,0,0-.2,7.2l48.8,48.9L56.6,168.7a5.164,5.164,0,0,0-.2,7.2l7.6,7.6a5.164,5.164,0,0,0,7.2.2l48.9-48.8,48.6,48.6a5.164,5.164,0,0,0,7.2.2l7.6-7.6a5.164,5.164,0,0,0,.2-7.2L134.8,120l48.6-48.6a5.164,5.164,0,0,0,.2-7.2"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" class="jw-svg-icon jw-svg-icon-arrow-down" viewBox="0 0 240 240" focusable="false"><path d="M105.398,185.598c1.1,1.1,2.3,2.2,3.6,3.1c9.9,6.9,23.5,4.4,30.4-5.5l101.6-101.9l-33.9-33.9l-84.9,84.9l-84.9-84.9l-36.3,36.3L105.398,185.598L105.398,185.598z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" class="jw-svg-icon jw-svg-icon-playlist" viewBox="0 0 240 240" focusable="false"><path d="M205,80H35c-2.7,0-5,2.2-5,5v110c0,2.7,2.2,5,5,5h170c2.7,0,5-2.2,5-5V85C210,82.2,207.8,80,205,80z M145.7,142.6l-41.4,24.9c-2.4,1.4-4.3,0.3-4.3-2.4v-50c0-2.7,1.9-3.8,4.3-2.4l41.4,24.9c1.4,0.5,2.1,2.1,1.6,3.5C147,141.7,146.4,142.2,145.7,142.6z M190,70H50V60h140V70z M170,50H70V40h100V50z"></path></svg>'},function(e,t,i){t=e.exports=i(10)(void 0),t.push([e.i,'.jw-related,.jw-related-container,.jw-related-item-group,.jw-related-item-container,.jw-related-item-content,.jw-related-item-content-container,.jw-related-item-poster,.jw-related-item-play .jw-svg-icon,.jwplayer:not(.jw-flag-small-player) .jw-related-item-next-up .jw-related-item-poster::before,.jw-related-autoplay-svg,.jw-related-shelf-list,.jw-related-shelf-items,.jw-related-shelf-item-contents,.jw-overlay-related-shelf-peek .jw-related-more:not(.jw-related-close)::after{height:100%;width:100%}.jwplayer .jw-overlays .jw-plugin-related.jw-plugin-related-open,.jw-flag-small-player .jw-related-container,.jw-related-title,.jwplayer:not(.jw-flag-small-player) .jw-related-item-next-up .jw-related-item-poster::before,.jw-related-autoplay-svg,.jw-overlay-related-shelf-peek .jw-related-more:not(.jw-related-close)::after{top:0;position:absolute;left:0}.jwplayer:not(.jw-flag-small-player) .jw-related-item-content .jw-related-item-title-text::before,.jw-related-item-title,.jwplayer:not(.jw-flag-small-player) .jw-related-item-next-up .jw-related-item-content-container::after,.jw-related-shelf{position:absolute;bottom:0;left:0}.jw-related .jw-icon-inline.jw-related-close{position:absolute;top:0;right:0}.jwplayer .jw-overlays .jw-plugin-related.jw-plugin-related-open,.jw-flag-small-player .jw-related-container,.jw-related-autoplay-svg{position:absolute;bottom:0;right:0}.jwplayer:not(.jw-flag-small-player) .jw-related-item-content .jw-related-item-title-text::before,.jwplayer:not(.jw-flag-small-player) .jw-related-item-next-up .jw-related-item-content-container::after,.jw-overlay-related-shelf-peek .jw-related-more:not(.jw-related-close)::after{content:"";display:block}.jw-plugin-related{overflow:hidden;width:100%}.jw-plugin-related:not(.jw-plugin-related-open){pointer-events:none}.jw-flag-small-player .jw-plugin-related:not(.jw-plugin-related-open){top:0;bottom:auto}.jw-flag-touch:not(.jw-flag-small-player) .jw-plugin-related:not(.jw-plugin-related-open){bottom:88px}.jw-plugin-related.jw-plugin-related-open{opacity:1;visibility:visible}.jwplayer .jw-overlays .jw-plugin-related.jw-plugin-related-open{background-color:#000;display:block}.jwplayer.jw-flag-overlay-open-related .jw-controls,.jwplayer.jw-flag-overlay-open-related .jw-title{display:none}.jw-related{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;line-height:normal;pointer-events:all;position:relative}.jw-related-container{overflow:hidden}.jw-flag-small-player .jw-related-container{display:inline-block;margin:44px auto auto;overflow:visible;padding:0;height:calc(100% - (44px * 1.5));width:calc(100% - (44px * 3))}.jw-breakpoint-2 .jw-related-container,.jw-breakpoint-3 .jw-related-container,.jw-breakpoint-4 .jw-related-container{padding:44px 44px 11px}.jw-breakpoint-5 .jw-related-container{padding:44px 50px 6px}.jw-breakpoint-6 .jw-related-container{padding:66px 66px 33px}.jw-breakpoint-7 .jw-related-container{padding:77px 77px 37px}.jw-orientation-portrait .jw-related-container{align-items:center;display:flex}.jw-related-title{color:#aaa;background-color:transparent;font-size:16px;line-height:2.75;overflow:hidden;padding:0 1em;text-overflow:ellipsis;white-space:nowrap}.jw-breakpoint-5 .jw-related-title{font-size:20px;line-height:3}.jw-breakpoint-6 .jw-related-title{font-size:24px}.jw-breakpoint-7 .jw-related-title{font-size:28px}.jw-related-item-group{overflow:hidden;position:relative}.jw-related-item-next-up+.jw-related-item-group{display:none}.jw-breakpoint-2 .jw-related-item-next-up+.jw-related-item-group{width:50%}.jwplayer:not(.jw-flag-small-player):not(.jw-breakpoint-2) .jw-related-item-next-up+.jw-related-item-group{width:66.66666667%}.jwplayer:not(.jw-flag-small-player) .jw-related-item-group{display:block}.jw-flag-small-player .jw-related-item-group{display:flex;flex-flow:row nowrap;overflow:visible;transition:transform 150ms cubic-bezier(0, .25, .25, 1);animation:jw-slide-in 150ms backwards cubic-bezier(0, .25, .25, 1)}.jw-flag-small-player .jw-related-item-group.jw-slide-back{animation-name:jw-slide-back;transform-origin:450% 50%}.jw-flag-small-player .jw-related-item-group .jw-related-item:not(:only-child){animation:none;flex:0 0 auto;opacity:.5;transform:scale(.75, .75);transform-origin:80% 50%;transition:opacity 150ms cubic-bezier(0, .25, .25, 1),transform 150ms cubic-bezier(0, .25, .25, 1);pointer-events:none}.jw-flag-small-player .jw-related-item-group .jw-related-item:not(:only-child) .jw-related-item-content .jw-related-item-title .jw-related-item-title-text,.jw-flag-small-player .jw-related-item-group .jw-related-item:not(:only-child) .jw-related-item-content:hover .jw-related-item-title .jw-related-item-title-text,.jw-flag-small-player .jw-related-item-group .jw-related-item:not(:only-child) .jw-related-item-content:focus .jw-related-item-title .jw-related-item-title-text{background:none;white-space:nowrap}.jw-flag-small-player .jw-related-item-group .jw-related-item:not(:only-child) .jw-related-item-content .jw-related-item-title .jw-related-item-title-text::before,.jw-flag-small-player .jw-related-item-group .jw-related-item:not(:only-child) .jw-related-item-content:hover .jw-related-item-title .jw-related-item-title-text::before,.jw-flag-small-player .jw-related-item-group .jw-related-item:not(:only-child) .jw-related-item-content:focus .jw-related-item-title .jw-related-item-title-text::before{content:none}.jw-flag-small-player .jw-related-item-group .jw-related-item:not(:only-child) .jw-related-item-content .jw-related-item-title .jw-related-next-up-text,.jw-flag-small-player .jw-related-item-group .jw-related-item:not(:only-child) .jw-related-item-content:hover .jw-related-item-title .jw-related-next-up-text,.jw-flag-small-player .jw-related-item-group .jw-related-item:not(:only-child) .jw-related-item-content:focus .jw-related-item-title .jw-related-next-up-text{font-weight:normal;padding:0 10px 5px}.jw-flag-small-player .jw-related-item-group .jw-related-item:not(:only-child) .jw-related-item-poster-content{background:rgba(0,0,0,0.4)}.jw-flag-small-player .jw-related-item-group .jw-related-item:not(:only-child) .jw-related-item-duration{display:none}.jw-flag-small-player .jw-related-item-group .jw-related-item.jw-related-active-item{pointer-events:auto;opacity:1;transform:scale(1, 1);transform-origin:50% 50%}.jw-flag-small-player .jw-related-item-group .jw-related-item.jw-related-active-item .jw-related-item-poster-content{background:rgba(0,0,0,0.4)}.jw-flag-small-player .jw-related-item-group .jw-related-item.jw-related-active-item~.jw-related-item{transform-origin:20% 50%}@media (orientation:landscape){.jw-flag-fullscreen .jw-orientation-portrait .jw-related-item-group{display:block}}@media (orientation:portrait){.jw-orientation-portrait .jw-related-item.jw-related-item-next-up{width:100%}}.jw-related-item{float:left;height:100%;overflow:hidden;width:100%}.jw-breakpoint-2 .jw-related-item,.jw-breakpoint-3 .jw-related-item,.jw-breakpoint-4 .jw-related-item{padding:6px}.jw-breakpoint-5 .jw-related-item,.jw-breakpoint-6 .jw-related-item{padding:10px}.jw-breakpoint-7 .jw-related-item{padding:15px}.jw-breakpoint-2 .jw-related-item-group .jw-related-item{height:50%;width:50%;display:none}.jw-breakpoint-2 .jw-related-item-group .jw-related-item:nth-child(-n + 4){display:block}.jw-breakpoint-2 .jw-related-item-next-up+.jw-related-item-group .jw-related-item:nth-child(-n + 2){display:block;width:100%}.jw-breakpoint-3 .jw-related-item-group .jw-related-item:nth-child(-n + 6),.jw-breakpoint-4 .jw-related-item-group .jw-related-item:nth-child(-n + 9){display:block}.jw-breakpoint-3 .jw-related-item-group .jw-related-item{height:50%;width:33.33333333%;display:none}.jw-breakpoint-4 .jw-related-item-group .jw-related-item{height:33.33333333%;width:33.33333333%;display:none}.jw-breakpoint-3 .jw-related-item-next-up+.jw-related-item-group .jw-related-item:nth-child(-n+4),.jw-breakpoint-4 .jw-related-item-next-up+.jw-related-item-group .jw-related-item:nth-child(-n+6),.jw-breakpoint-5 .jw-related-item-next-up+.jw-related-item-group .jw-related-item:nth-child(-n+6),.jw-breakpoint-6 .jw-related-item-next-up+.jw-related-item-group .jw-related-item:nth-child(-n+6),.jw-breakpoint-7 .jw-related-item-next-up+.jw-related-item-group .jw-related-item:nth-child(-n+6){display:block;width:50%}.jw-breakpoint-4 .jw-related-item-group .jw-related-item,.jw-breakpoint-5 .jw-related-item-group .jw-related-item,.jw-breakpoint-6 .jw-related-item-group .jw-related-item,.jw-breakpoint-7 .jw-related-item-group .jw-related-item{height:33.33333333%;width:33.33333333%;display:block}.jw-plugin-related-open .jw-related-item{animation:jw-related-item 250ms both cubic-bezier(0, .25, .25, 1)}.jw-plugin-related-open .jw-related-item:nth-child(1){animation-delay:50ms}.jw-plugin-related-open .jw-related-item:nth-child(2){animation-delay:100ms}.jw-plugin-related-open .jw-related-item:nth-child(3){animation-delay:150ms}.jw-plugin-related-open .jw-related-item:nth-child(4){animation-delay:200ms}.jw-plugin-related-open .jw-related-item:nth-child(5){animation-delay:250ms}.jw-plugin-related-open .jw-related-item:nth-child(6){animation-delay:300ms}.jw-plugin-related-open .jw-related-item.jw-related-item-next-up{animation-delay:0ms}.jw-flag-small-player .jw-plugin-related-open .jw-related-item{animation-delay:0s}.jw-related-item-content{background-color:#000;border:solid 1px rgba(255,255,255,0.2);box-sizing:border-box;cursor:pointer;display:block;overflow:hidden;position:relative;text-decoration:none;transition:border-color 200ms ease-in-out}.jwplayer:not(.jw-flag-small-player) .jw-related-item-content .jw-related-item-title-text::before{height:30px;width:100%;background-image:linear-gradient(transparent, #000);opacity:0}.jw-related-item-content:hover,.jw-related-item-content:focus{background-color:#000;border-color:#fff}.jw-related-item-content:hover .jw-related-item-title-text,.jw-related-item-content:focus .jw-related-item-title-text{background-image:linear-gradient(transparent, #000);visibility:visible;white-space:normal}.jw-related-item-content:hover .jw-related-item-title-text::before,.jw-related-item-content:focus .jw-related-item-title-text::before{opacity:1}.jw-related-item-content:focus{outline:none}.jw-related-item-content-container{overflow:hidden;position:relative}.jw-related-item-poster{background-position:center center;background-repeat:no-repeat;background-size:cover;overflow:hidden}.jw-related-item-poster-content{height:100%;overflow:hidden;position:relative}.jw-related-item-duration{position:absolute;top:15px;right:15px;color:#fff;font-size:12px;font-weight:bold;letter-spacing:.3px;text-align:right;text-shadow:-1px -1px 20px rgba(0,0,0,0.5),1px 1px 20px rgba(0,0,0,0.5)}.jw-breakpoint-2 .jw-related-item-duration,.jw-breakpoint-3 .jw-related-item-duration{position:absolute;top:10px;right:10px}.jw-breakpoint-6 .jw-related-item-duration,.jw-breakpoint-7 .jw-related-item-duration{position:absolute;top:20px;right:20px}.jw-breakpoint-6 .jw-related-item-duration{font-size:14px}.jw-breakpoint-7 .jw-related-item-duration{font-size:15px}.jw-related-item-play{top:50%;position:absolute;left:50%;transform:translate(-50%, -50%);transition:opacity 150ms cubic-bezier(0, .25, .25, 1);opacity:0}.jw-breakpoint-0 .jw-related-item-play{height:32px;width:32px}.jw-flag-small-player .jw-related-item-next-up .jw-related-item-play{transform:translate(-50%, -75%)}.jw-flag-small-player .jw-related-active-item .jw-related-item-play,.jwplayer:not(.jw-flag-small-player) .jw-related-item-next-up:hover .jw-related-item-play{opacity:1}.jw-related-item-title{overflow:hidden;text-decoration:none;text-shadow:0 0 2px rgba(0,0,0,0.5);width:100%}.jw-related-item-title .jw-related-next-up-text{color:currentColor;display:none;font-size:13px;padding:0 15px}.jw-flag-small-player .jw-related-item-title .jw-related-next-up-text{padding:0 10px}.jw-related-item-title .jw-related-item-title-text{background-image:linear-gradient(transparent, #000);box-sizing:border-box;color:currentColor;display:block;font-size:13px;font-weight:bold;line-height:1.4;max-height:104.6px;padding:50px 15px 12px;position:relative;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.jw-flag-small-player .jw-related-item:not(.jw-related-active-item) .jw-related-item-title .jw-related-item-title-text{opacity:0}.jw-flag-small-player .jw-related-item-title .jw-related-item-title-text{font-size:15px;line-height:1.2;padding:0 10px 10px}.jw-breakpoint-2 .jw-related-item-title .jw-related-item-title-text,.jw-breakpoint-3 .jw-related-item-title .jw-related-item-title-text{line-height:1.3}.jw-breakpoint-5 .jw-related-item-title .jw-related-item-title-text{max-height:122.8px}.jw-breakpoint-6 .jw-related-item-title .jw-related-item-title-text{font-size:15px;max-height:141px}.jw-breakpoint-7 .jw-related-item-title .jw-related-item-title-text{font-size:16px;line-height:1.5;max-height:159.2px}.jw-related-item-title .jw-item-index-text em{font-style:normal;font-weight:bold}.jw-breakpoint-2 .jw-related-item-title .jw-related-next-up-text,.jw-breakpoint-2 .jw-related-item-title .jw-related-item-title-text,.jw-breakpoint-3 .jw-related-item-title .jw-related-next-up-text,.jw-breakpoint-3 .jw-related-item-title .jw-related-item-title-text,.jw-breakpoint-4 .jw-related-item-title .jw-related-next-up-text,.jw-breakpoint-4 .jw-related-item-title .jw-related-item-title-text{padding:50px 10px 7px}.jw-breakpoint-6 .jw-related-item-title .jw-related-next-up-text,.jw-breakpoint-6 .jw-related-item-title .jw-related-item-title-text,.jw-breakpoint-7 .jw-related-item-title .jw-related-next-up-text,.jw-breakpoint-7 .jw-related-item-title .jw-related-item-title-text{padding:50px 20px 17px}.jw-flag-small-player .jw-related-item-title{text-shadow:none}.jw-related-item-description{opacity:.8;display:none;font-size:13px;line-height:1.2;overflow:hidden}.jw-related-item-description .jw-related-item-title-text{display:block}.jw-related-item-content:hover .jw-related-item-description .jw-related-item-title-text,.jw-related-item-content:focus .jw-related-item-description .jw-related-item-title-text{opacity:1}.jw-related-item-description-content{box-sizing:border-box;padding:0 15px}.jw-breakpoint-4 .jw-related-item-description-content{padding:0 10px}.jw-breakpoint-6 .jw-related-item-description-content,.jw-breakpoint-7 .jw-related-item-description-content{padding:0 20px}.jw-related-item-next-up{display:block;width:100%}.jw-related-item.jw-related-item-next-up{height:100%}.jwplayer:not(.jw-flag-small-player) .jw-related-item-next-up .jw-related-item-content-container::after{height:50px;width:100%;background-image:linear-gradient(to bottom, transparent, #000)}.jw-breakpoint-2 .jw-related-item-next-up .jw-related-item-content::after{height:75px}.jw-breakpoint-3 .jw-related-item-next-up .jw-related-item-content::after{height:100px}.jw-breakpoint-4 .jw-related-item-next-up .jw-related-item-content::after{height:125px}.jw-breakpoint-5 .jw-related-item-next-up .jw-related-item-content::after{height:150px}.jw-breakpoint-6 .jw-related-item-next-up .jw-related-item-content::after{height:175px}.jw-breakpoint-7 .jw-related-item-next-up .jw-related-item-content::after{height:200px}.jwplayer:not(.jw-flag-small-player) .jw-related-item-next-up .jw-related-item-content:hover .jw-related-item-content-container::after,.jwplayer:not(.jw-flag-small-player) .jw-related-item-next-up .jw-related-item-content:focus .jw-related-item-content-container::after{background-image:linear-gradient(transparent, #000)}.jwplayer:not(.jw-flag-small-player) .jw-related-item-next-up .jw-related-item-content:hover .jw-related-item-poster-content::before,.jwplayer:not(.jw-flag-small-player) .jw-related-item-next-up .jw-related-item-content:focus .jw-related-item-poster-content::before{background-image:linear-gradient(transparent, #000)}.jw-breakpoint-2 .jw-related-item-next-up{width:50%}.jw-breakpoint-3 .jw-related-item-next-up,.jw-breakpoint-4 .jw-related-item-next-up,.jw-breakpoint-5 .jw-related-item-next-up,.jw-breakpoint-6 .jw-related-item-next-up,.jw-breakpoint-7 .jw-related-item-next-up{width:33.33333333%}.jwplayer:not(.jw-flag-small-player) .jw-related-item-next-up .jw-related-item-poster{height:42.85714286%;position:relative}.jwplayer:not(.jw-flag-small-player) .jw-related-item-next-up .jw-related-item-poster::before{background-image:linear-gradient(transparent, #000);content:""}.jw-related-item-next-up .jw-related-item-title{text-shadow:none}.jw-related-item-next-up .jw-related-item-title .jw-related-next-up-text{display:block}.jwplayer:not(.jw-flag-small-player) .jw-related-item-next-up .jw-related-item-title{bottom:auto;height:auto;left:auto;position:relative;text-shadow:none}.jwplayer:not(.jw-flag-small-player) .jw-related-item-next-up .jw-related-item-title .jw-related-next-up-text{position:static}.jwplayer:not(.jw-flag-small-player) .jw-related-item-next-up .jw-related-item-title .jw-related-item-title-text{background:none;margin-bottom:5px;max-height:none;font-weight:normal;position:static;overflow:visible;white-space:normal}.jwplayer:not(.jw-flag-small-player) .jw-related-item-next-up .jw-related-item-title .jw-related-item-title-text::before{display:none}.jw-breakpoint-2 .jw-related-item-next-up .jw-related-item-title,.jw-breakpoint-3 .jw-related-item-next-up .jw-related-item-title{margin-top:-10px}.jw-breakpoint-2 .jw-related-item-next-up .jw-related-item-title .jw-related-next-up-text,.jw-breakpoint-3 .jw-related-item-next-up .jw-related-item-title .jw-related-next-up-text,.jw-breakpoint-2 .jw-related-item-next-up .jw-related-item-title .jw-related-item-title-text,.jw-breakpoint-3 .jw-related-item-next-up .jw-related-item-title .jw-related-item-title-text{padding:0 10px}.jw-breakpoint-2 .jw-related-item-next-up .jw-related-item-title .jw-related-item-title-text,.jw-breakpoint-3 .jw-related-item-next-up .jw-related-item-title .jw-related-item-title-text{font-size:15px}.jw-breakpoint-4 .jw-related-item-next-up .jw-related-item-title{margin:-15px 0 5px}.jw-breakpoint-4 .jw-related-item-next-up .jw-related-item-title .jw-related-next-up-text,.jw-breakpoint-4 .jw-related-item-next-up .jw-related-item-title .jw-related-item-title-text{padding:0 10px}.jw-breakpoint-4 .jw-related-item-next-up .jw-related-item-title .jw-related-next-up-text{font-size:15px;margin-bottom:5px}.jw-breakpoint-4 .jw-related-item-next-up .jw-related-item-title .jw-related-item-title-text{font-size:16px}.jw-breakpoint-5 .jw-related-item-next-up .jw-related-item-title{margin:-20px 0 10px}.jw-breakpoint-5 .jw-related-item-next-up .jw-related-item-title .jw-related-next-up-text,.jw-breakpoint-5 .jw-related-item-next-up .jw-related-item-title .jw-related-item-title-text{padding:0 15px}.jw-breakpoint-5 .jw-related-item-next-up .jw-related-item-title .jw-related-next-up-text{font-size:15px;margin-bottom:10px}.jw-breakpoint-5 .jw-related-item-next-up .jw-related-item-title .jw-related-item-title-text{font-size:18px}.jw-breakpoint-6 .jw-related-item-next-up .jw-related-item-title{margin:-25px 0 10px}.jw-breakpoint-6 .jw-related-item-next-up .jw-related-item-title .jw-related-next-up-text,.jw-breakpoint-6 .jw-related-item-next-up .jw-related-item-title .jw-related-item-title-text{padding:0 20px}.jw-breakpoint-6 .jw-related-item-next-up .jw-related-item-title .jw-related-next-up-text{font-size:16px;margin-bottom:10px}.jw-breakpoint-6 .jw-related-item-next-up .jw-related-item-title .jw-related-item-title-text{font-size:20px}.jw-breakpoint-7 .jw-related-item-next-up .jw-related-item-title{margin:-30px 0 15px}.jw-breakpoint-7 .jw-related-item-next-up .jw-related-item-title .jw-related-next-up-text,.jw-breakpoint-7 .jw-related-item-next-up .jw-related-item-title .jw-related-item-title-text{padding:0 20px}.jw-breakpoint-7 .jw-related-item-next-up .jw-related-item-title .jw-related-next-up-text{font-size:18px;margin-bottom:10px}.jw-breakpoint-7 .jw-related-item-next-up .jw-related-item-title .jw-related-item-title-text{font-size:24px;line-height:1.3}.jw-breakpoint-4 .jw-related-item-next-up .jw-related-item-description,.jw-breakpoint-5 .jw-related-item-next-up .jw-related-item-description,.jw-breakpoint-6 .jw-related-item-next-up .jw-related-item-description,.jw-breakpoint-7 .jw-related-item-next-up .jw-related-item-description{display:block}.jw-breakpoint-5 .jw-related-item-next-up .jw-related-item-description{font-size:14px}.jw-breakpoint-6 .jw-related-item-next-up .jw-related-item-description,.jw-breakpoint-7 .jw-related-item-next-up .jw-related-item-description{font-size:16px}@media (orientation:landscape){.jw-flag-fullscreen .jw-orientation-portrait .jw-related-item-next-up{display:block;height:100%;vertical-align:inherit}}.jw-orientation-portrait:not(.jw-flag-small-player) .jw-related-item-next-up,.jw-orientation-portrait .jw-related-item-group{height:40%}.jw-related-autoplay-frame{fill:none;stroke:transparent;stroke-width:2px}.jw-breakpoint-2 .jw-related-autoplay-frame,.jw-breakpoint-3 .jw-related-autoplay-frame,.jw-breakpoint-4 .jw-related-autoplay-frame{stroke-width:4px}.jw-breakpoint-5 .jw-related-autoplay-frame,.jw-breakpoint-6 .jw-related-autoplay-frame,.jw-breakpoint-7 .jw-related-autoplay-frame{stroke-width:8px}.jw-related-autoplay-frame-progress{fill:none;stroke:#fff;stroke-width:4px;transition:stroke 200ms ease-in-out}.jw-related-item-content:hover .jw-related-autoplay-frame-progress,.jw-related-item-content:focus .jw-related-autoplay-frame-progress{stroke:rgba(255,255,255,0.6)}.jw-breakpoint-5 .jw-related-autoplay-frame-progress,.jw-breakpoint-6 .jw-related-autoplay-frame-progress,.jw-breakpoint-7 .jw-related-autoplay-frame-progress{stroke-width:8px}.jw-related .jw-icon-inline{transition:opacity 250ms ease-in-out;z-index:1}.jw-breakpoint-5 .jw-related .jw-icon-inline .jw-svg-icon-close{height:30px;width:30px}.jw-breakpoint-6 .jw-related .jw-icon-inline .jw-svg-icon-close{height:36px;width:36px}.jw-breakpoint-7 .jw-related .jw-icon-inline .jw-svg-icon-close{height:42px;width:42px}.jw-related .jw-icon-inline.jw-related-page{position:absolute;top:50%;transform:translate(0, -50%)}.jw-related .jw-icon-inline.jw-related-page-left{left:0}.jw-related .jw-icon-inline.jw-related-page-right{right:0}.jw-breakpoint-5 .jw-related .jw-icon-inline{height:55px;width:55px}.jw-breakpoint-6 .jw-related .jw-icon-inline{height:66px;width:66px}.jw-breakpoint-7 .jw-related .jw-icon-inline{height:77px;width:77px}.jw-related-shelf-container{transform:translate(0, 100%) translate(0, -43px);transition:150ms 150ms cubic-bezier(0, .25, .25, 1);transition-property:opacity,transform;margin:0 12px}.jw-related-shelf-container .jw-related-shelf-contents{display:flex;flex-wrap:wrap;justify-content:space-between;padding:0 0 10%}.jw-breakpoint-2 .jw-related-shelf-container .jw-related-shelf-contents,.jw-breakpoint-3 .jw-related-shelf-container .jw-related-shelf-contents{padding:0 0 15%}.jw-breakpoint-4 .jw-related-shelf-container .jw-related-shelf-contents{padding:0 0 12.5%}.jw-related-shelf-container .jw-related-more{color:rgba(255,255,255,0.8);cursor:pointer;display:none;text-shadow:0 0 4px rgba(0,0,0,0.65);font-size:12px;justify-content:flex-start;margin:0;padding:0;pointer-events:auto;white-space:nowrap;width:auto;outline:none}.jw-related-shelf-container .jw-related-more:hover,.jw-related-shelf-container .jw-related-more:focus{color:#fff}.jw-related-shelf-container .jw-related-more .jw-svg-icon{-webkit-filter:drop-shadow(0 0 2px rgba(0,0,0,0.5));filter:drop-shadow(0 0 2px rgba(0,0,0,0.5));margin:0 10px 0 0;flex:0 0 auto;width:16px}.jw-related-shelf-container .jw-related-close{cursor:pointer;margin-left:auto;opacity:0;transition:opacity 150ms cubic-bezier(0, .25, .25, 1),visibility 0s 150ms linear;visibility:hidden}.jw-related-shelf-container .jw-related-close .jw-svg-icon{margin:0 6px;width:12px}.jw-flag-small-player .jw-related-shelf-container .jw-related-close{display:none}.jw-flag-overlay-open-related-shelf:not(.jw-state-complete) .jw-controls:not(.jw-settings-open) .jw-related-shelf-container{transform:translate(0, 0);transition-delay:0s}.jw-flag-overlay-open-related-shelf:not(.jw-state-complete) .jw-controls:not(.jw-settings-open) .jw-related-shelf-container .jw-related-close{opacity:1;visibility:visible;transition-delay:0s}.jw-flag-ads .jw-related-shelf-container,.jw-flag-small-player .jw-related-shelf-container{padding:0;display:none}.jw-button-container .jw-related-shelf-container{position:absolute;bottom:100%;left:0;pointer-events:none;margin-bottom:10px;right:0}.jwplayer.jw-flag-overlay-open-related-shelf:not(.jw-flag-small-player) .jw-settings-open .jw-related-shelf-container *{pointer-events:none}.jwplayer.jw-flag-overlay-open-related-shelf:not(.jw-flag-small-player) .jw-settings-open .jw-related-shelf{opacity:0;transition-delay:0s}.jw-related-control{align-items:center;border-radius:0;color:rgba(255,255,255,0.8);cursor:pointer;display:flex;flex:0 0 auto;height:auto;justify-content:center;transition:opacity 150ms cubic-bezier(0, .25, .25, 1);outline:none}.jwplayer:not(.jw-flag-touch) .jw-related-control{width:28px}.jw-related-control .jw-svg-icon{width:16px}.jw-related-control.jw-off{opacity:.25}.jw-breakpoint-4:not(.jw-flag-touch) .jw-related-control{width:22px}.jw-breakpoint-4:not(.jw-flag-touch) .jw-related-control .jw-svg-icon{width:12px}.jw-related-control:hover,.jw-related-control:focus{color:#fff}.jw-related-control:focus{border:solid 1px rgba(255,255,255,0.6)}.jw-state-playing:not(.jw-flag-user-inactive):not(.jw-flag-ads) .jw-related-more,.jw-state-buffering:not(.jw-flag-user-inactive):not(.jw-flag-ads) .jw-related-more,.jw-state-paused:not(.jw-flag-ads) .jw-related-more,.jw-state-complete:not(.jw-flag-ads) .jw-related-more{display:flex}.jw-state-playing:not(.jw-flag-user-inactive).jw-flag-touch .jw-related-more,.jw-state-buffering:not(.jw-flag-user-inactive).jw-flag-touch .jw-related-more,.jw-state-paused.jw-flag-touch .jw-related-more,.jw-state-complete.jw-flag-touch .jw-related-more{bottom:6px}.jw-state-playing:not(.jw-flag-user-inactive) .jw-logo-bump,.jw-state-buffering:not(.jw-flag-user-inactive) .jw-logo-bump,.jw-state-paused .jw-logo-bump,.jw-state-complete .jw-logo-bump{bottom:88px}.jw-related-shelf{height:calc(100% - 44px);background-color:rgba(0,0,0,0.5);display:flex;opacity:0;pointer-events:none;transition:opacity 150ms 0s cubic-bezier(0, .25, .25, 1),visibility 0s 150ms linear;width:100%;visibility:hidden}.jw-flag-overlay-open-related-shelf.jw-state-playing:not(.jw-flag-user-inactive) .jw-related-shelf,.jw-flag-overlay-open-related-shelf.jw-state-buffering:not(.jw-flag-user-inactive) .jw-related-shelf,.jw-flag-overlay-open-related-shelf.jw-state-paused .jw-controls:not(.jw-settings-open) .jw-related-shelf{opacity:1;pointer-events:auto;visibility:visible;transition-delay:150ms}.jw-flag-small-player .jw-related-shelf{display:none}.jw-related-shelf-list{-webkit-backface-visibility:hidden;backface-visibility:hidden;overflow:hidden}.jw-related-shelf-items{display:flex;overflow:visible;transition:transform 0s cubic-bezier(0, .25, .25, 1);transform:translate(-100%, 0)}.jw-related-shelf-items.jw-related-shelf-start{transform:translate(0, 0)}.jw-related-shelf-items.jw-related-shelf-animating{transition-duration:450ms;pointer-events:none}.jw-related-shelf-items.jw-related-shelf-slide-next{transform:translate(-200%, 0)}.jw-related-shelf-items.jw-related-shelf-slide-prev{transform:translate(0, 0)}.jw-related-shelf-item{height:100%;width:20%;background:50% 50% / cover no-repeat rgba(0,0,0,0.25);display:inline-block;flex:0 0 auto;padding:0;position:relative;transition:background-size 150ms cubic-bezier(0, .25, .25, 1);outline:none}.jw-related-shelf-item:hover .jw-related-shelf-item-contents,.jw-related-shelf-item:focus .jw-related-shelf-item-contents{opacity:1}.jw-related-shelf-item .jw-text{font-weight:bold;flex:0 0 100%;line-height:1.25;overflow:hidden}.jw-related-shelf-item .jw-related-shelf-item-duration{flex:0 0 100%;font-size:11px;margin:0 0 auto;text-align:right}.jw-related-shelf-item .jw-related-shelf-item-title{height:auto;margin:auto 0 0;text-align:left}.jw-breakpoint-2 .jw-related-shelf-item,.jw-breakpoint-3 .jw-related-shelf-item{width:calc(100% / 3)}.jw-breakpoint-2 .jw-related-shelf-item .jw-text,.jw-breakpoint-3 .jw-related-shelf-item .jw-text{font-size:11px}.jw-breakpoint-4 .jw-related-shelf-item{width:25%}.jw-related-shelf-item-contents{background-color:rgba(0,0,0,0.5);align-items:flex-end;cursor:pointer;display:flex;flex-wrap:wrap;opacity:0;padding:8px;position:absolute;transition:opacity 150ms cubic-bezier(0, .25, .25, 1)}.jw-flag-touch .jw-related-shelf-item-contents{opacity:1}.jw-flag-overlay-open-related-shelf:not(.jw-state-complete).jw-breakpoint-2 .jw-display,.jw-flag-overlay-open-related-shelf:not(.jw-state-complete).jw-breakpoint-3 .jw-display{padding-top:0}.jw-flag-overlay-open-related-shelf:not(.jw-state-complete).jw-breakpoint-2 .jw-display-container,.jw-flag-overlay-open-related-shelf:not(.jw-state-complete).jw-breakpoint-3 .jw-display-container{transform:translateY(-10%)}.jw-flag-overlay-open-related-shelf .jw-nextup-container.jw-nextup-container-visible,.jw-flag-overlay-open-related-shelf .jw-nextup-sticky .jw-nextup-close{opacity:0;transition:opacity 150ms 0s cubic-bezier(0, .25, .25, 1),visibility 0s 150ms linear;visibility:hidden}.jw-related-shelf-contents{transition:inherit}.jw-related-shelf-container{overflow:hidden}.jw-overlay-related-shelf-peek .jw-related-shelf-container{transform:translate(0, 0);transition-delay:0s}.jw-overlay-related-shelf-peek .jw-related-shelf{opacity:1;visibility:visible}.jw-overlay-related-shelf-peek .jw-related-shelf-contents{pointer-events:auto;transform:translate(0, 100%) translate(0, -11px);transition-delay:0s}.jwplayer:not(.jw-flag-user-inactive).jw-overlay-related-shelf-peek .jw-related-shelf-contents{transform:translate(0, 65%) translate(0, -11px)}.jwplayer:not(.jw-flag-user-inactive).jw-overlay-related-shelf-peek .jw-related-shelf-contents:hover{transform:translate(0, 50%) translate(0, -11px)}.jw-overlay-related-shelf-peek .jw-related-shelf-item-duration{display:none}.jw-overlay-related-shelf-peek .jw-related-shelf-item-contents{opacity:0}.jw-overlay-related-shelf-peek .jw-related-more{display:flex;visibility:visible;opacity:1;position:static}.jw-overlay-related-shelf-peek .jw-related-more .jw-svg-icon-arrow-down{transform:rotate(180deg)}.jw-overlay-related-shelf-peek .jw-related-more.jw-related-close{font-size:0;z-index:1}.jw-overlay-related-shelf-peek .jw-related-more.jw-related-close::before{content:"Show";font-size:12px}.jw-overlay-related-shelf-peek .jw-related-more:not(.jw-related-close)::after{pointer-events:auto;z-index:1}.jw-overlay-related-shelf-peek .jw-settings-open .jw-related-shelf-container{display:none}@keyframes jw-related-item{0%{opacity:0;transform:scale(.85, .85);visibility:hidden}to{opacity:1;transform:scale(1, 1);visibility:visible}}@keyframes jw-dash{to{stroke-dashoffset:0}}@keyframes jw-slide-in{0%{transform:translate(50%, 0) scale(.75, .75)}to{transform:translate(0, 0) scale(1, 1)}}@keyframes jw-slide-back{0%{transform:translateX(-500%) scale(.75, .75)}to{transform:translateX(-400%) scale(1, 1)}}',""])},function(e,t){function i(e,t){var i=e[1]||"",n=e[3];if(!n)return i;if(t&&"function"==typeof btoa){var r=a(n);return[i].concat(n.sources.map(function(e){return"/*# sourceURL="+n.sourceRoot+e+" */"})).concat([r]).join("\n")}return[i].join("\n")}function a(e){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(e))))+" */"}e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var a=i(t,e);return t[2]?"@media "+t[2]+"{"+a+"}":a}).join("")},t.i=function(e,i){"string"==typeof e&&(e=[[null,e,""]]);for(var a={},n=0;n<this.length;n++){var r=this[n][0];"number"==typeof r&&(a[r]=!0)}for(n=0;n<e.length;n++){var l=e[n];"number"==typeof l[0]&&a[l[0]]||(i&&!l[2]?l[2]=i:i&&(l[2]="("+l[2]+") and ("+i+")"),t.push(l))}},t}},function(e,t,i){var a;void 0!==(a=function(e,t,i){function a(e,t){r(t,l(e))}function n(e,t){var i=c[e];if(i)if(t){var a=i[t];if(a)for(var n=0;n<a.parts.length;n+=1)a.parts[n]()}else{for(var r=Object.keys(i),l=0;l<r.length;l+=1)for(var o=i[r[l]],s=0;s<o.parts.length;s+=1)o.parts[s]();delete c[e]}}function r(e,t){for(var i=0;i<t.length;i++){var a=t[i],n=(c[e]||{})[a.id];if(n){for(var r=0;r<n.parts.length;r++)n.parts[r](a.parts[r]);for(;r<a.parts.length;r++)n.parts.push(d(e,a.parts[r]))}else{for(var l=[],r=0;r<a.parts.length;r++)l.push(d(e,a.parts[r]));c[e]=c[e]||{},c[e][a.id]={id:a.id,parts:l}}}}function l(e){for(var t=[],i={},a=0;a<e.length;a++){var n=e[a],r=n[0],l=n[1],o=n[2],s={css:l,media:o};i[r]?i[r].parts.push(s):t.push(i[r]={id:r,parts:[s]})}return t}function o(e){w().appendChild(e)}function s(e){var t=document.createElement("style");return t.type="text/css",t.setAttribute("data-jwplayer-id",e),o(t),t}function d(e,t){var i,a,n,r=h[e];r||(r=h[e]={element:s(e),counter:0});var l=r.counter++;return i=r.element,a=function(e){p(i,l,e)},n=function(){p(i,l,"")},a(t.css),function(e){if(e){if(e.css===t.css&&e.media===t.media)return;t=e,a(t.css)}else n()}}function p(e,t,i){if(e.styleSheet)e.styleSheet.cssText=u(t,i);else{var a=document.createTextNode(i),n=e.childNodes,r=n[t];r?e.replaceChild(a,r):e.appendChild(a)}}var c={},h={},w=function(e){var t;return function(){return void 0===t&&(t=e.apply(this,arguments)),t}}(function(){return document.head||document.getElementsByTagName("head")[0]});i.exports={style:a,clear:n};var u=function(){var e=[];return function(t,i){return e[t]=i,e.filter(Boolean).join("\n")}}()}.call(t,i,t,e))&&(e.exports=a)}]);