@cdf/cdf-ng-media
Version:
Angular module for displaying media assets (images, videos)
2 lines • 203 kB
JavaScript
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.jwplayer=t():e.jwplayer=t()}(this,function(){return function(e){function t(n){if(i[n])return i[n].exports;var o=i[n]={exports:{},id:n,loaded:!1};return e[n].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n=window.webpackJsonpjwplayer;window.webpackJsonpjwplayer=function(i,r){for(var a,s,l=0,c=[];l<i.length;l++)s=i[l],o[s]&&c.push.apply(c,o[s]),o[s]=0;for(a in r)e[a]=r[a];for(n&&n(i,r);c.length;)c.shift().call(null,t)};var i={},o={0:0};return t.e=function(e,n){if(0===o[e])return n.call(null,t);if(void 0!==o[e])o[e].push(n);else{o[e]=[n];var i=document.getElementsByTagName("head")[0],r=document.createElement("script");r.type="text/javascript",r.charset="utf-8",r.async=!0,r.src=t.p+""+({1:"provider.caterpillar",2:"provider.shaka",3:"provider.cast",4:"provider.html5",5:"provider.flash",6:"provider.youtube",7:"polyfills.vttcue",8:"polyfills.vttrenderer",9:"polyfills.promise",10:"polyfills.base64",11:"vttparser"}[e]||e)+".js",i.appendChild(r)}},t.m=e,t.c=i,t.p="",t(0)}([function(e,t,n){e.exports=n(213)},function(e,t,n){var i,o;i=[],o=function(){var e={},t=Array.prototype,n=Object.prototype,i=Function.prototype,o=t.slice,r=t.concat,a=n.toString,s=n.hasOwnProperty,l=t.map,c=t.reduce,u=t.forEach,d=t.filter,p=t.every,h=t.some,f=t.indexOf,g=Array.isArray,m=Object.keys,v=i.bind,w=function(e){return e instanceof w?e:this instanceof w?void 0:new w(e)},y=w.each=w.forEach=function(t,n,i){if(null==t)return t;if(u&&t.forEach===u)t.forEach(n,i);else if(t.length===+t.length){for(var o=0,r=t.length;o<r;o++)if(n.call(i,t[o],o,t)===e)return}else for(var a=w.keys(t),o=0,r=a.length;o<r;o++)if(n.call(i,t[a[o]],a[o],t)===e)return;return t};w.map=w.collect=function(e,t,n){var i=[];return null==e?i:l&&e.map===l?e.map(t,n):(y(e,function(e,o,r){i.push(t.call(n,e,o,r))}),i)};var j="Reduce of empty array with no initial value";w.reduce=w.foldl=w.inject=function(e,t,n,i){var o=arguments.length>2;if(null==e&&(e=[]),c&&e.reduce===c)return i&&(t=w.bind(t,i)),o?e.reduce(t,n):e.reduce(t);if(y(e,function(e,r,a){o?n=t.call(i,n,e,r,a):(n=e,o=!0)}),!o)throw new TypeError(j);return n},w.find=w.detect=function(e,t,n){var i;return b(e,function(e,o,r){if(t.call(n,e,o,r))return i=e,!0}),i},w.filter=w.select=function(e,t,n){var i=[];return null==e?i:d&&e.filter===d?e.filter(t,n):(y(e,function(e,o,r){t.call(n,e,o,r)&&i.push(e)}),i)},w.reject=function(e,t,n){return w.filter(e,function(e,i,o){return!t.call(n,e,i,o)},n)},w.compact=function(e){return w.filter(e,w.identity)},w.every=w.all=function(t,n,i){n||(n=w.identity);var o=!0;return null==t?o:p&&t.every===p?t.every(n,i):(y(t,function(t,r,a){if(!(o=o&&n.call(i,t,r,a)))return e}),!!o)};var b=w.some=w.any=function(t,n,i){n||(n=w.identity);var o=!1;return null==t?o:h&&t.some===h?t.some(n,i):(y(t,function(t,r,a){if(o||(o=n.call(i,t,r,a)))return e}),!!o)};w.size=function(e){return null==e?0:e.length===+e.length?e.length:w.keys(e).length},w.last=function(e,t,n){if(null!=e)return null==t||n?e[e.length-1]:o.call(e,Math.max(e.length-t,0))},w.after=function(e,t){return function(){if(--e<1)return t.apply(this,arguments)}},w.before=function(e,t){var n;return function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=null),n}};var E=function(e){return null==e?w.identity:w.isFunction(e)?e:w.property(e)},k=function(e){return function(t,n,i){var o={};return n=E(n),y(t,function(r,a){var s=n.call(i,r,a,t);e(o,s,r)}),o}};w.groupBy=k(function(e,t,n){w.has(e,t)?e[t].push(n):e[t]=[n]}),w.indexBy=k(function(e,t,n){e[t]=n}),w.sortedIndex=function(e,t,n,i){n=E(n);for(var o=n.call(i,t),r=0,a=e.length;r<a;){var s=r+a>>>1;n.call(i,e[s])<o?r=s+1:a=s}return r};var b=w.some=w.any=function(t,n,i){n||(n=w.identity);var o=!1;return null==t?o:h&&t.some===h?t.some(n,i):(y(t,function(t,r,a){if(o||(o=n.call(i,t,r,a)))return e}),!!o)};w.contains=w.include=function(e,t){return null!=e&&(e.length!==+e.length&&(e=w.values(e)),w.indexOf(e,t)>=0)},w.pluck=function(e,t){return w.map(e,w.property(t))},w.where=function(e,t){return w.filter(e,w.matches(t))},w.findWhere=function(e,t){return w.find(e,w.matches(t))},w.max=function(e,t,n){if(!t&&w.isArray(e)&&e[0]===+e[0]&&e.length<65535)return Math.max.apply(Math,e);var i=-(1/0),o=-(1/0);return y(e,function(e,r,a){var s=t?t.call(n,e,r,a):e;s>o&&(i=e,o=s)}),i},w.difference=function(e){var n=r.apply(t,o.call(arguments,1));return w.filter(e,function(e){return!w.contains(n,e)})},w.without=function(e){return w.difference(e,o.call(arguments,1))},w.indexOf=function(e,t,n){if(null==e)return-1;var i=0,o=e.length;if(n){if("number"!=typeof n)return i=w.sortedIndex(e,t),e[i]===t?i:-1;i=n<0?Math.max(0,o+n):n}if(f&&e.indexOf===f)return e.indexOf(t,n);for(;i<o;i++)if(e[i]===t)return i;return-1};var L=function(){};w.bind=function(e,t){var n,i;if(v&&e.bind===v)return v.apply(e,o.call(arguments,1));if(!w.isFunction(e))throw new TypeError;return n=o.call(arguments,2),i=function(){if(!(this instanceof i))return e.apply(t,n.concat(o.call(arguments)));L.prototype=e.prototype;var r=new L;L.prototype=null;var a=e.apply(r,n.concat(o.call(arguments)));return Object(a)===a?a:r}},w.partial=function(e){var t=o.call(arguments,1);return function(){for(var n=0,i=t.slice(),o=0,r=i.length;o<r;o++)i[o]===w&&(i[o]=arguments[n++]);for(;n<arguments.length;)i.push(arguments[n++]);return e.apply(this,i)}},w.once=w.partial(w.before,2),w.memoize=function(e,t){var n={};return t||(t=w.identity),function(){var i=t.apply(this,arguments);return w.has(n,i)?n[i]:n[i]=e.apply(this,arguments)}},w.delay=function(e,t){var n=o.call(arguments,2);return setTimeout(function(){return e.apply(null,n)},t)},w.defer=function(e){return w.delay.apply(w,[e,1].concat(o.call(arguments,1)))},w.throttle=function(e,t,n){var i,o,r,a=null,s=0;n||(n={});var l=function(){s=n.leading===!1?0:w.now(),a=null,r=e.apply(i,o),i=o=null};return function(){var c=w.now();s||n.leading!==!1||(s=c);var u=t-(c-s);return i=this,o=arguments,u<=0?(clearTimeout(a),a=null,s=c,r=e.apply(i,o),i=o=null):a||n.trailing===!1||(a=setTimeout(l,u)),r}},w.keys=function(e){if(!w.isObject(e))return[];if(m)return m(e);var t=[];for(var n in e)w.has(e,n)&&t.push(n);return t},w.invert=function(e){for(var t={},n=w.keys(e),i=0,o=n.length;i<o;i++)t[e[n[i]]]=n[i];return t},w.defaults=function(e){return y(o.call(arguments,1),function(t){if(t)for(var n in t)void 0===e[n]&&(e[n]=t[n])}),e},w.extend=function(e){return y(o.call(arguments,1),function(t){if(t)for(var n in t)e[n]=t[n]}),e},w.pick=function(e){var n={},i=r.apply(t,o.call(arguments,1));return y(i,function(t){t in e&&(n[t]=e[t])}),n},w.omit=function(e){var n={},i=r.apply(t,o.call(arguments,1));for(var a in e)w.contains(i,a)||(n[a]=e[a]);return n},w.clone=function(e){return w.isObject(e)?w.isArray(e)?e.slice():w.extend({},e):e},w.isArray=g||function(e){return"[object Array]"==a.call(e)},w.isObject=function(e){return e===Object(e)},y(["Arguments","Function","String","Number","Date","RegExp"],function(e){w["is"+e]=function(t){return a.call(t)=="[object "+e+"]"}}),w.isArguments(arguments)||(w.isArguments=function(e){return!(!e||!w.has(e,"callee"))}),w.isFunction=function(e){return"function"==typeof e},w.isFinite=function(e){return isFinite(e)&&!isNaN(parseFloat(e))},w.isNaN=function(e){return w.isNumber(e)&&e!=+e},w.isBoolean=function(e){return e===!0||e===!1||"[object Boolean]"==a.call(e)},w.isNull=function(e){return null===e},w.isUndefined=function(e){return void 0===e},w.has=function(e,t){return s.call(e,t)},w.identity=function(e){return e},w.constant=function(e){return function(){return e}},w.property=function(e){return function(t){return t[e]}},w.propertyOf=function(e){return null==e?function(){}:function(t){return e[t]}},w.matches=function(e){return function(t){if(t===e)return!0;for(var n in e)if(e[n]!==t[n])return!1;return!0}},w.now=Date.now||function(){return(new Date).getTime()},w.result=function(e,t){if(null!=e){var n=e[t];return w.isFunction(n)?n.call(e):n}};var A=0;return w.uniqueId=function(e){var t=++A+"";return e?e+t:t},w}.apply(t,i),!(void 0!==o&&(e.exports=o))},function(e,t,n){var i,o;i=[n(8),n(1),n(44),n(77),n(29),n(45),n(21),n(76),n(46),n(79),n(184)],o=function(e,t,n,i,o,r,a,s,l,c,u){var d={};return d.log=function(){window.console&&("object"==typeof console.log?console.log(Array.prototype.slice.call(arguments,0)):console.log.apply(console,arguments))},d.between=function(e,t,n){return Math.max(Math.min(e,n),t)},d.foreach=function(e,t){var n,i;for(n in e)"function"===d.typeOf(e.hasOwnProperty)?e.hasOwnProperty(n)&&(i=e[n],t(n,i)):(i=e[n],t(n,i))},d.indexOf=t.indexOf,d.noop=function(){},d.seconds=e.seconds,d.prefix=e.prefix,d.suffix=e.suffix,t.extend(d,r,a,l,n,s,i,o,c,u),d}.apply(t,i),!(void 0!==o&&(e.exports=o))},function(e,t,n){var i,o;i=[n(1)],o=function(e){var t=[],n=t.slice,i={on:function(e,t,n){if(!r(this,"on",e,[t,n])||!t)return this;this._events||(this._events={});var i=this._events[e]||(this._events[e]=[]);return i.push({callback:t,context:n}),this},once:function(t,n,i){if(!r(this,"once",t,[n,i])||!n)return this;var o=this,a=e.once(function(){o.off(t,a),n.apply(this,arguments)});return a._callback=n,this.on(t,a,i)},off:function(t,n,i){var o,a,s,l,c,u,d,p;if(!this._events||!r(this,"off",t,[n,i]))return this;if(!t&&!n&&!i)return this._events=void 0,this;for(l=t?[t]:e.keys(this._events),c=0,u=l.length;c<u;c++)if(t=l[c],s=this._events[t]){if(this._events[t]=o=[],n||i)for(d=0,p=s.length;d<p;d++)a=s[d],(n&&n!==a.callback&&n!==a.callback._callback||i&&i!==a.context)&&o.push(a);o.length||delete this._events[t]}return this},trigger:function(e){if(!this._events)return this;var t=n.call(arguments,1);if(!r(this,"trigger",e,t))return this;var i=this._events[e],o=this._events.all;return i&&a(i,t,this),o&&a(o,arguments,this),this},triggerSafe:function(e){if(!this._events)return this;var t=n.call(arguments,1);if(!r(this,"trigger",e,t))return this;var i=this._events[e],o=this._events.all;return i&&s(i,t,this),o&&s(o,arguments,this),this}},o=/\s+/,r=function(e,t,n,i){if(!n)return!0;if("object"==typeof n){for(var r in n)e[t].apply(e,[r,n[r]].concat(i));return!1}if(o.test(n)){for(var a=n.split(o),s=0,l=a.length;s<l;s++)e[t].apply(e,[a[s]].concat(i));return!1}return!0},a=function(e,t,n){var i,o=-1,r=e.length,a=t[0],s=t[1],l=t[2];switch(t.length){case 0:for(;++o<r;)(i=e[o]).callback.call(i.context||n);return;case 1:for(;++o<r;)(i=e[o]).callback.call(i.context||n,a);return;case 2:for(;++o<r;)(i=e[o]).callback.call(i.context||n,a,s);return;case 3:for(;++o<r;)(i=e[o]).callback.call(i.context||n,a,s,l);return;default:for(;++o<r;)(i=e[o]).callback.apply(i.context||n,t);return}},s=function(e,t,n){for(var i,o=-1,r=e.length;++o<r;)try{(i=e[o]).callback.apply(i.context||n,t)}catch(a){}};return i}.apply(t,i),!(void 0!==o&&(e.exports=o))},function(e,t,n){var i,o;i=[],o=function(){var e={DRAG:"drag",DRAG_START:"dragStart",DRAG_END:"dragEnd",CLICK:"click",DOUBLE_CLICK:"doubleClick",TAP:"tap",DOUBLE_TAP:"doubleTap",OVER:"over",MOVE:"move",OUT:"out"},t={COMPLETE:"complete",ERROR:"error",JWPLAYER_AD_CLICK:"adClick",JWPLAYER_AD_COMPANIONS:"adCompanions",JWPLAYER_AD_COMPLETE:"adComplete",JWPLAYER_AD_ERROR:"adError",JWPLAYER_AD_IMPRESSION:"adImpression",JWPLAYER_AD_META:"adMeta",JWPLAYER_AD_PAUSE:"adPause",JWPLAYER_AD_PLAY:"adPlay",JWPLAYER_AD_SKIPPED:"adSkipped",JWPLAYER_AD_TIME:"adTime",JWPLAYER_CAST_AD_CHANGED:"castAdChanged",JWPLAYER_MEDIA_COMPLETE:"complete",JWPLAYER_READY:"ready",JWPLAYER_MEDIA_SEEK:"seek",JWPLAYER_MEDIA_BEFOREPLAY:"beforePlay",JWPLAYER_MEDIA_BEFORECOMPLETE:"beforeComplete",JWPLAYER_MEDIA_BUFFER_FULL:"bufferFull",JWPLAYER_DISPLAY_CLICK:"displayClick",JWPLAYER_PLAYLIST_COMPLETE:"playlistComplete",JWPLAYER_CAST_SESSION:"cast",JWPLAYER_MEDIA_ERROR:"mediaError",JWPLAYER_MEDIA_FIRST_FRAME:"firstFrame",JWPLAYER_MEDIA_PLAY_ATTEMPT:"playAttempt",JWPLAYER_MEDIA_LOADED:"loaded",JWPLAYER_MEDIA_SEEKED:"seeked",JWPLAYER_SETUP_ERROR:"setupError",JWPLAYER_ERROR:"error",JWPLAYER_PLAYER_STATE:"state",JWPLAYER_CAST_AVAILABLE:"castAvailable",JWPLAYER_MEDIA_BUFFER:"bufferChange",JWPLAYER_MEDIA_TIME:"time",JWPLAYER_MEDIA_TYPE:"mediaType",JWPLAYER_MEDIA_VOLUME:"volume",JWPLAYER_MEDIA_MUTE:"mute",JWPLAYER_MEDIA_META:"meta",JWPLAYER_MEDIA_LEVELS:"levels",JWPLAYER_MEDIA_LEVEL_CHANGED:"levelsChanged",JWPLAYER_CONTROLS:"controls",JWPLAYER_FULLSCREEN:"fullscreen",JWPLAYER_RESIZE:"resize",JWPLAYER_PLAYLIST_ITEM:"playlistItem",JWPLAYER_PLAYLIST_LOADED:"playlist",JWPLAYER_AUDIO_TRACKS:"audioTracks",JWPLAYER_AUDIO_TRACK_CHANGED:"audioTrackChanged",JWPLAYER_LOGO_CLICK:"logoClick",JWPLAYER_CAPTIONS_LIST:"captionsList",JWPLAYER_CAPTIONS_CHANGED:"captionsChanged",JWPLAYER_PROVIDER_CHANGED:"providerChanged",JWPLAYER_PROVIDER_FIRST_FRAME:"providerFirstFrame",JWPLAYER_USER_ACTION:"userAction",JWPLAYER_PROVIDER_CLICK:"providerClick",JWPLAYER_VIEW_TAB_FOCUS:"tabFocus",JWPLAYER_CONTROLBAR_DRAGGING:"scrubbing",JWPLAYER_INSTREAM_CLICK:"instreamClick"};return t.touchEvents=e,t}.apply(t,i),!(void 0!==o&&(e.exports=o))},function(e,t,n){var i,o;i=[],o=function(){return{BUFFERING:"buffering",IDLE:"idle",COMPLETE:"complete",PAUSED:"paused",PLAYING:"playing",ERROR:"error",LOADING:"loading",STALLED:"stalled"}}.apply(t,i),!(void 0!==o&&(e.exports=o))},,,function(e,t,n){var i,o;i=[n(1)],o=function(e){function t(e){return!!/[\(,]format=m3u8-/i.test(e)&&"m3u8"}var n=function(e){return e.replace(/^\s+|\s+$/g,"")},i=function(e,t,n){for(e=""+e,n=n||"0";e.length<t;)e=n+e;return e},o=function(e,t){for(var n=0;n<e.attributes.length;n++)if(e.attributes[n].name&&e.attributes[n].name.toLowerCase()===t.toLowerCase())return e.attributes[n].value.toString();return""},r=function(e){if(!e||"rtmp"===e.substr(0,4))return"";var n=t(e);return n?n:(e=e.split("?")[0].split("#")[0],e.lastIndexOf(".")>-1?e.substr(e.lastIndexOf(".")+1,e.length).toLowerCase():void 0)},a=function(e){var t=parseInt(e/3600),n=parseInt(e/60)%60,o=e%60;return i(t,2)+":"+i(n,2)+":"+i(o.toFixed(3),6)},s=function(t,n){if(e.isNumber(t))return t;t=t.replace(",",".");var i=t.split(":"),o=i.length,r=0;if("s"===t.slice(-1))r=parseFloat(t);else if("m"===t.slice(-1))r=60*parseFloat(t);else if("h"===t.slice(-1))r=3600*parseFloat(t);else if(o>1){var a=o-1;4===o&&(n&&(r=parseFloat(i[a])/n),a-=1),r+=parseFloat(i[a]),r+=60*parseFloat(i[a-1]),o>=3&&(r+=3600*parseFloat(i[a-2]))}else r=parseFloat(t);return r},l=function(t,n){return e.map(t,function(e){return n+e})},c=function(t,n){return e.map(t,function(e){return e+n})};return{trim:n,pad:i,xmlAttribute:o,extension:r,hms:a,seconds:s,suffix:c,prefix:l}}.apply(t,i),!(void 0!==o&&(e.exports=o))},function(e,t,n){var i,o;i=[n(3),n(4),n(1),n(2)],o=function(e,t,n,i){function o(e,t){return/touch/.test(e.type)?(e.originalEvent||e).changedTouches[0]["page"+t]:e["page"+t]}function r(e){var t=e||window.event;return e instanceof MouseEvent&&("which"in t?3===t.which:"button"in t&&2===t.button)}function a(e,t,n){var i;return i=t instanceof MouseEvent||!t.touches&&!t.changedTouches?t:t.touches&&t.touches.length?t.touches[0]:t.changedTouches[0],{type:e,target:t.target,currentTarget:n,pageX:i.pageX,pageY:i.pageY}}function s(e){(e instanceof MouseEvent||e instanceof window.TouchEvent)&&(e.preventManipulation&&e.preventManipulation(),e.cancelable&&e.preventDefault&&e.preventDefault())}var l=!n.isUndefined(window.PointerEvent),c=!l&&i.isMobile(),u=!l&&!c,d=i.isFF()&&i.isOSX(),p=function(e,i){function c(e){(u||l&&"touch"!==e.pointerType)&&v(t.touchEvents.OVER,e)}function p(e){(u||l&&"touch"!==e.pointerType)&&v(t.touchEvents.MOVE,e)}function h(n){(u||l&&"touch"!==n.pointerType&&!e.contains(document.elementFromPoint(n.x,n.y)))&&v(t.touchEvents.OUT,n)}function f(t){w=t.target,E=o(t,"X"),k=o(t,"Y"),r(t)||(l?t.isPrimary&&(i.preventScrolling&&(y=t.pointerId,e.setPointerCapture(y)),e.addEventListener("pointermove",g),e.addEventListener("pointercancel",m),e.addEventListener("pointerup",m)):u&&(document.addEventListener("mousemove",g),d&&"object"===t.target.nodeName.toLowerCase()?e.addEventListener("click",m):document.addEventListener("mouseup",m)),w.addEventListener("touchmove",g),w.addEventListener("touchcancel",m),w.addEventListener("touchend",m))}function g(e){var n=t.touchEvents,r=6;if(b)v(n.DRAG,e);else{var a=o(e,"X"),l=o(e,"Y"),c=a-E,u=l-k;c*c+u*u>r*r&&(v(n.DRAG_START,e),b=!0,v(n.DRAG,e))}i.preventScrolling&&s(e)}function m(n){var o=t.touchEvents;l?(i.preventScrolling&&e.releasePointerCapture(y),e.removeEventListener("pointermove",g),e.removeEventListener("pointercancel",m),e.removeEventListener("pointerup",m)):u&&(document.removeEventListener("mousemove",g),document.removeEventListener("mouseup",m)),w.removeEventListener("touchmove",g),w.removeEventListener("touchcancel",m),w.removeEventListener("touchend",m),b?v(o.DRAG_END,n):i.directSelect&&n.target!==e||n.type.indexOf("cancel")!==-1||(l&&n instanceof window.PointerEvent?"touch"===n.pointerType?v(o.TAP,n):v(o.CLICK,n):u?v(o.CLICK,n):(v(o.TAP,n),s(n))),w=null,b=!1}function v(e,o){var r;if(i.enableDoubleTap&&(e===t.touchEvents.CLICK||e===t.touchEvents.TAP))if(n.now()-L<A){var s=e===t.touchEvents.CLICK?t.touchEvents.DOUBLE_CLICK:t.touchEvents.DOUBLE_TAP;r=a(s,o,j),C.trigger(s,r),L=0}else L=n.now();r=a(e,o,j),C.trigger(e,r)}var w,y,j=e,b=!1,E=0,k=0,L=0,A=300;i=i||{},l?(e.addEventListener("pointerdown",f),i.useHover&&(e.addEventListener("pointerover",c),e.addEventListener("pointerout",h)),i.useMove&&e.addEventListener("pointermove",p)):u&&(e.addEventListener("mousedown",f),i.useHover&&(e.addEventListener("mouseover",c),e.addEventListener("mouseout",h)),i.useMove&&e.addEventListener("mousemove",p)),e.addEventListener("touchstart",f);var C=this;return this.triggerEvent=v,this.destroy=function(){e.removeEventListener("touchstart",f),e.removeEventListener("mousedown",f),w&&(w.removeEventListener("touchmove",g),w.removeEventListener("touchcancel",m),w.removeEventListener("touchend",m)),l&&(i.preventScrolling&&e.releasePointerCapture(y),e.removeEventListener("pointerover",c),e.removeEventListener("pointerdown",f),e.removeEventListener("pointermove",g),e.removeEventListener("pointermove",p),e.removeEventListener("pointercancel",m),e.removeEventListener("pointerout",h),e.removeEventListener("pointerup",m)),e.removeEventListener("click",m),e.removeEventListener("mouseover",c),e.removeEventListener("mousemove",p),e.removeEventListener("mouseout",h),document.removeEventListener("mousemove",g),document.removeEventListener("mouseup",m)},this};return n.extend(p.prototype,e),p}.apply(t,i),!(void 0!==o&&(e.exports=o))},,function(e,t,n){e.exports=n(142)["default"]},function(e,t){"use strict";function n(e){return u[e]}function i(e){for(var t=1;t<arguments.length;t++)for(var n in arguments[t])Object.prototype.hasOwnProperty.call(arguments[t],n)&&(e[n]=arguments[t][n]);return e}function o(e,t){for(var n=0,i=e.length;n<i;n++)if(e[n]===t)return n;return-1}function r(e){if("string"!=typeof e){if(e&&e.toHTML)return e.toHTML();if(null==e)return"";if(!e)return e+"";e=""+e}return p.test(e)?e.replace(d,n):e}function a(e){return!e&&0!==e||!(!g(e)||0!==e.length)}function s(e){var t=i({},e);return t._parent=e,t}function l(e,t){return e.path=t,e}function c(e,t){return(e?e+".":"")+t}t.__esModule=!0,t.extend=i,t.indexOf=o,t.escapeExpression=r,t.isEmpty=a,t.createFrame=s,t.blockParams=l,t.appendContextPath=c;var u={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`","=":"="},d=/[&<>"'`=]/g,p=/[&<>"'`=]/,h=Object.prototype.toString;t.toString=h;var f=function(e){return"function"==typeof e};f(/x/)&&(t.isFunction=f=function(e){return"function"==typeof e&&"[object Function]"===h.call(e)}),t.isFunction=f;var g=Array.isArray||function(e){return!(!e||"object"!=typeof e)&&"[object Array]"===h.call(e)};t.isArray=g},,function(e,t,n){var i,o;i=[n(8)],o=function(e){return{localName:function(e){return e?e.localName?e.localName:e.baseName?e.baseName:"":""},textContent:function(t){return t?t.textContent?e.trim(t.textContent):t.text?e.trim(t.text):"":""},getChildNode:function(e,t){return e.childNodes[t]},numChildren:function(e){return e.childNodes?e.childNodes.length:0}}}.apply(t,i),!(void 0!==o&&(e.exports=o))},,,,,function(e,t,n){var i,o;i=[n(2),n(8)],o=function(e,t){function n(e){var t={},n=e.split("\r\n");1===n.length&&(n=e.split("\n"));var o=1;if(n[0].indexOf(" --> ")>0&&(o=0),n.length>o+1&&n[o+1]){var r=n[o],a=r.indexOf(" --> ");a>0&&(t.begin=i(r.substr(0,a)),t.end=i(r.substr(a+5)),t.text=n.slice(o+1).join("\r\n"))}return t}var i=e.seconds;return function(e){var i=[];e=t.trim(e);var o=e.split("\r\n\r\n");1===o.length&&(o=e.split("\n\n"));for(var r=0;r<o.length;r++)if("WEBVTT"!==o[r]){var a=n(o[r]);a.text&&i.push(a)}return i}}.apply(t,i),!(void 0!==o&&(e.exports=o))},function(e,t,n){var i,o;i=[n(2),n(4),n(5),n(1)],o=function(e,t,n,i){var o=e.noop,r=i.constant(!1),a={supports:r,play:o,load:o,stop:o,volume:o,mute:o,seek:o,resize:o,remove:o,destroy:o,setVisibility:o,setFullscreen:r,getFullscreen:o,getContainer:o,setContainer:r,getName:o,getQualityLevels:o,getCurrentQuality:o,setCurrentQuality:o,getAudioTracks:o,getCurrentAudioTrack:o,setCurrentAudioTrack:o,checkComplete:o,setControls:o,attachMedia:o,detachMedia:o,setState:function(e){var i=this.state||n.IDLE;this.state=e,e!==i&&this.trigger(t.JWPLAYER_PLAYER_STATE,{newstate:e})},sendMediaType:function(e){var n=e[0].type,i="oga"===n||"aac"===n||"mp3"===n||"mpeg"===n||"vorbis"===n;this.trigger(t.JWPLAYER_MEDIA_TYPE,{mediaType:i?"audio":"video"})}};return a}.apply(t,i),!(void 0!==o&&(e.exports=o))},function(e,t,n){var i,o;i=[n(1)],o=function(e){var t={},n={TIT2:"title",TT2:"title",WXXX:"url",TPE1:"artist",TP1:"artist",TALB:"album",TAL:"album"};return t.utf8ArrayToStr=function(e,t){var n,i,o,r,a,s;for(n="",o=e.length,i=t||0;i<o;)if(r=e[i++],0!==r&&3!==r)switch(r>>4){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:n+=String.fromCharCode(r);break;case 12:case 13:a=e[i++],n+=String.fromCharCode((31&r)<<6|63&a);break;case 14:a=e[i++],s=e[i++],n+=String.fromCharCode((15&r)<<12|(63&a)<<6|(63&s)<<0)}return n},t.utf16BigEndianArrayToStr=function(e,t){var n,i,o;for(n="",o=e.length-1,i=t||0;i<o;)254===e[i]&&255===e[i+1]||(n+=String.fromCharCode((e[i]<<8)+e[i+1])),i+=2;return n},t.syncSafeInt=function(e){var n=t.arrayToInt(e);return 127&n|(32512&n)>>1|(8323072&n)>>2|(2130706432&n)>>3},t.arrayToInt=function(e){for(var t="0x",n=0;n<e.length;n++)t+=e[n].toString(16);return parseInt(t)},t.parseID3=function(i){return e.reduce(i,function(i,o){if(!("value"in o)&&"data"in o&&o.data instanceof ArrayBuffer){var r=o,a=new Uint8Array(r.data),s=a.length;o={value:{key:"",data:""}};for(var l=10;l<14&&l<a.length&&0!==a[l];)o.value.key+=String.fromCharCode(a[l]),l++;var c=19,u=a[c];3!==u&&0!==u||(u=a[++c],s--);var d=0;if(1!==u&&2!==u)for(var p=c+1;p<s;p++)if(0===a[p]){d=p-c;break}if(d>0){var h=t.utf8ArrayToStr(a.subarray(c,c+=d),0);if("PRIV"===o.value.key){if("com.apple.streaming.transportStreamTimestamp"===h){var f=1&t.syncSafeInt(a.subarray(c,c+=4)),g=t.syncSafeInt(a.subarray(c,c+=4));f&&(g+=4294967296),o.value.data=g}else o.value.data=t.utf8ArrayToStr(a,c+1);o.value.info=h}else o.value.info=h,o.value.data=t.utf8ArrayToStr(a,c+1)}else{var m=a[c];1===m||2===m?o.value.data=t.utf16BigEndianArrayToStr(a,c+1):o.value.data=t.utf8ArrayToStr(a,c+1)}}if(n.hasOwnProperty(o.value.key)&&(i[n[o.value.key]]=o.value.data),o.value.info){var v=i[o.value.key];e.isObject(v)||(v={},i[o.value.key]=v),v[o.value.info]=o.value.data}else i[o.value.key]=o.value.data;return i},{})},t}.apply(t,i),!(void 0!==o&&(e.exports=o))},function(e,t,n){var i,o;i=[n(4),n(3),n(1)],o=function(e,t,n){var i={},o={NEW:0,LOADING:1,ERROR:2,COMPLETE:3},r=function(r,a){function s(t){u=o.ERROR,c.trigger(e.ERROR,t)}function l(t){u=o.COMPLETE,c.trigger(e.COMPLETE,t)}var c=n.extend(this,t),u=o.NEW;this.addEventListener=this.on,this.removeEventListener=this.off,this.makeStyleLink=function(e){var t=document.createElement("link");return t.type="text/css",t.rel="stylesheet",t.href=e,t},this.makeScriptTag=function(e){var t=document.createElement("script");return t.src=e,t},this.makeTag=a?this.makeStyleLink:this.makeScriptTag,this.load=function(){if(u===o.NEW){var t=i[r];if(t&&(u=t.getStatus(),u<2))return t.on(e.ERROR,s),void t.on(e.COMPLETE,l);var n=document.getElementsByTagName("head")[0]||document.documentElement,c=this.makeTag(r),d=!1;c.onload=c.onreadystatechange=function(e){d||this.readyState&&"loaded"!==this.readyState&&"complete"!==this.readyState||(d=!0,l(e),c.onload=c.onreadystatechange=null,n&&c.parentNode&&!a&&n.removeChild(c))},c.onerror=s,n.insertBefore(c,n.firstChild),u=o.LOADING,i[r]=this}},this.getStatus=function(){return u}};return r.loaderstatus=o,r}.apply(t,i),!(void 0!==o&&(e.exports=o))},function(e,t,n){var i,o;i=[n(1)],o=function(e){var t="free",n="premium",i="enterprise",o="platinum",r="ads",a="unlimited",s="trial",l={setup:[t,n,i,r,a,s,o],dash:[n,i,r,a,s,o],drm:[i,r,a,s],hls:[n,r,i,a,s,o],ads:[r,a,s,o,i],casting:[n,i,r,a,s,o],jwpsrv:[t,n,i,r,s,o]},c=function(t){return function(n){return e.contains(l[n],t)}};return c}.apply(t,i),!(void 0!==o&&(e.exports=o))},,,function(e,t){"use strict";function n(e,t){var o=t&&t.loc,r=void 0,a=void 0;o&&(r=o.start.line,a=o.start.column,e+=" - "+r+":"+a);for(var s=Error.prototype.constructor.call(this,e),l=0;l<i.length;l++)this[i[l]]=s[i[l]];Error.captureStackTrace&&Error.captureStackTrace(this,n),o&&(this.lineNumber=r,this.column=a)}t.__esModule=!0;var i=["description","fileName","lineNumber","message","name","number","stack"];n.prototype=new Error,t["default"]=n,e.exports=t["default"]},function(e,t,n){var i,o;i=[n(175),n(176),n(69),n(34)],o=function(e,t,n,i){var o={},r={},a=function(n,i){return r[n]=new e(new t(o),i),r[n]},s=function(e,t,r,a){var s=i.getPluginName(e);o[s]||(o[s]=new n(e)),o[s].registerPlugin(e,t,r,a)};return{loadPlugins:a,registerPlugin:s}}.apply(t,i),!(void 0!==o&&(e.exports=o))},function(e,t,n){var i,o;i=[],o=function(){return{repo:"http://ssl.p.jwpcdn.com/player/v/",SkinsIncluded:["seven"],SkinsLoadable:["beelden","bekle","five","glow","roundster","six","stormtrooper","vapor"],dvrSeekLimit:-25}}.apply(t,i),!(void 0!==o&&(e.exports=o))},function(e,t,n){var i,o;i=[n(8),n(85)],o=function(e,t){function n(e){e=e.split("-");for(var t=1;t<e.length;t++)e[t]=e[t].charAt(0).toUpperCase()+e[t].slice(1);return e.join("")}function i(t,n,i){if(""===n||void 0===n||null===n)return"";var o=i?" !important":"";return"string"==typeof n&&isNaN(n)?/png|gif|jpe?g/i.test(n)&&n.indexOf("url")<0?"url("+n+")":n+o:0===n||"z-index"===t||"opacity"===t?""+n+o:/color/i.test(t)?"#"+e.pad(n.toString(16).replace(/^0x/i,""),6)+o:Math.ceil(n)+"px"+o}var o=function(e,n,i){i=i||"all-players";var o="";if("object"==typeof n){var a=document.createElement("div");r(a,n),o="{"+a.style.cssText+"}"}else"string"==typeof n&&(o=n);t.style([[e,e+o]],i)},r=function(e,t){if(void 0!==e&&null!==e){void 0===e.length&&(e=[e]);var o,r={};for(o in t)r[o]=i(o,t[o]);for(var a=0;a<e.length;a++){var s,l=e[a];if(void 0!==l&&null!==l)for(o in r)s=n(o),l.style[s]!==r[o]&&(l.style[s]=r[o])}}},a=function(e,t){r(e,{transform:t,webkitTransform:t,msTransform:t,mozTransform:t,oTransform:t})},s=function(e,t){var n="rgb";e?(e=String(e).replace("#",""),3===e.length&&(e=e[0]+e[0]+e[1]+e[1]+e[2]+e[2])):e="000000";var i=[parseInt(e.substr(0,2),16),parseInt(e.substr(2,2),16),parseInt(e.substr(4,2),16)];return void 0!==t&&100!==t&&(n+="a",i.push(t/100)),n+"("+i.join(",")+")"};return{css:o,style:r,clearCss:t.clear,transform:a,hexToRgba:s}}.apply(t,i),!(void 0!==o&&(e.exports=o))},function(e,t,n){var i,o;i=[n(44)],o=function(e){return function(t){return t.indexOf("flash")===-1&&(e.isChrome()||e.isIOS()||e.isSafari()||e.isEdge())}}.apply(t,i),!(void 0!==o&&(e.exports=o))},function(e,t,n){var i,o;i=[],o=function(){return"7.6.1+commercial_v7-6-1.116.commercial.54b551.jwplayer.9a3f48.googima.258d99.vast.020d0f.analytics.213ba9.plugin-gapro.6c22bd.plugin-related.5992d3.plugin-sharing.135631"}.apply(t,i),!(void 0!==o&&(e.exports=o))},function(e,t,n){var i,o;i=[n(78),n(2)],o=function(e,t){var n=e.extend({constructor:function(e,t,n){this.el=document.createElement("div"),this.el.className="jw-icon jw-icon-tooltip "+e+" jw-button-color jw-reset jw-hidden",t&&(this.el.setAttribute("tabindex","0"),this.el.setAttribute("role","button"),this.el.setAttribute("aria-label",t)),n===!0?this.el.setAttribute("aria-hidden","false"):this.el.setAttribute("aria-hidden","true"),this.container=document.createElement("div"),this.container.className="jw-overlay jw-reset",this.openClass="jw-open",this.componentType="tooltip",this.el.appendChild(this.container)},addContent:function(e){this.content&&this.removeContent(),this.content=e,this.container.appendChild(e)},removeContent:function(){this.content&&(this.container.removeChild(this.content),this.content=null)},hasContent:function(){return!!this.content},element:function(){return this.el},openTooltip:function(e){this.trigger("open-"+this.componentType,e,{isOpen:!0}),this.isOpen=!0,t.toggleClass(this.el,this.openClass,this.isOpen)},closeTooltip:function(e){this.trigger("close-"+this.componentType,e,{isOpen:!1}),this.isOpen=!1,t.toggleClass(this.el,this.openClass,this.isOpen)},toggleOpenState:function(e){this.isOpen?this.closeTooltip(e):this.openTooltip(e)}});return n}.apply(t,i),!(void 0!==o&&(e.exports=o))},function(e,t,n){var i,o;i=[n(2),n(51),n(168),n(1),n(3),n(183),n(4),n(5)],o=function(e,t,n,i,o,r,a,s){var l=function(){function r(e,t){var n=i.extend({},t,{type:e});switch(e){case"flashThrottle":var o="resume"!==t.state;this.set("flashThrottle",o),this.set("flashBlocked",o);break;case"flashBlocked":return void this.set("flashBlocked",!0);case"flashUnblocked":return void this.set("flashBlocked",!1);case"volume":case"mute":return void this.set(e,t[e]);case a.JWPLAYER_MEDIA_TYPE:return void(this.mediaModel.get("mediaType")!==t.mediaType&&(this.mediaModel.set("mediaType",t.mediaType),this.mediaController.trigger(e,n)));case a.JWPLAYER_PLAYER_STATE:return void this.mediaModel.set("state",t.newstate);case a.JWPLAYER_MEDIA_BUFFER:this.set("buffer",t.bufferPercent);case a.JWPLAYER_MEDIA_META:var r=t.duration;i.isNumber(r)&&!i.isNaN(r)&&(this.mediaModel.set("duration",r),this.set("duration",r));break;case a.JWPLAYER_MEDIA_BUFFER_FULL:this.mediaModel.get("playAttempt")?this.playVideo():this.mediaModel.on("change:playAttempt",function(){this.playVideo()},this);break;case a.JWPLAYER_MEDIA_TIME:this.mediaModel.set("position",t.position),this.set("position",t.position),i.isNumber(t.duration)&&(this.mediaModel.set("duration",t.duration),this.set("duration",t.duration));break;case a.JWPLAYER_PROVIDER_CHANGED:this.set("provider",u.getName());break;case a.JWPLAYER_MEDIA_LEVELS:this.setQualityLevel(t.currentQuality,t.levels),this.mediaModel.set("levels",t.levels);break;case a.JWPLAYER_MEDIA_LEVEL_CHANGED:this.setQualityLevel(t.currentQuality,t.levels),this.persistQualityLevel(t.currentQuality,t.levels);break;case a.JWPLAYER_AUDIO_TRACKS:this.setCurrentAudioTrack(t.currentTrack,t.tracks),this.mediaModel.set("audioTracks",t.tracks);break;case a.JWPLAYER_AUDIO_TRACK_CHANGED:this.setCurrentAudioTrack(t.currentTrack,t.tracks);break;case"subtitlesTrackChanged":this.persistVideoSubtitleTrack(t.currentTrack,t.tracks);break;case"visualQuality":var s=i.extend({},t);this.mediaModel.set("visualQuality",s)}this.mediaController.trigger(e,n)}var l,u,d=this,p=e.noop;this.mediaController=i.extend({},o),this.mediaModel=new c,n.model(this),this.set("mediaModel",this.mediaModel),this.setup=function(t){return i.extend(this.attributes,t,{item:0,state:s.IDLE,flashBlocked:!1,fullscreen:!1,compactUI:!1,scrubbing:!1,duration:0,position:0,buffer:0}),e.isMobile()&&!t.mobileSdk&&this.set("autostart",!1),this.updateProviders(),this},this.getConfiguration=function(){return i.omit(this.clone(),["mediaModel"])},this.updateProviders=function(){l=new t(this.getConfiguration())},this.setQualityLevel=function(e,t){e>-1&&t.length>1&&"youtube"!==u.getName().name&&this.mediaModel.set("currentLevel",parseInt(e));
},this.persistQualityLevel=function(e,t){var n=t[e]||{},i=n.label;this.set("qualityLabel",i)},this.setCurrentAudioTrack=function(e,t){e>-1&&t.length>0&&e<t.length&&this.mediaModel.set("currentAudioTrack",parseInt(e))},this.onMediaContainer=function(){var e=this.get("mediaContainer");p.setContainer(e)},this.changeVideoProvider=function(e){if(this.off("change:mediaContainer",this.onMediaContainer),u&&(u.off(null,null,this),u.getContainer()&&u.remove(),delete u.instreamMode),!e)return u=p=e,void this.set("provider",void 0);p=new e(d.get("id"),d.getConfiguration());var t=this.get("mediaContainer");t?p.setContainer(t):this.once("change:mediaContainer",this.onMediaContainer),this.set("provider",p.getName()),p.getName().name.indexOf("flash")===-1&&(this.set("flashThrottle",void 0),this.set("flashBlocked",!1)),u=p,u.volume(d.get("volume")),u.mute(d.get("mute")),u.on("all",r,this),this.get("instreamMode")===!0&&(u.instreamMode=!0)},this.destroy=function(){this.off(),u&&(u.off(null,null,this),u.destroy())},this.getVideo=function(){return u},this.setFullscreen=function(e){e=!!e,e!==d.get("fullscreen")&&d.set("fullscreen",e)},this.chooseProvider=function(e){return l.choose(e).provider},this.setItemIndex=function(e){var t=this.get("playlist");e=parseInt(e,10)||0,e=(e+t.length)%t.length,this.set("item",e),this.set("playlistItem",t[e]),this.setActiveItem(t[e])},this.setActiveItem=function(e){this.mediaModel.off(),this.mediaModel=new c,this.set("mediaModel",this.mediaModel),this.set("position",e.starttime||0),this.set("duration",e.duration||0),this.setProvider(e)},this.setProvider=function(e){var t=e&&e.sources&&e.sources[0];if(void 0!==t){var n=this.chooseProvider(t);n&&p instanceof n||d.changeVideoProvider(n),p&&(p.init&&p.init(e),this.trigger("itemReady",e))}},this.getProviders=function(){return l},this.resetProvider=function(){p=null},this.setVolume=function(e){e=Math.round(e),this.set("volume",e),u&&u.volume(e);var t=0===e;t!==this.get("mute")&&this.setMute(t)},this.setMute=function(t){if(e.exists(t)||(t=!this.get("mute")),this.set("mute",t),u&&u.mute(t),!t){var n=Math.max(10,this.get("volume"));this.setVolume(n)}},this.loadVideo=function(e){if(!e){var t=this.get("item");e=this.get("playlist")[t]}this.set("position",e.starttime||0),this.set("duration",e.duration||0),this.mediaModel.set("playAttempt",!0),this.mediaController.trigger(a.JWPLAYER_MEDIA_PLAY_ATTEMPT,{playReason:this.get("playReason")}),u.load(e)},this.stopVideo=function(){u&&u.stop()},this.playVideo=function(){u.play()},this.persistCaptionsTrack=function(){var e=this.get("captionsTrack");e?this.set("captionLabel",e.label):this.set("captionLabel","Off")},this.setVideoSubtitleTrack=function(e,t){this.set("captionsIndex",e),e&&t&&e<=t.length&&t[e-1].data&&this.set("captionsTrack",t[e-1]),u&&u.setSubtitlesTrack&&u.setSubtitlesTrack(e)},this.persistVideoSubtitleTrack=function(e,t){this.setVideoSubtitleTrack(e,t),this.persistCaptionsTrack()}},c=l.MediaModel=function(){this.set("state",s.IDLE)};return i.extend(l.prototype,r),i.extend(c.prototype,r),l}.apply(t,i),!(void 0!==o&&(e.exports=o))},function(e,t,n){var i,o;i=[n(8)],o=function(e){var t={},n=t.pluginPathType={ABSOLUTE:0,RELATIVE:1,CDN:2};return t.getPluginPathType=function(t){if("string"==typeof t){t=t.split("?")[0];var i=t.indexOf("://");if(i>0)return n.ABSOLUTE;var o=t.indexOf("/"),r=e.extension(t);return!(i<0&&o<0)||r&&isNaN(r)?n.RELATIVE:n.CDN}},t.getPluginName=function(e){return e.replace(/^(.*\/)?([^-]*)-?.*\.(swf|js)$/,"$2")},t.getPluginVersion=function(e){return e.replace(/[^-]*-?([^\.]*).*$/,"$1")},t}.apply(t,i),!(void 0!==o&&(e.exports=o))},function(e,t,n){var i,o;i=[],o=function(){var e=window.chrome,t={};return t.NS="urn:x-cast:com.longtailvideo.jwplayer",t.debug=!1,t.availability=null,t.available=function(n){n=n||t.availability;var i="available";return e&&e.cast&&e.cast.ReceiverAvailability&&(i=e.cast.ReceiverAvailability.AVAILABLE),n===i},t.log=function(){if(t.debug){var e=Array.prototype.slice.call(arguments,0);console.log.apply(console,e)}},t.error=function(){var e=Array.prototype.slice.call(arguments,0);console.error.apply(console,e)},t}.apply(t,i),!(void 0!==o&&(e.exports=o))},,,,,,,function(e,t,n){var i,o;i=[n(5)],o=function(e){function t(t){return t===e.COMPLETE||t===e.ERROR?e.IDLE:t}return function(e,n,i){if(n=t(n),i=t(i),n!==i){var o=n.replace(/(?:ing|d)$/,""),r={type:o,newstate:n,oldstate:i,reason:e.mediaModel.get("state")};"play"===o&&(r.playReason=e.get("playReason")),this.trigger(o,r)}}}.apply(t,i),!(void 0!==o&&(e.exports=o))},function(e,t,n){var i,o;i=[n(1),n(68),n(174)],o=function(e,t,n){var i={sources:[],tracks:[]},o=function(o){o=o||{},e.isArray(o.tracks)||delete o.tracks;var r=e.extend({},i,o);e.isObject(r.sources)&&!e.isArray(r.sources)&&(r.sources=[t(r.sources)]),e.isArray(r.sources)&&0!==r.sources.length||(o.levels?r.sources=o.levels:r.sources=[t(o)]);for(var a=0;a<r.sources.length;a++){var s=r.sources[a];if(s){var l=s["default"];l?s["default"]="true"===l.toString():s["default"]=!1,r.sources[a].label||(r.sources[a].label=a.toString()),r.sources[a]=t(r.sources[a])}}return r.sources=e.compact(r.sources),e.isArray(r.tracks)||(r.tracks=[]),e.isArray(r.captions)&&(r.tracks=r.tracks.concat(r.captions),delete r.captions),r.tracks=e.compact(e.map(r.tracks,n)),r};return o}.apply(t,i),!(void 0!==o&&(e.exports=o))},function(e,t,n){var i,o;i=[n(1)],o=function(e){function t(e){return function(){return i(e)}}var n={},i=e.memoize(function(e){var t=navigator.userAgent.toLowerCase();return null!==t.match(e)}),o=n.isInt=function(e){return parseFloat(e)%1===0};n.isFlashSupported=function(){var e=n.flashVersion();return e&&e>=11.2},n.isFF=t(/firefox/i),n.isIPod=t(/iP(hone|od)/i),n.isIPad=t(/iPad/i),n.isSafari602=t(/Macintosh.*Mac OS X 10_8.*6\.0\.\d* Safari/i),n.isOSX=t(/Mac OS X/i),n.isEdge=t(/\sedge\/\d+/i);var r=n.isIETrident=function(e){return!!n.isEdge()||(e?(e=parseFloat(e).toFixed(1),i(new RegExp("trident/.+rv:\\s*"+e,"i"))):i(/trident/i))},a=n.isMSIE=function(e){return e?(e=parseFloat(e).toFixed(1),i(new RegExp("msie\\s*"+e,"i"))):i(/msie/i)},s=t(/chrome/i);n.isChrome=function(){return s()&&!n.isEdge()},n.isIE=function(e){return e?(e=parseFloat(e).toFixed(1),e>=11?r(e):a(e)):a()||r()},n.isSafari=function(){return i(/safari/i)&&!i(/chrome/i)&&!i(/chromium/i)&&!i(/android/i)};var l=n.isIOS=function(e){return i(e?new RegExp("iP(hone|ad|od).+\\s(OS\\s"+e+"|.*\\sVersion/"+e+")","i"):/iP(hone|ad|od)/i)};n.isAndroidNative=function(e){return c(e,!0)};var c=n.isAndroid=function(e,t){return!(t&&i(/chrome\/[123456789]/i)&&!i(/chrome\/18/))&&(e?(o(e)&&!/\./.test(e)&&(e=""+e+"."),i(new RegExp("Android\\s*"+e,"i"))):i(/Android/i))};return n.isMobile=function(){return l()||c()},n.isIframe=function(){return window.frameElement&&"IFRAME"===window.frameElement.nodeName},n.flashVersion=function(){if(n.isAndroid())return 0;var e,t=navigator.plugins;if(t&&(e=t["Shockwave Flash"],e&&e.description))return parseFloat(e.description.replace(/\D+(\d+\.?\d*).*/,"$1"));if("undefined"!=typeof window.ActiveXObject){try{if(e=new window.ActiveXObject("ShockwaveFlash.ShockwaveFlash"))return parseFloat(e.GetVariable("$version").split(" ")[1].replace(/\s*,\s*/,"."))}catch(i){return 0}return e}return 0},n}.apply(t,i),!(void 0!==o&&(e.exports=o))},function(e,t,n){var i,o;i=[n(1),n(46)],o=function(e,t){function n(e){return/^(?:(?:https?|file)\:)?\/\//.test(e)}function i(t){return e.some(t,function(e){return"parsererror"===e.nodeName})}var o={};return o.getAbsolutePath=function(e,i){if(t.exists(i)||(i=document.location.href),t.exists(e)){if(n(e))return e;var o,r=i.substring(0,i.indexOf("://")+3),a=i.substring(r.length,i.indexOf("/",r.length+1));if(0===e.indexOf("/"))o=e.split("/");else{var s=i.split("?")[0];s=s.substring(r.length+a.length+1,s.lastIndexOf("/")),o=s.split("/").concat(e.split("/"))}for(var l=[],c=0;c<o.length;c++)o[c]&&t.exists(o[c])&&"."!==o[c]&&(".."===o[c]?l.pop():l.push(o[c]));return r+a+"/"+l.join("/")}},o.getScriptPath=e.memoize(function(e){for(var t=document.getElementsByTagName("script"),n=0;n<t.length;n++){var i=t[n].src;if(i&&i.indexOf(e)>=0)return i.substr(0,i.indexOf(e))}return""}),o.parseXML=function(e){var t=null;try{"DOMParser"in window?(t=(new window.DOMParser).parseFromString(e,"text/xml"),(i(t.childNodes)||t.childNodes&&i(t.childNodes[0].childNodes))&&(t=null)):(t=new window.ActiveXObject("Microsoft.XMLDOM"),t.async="false",t.loadXML(e))}catch(n){}return t},o.serialize=function(e){if(void 0===e)return null;if("string"==typeof e&&e.length<6){var t=e.toLowerCase();if("true"===t)return!0;if("false"===t)return!1;if(!isNaN(Number(e))&&!isNaN(parseFloat(e)))return Number(e)}return e},o.parseDimension=function(e){return"string"==typeof e?""===e?0:e.lastIndexOf("%")>-1?e:parseInt(e.replace("px",""),10):e},o.timeFormat=function(t,n){if(t<=0&&!n||e.isNaN(parseInt(t)))return"00:00";var i=t<0?"-":"";t=Math.abs(t);var o=Math.floor(t/3600),r=Math.floor((t-3600*o)/60),a=Math.floor(t%60);return i+(o?o+":":"")+(r<10?"0":"")+r+":"+(a<10?"0":"")+a},o.adaptiveType=function(e){if(0!==e){var t=-120;if(e<=t)return"DVR";if(e<0||e===1/0)return"LIVE"}return"VOD"},o}.apply(t,i),!(void 0!==o&&(e.exports=o))},function(e,t,n){var i,o;i=[n(1)],o=function(e){var t={};return t.exists=function(e){switch(typeof e){case"string":return e.length>0;case"object":return null!==e;case"undefined":return!1}return!0},t.isHTTPS=function(){return 0===window.location.href.indexOf("https")},t.isRtmp=function(e,t){return 0===e.indexOf("rtmp")||"rtmp"===t},t.isYouTube=function(e,t){return"youtube"===t||/^(http|\/\/).*(youtube\.com|youtu\.be)\/.+/.test(e)},t.youTubeID=function(e){var t=/v[=\/]([^?&]*)|youtu\.be\/([^?]*)|^([\w-]*)$/i.exec(e);return t?t.slice(1).join("").replace("?",""):""},t.typeOf=function(t){if(null===t)return"null";var n=typeof t;return"object"===n&&e.isArray(t)?"array":n},t}.apply(t,i),!(void 0!==o&&(e.exports=o))},function(e,t,n){var i,o;i=[n(78),n(9),n(140),n(2)],o=function(e,t,n,i){var o=e.extend({constructor:function(e,t){this.className=e+" jw-background-color jw-reset",this.orientation=t,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 e={"default":this["default"],className:this.className,orientation:"jw-slider-"+this.orientation};this.el=i.createElement(n(e)),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 t(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=i.bounds(this.elementRail)},dragEnd:function(e){this.dragMove(e),this.trigger("dragEnd")},dragMove:function(e){var t,n,o=this.railBounds=this.railBounds?this.railBounds:i.bounds(this.elementRail);"horizontal"===this.orientation?(t=e.pageX,n=t<o.left?0:t>o.right?100:100*i.between((t-o.left)/o.width,0,1)):(t=e.pageY,n=t>=o.bottom?0:t<=o.top?100:100*i.between((o.height-(t-o.top))/o.height,0,1));var r=this.limit(n);return this.render(r),this.update(r),!1},tap:function(e){this.railBounds=i.bounds(this.elementRail),this.dragMove(e)},limit:function(e){return e},update:function(e){this.trigger("update",{percentage:e})},render:function(e){e=Math.max(0,Math.min(e,100)),"horizontal"===this.orientation?(this.elementThumb.style.left=e+"%",this.elementProgress.style.width=e+"%"):(this.elementThumb.style.bottom=e+"%",this.elementProgress.style.height=e+"%")},updateBuffer:function(e){this.elementBuffer.style.width=e+"%"},element:function(){return this.el}});return o}.apply(t,i),!(void 0!==o&&(e.exports=o))},,function(e,t,n){var i,o;i=[n(1),n(23)],o=function(e,t){var n=[{configName:"clearkey",keyName:"org.w3.clearkey"},{configName:"widevine",keyName:"com.widevine.alpha"},{configName:"playready",keyName:"com.microsoft.playready"}],i=[],o={},r=function(t){var n=t.get("playlist");return!!t.get("drm")||e.some(n,function(t){return!!t.drm||e.some(t.sources,function(e){return!!e.drm})})},a=function(t){return u()?t():(e.forEach(n,function(e){var t=navigator.requestMediaKeySystemAccess(e.keyName,[{}]).then(function(){o[e.configName]=!0})["catch"](function(){o[e.configName]=!1});i.push(t)}),Promise.all(i).then(t))},s=function(){return!!navigator.requestMediaKeySystemAccess&&!!MediaKeySystemAccess.prototype.getConfiguration},l=function(e){return o[e]},c=function(t){u()||console.error('DRM only supported with "drm" block in initial setup.',t);var n=e.keys(t);return e.some(n,function(e){return l(e)})},u=function(){return!!i.length};return{containsDrm:r,probe:function(e,n){s()&&t(n)("drm")?a(e):e()},probed:u,anySupported:c,isSupported:l}}.apply(t,i),!(void 0!==o&&(e.exports=o))},function(e,t,n){var i,o;i=[n(44),n(23),n(1),n(179),n(49)],o=function(e,t,n,i,o){function r(i,r){if(e.isSafari())return!1;var a=t(r);if(!a("dash"))return!1;if(i.drm&&!o.anySupported(i.drm))return!1;var s=window.MediaSource;if(!window.HTMLVideoElement||!s)return!1;var l=!0;return i.mediaTypes&&(l=n.all(i.mediaTypes,function(e){return s.isTypeSupported(e)})),l&&("dash"===i.type||"mpd"===i.type||(i.file||"").indexOf("mpd-time-csf")>-1)}var a=n.find(i,n.matches({name:"flash"})),s=a.supports;a.supports=function(n,i){if(!e.isFlashSupported())return!1;var o=n&&n.type;if("hls"===o||"m3u8"===o){var r=t(i);return r("hls")}return s.apply(this,arguments)};var l=n.find(i,n.matches({name:"html5"})),c=l.supports;return l.supports=function(e,n){var i=c.apply(this,arguments);if(i&&e.drm){var o=t(n);return o("drm")}return i},i.push({name:"shaka",supports:r}),i.push({name:"caterpillar",supports:function(n,i){if(e.isChrome()&&!e.isMobile()){var o=n&&n.type,r=n&&n.file;if(r.indexOf(".m3u8")>-1||"hls"===o||"m3u8"===o){var a=t(i);return a("hls")}}}}),i}.apply(t,i),!(void 0!==o&&(e.exports=o))},function(e,t,n){var i,o;i=[n(180),n(1),n(50)],o=function(e,t){var i,o=e.registerProvider,r=e.prototype.reorderProviders;return t.extend(e.loaders,{caterpillar:function(e){n.e(1,function(require){var t=n(88);t.setEdition&&t.setEdition(i),o(t),e(t)})},shaka:function(e){n.e(2,function(require){var t=n(90);o(t),e(t)})}}),t.extend(e.prototype,{reorderProviders:function(){if(r.apply(this),"flash"!==this.config.primary&&this.config.hlshtml===!0){var e=t.indexOf(this.providers,t.findWhere(this.providers,{name:"caterpillar"})),n=this.providers.splice(e,1)[0],i=t.indexOf(this.providers,t.findWhere(this.providers,{name:"flash"}));this.providers.splice(i,0,n)}},providerSupports:function(e,t){return i=this.config.edition,e.supports(t,i)}}),e}.apply(t,i),!(void 0!==o&&(e.exports=o))},,,,,,,,,,,,function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{"default":e}}function o(e,t,n){this.helpers=e||{},this.partials=t||{},this.decorators=n||{},l.registerDefaultHelpers(this),c.registerDefaultDecorators(this)}t.__esModule=!0,t.HandlebarsEnvironment=o;var r=n(12),a=n(26),s=i(a),l=n(145),c=n(143),u=n(153),d=i(u),p="4.0.5";t.VERSION=p;var h=7;t.COMPILER_REVISION=h;var f={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",7:">= 4.0.0"};t.REVISION_CHANGES=f;var g="[object Object]";o.prototype={constructor:o,logger:d["default"],log:d["default"].log,registerHelper:function(e,t){if(r.toString.call(e)===g){if(t)throw new s["default"]("Arg not supported with multiple helpers");r.extend(this.helpers,e)}else this.helpers[e]=t},unregisterHelper:function(e){delete this.helpers[e]},registerPartial:function(e,t){if(r.toString.call(e)===g)r.extend(this.partials,e);else{if("undefined"==typeof t)throw new s["default"]('Attempting to register a partial called "'+e+'" as undefined');this.partials[e]=t}},unregisterPartial:function(e){delete this.partials[e]},registerDecorator:function(e,t){if(r.toString.call(e)===g){if(t)throw new s["default"]("Arg not supported with multiple decorators");r.extend(this.decorators,e)}else this.decorators[e]=t},unregisterDecorator:function(e){delete this.decorators[e]}};var m=d["default"].log;t.log=m,t.createFrame=r.createFrame,t.logger=d["default"]},function(e,t,n){var i,o;i=[n(2),n(1)],o=function(e,t){function i(n){t.each(n,function(t,i){n[i]=e.serialize(t)})}function o(e){return e.slice&&"px"===e.slice(-2)&&(e=e.slice(0,-2)),e}function r(t,n){if(n.toString().indexOf("%")===-1)return 0;if("string"!=typeof t||!e.exists(t))return 0;if(/^\d*\.?\d+%$/.test(t))return t;var i=t.indexOf(":");if(i===-1)return 0;var o=parseFloat(t.substr(0,i)),r=parseFloat(t.substr(i+1));return o<=0||r<=0?0:r/o*100+"%"}var a={autostart:!1,controls:!0,displaytitle:!0,displaydescription:!0,mobilecontrols:!1,repeat:!1,castAvailable:!1,skin:"seven",stretching:"uniform",mute:!1,volume:90,width:480,height:270,localization:{play:"Play",playback:"Start playback",pause:"Pause",volume:"Volume",prev:"Previous",next:"Next",cast:"Chromecast",fullscreen:"Fullscreen",playlist:"Playlist",hd:"Quality",cc:"Closed captions",audioTracks:"Audio tracks",replay:"Replay",buffer:"Loading",more:"More",liveBroadcast:"Live broadcast",loadingAd:"Loading ad"}},s=function(s,l){var c=l&&l.getAllItems(),u=t.extend({},(window.jwplayer||{}).defaults,c,s);i(u);var d=t.extend({},a,u);if("."===d.base&&(d.base=e.getScriptPath("jwplayer.js")),d.base=(d.base||e.loadFrom()).replace(/\/?$/,"/"),n.p=d.base,d.width=o(d.width),d.height=o(d.height),d.flashplayer=d.flashplayer||e.getScriptPath("jwplayer.js")+"jwplayer.flash.swf","http:"===window.location.protocol&&(d.flashplayer=d.flashplayer.replace("https","http")),d.aspectratio=r(d.aspectratio,d.width),t.isObject(d.skin)&&(d.skinUrl=d.skin.url,d.skinColorInactive=d.skin.i