!function(a,b){"object"==typeof exports&&"object"==typeof module?module.exports=b():"function"==typeof define&&define.amd?define(b):"object"==typeof exports?exports.jwplayer=b():a.jwplayer=b()}(this,function(){return function(a){function b(c){if(d[c])return d[c].exports;var e=d[c]={exports:{},id:c,loaded:!1};return a[c].call(e.exports,e,e.exports,b),e.loaded=!0,e.exports}var c=window.webpackJsonpjwplayer;window.webpackJsonpjwplayer=function(d,f){for(var g,h,i=0,j=[];ie;e++)if(c.call(d,b[e],e,b)===a)return}else for(var g=r.keys(b),e=0,f=g.length;f>e;e++)if(c.call(d,b[g[e]],g[e],b)===a)return;return b};r.map=r.collect=function(a,b,c){var d=[];return null==a?d:i&&a.map===i?a.map(b,c):(s(a,function(a,e,f){d.push(b.call(c,a,e,f))}),d)},r.find=r.detect=function(a,b,c){var d;return t(a,function(a,e,f){return b.call(c,a,e,f)?(d=a,!0):void 0}),d},r.filter=r.select=function(a,b,c){var d=[];return null==a?d:k&&a.filter===k?a.filter(b,c):(s(a,function(a,e,f){b.call(c,a,e,f)&&d.push(a)}),d)},r.reject=function(a,b,c){return r.filter(a,function(a,d,e){return!b.call(c,a,d,e)},c)},r.compact=function(a){return r.filter(a,r.identity)},r.every=r.all=function(b,c,d){c||(c=r.identity);var e=!0;return null==b?e:l&&b.every===l?b.every(c,d):(s(b,function(b,f,g){return(e=e&&c.call(d,b,f,g))?void 0:a}),!!e)};var t=r.some=r.any=function(b,c,d){c||(c=r.identity);var e=!1;return null==b?e:m&&b.some===m?b.some(c,d):(s(b,function(b,f,g){return e||(e=c.call(d,b,f,g))?a:void 0}),!!e)};r.size=function(a){return null==a?0:a.length===+a.length?a.length:r.keys(a).length},r.after=function(a,b){return function(){return--a<1?b.apply(this,arguments):void 0}},r.before=function(a,b){var c;return function(){return--a>0&&(c=b.apply(this,arguments)),1>=a&&(b=null),c}};var u=function(a){return null==a?r.identity:r.isFunction(a)?a:r.property(a)};r.sortedIndex=function(a,b,c,d){c=u(c);for(var e=c.call(d,b),f=0,g=a.length;g>f;){var h=f+g>>>1;c.call(d,a[h])=0)},r.where=function(a,b){return r.filter(a,r.matches(b))},r.findWhere=function(a,b){return r.find(a,r.matches(b))},r.max=function(a,b,c){if(!b&&r.isArray(a)&&a[0]===+a[0]&&a.length<65535)return Math.max.apply(Math,a);var d=-(1/0),e=-(1/0);return s(a,function(a,f,g){var h=b?b.call(c,a,f,g):a;h>e&&(d=a,e=h)}),d},r.difference=function(a){var c=f.apply(b,e.call(arguments,1));return r.filter(a,function(a){return!r.contains(c,a)})},r.without=function(a){return r.difference(a,e.call(arguments,1))},r.indexOf=function(a,b,c){if(null==a)return-1;var d=0,e=a.length;if(c){if("number"!=typeof c)return d=r.sortedIndex(a,b),a[d]===b?d:-1;d=0>c?Math.max(0,e+c):c}if(n&&a.indexOf===n)return a.indexOf(b,c);for(;e>d;d++)if(a[d]===b)return d;return-1};var v=function(){};r.bind=function(a,b){var c,d;if(q&&a.bind===q)return q.apply(a,e.call(arguments,1));if(!r.isFunction(a))throw new TypeError;return c=e.call(arguments,2),d=function(){if(!(this instanceof d))return a.apply(b,c.concat(e.call(arguments)));v.prototype=a.prototype;var f=new v;v.prototype=null;var g=a.apply(f,c.concat(e.call(arguments)));return Object(g)===g?g:f}},r.partial=function(a){var b=e.call(arguments,1);return function(){for(var c=0,d=b.slice(),e=0,f=d.length;f>e;e++)d[e]===r&&(d[e]=arguments[c++]);for(;c=k?(clearTimeout(g),g=null,h=j,f=a.apply(d,e),d=e=null):g||c.trailing===!1||(g=setTimeout(i,k)),f}},r.keys=function(a){if(!r.isObject(a))return[];if(p)return p(a);var b=[];for(var c in a)r.has(a,c)&&b.push(c);return b},r.invert=function(a){for(var b={},c=r.keys(a),d=0,e=c.length;e>d;d++)b[a[c[d]]]=c[d];return b},r.defaults=function(a){return s(e.call(arguments,1),function(b){if(b)for(var c in b)void 0===a[c]&&(a[c]=b[c])}),a},r.extend=function(a){return s(e.call(arguments,1),function(b){if(b)for(var c in b)a[c]=b[c]}),a},r.pick=function(a){var c={},d=f.apply(b,e.call(arguments,1));return s(d,function(b){b in a&&(c[b]=a[b])}),c},r.clone=function(a){return r.isObject(a)?r.isArray(a)?a.slice():r.extend({},a):a},r.isArray=o||function(a){return"[object Array]"==g.call(a)},r.isObject=function(a){return a===Object(a)},s(["Arguments","Function","String","Number","Date","RegExp"],function(a){r["is"+a]=function(b){return g.call(b)=="[object "+a+"]"}}),r.isArguments(arguments)||(r.isArguments=function(a){return!(!a||!r.has(a,"callee"))}),r.isFunction=function(a){return"function"==typeof a},r.isFinite=function(a){return isFinite(a)&&!isNaN(parseFloat(a))},r.isNaN=function(a){return r.isNumber(a)&&a!=+a},r.isBoolean=function(a){return a===!0||a===!1||"[object Boolean]"==g.call(a)},r.isNull=function(a){return null===a},r.isUndefined=function(a){return void 0===a},r.has=function(a,b){return h.call(a,b)},r.identity=function(a){return a},r.constant=function(a){return function(){return a}},r.property=function(a){return function(b){return b[a]}},r.propertyOf=function(a){return null==a?function(){}:function(b){return a[b]}},r.matches=function(a){return function(b){if(b===a)return!0;for(var c in a)if(a[c]!==b[c])return!1;return!0}},r.now=Date.now||function(){return(new Date).getTime()},r.result=function(a,b){if(null==a)return void 0;var c=a[b];return r.isFunction(c)?c.call(a):c};var w=0;return r.uniqueId=function(a){var b=++w+"";return a?a+b:b},r}.apply(b,d),!(void 0!==e&&(a.exports=e))},function(a,b,c){var d,e;d=[c(40),c(47),c(41),c(38)],e=function(a,b,c,d){var e=function(e){var f=window.jwplayer||{},g=/\.(js|swf)$/,h=d.extend({},f.defaults),i=new b(d.extend({},h,e)),j=i.plugins||{},k=i.analytics,l=c.repo(),m=l+"jwpsrv.js",n=l+"sharing.js",o=l+"related.js",p=l+"gapro.js",q=i.key||f.key||h.key,r=new a(q),s=r.edition();return i.plugins=j,i.key=q,"ads"===s&&i.advertising&&(g.test(i.advertising.client)?j[i.advertising.client]=i.advertising:j[l+i.advertising.client+".js"]=i.advertising),delete i.advertising,i.analytics&&g.test(i.analytics.client)&&(m=i.analytics.client),delete i.analytics,j[m]=k?k:{},delete j.sharing,delete j.related,i.ga&&(g.test(i.ga.client)&&(p=i.ga.client),j[p]=i.ga),i.sharing&&(g.test(i.sharing.client)&&(n=i.sharing.client),j[n]=i.sharing),i.related&&(g.test(i.related.client)&&(o=i.related.client),j[o]=i.related),i};return e}.apply(b,d),!(void 0!==e&&(a.exports=e))},function(a,b,c){var d,e;d=[c(41),c(46)],e=function(a,b){var c="invalid",d="RnXcsftYjWRDA^Uy",e=function(e){function f(e){a.exists(e)||(e="");try{e=b.decrypt(e,d);var f=e.split("/");if(g=f[0],"pro"===g&&(g="premium"),f.length>2&&/^(free|pro|premium|enterprise|ads)/i.test(g)){h=f[1];var j=parseInt(f[2]);j>0&&(i=new Date,i.setTime(j))}else g=c}catch(k){g=c}}var g,h,i;this.edition=function(){return i&&i.getTime()<(new Date).getTime()?c:g},this.token=function(){return h},this.expiration=function(){return i},f(e)};return e}.apply(b,d),!(void 0!==e&&(a.exports=e))},function(a,b,c){var d,e;d=[c(42),c(43),c(38),c(44),c(45)],e=function(a,b,c,d,e){function f(a){return/^(?:(?:https?|file)\:)?\/\//.test(a)}function g(a){return function(){return n(a)}}function h(a){return a&&a.indexOf("://")>=0&&a.split("/")[2]!==window.location.href.split("/")[2]}function i(a,b,c){return function(){a("Error loading file",b,c)}}function j(a,b,c,d,e){return function(){if(4===a.readyState)switch(a.status){case 200:k(a,b,c,d,e)();break;case 404:d("File not found",b,a)}}}function k(a,b,d,e,f){return function(){var g,h;if(f)d(a);else{try{if(g=a.responseXML,g&&(h=g.firstChild,g.lastChild&&"parsererror"===g.lastChild.nodeName))return void(e&&e("Invalid XML",b,a))}catch(i){}if(g&&h)return d(a);var j=v(a.responseText);if(!j||!j.firstChild)return void(e&&e(a.responseText?"Invalid XML":b,b,a));a=c.extend({},a,{responseXML:j}),d(a)}}}var l={},m=l.exists=function(a){switch(typeof a){case"string":return a.length>0;case"object":return null!==a;case"undefined":return!1}return!0};l.createElement=function(a){var b=document.createElement("div");return b.innerHTML=a,b.firstChild},l.styleDimension=function(a){return a+(a.toString().indexOf("%")>0?"":"px")},l.getAbsolutePath=function(a,b){if(m(b)||(b=document.location.href),m(a)){if(f(a))return a;var c,d=b.substring(0,b.indexOf("://")+3),e=b.substring(d.length,b.indexOf("/",d.length+1));if(0===a.indexOf("/"))c=a.split("/");else{var g=b.split("?")[0];g=g.substring(d.length+e.length+1,g.lastIndexOf("/")),c=g.split("/").concat(a.split("/"))}for(var h=[],i=0;i=11?o(a):p(a)):p()||o()},l.isSafari=function(){return n(/safari/i)&&!n(/chrome/i)&&!n(/chromium/i)&&!n(/android/i)};var q=l.isIOS=function(a){return n(a?new RegExp("iP(hone|ad|od).+\\sOS\\s"+a,"i"):/iP(hone|ad|od)/i)};l.isAndroidNative=function(a){return r(a,!0)};var r=l.isAndroid=function(a,b){return b&&n(/chrome\/[123456789]/i)&&!n(/chrome\/18/)?!1:a?(s(a)&&!/\./.test(a)&&(a=""+a+"."),n(new RegExp("Android\\s*"+a,"i"))):n(/Android/i)};l.isMobile=function(){return q()||r()},l.isIframe=function(){return window.frameElement&&"IFRAME"===window.frameElement.nodeName};var s=l.isInt=function(a){return parseFloat(a)%1===0},t=l.typeOf=function(a){if(null===a)return"null";var b=typeof a;return"object"===b&&c.isArray(a)?"array":b};l.flashVersion=function(){if(r())return 0;var a,b=navigator.plugins;if(b&&(a=b["Shockwave Flash"],a&&a.description))return parseFloat(a.description.replace(/\D+(\d+)\..*/,"$1"));if("undefined"!=typeof window.ActiveXObject){var c=l.tryCatch(function(){return a=new window.ActiveXObject("ShockwaveFlash.ShockwaveFlash"),a?parseFloat(a.GetVariable("$version").split(" ")[1].replace(/\s*,\s*/,".")):void 0});return c instanceof l.Error?0:c}return 0},l.isFlashSupported=function(){var a=l.flashVersion();return a&&a>=11.2},l.getScriptPath=c.memoize(function(a){for(var b=document.getElementsByTagName("script"),c=0;c=0)return d.substr(0,d.indexOf(a))}return""}),l.isYouTube=function(a,b){return"youtube"===b||/^(http|\/\/).*(youtube\.com|youtu\.be)\/.+/.test(a)},l.youTubeID=function(a){var b=l.tryCatch(function(){return/v[=\/]([^?&]*)|youtu\.be\/([^?]*)|^([\w-]*)$/i.exec(a).slice(1).join("").replace("?","")});return b instanceof l.Error?"":b},l.isRtmp=function(a,b){return 0===a.indexOf("rtmp")||"rtmp"===b},l.adaptiveType=function(a){if(-1!==a){var b=-120;if(b>=a)return"DVR";if(0>a||a===1/0)return"LIVE"}return"VOD"},l.foreach=function(a,b){var c,d;for(c in a)"function"===t(a.hasOwnProperty)?a.hasOwnProperty(c)&&(d=a[c],b(c,d)):(d=a[c],b(c,d))};var u=l.isHTTPS=function(){return 0===window.location.href.indexOf("https")};l.repo=c.memoize(function(){var b=e.split("+")[0],c=a.repo+b+"/";return u()?c.replace("http://","https://ssl."):c}),l.addStyleSheet=function(a){var b=document.createElement("link");b.rel="stylesheet",b.href=a,document.getElementsByTagName("head")[0].appendChild(b)},l.versionCheck=function(a){var b=("0"+a).split(/\W/),c=e.split(/\W/),d=parseFloat(b[0]),f=parseFloat(c[0]);return d>f?!1:d===f&&parseFloat("0"+b[1])>parseFloat(c[1])?!1:!0},l.ajax=function(a,b,c,d){var e,f=!1;if(a.indexOf("#")>0&&(a=a.replace(/#.*$/,"")),h(a)&&m(window.XDomainRequest))e=new window.XDomainRequest,e.onload=k(e,a,b,c,d),e.ontimeout=e.onprogress=function(){},e.timeout=5e3;else{if(!m(window.XMLHttpRequest))return c&&c("",a,e),e;e=new window.XMLHttpRequest,e.onreadystatechange=j(e,a,b,c,d)}e.overrideMimeType&&e.overrideMimeType("text/xml"),e.onerror=i(c,a,e);var g=l.tryCatch(function(){e.open("GET",a,!0)});return g instanceof l.Error&&(f=!0),setTimeout(function(){if(f)return void(c&&c(a,a,e));var b=l.tryCatch(function(){e.send()});b instanceof l.Error&&c&&c(a,a,e)},0),e};var v=l.parseXML=function(a){var b=null;return l.tryCatch(function(){if(window.DOMParser){b=(new window.DOMParser).parseFromString(a,"text/xml");var c=b.childNodes;c&&c.length&&c[0].firstChild&&"parsererror"===c[0].firstChild.nodeName&&(b=null)}else b=new window.ActiveXObject("Microsoft.XMLDOM"),b.async="false",b.loadXML(a)}),b};l.between=function(a,b,c){return Math.max(Math.min(a,c),b)},l.prefix=function(a,b){return c.map(a,function(a){return b+a})},l.suffix=function(a,b){return c.map(a,function(a){return a+b})},l.seconds=function(a){if(c.isNumber(a))return a;a=a.replace(",",".");var b=a.split(":"),d=0;return"s"===a.slice(-1)?d=parseFloat(a):"m"===a.slice(-1)?d=60*parseFloat(a):"h"===a.slice(-1)?d=3600*parseFloat(a):b.length>1?(d=parseFloat(b[b.length-1]),d+=60*parseFloat(b[b.length-2]),3===b.length&&(d+=3600*parseFloat(b[b.length-3]))):d=parseFloat(a),d},l.serialize=function(a){if(void 0===a)return null;if("string"==typeof a&&a.length<6){var b=a.toLowerCase();if("true"===b)return!0;if("false"===b)return!1;if(!isNaN(Number(a))&&!isNaN(parseFloat(a)))return Number(a)}return a},l.classList=function(a){return a.classList?a.classList:a.className.split(" ")},l.hasClass=d.hasClass,l.addClass=function(a,d){var e=c.isString(a.className)?a.className.split(" "):[],f=c.isArray(d)?d:d.split(" ");c.each(f,function(a){c.contains(e,a)||e.push(a)}),a.className=b.trim(e.join(" "))},l.removeClass=function(a,d){var e=c.isString(a.className)?a.className.split(" "):[],f=c.isArray(d)?d:d.split(" ");a.className=b.trim(c.difference(e,f).join(" "))},l.toggleClass=function(a,b,d){var e=l.hasClass(a,b);d=c.isBoolean(d)?d:!e,d!==e&&(d?l.addClass(a,b):l.removeClass(a,b))},l.emptyElement=function(a){for(;a.firstChild;)a.removeChild(a.firstChild)},l.indexOf=c.indexOf,l.noop=function(){},l.parseDimension=function(a){return"string"==typeof a?""===a?0:a.lastIndexOf("%")>-1?a:parseInt(a.replace("px",""),10):a},l.timeFormat=function(a){if(a>0){var b=Math.floor(a/3600),c=Math.floor((a-3600*b)/60),d=Math.floor(a%60);return(b?b+":":"")+(10>c?"0":"")+c+":"+(10>d?"0":"")+d}return"00:00"},l.bounds=function(a){var b={left:0,right:0,width:0,height:0,top:0,bottom:0};if(!a||!document.body.contains(a))return b;if(a.getBoundingClientRect){var c=a.getBoundingClientRect(a),d=window.pageYOffset,e=window.pageXOffset;if(!(c.width||c.height||c.left||c.top))return b;b.left=c.left+e,b.right=c.right+e,b.top=c.top+d,b.bottom=c.bottom+d,b.width=c.right-c.left,b.height=c.bottom-c.top}else{b.width=0|a.offsetWidth,b.height=0|a.offsetHeight;do b.left+=0|a.offsetLeft,b.top+=0|a.offsetTop;while(a=a.offsetParent);b.right=b.left+b.width,b.bottom=b.top+b.height}return b},l.empty=function(a){if(a)for(;a.childElementCount>0;)a.removeChild(a.children[0])};var w=l.Error=function(a,b){this.name=a,this.message=b};return l.tryCatch=function(a,b,c){if(b=b||this,c=c||[],window.jwplayer&&window.jwplayer.debug)return a.apply(b,c);try{return a.apply(b,c)}catch(d){return new w(a.name,d)}},l}.apply(b,d),!(void 0!==e&&(a.exports=e))},function(a,b,c){var d,e;d=[],e=function(){return{repo:"http://p.jwpcdn.com/player/v/",SkinsIncluded:["seven"],SkinsLoadable:["beelden","bekle","five","glow","roundster","six","stormtrooper","vapor"]}}.apply(b,d),!(void 0!==e&&(a.exports=e))},function(a,b,c){var d,e;d=[],e=function(){function a(a){return a.indexOf("(format=m3u8-")>-1?"m3u8":!1}var b=function(a){return a.replace(/^\s+|\s+$/g,"")},c=function(a,b,c){for(c||(c="0");a.length-1?b.substr(b.lastIndexOf(".")+1,b.length).toLowerCase():void 0)};return{trim:b,pad:c,xmlAttribute:d,extension:e}}.apply(b,d),!(void 0!==e&&(a.exports=e))},function(a,b,c){var d,e;d=[],e=function(){return{hasClass:function(a,b){var c=" "+b+" ";return 1===a.nodeType&&(" "+a.className+" ").replace(/[\t\r\n\f]/g," ").indexOf(c)>=0}}}.apply(b,d),!(void 0!==e&&(a.exports=e))},function(a,b,c){var d,e;d=[],e=function(){return"7.0.1+commercial_v7-0-1.39.commercial.33dee3.jwplayer.6b17f5.analytics.af35ed.vast.7e8ed7.googima.51f628.plugins.73d5ab"}.apply(b,d),!(void 0!==e&&(a.exports=e))},function(a,b,c){var d,e;d=[],e=function(){var a=function(a,b){if("undefined"!=typeof window.atob)return atob(a);b="undefined"==typeof b?!1:b;var d,e,f,g,h,i,j,k,l,m,n=[],o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";m=b?c(a):a;for(var p=0;p>>16&255,e=k>>>8&255,f=255&k,n[p/4]=String.fromCharCode(d,e,f),64==j&&(n[p/4]=String.fromCharCode(d,e)),64==i&&(n[p/4]=String.fromCharCode(d));return l=n.join(""),b?c(l):l},b=function(a){return unescape(encodeURIComponent(a))},c=function(a){try{return decodeURIComponent(escape(a))}catch(b){return a}},d=function(a){for(var b=new Array(Math.ceil(a.length/4)),c=0;c>>8&255,a[c]>>>16&255,a[c]>>>24&255);return b.join("")};return{decrypt:function(f,g){if(f=String(f),g=String(g),0==f.length)return"";for(var h,i,j=d(a(f)),k=d(b(g).slice(0,16)),l=j.length,m=j[l-1],n=j[0],o=2654435769,p=Math.floor(6+52/l),q=p*o;0!=q;){i=q>>>2&3;for(var r=l-1;r>=0;r--)m=j[r>0?r-1:l-1],h=(m>>>5^n<<2)+(n>>>3^m<<4)^(q^n)+(k[3&r^i]^m),n=j[r]-=h;q-=o}var s=e(j);return s=s.replace(/\0+$/,""),c(s)}}}.apply(b,d),!(void 0!==e&&(a.exports=e))},function(a,b,c){var d,e;d=[c(41),c(48),c(38)],e=function(a,b,d){function e(b){d.each(b,function(c,d){b[d]=a.serialize(c)})}function f(a){return a.slice&&"px"===a.slice(-2)&&(a=a.slice(0,-2)),a}function g(b,c){if(-1===c.toString().indexOf("%"))return 0;if("string"!=typeof b||!a.exists(b))return 0;var d=b.indexOf(":");if(-1===d)return 0;var e=parseFloat(b.substr(0,d)),f=parseFloat(b.substr(d+1));return 0>=e||0>=f?0:f/e*100+"%"}var h={autostart:!1,controls:!0,cookies:!0,displaytitle:!0,displaydescription:!0,mobilecontrols:!1,repeat:!1,skin:"seven",stretching:b.UNIFORM,mute:!1,volume:90,width:480,height:270},i=function(b){var i=d.extend({},(window.jwplayer||{}).defaults,b);e(i);var j=d.extend({},h,i);return"."===j.base&&(j.base=a.getScriptPath("jwplayer.js")),j.base=(j.base||a.repo()).replace(/\/?$/,"/"),c.p=j.base,j.width=f(j.width),j.height=f(j.height),j.flashplayer=j.flashplayer||a.getScriptPath("jwplayer.js")+"jwplayer.flash.swf",j.aspectratio=g(j.aspectratio,j.width),d.isObject(j.skin)&&(j.skinUrl=j.skin.url,j.skinColorInactive=j.skin.inactive,j.skinColorActive=j.skin.active,j.skinColorBackground=j.skin.background,j.skin=d.isString(j.skin.name)?j.skin.name:h.skin),d.isString(j.skin)&&j.skin.indexOf(".xml")>0&&(console.log("JW Player does not support XML skins, please update your config"),j.skin=j.skin.replace(".xml","")),j.aspectratio||delete j.aspectratio,j.playlist||(j.playlist=d.clone(j)),j};return i}.apply(b,d),!(void 0!==e&&(a.exports=e))},function(a,b,c){var d,e;d=[c(38),c(41),c(49)],e=function(a,b,c){var d={NONE:"none",FILL:"fill",UNIFORM:"uniform",EXACTFIT:"exactfit"},e=function(a,b,d,e,f){var g="";b=b||1,d=d||1,e=0|e,f=0|f,(1!==b||1!==d)&&(g="scale("+b+", "+d+")"),(e||f)&&(g&&(g+=" "),g="translate("+e+"px, "+f+"px)"),c.transform(a,g)},f=e,g=function(e,g,h,i,j,k){if(!g)return!1;if(!(h&&i&&j&&k))return!1;e=e||d.UNIFORM;var l=2*Math.ceil(h/2)/j,m=2*Math.ceil(i/2)/k,n="video"===g.tagName.toLowerCase(),o=!1,p="jw-stretch-"+e.toLowerCase(),q=!1;switch(e.toLowerCase()){case d.FILL:l>m?m=l:l=m,o=!0;break;case d.NONE:l=m=1;case d.EXACTFIT:o=!0;break;case d.UNIFORM:default:l>m?(j*m/h>.95?(o=!0,p="jw-stretch-exactfit"):(j*=m,k*=m),q=!0):(k*l/i>.95?(o=!0,p="jw-stretch-exactfit"):(j*=l,k*=l),q=!1),o&&(l=2*Math.ceil(h/2)/j,m=2*Math.ceil(i/2)/k)}if(n){var r={left:"",right:"",width:"",height:""};if(o?(j>h&&(r.left=r.right=Math.ceil((h-j)/2)),k>i&&(r.top=r.bottom=Math.ceil((i-k)/2)),r.width=j,r.height=k,f(g,l,m,0,0)):(o=!1,c.transform(g)),b.isIOS(8)&&o===!1){var s={width:"auto",height:"auto"};e.toLowerCase()===d.UNIFORM&&(s[q===!1?"width":"height"]="100%"),a.extend(r,s)}c.style(g,r)}else g.className=g.className.replace(/\s*jw\-stretch\-(none|exactfit|uniform|fill)/g,"")+" "+p;return o};return{scale:e,stretching:d,stretch:g}}.apply(b,d),!(void 0!==e&&(a.exports=e))},function(a,b,c){var d,e;d=[c(41),c(43),c(38)],e=function(a,b,c){function d(a){var b=document.createElement("style");return a&&b.appendChild(document.createTextNode(a)),b.type="text/css",document.getElementsByTagName("head")[0].appendChild(b),b}function e(a,b,c){var d,e,f=!1;for(d in b)e=h(d,b[d],c),""!==e?e!==a[d]&&(a[d]=e,f=!0):void 0!==a[d]&&(delete a[d],f=!0);return f}function f(a,b){for(var c in b)a[c]=h(c,b[c])}function g(a){a=a.split("-");for(var b=1;bn)&&(m=d()),o[a]=m}return null!==q?void(q.styleSheets[a]=p[a]):void j(a)}},v=function(a,b,d){if(void 0!==a&&null!==a){void 0===a.length&&(a=[a]);var e={};return f(e,b),null===q||d?void i(a,e):(a.__cssRules||(a.__cssRules={}),c.extend(a.__cssRules,e),void(c.indexOf(q.elements,a)<0&&q.elements.push(a)))}},w=function(a){null===q&&(q={id:a,styleSheets:{},elements:[]})},x=function(a){if(q&&(!a||q.id===a)){for(var b in q.styleSheets)j(b);for(var c=0;c=0&&delete p[b];for(var c in o)c.indexOf(a)>=0&&j(c)},z=function(a,b){var c="transform",d={};b=b||"",d[c]=b,d["-webkit-"+c]=b,d["-ms-"+c]=b,d["-moz-"+c]=b,d["-o-"+c]=b,"string"==typeof a?u(a,d):v(a,d)},A=function(a,b){u(a,{"-webkit-user-select":b,"-moz-user-select":b,"-ms-user-select":b,"-webkit-user-drag":b,"user-select":b,"user-drag":b})},B=function(a,b){navigator.userAgent.match(/5\.\d(\.\d)? safari/i)||u(a,{"-webkit-transition":b,"-moz-transition":b,"-o-transition":b,transition:b})},C=function(a,b){z(a,"rotate("+b+"deg)")},D=function(a,b){var c="rgb";a?(a=String(a).replace("#",""),3===a.length&&(a=a[0]+a[0]+a[1]+a[1]+a[2]+a[2])):a="000000";var d=[parseInt(a.substr(0,2),16),parseInt(a.substr(2,2),16),parseInt(a.substr(4,2),16)];return void 0!==b&&100!==b&&(c+="a",d.push(b/100)),c+"("+d.join(",")+")"};return a.style=v,{cssKeyframes:t,css:u,style:v,block:w,unblock:x,clearCss:y,transform:z,dragStyle:A,transitionStyle:B,rotate:C,hexToRgba:D}}.apply(b,d),!(void 0!==e&&(a.exports=e))},function(a,b,c){var d,e;d=[],e=function(){return{BUFFERING:"buffering",IDLE:"idle",COMPLETE:"complete",PAUSED:"paused",PLAYING:"playing",ERROR:"error",LOADING:"loading",STALLED:"stalled"}}.apply(b,d),!(void 0!==e&&(a.exports=e))},function(a,b,c){var d,e;d=[c(38)],e=function(a){var b=[],c=b.slice,d={on:function(a,b,c){if(!f(this,"on",a,[b,c])||!b)return this;this._events||(this._events={});var d=this._events[a]||(this._events[a]=[]);return d.push({callback:b,context:c,ctx:c||this}),this},once:function(b,c,d){if(!f(this,"once",b,[c,d])||!c)return this;var e=this,g=a.once(function(){e.off(b,g),c.apply(this,arguments)});return g._callback=c,this.on(b,g,d)},off:function(b,c,d){var e,g,h,i,j,k,l,m;if(!this._events||!f(this,"off",b,[c,d]))return this;if(!b&&!c&&!d)return this._events=void 0,this;for(i=b?[b]:a.keys(this._events),j=0,k=i.length;k>j;j++)if(b=i[j],h=this._events[b]){if(this._events[b]=e=[],c||d)for(l=0,m=h.length;m>l;l++)g=h[l],(c&&c!==g.callback&&c!==g.callback._callback||d&&d!==g.context)&&e.push(g);e.length||delete this._events[b]}return this},trigger:function(a){if(!this._events)return this;var b=c.call(arguments,1);if(!f(this,"trigger",a,b))return this;var d=this._events[a],e=this._events.all;return d&&g(d,b),e&&g(e,arguments),this}},e=/\s+/,f=function(a,b,c,d){if(!c)return!0;if("object"==typeof c){for(var f in c)a[b].apply(a,[f,c[f]].concat(d));return!1}if(e.test(c)){for(var g=c.split(e),h=0,i=g.length;i>h;h++)a[b].apply(a,[g[h]].concat(d));return!1}return!0},g=function(a,b){var c,d=-1,e=a.length,f=b[0],g=b[1],h=b[2];switch(b.length){case 0:for(;++d0;){var a=Y.eventsQueue.shift(),b=a[0],c=a[1]||[];Y[b].apply(Y,c)}}function r(a){switch(u(!0),Q.get("autostart")&&Q.once("setItem",t),typeof a){case"string":s(a);break;case"object":Q.setPlaylist(a);break;case"number":Q.setItem(a)}}function s(a){var b=new g;b.on(m.JWPLAYER_PLAYLIST_LOADED,function(a){r(a.playlist)}),b.on(m.JWPLAYER_ERROR,function(a){Q.set("state",l.ERROR),r([]),a.message="Could not load playlist: "+a.message,Y.trigger.call(Y,a.type,a)}),b.load(a)}function t(a){var b;if(a===!1)return v();if(Q.get("state")!==l.ERROR){if(Q.get("state")===l.COMPLETE&&(u(!0),Q.setItem(0)),!W&&(W=!0,Y.trigger(m.JWPLAYER_MEDIA_BEFOREPLAY,{}),W=!1,V))return V=!1,void(U=null);if(w()){if(0===Q.get("playlist").length)return!1;b=h.tryCatch(function(){Q.loadVideo()})}else Q.get("state")===l.PAUSED&&(b=h.tryCatch(function(){Q.playVideo()}));return b instanceof h.Error?(Y.trigger(m.JWPLAYER_ERROR,b),U=null,!1):!0}}function u(a){Q.off("setItem",t);var b=!a;U=null;var c=h.tryCatch(function(){Z().stop()},Y);return c instanceof h.Error?(Y.trigger(m.JWPLAYER_ERROR,c),!1):(b&&(X=!0),W&&(V=!0),!0)}function v(a){if(U=null,h.exists(a)){if(!a)return t()}else a=!0;switch(Q.get("state")){case l.ERROR:return!1;case l.PLAYING:case l.BUFFERING:var b=h.tryCatch(function(){Z().pause()},this);if(b instanceof h.Error)return Y.trigger(m.JWPLAYER_ERROR,b),!1;break;default:W&&(V=!0)}return!0}function w(){var a=Q.get("state");return a===l.IDLE||a===l.COMPLETE||a===l.ERROR}function x(a){Q.get("state")!==l.ERROR&&(Q.get("scrubbing")||Q.get("state")===l.PLAYING||t(!0),Z().seek(a))}function y(a){u(!0),Q.setItem(a),t()}function z(){y(Q.get("item")-1)}function A(){y(Q.get("item")+1)}function B(){if(w()){if(X)return void(X=!1);U=B;var a=Q.get("item");return a===Q.get("playlist").length-1?void(Q.get("repeat")?A():(Q.set("state",l.COMPLETE),Y.trigger(m.JWPLAYER_PLAYLIST_COMPLETE,{}))):void A()}}function C(a){Z().setCurrentQuality(a)}function D(){return Z()?Z().getCurrentQuality():-1}function E(){return this._model?this._model.get("config"):void 0}function F(){if(this._model.mediaModel)return this._model.mediaModel.visualQuality;var a=G();if(a){var b=D(),d=a[b];if(d)return{level:c.extend({index:b},d),mode:"",reason:""}}return null}function G(){return Z()?Z().getQualityLevels():null}function H(a){Z().setCurrentAudioTrack(a)}function I(){return Z()?Z().getCurrentAudioTrack():-1}function J(){return Z()?Z().getAudioTracks():null}function K(a){Q.setVideoSubtitleTrack(a),Y.trigger(m.JWPLAYER_CAPTIONS_CHANGED,{tracks:M(),track:a})}function L(){return S.getCurrentIndex()}function M(){return S.getCaptionsList()}function N(){var a=Q.getVideo();if(a){var b=a.detachMedia();if(b instanceof HTMLVideoElement)return b}return null}function O(){var a=Q.getVideo();return a?a.isCaster:!1}function P(a){var b=h.tryCatch(function(){Q.getVideo().attachMedia(a)});return b instanceof h.Error?void h.log("Error calling _attachMedia",b):void("function"==typeof U&&U())}var Q,R,S,T,U,V,W=!1,X=!1,Y=this,Z=function(){return Q.getVideo()};Q=this._model.setup(f),R=this._view=new i(j,Q),S=new e(j,Q),T=new d(j,Q,R),Y.id=this._model.id,T.on(m.JWPLAYER_READY,o,this),T.on(m.JWPLAYER_SETUP_ERROR,function(a){Y.setupError(a.message)}),Q.mediaController.on(m.JWPLAYER_MEDIA_COMPLETE,function(){c.defer(B)}),Q.mediaController.on(m.JWPLAYER_MEDIA_ERROR,function(a){Q.set("state",l.ERROR);var b=c.extend({},a);b.type=m.JWPLAYER_ERROR,this.trigger(b.type,b)},this),n(),Q.on("change:mediaModel",n),this.play=t,this.pause=v,this.seek=x,this.stop=u,this.load=r,this.playlistNext=A,this.playlistPrev=z,this.playlistItem=y,this.setCurrentCaptions=K,this.setCurrentQuality=C,this.detachMedia=N,this.attachMedia=P,this.getCurrentQuality=D,this.getQualityLevels=G,this.setCurrentAudioTrack=H,this.getCurrentAudioTrack=I,this.getAudioTracks=J,this.getCurrentCaptions=L,this.getCaptionsList=M,this.getVisualQuality=F,this.getConfig=E,this.setVolume=Q.setVolume,this.setMute=Q.setMute,this.seekDrag=Q.seekDrag,this.getProvider=function(){return Q.get("provider")},this.getContainer=function(){return this.currentContainer},this.resize=R.resize,this.getSafeRegion=R.getSafeRegion,this.setCues=R.addCues,this.setFullscreen=R.fullscreen,this.addButton=function(a,b,d,e){var f={img:a,tooltip:b,callback:d,id:e},g=Q.get("dock");g=g?g.slice(0):[],g=c.reject(g,c.matches({id:f.id})),g.push(f),Q.set("dock",g)},this.removeButton=function(a){var b=Q.get("dock")||[];b=c.reject(b,c.matches({id:a})),Q.set("dock",b)},this.checkBeforePlay=function(){return W},this.getItemQoe=function(){return Q._qoeItem},this.setControls=function(a){Q.set("controls",a)},this.playerDestroy=function(){this.stop(),this.showView(this.originalContainer),R&&R.destroy(),Q&&Q.destroy(),T&&(T.destroy(),T=null)},this.isBeforePlay=this.checkBeforePlay,this.isBeforeComplete=function(){return Q.getVideo().checkComplete()},this.createInstream=function(){return Y.instreamDestroy(),Y._instreamAdapter=new b(this,Q,R),Y._instreamAdapter},this.instreamDestroy=function(){Y._instreamAdapter&&Y._instreamAdapter.destroy()},a(j,this),T.start()},showView:function(a){(document.documentElement.contains(this.currentContainer)||(this.currentContainer=document.getElementById(this.id),this.currentContainer))&&(this.currentContainer.parentElement&&this.currentContainer.parentElement.replaceChild(a,this.currentContainer),this.currentContainer=a)},setupError:function(a){var b=h.createElement(n(this._model.get("id"),this._model.get("skin"),a)),d=this._model.get("width"),e=this._model.get("height");h.style(b,{width:d.toString().indexOf("%")>0?d:d+"px",height:e.toString().indexOf("%")>0?e:e+"px"}),this.showView(b);var f=this;c.defer(function(){f.trigger(m.JWPLAYER_SETUP_ERROR,{message:a})})}},q}.apply(b,d),!(void 0!==e&&(a.exports=e))},function(a,b,c){var d,e;d=[],e=function(){return function(a,b){a.getPlaylistIndex=a.getItem;var c={jwPlay:b.play,jwPause:b.pause,jwSetMute:b.setMute,jwLoad:b.load,jwPlaylistItem:b.item,jwGetAudioTracks:b.getAudioTracks,jwDetachMedia:b.detachMedia,jwAttachMedia:b.attachMedia,jwAddEventListener:b.on,jwRemoveEventListener:b.off,jwStop:b.stop,jwSeek:b.seek,jwSetVolume:b.setVolume,jwPlaylistNext:b.next,jwPlaylistPrev:b.prev,jwSetFullscreen:b.setFullscreen,jwGetQualityLevels:b.getQualityLevels,jwGetCurrentQuality:b.getCurrentQuality,jwSetCurrentQuality:b.setCurrentQuality,jwSetCurrentAudioTrack:b.setCurrentAudioTrack,jwGetCurrentAudioTrack:b.getCurrentAudioTrack,jwGetCaptionsList:b.getCaptionsList,jwGetCurrentCaptions:b.getCurrentCaptions,jwSetCurrentCaptions:b.setCurrentCaptions,jwSetCues:b.setCues};a.callInternal=function(a){console.log("You are using the deprecated callInternal method for "+a);var d=Array.prototype.slice.call(arguments,1);c[a].apply(b,d)}}}.apply(b,d),!(void 0!==e&&(a.exports=e))},function(a,b,c){var d,e;d=[c(58),c(41),c(51),c(38),c(53)],e=function(a,b,c,d,e){var f=function(b,c,f,g){function h(){m("Setup Timeout Error","Setup took longer than "+g+" seconds to complete.")}function i(){d.each(p,function(a){a.complete!==!0&&a.running!==!0&&null!==b&&k(a.depends)&&(a.running=!0,j(a))})}function j(a){var d=function(b){b=b||{},l(a,b)};a.method(d,c,b,f)}function k(a){return d.all(a,function(a){return p[a].complete})}function l(a,b){"error"===b.type?m(b.msg,b.reason):"complete"===b.type?(clearTimeout(n),o.trigger(e.JWPLAYER_READY)):(a.complete=!0,i())}function m(a,b){clearTimeout(n),o.trigger(e.JWPLAYER_SETUP_ERROR,{message:a+": "+b}),o.destroy()}var n,o=this,p=a.getQueue();g=g||10,this.start=function(){n=setTimeout(h,1e3*g),i()},this.destroy=function(){clearTimeout(n),this.off(),p=0,b=null,c=null,f=null}};return f.prototype=c,f}.apply(b,d),!(void 0!==e&&(a.exports=e))},function(a,b,c){var d,e;d=[c(59)],e=function(a){function b(b,c){var d=c.get("key"),e=c.edition();"invalid"===e?a.error(b,"Error setting up player",(void 0===d?"Missing":"Invalid")+" license key"):b()}function d(a,b){var d=b.get("config");"dashjs"===d.dash?c.e(1,function(d){var e=c(85);e.register(window.jwplayer),b.updateProviders(),a()}):d.dash?c.e(2,function(d){var e=c(87);e.register(window.jwplayer),b.updateProviders(),a()}):a()}function e(){var c=a.getQueue();return c.LOAD_PLAYLIST.depends.push("LOAD_PROVIDERS"),c.LOAD_PROVIDERS={method:d,depends:[]},c.LOAD_PROVIDERS.depends.push("CHECK_KEY"),c.CHECK_KEY={method:b,depends:[]},c}return{getQueue:e}}.apply(b,d),!(void 0!==e&&(a.exports=e))},function(a,b,c){var d,e;d=[c(60),c(66),c(63),c(42),c(38),c(53)],e=function(a,b,c,d,e,f){function g(){var a={LOAD_PLUGINS:{method:h,depends:[]},LOAD_SKIN:{method:q,depends:[]},LOAD_PLAYLIST:{method:l,depends:[]},SETUP_COMPONENTS:{method:r,depends:["LOAD_PLAYLIST","LOAD_SKIN"]},SEND_READY:{method:s,depends:["LOAD_PLUGINS","SETUP_COMPONENTS"]}};return a}function h(b,c,d){u=a.loadPlugins(c.config.id,c.config.plugins),u.on(f.COMPLETE,e.partial(i,b,c,d)),u.on(f.ERROR,e.partial(k,b)),u.load()}function i(a,b,c){u.setupPlugins(c,b.config,e.partial(j,c)),a()}function j(a,b,c,d){var e=a.id;return function(){var a=document.querySelector("#"+e+" .jw-overlays");a&&d&&a.appendChild(c),"function"==typeof b.resize&&(b.resize(a.clientWidth,a.clientHeight),setTimeout(function(){b.resize(a.clientWidth,a.clientHeight)},400)),a&&a.style&&(c.left=a.style.left,c.top=a.style.top)}}function k(a,b){t(a,"Could not load plugin",b.message)}function l(a,c){var d=c.config.playlist;e.isString(d)?(v=new b,v.on(f.JWPLAYER_PLAYLIST_LOADED,function(b){m(a,c,b.playlist)}),v.on(f.JWPLAYER_ERROR,e.partial(n,a)),v.load(d)):m(a,c,d)}function m(a,b,c){b.setPlaylist(c);var d=b.get("playlist");return e.isArray(d)&&0!==d.length?void a():void n(a,"Playlist type not supported")}function n(a,b){b&&b.message?t(a,"Error loading playlist",b.message):t(a,"Error loading player","No playable sources found")}function o(a,b){return e.contains(d.SkinsLoadable,a)?b+"skins/"+a+".css":void 0}function p(a){for(var b=document.styleSheets,c=0,d=b.length;d>c;c++)if(b[c].href===a)return!0;return!1}function q(a,b){var g=b.get("skin"),h=b.get("skinUrl");if(e.contains(d.SkinsIncluded,g))return void a();if(h||(h=o(g,b.get("base"))),e.isString(h)&&!p(h)){b.set("skin-loading",!0);var i=!0,j=new c(h,i);j.addEventListener(f.COMPLETE,function(){b.set("skin-loading",!1)}),j.addEventListener(f.ERROR,function(){console.log("The given skin failed to load : ",h),b.set("skin","seven"),b.set("skin-loading",!1)}),j.load()}e.defer(function(){a()})}function r(a,b,c,d){d.setup(),a()}function s(a){a({type:"complete"})}function t(a,b,c){a({type:"error",msg:b,reason:c})}var u,v;return{getQueue:g,error:t}}.apply(b,d),!(void 0!==e&&(a.exports=e))},function(a,b,c){var d,e;d=[c(61),c(64),c(65),c(62)],e=function(a,b,c,d){var e={},f={},g=function(c,d){return f[c]=new a(new b(e),d),f[c]},h=function(a,b,f,g){var h=d.getPluginName(a);e[h]||(e[h]=new c(a)),e[h].registerPlugin(a,b,f,g)};return{loadPlugins:g,registerPlugin:h}}.apply(b,d),!(void 0!==e&&(a.exports=e))},function(a,b,c){var d,e;d=[c(62),c(41),c(53),c(51),c(38),c(63)],e=function(a,b,c,d,e,f){var g=function(g,h){function i(){o||(o=!0,n=f.loaderstatus.COMPLETE,m.trigger(c.COMPLETE))}function j(){if(!q&&(h&&0!==e.keys(h).length||i(),!o)){var d=g.getPlugins();l=e.after(p,i),e.each(h,function(e,g){var h=a.getPluginName(g),i=d[h],j=i.getJS(),k=i.getTarget(),n=i.getStatus();n!==f.loaderstatus.LOADING&&n!==f.loaderstatus.NEW&&(j&&!b.versionCheck(k)&&m.trigger(c.ERROR,{message:"Incompatible player version"}),l())})}}function k(a){if(!q){var d="File not found";a.url&&b.log(d,a.url),this.off(),this.trigger(c.ERROR,{message:d}),j()}}var l,m=e.extend(this,d),n=f.loaderstatus.NEW,o=!1,p=e.size(h),q=!1;this.setupPlugins=function(c,d,f){var h=[],i={},j=g.getPlugins();e.each(d.plugins,function(g,k){var l=a.getPluginName(k),m=j[l],n=m.getFlashPath(),o=m.getJS(),p=m.getURL();if(n){var q=e.extend({name:l,swf:n,pluginmode:m.getPluginmode()},g);h.push(q)}var r=b.tryCatch(function(){if(o&&d.plugins&&d.plugins[p]){var a=document.createElement("div");a.id=c.id+"_"+l,a.className="jw-plugin jw-reset",i[l]=m.getNewInstance(c,e.extend({},d.plugins[p]),a),c.onReady(f(i[l],a,!0)),c.onResize(f(i[l],a))}});r instanceof b.Error&&b.log("ERROR: Failed to load "+l+".")}),c.plugins=i,d.flashPlugins=h},this.load=function(){if(b.exists(h)&&"object"!==b.typeOf(h))return void j();n=f.loaderstatus.LOADING,e.each(h,function(a,d){if(b.exists(d)){var e=g.addPlugin(d);e.on(c.COMPLETE,j),e.on(c.ERROR,k)}});var a=g.getPlugins();e.each(a,function(a){a.load()}),j()},this.destroy=function(){q=!0,this.off()},this.getStatus=function(){return n}};return g}.apply(b,d),!(void 0!==e&&(a.exports=e))},function(a,b,c){var d,e;d=[c(43)],e=function(a){var b={},c=b.pluginPathType={ABSOLUTE:0,RELATIVE:1,CDN:2};return b.getPluginPathType=function(b){if("string"==typeof b){b=b.split("?")[0];var d=b.indexOf("://");if(d>0)return c.ABSOLUTE;var e=b.indexOf("/"),f=a.extension(b);return!(0>d&&0>e)||f&&isNaN(f)?c.RELATIVE:c.CDN}},b.getPluginName=function(a){return a.replace(/^(.*\/)?([^-]*)-?.*\.(swf|js)$/,"$2")},b.getPluginVersion=function(a){return a.replace(/[^-]*-?([^\.]*).*$/,"$1")},b}.apply(b,d),!(void 0!==e&&(a.exports=e))},function(a,b,c){var d,e;d=[c(53),c(51),c(38)],e=function(a,b,c){var d={},e={NEW:0,LOADING:1,ERROR:2,COMPLETE:3},f=function(f,g){function h(b){k=e.ERROR,j.trigger(a.ERROR,b)}function i(b){k=e.COMPLETE,j.trigger(a.COMPLETE,b)}var j=c.extend(this,b),k=e.NEW;this.addEventListener=this.on,this.removeEventListener=this.off,this.makeStyleLink=function(a){var b=document.createElement("link");return b.type="text/css",b.rel="stylesheet",b.href=a,b},this.makeScriptTag=function(a){var b=document.createElement("script");return b.src=a,b},this.makeTag=g?this.makeStyleLink:this.makeScriptTag,this.load=function(){if(k===e.NEW){var b=d[f];if(b&&(k=b.getStatus(),2>k))return b.on(a.ERROR,h),void b.on(a.COMPLETE,i);var c=document.getElementsByTagName("head")[0]||document.documentElement,j=this.makeTag(f),l=!1;j.onload=j.onreadystatechange=function(a){l||this.readyState&&"loaded"!==this.readyState&&"complete"!==this.readyState||(l=!0,i(a),j.onload=j.onreadystatechange=null,c&&j.parentNode&&!g&&c.removeChild(j))},j.onerror=h,c.insertBefore(j,c.firstChild),k=e.LOADING,d[f]=this}},this.getStatus=function(){return k}};return f.loaderstatus=e,f}.apply(b,d),!(void 0!==e&&(a.exports=e))},function(a,b,c){var d,e;d=[c(62),c(65)],e=function(a,b){var c=function(c){this.addPlugin=function(d){var e=a.getPluginName(d);return c[e]||(c[e]=new b(d)),c[e]},this.getPlugins=function(){return c}};return c}.apply(b,d),!(void 0!==e&&(a.exports=e))},function(a,b,c){var d,e;d=[c(41),c(62),c(53),c(51),c(63),c(38)],e=function(a,b,c,d,e,f){var g={FLASH:0,JAVASCRIPT:1,HYBRID:2},h=function(h){function i(){switch(b.getPluginPathType(h)){case b.pluginPathType.ABSOLUTE:return h;case b.pluginPathType.RELATIVE:return a.getAbsolutePath(h,window.location.href)}}function j(){f.defer(function(){q=e.loaderstatus.COMPLETE,p.trigger(c.COMPLETE)})}function k(){q=e.loaderstatus.ERROR,p.trigger(c.ERROR,{url:h})}var l,m,n,o,p=f.extend(this,d),q=e.loaderstatus.NEW;this.load=function(){if(q===e.loaderstatus.NEW){if(h.lastIndexOf(".swf")>0)return l=h,q=e.loaderstatus.COMPLETE,void p.trigger(c.COMPLETE);if(b.getPluginPathType(h)===b.pluginPathType.CDN)return q=e.loaderstatus.COMPLETE,void p.trigger(c.COMPLETE);q=e.loaderstatus.LOADING;var a=new e(i());a.on(c.COMPLETE,j),a.on(c.ERROR,k),a.load()}},this.registerPlugin=function(a,b,d,f){o&&(clearTimeout(o),o=void 0),n=b,d&&f?(l=f,m=d):"string"==typeof d?l=d:"function"==typeof d?m=d:d||f||(l=a),q=e.loaderstatus.COMPLETE,p.trigger(c.COMPLETE)},this.getStatus=function(){return q},this.getPluginName=function(){return b.getPluginName(h)},this.getFlashPath=function(){if(l)switch(b.getPluginPathType(l)){case b.pluginPathType.ABSOLUTE:return l;case b.pluginPathType.RELATIVE:return h.lastIndexOf(".swf")>0?a.getAbsolutePath(l,window.location.href):a.getAbsolutePath(l,i())}return null},this.getJS=function(){return m},this.getTarget=function(){return n},this.getPluginmode=function(){return void 0!==typeof l&&void 0!==typeof m?g.HYBRID:void 0!==typeof l?g.FLASH:void 0!==typeof m?g.JAVASCRIPT:void 0},this.getNewInstance=function(a,b,c){return new m(a,b,c)},this.getURL=function(){return h}};return h}.apply(b,d),!(void 0!==e&&(a.exports=e))},function(a,b,c){var d,e;d=[c(67),c(81),c(82),c(41),c(53),c(51),c(38)],e=function(a,b,c,d,e,f,g){var h=function(){function a(a){var f=d.tryCatch(function(){for(var d=a.responseXML.childNodes,f="",g=0;g-1?e.type:null}var f=function(b){return b=c.isArray(b)?b:[b],c.compact(c.map(b,a))};f.filterPlaylist=function(a,b,d,e){var f=[];return c.each(a,function(a){a=c.extend({},a),a.sources=g(a.sources,b,d,a.drm||e),a.sources.length&&(a.file=a.sources[0].file,f.push(a))}),f};var g=f.filterSources=function(a,f,g,h){f&&f.choose||(f=new d({primary:f?"flash":null})),a=c.compact(c.map(a,function(a){return c.isObject(a)?(g&&(a.androidhls=g),(a.drm||h)&&(a.drm=a.drm||h),b(a)):void 0}));var i=e(a,f);return c.where(a,{type:i})};return f}.apply(b,d),!(void 0!==e&&(a.exports=e))},function(a,b,c){var d,e;d=[c(38),c(69),c(70)],e=function(a,b,c){var d={sources:[],tracks:[]},e=function(e){e=e||{},a.isArray(e.tracks)||delete e.tracks;var f=a.extend({},d,e);a.isObject(f.sources)&&!a.isArray(f.sources)&&(f.sources=[b(f.sources)]),a.isArray(f.sources)&&0!==f.sources.length||(e.levels?f.sources=e.levels:f.sources=[b(e)]);for(var g=0;g0&&(f.type=f.type.split("/")[1]),!f.type)if(a.isYouTube(f.file))f.type="youtube";else if(a.isRtmp(f.file))f.type="rtmp";else{var g=b.extension(f.file);f.type=g}if(f.type)return"m3u8"===f.type&&(f.type="hls"),"smil"===f.type&&(f.type="rtmp"),"m4a"===f.type&&(f.type="aac"),c.each(f,function(a,b){""===a&&delete f[b]}),f}};return e}.apply(b,d),!(void 0!==e&&(a.exports=e))},function(a,b,c){var d,e;d=[c(41),c(38)],e=function(a,b){var c={kind:"captions","default":!1},d=function(a){return a&&a.file?b.extend({},c,a):void 0};return d}.apply(b,d),!(void 0!==e&&(a.exports=e))},function(a,b,c){var d,e;d=[c(72)],e=function(a){return a.prototype.providerSupports=function(a,b){return a.supports(b,this.config.edition)},a}.apply(b,d),!(void 0!==e&&(a.exports=e))},function(a,b,c){var d,e;d=[c(73),c(77),c(80),c(38)],e=function(a,b,c,d){function e(c){this.providers=e.defaultList.slice(),this.config=c||{},"flash"===this.config.primary&&f(this.providers,a,b)}function f(a,b,c){var e=d.indexOf(a,b),f=d.indexOf(a,c),g=a[e];a[e]=a[f],a[f]=g}return e.defaultList=[a,b,c],d.extend(e.prototype,{providerSupports:function(a,b){return a.supports(b)},choose:function(a){a=d.isObject(a)?a:{};var b=d.find(this.providers,function(b){return this.providerSupports(b,a)},this);return b},priority:function(a){var b=d.indexOf(this.providers,a);return 0>b?b:this.providers.length-b-1}}),e}.apply(b,d),!(void 0!==e&&(a.exports=e))},function(a,b,c){var d,e;d=[c(49),c(41),c(48),c(38),c(53),c(50),c(74),c(75),c(76)],e=function(a,b,c,d,e,f,g,h,i){function j(a,c){b.foreach(a,function(a,b){c.addEventListener(a,b,!1)})}function k(a,c){b.foreach(a,function(a,b){c.removeEventListener(a,b,!1)})}function l(a){if("hls"===a.type)if(a.androidhls!==!1){var c=b.isAndroidNative;if(c(2)||c(3)||c("4.0"))return!1;if(b.isAndroid())return!0}else if(b.isAndroid())return!1;return null}function m(h,i){function m(a){_.sendEvent("click",a)}function w(){if(ga){var a=ma.duration;X!==a&&(X=a),t&&ca>0&&a>ca&&_.seek(ca),x()}}function x(a){B(a),ga&&(_.state===f.PLAYING&&(fa=d.now(),Y=ma.currentTime,a&&(ba=!0),_.sendEvent(e.JWPLAYER_MEDIA_TIME,{position:Y,duration:X})),_.state===f.STALLED&&_.setState(f.PLAYING))}function y(){_.sendEvent(e.JWPLAYER_MEDIA_META,{duration:ma.duration,height:ma.videoHeight,width:ma.videoWidth})}function z(){ga&&(ba||(ba=!0,C()))}function A(){ga&&(z(),ma.muted&&(ma.muted=!1,ma.muted=!0),y())}function B(){ba&&ca>0&&!t&&(q?setTimeout(function(){ca>0&&_.seek(ca)},200):_.seek(ca))}function C(){Z||(Z=!0,_.sendEvent(e.JWPLAYER_MEDIA_BUFFER_FULL))}function D(){ga&&(fa=d.now(),_.setState(f.PLAYING),_.sendEvent(e.JWPLAYER_PROVIDER_FIRST_FRAME,{}))}function E(){ga&&(ia||ma.paused||ma.ended||_.state!==f.LOADING&&(_.seeking||_.setState(f.STALLED)))}function F(){ga&&(b.log("Error playing media: %o %s",ma.error,ma.src||W.file),_.sendEvent(e.JWPLAYER_MEDIA_ERROR,{message:"Error loading media: File could not be played"}))}function G(a){var c;return"array"===b.typeOf(a)&&a.length>0&&(c=d.map(a,function(a,b){return{label:a.label||b}})),c}function H(a){$=a,ha=I(a);var b=G(a);b&&_.sendEvent(e.JWPLAYER_MEDIA_LEVELS,{levels:b,currentQuality:ha})}function I(a){var b=Math.max(0,ha),c=i.qualityLabel;if(a)for(var d=0;d0&&_.seek(a)}function L(){_.seeking=!1,_.sendEvent(e.JWPLAYER_MEDIA_SEEKED)}function M(){_.sendEvent("volume",{volume:Math.round(100*ma.volume)}),_.sendEvent("mute",{mute:ma.muted})}function N(){if(ga){var a=O();a!==ea&&(ea=a,_.sendEvent(e.JWPLAYER_MEDIA_BUFFER,{bufferPercent:100*a}));var b=ma.currentTime;b===Y?d.now()-fa>o&&E():(fa=d.now(),Y=b)}}function O(){var a=ma.buffered,c=ma.duration;return!a||0===a.length||0>=c||c===1/0?0:b.between(a.end(a.length-1)/c,0,1)}function P(){if(ga&&_.state!==f.IDLE&&_.state!==f.COMPLETE){if(n(da),ha=-1,ja=!0,_.sendEvent(e.JWPLAYER_MEDIA_BEFORECOMPLETE),!ga)return;Q()}}function Q(){_.setState(f.COMPLETE),ja=!1,_.sendEvent(e.JWPLAYER_MEDIA_COMPLETE)}function R(a){ka=!0,T(a),b.isIOS()&&(ma.controls=!1)}function S(a){ka=!1,T(a),b.isIOS()&&(ma.controls=!1)}function T(a){_.sendEvent("fullscreenchange",{target:a.target,jwstate:ka})}this.state=f.IDLE,this.seeking=!1;var U=new g("provider."+v);d.extend(this,U);var V,W,X,Y,Z,$,_=this,aa={click:m,durationchange:w,ended:P,error:F,loadedmetadata:A,canplay:z,playing:D,progress:B,seeked:L,timeupdate:x,volumechange:M,webkitbeginfullscreen:R,webkitendfullscreen:S},ba=!1,ca=0,da=-1,ea=-1,fa=-1,ga=!0,ha=-1,ia=null,ja=!1,ka=!1;this.sendEvent=function(){ga&&U.sendEvent.apply(this,arguments)};var la=document.getElementById(h),ma=la?la.querySelector("video"):void 0;ma=ma||document.createElement("video"),ma.className="jw-video jw-reset",j(aa,ma),u||(ma.controls=!0,ma.controls=!1),ma.setAttribute("x-webkit-airplay","allow"),ma.setAttribute("webkit-playsinline",""),this.stop=function(){ga&&(n(da),ma.removeAttribute("src"),q||ma.load(),ha=-1,this.setState(f.IDLE))},this.destroy=function(){k(aa,ma),this.remove()},this.load=function(a){ga&&(H(a.sources),K(a.starttime||0,a.duration||0))},this.play=function(){return _.seeking?(_.setState(f.LOADING),void _.once(e.JWPLAYER_MEDIA_SEEKED,_.play)):void ma.play()},this.pause=function(){ma.pause(),this.setState(f.PAUSED)},this.seek=function(a){if(ga)if(0===ca&&this.sendEvent(e.JWPLAYER_MEDIA_SEEK,{position:ma.currentTime,offset:a}),ba){ca=0;var c=b.tryCatch(function(){_.seeking=!0,ma.currentTime=a});c instanceof b.Error&&(ca=a)}else ca=a},this.volume=function(a){ma.volume=Math.min(Math.max(0,a/100),1)},this.mute=function(a){ma.muted=!!a},this.checkComplete=function(){return ja},this.detachMedia=function(){return n(da),ga=!1,ma},this.attachMedia=function(a){ga=!0,a||(ba=!1),ja&&Q()},this.setContainer=function(a){V=a,a.appendChild(ma)},this.getContainer=function(){return V},this.remove=function(){ma&&(ma.removeAttribute("src"),q||ma.load()),n(da),ha=-1,V===ma.parentNode&&V.removeChild(ma)},this.setVisibility=function(b){b=!!b,b||t?a.style(V,{visibility:"visible",opacity:1}):a.style(V,{visibility:"",opacity:0})},this.resize=function(a,b,d){return c.stretch(d,ma,a,b,ma.videoWidth,ma.videoHeight)},this.supportsFullscreen=d.constant(!0),this.setFullscreen=function(a){if(a=!!a){var c=b.tryCatch(function(){var a=ma.webkitEnterFullscreen||ma.webkitEnterFullScreen;a&&a.apply(ma)});return c instanceof b.Error?!1:_.getFullScreen()}var d=ma.webkitExitFullscreen||ma.webkitExitFullScreen;return d&&d.apply(ma),a},_.getFullScreen=function(){return ka||!!ma.webkitDisplayingFullscreen},this.isAudioFile=function(){if(!$)return!1;var a=$[0].type;return"oga"===a||"aac"===a||"mp3"===a||"mpeg"===a||"vorbis"===a},this.setCurrentQuality=function(a){if(ha!==a&&(a=parseInt(a,10),a>=0&&$&&$.length>a)){ha=a,this.sendEvent(e.JWPLAYER_MEDIA_LEVEL_CHANGED,{currentQuality:a,levels:G($)});var b=ma.currentTime||0,c=ma.duration;0>=c&&(c=X),K(b,c||0)}},this.getCurrentQuality=function(){return ha},this.getQualityLevels=function(){return G($)},this.getName=function(){return{name:v}}}var n=window.clearInterval,o=256,p=100,q=b.isMSIE(),r=b.isMobile(),s=b.isSafari(),t=b.isAndroidNative(),u=b.isIOS(7),v="html5",w={aac:"audio/mp4",mp4:"video/mp4",f4v:"video/mp4",m4v:"video/mp4",mov:"video/mp4",mp3:"audio/mpeg",mpeg:"audio/mpeg",ogv:"video/ogg",ogg:"video/ogg",oga:"video/ogg",vorbis:"video/ogg",webm:"video/webm",f4a:"video/aac",m3u8:"application/vnd.apple.mpegurl",m3u:"application/vnd.apple.mpegurl",hls:"application/vnd.apple.mpegurl"},x=function(){};return x.prototype=h,m.prototype=new x,m.supports=function(a){var c=a.file,d=a.type,e=l(a);if(null!==e)return e; if(b.isRtmp(c,d))return!1;if(!w[d])return!1;if(i.canPlayType){var f=i.canPlayType(w[d]);return!!f}return!1},m}.apply(b,d),!(void 0!==e&&(a.exports=e))},function(a,b,c){var d,e;d=[c(51),c(38)],e=function(a,b){var c="GLOBAL_EVENT",d=function(d){var e=b.extend({},a);this.resetEventListeners=this.removeEventListener=e.off.bind(e),this.on=e.on.bind(e),this.once=e.once.bind(e),this.off=e.off.bind(e),this.addEventListener=function(a,c){return b.isString(c)&&console.log("Error, please fix this callback",d,a,c),e.on(a,c)},this.addGlobalListener=function(a){return this.addEventListener(c,a)},this.removeGlobalListener=function(a){return this.removeEventListener(c,a)},this.sendEvent=function(a,d,f){d=b.extend({},d,{type:a}),e.trigger(c,d,f),e.trigger(a,d,f)}};return d}.apply(b,d),!(void 0!==e&&(a.exports=e))},function(a,b,c){var d,e;d=[c(41),c(53),c(50),c(38)],e=function(a,b,c,d){var e=a.noop,f=d.constant(!1),g={supports:f,play:e,load:e,stop:e,volume:e,mute:e,seek:e,resize:e,remove:e,destroy:e,setVisibility:e,setFullscreen:f,getFullscreen:e,getContainer:e,setContainer:f,isAudioFile:f,supportsFullscreen:f,getName:e,getQualityLevels:e,getCurrentQuality:e,setCurrentQuality:e,getAudioTracks:e,getCurrentAudioTrack:e,setCurrentAudioTrack:e,checkComplete:e,setControls:e,attachMedia:e,detachMedia:e,setState:function(a){var d=this.state||c.IDLE;this.state=a,a!==d&&this.sendEvent(b.JWPLAYER_PLAYER_STATE,{newstate:a})}};return g}.apply(b,d),!(void 0!==e&&(a.exports=e))},function(a,b,c){var d,e;d=[],e=function(){return document.createElement("video")}.apply(b,d),!(void 0!==e&&(a.exports=e))},function(a,b,c){var d,e;d=[c(41),c(78),c(38)],e=function(a,b,c){var d=["hls","m3u8"],e=b.supports;return b.supports=function(b,f){if(!a.isFlashSupported())return!1;if(e.apply(this,arguments))return!0;if("ads"===f||"enterprise"===f||"premium"===f){var g=b&&b.type;return c.contains(d,g)}return!1},b}.apply(b,d),!(void 0!==e&&(a.exports=e))},function(a,b,c){var d,e;d=[c(41),c(38),c(53),c(50),c(74),c(79),c(75)],e=function(a,b,c,d,e,f,g){function h(a){return a+"_swf_"+j++}function i(i,j){function k(a){if(B)for(var b=0;bc)break;c=e}b=B.labels[B.bitrates[d+1]],B[a]=b}return b}function m(){var a=j.hlslabels;if(!a)return null;var b={},c=[];for(var d in a){var e=parseFloat(d);if(!isNaN(e)){var f=Math.round(e);b[f]=a[d],c.push(f)}}return 0===c.length?null:(c.sort(function(a,b){return a-b}),{labels:b,bitrates:c})}var n,o,p,q=null,r=!1,s=-1,t=null,u=-1,v=null,w=!0,x=!1,y=function(){return o&&o.__ready},z=function(){o&&o.triggerFlash.apply(o,arguments)},A=new e("flash.provider"),B=m();b.extend(this,A,{load:function(a){q=a,r=!1,this.setState(d.LOADING),z("load",a)},play:function(){z("play")},pause:function(){z("pause"),this.setState(d.PAUSED)},stop:function(){z("stop"),s=-1,q=null,this.setState(d.IDLE)},seek:function(a){z("seek",a)},volume:function(a){if(b.isNumber(a)){var c=Math.min(Math.max(0,a),100);j.volume=c,y()&&z("volume",c)}},mute:function(b){var c=a.exists(b)?!!b:!j.mute;j.mute=c,y()&&z("mute",c)},setState:function(){return g.setState.apply(this,arguments)},checkComplete:function(){return r},attachMedia:function(){w=!0,r&&(this.setState(d.COMPLETE),this.sendEvent(c.JWPLAYER_MEDIA_COMPLETE),r=!1)},detachMedia:function(){return w=!1,null},getSwfObject:function(a){var b=a.getElementsByTagName("object")[0];return b?(b.off(null,null,this),b):f.embed(j.flashplayer,a,h(i))},getContainer:function(){return n},setContainer:function(e){if(n!==e){n=e,o=this.getSwfObject(e),o.once("ready",function(){o.once("pluginsLoaded",function(){o.queueCommands=!1,z("setupCommandQueue",o.__commandQueue),o.__commandQueue=[]});var a=b.extend({},j);z("setup",a),o.__ready=!0},this);var f=[c.JWPLAYER_MEDIA_META,c.JWPLAYER_MEDIA_ERROR,"subtitlesTracks","subtitlesTrackChanged","subtitlesTrackData"],g=[c.JWPLAYER_MEDIA_BUFFER,c.JWPLAYER_MEDIA_TIME],h=[c.JWPLAYER_MEDIA_BUFFER_FULL];o.on(c.JWPLAYER_MEDIA_LEVELS,function(a){k(a.levels),s=a.currentQuality,t=a.levels,this.sendEvent(a.type,a)},this).on(c.JWPLAYER_MEDIA_LEVEL_CHANGED,function(a){k(a.levels),s=a.currentQuality,t=a.levels,this.sendEvent(a.type,a)},this).on(c.JWPLAYER_AUDIO_TRACKS,function(a){u=a.currentTrack,v=a.tracks,this.sendEvent(a.type,a)},this).on(c.JWPLAYER_AUDIO_TRACK_CHANGED,function(a){u=a.currentTrack,v=a.tracks,this.sendEvent(a.type,a)},this).on(c.JWPLAYER_PLAYER_STATE,function(a){var b=a.newstate;b!==d.IDLE&&this.setState(b)},this).on(g.join(" "),function(a){"Infinity"===a.duration&&(a.duration=1/0),this.sendEvent(a.type,a)},this).on(f.join(" "),function(a){this.sendEvent(a.type,a)},this).on(h.join(" "),function(a){this.sendEvent(a.type)},this).on(c.JWPLAYER_MEDIA_BEFORECOMPLETE,function(a){r=!0,this.sendEvent(a.type),w===!0&&(r=!1)},this).on(c.JWPLAYER_MEDIA_COMPLETE,function(a){r||(this.setState(d.COMPLETE),this.sendEvent(a.type))},this).on(c.JWPLAYER_MEDIA_SEEK,function(a){this.sendEvent(c.JWPLAYER_MEDIA_SEEK,a)},this).on("visualQuality",function(a){a.reason=a.reason||"api",this.sendEvent("visualQuality",a),this.sendEvent(c.JWPLAYER_PROVIDER_FIRST_FRAME,{})},this).on(c.JWPLAYER_PROVIDER_CHANGED,function(a){p=a.message,this.sendEvent(c.JWPLAYER_PROVIDER_CHANGED,a)},this).on(c.JWPLAYER_ERROR,function(b){a.log("Error playing media: %o %s",b.code,b.message,b),this.sendEvent(c.JWPLAYER_MEDIA_ERROR,{message:"Error loading media: File could not be played"})},this)}},remove:function(){s=-1,t=null,f.remove(o)},setVisibility:function(a){a=!!a,n.style.opacity=a?1:0},resize:function(a,b,c){c&&z("stretch",c)},setControls:function(a){z("setControls",a)},setFullscreen:function(a){x=a,z("fullscreen",a)},getFullScreen:function(){return x},isAudioFile:function(){if(q){var a=q.sources[0].type;return"oga"===a||"aac"===a||"mp3"===a||"vorbis"===a}return!1},setCurrentQuality:function(a){z("setCurrentQuality",a)},getCurrentQuality:function(){return s},setSubtitlesTrack:function(a){z("setSubtitlesTrack",a)},getName:function(){return p?{name:"flash_"+p}:{name:"flash"}},getQualityLevels:function(){return t||q.sources},getAudioTracks:function(){return v},getCurrentAudioTrack:function(){return u},setCurrentAudioTrack:function(a){z("setCurrentAudioTrack",a)},supportsFullscreen:b.constant(!0),destroy:function(){this.remove(),o&&(o.off(),o=null),n=null,q=null,A.resetEventListeners(),A=null}}),this.sendEvent=function(){w&&A.sendEvent.apply(this,arguments)}}var j=0,k={flv:"video",f4v:"video",mov:"video",m4a:"video",m4v:"video",mp4:"video",aac:"video",f4a:"video",mp3:"sound",mpeg:"sound",smil:"rtmp"},l=b.keys(k),m=function(){};return m.prototype=g,i.prototype=new m,i.supports=function(c){if(!a.isFlashSupported())return!1;var d=c.file,e=c.type;return a.isRtmp(d,e)?!0:b.contains(l,e)},i}.apply(b,d),!(void 0!==e&&(a.exports=e))},function(a,b,c){var d,e;d=[c(41),c(51),c(38)],e=function(a,b,c){function d(a,b,c){var d=document.createElement("param");d.setAttribute("name",b),d.setAttribute("value",c),a.appendChild(d)}function e(e,f,h,i){var j;if(i=i||"opaque",a.isMSIE()){var k=document.createElement("div");f.appendChild(k),k.outerHTML='';for(var l=f.getElementsByTagName("object"),m=l.length;m--;)l[m].id===h&&(j=l[m])}else j=document.createElement("object"),j.setAttribute("type","application/x-shockwave-flash"),j.setAttribute("data",e),j.setAttribute("width","100%"),j.setAttribute("height","100%"),j.setAttribute("bgcolor",g),j.setAttribute("id",h),j.setAttribute("name",h),d(j,"allowfullscreen","true"),d(j,"allowscriptaccess","always"),d(j,"wmode",i),d(j,"menu","false"),f.appendChild(j,f);return j.className="jw-swf jw-reset",j.style.display="block",j.style.position="absolute",j.style.left=0,j.style.right=0,j.style.top=0,j.style.bottom=0,c.extend(j,b),j.queueCommands=!0,j.triggerFlash=function(b){var c=this;if("setup"!==b&&c.queueCommands||!c.__externalCall){for(var d=c.__commandQueue,e=d.length;e--;)d[e][0]===b&&d.splice(e,1);return d.push(Array.prototype.slice.call(arguments)),c}var f=Array.prototype.slice.call(arguments,1),g=a.tryCatch(function(){if(f.length){var a=JSON.stringify(f);c.__externalCall(b,a)}else c.__externalCall(b)});return g instanceof a.Error&&console.error({command:b,error:g}),c},j.__commandQueue=[],j}function f(b){if(b&&b.parentNode){if(b.style.display="none",a.isMSIE(8))for(var c in b)"function"==typeof b[c]&&(b[c]=null);b.parentNode.removeChild(b)}}var g="#000000";return{embed:e,remove:f}}.apply(b,d),!(void 0!==e&&(a.exports=e))},function(a,b,c){var d,e;d=[c(41),c(49),c(48),c(38),c(53),c(50),c(74),c(63),c(75)],e=function(a,b,c,d,e,f,g,h,i){function j(j,k){function n(){window.YT&&window.YT.loaded?(J=window.YT,q()):setTimeout(n,100)}function o(){l=null}function p(){var a=L&&L.parentNode;return a?a:(N||(window.jwplayer(j).onReady(q),N=!0),!1)}function q(){J&&p()&&O&&O.apply(I)}function r(){if(K&&K.getPlayerState){var a=K.getPlayerState();null!==a&&void 0!==a&&a!==R&&A({data:a});var b=J.PlayerState;a===b.PLAYING?t():a===b.BUFFERING&&u()}}function s(a){return Math.round(10*a)/10}function t(){u(),I.sendEvent(e.JWPLAYER_MEDIA_TIME,{position:s(K.getCurrentTime()),duration:K.getDuration()})}function u(){var a=0;K&&K.getVideoLoadedFraction&&(a=Math.round(100*K.getVideoLoadedFraction())),M!==a&&(M=a,I.sendEvent(e.JWPLAYER_MEDIA_BUFFER,{bufferPercent:a}))}function v(){I.state!==f.IDLE&&I.state!==f.COMPLETE&&(S=!0,I.sendEvent(e.JWPLAYER_MEDIA_BEFORECOMPLETE),I.setState(f.COMPLETE),S=!1,I.sendEvent(e.JWPLAYER_MEDIA_COMPLETE))}function w(){I.sendEvent(e.JWPLAYER_MEDIA_META,{duration:K.getDuration(),width:L.clientWidth,height:L.clientHeight})}function x(){var a=arguments,b=a.length-1;return function(){for(var c=b,d=a[b].apply(this,arguments);c--;)d=a[c].call(this,d);return d}}function y(a,b){if(!a)throw"invalid Youtube ID";var c=L.parentNode;if(c){var e={height:"100%",width:"100%",videoId:a,playerVars:d.extend({html5:1,autoplay:0,controls:0,showinfo:0,rel:0,modestbranding:0,playsinline:1,origin:location.protocol+"//"+location.hostname},b),events:{onReady:z,onStateChange:A,onPlaybackQualityChange:B,onError:C}};I.setVisibility(!0),K=new J.Player(L,e),L=K.getIframe(),O=null,D()}}function z(){P&&(P.apply(I),P=null)}function A(a){var b=J.PlayerState;switch(R=a.data){case b.UNSTARTED:return;case b.ENDED:return void v();case b.PLAYING:return d.isFunction(K.unloadModule)&&K.unloadModule("captions"),T=!1,w(),I.sendEvent(e.JWPLAYER_MEDIA_LEVELS,{levels:I.getQualityLevels(),currentQuality:I.getCurrentQuality()}),void I.setState(f.PLAYING);case b.PAUSED:return void I.setState(f.PAUSED);case b.BUFFERING:return void(I.seeking?I.setState(f.LOADING):I.setState(f.STALLED));case b.CUED:return void I.setState(f.IDLE)}}function B(){R!==J.PlayerState.ENDED&&I.play(),I.sendEvent(e.JWPLAYER_MEDIA_LEVEL_CHANGED,{currentQuality:I.getCurrentQuality(),levels:I.getQualityLevels()})}function C(){I.sendEvent(e.JWPLAYER_MEDIA_ERROR,{message:"Error loading YouTube: Video could not be played"})}function D(){m&&(I.setVisibility(!0),b.css("#"+j+" .jwcontrols",{display:"none"}))}function E(){b.css("#"+j+" .jwcontrols",{display:""})}function F(){clearInterval(Q),K&&K.stopVideo&&a.tryCatch(function(){K.stopVideo(),K.clearVideo()})}function G(b){P=null;var c=b.sources[0].file,d=a.youTubeID(c);if(b.image||(b.image="//i.ytimg.com/vi/"+d+"/0.jpg"),I.volume(k.volume),I.mute(k.mute),I.setVisibility(!0),!J||!K)return O=function(){y(d)},void q();if(!K.getPlayerState){var e=function(){I.load(b)};return void(P=P?x(e,P):e)}var f=K.getVideoData().video_id;if(f!==d){T?(F(),K.cueVideoById(d)):K.loadVideoById(d);var g=K.getPlayerState(),h=J.PlayerState;(g===h.UNSTARTED||g===h.CUED)&&D()}else K.getCurrentTime()>0&&K.seekTo(0),w()}this.state=f.IDLE;var H,I=d.extend(this,new g("provider."+this.name)),J=window.YT,K=null,L=document.createElement("div"),M=-1,N=!1,O=null,P=null,Q=-1,R=-1,S=!1,T=m;this.setState=function(a){clearInterval(Q),a!==f.IDLE&&a!==f.COMPLETE&&(Q=setInterval(r,250),a===f.PLAYING?(this.seeking=!1,E()):(a===f.LOADING||a===f.STALLED)&&u()),i.setState.apply(this,arguments)},!J&&l&&l.getStatus()===h.loaderstatus.NEW&&(l.addEventListener(e.COMPLETE,n),l.addEventListener(e.ERROR,o),l.load()),L.id=j+"_youtube",this.init=function(a){G(a)},this.destroy=function(){this.remove(),H=L=J=I=null},this.load=function(a){this.setState(f.LOADING),G(a),I.play()},this.stop=function(){F(),this.setState(f.IDLE)},this.play=function(){T||(K&&K.playVideo?K.playVideo():P=P?x(this.play,P):this.play)},this.pause=function(){T||K.pauseVideo&&K.pauseVideo()},this.seek=function(a){T||K.seekTo&&(this.seeking=!0,K.seekTo(a))},this.volume=function(a){if(d.isNumber(a)){var b=Math.min(Math.max(0,a),100);k.volume=b,K&&K.getVolume&&K.setVolume(b)}},this.mute=function(b){var c=a.exists(b)?!!b:!k.mute;k.mute=c,K&&K.mute&&(c?K.mute():K.unMute())},this.detachMedia=function(){return null},this.attachMedia=function(){S&&(this.setState(f.COMPLETE),this.sendEvent(e.JWPLAYER_MEDIA_COMPLETE),S=!1)},this.setContainer=function(a){H=a,a.appendChild(L),this.setVisibility(!0)},this.getContainer=function(){return H},this.supportsFullscreen=function(){return!(!H||!(H.requestFullscreen||H.requestFullScreen||H.webkitRequestFullscreen||H.webkitRequestFullScreen||H.webkitEnterFullscreen||H.webkitEnterFullScreen||H.mozRequestFullScreen||H.msRequestFullscreen))},this.remove=function(){F(),L&&H&&H===L.parentNode&&H.removeChild(L),O=P=K=null},this.setVisibility=function(a){a=!!a,a?(b.style(L,{display:"block"}),b.style(H,{visibility:"visible",opacity:1})):m||b.style(H,{opacity:0})},this.resize=function(a,b,d){return c.stretch(d,L,a,b,L.clientWidth,L.clientHeight)},this.checkComplete=function(){return S},this.getCurrentQuality=function(){if(!K)return-1;if(K.getAvailableQualityLevels){var a=K.getPlaybackQuality(),b=K.getAvailableQualityLevels();return b.indexOf(a)}return-1},this.getQualityLevels=function(){if(K){if(!d.isFunction(K.getAvailableQualityLevels))return[];var a=K.getAvailableQualityLevels();if(2===a.length&&d.contains(a,"auto"))return{label:d.without(a,"auto")};var b=d.map(a,function(a){return{label:a}});return b.reverse()}},this.setCurrentQuality=function(a){if(K&&K.getAvailableQualityLevels){var b=K.getAvailableQualityLevels();if(b.length){var c=b[b.length-a-1];K.setPlaybackQuality(c)}}},this.getName=function(){return{name:"youtube"}}}function k(b){return a.isYouTube(b.file,b.type)}var l=new h(window.location.protocol+"//www.youtube.com/iframe_api"),m=a.isMobile(),n=function(){};return n.prototype=i,j.prototype=new n,j.supports=k,j}.apply(b,d),!(void 0!==e&&(a.exports=e))},function(a,b,c){var d,e;d=[c(43)],e=function(a){return{localName:function(a){return a?a.localName?a.localName:a.baseName?a.baseName:"":""},textContent:function(b){return b?b.textContent?a.trim(b.textContent):b.text?a.trim(b.text):"":""},getChildNode:function(a,b){return a.childNodes[b]},numChildren:function(a){return a.childNodes?a.childNodes.length:0}}}.apply(b,d),!(void 0!==e&&(a.exports=e))},function(a,b,c){var d,e;d=[c(43),c(81),c(83),c(84),c(68)],e=function(a,b,c,d,e){function f(b){for(var f={},h=0;h0&&(g[n][j]="true"===g[n][j]?!0:!1,g[n].label.length||delete g[n].label,f.sources.push(g[n]));if(h.length)for(f.tracks=[],n=0;n0&&(h[n][j]="true"===h[n][j]?!0:!1,h[n].kind=h[n].kind.length?h[n].kind:"captions",h[n].label.length||delete h[n].label,f.tracks.push(h[n]));return f};return e}.apply(b,d),!(void 0!==e&&(a.exports=e))},function(a,b,c){var d,e;d=[c(81),c(43),c(41)],e=function(a,b,c){var d=b.xmlAttribute,e=a.localName,f=a.textContent,g=a.numChildren,h="media",i=function(a,b){function j(a){var b={zh:"Chinese",nl:"Dutch",en:"English",fr:"French",de:"German",it:"Italian",ja:"Japanese",pt:"Portuguese",ru:"Russian",es:"Spanish"};return b[a]?b[a]:a}var k,l,m="tracks",n=[];for(l=0;l0&&(b=i(k,b)),d(k,"url")&&(b.sources||(b.sources=[]),b.sources.push({file:d(k,"url"),type:d(k,"type"),width:d(k,"width"),label:d(k,"label")}));break;case"title":b.title=f(k);break;case"description":b.description=f(k);break;case"guid":b.mediaid=f(k);break;case"thumbnail":b.image||(b.image=d(k,"url"));break;case"player":break;case"group":i(k,b);break;case"subtitle":var o={};o.file=d(k,"url"),o.kind="captions",d(k,"lang").length>0&&(o.label=j(d(k,"lang"))),n.push(o)}}for(b.hasOwnProperty(m)||(b[m]=[]),l=0;l1&&(a.label+=" ("+t+")")),q.push(a),r[a.id]=a}function k(a){d.ajax(a.file,function(b){l(b,a)},m,!0)}function l(e,f){var h,i=e.responseXML?e.responseXML.firstChild:null;if(i)for("xml"===a.localName(i)&&(i=i.nextSibling);i.nodeType===i.COMMENT_NODE;)i=i.nextSibling;h=i&&"tt"===a.localName(i)?d.tryCatch(function(){f.data=c(e.responseXML)}):d.tryCatch(function(){f.data=b(e.responseText)}),h instanceof d.Error&&g(h.message+": "+f.file)}function m(a){g(a)}function n(a,b){a.set("captionsTrack",b),b?a.set("captionLabel",b.label):a.set("captionLabel","Off")}function o(){for(var a=[{id:"off",label:"Off"}],b=0;b ")>0&&(e=0),c.length>e+1&&c[e+1]){var f=c[e],g=f.indexOf(" --> ");g>0&&(b.begin=d(f.substr(0,g)),b.end=d(f.substr(g+5)),b.text=c.slice(e+1).join("
"))}return b}var d=a.seconds;return function(a){var d=[];a=b.trim(a);var e=a.split("\r\n\r\n");1===e.length&&(e=a.split("\n\n"));for(var f=0;f\s+<").replace(/tts?:/g,"");if(k){var l=i.getAttribute("begin"),m=i.getAttribute("dur"),n=i.getAttribute("end"),o={begin:e(l),text:k};n?o.end=e(n):m&&(o.end=o.begin+e(m)),f.push(o)}}return f.length||d(),f}}.apply(b,d),!(void 0!==e&&(a.exports=e))},function(a,b,c){var d,e;d=[c(93),c(40)],e=function(a,b){var c=a,d=function(){var a=new c,d=a.setup;return a.setup=function(a){var c=new b(a.key),e=c.edition();return a.edition=e,a.token=c.token(),d.apply(this,arguments),this.edition=function(){return e},this},a};return d}.apply(b,d),!(void 0!==e&&(a.exports=e))},function(a,b,c){var d,e;d=[c(41),c(67),c(71),c(94),c(95),c(38),c(51),c(96),c(53),c(50)],e=function(a,b,c,d,e,f,g,h,i,j){var k=function(){function h(a){switch(a.type){case"volume":case"mute":return void this.set(a.type,a[a.type]);case i.JWPLAYER_PLAYER_STATE:return void this.mediaModel.set("state",a.newstate);case i.JWPLAYER_MEDIA_BUFFER:this.set("buffer",a.bufferPercent);break;case i.JWPLAYER_MEDIA_BUFFER_FULL:this.playVideo();break;case i.JWPLAYER_MEDIA_TIME:this.mediaModel.set("position",a.position),this.mediaModel.set("duration",a.duration),this.set("position",a.position),this.set("duration",a.duration);break;case i.JWPLAYER_PROVIDER_CHANGED:this.set("provider",m.getName());break;case i.JWPLAYER_MEDIA_LEVELS:this.setQualityLevel(a.currentQuality,a.levels),this.mediaModel.set("levels",a.levels);break;case i.JWPLAYER_MEDIA_LEVEL_CHANGED:this.setQualityLevel(a.currentQuality,a.levels);break;case i.JWPLAYER_AUDIO_TRACKS:this.setCurrentAudioTrack(a.currentTrack,a.tracks),this.mediaModel.set("audioTracks",a.tracks);break;case i.JWPLAYER_AUDIO_TRACK_CHANGED:this.setCurrentAudioTrack(a.currentTrack,a.tracks);break;case"visualQuality":var b=f.extend({},a);delete b.type,this.mediaModel.set("visualQuality",b)}this.mediaController.trigger(a.type,a)}var k,m,n=this,o={},p=a.noop;this.mediaController=f.extend({},g),this.mediaModel=new l,e.model(this),this.setup=function(b){return b.cookies&&(d.model(this),o=d.getAllItems()),this.config=f.extend({},b,o),f.extend(this,this.config,{state:j.IDLE,fullscreen:!1,scrubbing:!1,duration:0,position:0,buffer:0}),a.isMobile()&&(this.autostart=!1),this.updateProviders(),this},this.updateProviders=function(){k=new c(n.config)},this.setQualityLevel=function(a,b){a>-1&&b.length>1&&"youtube"!==m.getName().name&&this.mediaModel.set("currentLevel",parseInt(a))},this.setCurrentAudioTrack=function(a,b){a>-1&&b.length>1&&this.mediaModel.set("currentAudioTrack",parseInt(a))},this.changeVideoProvider=function(a){var b;m&&(m.removeGlobalListener(h),b=m.getContainer(),b&&m.remove()),p=new a(n.id,n.config),b&&p.setContainer(b),this.set("provider",p.getName()),m=p,m.volume(n.volume),m.mute(n.mute),m.addGlobalListener(h.bind(this))},this.destroy=function(){m&&(m.removeGlobalListener(h),m.destroy())},this.getVideo=function(){return m},this.setFullscreen=function(a){a=!!a,a!==n.fullscreen&&n.set("fullscreen",a)},this.setPlaylist=function(a){var c=b(a);return c=b.filterPlaylist(c,k,n.get("androidhls"),this.get("drm")),0===c.length?(this.playlist=[],void this.mediaController.trigger(i.JWPLAYER_ERROR,{message:"Error loading playlist: No playable sources found"})):(this.set("playlist",c),void this.setItem(0))},this.chooseProvider=function(a){return k.choose(a)},this.setItem=function(a){var b=n.get("playlist"),c=(a+b.length)%b.length;this.mediaModel.off(),this.set("mediaModel",new l),this.set("item",c);var d=this.get("playlist")[c];this.set("playlistItem",d);var e=d&&d.sources&&d.sources[0];if(void 0!==e){var f=this.chooseProvider(e);if(!f)throw new Error("No suitable provider found");p instanceof f||n.changeVideoProvider(f),p.init&&p.init(d),this.trigger("setItem")}},this.setVolume=function(a){a=Math.round(a),n.set("volume",a),m&&m.volume(a);var b=0===a;b!==n.get("mute")&&n.setMute(b)},this.setMute=function(b){if(a.exists(b)||(b=!n.mute),n.set("mute",b),m&&m.mute(b),!b){var c=Math.max(20,n.get("volume"));this.setVolume(c)}},this.loadVideo=function(a){if(this.mediaController.trigger(i.JWPLAYER_MEDIA_PLAY_ATTEMPT),!a){var b=this.get("item");a=this.get("playlist")[b]}this.set("position",a.starttime||0),this.set("duration",a.duration||0),m.load(a)},this.playVideo=function(){m.play()},this.setVideoSubtitleTrack=function(a){this.set("captionsIndex",a),m.setSubtitlesTrack&&m.setSubtitlesTrack(a)}},l=k.MediaModel=function(){this.state=j.IDLE};return f.extend(k.prototype,h),f.extend(l.prototype,h),k}.apply(b,d),!(void 0!==e&&(a.exports=e))},function(a,b,c){var d,e;d=[c(38),c(41)],e=function(a,b){function c(){for(var a={},c=document.cookie.split("; "),d=0;db&&a(),b=c.position}};return{model:f}}.apply(b,d),!(void 0!==e&&(a.exports=e))},function(a,b,c){var d,e;d=[c(38),c(51)],e=function(a,b){var c=a.extend({get:function(a){return this[a]},set:function(a,b){if(this[a]!==b){var c=this[a];this[a]=b,this.trigger("change:"+a,this,b,c)}}},b);return c}.apply(b,d),!(void 0!==e&&(a.exports=e))},function(a,b,c){var d,e;d=[c(98),c(100),c(101),c(53),c(50),c(41),c(51),c(38)],e=function(a,b,c,d,e,f,g,h){function i(c){var d=c.get("provider").name||"";return d.indexOf("flash")>=0?b:a}var j={skipoffset:null,tag:null},k=function(a,b,g){function k(a,b){b=b||{},w.tag&&!b.tag&&(b.tag=w.tag),this.trigger(a,b)}function l(a){this._skipButton&&this._skipButton.updateMediaTime(a.position,a.duration)}function m(a){if(u._adModel.state="complete",n&&v+10?this.updateCountdown(b):(this.updateMessage(this.skipMessage),this.skippable=!0,a.addClass(this.el,"jw-skippable"))},element:function(){return this.el},setWaitTime:function(b){if(e.isString(b)&&"%"===b.slice(-1)){var c=parseFloat(b);return void(this.itemDuration&&!isNaN(c)?this.waitTime=this.itemDuration*c/100:this.waitPercentage=b)}e.isNumber(b)?this.waitTime=b:"string"===a.typeOf(b)?this.waitTime=a.seconds(b):isNaN(Number(b))?this.waitTime=0:this.waitTime=Number(b)},skipAd:function(){this.trigger(b.JWPLAYER_AD_SKIPPED)},destroy:function(){this.el&&(this.el.removeEventListener("click",this.skipAdOnce),this.el.parentElement&&this.el.parentElement.removeChild(this.el)),delete this.skippable,delete this.itemDuration,delete this.waitPercentage}}),g}.apply(b,d),!(void 0!==e&&(a.exports=e))},function(a,b,c){var d,e;d=[c(51),c(53),c(38),c(41)],e=function(a,b,c,d){function e(a,b){return/touch/.test(a.type)?(a.originalEvent||a).changedTouches[0]["page"+b]:a["page"+b]}function f(a){var b=a||window.event;return"which"in b?3===b.which:"button"in b?2===b.button:!1}function g(a,b,c){var d;return d=b instanceof MouseEvent||!b.touches&&!b.changedTouches?b:b.touches&&b.touches.length?b.touches[0]:b.changedTouches[0],{type:a,target:b.target,currentTarget:c,pageX:d.pageX,pageY:d.pageY}}function h(a){(a instanceof MouseEvent||a instanceof i)&&(a.preventManipulation&&a.preventManipulation(),a.cancelable&&a.preventDefault&&a.preventDefault())}var i=window.TouchEvent||{},j=function(a,i){function j(a){var b=a instanceof MouseEvent;n=a.target,s=e(a,"X"),t=e(a,"Y"),(!b||b&&!f(a))&&(w&&document.addEventListener("mousemove",k),n.addEventListener("touchmove",k)),w&&document.addEventListener("mouseup",l),n.addEventListener("touchcancel",l),n.addEventListener("touchend",l)}function k(a){var c=b.touchEvents,d=6;if(r)m(c.DRAG,a);else{var f=e(a,"X"),g=e(a,"Y"),i=f-s,j=g-t;i*i+j*j>d*d&&(m(c.DRAG_START,a),r=!0,m(c.DRAG,a))}q&&h(a)}function l(a){var c=b.touchEvents;w&&(document.removeEventListener("mousemove",k),document.removeEventListener("mouseup",l)),n.removeEventListener("touchmove",k),n.removeEventListener("touchcancel",l),n.removeEventListener("touchend",l),r?m(c.DRAG_END,a):a instanceof MouseEvent?f(a)||m(c.CLICK,a):(m(c.TAP,a),h(a)),n=null,r=!1}function m(a,d){var e;if(p&&(a===b.touchEvents.CLICK||a===b.touchEvents.TAP))if(c.now()-u= 2.0.0-beta.1"],main:function(a,b,c,d){return'
\n \n \n
'},useData:!0})},function(a,b,c){a.exports=c(105)},function(a,b,c){"use strict";var d=c(106),e=c(108)["default"],f=c(109)["default"],g=c(107),h=c(110),i=function(){var a=new d.HandlebarsEnvironment;return g.extend(a,d),a.SafeString=e,a.Exception=f,a.Utils=g,a.escapeExpression=g.escapeExpression,a.VM=h,a.template=function(b){return h.template(b,a)},a},j=i();j.create=i,j["default"]=j,b["default"]=j},function(a,b,c){"use strict";function d(a,b){this.helpers=a||{},this.partials=b||{},e(this)}function e(a){a.registerHelper("helperMissing",function(){if(1===arguments.length)return void 0;throw new g("Missing helper: '"+arguments[arguments.length-1].name+"'")}),a.registerHelper("blockHelperMissing",function(b,c){var d=c.inverse,e=c.fn;if(b===!0)return e(this);if(b===!1||null==b)return d(this);if(k(b))return b.length>0?(c.ids&&(c.ids=[c.name]),a.helpers.each(b,c)):d(this);if(c.data&&c.ids){var g=q(c.data);g.contextPath=f.appendContextPath(c.data.contextPath,c.name),c={data:g}}return e(b,c)}),a.registerHelper("each",function(a,b){if(!b)throw new g("Must pass iterator to #each");var c,d,e=b.fn,h=b.inverse,i=0,j="";if(b.data&&b.ids&&(d=f.appendContextPath(b.data.contextPath,b.ids[0])+"."),l(a)&&(a=a.call(this)),b.data&&(c=q(b.data)),a&&"object"==typeof a)if(k(a))for(var m=a.length;m>i;i++)c&&(c.index=i,c.first=0===i,c.last=i===a.length-1,d&&(c.contextPath=d+i)),j+=e(a[i],{data:c});else for(var n in a)a.hasOwnProperty(n)&&(c&&(c.key=n,c.index=i,c.first=0===i,d&&(c.contextPath=d+n)),j+=e(a[n],{data:c}),i++);return 0===i&&(j=h(this)),j}),a.registerHelper("if",function(a,b){return l(a)&&(a=a.call(this)),!b.hash.includeZero&&!a||f.isEmpty(a)?b.inverse(this):b.fn(this)}),a.registerHelper("unless",function(b,c){return a.helpers["if"].call(this,b,{fn:c.inverse,inverse:c.fn,hash:c.hash})}),a.registerHelper("with",function(a,b){l(a)&&(a=a.call(this));var c=b.fn;if(f.isEmpty(a))return b.inverse(this);if(b.data&&b.ids){var d=q(b.data);d.contextPath=f.appendContextPath(b.data.contextPath,b.ids[0]),b={data:d}}return c(a,b)}),a.registerHelper("log",function(b,c){var d=c.data&&null!=c.data.level?parseInt(c.data.level,10):1;a.log(d,b)}),a.registerHelper("lookup",function(a,b){return a&&a[b]})}var f=c(107),g=c(109)["default"],h="2.0.0";b.VERSION=h;var i=6;b.COMPILER_REVISION=i;var j={1:"<= 1.0.rc.2",2:"== 1.0.0-rc.3",3:"== 1.0.0-rc.4",4:"== 1.x.x",5:"== 2.0.0-alpha.x",6:">= 2.0.0-beta.1"};b.REVISION_CHANGES=j;var k=f.isArray,l=f.isFunction,m=f.toString,n="[object Object]";b.HandlebarsEnvironment=d,d.prototype={constructor:d,logger:o,log:p,registerHelper:function(a,b){if(m.call(a)===n){if(b)throw new g("Arg not supported with multiple helpers");f.extend(this.helpers,a)}else this.helpers[a]=b},unregisterHelper:function(a){delete this.helpers[a]},registerPartial:function(a,b){m.call(a)===n?f.extend(this.partials,a):this.partials[a]=b},unregisterPartial:function(a){delete this.partials[a]}};var o={methodMap:{0:"debug",1:"info",2:"warn",3:"error"},DEBUG:0,INFO:1,WARN:2,ERROR:3,level:3,log:function(a,b){if(o.level<=a){var c=o.methodMap[a];"undefined"!=typeof console&&console[c]&&console[c].call(console,b)}}};b.logger=o;var p=o.log;b.log=p;var q=function(a){var b=f.extend({},a);return b._parent=a,b};b.createFrame=q},function(a,b,c){"use strict";function d(a){return j[a]}function e(a){for(var b=1;b":">",'"':""","'":"'","`":"`"},k=/[&<>"'`]/g,l=/[&<>"'`]/;b.extend=e;var m=Object.prototype.toString;b.toString=m;var n=function(a){return"function"==typeof a};n(/x/)&&(n=function(a){return"function"==typeof a&&"[object Function]"===m.call(a)});var n;b.isFunction=n;var o=Array.isArray||function(a){return a&&"object"==typeof a?"[object Array]"===m.call(a):!1};b.isArray=o,b.escapeExpression=f,b.isEmpty=g,b.appendContextPath=h},function(a,b){"use strict";function c(a){this.string=a}c.prototype.toString=function(){return""+this.string},b["default"]=c},function(a,b){"use strict";function c(a,b){var c;b&&b.firstLine&&(c=b.firstLine,a+=" - "+c+":"+b.firstColumn);for(var e=Error.prototype.constructor.call(this,a),f=0;fb){var d=m[c],e=m[b];throw new k("Template was precompiled with an older version of Handlebars than the current runtime. Please update your precompiler to a newer version ("+d+") or downgrade your runtime to an older version ("+e+").")}throw new k("Template was precompiled with a newer version of Handlebars than the current runtime. Please update your runtime to a newer version ("+a[1]+").")}}function e(a,b){if(!b)throw new k("No environment passed to template");if(!a||!a.main)throw new k("Unknown template object: "+typeof a);b.VM.checkRevision(a.compiler);var c=function(c,d,e,f,g,h,i,l,m){g&&(f=j.extend({},f,g));var n=b.VM.invokePartial.call(this,c,e,f,h,i,l,m);if(null==n&&b.compile){var o={helpers:h,partials:i,data:l,depths:m};i[e]=b.compile(c,{data:void 0!==l,compat:a.compat},b),n=i[e](f,o)}if(null!=n){if(d){for(var p=n.split("\n"),q=0,r=p.length;r>q&&(p[q]||q+1!==r);q++)p[q]=d+p[q];n=p.join("\n")}return n}throw new k("The partial "+e+" could not be compiled when running in runtime-only mode")},d={lookup:function(a,b){for(var c=a.length,d=0;c>d;d++)if(a[d]&&null!=a[d][b])return a[d][b]},lambda:function(a,b){return"function"==typeof a?a.call(b):a},escapeExpression:j.escapeExpression,invokePartial:c,fn:function(b){return a[b]},programs:[],program:function(a,b,c){var d=this.programs[a],e=this.fn(a);return b||c?d=f(this,a,e,b,c):d||(d=this.programs[a]=f(this,a,e)),d},data:function(a,b){for(;a&&b--;)a=a._parent;return a},merge:function(a,b){var c=a||b;return a&&b&&a!==b&&(c=j.extend({},b,a)),c},noop:b.VM.noop,compilerInfo:a.compiler},e=function(b,c){c=c||{};var f=c.data;e._setup(c),!c.partial&&a.useData&&(f=i(b,f));var g;return a.useDepths&&(g=c.depths?[b].concat(c.depths):[b]),a.main.call(d,b,d.helpers,d.partials,f,g)};return e.isTop=!0,e._setup=function(c){c.partial?(d.helpers=c.helpers,d.partials=c.partials):(d.helpers=d.merge(c.helpers,b.helpers),a.usePartial&&(d.partials=d.merge(c.partials,b.partials)))},e._child=function(b,c,e){if(a.useDepths&&!e)throw new k("must pass parent depths");return f(d,b,a[b],c,e)},e}function f(a,b,c,d,e){var f=function(b,f){return f=f||{},c.call(a,b,a.helpers,a.partials,f.data||d,e&&[b].concat(e))};return f.program=b,f.depth=e?e.length:0,f}function g(a,b,c,d,e,f,g){var h={partial:!0,helpers:d,partials:e,data:f,depths:g};if(void 0===a)throw new k("The partial "+b+" could not be found");return a instanceof Function?a(c,h):void 0}function h(){return""}function i(a,b){return b&&"root"in b||(b=b?n(b):{},b.root=a),b}var j=c(107),k=c(109)["default"],l=c(106).COMPILER_REVISION,m=c(106).REVISION_CHANGES,n=c(106).createFrame;b.checkRevision=d,b.template=e,b.program=f,b.invokePartial=g,b.noop=h},function(a,b,c){var d,e;d=[c(41),c(53),c(51),c(50),c(114),c(115),c(116),c(117),c(119),c(112),c(121),c(134),c(135),c(138),c(49),c(38),c(139)],e=function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q){var r=a.style,s=a.bounds,t=a.isMobile(),u=["fullscreenchange","webkitfullscreenchange","mozfullscreenchange","MSFullscreenChange"],v=function(v,w){function x(b){var c=a.between(w.get("position")+b,0,this.getDuration());this.seek(c)}function y(b){var c=a.between(this.getVolume()+b,0,100);this.setVolume(c)}function z(a){return a.ctrlKey||a.metaKey?!1:w.get("controls")?!0:!1}function A(a){if(!z(a))return!0;switch(Ka||ca(),a.keyCode){case 27:v.setFullscreen(!1);break;case 13:case 32:v.play();break;case 37:Ka||x.call(v,-5);break;case 39:Ka||x.call(v,5);break;case 38:y.call(v,10);break;case 40:y.call(v,-10);break;case 77:v.setMute();break;case 70:v.setFullscreen();break;default:if(a.keyCode>=48&&a.keyCode<=59){var b=a.keyCode-48,c=b/10*v.getDuration();v.seek(c)}}return/13|32|37|38|39|40/.test(a.keyCode)?(a.preventDefault(),!1):void 0}function B(){Pa=!0,Qa.trigger(b.JWPLAYER_VIEW_TAB_FOCUS,{hasFocus:!1})}function C(){var a=!Pa;Pa=!1,a&&Qa.trigger(b.JWPLAYER_VIEW_TAB_FOCUS,{hasFocus:!0}),Ka||ca()}function D(){Pa=!1,Qa.trigger(b.JWPLAYER_VIEW_TAB_FOCUS,{hasFocus:!1})}function E(){var a=s(la),c=Math.round(a.width),d=Math.round(a.height);return document.body.contains(la)?c&&d&&(c!==qa||d!==ra)&&(qa=c,ra=d,clearTimeout(Na),Na=setTimeout(Y,50),Qa.trigger(b.JWPLAYER_RESIZE,{width:c,height:d})):(window.removeEventListener("resize",E),t&&window.removeEventListener("orientationchange",E)),a}function F(b,c,d){d&&a.removeClass(la,"jw-stretch-"+d),a.addClass(la,"jw-stretch-"+c)}function G(a){a&&!t&&(a.element().addEventListener("mousemove",J,!1),a.element().addEventListener("mouseout",K,!1))}function H(){w.get("state")!==d.IDLE&&w.get("state")!==d.COMPLETE||!w.get("controls")||v.play(),Ma?ba():ca()}function I(a){a.link?(v.pause(!0),v.setFullscreen(!1),window.open(a.link,a.linktarget)):v.play()}function J(){clearTimeout(Ia)}function K(){ca()}function L(a){Qa.trigger(a.type,a)}function M(){w.get("controls")&&v.setFullscreen()}function N(){Ta(),w.on("change:controls",Ta),va=new g(w,oa),va.on("click",function(){L({type:b.JWPLAYER_DISPLAY_CLICK}),w.get("controls")&&v.play()}),va.on("tap",function(){L({type:b.JWPLAYER_DISPLAY_CLICK}),H()}),va.on("doubleClick",M);var c=new h(w);c.on("click",function(){L({type:b.JWPLAYER_DISPLAY_CLICK}),v.play()}),c.on("tap",function(){L({type:b.JWPLAYER_DISPLAY_CLICK}),H()}),na.appendChild(c.element()),xa=new i(w),ya=new j(w),ya.on(b.JWPLAYER_LOGO_CLICK,I);var d=document.createElement("div");d.className="jw-controls-right jw-reset",w.get("config").logo&&d.appendChild(ya.element()),d.appendChild(xa.element()),na.appendChild(d),Aa=new f(w),Aa.setup(w.get("config").captions),na.parentNode.insertBefore(Aa.element(),za.element()),t?a.addClass(la,"jw-flag-touch-screen"):(Da=new m,Da.setup(w,la,la)),ta=new k(v,w),ta.on(b.JWPLAYER_USER_ACTION,ca),w.on("change:scrubbing",Q),na.appendChild(ta.element()),w.get("castAvailable")&&Qa.forceControls(!0),la.onfocusin=C,la.onfocusout=D,la.addEventListener("focus",C),la.addEventListener("blur",D),la.addEventListener("keydown",A),la.onmousedown=B}function O(a,b){if(b){var c=Ka?sa.get("state"):w.get("state");ga(a,c)}}function P(b){return b.get("state")===d.PAUSED?void b.once("change:state",P):void(b.get("scrubbing")===!1&&a.removeClass(la,"jw-flag-dragging"))}function Q(b,c){b.off("change:state",P),c?a.addClass(la,"jw-flag-dragging"):P(b)}function R(a){if(a.done)return void T();if(!a.complete){Ka||S(),this.setAltText(a.message);var b=a.onClick;void 0!==b&&va.setAlternateClickHandlers(function(){b(a)},v.setFullscreen);var c=a.onSkipAd;void 0!==c&&wa&&wa.setSkipoffset(a,a.onSkipAd)}wa&&wa.adChanged(a)}function S(){a.addClass(la,"jw-flag-ads")}function T(){this.setAltText(""),a.removeClass(la,"jw-flag-ads"),wa&&(wa.adsEnded(),wa.setState(w.get("state"))),va.revertAlternateClickHandlers()}function U(b,c,d){var e,f=la.className,g=w.get("id")+"_view";o.block(g),d=!!d,d&&(f=f.replace(/\s*aspectMode/,""),la.className!==f&&(la.className=f),o.style(la,{display:"block"},d)),a.exists(b)&&a.exists(c)&&(w.set("width",b),w.set("height",c)),e={width:b},a.hasClass(la,"jw-flag-aspect-mode")||(e.height=c),r(la,e,!0),ya&&ya.offset(ta&&ya.position().indexOf("bottom")>=0?ta.element().clientHeight:0),V(c),Y(b,c),o.unblock(g)}function V(b){if(Ba=W(b),ta&&!Ba){var c=Ka?sa:w;ka(c.get("state"))}a.toggleClass(la,"jw-flag-audio-player",Ba)}function W(a){return w.get("aspectratio")?!1:p.isNumber(a)?X(a):p.isString(a)&&a.indexOf("%")>-1?!1:X(s(ma).height)}function X(a){return a&&40>=a}function Y(b,c){if(!b||isNaN(Number(b))){if(!oa)return;b=oa.clientWidth}if(!c||isNaN(Number(c))){if(!oa)return;c=oa.clientHeight}a.isMSIE(9)&&document.all&&!window.atob&&(b=c="100%");var d=w.getVideo();if(d){var e=d.resize(b,c,w.get("stretching"));e&&(clearTimeout(Na),Na=setTimeout(Y,250)),Aa.resize()}}function Z(){if(Oa){var a=document.fullscreenElement||document.webkitCurrentFullScreenElement||document.mozFullScreenElement||document.msFullscreenElement;return!(!a||a.id!==w.get("id"))}return Ka?sa.getVideo().getFullScreen():w.getVideo().getFullScreen()}function $(a){var b=void 0!==a.jwstate?a.jwstate:Z();Oa?_(la,b):aa(b)}function _(b,c){a.removeClass(b,"jw-flag-fullscreen"),c?(a.addClass(b,"jw-flag-fullscreen"),r(document.body,{"overflow-y":"hidden"}),ca()):r(document.body,{"overflow-y":""}),Y(),aa(c)}function aa(a){w.setFullscreen(a),sa&&sa.setFullscreen(a),a&&(clearTimeout(Na),Na=setTimeout(Y,200))}function ba(){Ma=!1,clearTimeout(Ia),a.addClass(la,"jw-flag-user-inactive")}function ca(){Ma=!0,a.removeClass(la,"jw-flag-user-inactive"),clearTimeout(Ia),Ia=setTimeout(ba,Ja)}function da(){Ca=!0,Ua(!1)}function ea(){wa&&wa.setState(w.get("state"));var b=ia();a.toggleClass(la,"jw-flag-media-audio",b),w.on("change:duration",fa,this)}function fa(b,c){var d="LIVE"===a.adaptiveType(c);a.toggleClass(la,"jw-flag-live",d),Qa.setAltText(d?"Live Broadcast":"")}function ga(a,b){Ca=!1,ka(b)}function ha(a){ga(w,d.ERROR),za.updateText(w,{title:a.message})}function ia(){var a=Ka?sa:w,b=a.getVideo();return b?b.isAudioFile():!1}function ja(){var a=w.getVideo();return a?a.isCaster:!1}function ka(b){if(a.removeClass(la,"jw-state-"+Ea),a.addClass(la,"jw-state-"+b),Ea=b,ja())return void a.addClass(oa,"jw-media-show");switch(b){case d.PLAYING:Y();break;case d.PAUSED:ca()}}var la,ma,na,oa,pa,qa,ra,sa,ta,ua,va,wa,xa,ya,za,Aa,Ba,Ca,Da,Ea,Fa,Ga,Ha,Ia=-1,Ja=t?4e3:2e3,Ka=!1,La=!1,Ma=!1,Na=-1,Oa=!1,Pa=!1,Qa=p.extend(this,c);la=a.createElement(q({id:w.get("id")}));var Ra=w.get("width"),Sa=w.get("height");r(la,{width:Ra.toString().indexOf("%")>0?Ra:Ra+"px",height:Sa.toString().indexOf("%")>0?Sa:Sa+"px"}),Ga=la.requestFullscreen||la.webkitRequestFullscreen||la.webkitRequestFullScreen||la.mozRequestFullScreen||la.msRequestFullscreen,Ha=document.exitFullscreen||document.webkitExitFullscreen||document.webkitCancelFullScreen||document.mozCancelFullScreen||document.msExitFullscreen,Oa=Ga&&Ha,this.onChangeSkin=function(b,c,d){d&&a.removeClass(la,"jw-skin-"+d),c&&a.addClass(la,"jw-skin-"+c)},this.handleColorOverrides=function(){function b(b,d,e){if(e){d=a.prefix(d,"#"+c+" ");var f={};f[b]=e,o.css(d.join(", "),f)}}var c=w.get("id");b("color",[".jw-button-color"],w.get("skinColorInactive")),b("color",[".jw-button-color:hover"],w.get("skinColorActive")),b("color",[".jw-option"],w.get("skinColorInactive")),b("background-color",[".jw-active-option"],w.get("skinColorActive")),b("color",[".jw-toggle"],w.get("skinColorActive")),b("color",[".jw-toggle.jw-off"],w.get("skinColorInactive")),b("background",[".jw-progress"],w.get("skinColorActive")),b("background",[".jw-cue",".jw-knob"],w.get("skinColorInactive")),b("background",[".jw-background-color"],w.get("skinColorBackground"))},this.setup=function(){if(!La){this.handleColorOverrides(),w.get("skin-loading")===!0&&(a.addClass(la,"jw-flag-skin-loading"),w.once("change:skin-loading",function(){a.removeClass(la,"jw-flag-skin-loading")})),this.onChangeSkin(w,w.get("skin"),""),w.on("change:skin",this.onChangeSkin,this),ma=la,oa=la.getElementsByClassName("jw-media")[0],na=la.getElementsByClassName("jw-controls")[0],pa=la.getElementsByClassName("jw-aspect")[0];var c=la.getElementsByClassName("jw-preview")[0];ua=new l(w),ua.setup(c);var f=la.getElementsByClassName("jw-title")[0];za=new n(w),za.setup(f),N(),w.getVideo().setContainer(oa),w.mediaController.on("fullscreenchange",$);for(var g=u.length;g--;)document.addEventListener(u[g],$,!1);window.removeEventListener("resize",E),window.addEventListener("resize",E,!1),t&&(window.removeEventListener("orientationchange",E),window.addEventListener("orientationchange",E,!1)),w.on("change:controls",O),w.on("change:state",ga),w.mediaController.on(b.JWPLAYER_MEDIA_ERROR,ha),v.onPlaylistComplete(da),v.onPlaylistItem(ea),w.on("change:castAvailable",function(b,c){a.toggleClass(na,"jw-cast-available",c)}),w.get("stretching")&&F(w,w.get("stretching")),w.on("change:stretching",F),w.on("change:castState",function(a){wa||(wa=new e(w.get("id")),wa.statusDelegate=function(a,b){wa.setState(b)}),a.active?(wa.setState("connecting").setName(a.deviceName).show(),w.on("change:state",wa.statusDelegate),w.mediaController.on(b.JWPLAYER_CAST_AD_CHANGED,R)):(w.off("change:state",wa.statusDelegate),w.mediaController.off(b.JWPLAYER_CAST_AD_CHANGED,R),wa.hide(),Ka||T(),ga(null,w.get("state")),E())}),ga(null,d.IDLE),t||(va.element().addEventListener("mouseout",ca,!1),va.element().addEventListener("mousemove",ca,!1)),G(ta),G(ya),w.get("aspectratio")&&(a.addClass(la,"jw-flag-aspect-mode"),a.style(pa,{"padding-top":w.get("aspectratio")})),setTimeout(function(){U(w.get("width"),w.get("height"))},0)}};var Ta=function(){var b=w.get("controls");b?a.removeClass(la,"jw-flag-controls-disabled"):a.addClass(la,"jw-flag-controls-disabled"),w.getVideo().setControls(b)},Ua=this.fullscreen=function(b){if(a.exists(b)||(b=!w.get("fullscreen")),b=!!b,b!==w.get("fullscreen")){var c=w.getVideo();Oa?(b?Ga.apply(la):Ha.apply(document),_(la,b)):a.isIE()?_(la,b):(sa&&sa.getVideo()&&sa.getVideo().setFullscreen(b),c.setFullscreen(b)),c&&0===c.getName().name.indexOf("flash")&&c.setFullscreen(b)}};this.resize=function(a,b){var c=!0;U(a,b,c),E()},this.resizeMedia=Y,this.reset=function(){document.contains(la)&&la.parentNode.replaceChild(Fa,la),a.emptyElement(la)},this.setupInstream=function(b){sa=b,sa.on("change:controls",O,this),sa.on("change:state",ga,this),Ka=!0,a.addClass(la,"jw-flag-ads"),ca()},this.setAltText=function(a){ta.setAltText(a)},this.useExternalControls=function(){a.addClass(la,"jw-flag-ads-hide-controls")},this.destroyInstream=function(){if(Ka=!1,sa&&(sa.off(null,null,this),sa=null),this.setAltText(""),a.removeClass(la,"jw-flag-ads"),a.removeClass(la,"jw-flag-ads-hide-controls"),w.getVideo){var b=w.getVideo();b.setContainer(oa)}fa(w,w.get("duration")),va.revertAlternateClickHandlers()},this.addCues=function(a){ta&&ta.addCues(a)},this.clickHandler=function(){return va},this.controlsContainer=function(){return na},this.getContainer=this.element=function(){return la},this.getSafeRegion=function(b){var c={x:0,y:0,width:0,height:0};b=b||!a.exists(b);var d,e=s(ma),f=e.top,g=ta.getVisibleBounds(),h=w.get("dock");if(h&&h.length&&w.get("controls")&&(d=s(xa.element()),c.y=Math.max(0,d.bottom-f)),c.width=e.width,g.height&&b&&w.get("controls")){var i=g.top;c.height=i-f-c.y}else c.height=e.height-c.y;return c},this.destroy=function(){window.removeEventListener("resize",E),window.removeEventListener("orientationchange",E);for(var a=u.length;a--;)document.removeEventListener(u[a],$,!1);w.mediaController&&w.mediaController.off("fullscreenchange",$),la.removeEventListener("keydown",A,!1),Da&&Da.destroy(),wa&&(w.off("change:state",wa.statusDelegate),wa.destroy(),wa=null),na&&(va.element().removeEventListener("mousemove",ca),va.element().removeEventListener("mouseout",ca)),Ka&&this.destroyInstream(),o.clearCss("#"+w.get("id"))}};return v}.apply(b,d),!(void 0!==e&&(a.exports=e))},function(a,b,c){var d,e;d=[c(102),c(41),c(53),c(38),c(51),c(113)],e=function(a,b,c,d,e,f){var g=b.style,h={linktarget:"_blank",margin:8,hide:!1,position:"top-right"},i=function(i){function j(){n=d.extend({},h,p),n.hide="true"===n.hide.toString(),k()}function k(){if(m=b.createElement(f({file:n.file})),n.file){if(n.hide&&b.addClass(m,"jw-hide"),n.position!==h.position||n.margin!==h.margin){var c=/(\w+)-(\w+)/.exec(n.position),d={top:"auto",right:"auto",bottom:"auto",left:"auto"};3===c.length&&(d[c[1]]=n.margin,d[c[2]]=n.margin,g(m,d))}var e=new a(m);e.on("click tap",l)}}function l(a){b.exists(a)&&a.stopPropagation&&a.stopPropagation(),o.trigger(c.JWPLAYER_LOGO_CLICK,{link:n.link,linktarget:n.linktarget})}var m,n,o=this,p=d.extend({},i.get("config").logo);return d.extend(this,e),this.element=function(){return m},this.offset=function(a){g(m,{"margin-bottom":a})},this.position=function(){return n.position},this.margin=function(){return parseInt(n.margin,10)},j(),this};return i}.apply(b,d),!(void 0!==e&&(a.exports=e))},function(a,b,c){var d=c(104);a.exports=(d["default"]||d).template({1:function(a,b,c,d){var e,f="function",g=b.helperMissing,h=this.escapeExpression;return'src="'+h((e=null!=(e=b.file||(null!=a?a.file:a))?e:g,typeof e===f?e.call(a,{name:"file",hash:{},data:d}):e))+'"'},compiler:[6,">= 2.0.0-beta.1"],main:function(a,b,c,d){var e,f='"},useData:!0})},function(a,b,c){var d,e;d=[c(41),c(53),c(50),c(101),c(38),c(49)],e=function(a,b,c,d,e,f){function g(a){var b,c,d,e=Number.MAX_VALUE,f=null;for(c=a.length;c--;)if(b=a[c],b.width&&b.height&&b.source)switch(b.type){case"html":case"iframe":case"application/x-shockwave-flash":break;default:d=Math.abs(b.width/b.height-p),e>d&&(e=d,.75>d&&(f=b))}return f}function h(a){return"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAA"+n[a]}function i(){var a='"Karbon", "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif';m(".jwplayer .jwcast-display",{display:"none",position:"absolute",width:"100%",height:"100%","background-repeat":"no-repeat","background-size":"auto","background-position":"50% 50%","background-image":h("display")}),m(".jwplayer .jwcast-label",{position:"absolute",left:10,right:10,bottom:"50%","margin-bottom":100,"text-align":"center"}),m(".jwplayer .jwcast-label span",{"font-family":a,"font-size":20,"font-weight":300,color:"#7a7a7a"}),m(".jwplayer span.jwcast-name",{color:"#ccc"}),m(".jwcast-button",{position:"absolute",width:"100%",height:"100%",opacity:0,"background-repeat":"no-repeat","background-size":"auto","background-position":"50% 50%"}),m(".jwcast-wheel",{"background-image":h("wheel")}),m(".jwcast-pause",{"background-image":h("pause")}),m(".jwcast-play",{"background-image":h("play")}),m(".jwcast-replay",{"background-image":h("replay")}),m(".jwcast-paused .jwcast-play",{opacity:1}),m(".jwcast-playing .jwcast-pause",{opacity:1}),m(".jwcast-idle .jwcast-replay",{opacity:1}),f.cssKeyframes("spin","from {transform: rotate(0deg);} to {transform: rotate(360deg);}"),m(".jwcast-connecting .jwcast-wheel, .jwcast-buffering .jwcast-wheel",{opacity:1,"-webkit-animation":"spin 1.5s linear infinite",animation:"spin 1.5s linear infinite"}),m(".jwcast-companion",{position:"absolute","background-position":"50% 50%","background-size":"316px 176px","background-repeat":"no-repeat",top:0,left:0,right:0,bottom:4}),m(".jwplayer .jwcast-click-label",{"font-family":a,"font-size":14,"font-weight":300,"text-align":"center",position:"absolute",left:10,right:10,top:"50%",color:"#ccc","margin-top":100,"-webkit-user-select":"none","user-select":"none",cursor:"pointer"}),m(".jwcast-paused .jwcast-click-label",{color:"#7a7a7a",cursor:"default"})}function j(a,b){var c=document.createElement(a);return b&&k(c,b),c}function k(a,b){e.isArray(b)||(b=[b]),b=e.map(b,function(a){return a?"jw-cast-"+a.toLowerCase():""}),b.push("jw-reset"),a.className=b.join(" ")}function l(a,b){b.join||(b=[b]);for(var c=0;cp?(b=316,c=a.height*b/a.width):(c=176,b=a.width*c/a.height),f.style(G,{"background-image":a.source,"background-size":b+"px "+c+"px"})}function s(){G&&(G.parentNode&&G.parentNode.removeChild(G),G=null)}o||(i(),o=!0);var t=document.getElementById(e+"_display_button"),u=j("div","display"),v=j("div",["pause","button"]),w=j("div",["play","button"]),x=j("div",["replay","button"]),y=j("div",["wheel","button"]),z=j("div","label"),A=j("span"),B=j("span","name"),C="#"+e+"_display.jwdisplay",D=-1,E=null,F=null,G=null,H=null;l(u,[y,v,w,x,z]),l(z,[A,B]),t.parentNode.insertBefore(u,t),this.statusDelegate=null,this.setName=function(a){return B.innerText=a||"Google Cast",this},this.setState=function(a){var b="Casting to ";if(null===E)if("connecting"===a)b="Loading on ";else if(a!==c.IDLE){var d=window.jwplayer(e).getPlaylistItem().title||"";d&&(b=b.replace("to",d+" to"))}return A.innerText=b,clearTimeout(D),a===c.IDLE&&(D=setTimeout(function(){k(u,["display","idle"])},3e3),a=""),k(u,["display",a||""]),this},this.show=function(){return m(C+" .jwpreview",{"background-size":"316px 176px !important",opacity:.6,"margin-top":-2}),m(C+" .jwdisplayIcon",{display:"none !important"}),f.style(u,{display:"block"}),this},this.hide=function(){return f.clearCss(C+" .jwpreview"),m(C+" .jwdisplayIcon",{display:""}),f.style(u,{display:"none"}),this},this.setSkipoffset=function(c,f){if(null===F){var g=document.getElementById(e+"_controlbar"),h=10+a.bounds(u).bottom-a.bounds(g).top;F=new d(e,0|h,c.skipMessage,c.skipText),F.on(b.JWPLAYER_AD_SKIPPED,function(){f(c)}),F.reset(c.skipoffset||-1),F.show(),g.parentNode.insertBefore(F.element(),g)}else F.reset(c.skipoffset||-1)},this.setCompanions=function(a){var b=g(a);b?r(b):s()},this.adChanged=function(a){if(a.complete)return F&&F.reset(-1),void(E=null);F&&(void 0===a.skipoffset?h():(a.position||a.duration)&&F.updateSkipTime(0|a.position,0|a.duration));var b=a.tag+a.sequence;b!==E&&(m(C+" .jwpreview",{opacity:0}),a.companions?this.setCompanions(a.companions):s(),a.clickthrough?n():q(),E=b,this.setState(a.newstate))},this.adsEnded=function(){h(),s(),q(),m(C+" .jwpreview",{opacity:.6}),E=null},this.destroy=function(){this.hide(),u.parentNode&&u.parentNode.removeChild(u)}};return q}.apply(b,d),!(void 0!==e&&(a.exports=e))},function(a,b,c){var d,e;d=[c(41),c(49),c(50),c(38)],e=function(a,b,c,d){var e=b.style,f={back:!0,fontSize:15,fontFamily:"Arial,sans-serif",fontOpacity:100,color:"#FFF",backgroundColor:"#000",backgroundOpacity:100,edgeStyle:null,windowColor:"#FFF",windowOpacity:0},g=function(g){function h(b){b=b||"";var c="jw-captions-window jw-reset";b?(p.innerHTML=b,o.className=c+" jw-captions-window-active"):(o.className=c,a.empty(p))}function i(a){if(a){var b=-1;if(!(m>=0&&j(a,r,m))){for(var c=0;c=b)&&(c===a.length-1||a[c+1].begin>=b)}function k(a,c,d){var e=b.hexToRgba("#000000",d);"dropshadow"===a?c.textShadow="0 2px 1px "+e:"raised"===a?c.textShadow="0 0 5px "+e+", 0 1px 5px "+e+", 0 2px 5px "+e:"depressed"===a?c.textShadow="0 -2px 1px "+e:"uniform"===a&&(c.textShadow="-2px 0 1px "+e+",2px 0 1px "+e+",0 -2px 1px "+e+",0 2px 1px "+e+",-1px 1px 1px "+e+",1px 1px 1px "+e+",1px -1px 1px "+e+",1px 1px 1px "+e)}var l,m,n,o,p,q={},r=0;n=document.createElement("div"),n.className="jw-captions jw-reset",this.show=function(){n.className="jw-captions jw-captions-enabled jw-reset"},this.hide=function(){n.className="jw-captions jw-reset"},this.populate=function(a){return m=-1,l=a,a?void i(a.data):void h("")},this.resize=function(){var a=n.clientWidth,b=Math.pow(a/400,.6);if(b){var c=q.fontSize*b;e(n,{fontSize:Math.round(c)+"px"})}},this.setup=function(a){if(o=document.createElement("div"),p=document.createElement("span"),o.className="jw-captions-window jw-reset",p.className="jw-captions-text jw-reset",q=d.extend({},f,a),a){var c=q.fontOpacity,h=q.windowOpacity,i=q.edgeStyle,j=q.backgroundColor,l={},m={color:b.hexToRgba(q.color,c),fontFamily:q.fontFamily,fontStyle:q.fontStyle,fontWeight:q.fontWeight,textDecoration:q.textDecoration};h&&(l.backgroundColor=b.hexToRgba(q.windowColor,h)),k(i,m,c),q.back?m.backgroundColor=b.hexToRgba(j,q.backgroundOpacity):null===i&&k("uniform",m),e(o,l),e(p,m)}o.appendChild(p),n.appendChild(o),this.populate(g.get("captionsTrack"))},this.update=function(a){r=a,l&&i(l.data)},this.element=function(){return n},g.on("change:captionsTrack",function(a,b){this.populate(b)},this),g.on("change:position",function(a,b){this.update(b)},this),g.mediaController.on("seek",function(a){this.update(a.position)},this),g.mediaController.on("subtitlesTrackData",function(){l&&i(l.data)},this),g.on("change:state",function(a,b){switch(b){case c.IDLE:case c.ERROR:case c.COMPLETE:this.hide();break;default:this.show()}},this)};return g}.apply(b,d),!(void 0!==e&&(a.exports=e))},function(a,b,c){var d,e;d=[c(102),c(53),c(51),c(38)],e=function(a,b,c,d){var e=function(e,f){function g(a){return j?void j(a):void m.trigger(a.type===b.touchEvents.CLICK?"click":"tap")}function h(){return k?void k():void m.trigger("doubleClick")}var i,j,k;d.extend(this,c),i=f,this.element=function(){return i};var l=new a(i,{enableDoubleTap:!0});l.on("click tap",g),l.on("doubleClick doubleTap",h),this.clickHandler=g;var m=this;this.setAlternateClickHandlers=function(a,b){j=a,k=b||null},this.revertAlternateClickHandlers=function(){j=null,k=null}};return e}.apply(b,d),!(void 0!==e&&(a.exports=e))},function(a,b,c){var d,e;d=[c(41),c(51),c(102),c(118),c(38)],e=function(a,b,c,d,e){var f=function(f){e.extend(this,b),this.model=f,this.el=a.createElement(d({}));var g=this;this.iconUI=new c(this.el).on("click tap",function(a){g.trigger(a.type)})};return e.extend(f.prototype,{element:function(){return this.el}}),f}.apply(b,d),!(void 0!==e&&(a.exports=e))},function(a,b,c){var d=c(104);a.exports=(d["default"]||d).template({compiler:[6,">= 2.0.0-beta.1"],main:function(a,b,c,d){return'
\n
\n
\n'},useData:!0})},function(a,b,c){var d,e;d=[c(120),c(41),c(38),c(102)],e=function(a,b,c,d){var e=function(a){this.model=a,this.setup(),this.model.on("change:dock",this.render,this)};return c.extend(e.prototype,{setup:function(){var c=this.model.get("dock"),e=this.click.bind(this),f=a(c);this.el=b.createElement(f),new d(this.el).on("click tap",e)},getDockButton:function(a){return b.hasClass(a.target,"jw-dock-button")?a.target:b.hasClass(a.target,"jw-dock-text")?a.target.parentElement.parentElement:a.target.parentElement},click:function(a){var b=this.getDockButton(a),d=b.getAttribute("button"),e=this.model.get("dock"),f=c.findWhere(e,{id:d});f&&f.callback&&f.callback()},render:function(){var c=this.model.get("dock"),d=a(c),e=b.createElement(d);this.el.innerHTML=e.innerHTML},element:function(){return this.el}}),e}.apply(b,d),!(void 0!==e&&(a.exports=e))},function(a,b,c){var d=c(104);a.exports=(d["default"]||d).template({1:function(a,b,c,d){var e,f,g="function",h=b.helperMissing,i=this.escapeExpression,j='
\n
\n
\n';return e=b["if"].call(a,null!=a?a.tooltip:a,{name:"if",hash:{},fn:this.program(2,d),inverse:this.noop,data:d}),null!=e&&(j+=e),j+"
\n"},2:function(a,b,c,d){var e,f="function",g=b.helperMissing,h=this.escapeExpression;return'
\n '+h((e=null!=(e=b.tooltip||(null!=a?a.tooltip:a))?e:g,typeof e===f?e.call(a,{name:"tooltip",hash:{},data:d}):e))+"\n
\n"},compiler:[6,">= 2.0.0-beta.1"],main:function(a,b,c,d){var e,f='
\n';return e=b.each.call(a,a,{name:"each",hash:{},fn:this.program(1,d),inverse:this.noop,data:d}),null!=e&&(f+=e),f+"
"},useData:!0})},function(a,b,c){var d,e;d=[c(41),c(38),c(51),c(102),c(122),c(125),c(129),c(131),c(133)],e=function(a,b,c,d,e,f,g,h,i){function j(a,b){var c=document.createElement("div");return c.className="jw-icon jw-icon-inline jw-button-color jw-reset "+a,c.style.display="none",b&&new d(c).on("click tap",function(){b()}),{element:function(){return c},toggle:function(a){a?this.show():this.hide()},show:function(){c.style.display=""},hide:function(){c.style.display="none"}}}function k(a){var b=document.createElement("span");return b.className="jw-text jw-reset "+a,b}function l(a){var b=new g(a);return b}function m(a,c){var d=document.createElement("div");return d.className="jw-group jw-controlbar-"+a+"-group jw-reset",b.each(c,function(a){a.element&&(a=a.element()),d.appendChild(a)}),d}function n(a,b){this._api=a,this._model=b,this.setup()}return b.extend(n.prototype,c,{setup:function(){this.build(),this.initialize()},build:function(){var c,d,g,n,o=new f(this._model,this._api);this._model.get("visualplaylist")!==!1&&(c=new h("jw-icon-playlist")),a.isMobile()||(n=j("jw-icon-volume",this._api.setMute),d=new e("jw-slider-volume","horizontal"),g=new i(this._model,"jw-icon-volume")),this.elements={alt:k("jw-text-alt"),play:j("jw-icon-playback",this._api.play),prev:j("jw-icon-prev",this._api.playlistPrev),next:j("jw-icon-next",this._api.playlistNext),playlist:c,elapsed:k("jw-text-elapsed"),time:o,duration:k("jw-text-duration"),hd:l("jw-icon-hd"),cc:l("jw-icon-cc"),audiotracks:l("jw-icon-audio-tracks"),mute:n,volume:d,volumetooltip:g,cast:j("jw-icon-cast jw-off"),fullscreen:j("jw-icon-fullscreen",this._api.setFullscreen)},this.layout={left:[this.elements.play,this.elements.prev,this.elements.playlist,this.elements.next,this.elements.elapsed],center:[this.elements.time,this.elements.alt],right:[this.elements.duration,this.elements.hd,this.elements.cc,this.elements.audiotracks,this.elements.mute,this.elements.volume,this.elements.volumetooltip,this.elements.fullscreen]},this.layout.left=b.compact(this.layout.left),this.layout.center=b.compact(this.layout.center),this.layout.right=b.compact(this.layout.right),this.el=document.createElement("div"),this.el.className="jw-controlbar jw-background-color jw-reset";var p=m("left",this.layout.left),q=m("center",this.layout.center),r=m("right",this.layout.right);this.el.appendChild(p),this.el.appendChild(q),this.el.appendChild(r)},initialize:function(){this.elements.play.show(),this.elements.fullscreen.show(),this.elements.mute&&this.elements.mute.show(),this.onVolume(this._model,this._model.get("volume")),this.onPlaylist(this._model,this._model.get("playlist")),this.onPlaylistItem(this._model,this._model.get("playlistItem")),this.onCastAvailable(this._model,this._model.get("castAvailable")),this.onCaptionsList(this._model,this._model.get("captionsList")),this._model.on("change:volume",this.onVolume,this),this._model.on("change:mute",this.onMute,this),this._model.on("change:playlist",this.onPlaylist,this),this._model.on("change:playlistItem",this.onPlaylistItem,this),this._model.on("change:castAvailable",this.onCastAvailable,this),this._model.on("change:duration",this.onDuration,this),this._model.on("change:position",this.onElapsed,this),this._model.on("change:fullscreen",this.onFullscreen,this),this._model.on("change:captionsList",this.onCaptionsList,this),this._model.on("change:captionsIndex",this.onCaptionsIndex,this),this.elements.volume&&this.elements.volume.on("update",function(a){var b=a.percentage;this._api.setVolume(b)},this),this.elements.volumetooltip&&(this.elements.volumetooltip.on("update",function(a){var b=a.percentage;this._api.setVolume(b)},this),this.elements.volumetooltip.on("toggleValue",function(){this._api.setMute()},this)),this.elements.playlist&&this.elements.playlist.on("select",function(a){this._model.once("setItem",function(){this._api.play()},this),this._api.load(a)},this),this.elements.hd.on("select",function(a){this._model.getVideo().setCurrentQuality(a)},this),this.elements.hd.on("toggleValue",function(){this._model.getVideo().setCurrentQuality(0===this._model.getVideo().getCurrentQuality()?1:0)},this),this.elements.cc.on("select",function(a){this._api.setCurrentCaptions(a)},this),this.elements.cc.on("toggleValue",function(){var a=this._model.get("captionsIndex");this._api.setCurrentCaptions(a?0:1)},this),this.elements.audiotracks.on("select",function(a){this._model.getVideo().setCurrentAudioTrack(a)},this),new d(this.elements.duration).on("click tap",function(){"DVR"===a.adaptiveType(this._model.get("duration"))&&this._api.seek(-.1)},this)},onCaptionsList:function(a,b){var c=a.get("captionsIndex");this.elements.cc.setup(b,c)},onCaptionsIndex:function(a,b){this.elements.cc.selectItem(b)},onPlaylist:function(a,b){var c=b.length>1;this.elements.next.toggle(c),this.elements.prev.toggle(c),this.elements.playlist&&this.elements.playlist.setup(b,a.get("item"))},onPlaylistItem:function(a){this.elements.time.updateBuffer(0),this.elements.time.render(0),this.elements.duration.innerHTML="00:00",this.elements.elapsed.innerHTML="00:00";var c=a.get("item");this.elements.playlist&&this.elements.playlist.selectItem(c),this.elements.audiotracks.setup(),this._model.mediaModel.on("change:levels",function(a,b){this.elements.hd.setup(b,a.get("currentLevel"))},this),this._model.mediaModel.on("change:currentLevel",function(a,b){this.elements.hd.selectItem(b)},this),this._model.mediaModel.on("change:audioTracks",function(a,c){var d=b.map(c,function(a){return{label:a.name}});this.elements.audiotracks.setup(d,a.get("currentAudioTrack"),{toggle:!1})},this),this._model.mediaModel.on("change:currentAudioTrack",function(a,b){this.elements.audiotracks.selectItem(b)},this)},onVolume:function(a,b){this.renderVolume(a.get("mute"),b)},onMute:function(a,b){this.renderVolume(b,a.get("volume"))},renderVolume:function(b,c){this.elements.mute&&a.toggleClass(this.elements.mute.element(),"jw-off",b),this.elements.volume&&this.elements.volume.render(b?0:c),this.elements.volumetooltip&&(this.elements.volumetooltip.volumeSlider.render(b?0:c),a.toggleClass(this.elements.volumetooltip.element(),"jw-off",b))},onCastAvailable:function(a,b){this.elements.cast.toggle(b)},onElapsed:function(b,c){var d,e=b.get("duration");d="DVR"===a.adaptiveType(e)?"-"+a.timeFormat(-e):a.timeFormat(c),this.elements.elapsed.innerHTML=d},onDuration:function(b,c){var d;d="DVR"===a.adaptiveType(c)?"Live":a.timeFormat(c),this.elements.duration.innerHTML=d},onFullscreen:function(b,c){a.toggleClass(this.elements.fullscreen.element(),"jw-off",c)},element:function(){return this.el},getVisibleBounds:function(){var b,c=this.el,d=getComputedStyle?getComputedStyle(c):c.currentStyle;return"table"===d.display?a.bounds(c):(c.style.visibility="hidden",c.style.display="table",b=a.bounds(c),c.style.visibility=c.style.display="",b)},setAltText:function(a){this.elements.alt.innerHTML=a},addCues:function(a){this.elements.time&&(b.each(a,function(a){this.elements.time.addCue(a)},this),this.elements.time.drawCues())}}),n}.apply(b,d),!(void 0!==e&&(a.exports=e))},function(a,b,c){var d,e;d=[c(123),c(102),c(124),c(41)],e=function(a,b,c,d){var e=a.extend({constructor:function(a,b){this.className=a+" jw-background-color jw-reset",this.orientation=b,this.dragStartListener=this.dragStart.bind(this),this.dragMoveListener=this.dragMove.bind(this),this.dragEndListener=this.dragEnd.bind(this),this.tapListener=this.tap.bind(this),this.setup()},setup:function(){var a={"default":this["default"],className:this.className,orientation:"jw-slider-"+this.orientation};this.el=d.createElement(c(a)),this.elementRail=this.el.getElementsByClassName("jw-slider-container")[0],this.elementBuffer=this.el.getElementsByClassName("jw-buffer")[0],this.elementProgress=this.el.getElementsByClassName("jw-progress")[0],this.elementThumb=this.el.getElementsByClassName("jw-knob")[0],this.userInteract=new b(this.element(),{preventScrolling:!0}),this.userInteract.on("dragStart",this.dragStartListener),this.userInteract.on("drag",this.dragMoveListener),this.userInteract.on("dragEnd",this.dragEndListener),this.userInteract.on("tap click",this.tapListener)},dragStart:function(){this.trigger("dragStart"),this.railBounds=d.bounds(this.elementRail)},dragEnd:function(a){this.dragMove(a),this.trigger("dragEnd")},dragMove:function(a){var b,c,e=this.railBounds=this.railBounds?this.railBounds:d.bounds(this.elementRail);return"horizontal"===this.orientation?(b=a.pageX,c=be.right?100:100*d.between((b-e.left)/e.width,0,1)):(b=a.pageY,c=b>=e.bottom?0:b<=e.top?100:100*d.between((e.height-(b-e.top))/e.height,0,1)),this.render(c),this.update(c),!1},tap:function(a){this.railBounds=d.bounds(this.elementRail),this.dragMove(a)},update:function(a){this.trigger("update",{percentage:a})},render:function(a){a=Math.max(0,Math.min(a,100)),"horizontal"===this.orientation?(this.elementThumb.style.left=a+"%",this.elementProgress.style.width=a+"%"):(this.elementThumb.style.bottom=a+"%",this.elementProgress.style.height=a+"%")},updateBuffer:function(a){this.elementBuffer.style.width=a+"%"},element:function(){return this.el}});return e}.apply(b,d),!(void 0!==e&&(a.exports=e))},function(a,b,c){var d,e;d=[c(51),c(38)],e=function(a,b){function c(){}var d=function(a,c){var d,e=this;d=a&&b.has(a,"constructor")?a.constructor:function(){return e.apply(this,arguments)},b.extend(d,e,c);var f=function(){this.constructor=d};return f.prototype=e.prototype,d.prototype=new f,a&&b.extend(d.prototype,a),d.__super__=e.prototype,d};return c.extend=d,b.extend(c.prototype,a),c}.apply(b,d),!(void 0!==e&&(a.exports=e))},function(a,b,c){var d=c(104);a.exports=(d["default"]||d).template({compiler:[6,">= 2.0.0-beta.1"],main:function(a,b,c,d){var e,f="function",g=b.helperMissing,h=this.escapeExpression;return'
\n
\n
\n
\n
\n
\n
\n
'},useData:!0})},function(a,b,c){var d,e;d=[c(38),c(122),c(41),c(126),c(127),c(128)],e=function(a,b,c,d,e,f){var g=d.extend({setup:function(){this.text=document.createElement("span"),this.text.className="jw-text jw-reset",this.img=document.createElement("div"),this.img.className="jw-reset";var a=document.createElement("div");a.className="jw-time-tip jw-background-color jw-reset",a.appendChild(this.img),a.appendChild(this.text),c.removeClass(this.el,"jw-hidden"),this.addContent(a)},image:function(a){c.style(this.img,a)},update:function(a){this.text.innerHTML=a}}),h=b.extend({constructor:function(c,d){this._model=c,this._api=d,this.timeTip=new g("jw-tooltip-time"),this.timeTip.setup(),this.seekThrottled=a.throttle(this.performSeek,400),this._model.on("change:playlistItem",this.onPlaylistItem,this).on("change:position",this.onPosition,this).on("change:buffer",this.onBuffer,this),b.call(this,"jw-slider-time","horizontal")},setup:function(){b.prototype.setup.apply(this,arguments),this.onPlaylistItem(this._model,this._model.get("playlistItem")),this.elementRail.appendChild(this.timeTip.element()),this.elementRail.addEventListener("mousemove",this.showTimeTooltip.bind(this),!1),this.elementRail.addEventListener("mouseout",this.hideTimeTooltip.bind(this),!1)},update:function(c){this.activeCue&&a.isNumber(this.activeCue.pct)?this.seekTo=this.activeCue.pct:this.seekTo=c,this.seekThrottled(),b.prototype.update.apply(this,arguments)},dragStart:function(){this._model.set("scrubbing",!0),b.prototype.dragStart.apply(this,arguments)},dragEnd:function(){b.prototype.dragEnd.apply(this,arguments),this._model.set("scrubbing",!1)},onSeeked:function(){this._model.get("scrubbing")&&this.performSeek()},onBuffer:function(a,b){this.updateBuffer(b)},onPosition:function(a,b){var d=0,e=this._model.get("duration");if(e){var f=c.adaptiveType(e);"DVR"===f?d=(e-b)/e*100:"VOD"===f&&(d=b/e*100)}this.render(d)},onPlaylistItem:function(b,c){this.reset(),b.mediaModel.on("seeked",this.onSeeked,this);var d=c.tracks;a.each(d,function(a){a&&a.kind&&"thumbnails"===a.kind.toLowerCase()?this.loadThumbnails(a.file):a&&a.kind&&"chapters"===a.kind.toLowerCase()&&this.loadChapters(a.file)},this)},performSeek:function(){var a,b=this._api.getDuration(),d=c.adaptiveType(b);"LIVE"===d||0===b?this._api.play():"DVR"===d?(a=(1-this.seekTo/100)*b,this._api.seek(Math.min(a,-.25))):(a=this.seekTo/100*b,this._api.seek(Math.min(a,b-.25)))},showTimeTooltip:function(a){var b=this._model.get("duration");if(!(0>=b)){var d=c.bounds(this.elementRail),e=a.pageX?a.pageX-d.left:a.x;e=c.between(e,0,d.width);var f,g=e/d.width,h=b*g;f=this.activeCue?this.activeCue.text:c.timeFormat(h),this.timeTip.update(f),this.showThumbnail(h),c.addClass(this.timeTip.el,"jw-open"),this.timeTip.el.style.left=100*g+"%"}},hideTimeTooltip:function(){c.removeClass(this.timeTip.el,"jw-open")},reset:function(){this.resetChapters(),this.resetThumbnails()}});return a.extend(h.prototype,e,f),h}.apply(b,d),!(void 0!==e&&(a.exports=e))},function(a,b,c){var d,e;d=[c(123),c(41)],e=function(a,b){var c=a.extend({constructor:function(a){this.el=document.createElement("div"),this.el.className="jw-icon jw-icon-tooltip "+a+" jw-button-color jw-reset jw-hidden",this.container=document.createElement("div"),this.container.className="jw-overlay jw-reset",this.el.appendChild(this.container)},addContent:function(a){this.content&&this.removeContent(),this.content=a,this.container.appendChild(a)},removeContent:function(){this.content&&(this.container.removeChild(this.content),this.content=null)},element:function(){return this.el},openTooltip:function(){this.isOpen=!0,b.toggleClass(this.el,"jw-open",this.isOpen)},closeTooltip:function(){this.isOpen=!1,b.toggleClass(this.el,"jw-open",this.isOpen)},toggleOpenState:function(){this.isOpen=!this.isOpen,b.toggleClass(this.el,"jw-open",this.isOpen)}});return c}.apply(b,d),!(void 0!==e&&(a.exports=e))},function(a,b,c){var d,e;d=[c(38),c(41),c(90)],e=function(a,b,c){function d(a,b){this.time=a,this.text=b,this.el=document.createElement("div"),this.el.className="jw-cue jw-reset"}a.extend(d.prototype,{align:function(a){"%"===this.time.toString().slice(-1)?this.pct=this.time:this.pct=this.time/a*100,this.el.style.left=this.pct+"%"}});var e={loadChapters:function(a){b.ajax(a,this.chaptersLoaded.bind(this),this.chaptersFailed,!0)},chaptersLoaded:function(b){var d=c(b.responseText);a.isArray(d)&&(a.each(d,this.addCue,this),this.drawCues())},chaptersFailed:function(){},addCue:function(a){this.cues.push(new d(a.begin,a.text))},drawCues:function(){var b=this._model.mediaModel.get("duration");if(!b||0>=b)return void this._model.mediaModel.once("change:duration",this.drawCues,this);var c=this;a.each(this.cues,function(a){a.align(b),a.el.addEventListener("mouseover",function(){c.activeCue=a}),a.el.addEventListener("mouseout",function(){c.activeCue=null}),c.elementRail.appendChild(a.el)})},resetChapters:function(){a.each(this.cues,function(a){a.el.parentNode&&a.el.parentNode.removeChild(a.el)},this),this.cues=[]}};return e}.apply(b,d),!(void 0!==e&&(a.exports=e))},function(a,b,c){var d,e;d=[c(38),c(41),c(90)],e=function(a,b,c){function d(a){this.begin=a.begin,this.end=a.end,this.img=a.text}var e={loadThumbnails:function(a){a&&(this.vttPath=a.split("?")[0].split("/").slice(0,-1).join("/"),this.individualImage=null,b.ajax(a,this.thumbnailsLoaded.bind(this),this.thumbnailsFailed.bind(this),!0))},thumbnailsLoaded:function(b){var e=c(b.responseText);a.isArray(e)&&(a.each(e,function(a){this.thumbnails.push(new d(a))},this),this.drawCues())},thumbnailsFailed:function(){},chooseThumbnail:function(b){var c=a.sortedIndex(this.thumbnails,{end:b},a.property("end"));c>=this.thumbnails.length&&(c=this.thumbnails.length-1);var d=this.thumbnails[c].img;return d.indexOf("://")<0&&(d=this.vttPath?this.vttPath+"/"+d:d),d},loadThumbnail:function(b){var c=this.chooseThumbnail(b),d={display:"block",margin:"0 auto","background-position":"0 0"},e=c.indexOf("#xywh");if(e>0)try{var f=/(.+)\#xywh=(\d+),(\d+),(\d+),(\d+)/.exec(c);c=f[1],d["background-position"]=-1*f[2]+"px "+-1*f[3]+"px",d.width=f[4],d.height=f[5]}catch(g){return}else this.individualImage||(this.individualImage=new Image,this.individualImage.onload=a.bind(function(){this.individualImage.onload=null,this.timeTip.image({width:this.individualImage.width,height:this.individualImage.height})},this),this.individualImage.src=c);return d["background-image"]=c,d},showThumbnail:function(a){this.thumbnails.length<1||this.timeTip.image(this.loadThumbnail(a))},resetThumbnails:function(){this.timeTip.image({"background-image":"",width:0,height:0}),this.thumbnails=[]}};return e}.apply(b,d),!(void 0!==e&&(a.exports=e))},function(a,b,c){var d,e;d=[c(126),c(41),c(38),c(102),c(130)],e=function(a,b,c,d,e){var f=a.extend({setup:function(a,f,g){this.iconUI||(this.iconUI=new d(this.el),this.toggleValueListener=this.toggleValue.bind(this),this.toggleOpenStateListener=this.toggleOpenState.bind(this),this.openTooltipListener=this.openTooltip.bind(this),this.closeTooltipListener=this.closeTooltip.bind(this),this.selectListener=this.select.bind(this)),this.reset(),a=c.isArray(a)?a:[],b.toggleClass(this.el,"jw-hidden",a.length<2);var h=a.length>2||2===a.length&&g&&g.toggle===!1,i=!h&&2===a.length;if(b.toggleClass(this.el,"jw-toggle",i),b.toggleClass(this.el,"jw-button-color",!i),h){b.removeClass(this.el,"jw-off"),this.iconUI.on("tap",this.toggleOpenStateListener),this.el.addEventListener("mouseover",this.openTooltipListener),this.el.addEventListener("mouseout",this.closeTooltipListener);var j=e(a),k=b.createElement(j);this.addContent(k),this.contentUI=new d(this.content).on("click tap",this.selectListener)}else i&&this.iconUI.on("click tap",this.toggleValueListener);this.selectItem(f)},toggleValue:function(){this.trigger("toggleValue")},select:function(a){if(a.target.parentElement===this.content){var d=b.classList(a.target),e=c.find(d,function(a){return 0===a.indexOf("jw-item")});e&&(this.trigger("select",parseInt(e.split("-")[2])),this.closeTooltipListener())}},selectItem:function(a){if(this.content)for(var c=0;c"+f(e(null!=a?a.label:a,a))+"\n"},compiler:[6,">= 2.0.0-beta.1"],main:function(a,b,c,d){var e,f='
    \n';return e=b.each.call(a,a,{name:"each",hash:{},fn:this.program(1,d),inverse:this.noop,data:d}),null!=e&&(f+=e),f+"
"},useData:!0})},function(a,b,c){var d,e;d=[c(41),c(38),c(126),c(102),c(132)],e=function(a,b,c,d,e){var f=c.extend({setup:function(c,e){if(this.iconUI||(this.iconUI=new d(this.el),this.toggleOpenStateListener=this.toggleOpenState.bind(this),this.openTooltipListener=this.openTooltip.bind(this),this.closeTooltipListener=this.closeTooltip.bind(this),this.selectListener=this.onSelect.bind(this)),this.reset(),c=b.isArray(c)?c:[],a.toggleClass(this.el,"jw-hidden",c.length<2),c.length>=2){this.iconUI=new d(this.el).on("tap",this.toggleOpenStateListener),this.el.addEventListener("mouseover",this.openTooltipListener),this.el.addEventListener("mouseout",this.closeTooltipListener);var f=this.menuTemplate(c,e),g=a.createElement(f);this.addContent(g),this.contentUI=new d(this.content),this.contentUI.on("click tap",this.selectListener)}this.originalList=c},menuTemplate:function(a,c){var d=b.map(a,function(a,b){return{active:b===c,label:b+1+".",title:a.title}});return e(d)},onSelect:function(c){var d=c.target;if("UL"!==d.tagName){"LI"!==d.tagName&&(d=d.parentElement);var e=a.classList(d),f=b.find(e,function(a){return 0===a.indexOf("jw-item")});f&&(this.trigger("select",parseInt(f.split("-")[2])),this.closeTooltip())}},selectItem:function(a){this.setup(this.originalList,a)},reset:function(){this.iconUI.off(),this.contentUI&&this.contentUI.off().destroy(),this.el.removeEventListener("mouseover",this.openTooltipListener),this.el.removeEventListener("mouseout",this.closeTooltipListener),this.removeContent()}});return f}.apply(b,d),!(void 0!==e&&(a.exports=e))},function(a,b,c){var d=c(104);a.exports=(d["default"]||d).template({1:function(a,b,c,d){var e,f="";return e=b["if"].call(a,null!=a?a.active:a,{name:"if",hash:{},fn:this.program(2,d),inverse:this.program(4,d),data:d}),null!=e&&(f+=e),f},2:function(a,b,c,d){var e=this.lambda,f=this.escapeExpression;return"
  • \n \n '+f(e(null!=a?a.title:a,a))+"\n
  • \n"},4:function(a,b,c,d){var e=this.lambda,f=this.escapeExpression;return"
  • \n '+f(e(null!=a?a.label:a,a))+'\n '+f(e(null!=a?a.title:a,a))+"\n
  • \n"},compiler:[6,">= 2.0.0-beta.1"],main:function(a,b,c,d){var e,f='
    \n\n
    \n \n PLAYLIST\n
    \n\n
      \n'; return e=b.each.call(a,a,{name:"each",hash:{},fn:this.program(1,d),inverse:this.noop,data:d}),null!=e&&(f+=e),f+"
    \n
    "},useData:!0})},function(a,b,c){var d,e;d=[c(126),c(122),c(102),c(41)],e=function(a,b,c,d){var e=a.extend({constructor:function(e,f){this._model=e,a.call(this,f),this.volumeSlider=new b("jw-slider-volume jw-volume-tip","vertical"),this.addContent(this.volumeSlider.element()),this.volumeSlider.on("update",function(a){this.trigger("update",a)}.bind(this)),d.toggleClass(this.el,"jw-hidden",!1),new c(this.el).on("click",this.toggleValue.bind(this)).on("tap",this.toggleOpenState.bind(this)),this.el.addEventListener("mouseover",this.openTooltip.bind(this)),this.el.addEventListener("mouseout",this.closeTooltip.bind(this)),this._model.on("change:volume",this.onVolume,this)},toggleValue:function(a){a.target===this.el&&this.trigger("toggleValue")}});return e}.apply(b,d),!(void 0!==e&&(a.exports=e))},function(a,b,c){var d,e;d=[c(38)],e=function(a){var b=function(a){this.model=a,this.model.on("change:playlistItem",this.loadImage,this)};return a.extend(b.prototype,{setup:function(a){this.el=a,this.loadImage(this.model,this.model.get("playlistItem"))},loadImage:function(b,c){var d=c.image;a.isString(d)?this.el.style["background-image"]="url("+d+")":this.el.style["background-image"]=""},element:function(){return this.el}}),b}.apply(b,d),!(void 0!==e&&(a.exports=e))},function(a,b,c){var d,e;d=[c(136),c(38),c(45)],e=function(a,b,c){function d(a){return a.charAt(0).toUpperCase()+a.slice(1)}function e(a){return"pro"===a?"p":"premium"===a?"r":"enterprise"===a?"e":"ads"===a?"a":"f"}var f=function(){};return b.extend(f.prototype,a.prototype,{buildArray:function(){var b=a.prototype.buildArray.apply(this,arguments),f=this.model.edition(),g=c.split("+")[0],h="//jwplayer.com/learn-more/?m=h&e="+e(f)+"&v="+c;if(b.items[0].link=h,b.items[0].title="About JW Player "+d(f)+" "+g,"free"===f)return b;if(this.model.get("abouttext")){var i={title:this.model.get("abouttext"),link:this.model.get("aboutlink")||h};b.items.splice(1,0,i)}return b}}),f}.apply(b,d),!(void 0!==e&&(a.exports=e))},function(a,b,c){var d,e;d=[c(41),c(137),c(38),c(45)],e=function(a,b,c,d){var e=function(){};return c.extend(e.prototype,{buildArray:function(){var b=d.split("+"),c=b[0],e={items:[{title:"About JW Player "+c,featured:!0,link:"//jwplayer.com/learn-more/?m=h&e=o&v="+d}]},f=c.indexOf("-")>0,g=b[1];if(f&&g){var h=g.split(".");e.items.push({title:"build: ("+h[0]+"."+h[1]+")",link:"#"})}var i=this.model.get("provider").name;if(i.indexOf("flash")>=0){var j="Flash Version "+a.flashVersion();e.items.push({title:j,link:"http://www.adobe.com/software/flash/about/"})}return e},buildMenu:function(){var c=this.buildArray();return a.createElement(b(c))},updateHtml:function(){this.el.innerHTML=this.buildMenu().innerHTML},rightClick:function(a){return this.lazySetup(),this.mouseOverContext?!1:(this.hideMenu(),this.showMenu(a),!1)},getOffset:function(a){for(var b=a.target,c=a.offsetX||a.layerX,d=a.offsetY||a.layerY;b!==this.playerElement;)c+=b.offsetLeft,d+=b.offsetTop,b=b.parentNode;return{x:c,y:d}},showMenu:function(b){var c=this.getOffset(b);return this.el.style.left=c.x+"px",this.el.style.top=c.y+"px",a.addClass(this.playerElement,"jw-flag-rightclick-open"),a.addClass(this.el,"jw-open"),!1},hideMenu:function(){this.mouseOverContext||(a.removeClass(this.playerElement,"jw-flag-rightclick-open"),a.removeClass(this.el,"jw-open"))},lazySetup:function(){this.el||(this.el=this.buildMenu(),this.layer.appendChild(this.el),this.hideMenuCallback=this.hideMenu.bind(this),this.playerElement.onclick=this.hideMenuCallback,document.addEventListener("mousedown",this.hideMenuCallback,!1),this.model.on("change:provider",this.updateHtml,this),this.el.onmouseover=function(){this.mouseOverContext=!0}.bind(this),this.el.onmouseout=function(){this.mouseOverContext=!1}.bind(this))},setup:function(a,b,c){this.playerElement=b,this.model=a,this.mouseOverContext=!1,this.layer=c,b.oncontextmenu=this.rightClick.bind(this)},destroy:function(){this.model.off("change:provider",this.updateHtml),document.removeEventListener("mousedown",this.hideMenuCallback),this.hideMenuCallback=null,this.model=null,this.playerElement=null,this.el=null}}),e}.apply(b,d),!(void 0!==e&&(a.exports=e))},function(a,b,c){var d=c(104);a.exports=(d["default"]||d).template({1:function(a,b,c,d){var e,f,g="function",h=b.helperMissing,i=this.escapeExpression,j='
  • \n \n',e=b["if"].call(a,null!=a?a.featured:a,{name:"if",hash:{},fn:this.program(4,d),inverse:this.noop,data:d}),null!=e&&(j+=e),j+" "+i((f=null!=(f=b.title||(null!=a?a.title:a))?f:h,typeof f===g?f.call(a,{name:"title",hash:{},data:d}):f))+"\n \n
  • \n"},2:function(a,b,c,d){return" jw-featured"},4:function(a,b,c,d){return' \n'},compiler:[6,">= 2.0.0-beta.1"],main:function(a,b,c,d){var e,f='
    \n
      \n';return e=b.each.call(a,null!=a?a.items:a,{name:"each",hash:{},fn:this.program(1,d),inverse:this.noop,data:d}),null!=e&&(f+=e),f+"
    \n
    "},useData:!0})},function(a,b,c){var d,e;d=[c(38)],e=function(a){var b=function(a){this.model=a};return a.extend(b.prototype,{hide:function(){this.el.style.display="none"},show:function(){this.el.style.display=""},setup:function(a){this.el=a;var b=this.el.getElementsByTagName("div");this.title=b[0],this.description=b[1],this.model.on("change:playlistItem",this.playlistItem,this),this.playlistItem(this.model,this.model.get("playlistItem"))},playlistItem:function(a,b){a.get("displaytitle")||a.get("displaydescription")?this.updateText(a,b):this.hide()},updateText:function(a,b){this.title.innerHTML=b.title&&a.get("displaytitle")?b.title:"",this.description.innerHTML=b.description&&a.get("displaydescription")?b.description:"",this.title.firstChild||this.description.firstChild?this.show():this.hide()},element:function(){return this.el}}),b}.apply(b,d),!(void 0!==e&&(a.exports=e))},function(a,b,c){var d=c(104);a.exports=(d["default"]||d).template({compiler:[6,">= 2.0.0-beta.1"],main:function(a,b,c,d){var e,f="function",g=b.helperMissing,h=this.escapeExpression;return'
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    '},useData:!0})},function(a,b,c){var d,e;d=[c(141)],e=function(a){function b(b,c,d,e){return a({id:b,skin:c,title:d,body:e})}return b}.apply(b,d),!(void 0!==e&&(a.exports=e))},function(a,b,c){var d=c(104);a.exports=(d["default"]||d).template({compiler:[6,">= 2.0.0-beta.1"],main:function(a,b,c,d){var e,f="function",g=b.helperMissing,h=this.escapeExpression;return'
    \n
    \n
    '+h((e=null!=(e=b.title||(null!=a?a.title:a))?e:g,typeof e===f?e.call(a,{name:"title",hash:{},data:d}):e))+'
    \n
    '+h((e=null!=(e=b.body||(null!=a?a.body:a))?e:g,typeof e===f?e.call(a,{name:"body",hash:{},data:d}):e))+'
    \n
    \n\n
    \n
    \n
    \n
    \n
    \n
    \n'},useData:!0})},function(a,b,c){var d,e;d=[c(143),c(145),c(146),c(147),c(144),c(41),c(53),c(50),c(38)],e=function(a,b,c,d,e,f,g,h,i){function j(a,b){a[b]&&(a[b]=f.getAbsolutePath(a[b]))}var k=f.noop,l={},m=function(m,n){function o(a,b){e.log("send command",a,b);var c={command:a};void 0!==b&&(c.args=b),Q.sendMessage(e.NS,c,k,function(a){e.log("error message",a),"Invalid namespace"===a.description&&z()})}function p(a){var b=e.available(a.availability);s(b)}function q(a){e.log("existing session",a),Q||Y||(Y=a.session,Y.addMessageListener(e.NS,r))}function r(a,b){var c=JSON.parse(b);if(!c)throw"Message not proper JSON";if(c.reconcile){Y.removeMessageListener(e.NS,r);var d=c.diff,f=Y;d.id&&c.appid&&c.pageUrl||(d.id=window.jwplayer().id,c.appid=P.appid,c.pageUrl=T,Y=Q=null),d.id===m.id&&c.appid===P.appid&&c.pageUrl===T&&(Q||(m.jwInstreamState()&&m.instreamDestroy(),B(f),n.set("state",h.IDLE)),G(c)),Y=null}}function s(a){var b=!!a;R.available!==b&&(R.available=b,n.set("castAvailable",b))}function t(a){R.active=!!a,R.deviceName=u(),n.set("castState",R)}function u(){return Q&&Q.receiver?Q.receiver.friendlyName:""}function v(){if(!Q&&!m.jwInstreamState()){var a=window.chrome;a.cast.requestSession(B,w)}}function w(a){var b=window.chrome;a.code!==b.cast.ErrorCode.CANCEL&&(e.log("Cast Session Error:",a,Q),a.code===b.cast.ErrorCode.SESSION_ERROR&&z())}function x(){if(!m.jwInstreamState()){var a=window.chrome;a.cast.requestSession(B,y)}}function y(a){var b=window.chrome;a.code!==b.cast.ErrorCode.CANCEL&&(e.log("Cast Session Error:",a,Q),a.code===b.cast.ErrorCode.SESSION_ERROR&&z())}function z(){return Q?(E(),Q.stop(D,A),H({item:0}),void G({type:"state",diff:{buffer:0,position:0,duration:0}})):void D()}function A(a){e.error("Cast Session Stop error:",a,Q),D()}function B(c){e.log("Session started:",c),Q?(z(),Z=c):(Q=c,Q.addMessageListener(e.NS,F),Q.addUpdateListener(C),m.jwPause(!0),m.jwSetFullscreen(!1),W=n.getVideo(),X.volume=n.volume,X.mute=n.mute,U=new b(o),U.init(),n.setVideoProvider(U),N(),K(),t(!0),c!==Y&&(U.setup(d.setupCastConfig(n,P),n),a.sendDummyMedia(c)))}function C(a){e.log("Cast Session status",a),a?K():(U.sendEvent(g.JWPLAYER_PLAYER_STATE,{oldstate:n.state,newstate:h.BUFFERING}),D())}function D(){e.log("_sessionStopped"),Q&&(E(),Q=null),W&&(O(),n.volume=X.volume,n.mute=X.mute,n.setVideoProvider(W),n.duration=0,U&&(U.destroy(),U=null),V&&(V.destroy(),V=null),n.state!==h.IDLE?f.isIPad()||f.isIPod()?(m.jwStop(!0),W.sendEvent(g.JWPLAYER_PLAYER_STATE,{oldstate:h.BUFFERING,newstate:h.IDLE})):(n.state=h.IDLE,m.jwPlay(!0),m.jwSeek(n.position)):W.sendEvent(g.JWPLAYER_PLAYER_STATE,{oldstate:h.BUFFERING,newstate:h.IDLE}),W=null),t(!1),null!==Z&&(B(Z),Z=null)}function E(){Q.removeUpdateListener(C),Q.removeMessageListener(e.NS,F)}function F(a,b){var c=JSON.parse(b);if(!c)throw"Message not proper JSON";G(c)}function G(a){if("state"===a.type)V&&(a.diff.newstate||a.diff.position)&&(V.destroy(),V=null,n.setVideoProvider(U),n.trigger(g.JWPLAYER_CAST_AD_CHANGED,{done:!0})),U.updateModel(a.diff,a.type),H(a.diff);else if("ad"===a.type){null===V&&(V=new c(e.NS,Q),V.init(),n.setVideoProvider(V)),V.updateModel(a.diff,a.type);var b=V.getAdModel();a.diff.clickthrough&&(b.onClick=m.jwClickAd),a.diff.skipoffset&&(b.onSkipAd=m.jwSkipAd),n.trigger(g.JWPLAYER_CAST_AD_CHANGED,b),a.diff.complete&&V.resetAdModel()}else"connection"===a.type?a.closed===!0&&z():e.error("received unhandled message",a.type,a)}function H(a){void 0!==a.item&&n.item!==a.item&&(n.item=a.item,n.trigger(g.JWPLAYER_PLAYLIST_ITEM,{index:n.item}))}function I(a){a=Math.max(0,Math.min(a,1)),Q.setReceiverVolumeLevel(a,K,function(a){e.error("set volume error",a),K()})}function J(a){Q.setReceiverMuted(!!a,K,function(a){e.error("set muted error",a),K()})}function K(){if(Q&&Q.receiver){var a=Q.receiver.volume;if(a){var b=100*a.level|0,c=!!a.muted;M(c),L(b)}}}function L(a){var b=S.volume!==a;return b&&(S.volume=a,U.sendEvent(g.JWPLAYER_MEDIA_VOLUME,{volume:a})),b}function M(a){var b=S.mute!==a;return b&&(S.mute=a,U.sendEvent(g.JWPLAYER_MEDIA_MUTE,{mute:a})),b}function N(){m.jwPlay=function(a){a===!1?U.pause():U.play()},m.jwPause=function(a){m.jwPlay(!!a)},m.jwLoad=function(a){i.isNumber(a)?n.setItem(a):i.isObject(a)&&n.setPlaylist(a),n.loadVideo()},m.jwPlaylistItem=function(a){"number"===f.typeOf(a)&&n.setItem(a),U.playlistItem(a)},m.jwPlaylistNext=function(){m.jwPlaylistItem(n.item+1)},m.jwPlaylistPrev=function(){m.jwPlaylistItem(n.item-1)},m.jwSetVolume=function(a){f.exists(a)&&(a=0|Math.min(Math.max(0,a),100),L(a)&&I(a/100))},m.jwSetMute=function(a){f.exists(a)||(a=!S.mute),M(a)&&J(a)},m.jwGetVolume=function(){return 0|S.volume},m.jwGetMute=function(){return!!S.mute},m.jwIsBeforePlay=function(){return!1};var a=m.jwSetCurrentCaptions;m.jwSetCurrentCaptions=function(b){a(b),U.sendCommand("caption",b)},m.jwSkipAd=function(a){if(V){V.skipAd(a);var b=V.getAdModel();b.complete=!0,n.trigger(g.JWPLAYER_CAST_AD_CHANGED,b)}},m.jwClickAd=function(a){if(V&&V.timeSinceClick()>300&&(V.clickAd(a),n.state!==h.PAUSED)){var b={tag:a.tag};a.sequence&&(b.sequence=a.sequence),a.podcount&&(b.podcount=a.podcount),window.jwplayer(m.id).dispatchEvent(g.JWPLAYER_AD_CLICK,b),window.open(a.clickthrough)}},m.jwPlayAd=m.jwPauseAd=m.jwSetControls=m.jwForceState=m.jwReleaseState=m.jwSetFullscreen=m.jwDetachMedia=m.jwAttachMedia=k;var b=window.jwplayer(m.id).plugins;b.vast&&b.vast.jwPauseAd!==k&&($={jwPlayAd:b.vast.jwPlayAd,jwPauseAd:b.vast.jwPauseAd},b.vast.jwPlayAd=b.vast.jwPauseAd=k)}function O(){delete m.jwSkipAd,delete m.jwClickAd,m.initializeAPI();var a=window.jwplayer(m.id).plugins;a.vast&&i.extend(a.vast,$)}var P,Q=null,R={available:!1,active:!1,deviceName:""},S={volume:null,mute:null},T=f.getAbsolutePath(window.location.href),U=null,V=null,W=null,X={volume:n.volume,mute:n.mute},Y=null,Z=null,$=null;P=i.extend({},l,n.cast),j(P,"loadscreen"),j(P,"endscreen"),j(P,"logo"),!P.appid||window.cast&&window.cast.receiver||(a.addEventListener("availability",p),a.addEventListener("session",q),a.initialize(P.appid)),this.startCasting=v,this.stopCasting=z,this.openExtension=x};return m}.apply(b,d),!(void 0!==e&&(a.exports=e))},function(a,b,c){var d,e;d=[c(144),c(53),c(63),c(74),c(38)],e=function(a,b,c,d,e){function f(d){t=d,null!==a.availability?u.sendEvent("availability",{availability:a.availability}):p&&p.cast?h():n||(n=new c(q),n.addEventListener(b.ERROR,i),n.addEventListener(b.COMPLETE,h),n.load())}function g(a){var b=new p.cast.media.MediaInfo("");b.contentType="video/mp4";var c=new p.cast.media.LoadRequest(b);c.autoplay=!1,a.loadMedia(c)}function h(){p&&p.cast&&p.cast.isAvailable&&!o?(o=new p.cast.ApiConfig(new p.cast.SessionRequest(t),l,m,p.cast.AutoJoinPolicy.ORIGIN_SCOPED),p.cast.initialize(o,k,j)):s++<15&&(r=setTimeout(h,1e3))}function i(){n&&(n.resetEventListeners(),n=null)}function j(){o=null}function k(){}function l(b){u.sendEvent("session",{session:b}),b.sendMessage(a.NS,{whoami:1}),0===b.media.length&&g(b)}function m(b){a.availability=b,u.sendEvent("availability",{availability:b})}var n,o,p=window.chrome,q="https://www.gstatic.com/cv/js/sender/v1/cast_sender.js",r=-1,s=0,t=null,u=e.extend({initialize:f,sendDummyMedia:g},new d("cast.loader"));return u}.apply(b,d),!(void 0!==e&&(a.exports=e))},function(a,b,c){var d,e;d=[],e=function(){var a=window.chrome,b={};return b.NS="urn:x-cast:com.longtailvideo.jwplayer",b.debug=!1,b.availability=null,b.available=function(c){c=c||b.availability;var d="available";return a&&a.cast&&a.cast.ReceiverAvailability&&(d=a.cast.ReceiverAvailability.AVAILABLE),c===d},b.log=function(){if(b.debug){var a=Array.prototype.slice.call(arguments,0);console.log.apply(console,a)}},b.error=function(){var a=Array.prototype.slice.call(arguments,0);console.error.apply(console,a)},b}.apply(b,d),!(void 0!==e&&(a.exports=e))},function(a,b,c){var d,e;d=[c(41),c(53),c(74),c(50),c(38),c(144),c(49)],e=function(a,b,c,d,e,f,g){function h(){var a=document.createElement("div");return a.className="jw-cast-screen jw-reset",a}var i=function(g){function i(a){m.oldstate=m.newstate,m.newstate=a,j(b.JWPLAYER_PLAYER_STATE,{oldstate:m.oldstate,newstate:m.newstate})}function j(a,b){k.sendEvent(a,b)}var k=e.extend(this,new c("cast.provider")),l=-1,m={newstate:d.IDLE,oldstate:d.IDLE,buffer:0,position:0,duration:-1,audioMode:!1},n=h();n.onclick=function(){k.sendEvent(b.JWPLAYER_PROVIDER_CLICK)},k.isCaster=!0,k.init=function(){},k.destroy=function(){clearTimeout(l)},k.updateModel=function(a,c){a.newstate&&(m.newstate=a.newstate,m.oldstate=a.oldstate||m.oldstate,j(b.JWPLAYER_PLAYER_STATE,{oldstate:m.oldstate,newstate:m.newstate})),"ad"!==c&&((void 0!==a.position||void 0!==a.duration)&&(void 0!==a.position&&(m.position=a.position),void 0!==a.duration&&(m.duration=a.duration),j(b.JWPLAYER_MEDIA_TIME,{position:m.position,duration:m.duration})),void 0!==a.buffer&&(m.buffer=a.buffer,j(b.JWPLAYER_MEDIA_BUFFER,{bufferPercent:m.buffer})))},k.supportsFullscreen=function(){return!1},k.setup=function(a,b){b.state&&(m.newstate=b.state),void 0!==b.buffer&&(m.buffer=b.buffer),void 0!==a.position&&(m.position=a.position),void 0!==a.duration&&(m.duration=a.duration),i(d.BUFFERING),g("setup",a)},k.playlistItem=function(a){i(d.BUFFERING),g("item",a)},k.load=function(a){i(d.BUFFERING),g("load",a)},k.stop=function(){clearTimeout(l),l=setTimeout(function(){i(d.IDLE),g("stop")},0)},k.play=function(){g("play")},k.pause=function(){i(d.PAUSED),g("pause")},k.seek=function(a){i(d.BUFFERING),j(b.JWPLAYER_MEDIA_SEEK,{position:m.position,offset:a}),g("seek",a)},k.audioMode=function(){return m.audioMode},k.sendCommand=function(a,b){g(a,b)},k.detachMedia=function(){return f.error("detachMedia called while casting"),document.createElement("video")},k.attachMedia=function(){f.error("attachMedia called while casting")};var o;k.setContainer=function(a){a.appendChild(n),o=a},k.getContainer=function(){return o},k.remove=function(){o.removeChild(n)},k.volume=k.mute=k.setControls=k.setCurrentQuality=k.resize=k.seekDrag=k.addCaptions=k.resetCaptions=k.setVisibility=k.fsCaptions=a.noop,k.setFullScreen=k.getFullScreen=k.checkComplete=e.constant(!1),k.getWidth=k.getHeight=k.getCurrentQuality=e.constant(0),k.getQualityLevels=e.constant(["Auto"])};return g.css(".jwplayer .jwcast-screen",{width:"100%",height:"100%"}),i}.apply(b,d),!(void 0!==e&&(a.exports=e))},function(a,b,c){var d,e;d=[c(41),c(145),c(144),c(38)],e=function(a,b,c,d){var e=function(e,f){function g(){i={message:l,position:0,duration:-1}}function h(b,d){var g={command:b};void 0!==d&&(g.args=d),f.sendMessage(e,g,a.noop,function(a){c.error("message send error",a)})}var i,j=new b(e,f),k=d.extend(this,j),l="Loading ad",m=0;k.init=function(){j.init(),g()},k.destroy=function(){j.destroy()},k.updateModel=function(a,b){(a.tag||a.newstate||a.sequence||a.companions)&&c.log("received ad change:",a),a.tag&&i.tag&&a.tag!==i.tag&&(c.error("ad messages not received in order. new model:",a,"old model:",i),g()),d.extend(i,a),j.updateModel(a,b)},k.getAdModel=function(){var a=d.extend({},i);return i.duration>0?a.message=n(i):a.message=l,a},k.resetAdModel=function(){g()},k.skipAd=function(a){h("skipAd",{tag:a.tag})},k.clickAd=function(a){m=(new Date).getTime(),h("clickAd",{tag:a.tag})},k.timeSinceClick=function(){return(new Date).getTime()-m};var n=function(a){var b=a.message.replace(/xx/gi,""+Math.min(0|a.duration,Math.ceil(a.duration-a.position)));return a.podMessage&&a.podcount>1&&(b=a.podMessage.replace(/__AD_POD_CURRENT__/g,""+a.sequence).replace(/__AD_POD_LENGTH__/g,""+a.podcount)+b),b}};return e}.apply(b,d),!(void 0!==e&&(a.exports=e))},function(a,b,c){var d,e;d=[c(41),c(38),c(45)],e=function(a,b,c){function d(a,d){var f=b.extend({},a.config);return f.cast=b.extend({pageUrl:i},d),g(f,["base","autostart","controls","fallback","fullscreen","width","height","mobilecontrols","modes","playlistlayout","playlistposition","playlistsize","primary","stretching","sharing","related","ga","skin","logo","listbar","events"]),e(f),a.position&&(f.position=a.position),a.item>0&&(f.item=a.item),f.captionLabel=a.captionLabel,f.playerVersion=c,f}function e(a){var b=a.plugins;delete a.plugins;for(var c in b)if(b.hasOwnProperty(c)){var d=b[c];d.client&&(/[\.\/]/.test(d.client)&&h(d,"client"),d.client.indexOf("vast")>-1&&(a.advertising=f(d)))}}function f(a){var c=b.extend({},a);if(c.client="vast",delete c.companiondiv,c.schedule)for(var d in c.schedule)if(c.schedule.hasOwnProperty(d)){var e=c.schedule[d].ad||c.schedule[d];h(e,"tag")}return h(c,"tag"),c}function g(a,b){for(var c=b.length;c--;)delete a[b[c]]}function h(b,c){b[c]&&(b[c]=a.getAbsolutePath(b[c]))}var i=window.location.href;return{setupCastConfig:d}}.apply(b,d),!(void 0!==e&&(a.exports=e))},function(a,b,c){var d,e;d=[c(60),c(38)],e=function(a,b){return function(c,d){var e=["seek","stop","playlistNext","playlistPrev","playlistItem","resize","addButton","removeButton","registerPlugin","attachMedia"];b.each(e,function(a){c[a]=function(){return d[a].apply(d,arguments),c}}),c.registerPlugin=a.registerPlugin}}.apply(b,d),!(void 0!==e&&(a.exports=e))},function(a,b,c){var d,e;d=[c(38)],e=function(a){return function(b,c){var d=["buffer","controls","position","duration","width","height","fullscreen","volume","mute","state","item","stretching","playlist"];a.each(d,function(a){var d=a.slice(0,1).toUpperCase()+a.slice(1);b["get"+d]=function(){return c._model.get(a)}});var e=["getAudioTracks","getCaptionsList","getCurrentAudioTrack","setCurrentAudioTrack","getCurrentCaptions","setCurrentCaptions","getCurrentQuality","setCurrentQuality","getQualityLevels","getVisualQuality","getConfig","getSafeRegion","isBeforeComplete","isBeforePlay","getProvider","detachMedia"],f=["setControls","setFullscreen","setVolume","setMute","setCues"];a.each(e,function(a){b[a]=function(){return c[a].apply(c,arguments)}}),a.each(f,function(a){b[a]=function(){return c[a].apply(c,arguments),b}})}}.apply(b,d),!(void 0!==e&&(a.exports=e))},function(a,b,c){var d,e;d=[c(38),c(53)],e=function(a,b){return function(c){var d={onBufferChange:b.JWPLAYER_MEDIA_BUFFER,onBufferFull:b.JWPLAYER_MEDIA_BUFFER_FULL,onError:b.JWPLAYER_ERROR,onSetupError:b.JWPLAYER_SETUP_ERROR,onFullscreen:b.JWPLAYER_FULLSCREEN,onMeta:b.JWPLAYER_MEDIA_META,onMute:b.JWPLAYER_MEDIA_MUTE,onPlaylist:b.JWPLAYER_PLAYLIST_LOADED,onPlaylistItem:b.JWPLAYER_PLAYLIST_ITEM,onPlaylistComplete:b.JWPLAYER_PLAYLIST_COMPLETE,onReady:b.JWPLAYER_READY,onResize:b.JWPLAYER_RESIZE,onComplete:b.JWPLAYER_MEDIA_COMPLETE,onSeek:b.JWPLAYER_MEDIA_SEEK,onTime:b.JWPLAYER_MEDIA_TIME,onVolume:b.JWPLAYER_MEDIA_VOLUME,onBeforePlay:b.JWPLAYER_MEDIA_BEFOREPLAY,onBeforeComplete:b.JWPLAYER_MEDIA_BEFORECOMPLETE,onDisplayClick:b.JWPLAYER_DISPLAY_CLICK,onControls:b.JWPLAYER_CONTROLS,onQualityLevels:b.JWPLAYER_MEDIA_LEVELS,onQualityChange:b.JWPLAYER_MEDIA_LEVEL_CHANGED,onCaptionsList:b.JWPLAYER_CAPTIONS_LIST,onCaptionsChange:b.JWPLAYER_CAPTIONS_CHANGED,onAdError:b.JWPLAYER_AD_ERROR,onAdClick:b.JWPLAYER_AD_CLICK,onAdImpression:b.JWPLAYER_AD_IMPRESSION,onAdTime:b.JWPLAYER_AD_TIME,onAdComplete:b.JWPLAYER_AD_COMPLETE,onAdCompanions:b.JWPLAYER_AD_COMPANIONS,onAdSkipped:b.JWPLAYER_AD_SKIPPED,onAdPlay:b.JWPLAYER_AD_PLAY,onAdPause:b.JWPLAYER_AD_PAUSE,onAdMeta:b.JWPLAYER_AD_META,onCast:b.JWPLAYER_CAST_SESSION,onAudioTrackChange:b.JWPLAYER_AUDIO_TRACK_CHANGED,onAudioTracks:b.JWPLAYER_AUDIO_TRACKS},e={onBuffer:"buffer",onPause:"pause",onPlay:"play",onIdle:"idle"};a.each(e,function(b,d){c[d]=a.partial(c.on,b,a)}),a.each(d,function(b,d){c[d]=a.partial(c.on,b,a)})}}.apply(b,d),!(void 0!==e&&(a.exports=e))},function(a,b,c){var d=c(152);"string"==typeof d&&(d=[[a.id,d,""]]);c(156)(d,{});d.locals&&(a.exports=d.locals)},function(a,b,c){b=a.exports=c(153)(),b.push([a.id,".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-align:left;text-transform:none;vertical-align:baseline;border:0;direction:ltr;font-variant:inherit;font-stretch:inherit;-webkit-tap-highlight-color:rgba(255,255,255,0)}@font-face{font-family:'jw-icons';src:url("+c(154)+") format('woff'),url("+c(155)+') format(\'truetype\');font-weight:normal;font-style:normal}.jw-icon-inline,.jw-icon-tooltip,.jw-icon-display,.jw-controlbar .jw-menu .jw-option:before{font-family:\'jw-icons\';-webkit-font-smoothing:antialiased;font-style:normal;font-weight:normal;text-transform:none;background-color:transparent;font-variant:normal;-webkit-font-feature-settings:"liga";-ms-font-feature-settings:"liga" 1;-o-font-feature-settings:"liga";font-feature-settings:"liga";-moz-osx-font-smoothing:grayscale}.jw-icon-audio-tracks:before{content:"\\e600"}.jw-icon-buffer:before{content:"\\e601"}.jw-icon-cast:before{content:"\\e603"}.jw-icon-cast.jw-off:before{content:"\\e602"}.jw-icon-cc:before{content:"\\e605"}.jw-icon-cue:before{content:"\\e606"}.jw-icon-menu-bullet:before{content:"\\e606"}.jw-icon-error:before{content:"\\e607"}.jw-icon-fullscreen:before{content:"\\e608"}.jw-icon-fullscreen.jw-off:before{content:"\\e613"}.jw-icon-hd:before{content:"\\e60a"}.jw-rightlick-logo:before{content:"\\e60b"}.jw-icon-next:before{content:"\\e60c"}.jw-icon-pause:before{content:"\\e60d"}.jw-icon-play:before{content:"\\e60e"}.jw-icon-prev:before{content:"\\e60f"}.jw-icon-replay:before{content:"\\e610"}.jw-icon-volume:before{content:"\\e612"}.jw-icon-volume.jw-off:before{content:"\\e611"}.jw-icon-more:before{content:"\\e614"}.jw-icon-close:before{content:"\\e615"}.jw-icon-playlist:before{content:"\\e616"}.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;background-color:#000;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.jwplayer *{box-sizing:inherit}.jwplayer.jw-flag-aspect-mode{height:auto !important}.jwplayer.jw-flag-aspect-mode .jw-aspect{display:block}.jwplayer .jw-aspect{display:none}.jwplayer:focus,.jwplayer .jw-swf{outline:none}.jwplayer:hover .jw-display-icon-container{background-color:#333;background:#333;background-size:#333}.jw-media,.jw-preview,.jw-overlays,.jw-controls{position:absolute;width:100%;height:100%;top:0;left:0;bottom:0;right:0}.jw-media{overflow:hidden;cursor:pointer}.jw-media.jw-media-show{visibility:visible;opacity:1}.jw-media video{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;margin:auto;background:transparent}.jw-media video::-webkit-media-controls-start-playback-button{display:none}.jw-controls.jw-controls-disabled{display:none}.jw-controls .jw-controls-right{position:absolute;top:0;right:0}.jw-text{height:1em;font-family:Arial,Helvetica,sans-serif;font-size:.75em;font-style:normal;font-weight:normal;color:white;text-align:center;font-variant:normal;font-stretch:normal}.jw-plugin{position:absolute}.jw-cast-screen{width:100%;height:100%}.jw-instream{position:absolute;top:0;right:0;bottom:0;left:0;display:none}.jw-icon-playback:before{content:"\\e60e"}.jw-tab-focus:focus{outline:solid 2px #0b7ef4}.jw-preview,.jw-captions,.jw-title,.jw-overlays,.jw-controls{pointer-events:none}.jw-overlays>div,.jw-media,.jw-controlbar,.jw-dock,.jw-logo,.jw-skip,.jw-display-icon-container{pointer-events:all}.jw-click{position:absolute;width:100%;height:100%}.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,.jw-stretch-uniform .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-display-icon-container{position:relative;top:50%;display:table;height:3.5em;width:3.5em;margin:-1.75em auto 0;cursor:pointer}.jw-display-icon-container .jw-icon-display{position:relative;display:table-cell;text-align:center;vertical-align:middle !important;background-position:50% 50%;background-repeat:no-repeat;font-size:2em}.jw-flag-audio-player .jw-display-icon-container,.jw-flag-dragging .jw-display-icon-container{display:none}.jw-icon{font-family:\'jw-icons\';-webkit-font-smoothing:antialiased;font-style:normal;font-weight:normal;text-transform:none;background-color:transparent;font-variant:normal;-webkit-font-feature-settings:"liga";-ms-font-feature-settings:"liga" 1;-o-font-feature-settings:"liga";font-feature-settings:"liga";-moz-osx-font-smoothing:grayscale}.jw-controlbar{display:table;position:absolute;right:0;left:0;bottom:0;height:2em;padding:0 .25em}.jw-controlbar .jw-hidden{display:none}.jw-background-color{background-color:#414040}.jw-group{display:table-cell}.jw-controlbar-center-group{width:100%;padding:0 .25em}.jw-controlbar-center-group .jw-slider-time,.jw-controlbar-center-group .jw-text-alt{padding:0}.jw-controlbar-center-group .jw-text-alt{display:none}.jw-controlbar-left-group,.jw-controlbar-right-group{white-space:nowrap}.jw-knob:hover,.jw-icon-inline:hover,.jw-icon-tooltip:hover,.jw-icon-display:hover,.jw-option:before:hover{color:#eee}.jw-icon-inline,.jw-icon-tooltip,.jw-slider-horizontal,.jw-text-elapsed,.jw-text-duration{display:inline-block;height:2em;position:relative;line-height:2em;vertical-align:middle;cursor:pointer}.jw-icon-inline,.jw-icon-tooltip{min-width:1.25em;text-align:center}.jw-icon-playback{min-width:2.25em}.jw-icon-volume{min-width:1.75em;text-align:left}.jw-time-tip{line-height:1em}.jw-icon-inline:after,.jw-icon-tooltip:after{width:100%;height:100%;font-size:1em}.jw-cast{display:none}.jw-cast.jw-can-cast{display:inline-block}.jw-slider-volume.jw-slider-horizontal,.jw-icon-inline.jw-icon-volume{display:none}.jw-dock{margin:.75em;display:block;opacity:1;clear:right}.jw-dock:after{content:\'\';clear:both;display:block}.jw-dock-button{cursor:pointer;float:right;position:relative;width:2.5em;height:2.5em;margin:.5em}.jw-dock-button .jw-arrow{display:none;position:absolute;bottom:-0.2em;width:.5em;height:.2em;left:50%;margin-left:-0.25em}.jw-dock-button .jw-overlay{display:none;position:absolute;top:2.5em;right:0;margin-top:.25em;padding:.5em;white-space:nowrap}.jw-dock-button:hover .jw-overlay,.jw-dock-button:hover .jw-arrow{display:block}.jw-dock-image{width:100%;height:100%;background-position:50% 50%;background-repeat:no-repeat;opacity:.75}.jw-title{display:none;position:absolute;top:0;width:100%;font-size:.875em;height:8em;background:-webkit-linear-gradient(top, #000 0, #000 18%, rgba(0,0,0,0) 100%);background:linear-gradient(to bottom, #000 0, #000 18%, rgba(0,0,0,0) 100%)}.jw-title-primary,.jw-title-secondary{padding:.75em 1.5em;min-height:2.5em;width:75%;color:white;white-space:nowrap;text-overflow:ellipsis;overflow-x:hidden}.jw-title-primary{font-weight:bold}.jw-title-secondary{margin-top:-0.5em}.jw-slider-container{display:inline-block;height:1em;position:relative}.jw-rail,.jw-buffer,.jw-progress{position:absolute;cursor:pointer}.jw-progress{background-color:#fff}.jw-rail{background-color:#aaa}.jw-buffer{background-color:#202020}.jw-cue,.jw-knob{position:absolute;cursor:pointer}.jw-cue{background-color:#fff;width:.1em;height:.4em}.jw-knob{background-color:#aaa;width:.4em;height:.4em}.jw-slider-horizontal{width:4em;height:1em}.jw-slider-horizontal.jw-slider-volume{margin-right:5px}.jw-slider-horizontal .jw-rail,.jw-slider-horizontal .jw-buffer,.jw-slider-horizontal .jw-progress{width:100%;height:.4em}.jw-slider-horizontal .jw-progress,.jw-slider-horizontal .jw-buffer{width:0}.jw-slider-horizontal .jw-rail,.jw-slider-horizontal .jw-progress,.jw-slider-horizontal .jw-slider-container{width:100%}.jw-slider-horizontal .jw-knob{left:0;margin-left:-0.325em}.jw-slider-vertical{width:.75em;height:4em;bottom:0;position:absolute;padding:1em}.jw-slider-vertical .jw-rail,.jw-slider-vertical .jw-buffer,.jw-slider-vertical .jw-progress{bottom:0;height:100%}.jw-slider-vertical .jw-progress,.jw-slider-vertical .jw-buffer{height:0}.jw-slider-vertical .jw-slider-container,.jw-slider-vertical .jw-rail,.jw-slider-vertical .jw-progress{bottom:0;width:.75em;height:100%;left:0;right:0;margin:0 auto}.jw-slider-vertical .jw-slider-container{height:4em;position:relative}.jw-slider-vertical .jw-knob{bottom:0;left:0;right:0;margin:0 auto}.jw-slider-time{right:0;left:0;width:100%}.jw-tooltip-time{position:absolute}.jw-slider-volume .jw-buffer{display:none}.jw-captions{position:absolute;display:none;margin:0 auto;width:100%;left:0;bottom:1.75em;right:0;max-width:90%;text-align:center}.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:white;background-color:black;word-wrap:break-word;white-space:pre-line;font-style:normal;font-weight:normal;text-align:center;text-decoration:none;line-height:1.3em;padding:.1em .8em}.jw-rightclick{display:none}.jw-rightclick.jw-open{display:block}.jw-rightclick{position:absolute;white-space:nowrap}.jw-rightclick ul{list-style:none;font-weight:bold;border-radius:.15em;margin:0;border:1px solid #d9dde6;padding-left:0}.jw-rightclick .jw-rightlick-logo{font-size:2em;color:#ff0147;vertical-align:middle;padding-right:.3em;margin-right:.3em;border-right:1px solid #d9dde6}.jw-rightclick a{color:#000;text-decoration:none;padding:1em;display:block;font-size:.6875em}.jw-rightclick li{background-color:#f2f3f6;border-bottom:1px solid #d9dde6}.jw-rightclick li:last-child{border-bottom:none}.jw-rightclick li:hover a,.jw-rightclick li.jw-featured:hover{background-color:#e4e6ed;cursor:pointer;color:#ff0046}.jw-rightclick li.jw-featured{background-color:#fff;vertical-align:middle}.jw-rightclick li.jw-featured a{color:#aab4c8}.jw-logo{float:right;padding:.75em;cursor:pointer;pointer-events:all}.jw-logo .jw-flag-audio-player{display:none}.jw-icon-tooltip.jw-open .jw-overlay{opacity:1;visibility:visible}.jw-icon-tooltip.jw-hidden{display:none}.jw-overlay:after{position:absolute;bottom:-0.5em;left:-50%;width:100%;height:15%;background-color:rgba(0,0,0,0);content:" "}.jw-time-tip,.jw-volume-tip,.jw-menu{position:relative;left:-50%;border:solid 1px #000;margin:0}.jw-volume-tip{width:100%;height:100%;display:block}.jw-time-tip{text-align:center;font-family:inherit;color:#aaa;bottom:1em;border:solid 4px #000}.jw-time-tip .jw-text{line-height:1em}.jw-controlbar .jw-overlay{margin:0;position:absolute;bottom:2em;left:50%;opacity:0;visibility:hidden}.jw-controlbar .jw-overlay .jw-contents{position:relative}.jw-controlbar .jw-option{position:relative;white-space:nowrap;cursor:pointer;list-style:none;height:1.5em;font-family:inherit;line-height:1.5em;color:#aaa;padding:0 .5em;font-size:.8em}.jw-controlbar .jw-option:hover,.jw-controlbar .jw-option:before:hover{color:#eee}.jw-controlbar .jw-option:before{padding-right:.125em}.jw-playlist-container ::-webkit-scrollbar-track{background-color:#333;border-radius:10px}.jw-playlist-container ::-webkit-scrollbar{width:5px;border:10px solid black;border-bottom:0;border-top:0}.jw-playlist-container ::-webkit-scrollbar-thumb{background-color:white;border-radius:5px}.jw-tooltip-title{border-bottom:1px solid #444;text-align:left;padding-left:.7em}.jw-playlist{max-height:11em;min-height:4.5em;overflow-y:scroll;width:calc(100% - 4px)}.jw-playlist .jw-option{height:3em;margin-right:5px;color:white;padding-left:1em;font-size:.8em}.jw-playlist .jw-label,.jw-playlist .jw-name{display:inline-block;line-height:3em;text-align:left;overflow:hidden;white-space:nowrap}.jw-playlist .jw-label{width:1em}.jw-playlist .jw-name{width:11em}.jw-skip{cursor:default;position:absolute;float:right;display:inline-block;right:.75em;bottom:3em}.jw-skip.jw-skippable{cursor:pointer}.jw-skip.jw-hidden{visibility:hidden}.jw-skip .jw-skip-icon{display:none;margin-left:-0.75em}.jw-skip .jw-skip-icon:before{content:"\\e60c"}.jw-skip .jw-text,.jw-skip .jw-skip-icon{color:#aaa;vertical-align:middle}.jw-skip.jw-skippable:hover{cursor:pointer}.jw-skip.jw-skippable:hover .jw-text,.jw-skip.jw-skippable:hover .jw-skip-icon{color:#eee}.jw-skip.jw-skippable .jw-skip-icon{display:inline;margin:0}.jwplayer.jw-state-idle .jw-preview{display:block}.jwplayer.jw-state-idle .jw-icon-display:before{content:"\\e60e"}.jwplayer.jw-state-idle .jw-controlbar{display:none}.jwplayer.jw-state-idle .jw-captions{display:none}.jwplayer.jw-state-idle .jw-title{display:block}.jwplayer.jw-state-playing .jw-display-icon-container{display:none}.jwplayer.jw-state-playing .jw-icon-playback:before{content:"\\e60d"}.jwplayer.jw-state-paused .jw-display-icon-container{display:none}.jwplayer.jw-state-paused .jw-icon-playback:before{content:"\\e60e"}.jwplayer.jw-state-buffering .jw-display-icon-container .jw-icon-display{-webkit-animation:spin 2s linear infinite;animation:spin 2s linear infinite}.jwplayer.jw-state-buffering .jw-display-icon-container .jw-icon-display:before{content:"\\e601"}@-webkit-keyframes spin{100%{-webkit-transform:rotate(360deg)}}@keyframes spin{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.jwplayer.jw-state-buffering .jw-display-icon-container .jw-text{display:none}.jwplayer.jw-state-buffering .jw-icon-playback:before{content:"\\e60d"}.jwplayer.jw-state-complete .jw-preview{display:block}.jwplayer.jw-state-complete .jw-display-icon-container .jw-icon-display:before{content:"\\e610"}.jwplayer.jw-state-complete .jw-display-icon-container .jw-text{display:none}.jwplayer.jw-state-complete .jw-icon-playback:before{content:"\\e60e"}.jwplayer.jw-state-complete .jw-captions{display:none}body .jw-error .jw-title,.jwplayer.jw-state-error .jw-title{display:block}body .jw-error .jw-title .jw-title-primary,.jwplayer.jw-state-error .jw-title .jw-title-primary{white-space:normal}body .jw-error .jw-preview,.jwplayer.jw-state-error .jw-preview{display:block}body .jw-error .jw-controlbar,.jwplayer.jw-state-error .jw-controlbar{display:none}body .jw-error .jw-captions,.jwplayer.jw-state-error .jw-captions{display:none}body .jw-error:hover .jw-display-icon-container,.jwplayer.jw-state-error:hover .jw-display-icon-container{cursor:default;color:#fff;background:#000}body .jw-error .jw-icon-display,.jwplayer.jw-state-error .jw-icon-display{cursor:default;font-family:\'jw-icons\';-webkit-font-smoothing:antialiased;font-style:normal;font-weight:normal;text-transform:none;background-color:transparent;font-variant:normal;-webkit-font-feature-settings:"liga";-ms-font-feature-settings:"liga" 1;-o-font-feature-settings:"liga";font-feature-settings:"liga";-moz-osx-font-smoothing:grayscale}body .jw-error .jw-icon-display:before,.jwplayer.jw-state-error .jw-icon-display:before{content:"\\e607"}body .jw-error .jw-icon-display:hover,.jwplayer.jw-state-error .jw-icon-display:hover{color:#fff}body .jw-error{font-size:16px;background-color:#000;color:#eee;width:100%;height:100%;display:table;opacity:1;position:relative}body .jw-error .jw-icon-container{position:absolute;width:100%;height:100%;top:0;left:0;bottom:0;right:0}.jwplayer.jw-flag-skin-loading .jw-captions,.jwplayer.jw-flag-skin-loading .jw-controls,.jwplayer.jw-flag-skin-loading .jw-title{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-fullscreen.jw-flag-user-inactive{cursor:none;-webkit-cursor-visibility:auto-hide}.jwplayer.jw-flag-live .jw-controlbar .jw-text-elapsed,.jwplayer.jw-flag-live .jw-controlbar .jw-text-duration,.jwplayer.jw-flag-live .jw-controlbar .jw-slider-time{display:none}.jwplayer.jw-flag-live .jw-controlbar .jw-text-alt{display:inline}.jw-flag-user-inactive.jw-state-playing .jw-controlbar,.jw-flag-user-inactive.jw-state-playing .jw-dock{display:none}.jw-flag-user-inactive.jw-state-playing .jw-logo.jw-hide{display:none}.jw-flag-audio-player{background-color:transparent}.jw-flag-audio-player .jw-media{visibility:hidden}.jw-flag-audio-player .jw-controlbar{display:table;bottom:0;margin:0;width:100%;min-width:100%;opacity:1}.jw-flag-audio-player .jw-controlbar .jw-icon-fullscreen{display:none}.jw-flag-audio-player .jw-controlbar .jw-icon-tooltip{display:none}.jw-flag-audio-player .jw-controlbar .jw-slider-volume.jw-slider-horizontal,.jw-flag-audio-player .jw-controlbar .jw-icon-inline.jw-icon-volume{display:inline-block}.jw-flag-audio-player .jw-controlbar .jw-icon-tooltip.jw-icon-volume{display:none}.jwplayer.jw-flag-audio-player .jw-controlbar{display:table}.jwplayer.jw-flag-audio-player .jw-controlbar{height:auto}.jwplayer.jw-flag-audio-player .jw-preview{display:none}.jwplayer.jw-flag-media-audio .jw-controlbar{display:table}.jwplayer.jw-flag-ads .jw-preview,.jwplayer.jw-flag-ads .jw-dock{display:none}.jwplayer.jw-flag-ads .jw-controlbar .jw-icon-inline,.jwplayer.jw-flag-ads .jw-controlbar .jw-icon-tooltip,.jwplayer.jw-flag-ads .jw-controlbar .jw-text,.jwplayer.jw-flag-ads .jw-controlbar .jw-slider-horizontal{display:none}.jwplayer.jw-flag-ads .jw-controlbar .jw-icon-playback,.jwplayer.jw-flag-ads .jw-controlbar .jw-icon-volume,.jwplayer.jw-flag-ads .jw-controlbar .jw-slider-volume,.jwplayer.jw-flag-ads .jw-controlbar .jw-icon-fullscreen{display:inline-block}.jwplayer.jw-flag-ads .jw-controlbar .jw-text-alt{display:inline}.jwplayer.jw-flag-ads .jw-controlbar .jw-slider-volume.jw-slider-horizontal,.jwplayer.jw-flag-ads .jw-controlbar .jw-icon-inline.jw-icon-volume{display:inline-block}.jwplayer.jw-flag-ads .jw-controlbar .jw-icon-tooltip.jw-icon-volume{display:none}.jwplayer.jw-flag-ads-hide-controls .jw-controls{display:none !important}.jwplayer.jw-flag-ads.jw-flag-touch-screen .jw-controlbar{display:table}.jwplayer.jw-flag-rightclick-open{overflow:visible}.jwplayer.jw-flag-rightclick-open .jw-rightclick{z-index:16777215}.jw-flag-controls-disabled .jw-controls{display:none}.jw-flag-controls-disabled .jw-media{cursor:auto}.jw-skin-seven .jw-background-color{background:#000}.jw-skin-seven .jw-controlbar{border-top:#333 1px solid;height:2.5em}.jw-skin-seven .jw-group{vertical-align:middle}.jw-skin-seven .jw-playlist{background-color:rgba(0,0,0,0.5)}.jw-skin-seven .jw-playlist-container{left:-43%;background-color:rgba(0,0,0,0.5)}.jw-skin-seven .jw-playlist-container .jw-option{border-bottom:1px solid #444}.jw-skin-seven .jw-playlist-container .jw-option:hover,.jw-skin-seven .jw-playlist-container .jw-option.jw-active-option{background-color:black}.jw-skin-seven .jw-playlist-container .jw-option:hover .jw-label{color:#ff0046}.jw-skin-seven .jw-playlist-container .jw-icon-playlist{margin-left:0}.jw-skin-seven .jw-playlist-container .jw-label .jw-icon-play{color:#ff0046}.jw-skin-seven .jw-playlist-container .jw-label .jw-icon-play:before{padding-left:0}.jw-skin-seven .jw-tooltip-title{background-color:#000;color:#fff}.jw-skin-seven .jw-text{color:#fff}.jw-skin-seven .jw-button-color{color:#fff}.jw-skin-seven .jw-button-color:hover{color:#ff0046}.jw-skin-seven .jw-toggle{color:#ff0046}.jw-skin-seven .jw-toggle.jw-off{color:#fff}.jw-skin-seven .jw-controlbar .jw-icon:before,.jw-skin-seven .jw-text-elapsed,.jw-skin-seven .jw-text-duration{padding:0 .7em}.jw-skin-seven .jw-controlbar .jw-icon-prev:before{padding-right:.25em}.jw-skin-seven .jw-controlbar .jw-icon-playlist:before{padding:0 .45em}.jw-skin-seven .jw-controlbar .jw-icon-next:before{padding-left:.25em}.jw-skin-seven .jw-icon-prev,.jw-skin-seven .jw-icon-next{font-size:.7em}.jw-skin-seven .jw-icon-prev:before{border-left:1px solid #666}.jw-skin-seven .jw-icon-next:before{border-right:1px solid #666}.jw-skin-seven .jw-icon-display{color:#fff}.jw-skin-seven .jw-icon-display:before{padding-left:0}.jw-skin-seven .jw-display-icon-container{border-radius:50%;border:1px solid #333}.jw-skin-seven .jw-rail{background-color:#384154;box-shadow:none}.jw-skin-seven .jw-buffer{background-color:#666f82}.jw-skin-seven .jw-progress{background:#ff0046}.jw-skin-seven .jw-knob{width:.6em;height:.6em;background-color:#fff;box-shadow:0 0 0 1px #000;border-radius:1em}.jw-skin-seven .jw-slider-horizontal .jw-slider-container{height:.95em}.jw-skin-seven .jw-slider-horizontal .jw-rail,.jw-skin-seven .jw-slider-horizontal .jw-buffer,.jw-skin-seven .jw-slider-horizontal .jw-progress{height:.2em;border-radius:0}.jw-skin-seven .jw-slider-horizontal .jw-knob{top:-0.2em}.jw-skin-seven .jw-slider-horizontal .jw-cue{top:-0.05em;width:.3em;height:.3em;background-color:#fff;border-radius:50%}.jw-skin-seven .jw-slider-vertical .jw-rail,.jw-skin-seven .jw-slider-vertical .jw-buffer,.jw-skin-seven .jw-slider-vertical .jw-progress{width:.2em}.jw-skin-seven .jw-volume-tip{width:100%;left:-45%;padding-bottom:.7em}.jw-skin-seven .jw-text-duration{color:#666f82}.jw-skin-seven .jw-controlbar-right-group .jw-icon-tooltip:before,.jw-skin-seven .jw-controlbar-right-group .jw-icon-inline:before{border-left:1px solid #666}.jw-skin-seven .jw-controlbar-right-group .jw-icon-inline:first-child:before{border:none}.jw-skin-seven .jw-dock .jw-dock-button{border-radius:50%;border:1px solid #333}.jw-skin-seven .jw-dock .jw-overlay{border-radius:2.5em}.jw-skin-seven .jw-icon-tooltip .jw-active-option{background-color:#ff0046;color:#fff}.jw-skin-seven .jw-icon-volume{min-width:2.6em}.jw-skin-seven .jw-time-tip,.jw-skin-seven .jw-menu,.jw-skin-seven .jw-volume-tip,.jw-skin-seven .jw-skip{border:1px solid #333}.jw-skin-seven .jw-time-tip{padding:.2em;bottom:1.3em}.jw-skin-seven .jw-menu,.jw-skin-seven .jw-volume-tip{bottom:.24em}.jw-skin-seven .jw-skip{padding:.4em;border-radius:1em}.jw-skin-seven .jw-skip .jw-text,.jw-skin-seven .jw-skip .jw-icon-inline{color:#fff;font-size:.7em}',""]); },function(a,b){a.exports=function(){var a=[];return a.toString=function(){for(var a=[],b=0;b