/*

 Video.js 5.7.1 <http://videojs.com/>
 Copyright Brightcove, Inc. <https://www.brightcove.com/>
 Available under Apache License Version 2.0
 <https://github.com/videojs/video.js/blob/master/LICENSE>

 Includes vtt.js <https://github.com/mozilla/vtt.js>
 Available under Apache License Version 2.0
 <https://github.com/mozilla/vtt.js/blob/master/LICENSE>
*/
var $jscomp={scope:{},getGlobal:function(h){return"undefined"!=typeof window&&window===h?h:"undefined"!=typeof global?global:h}};$jscomp.global=$jscomp.getGlobal(this);$jscomp.initSymbol=function(){$jscomp.global.Symbol||($jscomp.global.Symbol=$jscomp.Symbol);$jscomp.initSymbol=function(){}};$jscomp.symbolCounter_=0;$jscomp.Symbol=function(h){return"jscomp_symbol_"+h+$jscomp.symbolCounter_++};
$jscomp.initSymbolIterator=function(){$jscomp.initSymbol();$jscomp.global.Symbol.iterator||($jscomp.global.Symbol.iterator=$jscomp.global.Symbol("iterator"));$jscomp.initSymbolIterator=function(){}};$jscomp.makeIterator=function(h){$jscomp.initSymbolIterator();if(h[$jscomp.global.Symbol.iterator])return h[$jscomp.global.Symbol.iterator]();var a=0;return{next:function(){return a==h.length?{done:!0}:{done:!1,value:h[a++]}}}};
$jscomp.arrayFromIterator=function(h){for(var a,e=[];!(a=h.next()).done;)e.push(a.value);return e};$jscomp.arrayFromIterable=function(h){return h instanceof Array?h:$jscomp.arrayFromIterator($jscomp.makeIterator(h))};
$jscomp.inherits=function(h,a){function e(){}e.prototype=a.prototype;h.prototype=new e;h.prototype.constructor=h;for(var c in a)if($jscomp.global.Object.defineProperties){var f=$jscomp.global.Object.getOwnPropertyDescriptor(a,c);f&&$jscomp.global.Object.defineProperty(h,c,f)}else h[c]=a[c]};$jscomp.array=$jscomp.array||{};$jscomp.array.done_=function(){return{done:!0,value:void 0}};
$jscomp.array.arrayIterator_=function(h,a){h instanceof String&&(h=String(h));var e=0;$jscomp.initSymbol();$jscomp.initSymbolIterator();var c={},f=(c.next=function(){if(e<h.length){var d=e++;return{value:a(d,h[d]),done:!1}}f.next=$jscomp.array.done_;return $jscomp.array.done_()},c[Symbol.iterator]=function(){return f},c);return f};
$jscomp.array.findInternal_=function(h,a,e){h instanceof String&&(h=String(h));for(var c=h.length,f=0;f<c;f++){var d=h[f];if(a.call(e,d,f,h))return{i:f,v:d}}return{i:-1,v:void 0}};
$jscomp.array.from=function(h,a,e){a=void 0===a?function(a){return a}:a;var c=[];$jscomp.initSymbol();$jscomp.initSymbolIterator();if(h[Symbol.iterator]){$jscomp.initSymbol();$jscomp.initSymbolIterator();h=h[Symbol.iterator]();for(var f;!(f=h.next()).done;)c.push(a.call(e,f.value))}else{f=h.length;for(var d=0;d<f;d++)c.push(a.call(e,h[d]))}return c};$jscomp.array.of=function(h){for(var a=[],e=0;e<arguments.length;++e)a[e-0]=arguments[e];return $jscomp.array.from(a)};
$jscomp.array.entries=function(){return $jscomp.array.arrayIterator_(this,function(h,a){return[h,a]})};$jscomp.array.entries$install=function(){Array.prototype.entries||(Array.prototype.entries=$jscomp.array.entries)};$jscomp.array.keys=function(){return $jscomp.array.arrayIterator_(this,function(h){return h})};$jscomp.array.keys$install=function(){Array.prototype.keys||(Array.prototype.keys=$jscomp.array.keys)};$jscomp.array.values=function(){return $jscomp.array.arrayIterator_(this,function(h,a){return a})};
$jscomp.array.values$install=function(){Array.prototype.values||(Array.prototype.values=$jscomp.array.values)};$jscomp.array.copyWithin=function(h,a,e){var c=this.length;h=Number(h);a=Number(a);e=Number(null!=e?e:c);if(h<a)for(e=Math.min(e,c);a<e;)a in this?this[h++]=this[a++]:(delete this[h++],a++);else for(e=Math.min(e,c+a-h),h+=e-a;e>a;)--e in this?this[--h]=this[e]:delete this[h];return this};$jscomp.array.copyWithin$install=function(){Array.prototype.copyWithin||(Array.prototype.copyWithin=$jscomp.array.copyWithin)};
$jscomp.array.fill=function(h,a,e){null!=e&&h.length||(e=this.length||0);e=Number(e);for(a=Number((void 0===a?0:a)||0);a<e;a++)this[a]=h;return this};$jscomp.array.fill$install=function(){Array.prototype.fill||(Array.prototype.fill=$jscomp.array.fill)};$jscomp.array.find=function(h,a){return $jscomp.array.findInternal_(this,h,a).v};$jscomp.array.find$install=function(){Array.prototype.find||(Array.prototype.find=$jscomp.array.find)};
$jscomp.array.findIndex=function(h,a){return $jscomp.array.findInternal_(this,h,a).i};$jscomp.array.findIndex$install=function(){Array.prototype.findIndex||(Array.prototype.findIndex=$jscomp.array.findIndex)};$jscomp.Map=function(h){h=void 0===h?[]:h;this.data_={};this.head_=$jscomp.Map.createHead_();this.size=0;if(h){h=$jscomp.makeIterator(h);for(var a=h.next();!a.done;a=h.next())a=a.value,this.set(a[0],a[1])}};
$jscomp.Map.checkBrowserConformance_=function(){var h=$jscomp.global.Map;if(!h||!h.prototype.entries||!Object.seal)return!1;try{var a=Object.seal({x:4}),e=new h($jscomp.makeIterator([[a,"s"]]));if("s"!=e.get(a)||1!=e.size||e.get({x:4})||e.set({x:4},"t")!=e||2!=e.size)return!1;var c=e.entries(),f=c.next();if(f.done||f.value[0]!=a||"s"!=f.value[1])return!1;f=c.next();return f.done||4!=f.value[0].x||"t"!=f.value[1]||!c.next().done?!1:!0}catch(d){return!1}};
$jscomp.Map.createHead_=function(){var h={};return h.previous=h.next=h.head=h};$jscomp.Map.getId_=function(h){if(!(h instanceof Object))return String(h);$jscomp.Map.key_ in h||h instanceof Object&&Object.isExtensible&&Object.isExtensible(h)&&$jscomp.Map.defineProperty_(h,$jscomp.Map.key_,++$jscomp.Map.index_);return $jscomp.Map.key_ in h?h[$jscomp.Map.key_]:" "+h};
$jscomp.Map.prototype.set=function(h,a){var e=this.maybeGetEntry_(h),c=e.id,f=e.list,e=e.entry;f||(f=this.data_[c]=[]);e?e.value=a:(e={next:this.head_,previous:this.head_.previous,head:this.head_,key:h,value:a},f.push(e),this.head_.previous.next=e,this.head_.previous=e,this.size++);return this};
$jscomp.Map.prototype["delete"]=function(h){var a=this.maybeGetEntry_(h);h=a.id;var e=a.list,c=a.index;return(a=a.entry)&&e?(e.splice(c,1),e.length||delete this.data_[h],a.previous.next=a.next,a.next.previous=a.previous,a.head=null,this.size--,!0):!1};$jscomp.Map.prototype.clear=function(){this.data_={};this.head_=this.head_.previous=$jscomp.Map.createHead_();this.size=0};$jscomp.Map.prototype.has=function(h){return!!this.maybeGetEntry_(h).entry};
$jscomp.Map.prototype.get=function(h){return(h=this.maybeGetEntry_(h).entry)&&h.value};$jscomp.Map.prototype.maybeGetEntry_=function(h){var a=$jscomp.Map.getId_(h),e=this.data_[a];if(e)for(var c=0;c<e.length;c++){var f=e[c];if(h!==h&&f.key!==f.key||h===f.key)return{id:a,list:e,index:c,entry:f}}return{id:a,list:e,index:-1,entry:void 0}};$jscomp.Map.prototype.entries=function(){return this.iter_(function(h){return[h.key,h.value]})};$jscomp.Map.prototype.keys=function(){return this.iter_(function(h){return h.key})};
$jscomp.Map.prototype.values=function(){return this.iter_(function(h){return h.value})};$jscomp.Map.prototype.forEach=function(h,a){for(var e=$jscomp.makeIterator(this.entries()),c=e.next();!c.done;c=e.next())c=c.value,h.call(a,c[1],c[0],this)};
$jscomp.Map.prototype.iter_=function(h){var a=this,e=this.head_;$jscomp.initSymbol();$jscomp.initSymbolIterator();var c={};return c.next=function(){if(e){for(;e.head!=a.head_;)e=e.previous;for(;e.next!=e.head;)return e=e.next,{done:!1,value:h(e)};e=null}return{done:!0,value:void 0}},c[Symbol.iterator]=function(){return this},c};$jscomp.Map.index_=0;$jscomp.Map.defineProperty_=Object.defineProperty?function(h,a,e){Object.defineProperty(h,a,{value:String(e)})}:function(h,a,e){h[a]=String(e)};
$jscomp.Map.Entry_=function(){};$jscomp.Map.ASSUME_NO_NATIVE=!1;$jscomp.Map$install=function(){$jscomp.initSymbol();$jscomp.initSymbolIterator();!$jscomp.Map.ASSUME_NO_NATIVE&&$jscomp.Map.checkBrowserConformance_()?$jscomp.Map=$jscomp.global.Map:($jscomp.initSymbol(),$jscomp.initSymbolIterator(),$jscomp.Map.prototype[Symbol.iterator]=$jscomp.Map.prototype.entries,$jscomp.initSymbol(),$jscomp.Map.key_=Symbol("map-id-key"));$jscomp.Map$install=function(){}};$jscomp.math=$jscomp.math||{};
$jscomp.math.clz32=function(h){h=Number(h)>>>0;if(0===h)return 32;var a=0;0===(h&4294901760)&&(h<<=16,a+=16);0===(h&4278190080)&&(h<<=8,a+=8);0===(h&4026531840)&&(h<<=4,a+=4);0===(h&3221225472)&&(h<<=2,a+=2);0===(h&2147483648)&&a++;return a};$jscomp.math.imul=function(h,a){h=Number(h);a=Number(a);var e=h&65535,c=a&65535;return e*c+((h>>>16&65535)*c+e*(a>>>16&65535)<<16>>>0)|0};$jscomp.math.sign=function(h){h=Number(h);return 0===h||isNaN(h)?h:0<h?1:-1};
$jscomp.math.log10=function(h){return Math.log(h)/Math.LN10};$jscomp.math.log2=function(h){return Math.log(h)/Math.LN2};$jscomp.math.log1p=function(h){h=Number(h);if(.25>h&&-.25<h){for(var a=h,e=1,c=h,f=0,d=1;f!=c;)a*=h,d*=-1,c=(f=c)+d*a/++e;return c}return Math.log(1+h)};$jscomp.math.expm1=function(h){h=Number(h);if(.25>h&&-.25<h){for(var a=h,e=1,c=h,f=0;f!=c;)a*=h/++e,c=(f=c)+a;return c}return Math.exp(h)-1};$jscomp.math.cosh=function(h){h=Number(h);return(Math.exp(h)+Math.exp(-h))/2};
$jscomp.math.sinh=function(h){h=Number(h);return 0===h?h:(Math.exp(h)-Math.exp(-h))/2};$jscomp.math.tanh=function(h){h=Number(h);if(0===h)return h;var a=Math.exp(2*-Math.abs(h)),a=(1-a)/(1+a);return 0>h?-a:a};$jscomp.math.acosh=function(h){h=Number(h);return Math.log(h+Math.sqrt(h*h-1))};$jscomp.math.asinh=function(h){h=Number(h);if(0===h)return h;var a=Math.log(Math.abs(h)+Math.sqrt(h*h+1));return 0>h?-a:a};
$jscomp.math.atanh=function(h){h=Number(h);return($jscomp.math.log1p(h)-$jscomp.math.log1p(-h))/2};
$jscomp.math.hypot=function(h,a,e){for(var c=[],f=2;f<arguments.length;++f)c[f-2]=arguments[f];h=Number(h);a=Number(a);for(var d=Math.max(Math.abs(h),Math.abs(a)),g=$jscomp.makeIterator(c),f=g.next();!f.done;f=g.next())d=Math.max(d,Math.abs(f.value));if(1E100<d||1E-100>d){h/=d;a/=d;g=h*h+a*a;c=$jscomp.makeIterator(c);for(f=c.next();!f.done;f=c.next())f=f.value,f=Number(f)/d,g+=f*f;return Math.sqrt(g)*d}d=h*h+a*a;c=$jscomp.makeIterator(c);for(f=c.next();!f.done;f=c.next())f=f.value,f=Number(f),d+=
f*f;return Math.sqrt(d)};$jscomp.math.trunc=function(h){h=Number(h);if(isNaN(h)||Infinity===h||-Infinity===h||0===h)return h;var a=Math.floor(Math.abs(h));return 0>h?-a:a};$jscomp.math.cbrt=function(h){if(0===h)return h;h=Number(h);var a=Math.pow(Math.abs(h),1/3);return 0>h?-a:a};$jscomp.number=$jscomp.number||{};$jscomp.number.isFinite=function(h){return"number"!==typeof h?!1:!isNaN(h)&&Infinity!==h&&-Infinity!==h};
$jscomp.number.isInteger=function(h){return $jscomp.number.isFinite(h)?h===Math.floor(h):!1};$jscomp.number.isNaN=function(h){return"number"===typeof h&&isNaN(h)};$jscomp.number.isSafeInteger=function(h){return $jscomp.number.isInteger(h)&&Math.abs(h)<=$jscomp.number.MAX_SAFE_INTEGER};$jscomp.number.EPSILON=Math.pow(2,-52);$jscomp.number.MAX_SAFE_INTEGER=9007199254740991;$jscomp.number.MIN_SAFE_INTEGER=-9007199254740991;$jscomp.object=$jscomp.object||{};
$jscomp.object.assign=function(h,a){for(var e=[],c=1;c<arguments.length;++c)e[c-1]=arguments[c];e=$jscomp.makeIterator(e);for(c=e.next();!c.done;c=e.next())if(c=c.value)for(var f in c)Object.prototype.hasOwnProperty.call(c,f)&&(h[f]=c[f]);return h};$jscomp.object.is=function(h,a){return h===a?0!==h||1/h===1/a:h!==h&&a!==a};$jscomp.Set=function(h){h=void 0===h?[]:h;this.map_=new $jscomp.Map;if(h){h=$jscomp.makeIterator(h);for(var a=h.next();!a.done;a=h.next())this.add(a.value)}this.size=this.map_.size};
$jscomp.Set.checkBrowserConformance_=function(){var h=$jscomp.global.Set;if(!h||!h.prototype.entries||!Object.seal)return!1;var a=Object.seal({x:4}),h=new h($jscomp.makeIterator([a]));if(h.has(a)||1!=h.size||h.add(a)!=h||1!=h.size||h.add({x:4})!=h||2!=h.size)return!1;var h=h.entries(),e=h.next();if(e.done||e.value[0]!=a||e.value[1]!=a)return!1;e=h.next();return e.done||e.value[0]==a||4!=e.value[0].x||e.value[1]!=e.value[0]?!1:h.next().done};
$jscomp.Set.prototype.add=function(h){this.map_.set(h,h);this.size=this.map_.size;return this};$jscomp.Set.prototype["delete"]=function(h){h=this.map_["delete"](h);this.size=this.map_.size;return h};$jscomp.Set.prototype.clear=function(){this.map_.clear();this.size=0};$jscomp.Set.prototype.has=function(h){return this.map_.has(h)};$jscomp.Set.prototype.entries=function(){return this.map_.entries()};$jscomp.Set.prototype.values=function(){return this.map_.values()};
$jscomp.Set.prototype.forEach=function(h,a){var e=this;this.map_.forEach(function(c){return h.call(a,c,c,e)})};$jscomp.Set.ASSUME_NO_NATIVE=!1;$jscomp.Set$install=function(){!$jscomp.Set.ASSUME_NO_NATIVE&&$jscomp.Set.checkBrowserConformance_()?$jscomp.Set=$jscomp.global.Set:($jscomp.Map$install(),$jscomp.initSymbol(),$jscomp.initSymbolIterator(),$jscomp.Set.prototype[Symbol.iterator]=$jscomp.Set.prototype.values);$jscomp.Set$install=function(){}};$jscomp.string=$jscomp.string||{};
$jscomp.string.noRegExp_=function(h,a){if(h instanceof RegExp)throw new TypeError("First argument to String.prototype."+a+" must not be a regular expression");};
$jscomp.string.fromCodePoint=function(h){for(var a=[],e=0;e<arguments.length;++e)a[e-0]=arguments[e];for(var e="",a=$jscomp.makeIterator(a),c=a.next();!c.done;c=a.next()){c=c.value;c=+c;if(0>c||1114111<c||c!==Math.floor(c))throw new RangeError("invalid_code_point "+c);65535>=c?e+=String.fromCharCode(c):(c-=65536,e+=String.fromCharCode(c>>>10&1023|55296),e+=String.fromCharCode(c&1023|56320))}return e};
$jscomp.string.repeat=function(h){var a=this.toString();if(0>h||1342177279<h)throw new RangeError("Invalid count value");h|=0;for(var e="";h;)if(h&1&&(e+=a),h>>>=1)a+=a;return e};$jscomp.string.repeat$install=function(){String.prototype.repeat||(String.prototype.repeat=$jscomp.string.repeat)};
$jscomp.string.codePointAt=function(h){var a=this.toString(),e=a.length;h=Number(h)||0;if(0<=h&&h<e){h|=0;var c=a.charCodeAt(h);if(55296>c||56319<c||h+1===e)return c;h=a.charCodeAt(h+1);return 56320>h||57343<h?c:1024*(c-55296)+h+9216}};$jscomp.string.codePointAt$install=function(){String.prototype.codePointAt||(String.prototype.codePointAt=$jscomp.string.codePointAt)};
$jscomp.string.includes=function(h,a){a=void 0===a?0:a;$jscomp.string.noRegExp_(h,"includes");return-1!==this.toString().indexOf(h,a)};$jscomp.string.includes$install=function(){String.prototype.includes||(String.prototype.includes=$jscomp.string.includes)};
$jscomp.string.startsWith=function(h,a){a=void 0===a?0:a;$jscomp.string.noRegExp_(h,"startsWith");var e=this.toString();h+="";for(var c=e.length,f=h.length,d=Math.max(0,Math.min(a|0,e.length)),g=0;g<f&&d<c;)if(e[d++]!=h[g++])return!1;return g>=f};$jscomp.string.startsWith$install=function(){String.prototype.startsWith||(String.prototype.startsWith=$jscomp.string.startsWith)};
$jscomp.string.endsWith=function(h,a){$jscomp.string.noRegExp_(h,"endsWith");var e=this.toString();h+="";void 0===a&&(a=e.length);for(var c=Math.max(0,Math.min(a|0,e.length)),f=h.length;0<f&&0<c;)if(e[--c]!=h[--f])return!1;return 0>=f};$jscomp.string.endsWith$install=function(){String.prototype.endsWith||(String.prototype.endsWith=$jscomp.string.endsWith)};
(function(h){"object"===typeof exports&&"undefined"!==typeof module?module.exports=h():"function"===typeof define&&define.amd?define([],h):("undefined"!==typeof window?window:"undefined"!==typeof global?global:"undefined"!==typeof self?self:this).videojs=h()})(function(){return function a(e,c,f){function d(b,k){if(!c[b]){if(!e[b]){var n="function"==typeof require&&require;if(!k&&n)return n(b,!0);if(g)return g(b,!0);n=Error("Cannot find module '"+b+"'");throw n.code="MODULE_NOT_FOUND",n;}n=c[b]={exports:{}};
e[b][0].call(n.exports,function(a){var g=e[b][1][a];return d(g?g:a)},n,n.exports,a,e,c,f)}return c[b].exports}for(var g="function"==typeof require&&require,b=0;b<f.length;b++)d(f[b]);return d}({1:[function(a,e,c){c="undefined"!==typeof global?global:"undefined"!==typeof self?self:"undefined"!==typeof window?window:{};c="undefined"!==typeof c?c:"undefined"!==typeof window?window:{};a=a("min-document");if("undefined"!==typeof document)e.exports=document;else{var f=c["__GLOBAL_DOCUMENT_CACHE@4"];f||
(f=c["__GLOBAL_DOCUMENT_CACHE@4"]=a);e.exports=f}},{"min-document":3}],2:[function(a,e,c){a="undefined"!==typeof global?global:"undefined"!==typeof self?self:"undefined"!==typeof window?window:{};e.exports="undefined"!==typeof window?window:"undefined"!==typeof a?a:"undefined"!==typeof self?self:{}},{}],3:[function(a,e,c){},{}],4:[function(a,e,c){a=a("../internal/getNative")(Date,"now");e.exports=a||function(){return(new Date).getTime()}},{"../internal/getNative":20}],5:[function(a,e,c){var f=a("../lang/isObject"),
d=a("../date/now"),g=Math.max;e.exports=function(a,l,k){function c(g,k){k&&clearTimeout(k);v=q=y=void 0;g&&(z=d(),u=a.apply(r,e),q||v||(e=r=void 0))}function p(){var a=l-(d()-x);0>=a||a>l?c(y,v):q=setTimeout(p,a)}function m(){c(D,q)}function t(){e=arguments;x=d();r=this;y=D&&(q||!C);if(!1===B)var g=C&&!q;else{v||C||(z=x);var k=B-(x-z),c=0>=k||k>B;c?(v&&(v=clearTimeout(v)),z=x,u=a.apply(r,e)):v||(v=setTimeout(m,k))}c&&q?q=clearTimeout(q):q||l===B||(q=setTimeout(p,l));g&&(c=!0,u=a.apply(r,e));!c||q||
v||(e=r=void 0);return u}var e,v,u,x,r,q,y,z=0,B=!1,D=!0;if("function"!=typeof a)throw new TypeError("Expected a function");l=0>l?0:+l||0;if(!0===k)var C=!0,D=!1;else f(k)&&(C=!!k.leading,B="maxWait"in k&&g(+k.maxWait||0,l),D="trailing"in k?!!k.trailing:D);t.cancel=function(){q&&clearTimeout(q);v&&clearTimeout(v);z=0;v=q=y=void 0};return t}},{"../date/now":4,"../lang/isObject":33}],6:[function(a,e,c){var f=Math.max;e.exports=function(a,g){if("function"!=typeof a)throw new TypeError("Expected a function");
g=f(void 0===g?a.length-1:+g||0,0);return function(){for(var b=arguments,l=-1,k=f(b.length-g,0),c=Array(k);++l<k;)c[l]=b[g+l];switch(g){case 0:return a.call(this,c);case 1:return a.call(this,b[0],c);case 2:return a.call(this,b[0],b[1],c)}k=Array(g+1);for(l=-1;++l<g;)k[l]=b[l];k[g]=c;return a.apply(this,k)}}},{}],7:[function(a,e,c){var f=a("./debounce"),d=a("../lang/isObject");e.exports=function(a,b,l){var k=!0,c=!0;if("function"!=typeof a)throw new TypeError("Expected a function");!1===l?k=!1:d(l)&&
(k="leading"in l?!!l.leading:k,c="trailing"in l?!!l.trailing:c);return f(a,b,{leading:k,maxWait:+b,trailing:c})}},{"../lang/isObject":33,"./debounce":5}],8:[function(a,e,c){e.exports=function(a,d){var g=-1,b=a.length;for(d||(d=Array(b));++g<b;)d[g]=a[g];return d}},{}],9:[function(a,e,c){e.exports=function(a,d){for(var g=-1,b=a.length;++g<b&&!1!==d(a[g],g,a););return a}},{}],10:[function(a,e,c){e.exports=function(a,d,g){g||(g={});for(var b=-1,l=d.length;++b<l;){var k=d[b];g[k]=a[k]}return g}},{}],
11:[function(a,e,c){a=a("./createBaseFor")();e.exports=a},{"./createBaseFor":18}],12:[function(a,e,c){var f=a("./baseFor"),d=a("../object/keysIn");e.exports=function(a,b){return f(a,b,d)}},{"../object/keysIn":39,"./baseFor":11}],13:[function(a,e,c){function f(a,c,e,u,x){if(!k(a))return a;var r=l(c)&&(b(c)||p(c)),q=r?void 0:m(c);d(q||c,function(b,d){q&&(d=b,b=c[d]);if(n(b))u||(u=[]),x||(x=[]),g(a,c,d,f,e,u,x);else{var k=a[d],l=e?e(k,b,d,a,c):void 0,m=void 0===l;m&&(l=b);void 0===l&&(!r||d in a)||!m&&
(l===l?l===k:k!==k)||(a[d]=l)}});return a}var d=a("./arrayEach"),g=a("./baseMergeDeep"),b=a("../lang/isArray"),l=a("./isArrayLike"),k=a("../lang/isObject"),n=a("./isObjectLike"),p=a("../lang/isTypedArray"),m=a("../object/keys");e.exports=f},{"../lang/isArray":30,"../lang/isObject":33,"../lang/isTypedArray":36,"../object/keys":38,"./arrayEach":9,"./baseMergeDeep":14,"./isArrayLike":21,"./isObjectLike":26}],14:[function(a,e,c){var f=a("./arrayCopy"),d=a("../lang/isArguments"),g=a("../lang/isArray"),
b=a("./isArrayLike"),l=a("../lang/isPlainObject"),k=a("../lang/isTypedArray"),n=a("../lang/toPlainObject");e.exports=function(a,c,t,e,v,u,x){for(var r=u.length,q=c[t];r--;)if(u[r]==q){a[t]=x[r];return}r=a[t];c=v?v(r,q,t,a,c):void 0;var y=void 0===c;y&&(c=q,b(q)&&(g(q)||k(q))?c=g(r)?r:b(r)?f(r):[]:l(q)||d(q)?c=d(r)?n(r):l(r)?r:{}:y=!1);u.push(q);x.push(c);if(y)a[t]=e(c,q,v,u,x);else if(c===c?c!==r:r===r)a[t]=c}},{"../lang/isArguments":29,"../lang/isArray":30,"../lang/isPlainObject":34,"../lang/isTypedArray":36,
"../lang/toPlainObject":37,"./arrayCopy":8,"./isArrayLike":21}],15:[function(a,e,c){var f=a("./toObject");e.exports=function(a){return function(g){return null==g?void 0:f(g)[a]}}},{"./toObject":28}],16:[function(a,e,c){var f=a("../utility/identity");e.exports=function(a,g,b){if("function"!=typeof a)return f;if(void 0===g)return a;switch(b){case 1:return function(b){return a.call(g,b)};case 3:return function(b,k,c){return a.call(g,b,k,c)};case 4:return function(b,k,c,f){return a.call(g,b,k,c,f)};case 5:return function(b,
k,c,f,m){return a.call(g,b,k,c,f,m)}}return function(){return a.apply(g,arguments)}}},{"../utility/identity":42}],17:[function(a,e,c){var f=a("./bindCallback"),d=a("./isIterateeCall"),g=a("../function/restParam");e.exports=function(a){return g(function(g,k){var c=-1,e=null==g?0:k.length,m=2<e?k[e-2]:void 0,t=2<e?k[2]:void 0,w=1<e?k[e-1]:void 0;"function"==typeof m?(m=f(m,w,5),e-=2):(m="function"==typeof w?w:void 0,e-=m?1:0);t&&d(k[0],k[1],t)&&(m=3>e?void 0:m,e=1);for(;++c<e;)(t=k[c])&&a(g,t,m);return g})}},
{"../function/restParam":6,"./bindCallback":16,"./isIterateeCall":24}],18:[function(a,e,c){var f=a("./toObject");e.exports=function(a){return function(g,b,c){var k=f(g);c=c(g);for(var n=c.length,e=a?n:-1;a?e--:++e<n;){var m=c[e];if(!1===b(k[m],m,k))break}return g}}},{"./toObject":28}],19:[function(a,e,c){a=a("./baseProperty")("length");e.exports=a},{"./baseProperty":15}],20:[function(a,e,c){var f=a("../lang/isNative");e.exports=function(a,g){var b=null==a?void 0:a[g];return f(b)?b:void 0}},{"../lang/isNative":32}],
21:[function(a,e,c){var f=a("./getLength"),d=a("./isLength");e.exports=function(a){return null!=a&&d(f(a))}},{"./getLength":19,"./isLength":25}],22:[function(a,e,c){a=function(){try{Object("[object Object]")}catch(a){return function(){return!1}}return function(a){return"function"!=typeof a.toString&&"string"==typeof(a+"")}}();e.exports=a},{}],23:[function(a,e,c){var f=/^\d+$/;e.exports=function(a,g){a="number"==typeof a||f.test(a)?+a:-1;return-1<a&&0==a%1&&a<(null==g?9007199254740991:g)}},{}],24:[function(a,
e,c){var f=a("./isArrayLike"),d=a("./isIndex"),g=a("../lang/isObject");e.exports=function(a,c,k){if(!g(k))return!1;var n=typeof c;return("number"==n?f(k)&&d(c,k.length):"string"==n&&c in k)?(c=k[c],a===a?a===c:c!==c):!1}},{"../lang/isObject":33,"./isArrayLike":21,"./isIndex":23}],25:[function(a,e,c){e.exports=function(a){return"number"==typeof a&&-1<a&&0==a%1&&9007199254740991>=a}},{}],26:[function(a,e,c){e.exports=function(a){return!!a&&"object"==typeof a}},{}],27:[function(a,e,c){var f=a("../lang/isArguments"),
d=a("../lang/isArray"),g=a("./isIndex"),b=a("./isLength"),l=a("../lang/isString"),k=a("../object/keysIn"),n=Object.prototype.hasOwnProperty;e.exports=function(a){for(var c=k(a),e=c.length,w=e&&a.length,v=!!w&&b(w)&&(d(a)||f(a)||l(a)),u=-1,x=[];++u<e;){var r=c[u];(v&&g(r,w)||n.call(a,r))&&x.push(r)}return x}},{"../lang/isArguments":29,"../lang/isArray":30,"../lang/isString":35,"../object/keysIn":39,"./isIndex":23,"./isLength":25}],28:[function(a,e,c){var f=a("../lang/isObject"),d=a("../lang/isString"),
g=a("../support");e.exports=function(a){if(g.unindexedChars&&d(a)){for(var c=-1,k=a.length,n=Object(a);++c<k;)n[c]=a.charAt(c);return n}return f(a)?a:Object(a)}},{"../lang/isObject":33,"../lang/isString":35,"../support":41}],29:[function(a,e,c){var f=a("../internal/isArrayLike"),d=a("../internal/isObjectLike");a=Object.prototype;var g=a.hasOwnProperty,b=a.propertyIsEnumerable;e.exports=function(a){return d(a)&&f(a)&&g.call(a,"callee")&&!b.call(a,"callee")}},{"../internal/isArrayLike":21,"../internal/isObjectLike":26}],
30:[function(a,e,c){c=a("../internal/getNative");var f=a("../internal/isLength"),d=a("../internal/isObjectLike"),g=Object.prototype.toString;a=c(Array,"isArray")||function(a){return d(a)&&f(a.length)&&"[object Array]"==g.call(a)};e.exports=a},{"../internal/getNative":20,"../internal/isLength":25,"../internal/isObjectLike":26}],31:[function(a,e,c){var f=a("./isObject"),d=Object.prototype.toString;e.exports=function(a){return f(a)&&"[object Function]"==d.call(a)}},{"./isObject":33}],32:[function(a,
e,c){var f=a("./isFunction"),d=a("../internal/isHostObject"),g=a("../internal/isObjectLike"),b=/^\[object .+?Constructor\]$/,l=Function.prototype.toString,k=RegExp("^"+l.call(Object.prototype.hasOwnProperty).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(a){return null==a?!1:f(a)?k.test(l.call(a)):g(a)&&(d(a)?k:b).test(a)}},{"../internal/isHostObject":22,"../internal/isObjectLike":26,"./isFunction":31}],33:[function(a,
e,c){e.exports=function(a){var c=typeof a;return!!a&&("object"==c||"function"==c)}},{}],34:[function(a,e,c){var f=a("../internal/baseForIn"),d=a("./isArguments"),g=a("../internal/isHostObject"),b=a("../internal/isObjectLike"),l=a("../support");a=Object.prototype;var k=a.hasOwnProperty,n=a.toString;e.exports=function(a){var c;if(!b(a)||"[object Object]"!=n.call(a)||g(a)||d(a)||!(k.call(a,"constructor")||(c=a.constructor,"function"!=typeof c||c instanceof c)))return!1;var e;if(l.ownLast)return f(a,
function(a,b,c){e=k.call(c,b);return!1}),!1!==e;f(a,function(a,b){e=b});return void 0===e||k.call(a,e)}},{"../internal/baseForIn":12,"../internal/isHostObject":22,"../internal/isObjectLike":26,"../support":41,"./isArguments":29}],35:[function(a,e,c){var f=a("../internal/isObjectLike"),d=Object.prototype.toString;e.exports=function(a){return"string"==typeof a||f(a)&&"[object String]"==d.call(a)}},{"../internal/isObjectLike":26}],36:[function(a,e,c){var f=a("../internal/isLength"),d=a("../internal/isObjectLike"),
g={};g["[object Float32Array]"]=g["[object Float64Array]"]=g["[object Int8Array]"]=g["[object Int16Array]"]=g["[object Int32Array]"]=g["[object Uint8Array]"]=g["[object Uint8ClampedArray]"]=g["[object Uint16Array]"]=g["[object Uint32Array]"]=!0;g["[object Arguments]"]=g["[object Array]"]=g["[object ArrayBuffer]"]=g["[object Boolean]"]=g["[object Date]"]=g["[object Error]"]=g["[object Function]"]=g["[object Map]"]=g["[object Number]"]=g["[object Object]"]=g["[object RegExp]"]=g["[object Set]"]=g["[object String]"]=
g["[object WeakMap]"]=!1;var b=Object.prototype.toString;e.exports=function(a){return d(a)&&f(a.length)&&!!g[b.call(a)]}},{"../internal/isLength":25,"../internal/isObjectLike":26}],37:[function(a,e,c){var f=a("../internal/baseCopy"),d=a("../object/keysIn");e.exports=function(a){return f(a,d(a))}},{"../internal/baseCopy":10,"../object/keysIn":39}],38:[function(a,e,c){c=a("../internal/getNative");var f=a("../internal/isArrayLike"),d=a("../lang/isObject"),g=a("../internal/shimKeys"),b=a("../support"),
l=c(Object,"keys");e.exports=l?function(a){var c=null==a?void 0:a.constructor;return"function"==typeof c&&c.prototype===a||("function"==typeof a?b.enumPrototypes:f(a))?g(a):d(a)?l(a):[]}:g},{"../internal/getNative":20,"../internal/isArrayLike":21,"../internal/shimKeys":27,"../lang/isObject":33,"../support":41}],39:[function(a,e,c){c=a("../internal/arrayEach");var f=a("../lang/isArguments"),d=a("../lang/isArray"),g=a("../lang/isFunction"),b=a("../internal/isIndex"),l=a("../internal/isLength"),k=a("../lang/isObject"),
n=a("../lang/isString"),p=a("../support"),m="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" "),t=Error.prototype,w=Object.prototype,v=String.prototype,u=w.hasOwnProperty,x=w.toString,r={};r["[object Array]"]=r["[object Date]"]=r["[object Number]"]={constructor:!0,toLocaleString:!0,toString:!0,valueOf:!0};r["[object Boolean]"]=r["[object String]"]={constructor:!0,toString:!0,valueOf:!0};r["[object Error]"]=r["[object Function]"]=r["[object RegExp]"]=
{constructor:!0,toString:!0};r["[object Object]"]={constructor:!0};c(m,function(a){for(var b in r)if(u.call(r,b)){var c=r[b];c[a]=u.call(c,a)}});e.exports=function(a){if(null==a)return[];k(a)||(a=Object(a));for(var c=a.length,c=c&&l(c)&&(d(a)||f(a)||n(a))&&c||0,e=a.constructor,B=-1,e=g(e)&&e.prototype||w,D=e===a,C=Array(c),H=0<c,I=p.enumErrorProps&&(a===t||a instanceof Error),F=p.enumPrototypes&&g(a);++B<c;)C[B]=B+"";for(var G in a)F&&"prototype"==G||I&&("message"==G||"name"==G)||H&&b(G,c)||"constructor"==
G&&(D||!u.call(a,G))||C.push(G);if(p.nonEnumShadows&&a!==w)for(c=a===v?"[object String]":a===t?"[object Error]":x.call(a),B=r[c]||r["[object Object]"],"[object Object]"==c&&(e=w),c=m.length;c--;)G=m[c],H=B[G],D&&H||(H?!u.call(a,G):a[G]===e[G])||C.push(G);return C}},{"../internal/arrayEach":9,"../internal/isIndex":23,"../internal/isLength":25,"../lang/isArguments":29,"../lang/isArray":30,"../lang/isFunction":31,"../lang/isObject":33,"../lang/isString":35,"../support":41}],40:[function(a,e,c){c=a("../internal/baseMerge");
a=a("../internal/createAssigner")(c);e.exports=a},{"../internal/baseMerge":13,"../internal/createAssigner":17}],41:[function(a,e,c){var f=Error.prototype,d=Object.prototype.propertyIsEnumerable,g=Array.prototype.splice,b={};(function(a){var c=function(){this.x=a},e={0:a,length:a},p=[];c.prototype={valueOf:a,y:a};for(var m in new c)p.push(m);b.enumErrorProps=d.call(f,"message")||d.call(f,"name");b.enumPrototypes=d.call(c,"prototype");b.nonEnumShadows=!/valueOf/.test(p);b.ownLast="x"!=p[0];b.spliceObjects=
(g.call(e,0,1),!e[0]);b.unindexedChars="xx"!="x"+Object("x")[0]})(1,0);e.exports=b},{}],42:[function(a,e,c){e.exports=function(a){return a}},{}],43:[function(a,e,c){var f=a("object-keys");e.exports=function(){$jscomp.initSymbol();if("function"!==typeof Symbol||"function"!==typeof Object.getOwnPropertySymbols)return!1;$jscomp.initSymbol();$jscomp.initSymbolIterator();if("symbol"===typeof Symbol.iterator)return!0;var a={};$jscomp.initSymbol();var c=Symbol("test");if("string"===typeof c)return!1;a[c]=
42;for(c in a)return!1;if(0!==f(a).length||"function"===typeof Object.keys&&0!==Object.keys(a).length||"function"===typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(a).length)return!1;var b=Object.getOwnPropertySymbols(a);return 1!==b.length||b[0]!==c||!Object.prototype.propertyIsEnumerable.call(a,c)||"function"===typeof Object.getOwnPropertyDescriptor&&(a=Object.getOwnPropertyDescriptor(a,c),42!==a.value||!0!==a.enumerable)?!1:!0}},{"object-keys":49}],44:[function(a,e,c){var f=a("object-keys");
c=a("function-bind");var d=a("./hasSymbols")(),g=Object,b=c.call(Function.call,Array.prototype.push),l=c.call(Function.call,Object.prototype.propertyIsEnumerable);e.exports=function(a,c){if("undefined"===typeof a||null===a)throw new TypeError("target must be an object");var e=g(a),m,t,w,v,u,x;for(m=1;m<arguments.length;++m){t=g(arguments[m]);v=f(t);if(d&&Object.getOwnPropertySymbols)for(u=Object.getOwnPropertySymbols(t),w=0;w<u.length;++w)x=u[w],l(t,x)&&b(v,x);for(w=0;w<v.length;++w)x=v[w],u=t[x],
l(t,x)&&(e[x]=u)}return e}},{"./hasSymbols":43,"function-bind":48,"object-keys":49}],45:[function(a,e,c){c=a("define-properties");var f=a("./implementation"),d=a("./polyfill");a=a("./shim");c(f,{implementation:f,getPolyfill:d,shim:a});e.exports=f},{"./implementation":44,"./polyfill":51,"./shim":52,"define-properties":46}],46:[function(a,e,c){var f=a("object-keys"),d=a("foreach");$jscomp.initSymbol();$jscomp.initSymbol();var g="function"===typeof Symbol&&"symbol"===typeof Symbol(),b=Object.prototype.toString,
l=Object.defineProperty&&function(){var a={};try{Object.defineProperty(a,"x",{enumerable:!1,value:a});for(var b in a)return!1;return a.x===a}catch(c){return!1}}();a=function(a,c){var e=2<arguments.length?arguments[2]:{},m=f(c);g&&(m=m.concat(Object.getOwnPropertySymbols(c)));d(m,function(d){var g=c[d],f=e[d];if(!(d in a)||"function"===typeof f&&"[object Function]"===b.call(f)&&f())l?Object.defineProperty(a,d,{configurable:!0,enumerable:!1,value:g,writable:!0}):a[d]=g})};a.supportsDescriptors=!!l;
e.exports=a},{foreach:47,"object-keys":49}],47:[function(a,e,c){var f=Object.prototype.hasOwnProperty,d=Object.prototype.toString;e.exports=function(a,b,c){if("[object Function]"!==d.call(b))throw new TypeError("iterator must be a function");var k=a.length;if(k===+k)for(var e=0;e<k;e++)b.call(c,a[e],e,a);else for(e in a)f.call(a,e)&&b.call(c,a[e],e,a)}},{}],48:[function(a,e,c){var f=Array.prototype.slice,d=Object.prototype.toString;e.exports=function(a){var b=this;if("function"!==typeof b||"[object Function]"!==
d.call(b))throw new TypeError("Function.prototype.bind called on incompatible "+b);for(var c=f.call(arguments,1),k=Math.max(0,b.length-c.length),e=[],p=0;p<k;p++)e.push("$"+p);var m=Function("binder","return function ("+e.join(",")+"){ return binder.apply(this,arguments); }")(function(){if(this instanceof m){var d=b.apply(this,c.concat(f.call(arguments)));return Object(d)===d?d:this}return b.apply(a,c.concat(f.call(arguments)))});b.prototype&&(k=function(){},k.prototype=b.prototype,m.prototype=new k,
k.prototype=null);return m}},{}],49:[function(a,e,c){var f=Object.prototype.hasOwnProperty,d=Object.prototype.toString,g=Array.prototype.slice,b=a("./isArguments"),l=!{toString:null}.propertyIsEnumerable("toString"),k=function(){}.propertyIsEnumerable("prototype"),n="toString toLocaleString valueOf hasOwnProperty isPrototypeOf propertyIsEnumerable constructor".split(" "),p=function(a){var b=a.constructor;return b&&b.prototype===a},m={$console:!0,$frame:!0,$frameElement:!0,$frames:!0,$parent:!0,$self:!0,
$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},t=function(){if("undefined"===typeof window)return!1;for(var a in window)try{if(!m["$"+a]&&f.call(window,a)&&null!==window[a]&&"object"===typeof window[a])try{p(window[a])}catch(b){return!0}}catch(b){return!0}return!1}(),w=function(a){var c=null!==a&&"object"===typeof a,g="[object Function]"===d.call(a),r=b(a),e=c&&"[object String]"===d.call(a),m=[];if(!c&&!g&&!r)throw new TypeError("Object.keys called on a non-object");c=k&&g;if(e&&0<a.length&&
!f.call(a,0))for(e=0;e<a.length;++e)m.push(String(e));if(r&&0<a.length)for(r=0;r<a.length;++r)m.push(String(r));else for(var w in a)c&&"prototype"===w||!f.call(a,w)||m.push(String(w));if(l){var B;if("undefined"!==typeof window&&t)try{B=p(a)}catch(D){B=!1}else B=p(a);for(r=0;r<n.length;++r)B&&"constructor"===n[r]||!f.call(a,n[r])||m.push(n[r])}return m};w.shim=function(){if(Object.keys){if(!function(){return 2===(Object.keys(arguments)||"").length}(1,2)){var a=Object.keys;Object.keys=function(c){return b(c)?
a(g.call(c)):a(c)}}}else Object.keys=w;return Object.keys||w};e.exports=w},{"./isArguments":50}],50:[function(a,e,c){var f=Object.prototype.toString;e.exports=function(a){var c=f.call(a),b="[object Arguments]"===c;b||(b="[object Array]"!==c&&null!==a&&"object"===typeof a&&"number"===typeof a.length&&0<=a.length&&"[object Function]"===f.call(a.callee));return b}},{}],51:[function(a,e,c){var f=a("./implementation");e.exports=function(){if(!Object.assign)return f;var a;if(Object.assign){for(var c="abcdefghijklmnopqrst".split(""),
b={},l=0;l<c.length;++l)b[c[l]]=c[l];c=Object.assign({},b);b="";for(a in c)b+=a;a="abcdefghijklmnopqrst"!==b}else a=!1;if(a)return f;a:if(Object.assign&&Object.preventExtensions){a=Object.preventExtensions({1:2});try{Object.assign(a,"xy")}catch(k){a="y"===a[1];break a}a=void 0}else a=!1;return a?f:Object.assign}},{"./implementation":44}],52:[function(a,e,c){var f=a("define-properties"),d=a("./polyfill");e.exports=function(){var a=d();f(Object,{assign:a},{assign:function(){return Object.assign!==a}});
return a}},{"./polyfill":51,"define-properties":46}],53:[function(a,e,c){e.exports=function(a,c){var g,b=null;try{g=JSON.parse(a,c)}catch(l){b=l}return[b,g]}},{}],54:[function(a,e,c){e.exports=function(a){for(var c="",g=0;g<arguments.length;g++)c+=a[g].replace(/\n\r?\s*/g,"")+(arguments[g+1]||"");return c}},{}],55:[function(a,e,c){function f(a){for(var b in a)if(a.hasOwnProperty(b))return!1;return!0}function d(a,b,c){var d=a;n(b)?(c=b,"string"===typeof a&&(d={uri:a})):d=m(b,{uri:a});d.callback=c;
return d}function g(a,c,k){c=d(a,c,k);return b(c)}function b(a){function b(a){clearTimeout(F);a instanceof Error||(a=Error(""+(a||"Unknown XMLHttpRequest Error")));a.statusCode=0;d(a,l)}function c(){if(!m){var b;clearTimeout(F);b=a.useXDR&&void 0===r.status?200:1223===r.status?204:r.status;var k=l,g=null;if(0!==b){k=void 0;r.response?k=r.response:"text"!==r.responseType&&r.responseType||(k=r.responseText||r.responseXML);if(I)try{k=JSON.parse(k)}catch(f){}k={body:k,statusCode:b,method:B,headers:{},
url:n,rawRequest:r};r.getAllResponseHeaders&&(k.headers=p(r.getAllResponseHeaders()))}else g=Error("Internal XMLHttpRequest Error");d(g,k,k.body)}}var d=a.callback;if("undefined"===typeof d)throw Error("callback argument missing");var d=k(d),l={body:void 0,headers:{},statusCode:0,method:B,url:n,rawRequest:r},r=a.xhr||null;r||(r=a.cors||a.useXDR?new g.XDomainRequest:new g.XMLHttpRequest);var e,m,n=r.url=a.uri||a.url,B=r.method=a.method||"GET",D=a.body||a.data||null,C=r.headers=a.headers||{},H=!!a.sync,
I=!1,F;"json"in a&&(I=!0,C.accept||C.Accept||(C.Accept="application/json"),"GET"!==B&&"HEAD"!==B&&(C["content-type"]||C["Content-Type"]||(C["Content-Type"]="application/json"),D=JSON.stringify(a.json)));r.onreadystatechange=function(){4===r.readyState&&c()};r.onload=c;r.onerror=b;r.onprogress=function(){};r.ontimeout=b;r.open(B,n,!H,a.username,a.password);H||(r.withCredentials=!!a.withCredentials);!H&&0<a.timeout&&(F=setTimeout(function(){m=!0;r.abort("timeout");var a=Error("XMLHttpRequest timeout");
a.code="ETIMEDOUT";b(a)},a.timeout));if(r.setRequestHeader)for(e in C)C.hasOwnProperty(e)&&r.setRequestHeader(e,C[e]);else if(a.headers&&!f(a.headers))throw Error("Headers cannot be set on an XDomainRequest object");"responseType"in a&&(r.responseType=a.responseType);"beforeSend"in a&&"function"===typeof a.beforeSend&&a.beforeSend(r);r.send(D);return r}function l(){}c=a("global/window");var k=a("once"),n=a("is-function"),p=a("parse-headers"),m=a("xtend");e.exports=g;g.XMLHttpRequest=c.XMLHttpRequest||
l;g.XDomainRequest="withCredentials"in new g.XMLHttpRequest?g.XMLHttpRequest:c.XDomainRequest;(function(a,b){for(var c=0;c<a.length;c++)b(a[c])})("get put post patch head delete".split(" "),function(a){g["delete"===a?"del":a]=function(c,k,g){k=d(c,k,g);k.method=a.toUpperCase();return b(k)}})},{"global/window":2,"is-function":56,once:57,"parse-headers":60,xtend:61}],56:[function(a,e,c){e.exports=function(a){var c=f.call(a);return"[object Function]"===c||"function"===typeof a&&"[object RegExp]"!==c||
"undefined"!==typeof window&&(a===window.setTimeout||a===window.alert||a===window.confirm||a===window.prompt)};var f=Object.prototype.toString},{}],57:[function(a,e,c){function f(a){var c=!1;return function(){if(!c)return c=!0,a.apply(this,arguments)}}e.exports=f;f.proto=f(function(){Object.defineProperty(Function.prototype,"once",{value:function(){return f(this)},configurable:!0})})},{}],58:[function(a,e,c){var f=a("is-function");e.exports=function(a,c,k){if(!f(c))throw new TypeError("iterator must be a function");
3>arguments.length&&(k=this);if("[object Array]"===d.call(a))for(var e=k,p=0,m=a.length;p<m;p++)g.call(a,p)&&c.call(e,a[p],p,a);else if("string"===typeof a)for(e=k,p=0,m=a.length;p<m;p++)c.call(e,a.charAt(p),p,a);else for(p in e=k,a)g.call(a,p)&&c.call(e,a[p],p,a)};var d=Object.prototype.toString,g=Object.prototype.hasOwnProperty},{"is-function":56}],59:[function(a,e,c){c=e.exports=function(a){return a.replace(/^\s*|\s*$/g,"")};c.left=function(a){return a.replace(/^\s*/,"")};c.right=function(a){return a.replace(/\s*$/,
"")}},{}],60:[function(a,e,c){var f=a("trim"),d=a("for-each");e.exports=function(a){if(!a)return{};var b={};d(f(a).split("\n"),function(a){var c=a.indexOf(":"),d=f(a.slice(0,c)).toLowerCase();a=f(a.slice(c+1));"undefined"===typeof b[d]?b[d]=a:"[object Array]"===Object.prototype.toString.call(b[d])?b[d].push(a):b[d]=[b[d],a]});return b}},{"for-each":58,trim:59}],61:[function(a,e,c){e.exports=function(){for(var a={},c=0;c<arguments.length;c++){var b=arguments[c],l;for(l in b)f.call(b,l)&&(a[l]=b[l])}return a};
var f=Object.prototype.hasOwnProperty},{}],62:[function(a,e,c){function f(a,b){if("function"!==typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function, not "+typeof b);a.prototype=Object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}});b&&(Object.setPrototypeOf?Object.setPrototypeOf(a,b):a.__proto__=b)}c.__esModule=!0;var d=a("./button.js"),d=d&&d.__esModule?d:{"default":d};a=(a=a("./component.js"))&&a.__esModule?a:{"default":a};
d=function(a){function b(c,d){if(!(this instanceof b))throw new TypeError("Cannot call a class as a function");a.call(this,c,d)}f(b,a);b.prototype.buildCSSClass=function(){return"vjs-big-play-button"};b.prototype.handleClick=function(){this.player_.play()};return b}(d["default"]);d.prototype.controlText_="Play Video";a["default"].registerComponent("BigPlayButton",d);c["default"]=d;e.exports=c["default"]},{"./button.js":63,"./component.js":66}],63:[function(a,e,c){function f(a){if(a&&a.__esModule)return a;
var b={};if(null!=a)for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&(b[c]=a[c]);b["default"]=a;return b}function d(a){return a&&a.__esModule?a:{"default":a}}function g(a,b){if("function"!==typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function, not "+typeof b);a.prototype=Object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}});b&&(Object.setPrototypeOf?Object.setPrototypeOf(a,b):a.__proto__=b)}c.__esModule=!0;var b=
a("./clickable-component.js"),b=d(b),l=a("./component"),k=d(l),l=a("./utils/events.js");f(l);l=a("./utils/fn.js");f(l);var l=a("./utils/log.js"),n=d(l),l=a("global/document");d(l);a=a("object.assign");var p=d(a);a=function(a){function b(c,d){if(!(this instanceof b))throw new TypeError("Cannot call a class as a function");a.call(this,c,d)}g(b,a);b.prototype.createEl=function(){var a=0>=arguments.length||void 0===arguments[0]?"button":arguments[0],b=1>=arguments.length||void 0===arguments[1]?{}:arguments[1],
c=2>=arguments.length||void 0===arguments[2]?{}:arguments[2],b=p["default"]({className:this.buildCSSClass()},b);"button"!==a&&n["default"].warn("Creating a Button with an HTML element of "+a+" is deprecated; use ClickableComponent instead.");c=p["default"]({type:"button","aria-live":"polite"},c);a=k["default"].prototype.createEl.call(this,a,b,c);this.createControlTextEl(a);return a};b.prototype.addChild=function(a){var b=1>=arguments.length||void 0===arguments[1]?{}:arguments[1];n["default"].warn("Adding an actionable (user controllable) child to a Button ("+
this.constructor.name+") is not supported; use a ClickableComponent instead.");return k["default"].prototype.addChild.call(this,a,b)};b.prototype.handleKeyPress=function(b){32!==b.which&&13!==b.which&&a.prototype.handleKeyPress.call(this,b)};return b}(b["default"]);k["default"].registerComponent("Button",a);c["default"]=a;e.exports=c["default"]},{"./clickable-component.js":64,"./component":66,"./utils/events.js":132,"./utils/fn.js":133,"./utils/log.js":136,"global/document":1,"object.assign":45}],
64:[function(a,e,c){function f(a){if(a&&a.__esModule)return a;var b={};if(null!=a)for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&(b[c]=a[c]);b["default"]=a;return b}function d(a){return a&&a.__esModule?a:{"default":a}}function g(a,b){if("function"!==typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function, not "+typeof b);a.prototype=Object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}});b&&(Object.setPrototypeOf?
Object.setPrototypeOf(a,b):a.__proto__=b)}c.__esModule=!0;var b=a("./component"),b=d(b),l=a("./utils/dom.js"),k=f(l),l=a("./utils/events.js"),n=f(l),l=a("./utils/fn.js"),p=f(l),l=a("./utils/log.js"),m=d(l),l=a("global/document"),t=d(l);a=a("object.assign");var w=d(a);a=function(a){function b(c,d){if(!(this instanceof b))throw new TypeError("Cannot call a class as a function");a.call(this,c,d);this.emitTapEvents();this.on("tap",this.handleClick);this.on("click",this.handleClick);this.on("focus",this.handleFocus);
this.on("blur",this.handleBlur)}g(b,a);b.prototype.createEl=function(){var b=0>=arguments.length||void 0===arguments[0]?"div":arguments[0],c=1>=arguments.length||void 0===arguments[1]?{}:arguments[1],d=2>=arguments.length||void 0===arguments[2]?{}:arguments[2],c=w["default"]({className:this.buildCSSClass(),tabIndex:0},c);"button"===b&&m["default"].error("Creating a ClickableComponent with an HTML element of "+b+" is not supported; use a Button instead.");d=w["default"]({role:"button","aria-live":"polite"},
d);b=a.prototype.createEl.call(this,b,c,d);this.createControlTextEl(b);return b};b.prototype.createControlTextEl=function(a){this.controlTextEl_=k.createEl("span",{className:"vjs-control-text"});a&&a.appendChild(this.controlTextEl_);this.controlText(this.controlText_);return this.controlTextEl_};b.prototype.controlText=function(a){if(!a)return this.controlText_||"Need Text";this.controlText_=a;this.controlTextEl_.innerHTML=this.localize(this.controlText_);return this};b.prototype.buildCSSClass=function(){return"vjs-control vjs-button "+
a.prototype.buildCSSClass.call(this)};b.prototype.addChild=function(b){return a.prototype.addChild.call(this,b,1>=arguments.length||void 0===arguments[1]?{}:arguments[1])};b.prototype.handleClick=function(){};b.prototype.handleFocus=function(){n.on(t["default"],"keydown",p.bind(this,this.handleKeyPress))};b.prototype.handleKeyPress=function(b){32===b.which||13===b.which?(b.preventDefault(),this.handleClick(b)):a.prototype.handleKeyPress&&a.prototype.handleKeyPress.call(this,b)};b.prototype.handleBlur=
function(){n.off(t["default"],"keydown",p.bind(this,this.handleKeyPress))};return b}(b["default"]);b["default"].registerComponent("ClickableComponent",a);c["default"]=a;e.exports=c["default"]},{"./component":66,"./utils/dom.js":131,"./utils/events.js":132,"./utils/fn.js":133,"./utils/log.js":136,"global/document":1,"object.assign":45}],65:[function(a,e,c){function f(a,b){if("function"!==typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function, not "+typeof b);a.prototype=
Object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}});b&&(Object.setPrototypeOf?Object.setPrototypeOf(a,b):a.__proto__=b)}c.__esModule=!0;var d=a("./button"),d=d&&d.__esModule?d:{"default":d};a=(a=a("./component"))&&a.__esModule?a:{"default":a};d=function(a){function b(c,d){if(!(this instanceof b))throw new TypeError("Cannot call a class as a function");a.call(this,c,d);this.controlText(d&&d.controlText||this.localize("Close"))}f(b,a);b.prototype.buildCSSClass=
function(){return"vjs-close-button "+a.prototype.buildCSSClass.call(this)};b.prototype.handleClick=function(){this.trigger({type:"close",bubbles:!1})};return b}(d["default"]);a["default"].registerComponent("CloseButton",d);c["default"]=d;e.exports=c["default"]},{"./button":63,"./component":66}],66:[function(a,e,c){function f(a){if(a&&a.__esModule)return a;var b={};if(null!=a)for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&(b[c]=a[c]);b["default"]=a;return b}function d(a){return a&&a.__esModule?
a:{"default":a}}c.__esModule=!0;var g=a("global/window"),b=d(g),g=a("./utils/dom.js"),l=f(g),g=a("./utils/fn.js"),k=f(g),g=a("./utils/guid.js"),n=f(g),g=a("./utils/events.js"),p=f(g),g=a("./utils/log.js"),m=d(g),g=a("./utils/to-title-case.js"),t=d(g),g=a("object.assign"),w=d(g);a=a("./utils/merge-options.js");var v=d(a);a=function(){function a(b,c,d){if(!(this instanceof a))throw new TypeError("Cannot call a class as a function");this.player_=!b&&this.play?b=this:b;this.options_=v["default"]({},this.options_);
c=this.options_=v["default"](this.options_,c);this.id_=c.id||c.el&&c.el.id;this.id_||(this.id_=(b&&b.id&&b.id()||"no_player")+"_component_"+n.newGUID());this.name_=c.name||null;c.el?this.el_=c.el:!1!==c.createEl&&(this.el_=this.createEl());this.children_=[];this.childIndex_={};this.childNameIndex_={};!1!==c.initChildren&&this.initChildren();this.ready(d);!1!==c.reportTouchActivity&&this.enableTouchActivity()}a.prototype.dispose=function(){this.trigger({type:"dispose",bubbles:!1});if(this.children_)for(var a=
this.children_.length-1;0<=a;a--)this.children_[a].dispose&&this.children_[a].dispose();this.childNameIndex_=this.childIndex_=this.children_=null;this.off();this.el_.parentNode&&this.el_.parentNode.removeChild(this.el_);l.removeElData(this.el_);this.el_=null};a.prototype.player=function(){return this.player_};a.prototype.options=function(a){m["default"].warn("this.options() has been deprecated and will be moved to the constructor in 6.0");return a?this.options_=v["default"](this.options_,a):this.options_};
a.prototype.el=function(){return this.el_};a.prototype.createEl=function(a,b,c){return l.createEl(a,b,c)};a.prototype.localize=function(a){var b=this.player_.language&&this.player_.language(),c=this.player_.languages&&this.player_.languages();if(!b||!c)return a;var d=c[b];if(d&&d[a])return d[a];b=b.split("-")[0];return(c=c[b])&&c[a]?c[a]:a};a.prototype.contentEl=function(){return this.contentEl_||this.el_};a.prototype.id=function(){return this.id_};a.prototype.name=function(){return this.name_};a.prototype.children=
function(){return this.children_};a.prototype.getChildById=function(a){return this.childIndex_[a]};a.prototype.getChild=function(a){return this.childNameIndex_[a]};a.prototype.addChild=function(b){var c=1>=arguments.length||void 0===arguments[1]?{}:arguments[1],d=2>=arguments.length||void 0===arguments[2]?this.children_.length:arguments[2],k=void 0,g=void 0;if("string"===typeof b){g=b;c||(c={});!0===c&&(m["default"].warn("Initializing a child component with `true` is deprecated. Children should be defined in an array when possible, but if necessary use an object instead of `true`."),
c={});k=c.componentClass||t["default"](g);c.name=g;var l=a.getComponent(k);if(!l)throw Error("Component "+k+" does not exist");if("function"!==typeof l)return null;k=new l(this.player_||this,c)}else k=b;this.children_.splice(d,0,k);"function"===typeof k.id&&(this.childIndex_[k.id()]=k);(g=g||k.name&&k.name())&&(this.childNameIndex_[g]=k);"function"===typeof k.el&&k.el()&&(c=this.contentEl().children[d]||null,this.contentEl().insertBefore(k.el(),c));return k};a.prototype.removeChild=function(a){"string"===
typeof a&&(a=this.getChild(a));if(a&&this.children_){for(var b=!1,c=this.children_.length-1;0<=c;c--)if(this.children_[c]===a){b=!0;this.children_.splice(c,1);break}b&&(this.childIndex_[a.id()]=null,this.childNameIndex_[a.name()]=null,(b=a.el())&&b.parentNode===this.contentEl()&&this.contentEl().removeChild(a.el()))}};a.prototype.initChildren=function(){var b=this,c=this.options_.children;c&&function(){var d=b.options_,k=void 0,g=a.getComponent("Tech"),k=Array.isArray(c)?c:Object.keys(c);k.concat(Object.keys(b.options_).filter(function(a){return!k.some(function(b){return"string"===
typeof b?a===b:a===b.name})})).map(function(a){var d=void 0,k=void 0;"string"===typeof a?(d=a,k=c[d]||b.options_[d]||{}):(d=a.name,k=a);return{name:d,opts:k}}).filter(function(b){return(b=a.getComponent(b.opts.componentClass||t["default"](b.name)))&&!g.isTech(b)}).forEach(function(a){var c=a.name;a=a.opts;void 0!==d[c]&&(a=d[c]);!1!==a&&(!0===a&&(a={}),a.playerOptions=b.options_.playerOptions,(a=b.addChild(c,a))&&(b[c]=a))})}()};a.prototype.buildCSSClass=function(){return""};a.prototype.on=function(a,
b,c){var d=this;if("string"===typeof a||Array.isArray(a))p.on(this.el_,a,k.bind(this,b));else(function(){var g=k.bind(d,c),l=function(){return d.off(a,b,g)};l.guid=g.guid;d.on("dispose",l);var e=function(){return d.off("dispose",l)};e.guid=g.guid;a.nodeName?(p.on(a,b,g),p.on(a,"dispose",e)):"function"===typeof a.on&&(a.on(b,g),a.on("dispose",e))})();return this};a.prototype.off=function(a,b,c){!a||"string"===typeof a||Array.isArray(a)?p.off(this.el_,a,b):(c=k.bind(this,c),this.off("dispose",c),a.nodeName?
(p.off(a,b,c),p.off(a,"dispose",c)):(a.off(b,c),a.off("dispose",c)));return this};a.prototype.one=function(a,b,c){var d=this,g=arguments;if("string"===typeof a||Array.isArray(a))p.one(this.el_,a,k.bind(this,b));else(function(){var l=a,e=b,f=k.bind(d,c),m=function F(){d.off(l,e,F);f.apply(null,g)};m.guid=f.guid;d.on(l,e,m)})();return this};a.prototype.trigger=function(a,b){p.trigger(this.el_,a,b);return this};a.prototype.ready=function(a){var b=1>=arguments.length||void 0===arguments[1]?!1:arguments[1];
a&&(this.isReady_?b?a.call(this):this.setTimeout(a,1):(this.readyQueue_=this.readyQueue_||[],this.readyQueue_.push(a)));return this};a.prototype.triggerReady=function(){this.isReady_=!0;this.setTimeout(function(){var a=this.readyQueue_;this.readyQueue_=[];a&&0<a.length&&a.forEach(function(a){a.call(this)},this);this.trigger("ready")},1)};a.prototype.$=function(a,b){return l.$(a,b||this.contentEl())};a.prototype.$$=function(a,b){return l.$$(a,b||this.contentEl())};a.prototype.hasClass=function(a){return l.hasElClass(this.el_,
a)};a.prototype.addClass=function(a){l.addElClass(this.el_,a);return this};a.prototype.removeClass=function(a){l.removeElClass(this.el_,a);return this};a.prototype.toggleClass=function(a,b){l.toggleElClass(this.el_,a,b);return this};a.prototype.show=function(){this.removeClass("vjs-hidden");return this};a.prototype.hide=function(){this.addClass("vjs-hidden");return this};a.prototype.lockShowing=function(){this.addClass("vjs-lock-showing");return this};a.prototype.unlockShowing=function(){this.removeClass("vjs-lock-showing");
return this};a.prototype.width=function(a,b){return this.dimension("width",a,b)};a.prototype.height=function(a,b){return this.dimension("height",a,b)};a.prototype.dimensions=function(a,b){return this.width(a,!0).height(b)};a.prototype.dimension=function(a,b,c){if(void 0!==b){if(null===b||b!==b)b=0;-1!==(""+b).indexOf("%")||-1!==(""+b).indexOf("px")?this.el_.style[a]=b:this.el_.style[a]="auto"===b?"":b+"px";c||this.trigger("resize");return this}if(!this.el_)return 0;b=this.el_.style[a];c=b.indexOf("px");
return-1!==c?parseInt(b.slice(0,c),10):parseInt(this.el_["offset"+t["default"](a)],10)};a.prototype.emitTapEvents=function(){var a=0,b=null,c=void 0;this.on("touchstart",function(d){1===d.touches.length&&(b=w["default"]({},d.touches[0]),a=(new Date).getTime(),c=!0)});this.on("touchmove",function(a){if(1<a.touches.length)c=!1;else if(b){var d=a.touches[0].pageX-b.pageX;a=a.touches[0].pageY-b.pageY;10<Math.sqrt(d*d+a*a)&&(c=!1)}});var d=function(){c=!1};this.on("touchleave",d);this.on("touchcancel",
d);this.on("touchend",function(d){b=null;!0===c&&200>(new Date).getTime()-a&&(d.preventDefault(),this.trigger("tap"))})};a.prototype.enableTouchActivity=function(){if(this.player()&&this.player().reportUserActivity){var a=k.bind(this.player(),this.player().reportUserActivity),b=void 0;this.on("touchstart",function(){a();this.clearInterval(b);b=this.setInterval(a,250)});var c=function(c){a();this.clearInterval(b)};this.on("touchmove",a);this.on("touchend",c);this.on("touchcancel",c)}};a.prototype.setTimeout=
function(a,c){a=k.bind(this,a);var d=b["default"].setTimeout(a,c),g=function(){this.clearTimeout(d)};g.guid="vjs-timeout-"+d;this.on("dispose",g);return d};a.prototype.clearTimeout=function(a){b["default"].clearTimeout(a);var c=function(){};c.guid="vjs-timeout-"+a;this.off("dispose",c);return a};a.prototype.setInterval=function(a,c){a=k.bind(this,a);var d=b["default"].setInterval(a,c),g=function(){this.clearInterval(d)};g.guid="vjs-interval-"+d;this.on("dispose",g);return d};a.prototype.clearInterval=
function(a){b["default"].clearInterval(a);var c=function(){};c.guid="vjs-interval-"+a;this.off("dispose",c);return a};a.registerComponent=function(b,c){a.components_||(a.components_={});return a.components_[b]=c};a.getComponent=function(c){if(a.components_&&a.components_[c])return a.components_[c];if(b["default"]&&b["default"].videojs&&b["default"].videojs[c])return m["default"].warn("The "+c+" component was added to the videojs object when it should be registered using videojs.registerComponent(name, component)"),
b["default"].videojs[c]};a.extend=function(b){b=b||{};m["default"].warn("Component.extend({}) has been deprecated, use videojs.extend(Component, {}) instead");var c=b.init||b.init||this.prototype.init||this.prototype.init||function(){},d=function(){c.apply(this,arguments)};d.prototype=Object.create(this.prototype);d.prototype.constructor=d;d.extend=a.extend;for(var k in b)b.hasOwnProperty(k)&&(d.prototype[k]=b[k]);return d};return a}();a.registerComponent("Component",a);c["default"]=a;e.exports=c["default"]},
{"./utils/dom.js":131,"./utils/events.js":132,"./utils/fn.js":133,"./utils/guid.js":135,"./utils/log.js":136,"./utils/merge-options.js":137,"./utils/to-title-case.js":140,"global/window":2,"object.assign":45}],67:[function(a,e,c){function f(a){return a&&a.__esModule?a:{"default":a}}function d(a,b){if("function"!==typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function, not "+typeof b);a.prototype=Object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,
configurable:!0}});b&&(Object.setPrototypeOf?Object.setPrototypeOf(a,b):a.__proto__=b)}c.__esModule=!0;var g=a("../component.js"),g=f(g),b=a("./play-toggle.js");f(b);b=a("./time-controls/current-time-display.js");f(b);b=a("./time-controls/duration-display.js");f(b);b=a("./time-controls/time-divider.js");f(b);b=a("./time-controls/remaining-time-display.js");f(b);b=a("./live-display.js");f(b);b=a("./progress-control/progress-control.js");f(b);b=a("./fullscreen-toggle.js");f(b);b=a("./volume-control/volume-control.js");
f(b);b=a("./volume-menu-button.js");f(b);b=a("./mute-toggle.js");f(b);b=a("./text-track-controls/chapters-button.js");f(b);b=a("./text-track-controls/subtitles-button.js");f(b);b=a("./text-track-controls/captions-button.js");f(b);b=a("./playback-rate-menu/playback-rate-menu-button.js");f(b);a=a("./spacer-controls/custom-control-spacer.js");f(a);a=function(a){function b(){if(!(this instanceof b))throw new TypeError("Cannot call a class as a function");a.apply(this,arguments)}d(b,a);b.prototype.createEl=
function(){return a.prototype.createEl.call(this,"div",{className:"vjs-control-bar"},{role:"group"})};return b}(g["default"]);a.prototype.options_={loadEvent:"play",children:"playToggle volumeMenuButton currentTimeDisplay timeDivider durationDisplay progressControl liveDisplay remainingTimeDisplay customControlSpacer playbackRateMenuButton chaptersButton subtitlesButton captionsButton fullscreenToggle".split(" ")};g["default"].registerComponent("ControlBar",a);c["default"]=a;e.exports=c["default"]},
{"../component.js":66,"./fullscreen-toggle.js":68,"./live-display.js":69,"./mute-toggle.js":70,"./play-toggle.js":71,"./playback-rate-menu/playback-rate-menu-button.js":72,"./progress-control/progress-control.js":77,"./spacer-controls/custom-control-spacer.js":79,"./text-track-controls/captions-button.js":82,"./text-track-controls/chapters-button.js":83,"./text-track-controls/subtitles-button.js":86,"./time-controls/current-time-display.js":89,"./time-controls/duration-display.js":90,"./time-controls/remaining-time-display.js":91,
"./time-controls/time-divider.js":92,"./volume-control/volume-control.js":94,"./volume-menu-button.js":96}],68:[function(a,e,c){function f(a,b){if("function"!==typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function, not "+typeof b);a.prototype=Object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}});b&&(Object.setPrototypeOf?Object.setPrototypeOf(a,b):a.__proto__=b)}c.__esModule=!0;var d=a("../button.js"),d=d&&d.__esModule?
d:{"default":d};a=(a=a("../component.js"))&&a.__esModule?a:{"default":a};d=function(a){function b(){if(!(this instanceof b))throw new TypeError("Cannot call a class as a function");a.apply(this,arguments)}f(b,a);b.prototype.buildCSSClass=function(){return"vjs-fullscreen-control "+a.prototype.buildCSSClass.call(this)};b.prototype.handleClick=function(){this.player_.isFullscreen()?(this.player_.exitFullscreen(),this.controlText("Fullscreen")):(this.player_.requestFullscreen(),this.controlText("Non-Fullscreen"))};
return b}(d["default"]);d.prototype.controlText_="Fullscreen";a["default"].registerComponent("FullscreenToggle",d);c["default"]=d;e.exports=c["default"]},{"../button.js":63,"../component.js":66}],69:[function(a,e,c){function f(a,c){if("function"!==typeof c&&null!==c)throw new TypeError("Super expression must either be null or a function, not "+typeof c);a.prototype=Object.create(c&&c.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}});c&&(Object.setPrototypeOf?Object.setPrototypeOf(a,
c):a.__proto__=c)}c.__esModule=!0;var d=a("../component"),d=d&&d.__esModule?d:{"default":d},g=function(a){if(a&&a.__esModule)return a;var c={};if(null!=a)for(var d in a)Object.prototype.hasOwnProperty.call(a,d)&&(c[d]=a[d]);c["default"]=a;return c}(a("../utils/dom.js"));a=function(a){function c(d,g){if(!(this instanceof c))throw new TypeError("Cannot call a class as a function");a.call(this,d,g);this.updateShowing();this.on(this.player(),"durationchange",this.updateShowing)}f(c,a);c.prototype.createEl=
function(){var c=a.prototype.createEl.call(this,"div",{className:"vjs-live-control vjs-control"});this.contentEl_=g.createEl("div",{className:"vjs-live-display",innerHTML:'<span class="vjs-control-text">'+this.localize("Stream Type")+"</span>"+this.localize("LIVE")},{"aria-live":"off"});c.appendChild(this.contentEl_);return c};c.prototype.updateShowing=function(){Infinity===this.player().duration()?this.show():this.hide()};return c}(d["default"]);d["default"].registerComponent("LiveDisplay",a);c["default"]=
a;e.exports=c["default"]},{"../component":66,"../utils/dom.js":131}],70:[function(a,e,c){function f(a,b){if("function"!==typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function, not "+typeof b);a.prototype=Object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}});b&&(Object.setPrototypeOf?Object.setPrototypeOf(a,b):a.__proto__=b)}c.__esModule=!0;var d=a("../button"),d=d&&d.__esModule?d:{"default":d},g=a("../component"),g=g&&
g.__esModule?g:{"default":g},b=function(a){if(a&&a.__esModule)return a;var b={};if(null!=a)for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&(b[c]=a[c]);b["default"]=a;return b}(a("../utils/dom.js"));a=function(a){function c(b,d){if(!(this instanceof c))throw new TypeError("Cannot call a class as a function");a.call(this,b,d);this.on(b,"volumechange",this.update);b.tech_&&!1===b.tech_.featuresVolumeControl&&this.addClass("vjs-hidden");this.on(b,"loadstart",function(){this.update();!1===b.tech_.featuresVolumeControl?
this.addClass("vjs-hidden"):this.removeClass("vjs-hidden")})}f(c,a);c.prototype.buildCSSClass=function(){return"vjs-mute-control "+a.prototype.buildCSSClass.call(this)};c.prototype.handleClick=function(){this.player_.muted(this.player_.muted()?!1:!0)};c.prototype.update=function(){var a=this.player_.volume(),c=3;0===a||this.player_.muted()?c=0:.33>a?c=1:.67>a&&(c=2);a=this.player_.muted()?"Unmute":"Mute";this.controlText()!==a&&this.controlText(a);for(a=0;4>a;a++)b.removeElClass(this.el_,"vjs-vol-"+
a);b.addElClass(this.el_,"vjs-vol-"+c)};return c}(d["default"]);a.prototype.controlText_="Mute";g["default"].registerComponent("MuteToggle",a);c["default"]=a;e.exports=c["default"]},{"../button":63,"../component":66,"../utils/dom.js":131}],71:[function(a,e,c){function f(a,b){if("function"!==typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function, not "+typeof b);a.prototype=Object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}});
b&&(Object.setPrototypeOf?Object.setPrototypeOf(a,b):a.__proto__=b)}c.__esModule=!0;var d=a("../button.js"),d=d&&d.__esModule?d:{"default":d};a=(a=a("../component.js"))&&a.__esModule?a:{"default":a};d=function(a){function b(c,d){if(!(this instanceof b))throw new TypeError("Cannot call a class as a function");a.call(this,c,d);this.on(c,"play",this.handlePlay);this.on(c,"pause",this.handlePause)}f(b,a);b.prototype.buildCSSClass=function(){return"vjs-play-control "+a.prototype.buildCSSClass.call(this)};
b.prototype.handleClick=function(){this.player_.paused()?this.player_.play():this.player_.pause()};b.prototype.handlePlay=function(){this.removeClass("vjs-paused");this.addClass("vjs-playing");this.controlText("Pause")};b.prototype.handlePause=function(){this.removeClass("vjs-playing");this.addClass("vjs-paused");this.controlText("Play")};return b}(d["default"]);d.prototype.controlText_="Play";a["default"].registerComponent("PlayToggle",d);c["default"]=d;e.exports=c["default"]},{"../button.js":63,
"../component.js":66}],72:[function(a,e,c){function f(a){return a&&a.__esModule?a:{"default":a}}function d(a,b){if("function"!==typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function, not "+typeof b);a.prototype=Object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}});b&&(Object.setPrototypeOf?Object.setPrototypeOf(a,b):a.__proto__=b)}c.__esModule=!0;var g=a("../../menu/menu-button.js"),g=f(g),b=a("../../menu/menu.js"),l=f(b),
b=a("./playback-rate-menu-item.js"),k=f(b),b=a("../../component.js"),b=f(b),n=function(a){if(a&&a.__esModule)return a;var b={};if(null!=a)for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&(b[c]=a[c]);b["default"]=a;return b}(a("../../utils/dom.js"));a=function(a){function b(c,d){if(!(this instanceof b))throw new TypeError("Cannot call a class as a function");a.call(this,c,d);this.updateVisibility();this.updateLabel();this.on(c,"loadstart",this.updateVisibility);this.on(c,"ratechange",this.updateLabel)}
d(b,a);b.prototype.createEl=function(){var b=a.prototype.createEl.call(this);this.labelEl_=n.createEl("div",{className:"vjs-playback-rate-value",innerHTML:1});b.appendChild(this.labelEl_);return b};b.prototype.buildCSSClass=function(){return"vjs-playback-rate "+a.prototype.buildCSSClass.call(this)};b.prototype.createMenu=function(){var a=new l["default"](this.player()),b=this.playbackRates();if(b)for(var c=b.length-1;0<=c;c--)a.addChild(new k["default"](this.player(),{rate:b[c]+"x"}));return a};b.prototype.updateARIAAttributes=
function(){this.el().setAttribute("aria-valuenow",this.player().playbackRate())};b.prototype.handleClick=function(){for(var a=this.player().playbackRate(),b=this.playbackRates(),c=b[0],d=0;d<b.length;d++)if(b[d]>a){c=b[d];break}this.player().playbackRate(c)};b.prototype.playbackRates=function(){return this.options_.playbackRates||this.options_.playerOptions&&this.options_.playerOptions.playbackRates};b.prototype.playbackRateSupported=function(){return this.player().tech_&&this.player().tech_.featuresPlaybackRate&&
this.playbackRates()&&0<this.playbackRates().length};b.prototype.updateVisibility=function(){this.playbackRateSupported()?this.removeClass("vjs-hidden"):this.addClass("vjs-hidden")};b.prototype.updateLabel=function(){this.playbackRateSupported()&&(this.labelEl_.innerHTML=this.player().playbackRate()+"x")};return b}(g["default"]);a.prototype.controlText_="Playback Rate";b["default"].registerComponent("PlaybackRateMenuButton",a);c["default"]=a;e.exports=c["default"]},{"../../component.js":66,"../../menu/menu-button.js":103,
"../../menu/menu.js":105,"../../utils/dom.js":131,"./playback-rate-menu-item.js":73}],73:[function(a,e,c){function f(a,b){if("function"!==typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function, not "+typeof b);a.prototype=Object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}});b&&(Object.setPrototypeOf?Object.setPrototypeOf(a,b):a.__proto__=b)}c.__esModule=!0;var d=a("../../menu/menu-item.js"),d=d&&d.__esModule?d:{"default":d};
a=(a=a("../../component.js"))&&a.__esModule?a:{"default":a};d=function(a){function b(c,d){if(!(this instanceof b))throw new TypeError("Cannot call a class as a function");var e=d.rate,f=parseFloat(e,10);d.label=e;d.selected=1===f;a.call(this,c,d);this.label=e;this.rate=f;this.on(c,"ratechange",this.update)}f(b,a);b.prototype.handleClick=function(){a.prototype.handleClick.call(this);this.player().playbackRate(this.rate)};b.prototype.update=function(){this.selected(this.player().playbackRate()===this.rate)};
return b}(d["default"]);d.prototype.contentElType="button";a["default"].registerComponent("PlaybackRateMenuItem",d);c["default"]=d;e.exports=c["default"]},{"../../component.js":66,"../../menu/menu-item.js":104}],74:[function(a,e,c){function f(a,c){if("function"!==typeof c&&null!==c)throw new TypeError("Super expression must either be null or a function, not "+typeof c);a.prototype=Object.create(c&&c.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}});c&&(Object.setPrototypeOf?
Object.setPrototypeOf(a,c):a.__proto__=c)}c.__esModule=!0;var d=a("../../component.js"),d=d&&d.__esModule?d:{"default":d},g=function(a){if(a&&a.__esModule)return a;var c={};if(null!=a)for(var d in a)Object.prototype.hasOwnProperty.call(a,d)&&(c[d]=a[d]);c["default"]=a;return c}(a("../../utils/dom.js"));a=function(a){function c(d,g){if(!(this instanceof c))throw new TypeError("Cannot call a class as a function");a.call(this,d,g);this.on(d,"progress",this.update)}f(c,a);c.prototype.createEl=function(){return a.prototype.createEl.call(this,
"div",{className:"vjs-load-progress",innerHTML:'<span class="vjs-control-text"><span>'+this.localize("Loaded")+"</span>: 0%</span>"})};c.prototype.update=function(){var a=this.player_.buffered(),b=this.player_.duration(),c=this.player_.bufferedEnd(),d=this.el_.children,e=function(a,b){var c=a/b||0;return 100*(1<=c?1:c)+"%"};this.el_.style.width=e(c,b);for(b=0;b<a.length;b++){var f=a.start(b),l=a.end(b),u=d[b];u||(u=this.el_.appendChild(g.createEl()));u.style.left=e(f,c);u.style.width=e(l-f,c)}for(b=
d.length;b>a.length;b--)this.el_.removeChild(d[b-1])};return c}(d["default"]);d["default"].registerComponent("LoadProgressBar",a);c["default"]=a;e.exports=c["default"]},{"../../component.js":66,"../../utils/dom.js":131}],75:[function(a,e,c){function f(a){if(a&&a.__esModule)return a;var b={};if(null!=a)for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&(b[c]=a[c]);b["default"]=a;return b}function d(a){return a&&a.__esModule?a:{"default":a}}function g(a,b){if("function"!==typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function, not "+
typeof b);a.prototype=Object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}});b&&(Object.setPrototypeOf?Object.setPrototypeOf(a,b):a.__proto__=b)}c.__esModule=!0;var b=a("../../component.js"),b=d(b),l=a("../../utils/dom.js"),k=f(l),l=a("../../utils/fn.js"),n=f(l),l=a("../../utils/format-time.js"),p=d(l);a=a("lodash-compat/function/throttle");var m=d(a);a=function(a){function b(c,d){var k=this;if(!(this instanceof b))throw new TypeError("Cannot call a class as a function");
a.call(this,c,d);this.update(0,0);c.on("ready",function(){k.on(c.controlBar.progressControl.el(),"mousemove",m["default"](n.bind(k,k.handleMouseMove),25))})}g(b,a);b.prototype.createEl=function(){return a.prototype.createEl.call(this,"div",{className:"vjs-mouse-display"})};b.prototype.handleMouseMove=function(a){var b=this.player_.duration(),b=this.calculateDistance(a)*b;a=a.pageX-k.findElPosition(this.el().parentNode).left;this.update(b,a)};b.prototype.update=function(a,b){var c=p["default"](a,this.player_.duration());
this.el().style.left=b+"px";this.el().setAttribute("data-current-time",c)};b.prototype.calculateDistance=function(a){return k.getPointerPosition(this.el().parentNode,a).x};return b}(b["default"]);b["default"].registerComponent("MouseTimeDisplay",a);c["default"]=a;e.exports=c["default"]},{"../../component.js":66,"../../utils/dom.js":131,"../../utils/fn.js":133,"../../utils/format-time.js":134,"lodash-compat/function/throttle":7}],76:[function(a,e,c){function f(a,b){if("function"!==typeof b&&null!==
b)throw new TypeError("Super expression must either be null or a function, not "+typeof b);a.prototype=Object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}});b&&(Object.setPrototypeOf?Object.setPrototypeOf(a,b):a.__proto__=b)}c.__esModule=!0;var d=a("../../component.js"),d=d&&d.__esModule?d:{"default":d},g=function(a){if(a&&a.__esModule)return a;var b={};if(null!=a)for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&(b[c]=a[c]);b["default"]=a;return b}(a("../../utils/fn.js")),
b=(a=a("../../utils/format-time.js"))&&a.__esModule?a:{"default":a};a=function(a){function c(b,d){if(!(this instanceof c))throw new TypeError("Cannot call a class as a function");a.call(this,b,d);this.updateDataAttr();this.on(b,"timeupdate",this.updateDataAttr);b.ready(g.bind(this,this.updateDataAttr))}f(c,a);c.prototype.createEl=function(){return a.prototype.createEl.call(this,"div",{className:"vjs-play-progress vjs-slider-bar",innerHTML:'<span class="vjs-control-text"><span>'+this.localize("Progress")+
"</span>: 0%</span>"})};c.prototype.updateDataAttr=function(){var a=this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime();this.el_.setAttribute("data-current-time",b["default"](a,this.player_.duration()))};return c}(d["default"]);d["default"].registerComponent("PlayProgressBar",a);c["default"]=a;e.exports=c["default"]},{"../../component.js":66,"../../utils/fn.js":133,"../../utils/format-time.js":134}],77:[function(a,e,c){function f(a){return a&&a.__esModule?a:{"default":a}}
function d(a,b){if("function"!==typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function, not "+typeof b);a.prototype=Object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}});b&&(Object.setPrototypeOf?Object.setPrototypeOf(a,b):a.__proto__=b)}c.__esModule=!0;var g=a("../../component.js"),g=f(g),b=a("./seek-bar.js");f(b);a=a("./mouse-time-display.js");f(a);a=function(a){function b(){if(!(this instanceof b))throw new TypeError("Cannot call a class as a function");
a.apply(this,arguments)}d(b,a);b.prototype.createEl=function(){return a.prototype.createEl.call(this,"div",{className:"vjs-progress-control vjs-control"})};return b}(g["default"]);a.prototype.options_={children:["seekBar"]};g["default"].registerComponent("ProgressControl",a);c["default"]=a;e.exports=c["default"]},{"../../component.js":66,"./mouse-time-display.js":75,"./seek-bar.js":78}],78:[function(a,e,c){function f(a){return a&&a.__esModule?a:{"default":a}}function d(a,b){if("function"!==typeof b&&
null!==b)throw new TypeError("Super expression must either be null or a function, not "+typeof b);a.prototype=Object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}});b&&(Object.setPrototypeOf?Object.setPrototypeOf(a,b):a.__proto__=b)}c.__esModule=!0;var g=a("../../slider/slider.js"),g=f(g),b=a("../../component.js"),b=f(b),l=a("./load-progress-bar.js");f(l);l=a("./play-progress-bar.js");f(l);var k=function(a){if(a&&a.__esModule)return a;var b={};if(null!=a)for(var c in a)Object.prototype.hasOwnProperty.call(a,
c)&&(b[c]=a[c]);b["default"]=a;return b}(a("../../utils/fn.js")),l=a("../../utils/format-time.js"),n=f(l);a=a("object.assign");f(a);a=function(a){function b(c,d){if(!(this instanceof b))throw new TypeError("Cannot call a class as a function");a.call(this,c,d);this.on(c,"timeupdate",this.updateARIAAttributes);c.ready(k.bind(this,this.updateARIAAttributes))}d(b,a);var c;b.prototype.createEl=function(){return a.prototype.createEl.call(this,"div",{className:"vjs-progress-holder"},{"aria-label":"video progress bar"})};
b.prototype.updateARIAAttributes=function(){var a=this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime();this.el_.setAttribute("aria-valuenow",(100*this.getPercent()).toFixed(2));this.el_.setAttribute("aria-valuetext",n["default"](a,this.player_.duration()))};b.prototype.getPercent=function(){var a=this.player_.currentTime()/this.player_.duration();return 1<=a?1:a};b.prototype.handleMouseDown=function(b){a.prototype.handleMouseDown.call(this,b);this.player_.scrubbing(!0);
this.videoWasPlaying=!this.player_.paused();this.player_.pause()};b.prototype.handleMouseMove=function(a){a=this.calculateDistance(a)*this.player_.duration();a===this.player_.duration()&&(a-=.1);c=a;var b=document.getElementsByClassName("vjs-play-progress")[0],d=this;setTimeout(function(){b.style.width=c/d.player_.duration()*100+"%"},0)};b.prototype.handleMouseUp=function(b){this.player_.currentTime(c);a.prototype.handleMouseUp.call(this,b);this.player_.scrubbing(!1);this.videoWasPlaying&&this.player_.play()};
b.prototype.stepForward=function(){this.player_.currentTime(this.player_.currentTime()+5)};b.prototype.stepBack=function(){this.player_.currentTime(this.player_.currentTime()-5)};return b}(g["default"]);a.prototype.options_={children:["loadProgressBar","mouseTimeDisplay","playProgressBar"],barName:"playProgressBar"};a.prototype.playerEvent="timeupdate";b["default"].registerComponent("SeekBar",a);c["default"]=a;e.exports=c["default"]},{"../../component.js":66,"../../slider/slider.js":113,"../../utils/fn.js":133,
"../../utils/format-time.js":134,"./load-progress-bar.js":74,"./play-progress-bar.js":76,"object.assign":45}],79:[function(a,e,c){function f(a,b){if("function"!==typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function, not "+typeof b);a.prototype=Object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}});b&&(Object.setPrototypeOf?Object.setPrototypeOf(a,b):a.__proto__=b)}c.__esModule=!0;var d=a("./spacer.js"),d=d&&d.__esModule?
d:{"default":d};a=(a=a("../../component.js"))&&a.__esModule?a:{"default":a};d=function(a){function b(){if(!(this instanceof b))throw new TypeError("Cannot call a class as a function");a.apply(this,arguments)}f(b,a);b.prototype.buildCSSClass=function(){return"vjs-custom-control-spacer "+a.prototype.buildCSSClass.call(this)};b.prototype.createEl=function(){var b=a.prototype.createEl.call(this,{className:this.buildCSSClass()});b.innerHTML="&nbsp;";return b};return b}(d["default"]);a["default"].registerComponent("CustomControlSpacer",
d);c["default"]=d;e.exports=c["default"]},{"../../component.js":66,"./spacer.js":80}],80:[function(a,e,c){function f(a,b){if("function"!==typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function, not "+typeof b);a.prototype=Object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}});b&&(Object.setPrototypeOf?Object.setPrototypeOf(a,b):a.__proto__=b)}c.__esModule=!0;a=(a=a("../../component.js"))&&a.__esModule?a:{"default":a};var d=
function(a){function b(){if(!(this instanceof b))throw new TypeError("Cannot call a class as a function");a.apply(this,arguments)}f(b,a);b.prototype.buildCSSClass=function(){return"vjs-spacer "+a.prototype.buildCSSClass.call(this)};b.prototype.createEl=function(){return a.prototype.createEl.call(this,"div",{className:this.buildCSSClass()})};return b}(a["default"]);a["default"].registerComponent("Spacer",d);c["default"]=d;e.exports=c["default"]},{"../../component.js":66}],81:[function(a,e,c){function f(a,
b){if("function"!==typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function, not "+typeof b);a.prototype=Object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}});b&&(Object.setPrototypeOf?Object.setPrototypeOf(a,b):a.__proto__=b)}c.__esModule=!0;var d=a("./text-track-menu-item.js"),d=d&&d.__esModule?d:{"default":d};a=(a=a("../../component.js"))&&a.__esModule?a:{"default":a};d=function(a){function b(c,d){if(!(this instanceof b))throw new TypeError("Cannot call a class as a function");
d.track={kind:d.kind,player:c,label:d.kind+" settings",selectable:!1,"default":!1,mode:"disabled"};d.selectable=!1;a.call(this,c,d);this.addClass("vjs-texttrack-settings");this.controlText(", opens "+d.kind+" settings dialog")}f(b,a);b.prototype.handleClick=function(){this.player().getChild("textTrackSettings").show();this.player().getChild("textTrackSettings").el_.focus()};return b}(d["default"]);a["default"].registerComponent("CaptionSettingsMenuItem",d);c["default"]=d;e.exports=c["default"]},{"../../component.js":66,
"./text-track-menu-item.js":88}],82:[function(a,e,c){function f(a){return a&&a.__esModule?a:{"default":a}}function d(a,b){if("function"!==typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function, not "+typeof b);a.prototype=Object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}});b&&(Object.setPrototypeOf?Object.setPrototypeOf(a,b):a.__proto__=b)}c.__esModule=!0;var g=a("./text-track-button.js"),g=f(g),b=a("../../component.js"),
b=f(b);a=a("./caption-settings-menu-item.js");var l=f(a);a=function(a){function b(c,d,g){if(!(this instanceof b))throw new TypeError("Cannot call a class as a function");a.call(this,c,d,g);this.el_.setAttribute("aria-label","Captions Menu")}d(b,a);b.prototype.buildCSSClass=function(){return"vjs-captions-button "+a.prototype.buildCSSClass.call(this)};b.prototype.update=function(){var b=2;a.prototype.update.call(this);this.player().tech_&&this.player().tech_.featuresNativeTextTracks&&(b=1);this.items&&
this.items.length>b?this.show():this.hide()};b.prototype.createItems=function(){var b=[];this.player().tech_&&this.player().tech_.featuresNativeTextTracks||b.push(new l["default"](this.player_,{kind:this.kind_}));return a.prototype.createItems.call(this,b)};return b}(g["default"]);a.prototype.kind_="captions";a.prototype.controlText_="Captions";b["default"].registerComponent("CaptionsButton",a);c["default"]=a;e.exports=c["default"]},{"../../component.js":66,"./caption-settings-menu-item.js":81,"./text-track-button.js":87}],
83:[function(a,e,c){function f(a){if(a&&a.__esModule)return a;var b={};if(null!=a)for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&(b[c]=a[c]);b["default"]=a;return b}function d(a){return a&&a.__esModule?a:{"default":a}}function g(a,b){if("function"!==typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function, not "+typeof b);a.prototype=Object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}});b&&(Object.setPrototypeOf?
Object.setPrototypeOf(a,b):a.__proto__=b)}c.__esModule=!0;var b=a("./text-track-button.js"),b=d(b),l=a("../../component.js"),l=d(l),k=a("./text-track-menu-item.js"),n=d(k),k=a("./chapters-track-menu-item.js"),p=d(k),k=a("../../menu/menu.js"),m=d(k),k=a("../../utils/dom.js"),t=f(k),k=a("../../utils/fn.js");f(k);var k=a("../../utils/to-title-case.js"),w=d(k);a=a("global/window");d(a);a=function(a){function b(c,d,g){if(!(this instanceof b))throw new TypeError("Cannot call a class as a function");a.call(this,
c,d,g);this.el_.setAttribute("aria-label","Chapters Menu")}g(b,a);b.prototype.buildCSSClass=function(){return"vjs-chapters-button "+a.prototype.buildCSSClass.call(this)};b.prototype.createItems=function(){var a=[],b=this.player_.textTracks();if(!b)return a;for(var c=0;c<b.length;c++){var d=b[c];d.kind===this.kind_&&a.push(new n["default"](this.player_,{track:d}))}return a};b.prototype.createMenu=function(){for(var a=this,b=this.player_.textTracks()||[],c=void 0,d=this.items=[],g=0,e=b.length;g<e;g++){var f=
b[g];if(f.kind===this.kind_){c=f;break}}b=this.menu;void 0===b&&(b=new m["default"](this.player_),b.contentEl().appendChild(t.createEl("li",{className:"vjs-menu-title",innerHTML:w["default"](this.kind_),tabIndex:-1})));c&&null==c.cues&&(c.mode="hidden",(g=this.player_.remoteTextTrackEls().getTrackElementByTrack_(c))&&g.addEventListener("load",function(b){return a.update()}));if(c&&c.cues&&0<c.cues.length){for(var e=c.cues,k=void 0,g=0,f=e.length;g<f;g++)k=e[g],k=new p["default"](this.player_,{track:c,
cue:k}),d.push(k),b.addChild(k);this.addChild(b)}0<this.items.length&&this.show();return b};return b}(b["default"]);a.prototype.kind_="chapters";a.prototype.controlText_="Chapters";l["default"].registerComponent("ChaptersButton",a);c["default"]=a;e.exports=c["default"]},{"../../component.js":66,"../../menu/menu.js":105,"../../utils/dom.js":131,"../../utils/fn.js":133,"../../utils/to-title-case.js":140,"./chapters-track-menu-item.js":84,"./text-track-button.js":87,"./text-track-menu-item.js":88,"global/window":2}],
84:[function(a,e,c){function f(a,b){if("function"!==typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function, not "+typeof b);a.prototype=Object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}});b&&(Object.setPrototypeOf?Object.setPrototypeOf(a,b):a.__proto__=b)}c.__esModule=!0;var d=a("../../menu/menu-item.js"),d=d&&d.__esModule?d:{"default":d},g=a("../../component.js"),g=g&&g.__esModule?g:{"default":g},b=function(a){if(a&&
a.__esModule)return a;var b={};if(null!=a)for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&(b[c]=a[c]);b["default"]=a;return b}(a("../../utils/fn.js"));a=function(a){function c(d,g){if(!(this instanceof c))throw new TypeError("Cannot call a class as a function");var e=g.track,f=g.cue,w=d.currentTime();g.label=f.text;g.selected=f.startTime<=w&&w<f.endTime;a.call(this,d,g);this.track=e;this.cue=f;e.addEventListener("cuechange",b.bind(this,this.update))}f(c,a);c.prototype.handleClick=function(){a.prototype.handleClick.call(this);
this.player_.currentTime(this.cue.startTime);this.update(this.cue.startTime)};c.prototype.update=function(){var a=this.cue,b=this.player_.currentTime();this.selected(a.startTime<=b&&b<a.endTime)};return c}(d["default"]);g["default"].registerComponent("ChaptersTrackMenuItem",a);c["default"]=a;e.exports=c["default"]},{"../../component.js":66,"../../menu/menu-item.js":104,"../../utils/fn.js":133}],85:[function(a,e,c){function f(a,b){if("function"!==typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function, not "+
typeof b);a.prototype=Object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}});b&&(Object.setPrototypeOf?Object.setPrototypeOf(a,b):a.__proto__=b)}c.__esModule=!0;var d=a("./text-track-menu-item.js"),d=d&&d.__esModule?d:{"default":d};a=(a=a("../../component.js"))&&a.__esModule?a:{"default":a};d=function(a){function b(c,d){if(!(this instanceof b))throw new TypeError("Cannot call a class as a function");d.track={kind:d.kind,player:c,label:d.kind+" off","default":!1,
mode:"disabled"};d.selectable=!0;a.call(this,c,d);this.selected(!0)}f(b,a);b.prototype.handleTracksChange=function(a){a=this.player().textTracks();for(var b=!0,c=0,d=a.length;c<d;c++){var g=a[c];if(g.kind===this.track.kind&&"showing"===g.mode){b=!1;break}}this.selected(b)};return b}(d["default"]);a["default"].registerComponent("OffTextTrackMenuItem",d);c["default"]=d;e.exports=c["default"]},{"../../component.js":66,"./text-track-menu-item.js":88}],86:[function(a,e,c){function f(a,b){if("function"!==
typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function, not "+typeof b);a.prototype=Object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}});b&&(Object.setPrototypeOf?Object.setPrototypeOf(a,b):a.__proto__=b)}c.__esModule=!0;var d=a("./text-track-button.js"),d=d&&d.__esModule?d:{"default":d};a=(a=a("../../component.js"))&&a.__esModule?a:{"default":a};d=function(a){function b(c,d,e){if(!(this instanceof b))throw new TypeError("Cannot call a class as a function");
a.call(this,c,d,e);this.el_.setAttribute("aria-label","Subtitles Menu")}f(b,a);b.prototype.buildCSSClass=function(){return"vjs-subtitles-button "+a.prototype.buildCSSClass.call(this)};return b}(d["default"]);d.prototype.kind_="subtitles";d.prototype.controlText_="Subtitles";a["default"].registerComponent("SubtitlesButton",d);c["default"]=d;e.exports=c["default"]},{"../../component.js":66,"./text-track-button.js":87}],87:[function(a,e,c){function f(a){return a&&a.__esModule?a:{"default":a}}function d(a,
b){if("function"!==typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function, not "+typeof b);a.prototype=Object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}});b&&(Object.setPrototypeOf?Object.setPrototypeOf(a,b):a.__proto__=b)}c.__esModule=!0;var g=a("../../menu/menu-button.js"),g=f(g),b=a("../../component.js"),b=f(b),l=function(a){if(a&&a.__esModule)return a;var b={};if(null!=a)for(var c in a)Object.prototype.hasOwnProperty.call(a,
c)&&(b[c]=a[c]);b["default"]=a;return b}(a("../../utils/fn.js")),k=a("./text-track-menu-item.js"),n=f(k);a=a("./off-text-track-menu-item.js");var p=f(a);a=function(a){function b(c,d){if(!(this instanceof b))throw new TypeError("Cannot call a class as a function");a.call(this,c,d);var g=this.player_.textTracks();1>=this.items.length&&this.hide();if(g){var e=l.bind(this,this.update);g.addEventListener("removetrack",e);g.addEventListener("addtrack",e);this.player_.on("dispose",function(){g.removeEventListener("removetrack",
e);g.removeEventListener("addtrack",e)})}}d(b,a);b.prototype.createItems=function(){var a=0>=arguments.length||void 0===arguments[0]?[]:arguments[0];a.push(new p["default"](this.player_,{kind:this.kind_}));var b=this.player_.textTracks();if(!b)return a;for(var c=0;c<b.length;c++){var d=b[c];d.kind===this.kind_&&a.push(new n["default"](this.player_,{selectable:!0,track:d}))}return a};return b}(g["default"]);b["default"].registerComponent("TextTrackButton",a);c["default"]=a;e.exports=c["default"]},
{"../../component.js":66,"../../menu/menu-button.js":103,"../../utils/fn.js":133,"./off-text-track-menu-item.js":85,"./text-track-menu-item.js":88}],88:[function(a,e,c){function f(a){return a&&a.__esModule?a:{"default":a}}function d(a,b){if("function"!==typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function, not "+typeof b);a.prototype=Object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}});b&&(Object.setPrototypeOf?Object.setPrototypeOf(a,
b):a.__proto__=b)}c.__esModule=!0;var g=a("../../menu/menu-item.js"),g=f(g),b=a("../../component.js"),b=f(b),l=function(a){if(a&&a.__esModule)return a;var b={};if(null!=a)for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&(b[c]=a[c]);b["default"]=a;return b}(a("../../utils/fn.js")),k=a("global/window"),n=f(k);a=a("global/document");var p=f(a);a=function(a){function b(c,d){var g=this;if(!(this instanceof b))throw new TypeError("Cannot call a class as a function");var e=d.track,f=c.textTracks();
d.label=e.label||e.language||"Unknown";d.selected=e["default"]||"showing"===e.mode;a.call(this,c,d);this.track=e;f&&function(){var a=l.bind(g,g.handleTracksChange);f.addEventListener("change",a);g.on("dispose",function(){f.removeEventListener("change",a)})}();f&&void 0===f.onchange&&function(){var a=void 0;g.on(["tap","click"],function(){if("object"!==typeof n["default"].Event)try{a=new n["default"].Event("change")}catch(b){}a||(a=p["default"].createEvent("Event"),a.initEvent("change",!0,!0));f.dispatchEvent(a)})}()}
d(b,a);b.prototype.handleClick=function(b){var c=this.track.kind,d=this.player_.textTracks();a.prototype.handleClick.call(this,b);if(d)for(b=0;b<d.length;b++){var g=d[b];g.kind===c&&(g.mode=g===this.track?"showing":"disabled")}};b.prototype.handleTracksChange=function(a){this.selected("showing"===this.track.mode)};return b}(g["default"]);b["default"].registerComponent("TextTrackMenuItem",a);c["default"]=a;e.exports=c["default"]},{"../../component.js":66,"../../menu/menu-item.js":104,"../../utils/fn.js":133,
"global/document":1,"global/window":2}],89:[function(a,e,c){function f(a,b){if("function"!==typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function, not "+typeof b);a.prototype=Object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}});b&&(Object.setPrototypeOf?Object.setPrototypeOf(a,b):a.__proto__=b)}c.__esModule=!0;var d=a("../../component.js"),d=d&&d.__esModule?d:{"default":d},g=function(a){if(a&&a.__esModule)return a;var b=
{};if(null!=a)for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&(b[c]=a[c]);b["default"]=a;return b}(a("../../utils/dom.js")),b=(a=a("../../utils/format-time.js"))&&a.__esModule?a:{"default":a};a=function(a){function c(b,d){if(!(this instanceof c))throw new TypeError("Cannot call a class as a function");a.call(this,b,d);this.on(b,"timeupdate",this.updateContent)}f(c,a);c.prototype.createEl=function(){var b=a.prototype.createEl.call(this,"div",{className:"vjs-current-time vjs-time-control vjs-control"});
this.contentEl_=g.createEl("div",{className:"vjs-current-time-display",innerHTML:'<span class="vjs-control-text">Current Time </span>0:00'},{"aria-live":"off"});b.appendChild(this.contentEl_);return b};c.prototype.updateContent=function(){var a=this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime(),c=this.localize("Current Time"),a=b["default"](a,this.player_.duration());this.contentEl_.innerHTML='<span class="vjs-control-text">'+c+"</span> "+a};return c}(d["default"]);
d["default"].registerComponent("CurrentTimeDisplay",a);c["default"]=a;e.exports=c["default"]},{"../../component.js":66,"../../utils/dom.js":131,"../../utils/format-time.js":134}],90:[function(a,e,c){function f(a,b){if("function"!==typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function, not "+typeof b);a.prototype=Object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}});b&&(Object.setPrototypeOf?Object.setPrototypeOf(a,b):a.__proto__=
b)}c.__esModule=!0;var d=a("../../component.js"),d=d&&d.__esModule?d:{"default":d},g=function(a){if(a&&a.__esModule)return a;var b={};if(null!=a)for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&(b[c]=a[c]);b["default"]=a;return b}(a("../../utils/dom.js")),b=(a=a("../../utils/format-time.js"))&&a.__esModule?a:{"default":a};a=function(a){function c(b,d){if(!(this instanceof c))throw new TypeError("Cannot call a class as a function");a.call(this,b,d);this.on(b,"timeupdate",this.updateContent);
this.on(b,"loadedmetadata",this.updateContent)}f(c,a);c.prototype.createEl=function(){var b=a.prototype.createEl.call(this,"div",{className:"vjs-duration vjs-time-control vjs-control"});this.contentEl_=g.createEl("div",{className:"vjs-duration-display",innerHTML:'<span class="vjs-control-text">'+this.localize("Duration Time")+"</span> 0:00"},{"aria-live":"off"});b.appendChild(this.contentEl_);return b};c.prototype.updateContent=function(){var a=this.player_.duration();if(a){var c=this.localize("Duration Time"),
a=b["default"](a);this.contentEl_.innerHTML='<span class="vjs-control-text">'+c+"</span> "+a}};return c}(d["default"]);d["default"].registerComponent("DurationDisplay",a);c["default"]=a;e.exports=c["default"]},{"../../component.js":66,"../../utils/dom.js":131,"../../utils/format-time.js":134}],91:[function(a,e,c){function f(a,b){if("function"!==typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function, not "+typeof b);a.prototype=Object.create(b&&b.prototype,{constructor:{value:a,
enumerable:!1,writable:!0,configurable:!0}});b&&(Object.setPrototypeOf?Object.setPrototypeOf(a,b):a.__proto__=b)}c.__esModule=!0;var d=a("../../component.js"),d=d&&d.__esModule?d:{"default":d},g=function(a){if(a&&a.__esModule)return a;var b={};if(null!=a)for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&(b[c]=a[c]);b["default"]=a;return b}(a("../../utils/dom.js")),b=(a=a("../../utils/format-time.js"))&&a.__esModule?a:{"default":a};a=function(a){function c(b,d){if(!(this instanceof c))throw new TypeError("Cannot call a class as a function");
a.call(this,b,d);this.on(b,"timeupdate",this.updateContent)}f(c,a);c.prototype.createEl=function(){var b=a.prototype.createEl.call(this,"div",{className:"vjs-remaining-time vjs-time-control vjs-control"});this.contentEl_=g.createEl("div",{className:"vjs-remaining-time-display",innerHTML:'<span class="vjs-control-text">'+this.localize("Remaining Time")+"</span> -0:00"},{"aria-live":"off"});b.appendChild(this.contentEl_);return b};c.prototype.updateContent=function(){if(this.player_.duration()){var a=
this.localize("Remaining Time"),c=b["default"](this.player_.remainingTime());this.contentEl_.innerHTML='<span class="vjs-control-text">'+a+"</span> -"+c}};return c}(d["default"]);d["default"].registerComponent("RemainingTimeDisplay",a);c["default"]=a;e.exports=c["default"]},{"../../component.js":66,"../../utils/dom.js":131,"../../utils/format-time.js":134}],92:[function(a,e,c){function f(a,b){if("function"!==typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function, not "+
typeof b);a.prototype=Object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}});b&&(Object.setPrototypeOf?Object.setPrototypeOf(a,b):a.__proto__=b)}c.__esModule=!0;a=(a=a("../../component.js"))&&a.__esModule?a:{"default":a};var d=function(a){function b(){if(!(this instanceof b))throw new TypeError("Cannot call a class as a function");a.apply(this,arguments)}f(b,a);b.prototype.createEl=function(){return a.prototype.createEl.call(this,"div",{className:"vjs-time-control vjs-time-divider",
innerHTML:"<div><span>/</span></div>"})};return b}(a["default"]);a["default"].registerComponent("TimeDivider",d);c["default"]=d;e.exports=c["default"]},{"../../component.js":66}],93:[function(a,e,c){function f(a){return a&&a.__esModule?a:{"default":a}}function d(a,b){if("function"!==typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function, not "+typeof b);a.prototype=Object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}});b&&
(Object.setPrototypeOf?Object.setPrototypeOf(a,b):a.__proto__=b)}c.__esModule=!0;var g=a("../../slider/slider.js"),g=f(g),b=a("../../component.js"),b=f(b),l=function(a){if(a&&a.__esModule)return a;var b={};if(null!=a)for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&(b[c]=a[c]);b["default"]=a;return b}(a("../../utils/fn.js"));a=a("./volume-level.js");f(a);a=function(a){function b(c,d){if(!(this instanceof b))throw new TypeError("Cannot call a class as a function");a.call(this,c,d);this.on(c,
"volumechange",this.updateARIAAttributes);c.ready(l.bind(this,this.updateARIAAttributes))}d(b,a);b.prototype.createEl=function(){return a.prototype.createEl.call(this,"div",{className:"vjs-volume-bar vjs-slider-bar"},{"aria-label":"volume level"})};b.prototype.handleMouseMove=function(a){this.checkMuted();this.player_.volume(this.calculateDistance(a))};b.prototype.checkMuted=function(){this.player_.muted()&&this.player_.muted(!1)};b.prototype.getPercent=function(){return this.player_.muted()?0:this.player_.volume()};
b.prototype.stepForward=function(){this.checkMuted();this.player_.volume(this.player_.volume()+.1)};b.prototype.stepBack=function(){this.checkMuted();this.player_.volume(this.player_.volume()-.1)};b.prototype.updateARIAAttributes=function(){var a=(100*this.player_.volume()).toFixed(2);this.el_.setAttribute("aria-valuenow",a);this.el_.setAttribute("aria-valuetext",a+"%")};return b}(g["default"]);a.prototype.options_={children:["volumeLevel"],barName:"volumeLevel"};a.prototype.playerEvent="volumechange";
b["default"].registerComponent("VolumeBar",a);c["default"]=a;e.exports=c["default"]},{"../../component.js":66,"../../slider/slider.js":113,"../../utils/fn.js":133,"./volume-level.js":95}],94:[function(a,e,c){function f(a,b){if("function"!==typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function, not "+typeof b);a.prototype=Object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}});b&&(Object.setPrototypeOf?Object.setPrototypeOf(a,
b):a.__proto__=b)}c.__esModule=!0;var d=a("../../component.js"),d=d&&d.__esModule?d:{"default":d};a("./volume-bar.js");a=function(a){function b(c,d){if(!(this instanceof b))throw new TypeError("Cannot call a class as a function");a.call(this,c,d);c.tech_&&!1===c.tech_.featuresVolumeControl&&this.addClass("vjs-hidden");this.on(c,"loadstart",function(){!1===c.tech_.featuresVolumeControl?this.addClass("vjs-hidden"):this.removeClass("vjs-hidden")})}f(b,a);b.prototype.createEl=function(){return a.prototype.createEl.call(this,
"div",{className:"vjs-volume-control vjs-control"})};return b}(d["default"]);a.prototype.options_={children:["volumeBar"]};d["default"].registerComponent("VolumeControl",a);c["default"]=a;e.exports=c["default"]},{"../../component.js":66,"./volume-bar.js":93}],95:[function(a,e,c){function f(a,b){if("function"!==typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function, not "+typeof b);a.prototype=Object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,
configurable:!0}});b&&(Object.setPrototypeOf?Object.setPrototypeOf(a,b):a.__proto__=b)}c.__esModule=!0;a=(a=a("../../component.js"))&&a.__esModule?a:{"default":a};var d=function(a){function b(){if(!(this instanceof b))throw new TypeError("Cannot call a class as a function");a.apply(this,arguments)}f(b,a);b.prototype.createEl=function(){return a.prototype.createEl.call(this,"div",{className:"vjs-volume-level",innerHTML:'<span class="vjs-control-text"></span>'})};return b}(a["default"]);a["default"].registerComponent("VolumeLevel",
d);c["default"]=d;e.exports=c["default"]},{"../../component.js":66}],96:[function(a,e,c){function f(a){return a&&a.__esModule?a:{"default":a}}function d(a,b){if("function"!==typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function, not "+typeof b);a.prototype=Object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}});b&&(Object.setPrototypeOf?Object.setPrototypeOf(a,b):a.__proto__=b)}c.__esModule=!0;var g=function(a){if(a&&a.__esModule)return a;
var b={};if(null!=a)for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&(b[c]=a[c]);b["default"]=a;return b}(a("../utils/fn.js")),b=a("../component.js"),b=f(b),l=a("../popup/popup.js"),k=f(l),l=a("../popup/popup-button.js"),l=f(l),n=a("./mute-toggle.js"),p=f(n),n=a("./volume-control/volume-bar.js"),m=f(n);a=a("global/document");var t=f(a);a=function(a){function b(c){function d(){c.tech_&&!1===c.tech_.featuresVolumeControl?this.addClass("vjs-hidden"):this.removeClass("vjs-hidden")}var e=1>=arguments.length||
void 0===arguments[1]?{}:arguments[1];if(!(this instanceof b))throw new TypeError("Cannot call a class as a function");void 0===e.inline&&(e.inline=!0);void 0===e.vertical&&(e.vertical=e.inline?!1:!0);e.volumeBar=e.volumeBar||{};e.volumeBar.vertical=!!e.vertical;a.call(this,c,e);this.on(c,"volumechange",this.volumeUpdate);this.on(c,"loadstart",this.volumeUpdate);d.call(this);this.on(c,"loadstart",d);this.on(this.volumeBar,["slideractive","focus"],function(){this.addClass("vjs-slider-active")});this.on(this.volumeBar,
["sliderinactive","blur"],function(){this.removeClass("vjs-slider-active")});this.on(this.volumeBar,["focus"],function(){this.addClass("vjs-lock-showing")});this.on(this.volumeBar,["blur"],function(){this.removeClass("vjs-lock-showing")})}d(b,a);b.prototype.buildCSSClass=function(){var b="",b=this.options_.vertical?"vjs-volume-menu-button-vertical":"vjs-volume-menu-button-horizontal";return"vjs-volume-menu-button "+a.prototype.buildCSSClass.call(this)+" "+b};b.prototype.createPopup=function(){var a=
new k["default"](this.player_,{contentElType:"div"}),b=new m["default"](this.player_,this.options_.volumeBar);a.addChild(b);this.volumeBar=b;this.attachVolumeBarEvents();return a};b.prototype.handleClick=function(){p["default"].prototype.handleClick.call(this);a.prototype.handleClick.call(this)};b.prototype.attachVolumeBarEvents=function(){this.on(["mousedown","touchdown"],this.handleMouseDown)};b.prototype.handleMouseDown=function(a){this.on(["mousemove","touchmove"],g.bind(this.volumeBar,this.volumeBar.handleMouseMove));
this.on(t["default"],["mouseup","touchend"],this.handleMouseUp)};b.prototype.handleMouseUp=function(a){this.off(["mousemove","touchmove"],g.bind(this.volumeBar,this.volumeBar.handleMouseMove))};return b}(l["default"]);a.prototype.volumeUpdate=p["default"].prototype.update;a.prototype.controlText_="Mute";b["default"].registerComponent("VolumeMenuButton",a);c["default"]=a;e.exports=c["default"]},{"../component.js":66,"../popup/popup-button.js":109,"../popup/popup.js":110,"../utils/fn.js":133,"./mute-toggle.js":70,
"./volume-control/volume-bar.js":93,"global/document":1}],97:[function(a,e,c){function f(a){return a&&a.__esModule?a:{"default":a}}function d(a,b){if("function"!==typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function, not "+typeof b);a.prototype=Object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}});b&&(Object.setPrototypeOf?Object.setPrototypeOf(a,b):a.__proto__=b)}c.__esModule=!0;var g=a("./component"),g=f(g),b=a("./modal-dialog"),
b=f(b);(function(a){if(a&&a.__esModule)return a;var b={};if(null!=a)for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&(b[c]=a[c]);b["default"]=a;return b})(a("./utils/dom"));a=a("./utils/merge-options");a=f(a);var l=function(a){function b(c,d){if(!(this instanceof b))throw new TypeError("Cannot call a class as a function");a.call(this,c,d);this.on(c,"error",this.open)}d(b,a);b.prototype.buildCSSClass=function(){return"vjs-error-display "+a.prototype.buildCSSClass.call(this)};b.prototype.content=
function(){var a=this.player().error(),b=videojs.createEl("div",{},{id:"reload-content",style:""});b.innerHTML=a?a.message+'<br><button type="button" onclick="location.reload()" style="height:36px;margin-top:30px;border-radius:5px;border:1px solid white;">\u91cd\u65b0\u6574\u7406</button>':"";if(a){var c=document.getElementById("content_video_ima-ad-container");c&&(c.style.display="none",c.style.visibility="hidden")}return a?b:""};return b}(b["default"]);l.prototype.options_=a["default"](b["default"].prototype.options_,
{fillAlways:!0,temporary:!1,uncloseable:!0});g["default"].registerComponent("ErrorDisplay",l);c["default"]=l;e.exports=c["default"]},{"./component":66,"./modal-dialog":106,"./utils/dom":131,"./utils/merge-options":137}],98:[function(a,e,c){c.__esModule=!0;var f=function(a){if(a&&a.__esModule)return a;var c={};if(null!=a)for(var b in a)Object.prototype.hasOwnProperty.call(a,b)&&(c[b]=a[b]);c["default"]=a;return c}(a("./utils/events.js"));a=function(){};a.prototype.allowedEvents_={};a.prototype.on=
function(a,c){var b=this.addEventListener;this.addEventListener=Function.prototype;f.on(this,a,c);this.addEventListener=b};a.prototype.addEventListener=a.prototype.on;a.prototype.off=function(a,c){f.off(this,a,c)};a.prototype.removeEventListener=a.prototype.off;a.prototype.one=function(a,c){f.one(this,a,c)};a.prototype.trigger=function(a){var c=a.type||a;"string"===typeof a&&(a={type:c});a=f.fixEvent(a);if(this.allowedEvents_[c]&&this["on"+c])this["on"+c](a);f.trigger(this,a)};a.prototype.dispatchEvent=
a.prototype.trigger;c["default"]=a;e.exports=c["default"]},{"./utils/events.js":132}],99:[function(a,e,c){c.__esModule=!0;var f=(a=a("./utils/log"))&&a.__esModule?a:{"default":a},d=function(a,b){if("function"!==typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function, not "+typeof b);a.prototype=Object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}});b&&(a.super_=b)};c["default"]=function(a){var b=1>=arguments.length||void 0===
arguments[1]?{}:arguments[1],c=function(){a.apply(this,arguments)},e={};"object"===typeof b?("function"===typeof b.init&&(f["default"].warn("Constructor logic via init() is deprecated; please use constructor() instead."),b.constructor=b.init),b.constructor!==Object.prototype.constructor&&(c=b.constructor),e=b):"function"===typeof b&&(c=b);d(c,a);for(var n in e)e.hasOwnProperty(n)&&(c.prototype[n]=e[n]);return c};e.exports=c["default"]},{"./utils/log":136}],100:[function(a,e,c){c.__esModule=!0;a=(a=
a("global/document"))&&a.__esModule?a:{"default":a};for(var f={},d=["requestFullscreen exitFullscreen fullscreenElement fullscreenEnabled fullscreenchange fullscreenerror".split(" "),"webkitRequestFullscreen webkitExitFullscreen webkitFullscreenElement webkitFullscreenEnabled webkitfullscreenchange webkitfullscreenerror".split(" "),"webkitRequestFullScreen webkitCancelFullScreen webkitCurrentFullScreenElement webkitCancelFullScreen webkitfullscreenchange webkitfullscreenerror".split(" "),"mozRequestFullScreen mozCancelFullScreen mozFullScreenElement mozFullScreenEnabled mozfullscreenchange mozfullscreenerror".split(" "),
"msRequestFullscreen msExitFullscreen msFullscreenElement msFullscreenEnabled MSFullscreenChange MSFullscreenError".split(" ")],g=d[0],b=void 0,l=0;l<d.length;l++)if(d[l][1]in a["default"]){b=d[l];break}if(b)for(l=0;l<b.length;l++)f[g[l]]=b[l];c["default"]=f;e.exports=c["default"]},{"global/document":1}],101:[function(a,e,c){function f(a,b){if("function"!==typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function, not "+typeof b);a.prototype=Object.create(b&&b.prototype,
{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}});b&&(Object.setPrototypeOf?Object.setPrototypeOf(a,b):a.__proto__=b)}c.__esModule=!0;a=(a=a("./component"))&&a.__esModule?a:{"default":a};var d=function(a){function b(){if(!(this instanceof b))throw new TypeError("Cannot call a class as a function");a.apply(this,arguments)}f(b,a);b.prototype.createEl=function(){return a.prototype.createEl.call(this,"div",{className:"vjs-loading-spinner"})};return b}(a["default"]);a["default"].registerComponent("LoadingSpinner",
d);c["default"]=d;e.exports=c["default"]},{"./component":66}],102:[function(a,e,c){c.__esModule=!0;var f=(a=a("object.assign"))&&a.__esModule?a:{"default":a};a=function b(a){if("number"===typeof a)this.code=a;else if("string"===typeof a)this.message=a;else if("object"===typeof a)f["default"](this,a);this.message||(this.message=b.defaultMessages[this.code]||"")};a.prototype.code=0;a.prototype.message="";a.prototype.status=null;a.errorTypes="MEDIA_ERR_CUSTOM MEDIA_ERR_ABORTED MEDIA_ERR_NETWORK MEDIA_ERR_DECODE MEDIA_ERR_SRC_NOT_SUPPORTED MEDIA_ERR_ENCRYPTED".split(" ");
a.defaultMessages={1:"\u5f71\u7247\u5df2\u88ab\u7d42\u6b62\uff0c\u7121\u6cd5\u64ad\u653e",2:"\u7db2\u8def\u932f\u8aa4\uff0c\u8acb\u91cd\u65b0\u6574\u7406",3:"\u5f71\u7247\u64ad\u653e\u5931\u6557\uff0c\u8acb\u91cd\u65b0\u6574\u7406\uff0c\u5efa\u8b70\u4f7f\u7528\u6700\u65b0\u7684\u700f\u89bd\u5668\u6216Chrome\u700f\u89bd\u5668",4:"\u5f71\u7247\u7121\u6cd5\u8f09\u5165\uff0c\u8acb\u91cd\u65b0\u6574\u7406",5:"\u5f71\u7247\u88ab\u52a0\u5bc6\uff0c\u7121\u6cd5\u64ad\u653e"};for(var d=0;d<a.errorTypes.length;d++)a[a.errorTypes[d]]=
d,a.prototype[a.errorTypes[d]]=d;c["default"]=a;e.exports=c["default"]},{"object.assign":45}],103:[function(a,e,c){function f(a){if(a&&a.__esModule)return a;var b={};if(null!=a)for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&(b[c]=a[c]);b["default"]=a;return b}function d(a){return a&&a.__esModule?a:{"default":a}}function g(a,b){if("function"!==typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function, not "+typeof b);a.prototype=Object.create(b&&b.prototype,
{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}});b&&(Object.setPrototypeOf?Object.setPrototypeOf(a,b):a.__proto__=b)}c.__esModule=!0;var b=a("../clickable-component.js"),b=d(b),l=a("../component.js"),l=d(l),k=a("./menu.js"),n=d(k),k=a("../utils/dom.js"),p=f(k),k=a("../utils/fn.js"),m=f(k);a=a("../utils/to-title-case.js");var t=d(a);a=function(a){function b(c){var d=1>=arguments.length||void 0===arguments[1]?{}:arguments[1];if(!(this instanceof b))throw new TypeError("Cannot call a class as a function");
a.call(this,c,d);this.update();this.el_.setAttribute("aria-haspopup",!0);this.el_.setAttribute("role","menuitem");this.on("keydown",this.handleSubmenuKeyPress)}g(b,a);b.prototype.update=function(){var a=this.createMenu();this.menu&&this.removeChild(this.menu);this.menu=a;this.addChild(a);this.buttonPressed_=!1;this.el_.setAttribute("aria-expanded",!1);this.items&&0===this.items.length?this.hide():this.items&&1<this.items.length&&this.show()};b.prototype.createMenu=function(){var a=new n["default"](this.player_);
this.options_.title&&a.contentEl().appendChild(p.createEl("li",{className:"vjs-menu-title",innerHTML:t["default"](this.options_.title),tabIndex:-1}));if(this.items=this.createItems())for(var b=0;b<this.items.length;b++)a.addItem(this.items[b]);return a};b.prototype.createItems=function(){};b.prototype.createEl=function(){return a.prototype.createEl.call(this,"div",{className:this.buildCSSClass()})};b.prototype.buildCSSClass=function(){var b="vjs-menu-button",b=!0===this.options_.inline?b+"-inline":
b+"-popup";return"vjs-menu-button "+b+" "+a.prototype.buildCSSClass.call(this)};b.prototype.handleClick=function(){this.one("mouseout",m.bind(this,function(){this.menu.unlockShowing();this.el_.blur()}));this.buttonPressed_?this.unpressButton():this.pressButton()};b.prototype.handleKeyPress=function(b){27===b.which||9===b.which?(this.buttonPressed_&&this.unpressButton(),9!==b.which&&b.preventDefault()):38===b.which||40===b.which?this.buttonPressed_||(this.pressButton(),b.preventDefault()):a.prototype.handleKeyPress.call(this,
b)};b.prototype.handleSubmenuKeyPress=function(a){if(27===a.which||9===a.which)this.buttonPressed_&&this.unpressButton(),9!==a.which&&a.preventDefault()};b.prototype.pressButton=function(){this.buttonPressed_=!0;this.menu.lockShowing();this.el_.setAttribute("aria-expanded",!0);this.menu.focus()};b.prototype.unpressButton=function(){this.buttonPressed_=!1;this.menu.unlockShowing();this.el_.setAttribute("aria-expanded",!1);this.el_.focus()};return b}(b["default"]);l["default"].registerComponent("MenuButton",
a);c["default"]=a;e.exports=c["default"]},{"../clickable-component.js":64,"../component.js":66,"../utils/dom.js":131,"../utils/fn.js":133,"../utils/to-title-case.js":140,"./menu.js":105}],104:[function(a,e,c){function f(a){return a&&a.__esModule?a:{"default":a}}function d(a,b){if("function"!==typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function, not "+typeof b);a.prototype=Object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}});
b&&(Object.setPrototypeOf?Object.setPrototypeOf(a,b):a.__proto__=b)}c.__esModule=!0;var g=a("../clickable-component.js"),g=f(g),b=a("../component.js"),b=f(b);a=a("object.assign");var l=f(a);a=function(a){function b(c,d){if(!(this instanceof b))throw new TypeError("Cannot call a class as a function");a.call(this,c,d);this.selectable=d.selectable;this.selected(d.selected);this.selectable?this.el_.setAttribute("role","menuitemcheckbox"):this.el_.setAttribute("role","menuitem")}d(b,a);b.prototype.createEl=
function(b,c,d){return a.prototype.createEl.call(this,"li",l["default"]({className:"vjs-menu-item",innerHTML:this.localize(this.options_.label),tabIndex:-1},c),d)};b.prototype.handleClick=function(){this.selected(!0)};b.prototype.selected=function(a){this.selectable&&(a?(this.addClass("vjs-selected"),this.el_.setAttribute("aria-checked",!0),this.controlText(", selected")):(this.removeClass("vjs-selected"),this.el_.setAttribute("aria-checked",!1),this.controlText(" ")))};return b}(g["default"]);b["default"].registerComponent("MenuItem",
a);c["default"]=a;e.exports=c["default"]},{"../clickable-component.js":64,"../component.js":66,"object.assign":45}],105:[function(a,e,c){function f(a){if(a&&a.__esModule)return a;var b={};if(null!=a)for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&(b[c]=a[c]);b["default"]=a;return b}function d(a,b){if("function"!==typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function, not "+typeof b);a.prototype=Object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,
writable:!0,configurable:!0}});b&&(Object.setPrototypeOf?Object.setPrototypeOf(a,b):a.__proto__=b)}c.__esModule=!0;var g=a("../component.js"),g=g&&g.__esModule?g:{"default":g},b=a("../utils/dom.js"),l=f(b),b=a("../utils/fn.js"),k=f(b);a=a("../utils/events.js");var n=f(a);a=function(a){function b(c,d){if(!(this instanceof b))throw new TypeError("Cannot call a class as a function");a.call(this,c,d);this.focusedChild_=-1;this.on("keydown",this.handleKeyPress)}d(b,a);b.prototype.addItem=function(a){this.addChild(a);
a.on("click",k.bind(this,function(){this.unlockShowing()}))};b.prototype.createEl=function(){this.contentEl_=l.createEl(this.options_.contentElType||"ul",{className:"vjs-menu-content"});this.contentEl_.setAttribute("role","menu");var b=a.prototype.createEl.call(this,"div",{append:this.contentEl_,className:"vjs-menu"});b.setAttribute("role","presentation");b.appendChild(this.contentEl_);n.on(b,"click",function(a){a.preventDefault();a.stopImmediatePropagation()});return b};b.prototype.handleKeyPress=
function(a){if(37===a.which||40===a.which)a.preventDefault(),this.stepForward();else if(38===a.which||39===a.which)a.preventDefault(),this.stepBack()};b.prototype.stepForward=function(){var a=0;void 0!==this.focusedChild_&&(a=this.focusedChild_+1);this.focus(a)};b.prototype.stepBack=function(){var a=0;void 0!==this.focusedChild_&&(a=this.focusedChild_-1);this.focus(a)};b.prototype.focus=function(){var a=0>=arguments.length||void 0===arguments[0]?0:arguments[0],b=this.children();0<b.length&&(0>a?a=
0:a>=b.length&&(a=b.length-1),this.focusedChild_=a,b[a].el_.focus())};return b}(g["default"]);g["default"].registerComponent("Menu",a);c["default"]=a;e.exports=c["default"]},{"../component.js":66,"../utils/dom.js":131,"../utils/events.js":132,"../utils/fn.js":133}],106:[function(a,e,c){function f(a){if(a&&a.__esModule)return a;var b={};if(null!=a)for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&(b[c]=a[c]);b["default"]=a;return b}function d(a){return a&&a.__esModule?a:{"default":a}}function g(a,
b){if("function"!==typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function, not "+typeof b);a.prototype=Object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}});b&&(Object.setPrototypeOf?Object.setPrototypeOf(a,b):a.__proto__=b)}c.__esModule=!0;var b=a("global/document"),l=d(b),b=a("./utils/dom"),k=f(b),b=a("./utils/fn"),n=f(b),b=a("./utils/log");d(b);b=a("./component");b=d(b);a=a("./close-button");d(a);a=function(a){function b(c,
d){if(!(this instanceof b))throw new TypeError("Cannot call a class as a function");a.call(this,c,d);this.opened_=this.hasBeenOpened_=this.hasBeenFilled_=!1;this.closeable(!this.options_.uncloseable);this.content(this.options_.content);this.contentEl_=k.createEl("div",{className:"vjs-modal-dialog-content"},{role:"document"});this.descEl_=k.createEl("p",{className:"vjs-modal-dialog-description vjs-offscreen",id:this.el().getAttribute("aria-describedby")});k.textContent(this.descEl_,this.description());
this.el_.appendChild(this.descEl_);this.el_.appendChild(this.contentEl_)}g(b,a);b.prototype.createEl=function(){return a.prototype.createEl.call(this,"div",{className:this.buildCSSClass(),tabIndex:-1},{"aria-describedby":this.id()+"_description","aria-hidden":"true","aria-label":this.label(),role:"dialog"})};b.prototype.buildCSSClass=function(){return"vjs-modal-dialog vjs-hidden "+a.prototype.buildCSSClass.call(this)};b.prototype.handleKeyPress=function(a){27===a.which&&this.closeable()&&this.close()};
b.prototype.label=function(){return this.options_.label||this.localize("Modal Window")};b.prototype.description=function(){var a=this.options_.description||this.localize("This is a modal window.");this.closeable()&&(a+=" "+this.localize("This modal can be closed by pressing the Escape key or activating the close button."));return a};b.prototype.open=function(){if(!this.opened_){var a=this.player();this.trigger("beforemodalopen");this.opened_=!0;(this.options_.fillAlways||!this.hasBeenOpened_&&!this.hasBeenFilled_)&&
this.fill();(this.wasPlaying_=!a.paused())&&this.options_.pause&&a.pause();if(this.closeable())this.on(l["default"],"keydown",n.bind(this,this.handleKeyPress));a.controls(!1);this.show();this.el().setAttribute("aria-hidden","false");this.trigger("modalopen");this.hasBeenOpened_=!0}return this};b.prototype.opened=function(a){if("boolean"===typeof a)this[a?"open":"close"]();return this.opened_};b.prototype.close=function(){if(this.opened_){var a=this.player();this.trigger("beforemodalclose");this.opened_=
!1;this.closeable()&&this.off(l["default"],"keydown",n.bind(this,this.handleKeyPress));a.controls(!0);this.hide();this.el().setAttribute("aria-hidden","true");this.trigger("modalclose");this.options_.temporary&&this.dispose()}return this};b.prototype.closeable=function(a){if("boolean"===typeof a){a=this.closeable_=!!a;var b=this.getChild("closeButton");if(a&&!b){var c=this.contentEl_;this.contentEl_=this.el_;b=this.addChild("closeButton");this.contentEl_=c;this.on(b,"close",this.close)}!a&&b&&(this.off(b,
"close",this.close),this.removeChild(b),b.dispose())}return this.closeable_};b.prototype.fill=function(){return this.fillWith(this.content())};b.prototype.fillWith=function(a){var b=this.contentEl(),c=b.parentNode,d=b.nextSibling;this.trigger("beforemodalfill");this.hasBeenFilled_=!0;c.removeChild(b);this.empty();k.insertContent(b,a);this.trigger("modalfill");d?c.insertBefore(b,d):c.appendChild(b);return this};b.prototype.empty=function(){this.trigger("beforemodalempty");k.emptyEl(this.contentEl());
this.trigger("modalempty");return this};b.prototype.content=function(a){"undefined"!==typeof a&&(this.content_=a);return this.content_};return b}(b["default"]);a.prototype.options_={pause:!0,temporary:!0};b["default"].registerComponent("ModalDialog",a);c["default"]=a;e.exports=c["default"]},{"./close-button":65,"./component":66,"./utils/dom":131,"./utils/fn":133,"./utils/log":136,"global/document":1}],107:[function(a,e,c){function f(a){if(a&&a.__esModule)return a;var b={};if(null!=a)for(var c in a)Object.prototype.hasOwnProperty.call(a,
c)&&(b[c]=a[c]);b["default"]=a;return b}function d(a){return a&&a.__esModule?a:{"default":a}}function g(a,b){if("function"!==typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function, not "+typeof b);a.prototype=Object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}});b&&(Object.setPrototypeOf?Object.setPrototypeOf(a,b):a.__proto__=b)}c.__esModule=!0;var b=a("./component.js"),l=d(b),b=a("global/document"),k=d(b),b=a("global/window"),
n=d(b),b=a("./utils/events.js"),p=f(b),b=a("./utils/dom.js"),m=f(b),b=a("./utils/fn.js"),t=f(b),b=a("./utils/guid.js"),w=f(b),b=a("./utils/browser.js");f(b);var b=a("./utils/log.js"),v=d(b),b=a("./utils/to-title-case.js"),u=d(b),x=a("./utils/time-ranges.js"),r=a("./utils/buffer.js"),b=a("./utils/stylesheet.js"),q=f(b),b=a("./fullscreen-api.js"),y=d(b),b=a("./media-error.js"),z=d(b),b=a("safe-json-parse/tuple"),B=d(b),b=a("object.assign"),D=d(b),b=a("./utils/merge-options.js"),C=d(b),b=a("./tracks/text-track-list-converter.js"),
H=d(b),b=a("./tech/loader.js");d(b);b=a("./poster-image.js");d(b);b=a("./tracks/text-track-display.js");d(b);b=a("./loading-spinner.js");d(b);b=a("./big-play-button.js");d(b);b=a("./control-bar/control-bar.js");d(b);b=a("./error-display.js");d(b);b=a("./tracks/text-track-settings.js");d(b);var b=a("./modal-dialog"),I=d(b),b=a("./tech/tech.js"),F=d(b);a=a("./tech/html5.js");d(a);a=function(a){function b(c,d,e){var f=this;if(!(this instanceof b))throw new TypeError("Cannot call a class as a function");
c.id=c.id||"vjs_video_"+w.newGUID();d=D["default"](b.getTagSettings(c),d);d.initChildren=!1;d.createEl=!1;d.reportTouchActivity=!1;a.call(this,null,d,e);if(!this.options_||!this.options_.techOrder||!this.options_.techOrder.length)throw Error("No techOrder specified. Did you overwrite videojs.options instead of just changing the properties you want to override?");this.tagAttributes=(this.tag=c)&&m.getElAttributes(c);this.language(this.options_.language);d.languages?function(){var a={};Object.getOwnPropertyNames(d.languages).forEach(function(b){a[b.toLowerCase()]=
d.languages[b]});f.languages_=a}():this.languages_=b.prototype.options_.languages;this.cache_={};this.poster_=d.poster||"";this.controls_=!!d.controls;this.scrubbing_=c.controls=!1;this.el_=this.createEl();e=C["default"](this.options_);d.plugins&&function(){var a=d.plugins;Object.getOwnPropertyNames(a).forEach(function(b){if("function"===typeof this[b])this[b](a[b]);else v["default"].error("Unable to find plugin:",b)},f)}();this.options_.playerOptions=e;this.initChildren();this.isAudio("audio"===
c.nodeName.toLowerCase());this.controls()?this.addClass("vjs-controls-enabled"):this.addClass("vjs-controls-disabled");this.isAudio()&&this.addClass("vjs-audio");this.flexNotSupported_()&&this.addClass("vjs-no-flex");b.players[this.id_]=this;this.userActive(!0);this.reportUserActivity();this.listenForUserActivity_();this.on("fullscreenchange",this.handleFullscreenChange_);this.on("stageclick",this.handleStageClick_)}g(b,a);b.prototype.dispose=function(){this.trigger("dispose");this.off("dispose");
this.styleEl_&&this.styleEl_.parentNode&&this.styleEl_.parentNode.removeChild(this.styleEl_);b.players[this.id_]=null;this.tag&&this.tag.player&&(this.tag.player=null);this.el_&&this.el_.player&&(this.el_.player=null);this.tech_&&this.tech_.dispose();a.prototype.dispose.call(this)};b.prototype.createEl=function(){var b=this.el_=a.prototype.createEl.call(this,"div"),c=this.tag;c.removeAttribute("width");c.removeAttribute("height");var d=m.getElAttributes(c);Object.getOwnPropertyNames(d).forEach(function(a){"class"===
a?b.className=d[a]:b.setAttribute(a,d[a])});c.playerId=c.id;c.id+="_html5_api";c.className="vjs-tech";c.player=b.player=this;this.addClass("vjs-paused");this.styleEl_=q.createStyleElement("vjs-styles-dimensions");var e=m.$(".vjs-styles-defaults"),f=m.$("head");f.insertBefore(this.styleEl_,e?e.nextSibling:f.firstChild);this.width(this.options_.width);this.height(this.options_.height);this.fluid(this.options_.fluid);this.aspectRatio(this.options_.aspectRatio);c.initNetworkState_=c.networkState;c.parentNode&&
c.parentNode.insertBefore(b,c);m.insertElFirst(c,b);this.children_.unshift(c);return this.el_=b};b.prototype.width=function(a){return this.dimension("width",a)};b.prototype.height=function(a){return this.dimension("height",a)};b.prototype.dimension=function(a,b){var c=a+"_";if(void 0===b)return this[c]||0;if(""===b)this[c]=void 0;else{var d=parseFloat(b);if(isNaN(d))return v["default"].error('Improper value "'+b+'" supplied for for '+a),this;this[c]=d}this.updateStyleEl_();return this};b.prototype.fluid=
function(a){if(void 0===a)return!!this.fluid_;this.fluid_=!!a;a?this.addClass("vjs-fluid"):this.removeClass("vjs-fluid")};b.prototype.aspectRatio=function(a){if(void 0===a)return this.aspectRatio_;if(!/^\d+\:\d+$/.test(a))throw Error("Improper value supplied for aspect ratio. The format should be width:height, for example 16:9.");this.aspectRatio_=a;this.fluid(!0);this.updateStyleEl_()};b.prototype.updateStyleEl_=function(){var a=void 0,b=void 0,c=a=void 0,a=void 0!==this.aspectRatio_&&"auto"!==this.aspectRatio_?
this.aspectRatio_:this.videoWidth()?this.videoWidth()+":"+this.videoHeight():"16:9",a=a.split(":"),d=a[1]/a[0],a=void 0!==this.width_?this.width_:void 0!==this.height_?this.height_/d:this.videoWidth()||300,b=void 0!==this.height_?this.height_:a*d,c=/^[^a-zA-Z]/.test(this.id())?"dimensions-"+this.id():this.id()+"-dimensions";this.addClass(c);q.setTextContent(this.styleEl_,"\n      ."+c+" {\n        width: "+a+"px;\n        height: "+b+"px;\n      }\n\n      ."+c+".vjs-fluid {\n        padding-top: "+
100*d+"%;\n      }\n    ")};b.prototype.loadTech_=function(a,b){this.tech_&&this.unloadTech_();"Html5"!==a&&this.tag&&(F["default"].getTech("Html5").disposeMediaElement(this.tag),this.tag=this.tag.player=null);this.techName_=a;this.isReady_=!1;var c=D["default"]({nativeControlsForTouch:this.options_.nativeControlsForTouch,source:b,playerId:this.id(),techId:this.id()+"_"+a+"_api",textTracks:this.textTracks_,autoplay:this.options_.autoplay,preload:this.options_.preload,loop:this.options_.loop,muted:this.options_.muted,
poster:this.poster(),language:this.language(),"vtt.js":this.options_["vtt.js"]},this.options_[a.toLowerCase()]);this.tag&&(c.tag=this.tag);b&&(this.currentType_=b.type,b.src===this.cache_.src&&0<this.cache_.currentTime&&(c.startTime=this.cache_.currentTime),this.cache_.src=b.src);var d=F["default"].getTech(a);d||(d=l["default"].getComponent(a));this.tech_=new d(c);this.tech_.ready(t.bind(this,this.handleTechReady_),!0);H["default"].jsonToTextTracks(this.textTracksJson_||[],this.tech_);this.on(this.tech_,
"loadstart",this.handleTechLoadStart_);this.on(this.tech_,"waiting",this.handleTechWaiting_);this.on(this.tech_,"canplay",this.handleTechCanPlay_);this.on(this.tech_,"canplaythrough",this.handleTechCanPlayThrough_);this.on(this.tech_,"playing",this.handleTechPlaying_);this.on(this.tech_,"ended",this.handleTechEnded_);this.on(this.tech_,"seeking",this.handleTechSeeking_);this.on(this.tech_,"seeked",this.handleTechSeeked_);this.on(this.tech_,"play",this.handleTechPlay_);this.on(this.tech_,"firstplay",
this.handleTechFirstPlay_);this.on(this.tech_,"pause",this.handleTechPause_);this.on(this.tech_,"progress",this.handleTechProgress_);this.on(this.tech_,"durationchange",this.handleTechDurationChange_);this.on(this.tech_,"fullscreenchange",this.handleTechFullscreenChange_);this.on(this.tech_,"error",this.handleTechError_);this.on(this.tech_,"suspend",this.handleTechSuspend_);this.on(this.tech_,"abort",this.handleTechAbort_);this.on(this.tech_,"emptied",this.handleTechEmptied_);this.on(this.tech_,"stalled",
this.handleTechStalled_);this.on(this.tech_,"loadedmetadata",this.handleTechLoadedMetaData_);this.on(this.tech_,"loadeddata",this.handleTechLoadedData_);this.on(this.tech_,"timeupdate",this.handleTechTimeUpdate_);this.on(this.tech_,"ratechange",this.handleTechRateChange_);this.on(this.tech_,"volumechange",this.handleTechVolumeChange_);this.on(this.tech_,"texttrackchange",this.handleTechTextTrackChange_);this.on(this.tech_,"loadedmetadata",this.updateStyleEl_);this.on(this.tech_,"posterchange",this.handleTechPosterChange_);
this.usingNativeControls(this.techGet_("controls"));this.controls()&&!this.usingNativeControls()&&this.addTechControlsListeners_();this.tech_.el().parentNode===this.el()||"Html5"===a&&this.tag||m.insertElFirst(this.tech_.el(),this.el());this.tag&&(this.tag=this.tag.player=null)};b.prototype.unloadTech_=function(){this.textTracks_=this.textTracks();this.textTracksJson_=H["default"].textTracksToJson(this.tech_);this.isReady_=!1;this.tech_.dispose();this.tech_=!1};b.prototype.tech=function(a){if(a&&
a.IWillNotUseThisInPlugins)return this.tech_;n["default"].alert("\n      Please make sure that you are not using this inside of a plugin.\n      To disable this alert and error, please pass in an object with\n      `IWillNotUseThisInPlugins` to the `tech` method. See\n      https://github.com/videojs/video.js/issues/2617 for more info.\n    ");throw Error("\n      Please make sure that you are not using this inside of a plugin.\n      To disable this alert and error, please pass in an object with\n      `IWillNotUseThisInPlugins` to the `tech` method. See\n      https://github.com/videojs/video.js/issues/2617 for more info.\n    ");
};b.prototype.addTechControlsListeners_=function(){this.removeTechControlsListeners_();this.on(this.tech_,"mousedown",this.handleTechClick_);this.on(this.tech_,"touchstart",this.handleTechTouchStart_);this.on(this.tech_,"touchmove",this.handleTechTouchMove_);this.on(this.tech_,"touchend",this.handleTechTouchEnd_);this.on(this.tech_,"tap",this.handleTechTap_)};b.prototype.removeTechControlsListeners_=function(){this.off(this.tech_,"tap",this.handleTechTap_);this.off(this.tech_,"touchstart",this.handleTechTouchStart_);
this.off(this.tech_,"touchmove",this.handleTechTouchMove_);this.off(this.tech_,"touchend",this.handleTechTouchEnd_);this.off(this.tech_,"mousedown",this.handleTechClick_)};b.prototype.handleTechReady_=function(){this.triggerReady();this.cache_.volume&&this.techCall_("setVolume",this.cache_.volume);this.handleTechPosterChange_();this.handleTechDurationChange_();this.src()&&this.tag&&this.options_.autoplay&&this.paused()&&(delete this.tag.poster,this.play())};b.prototype.handleTechLoadStart_=function(){this.removeClass("vjs-ended");
this.error(null);this.paused()?(this.hasStarted(!1),this.trigger("loadstart")):(this.trigger("loadstart"),this.trigger("firstplay"))};b.prototype.hasStarted=function(a){return void 0!==a?(this.hasStarted_!==a&&((this.hasStarted_=a)?(this.addClass("vjs-has-started"),this.trigger("firstplay")):this.removeClass("vjs-has-started")),this):!!this.hasStarted_};b.prototype.handleTechPlay_=function(){this.removeClass("vjs-ended");this.removeClass("vjs-paused");this.addClass("vjs-playing");this.hasStarted(!0);
this.trigger("play")};b.prototype.handleTechWaiting_=function(){this.addClass("vjs-waiting");this.trigger("waiting")};b.prototype.handleTechCanPlay_=function(){this.removeClass("vjs-waiting");this.trigger("canplay")};b.prototype.handleTechCanPlayThrough_=function(){this.removeClass("vjs-waiting");this.trigger("canplaythrough")};b.prototype.handleTechPlaying_=function(){this.removeClass("vjs-waiting");this.trigger("playing")};b.prototype.handleTechSeeking_=function(){this.addClass("vjs-seeking");this.trigger("seeking")};
b.prototype.handleTechSeeked_=function(){this.removeClass("vjs-seeking");this.trigger("seeked")};b.prototype.handleTechFirstPlay_=function(){this.options_.starttime&&this.currentTime(this.options_.starttime);this.addClass("vjs-has-started");this.trigger("firstplay")};b.prototype.handleTechPause_=function(){this.removeClass("vjs-playing");this.addClass("vjs-paused");this.trigger("pause")};b.prototype.handleTechProgress_=function(){this.trigger("progress")};b.prototype.handleTechEnded_=function(){this.addClass("vjs-ended");
this.options_.loop?(this.currentTime(0),this.play()):this.paused()||this.pause();this.trigger("ended")};b.prototype.handleTechDurationChange_=function(){this.duration(this.techGet_("duration"))};b.prototype.handleTechClick_=function(a){0===a.button&&this.controls()&&(this.paused()?this.play():this.pause())};b.prototype.handleTechTap_=function(){this.userActive(!this.userActive())};b.prototype.handleTechTouchStart_=function(){this.userWasActive=this.userActive()};b.prototype.handleTechTouchMove_=function(){this.userWasActive&&
this.reportUserActivity()};b.prototype.handleTechTouchEnd_=function(a){a.preventDefault()};b.prototype.handleFullscreenChange_=function(){this.isFullscreen()?this.addClass("vjs-fullscreen"):this.removeClass("vjs-fullscreen")};b.prototype.handleStageClick_=function(){this.reportUserActivity()};b.prototype.handleTechFullscreenChange_=function(a,b){b&&this.isFullscreen(b.isFullscreen);this.trigger("fullscreenchange")};b.prototype.handleTechError_=function(){var a=this.tech_.error();this.error(a&&a.code)};
b.prototype.handleTechSuspend_=function(){this.trigger("suspend")};b.prototype.handleTechAbort_=function(){this.trigger("abort")};b.prototype.handleTechEmptied_=function(){this.trigger("emptied")};b.prototype.handleTechStalled_=function(){this.trigger("stalled")};b.prototype.handleTechLoadedMetaData_=function(){this.trigger("loadedmetadata")};b.prototype.handleTechLoadedData_=function(){this.trigger("loadeddata")};b.prototype.handleTechTimeUpdate_=function(){this.trigger("timeupdate")};b.prototype.handleTechRateChange_=
function(){this.trigger("ratechange")};b.prototype.handleTechVolumeChange_=function(){this.trigger("volumechange")};b.prototype.handleTechTextTrackChange_=function(){this.trigger("texttrackchange")};b.prototype.getCache=function(){return this.cache_};b.prototype.techCall_=function(a,b){if(this.tech_&&!this.tech_.isReady_)this.tech_.ready(function(){this[a](b)},!0);else try{this.tech_[a](b)}catch(c){throw v["default"](c),c;}};b.prototype.techGet_=function(a){if(this.tech_&&this.tech_.isReady_)try{return this.tech_[a]()}catch(b){if(void 0===
this.tech_[a])v["default"]("Video.js: "+a+" method not defined for "+this.techName_+" playback technology.",b);else if("TypeError"===b.name)v["default"]("Video.js: "+a+" unavailable on "+this.techName_+" playback technology element.",b),this.tech_.isReady_=!1;else v["default"](b);throw b;}};b.prototype.play=function(){this.techCall_("play");return this};b.prototype.pause=function(){this.techCall_("pause");return this};b.prototype.paused=function(){return!1===this.techGet_("paused")?!1:!0};b.prototype.scrubbing=
function(a){return void 0!==a?(this.scrubbing_=!!a,a?this.addClass("vjs-scrubbing"):this.removeClass("vjs-scrubbing"),this):this.scrubbing_};b.prototype.currentTime=function(a){return void 0!==a?(this.techCall_("setCurrentTime",a),this):this.cache_.currentTime=this.techGet_("currentTime")||0};b.prototype.duration=function(a){if(void 0===a)return this.cache_.duration||0;a=parseFloat(a)||0;0>a&&(a=Infinity);a!==this.cache_.duration&&(this.cache_.duration=a,Infinity===a?this.addClass("vjs-live"):this.removeClass("vjs-live"),
this.trigger("durationchange"));return this};b.prototype.remainingTime=function(){return this.duration()-this.currentTime()};b.prototype.buffered=function(){var a=this.techGet_("buffered");a&&a.length||(a=x.createTimeRange(0,0));return a};b.prototype.bufferedPercent=function(){return r.bufferedPercent(this.buffered(),this.duration())};b.prototype.bufferedEnd=function(){var a=this.buffered(),b=this.duration(),a=a.end(a.length-1);a>b&&(a=b);return a};b.prototype.volume=function(a){var b=void 0;if(void 0!==
a)return b=Math.max(0,Math.min(1,parseFloat(a))),this.cache_.volume=b,this.techCall_("setVolume",b),this;b=parseFloat(this.techGet_("volume"));return isNaN(b)?1:b};b.prototype.muted=function(a){return void 0!==a?(this.techCall_("setMuted",a),this):this.techGet_("muted")||!1};b.prototype.supportsFullScreen=function(){return this.techGet_("supportsFullScreen")||!1};b.prototype.isFullscreen=function(a){return void 0!==a?(this.isFullscreen_=!!a,this):!!this.isFullscreen_};b.prototype.requestFullscreen=
function(){var a=y["default"];this.isFullscreen(!0);a.requestFullscreen?(p.on(k["default"],a.fullscreenchange,t.bind(this,function L(b){this.isFullscreen(k["default"][a.fullscreenElement]);!1===this.isFullscreen()&&p.off(k["default"],a.fullscreenchange,L);this.trigger("fullscreenchange")})),this.el_[a.requestFullscreen]()):this.tech_.supportsFullScreen()?this.techCall_("enterFullScreen"):(this.enterFullWindow(),this.trigger("fullscreenchange"));return this};b.prototype.exitFullscreen=function(){var a=
y["default"];this.isFullscreen(!1);if(a.requestFullscreen)k["default"][a.exitFullscreen]();else this.tech_.supportsFullScreen()?this.techCall_("exitFullScreen"):(this.exitFullWindow(),this.trigger("fullscreenchange"));return this};b.prototype.enterFullWindow=function(){this.isFullWindow=!0;this.docOrigOverflow=k["default"].documentElement.style.overflow;p.on(k["default"],"keydown",t.bind(this,this.fullWindowOnEscKey));k["default"].documentElement.style.overflow="hidden";m.addElClass(k["default"].body,
"vjs-full-window");this.trigger("enterFullWindow")};b.prototype.fullWindowOnEscKey=function(a){27===a.keyCode&&(!0===this.isFullscreen()?this.exitFullscreen():this.exitFullWindow())};b.prototype.exitFullWindow=function(){this.isFullWindow=!1;p.off(k["default"],"keydown",this.fullWindowOnEscKey);k["default"].documentElement.style.overflow=this.docOrigOverflow;m.removeElClass(k["default"].body,"vjs-full-window");this.trigger("exitFullWindow")};b.prototype.canPlayType=function(a){for(var b=void 0,c=
0,d=this.options_.techOrder;c<d.length;c++){var b=u["default"](d[c]),e=F["default"].getTech(b);e||(e=l["default"].getComponent(b));if(!e)v["default"].error('The "'+b+'" tech is undefined. Skipped browser support check for that tech.');else if(e.isSupported()&&(b=e.canPlayType(a)))return b}return""};b.prototype.selectSource=function(a){var b=this.options_.techOrder.map(u["default"]).map(function(a){return[a,F["default"].getTech(a)||l["default"].getComponent(a)]}).filter(function(a){var b=a[0];if(a=
a[1])return a.isSupported();v["default"].error('The "'+b+'" tech is undefined. Skipped browser support check for that tech.');return!1}),c=function(a,b,c){var d=void 0;a.some(function(a){return b.some(function(b){if(d=c(a,b))return!0})});return d},d=void 0,d=function(a){return function(b,c){return a(c,b)}},e=function(a,b){var c=a[0];if(a[1].canPlaySource(b))return{source:b,tech:c}};return(d=this.options_.sourceOrder?c(a,b,d(e)):c(b,a,e))||!1};b.prototype.src=function(a){if(void 0===a)return this.techGet_("src");
var b=F["default"].getTech(this.techName_);b||(b=l["default"].getComponent(this.techName_));Array.isArray(a)?this.sourceList_(a):"string"===typeof a?this.src({src:a}):a instanceof Object&&(a.type&&!b.canPlaySource(a)?this.sourceList_([a]):(this.cache_.src=a.src,this.currentType_=a.type||"",this.ready(function(){b.prototype.hasOwnProperty("setSource")?this.techCall_("setSource",a):this.techCall_("src",a.src);"auto"===this.options_.preload&&this.load();this.options_.autoplay&&this.play()},!0)));return this};
b.prototype.sourceList_=function(a){(a=this.selectSource(a))?a.tech===this.techName_?this.src(a.source):this.loadTech_(a.tech,a.source):(this.setTimeout(function(){this.error({code:4,message:this.localize(this.options_.notSupportedMessage)})},0),this.triggerReady())};b.prototype.load=function(){this.techCall_("load");return this};b.prototype.reset=function(){this.loadTech_(u["default"](this.options_.techOrder[0]),null);this.techCall_("reset");return this};b.prototype.currentSrc=function(){return this.techGet_("currentSrc")||
this.cache_.src||""};b.prototype.currentType=function(){return this.currentType_||""};b.prototype.preload=function(a){return void 0!==a?(this.techCall_("setPreload",a),this.options_.preload=a,this):this.techGet_("preload")};b.prototype.autoplay=function(a){return void 0!==a?(this.techCall_("setAutoplay",a),this.options_.autoplay=a,this):this.techGet_("autoplay",a)};b.prototype.loop=function(a){return void 0!==a?(this.techCall_("setLoop",a),this.options_.loop=a,this):this.techGet_("loop")};b.prototype.poster=
function(a){if(void 0===a)return this.poster_;a||(a="");this.poster_=a;this.techCall_("setPoster",a);this.trigger("posterchange");return this};b.prototype.handleTechPosterChange_=function(){!this.poster_&&this.tech_&&this.tech_.poster&&(this.poster_=this.tech_.poster()||"",this.trigger("posterchange"))};b.prototype.controls=function(a){return void 0!==a?(a=!!a,this.controls_!==a&&(this.controls_=a,this.usingNativeControls()&&this.techCall_("setControls",a),a?(this.removeClass("vjs-controls-disabled"),
this.addClass("vjs-controls-enabled"),this.trigger("controlsenabled"),this.usingNativeControls()||this.addTechControlsListeners_()):(this.removeClass("vjs-controls-enabled"),this.addClass("vjs-controls-disabled"),this.trigger("controlsdisabled"),this.usingNativeControls()||this.removeTechControlsListeners_())),this):!!this.controls_};b.prototype.usingNativeControls=function(a){return void 0!==a?(a=!!a,this.usingNativeControls_!==a&&((this.usingNativeControls_=a)?(this.addClass("vjs-using-native-controls"),
this.trigger("usingnativecontrols")):(this.removeClass("vjs-using-native-controls"),this.trigger("usingcustomcontrols"))),this):!!this.usingNativeControls_};b.prototype.error=function(a){if(void 0===a)return this.error_||null;if(null===a)return this.error_=a,this.removeClass("vjs-error"),this.errorDisplay.close(),this;this.error_=a instanceof z["default"]?a:new z["default"](a);this.addClass("vjs-error");v["default"].error("(CODE:"+this.error_.code+" "+z["default"].errorTypes[this.error_.code]+")",
this.error_.message,this.error_);this.trigger("error");return this};b.prototype.ended=function(){return this.techGet_("ended")};b.prototype.seeking=function(){return this.techGet_("seeking")};b.prototype.seekable=function(){return this.techGet_("seekable")};b.prototype.reportUserActivity=function(a){this.userActivity_=!0};b.prototype.userActive=function(a){if(void 0!==a){a=!!a;if(a!==this.userActive_)if(this.userActive_=a)this.userActivity_=!0,this.removeClass("vjs-user-inactive"),this.addClass("vjs-user-active"),
this.trigger("useractive");else{this.userActivity_=!1;if(this.tech_)this.tech_.one("mousemove",function(a){a.stopPropagation();a.preventDefault()});this.removeClass("vjs-user-active");this.addClass("vjs-user-inactive");this.trigger("userinactive")}return this}return this.userActive_};b.prototype.listenForUserActivity_=function(){var a=void 0,b=void 0,c=void 0,d=t.bind(this,this.reportUserActivity);this.on("mousedown",function(){d();this.clearInterval(a);a=this.setInterval(d,250)});this.on("mousemove",
function(a){if(a.screenX!==b||a.screenY!==c)b=a.screenX,c=a.screenY,d()});this.on("mouseup",function(b){d();this.clearInterval(a)});this.on("keydown",d);this.on("keyup",d);var e=void 0;this.setInterval(function(){if(this.userActivity_){this.userActivity_=!1;this.userActive(!0);this.clearTimeout(e);var a=this.options_.inactivityTimeout;0<a&&(e=this.setTimeout(function(){this.userActivity_||this.userActive(!1)},a))}},250)};b.prototype.playbackRate=function(a){return void 0!==a?(this.techCall_("setPlaybackRate",
a),this):this.tech_&&this.tech_.featuresPlaybackRate?this.techGet_("playbackRate"):1};b.prototype.isAudio=function(a){return void 0!==a?(this.isAudio_=!!a,this):!!this.isAudio_};b.prototype.networkState=function(){return this.techGet_("networkState")};b.prototype.readyState=function(){return this.techGet_("readyState")};b.prototype.textTracks=function(){return this.tech_&&this.tech_.textTracks()};b.prototype.remoteTextTracks=function(){return this.tech_&&this.tech_.remoteTextTracks()};b.prototype.remoteTextTrackEls=
function(){return this.tech_&&this.tech_.remoteTextTrackEls()};b.prototype.addTextTrack=function(a,b,c){return this.tech_&&this.tech_.addTextTrack(a,b,c)};b.prototype.addRemoteTextTrack=function(a){return this.tech_&&this.tech_.addRemoteTextTrack(a)};b.prototype.removeRemoteTextTrack=function(a){this.tech_&&this.tech_.removeRemoteTextTrack(a)};b.prototype.videoWidth=function(){return this.tech_&&this.tech_.videoWidth&&this.tech_.videoWidth()||0};b.prototype.videoHeight=function(){return this.tech_&&
this.tech_.videoHeight&&this.tech_.videoHeight()||0};b.prototype.language=function(a){if(void 0===a)return this.language_;this.language_=(""+a).toLowerCase();return this};b.prototype.languages=function(){return C["default"](b.prototype.options_.languages,this.languages_)};b.prototype.toJSON=function(){var a=C["default"](this.options_),b=a.tracks;a.tracks=[];for(var c=0;c<b.length;c++){var d=b[c],d=C["default"](d);d.player=void 0;a.tracks[c]=d}return a};b.prototype.createModal=function(a,b){var c=
this;b=b||{};b.content=a||"";var d=new I["default"](c,b);c.addChild(d);d.on("dispose",function(){c.removeChild(d)});return d.open()};b.getTagSettings=function(a){var b={sources:[],tracks:[]},c=m.getElAttributes(a),d=c["data-setup"];if(null!==d){var e=B["default"](d||"{}"),d=e[0],e=e[1];d&&v["default"].error(d);D["default"](c,e)}D["default"](b,c);if(a.hasChildNodes())for(a=a.childNodes,c=0,d=a.length;c<d;c++){var e=a[c],f=e.nodeName.toLowerCase();"source"===f?b.sources.push(m.getElAttributes(e)):"track"===
f&&b.tracks.push(m.getElAttributes(e))}return b};return b}(l["default"]);a.players={};b=n["default"].navigator;a.prototype.options_={techOrder:["html5","flash"],html5:{},flash:{},defaultVolume:0,inactivityTimeout:2E3,playbackRates:[],children:"mediaLoader posterImage textTrackDisplay loadingSpinner bigPlayButton controlBar errorDisplay textTrackSettings".split(" "),language:k["default"].getElementsByTagName("html")[0].getAttribute("lang")||b.languages&&b.languages[0]||b.userLanguage||b.language||
"en",languages:{},notSupportedMessage:"\u5f71\u7247\u7121\u6cd5\u521d\u59cb"};a.prototype.flexNotSupported_=function(){var a=k["default"].createElement("i");return!("flexBasis"in a.style||"webkitFlexBasis"in a.style||"mozFlexBasis"in a.style||"msFlexBasis"in a.style||"msFlexOrder"in a.style)};l["default"].registerComponent("Player",a);c["default"]=a;e.exports=c["default"]},{"./big-play-button.js":62,"./component.js":66,"./control-bar/control-bar.js":67,"./error-display.js":97,"./fullscreen-api.js":100,
"./loading-spinner.js":101,"./media-error.js":102,"./modal-dialog":106,"./poster-image.js":111,"./tech/html5.js":116,"./tech/loader.js":117,"./tech/tech.js":118,"./tracks/text-track-display.js":122,"./tracks/text-track-list-converter.js":124,"./tracks/text-track-settings.js":126,"./utils/browser.js":128,"./utils/buffer.js":129,"./utils/dom.js":131,"./utils/events.js":132,"./utils/fn.js":133,"./utils/guid.js":135,"./utils/log.js":136,"./utils/merge-options.js":137,"./utils/stylesheet.js":138,"./utils/time-ranges.js":139,
"./utils/to-title-case.js":140,"global/document":1,"global/window":2,"object.assign":45,"safe-json-parse/tuple":53}],108:[function(a,e,c){c.__esModule=!0;var f=(a=a("./player.js"))&&a.__esModule?a:{"default":a};c["default"]=function(a,c){f["default"].prototype[a]=c};e.exports=c["default"]},{"./player.js":107}],109:[function(a,e,c){function f(a){if(a&&a.__esModule)return a;var b={};if(null!=a)for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&(b[c]=a[c]);b["default"]=a;return b}function d(a){return a&&
a.__esModule?a:{"default":a}}function g(a,b){if("function"!==typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function, not "+typeof b);a.prototype=Object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}});b&&(Object.setPrototypeOf?Object.setPrototypeOf(a,b):a.__proto__=b)}c.__esModule=!0;var b=a("../clickable-component.js"),b=d(b),l=a("../component.js"),l=d(l),k=a("./popup.js");d(k);k=a("../utils/dom.js");f(k);k=a("../utils/fn.js");
f(k);a=a("../utils/to-title-case.js");d(a);a=function(a){function b(c){var d=1>=arguments.length||void 0===arguments[1]?{}:arguments[1];if(!(this instanceof b))throw new TypeError("Cannot call a class as a function");a.call(this,c,d);this.update()}g(b,a);b.prototype.update=function(){var a=this.createPopup();this.popup&&this.removeChild(this.popup);this.popup=a;this.addChild(a);this.items&&0===this.items.length?this.hide():this.items&&1<this.items.length&&this.show()};b.prototype.createPopup=function(){};
b.prototype.createEl=function(){return a.prototype.createEl.call(this,"div",{className:this.buildCSSClass()})};b.prototype.buildCSSClass=function(){var b="vjs-menu-button",b=!0===this.options_.inline?b+"-inline":b+"-popup";return"vjs-menu-button "+b+" "+a.prototype.buildCSSClass.call(this)};return b}(b["default"]);l["default"].registerComponent("PopupButton",a);c["default"]=a;e.exports=c["default"]},{"../clickable-component.js":64,"../component.js":66,"../utils/dom.js":131,"../utils/fn.js":133,"../utils/to-title-case.js":140,
"./popup.js":110}],110:[function(a,e,c){function f(a){if(a&&a.__esModule)return a;var b={};if(null!=a)for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&(b[c]=a[c]);b["default"]=a;return b}function d(a,b){if("function"!==typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function, not "+typeof b);a.prototype=Object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}});b&&(Object.setPrototypeOf?Object.setPrototypeOf(a,b):a.__proto__=
b)}c.__esModule=!0;var g=a("../component.js"),g=g&&g.__esModule?g:{"default":g},b=a("../utils/dom.js"),l=f(b),b=a("../utils/fn.js"),k=f(b);a=a("../utils/events.js");var n=f(a);a=function(a){function b(){if(!(this instanceof b))throw new TypeError("Cannot call a class as a function");a.apply(this,arguments)}d(b,a);b.prototype.addItem=function(a){this.addChild(a);a.on("click",k.bind(this,function(){this.unlockShowing()}))};b.prototype.createEl=function(){this.contentEl_=l.createEl(this.options_.contentElType||
"ul",{className:"vjs-menu-content"});var b=a.prototype.createEl.call(this,"div",{append:this.contentEl_,className:"vjs-menu"});b.appendChild(this.contentEl_);n.on(b,"click",function(a){a.preventDefault();a.stopImmediatePropagation()});return b};return b}(g["default"]);g["default"].registerComponent("Popup",a);c["default"]=a;e.exports=c["default"]},{"../component.js":66,"../utils/dom.js":131,"../utils/events.js":132,"../utils/fn.js":133}],111:[function(a,e,c){function f(a){if(a&&a.__esModule)return a;
var b={};if(null!=a)for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&(b[c]=a[c]);b["default"]=a;return b}function d(a,b){if("function"!==typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function, not "+typeof b);a.prototype=Object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}});b&&(Object.setPrototypeOf?Object.setPrototypeOf(a,b):a.__proto__=b)}c.__esModule=!0;var g=a("./clickable-component.js"),g=g&&g.__esModule?g:
{"default":g},b=a("./component.js"),b=b&&b.__esModule?b:{"default":b},l=a("./utils/fn.js"),k=f(l),l=a("./utils/dom.js"),n=f(l);a=a("./utils/browser.js");var p=f(a);a=function(a){function b(c,d){if(!(this instanceof b))throw new TypeError("Cannot call a class as a function");a.call(this,c,d);this.update();c.on("posterchange",k.bind(this,this.update))}d(b,a);b.prototype.dispose=function(){this.player().off("posterchange",this.update);a.prototype.dispose.call(this)};b.prototype.createEl=function(){var a=
n.createEl("div",{className:"vjs-poster",tabIndex:-1});p.BACKGROUND_SIZE_SUPPORTED||(this.fallbackImg_=n.createEl("img"),a.appendChild(this.fallbackImg_));return a};b.prototype.update=function(){var a=this.player().poster();this.setSrc(a);a?this.show():this.hide()};b.prototype.setSrc=function(a){if(this.fallbackImg_)this.fallbackImg_.src=a;else{var b="";a&&(b='url("'+a+'")');this.el_.style.backgroundImage=b}};b.prototype.handleClick=function(){this.player_.paused()?this.player_.play():this.player_.pause()};
return b}(g["default"]);b["default"].registerComponent("PosterImage",a);c["default"]=a;e.exports=c["default"]},{"./clickable-component.js":64,"./component.js":66,"./utils/browser.js":128,"./utils/dom.js":131,"./utils/fn.js":133}],112:[function(a,e,c){c.__esModule=!0;e=function(a){if(a&&a.__esModule)return a;var b={};if(null!=a)for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&(b[c]=a[c]);b["default"]=a;return b}(a("./utils/events.js"));var f=a("global/document"),d=f&&f.__esModule?f:{"default":f};
a=(a=a("global/window"))&&a.__esModule?a:{"default":a};var g=!1,b=void 0,l=function(){var a=d["default"].getElementsByTagName("video"),c=d["default"].getElementsByTagName("audio"),e=[];if(a&&0<a.length)for(var f=0,l=a.length;f<l;f++)e.push(a[f]);if(c&&0<c.length)for(f=0,l=c.length;f<l;f++)e.push(c[f]);if(e&&0<e.length)for(f=0,l=e.length;f<l;f++)if((a=e[f])&&a.getAttribute)void 0===a.player&&null!==a.getAttribute("data-setup")&&b(a);else{k(1);break}else g||k(1)},k=function(a,c){b=c;setTimeout(l,a)};
if("complete"===d["default"].readyState)g=!0;else e.one(a["default"],"load",function(){g=!0});c.autoSetup=l;c.autoSetupTimeout=k;c.hasLoaded=function(){return g}},{"./utils/events.js":132,"global/document":1,"global/window":2}],113:[function(a,e,c){function f(a){return a&&a.__esModule?a:{"default":a}}function d(a,b){if("function"!==typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function, not "+typeof b);a.prototype=Object.create(b&&b.prototype,{constructor:{value:a,
enumerable:!1,writable:!0,configurable:!0}});b&&(Object.setPrototypeOf?Object.setPrototypeOf(a,b):a.__proto__=b)}c.__esModule=!0;var g=a("../component.js"),g=f(g),b=function(a){if(a&&a.__esModule)return a;var b={};if(null!=a)for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&(b[c]=a[c]);b["default"]=a;return b}(a("../utils/dom.js")),l=a("global/document"),k=f(l);a=a("object.assign");var n=f(a);a=function(a){function c(b,d){if(!(this instanceof c))throw new TypeError("Cannot call a class as a function");
a.call(this,b,d);this.bar=this.getChild(this.options_.barName);this.vertical(!!this.options_.vertical);this.on("mousedown",this.handleMouseDown);this.on("touchstart",this.handleMouseDown);this.on("focus",this.handleFocus);this.on("blur",this.handleBlur);this.on("click",this.handleClick);this.on(b,"controlsvisible",this.update);this.on(b,this.playerEvent,this.update)}d(c,a);c.prototype.createEl=function(b){var c=1>=arguments.length||void 0===arguments[1]?{}:arguments[1],d=2>=arguments.length||void 0===
arguments[2]?{}:arguments[2];c.className+=" vjs-slider";c=n["default"]({tabIndex:0},c);d=n["default"]({role:"slider","aria-valuenow":0,"aria-valuemin":0,"aria-valuemax":100,tabIndex:0},d);return a.prototype.createEl.call(this,b,c,d)};c.prototype.handleMouseDown=function(a){a.preventDefault();b.blockTextSelection();this.addClass("vjs-sliding");this.trigger("slideractive");this.on(k["default"],"mousemove",this.handleMouseMove);this.on(k["default"],"mouseup",this.handleMouseUp);this.on(k["default"],
"touchmove",this.handleMouseMove);this.on(k["default"],"touchend",this.handleMouseUp);this.handleMouseMove(a)};c.prototype.handleMouseMove=function(){};c.prototype.handleMouseUp=function(){b.unblockTextSelection();this.removeClass("vjs-sliding");this.trigger("sliderinactive");this.off(k["default"],"mousemove",this.handleMouseMove);this.off(k["default"],"mouseup",this.handleMouseUp);this.off(k["default"],"touchmove",this.handleMouseMove);this.off(k["default"],"touchend",this.handleMouseUp);this.update()};
c.prototype.update=function(){if(this.el_){var a=this.getPercent(),b=this.bar;if(b){if("number"!==typeof a||a!==a||0>a||Infinity===a)a=0;a=(100*a).toFixed(2)+"%";this.vertical()?b.el().style.height=a:b.el().style.width=a}}};c.prototype.calculateDistance=function(a){a=b.getPointerPosition(this.el_,a);return this.vertical()?a.y:a.x};c.prototype.handleFocus=function(){this.on(k["default"],"keydown",this.handleKeyPress)};c.prototype.handleKeyPress=function(a){if(37===a.which||40===a.which)a.preventDefault(),
this.stepBack();else if(38===a.which||39===a.which)a.preventDefault(),this.stepForward()};c.prototype.handleBlur=function(){this.off(k["default"],"keydown",this.handleKeyPress)};c.prototype.handleClick=function(a){a.stopImmediatePropagation();a.preventDefault()};c.prototype.vertical=function(a){if(void 0===a)return this.vertical_||!1;(this.vertical_=!!a)?this.addClass("vjs-slider-vertical"):this.addClass("vjs-slider-horizontal");return this};return c}(g["default"]);g["default"].registerComponent("Slider",
a);c["default"]=a;e.exports=c["default"]},{"../component.js":66,"../utils/dom.js":131,"global/document":1,"object.assign":45}],114:[function(a,e,c){c.__esModule=!0;c["default"]=function(a){a.streamingFormats={"rtmp/mp4":"MP4","rtmp/flv":"FLV"};a.streamFromParts=function(a,c){return a+"&"+c};a.streamToParts=function(a){var c={connection:"",stream:""};if(!a)return c;var b=a.search(/&(?!\w+=)/),e=void 0;-1!==b?e=b+1:(b=e=a.lastIndexOf("/")+1,0===b&&(b=e=a.length));c.connection=a.substring(0,b);c.stream=
a.substring(e,a.length);return c};a.isStreamingType=function(c){return c in a.streamingFormats};a.RTMP_RE=/^rtmp[set]?:\/\//i;a.isStreamingSrc=function(c){return a.RTMP_RE.test(c)};a.rtmpSourceHandler={};a.rtmpSourceHandler.canPlayType=function(c){return a.isStreamingType(c)?"maybe":""};a.rtmpSourceHandler.canHandleSource=function(c){var e=a.rtmpSourceHandler.canPlayType(c.type);return e?e:a.isStreamingSrc(c.src)?"maybe":""};a.rtmpSourceHandler.handleSource=function(c,e){var b=a.streamToParts(c.src);
e.setRtmpConnection(b.connection);e.setRtmpStream(b.stream)};a.registerSourceHandler(a.rtmpSourceHandler);return a};e.exports=c["default"]},{}],115:[function(a,e,c){function f(a){if(a&&a.__esModule)return a;var b={};if(null!=a)for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&(b[c]=a[c]);b["default"]=a;return b}function d(a){return a&&a.__esModule?a:{"default":a}}function g(a,b){if("function"!==typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function, not "+
typeof b);a.prototype=Object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}});b&&(Object.setPrototypeOf?Object.setPrototypeOf(a,b):a.__proto__=b)}function b(a){var b=a.charAt(0).toUpperCase()+a.slice(1);y["set"+b]=function(b){return this.el_.vjs_setProperty(a,b)}}function l(a){y[a]=function(){return this.el_.vjs_getProperty(a)}}c.__esModule=!0;var k=a("./tech"),k=d(k),n=a("../utils/dom.js"),p=f(n),n=a("../utils/url.js"),m=f(n),t=a("../utils/time-ranges.js"),
n=a("./flash-rtmp"),n=d(n),w=a("../component"),w=d(w),v=a("global/window"),u=d(v);a=a("object.assign");var x=d(a),r=u["default"].navigator,q=function(a){function b(c,d){if(!(this instanceof b))throw new TypeError("Cannot call a class as a function");a.call(this,c,d);c.source&&this.ready(function(){this.setSource(c.source)},!0);c.startTime&&this.ready(function(){this.load();this.play();this.currentTime(c.startTime)},!0);u["default"].videojs=u["default"].videojs||{};u["default"].videojs.Flash=u["default"].videojs.Flash||
{};u["default"].videojs.Flash.onReady=b.onReady;u["default"].videojs.Flash.onEvent=b.onEvent;u["default"].videojs.Flash.onError=b.onError;this.on("seeked",function(){this.lastSeekTarget_=void 0})}g(b,a);b.prototype.createEl=function(){var a=this.options_;a.swf||(a.swf="//vjs.zencdn.net/swf/5.0.1/video-js.swf");var c=a.techId,d=x["default"]({readyFunction:"videojs.Flash.onReady",eventProxyFunction:"videojs.Flash.onEvent",errorEventProxyFunction:"videojs.Flash.onError",autoplay:a.autoplay,preload:a.preload,
loop:a.loop,muted:a.muted},a.flashVars),e=x["default"]({wmode:"opaque",bgcolor:"#000000"},a.params),c=x["default"]({id:c,name:c,"class":"vjs-tech"},a.attributes);this.el_=b.embed(a.swf,d,e,c);this.el_.tech=this;return this.el_};b.prototype.play=function(){this.ended()&&this.setCurrentTime(0);this.el_.vjs_play()};b.prototype.pause=function(){this.el_.vjs_pause()};b.prototype.src=function(a){return void 0===a?this.currentSrc():this.setSrc(a)};b.prototype.setSrc=function(a){a=m.getAbsoluteURL(a);this.el_.vjs_src(a);
if(this.autoplay()){var b=this;this.setTimeout(function(){b.play()},0)}};b.prototype.seeking=function(){return void 0!==this.lastSeekTarget_};b.prototype.setCurrentTime=function(b){var c=this.seekable();c.length&&(b=b>c.start(0)?b:c.start(0),this.lastSeekTarget_=b=b<c.end(c.length-1)?b:c.end(c.length-1),this.trigger("seeking"),this.el_.vjs_setProperty("currentTime",b),a.prototype.setCurrentTime.call(this))};b.prototype.currentTime=function(a){return this.seeking()?this.lastSeekTarget_||0:this.el_.vjs_getProperty("currentTime")};
b.prototype.currentSrc=function(){return this.currentSource_?this.currentSource_.src:this.el_.vjs_getProperty("currentSrc")};b.prototype.load=function(){this.el_.vjs_load()};b.prototype.poster=function(){this.el_.vjs_getProperty("poster")};b.prototype.setPoster=function(){};b.prototype.seekable=function(){var a=this.duration();return 0===a?t.createTimeRange():t.createTimeRange(0,a)};b.prototype.buffered=function(){var a=this.el_.vjs_getProperty("buffered");return 0===a.length?t.createTimeRange():
t.createTimeRange(a[0][0],a[0][1])};b.prototype.supportsFullScreen=function(){return!1};b.prototype.enterFullScreen=function(){return!1};return b}(k["default"]),y=q.prototype;a="rtmpConnection rtmpStream preload defaultPlaybackRate playbackRate autoplay loop mediaGroup controller controls volume muted defaultMuted".split(" ");for(var v="networkState readyState initialTime duration startOffsetTime paused ended videoTracks audioTracks videoWidth videoHeight".split(" "),z=0;z<a.length;z++)l(a[z]),b(a[z]);
for(z=0;z<v.length;z++)l(v[z]);q.isSupported=function(){return 10<=q.version()[0]};k["default"].withSourceHandlers(q);q.nativeSourceHandler={};q.nativeSourceHandler.canPlayType=function(a){return a in q.formats?"maybe":""};q.nativeSourceHandler.canHandleSource=function(a){a=a.type?a.type.replace(/;.*/,"").toLowerCase():(a=m.getFileExtension(a.src))?"video/"+a:"";return q.nativeSourceHandler.canPlayType(a)};q.nativeSourceHandler.handleSource=function(a,b){b.setSrc(a.src)};q.nativeSourceHandler.dispose=
function(){};q.registerSourceHandler(q.nativeSourceHandler);q.formats={"video/flv":"FLV","video/x-flv":"FLV","video/mp4":"MP4","video/m4v":"MP4"};q.onReady=function(a){(a=(a=p.getEl(a))&&a.tech)&&a.el()&&q.checkReady(a)};q.checkReady=function(a){a.el()&&(a.el().vjs_getProperty?a.triggerReady():this.setTimeout(function(){q.checkReady(a)},50))};q.onEvent=function(a,b){p.getEl(a).tech.trigger(b)};q.onError=function(a,b){var c=p.getEl(a).tech;if("srcnotfound"===b)return c.error(4);c.error("FLASH: "+b)};
q.version=function(){var a="0,0,0";try{a=(new u["default"].ActiveXObject("ShockwaveFlash.ShockwaveFlash")).GetVariable("$version").replace(/\D+/g,",").match(/^,?(.+),?$/)[1]}catch(b){try{r.mimeTypes["application/x-shockwave-flash"].enabledPlugin&&(a=(r.plugins["Shockwave Flash 2.0"]||r.plugins["Shockwave Flash"]).description.replace(/\D+/g,",").match(/^,?(.+),?$/)[1])}catch(c){}}return a.split(",")};q.embed=function(a,b,c,d){a=q.getEmbedCode(a,b,c,d);return p.createEl("div",{innerHTML:a}).childNodes[0]};
q.getEmbedCode=function(a,b,c,d){var e="",f="",g="";b&&Object.getOwnPropertyNames(b).forEach(function(a){e+=a+"="+b[a]+"&amp;"});c=x["default"]({movie:a,flashvars:e,allowScriptAccess:"always",allowNetworking:"all"},c);Object.getOwnPropertyNames(c).forEach(function(a){f+='<param name="'+a+'" value="'+c[a]+'" />'});d=x["default"]({data:a,width:"100%",height:"100%"},d);Object.getOwnPropertyNames(d).forEach(function(a){g+=a+'="'+d[a]+'" '});return'<object type="application/x-shockwave-flash" '+g+">"+
f+"</object>"};n["default"](q);w["default"].registerComponent("Flash",q);k["default"].registerTech("Flash",q);c["default"]=q;e.exports=c["default"]},{"../component":66,"../utils/dom.js":131,"../utils/time-ranges.js":139,"../utils/url.js":141,"./flash-rtmp":114,"./tech":118,"global/window":2,"object.assign":45}],116:[function(a,e,c){function f(a){if(a&&a.__esModule)return a;var b={};if(null!=a)for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&(b[c]=a[c]);b["default"]=a;return b}function d(a){return a&&
a.__esModule?a:{"default":a}}function g(a,b){if("function"!==typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function, not "+typeof b);a.prototype=Object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}});b&&(Object.setPrototypeOf?Object.setPrototypeOf(a,b):a.__proto__=b)}c.__esModule=!0;var b=a("./tech.js"),b=d(b),l=a("../component"),l=d(l),k=a("../utils/dom.js"),n=f(k),k=a("../utils/url.js"),p=f(k),k=a("../utils/fn.js"),m=f(k),
k=a("../utils/log.js"),t=d(k),k=a("../utils/browser.js"),w=f(k),k=a("global/document"),v=d(k),k=a("global/window"),u=d(k),k=a("object.assign"),x=d(k);a=a("../utils/merge-options.js");var r=d(a),q=function(a){function b(c,d){if(!(this instanceof b))throw new TypeError("Cannot call a class as a function");a.call(this,c,d);var e=c.source;e&&(this.el_.currentSrc!==e.src||c.tag&&3===c.tag.initNetworkState_)?this.setSource(e):this.handleLateInit_(this.el_);if(this.el_.hasChildNodes()){for(var f=this.el_.childNodes,
g=f.length,e=[];g--;){var k=f[g];"track"===k.nodeName.toLowerCase()&&(this.featuresNativeTextTracks?(this.remoteTextTrackEls().addTrackElement_(k),this.remoteTextTracks().addTrack_(k.track)):e.push(k))}for(f=0;f<e.length;f++)this.el_.removeChild(e[f])}this.featuresNativeTextTracks&&(this.handleTextTrackChange_=m.bind(this,this.handleTextTrackChange),this.handleTextTrackAdd_=m.bind(this,this.handleTextTrackAdd),this.handleTextTrackRemove_=m.bind(this,this.handleTextTrackRemove),this.proxyNativeTextTracks_());
(w.TOUCH_ENABLED&&!0===c.nativeControlsForTouch||w.IS_IPHONE||w.IS_NATIVE_ANDROID)&&this.setControls(!0);this.triggerReady()}g(b,a);b.prototype.dispose=function(){var c=this.el().textTracks,d=this.textTracks();c&&c.removeEventListener&&(c.removeEventListener("change",this.handleTextTrackChange_),c.removeEventListener("addtrack",this.handleTextTrackAdd_),c.removeEventListener("removetrack",this.handleTextTrackRemove_));for(c=d.length;c--;)d.removeTrack_(d[c]);b.disposeMediaElement(this.el_);a.prototype.dispose.call(this)};
b.prototype.createEl=function(){var a=this.options_.tag;if(!a||!1===this.movingMediaElementInDOM)if(a){var c=a.cloneNode(!0);a.parentNode.insertBefore(c,a);b.disposeMediaElement(a);a=c}else a=v["default"].createElement("video"),c=this.options_.tag&&n.getElAttributes(this.options_.tag),c=r["default"]({},c),w.TOUCH_ENABLED&&!0===this.options_.nativeControlsForTouch||delete c.controls,n.setElAttributes(a,x["default"](c,{id:this.options_.techId,"class":"vjs-tech"}));for(var c=["autoplay","preload","loop",
"muted"],d=c.length-1;0<=d;d--){var e=c[d],f={};"undefined"!==typeof this.options_[e]&&(f[e]=this.options_[e]);n.setElAttributes(a,f)}return a};b.prototype.handleLateInit_=function(a){var b=this;if(0!==a.networkState&&3!==a.networkState){if(0===a.readyState){var c=function(){var a=!1,c=function(){a=!0};b.on("loadstart",c);var d=function(){a||this.trigger("loadstart")};b.on("loadedmetadata",d);b.ready(function(){this.off("loadstart",c);this.off("loadedmetadata",d);a||this.trigger("loadstart")});return{v:void 0}}();
if("object"===typeof c)return c.v}var d=["loadstart"];d.push("loadedmetadata");2<=a.readyState&&d.push("loadeddata");3<=a.readyState&&d.push("canplay");4<=a.readyState&&d.push("canplaythrough");this.ready(function(){d.forEach(function(a){this.trigger(a)},this)})}};b.prototype.proxyNativeTextTracks_=function(){var a=this.el().textTracks;a&&a.addEventListener&&(a.addEventListener("change",this.handleTextTrackChange_),a.addEventListener("addtrack",this.handleTextTrackAdd_),a.addEventListener("removetrack",
this.handleTextTrackRemove_))};b.prototype.handleTextTrackChange=function(a){a=this.textTracks();this.textTracks().trigger({type:"change",target:a,currentTarget:a,srcElement:a})};b.prototype.handleTextTrackAdd=function(a){this.textTracks().addTrack_(a.track)};b.prototype.handleTextTrackRemove=function(a){this.textTracks().removeTrack_(a.track)};b.prototype.play=function(){this.el_.play()};b.prototype.pause=function(){this.el_.pause()};b.prototype.paused=function(){return this.el_.paused};b.prototype.currentTime=
function(){return this.el_.currentTime};b.prototype.setCurrentTime=function(a){try{this.el_.currentTime=a}catch(b){t["default"](b,"Video is not ready. (Video.js)")}};b.prototype.duration=function(){return this.el_.duration||0};b.prototype.buffered=function(){return this.el_.buffered};b.prototype.volume=function(){return this.el_.volume};b.prototype.setVolume=function(a){this.el_.volume=a};b.prototype.muted=function(){return this.el_.muted};b.prototype.setMuted=function(a){this.el_.muted=a};b.prototype.width=
function(){return this.el_.offsetWidth};b.prototype.height=function(){return this.el_.offsetHeight};b.prototype.supportsFullScreen=function(){if("function"===typeof this.el_.webkitEnterFullScreen){var a=u["default"].navigator.userAgent;if(/Android/.test(a)||!/Chrome|Mac OS X 10.5/.test(a))return!0}return!1};b.prototype.enterFullScreen=function(){var a=this.el_;if("webkitDisplayingFullscreen"in a)this.one("webkitbeginfullscreen",function(){this.one("webkitendfullscreen",function(){this.trigger("fullscreenchange",
{isFullscreen:!1})});this.trigger("fullscreenchange",{isFullscreen:!0})});a.paused&&a.networkState<=a.HAVE_METADATA?(this.el_.play(),this.setTimeout(function(){a.pause();a.webkitEnterFullScreen()},0)):a.webkitEnterFullScreen()};b.prototype.exitFullScreen=function(){this.el_.webkitExitFullScreen()};b.prototype.src=function(a){if(void 0===a)return this.el_.src;this.setSrc(a)};b.prototype.setSrc=function(a){this.el_.src=a};b.prototype.load=function(){this.el_.load()};b.prototype.reset=function(){b.resetMediaElement(this.el_)};
b.prototype.currentSrc=function(){return this.currentSource_?this.currentSource_.src:this.el_.currentSrc};b.prototype.poster=function(){return this.el_.poster};b.prototype.setPoster=function(a){this.el_.poster=a};b.prototype.preload=function(){return this.el_.preload};b.prototype.setPreload=function(a){this.el_.preload=a};b.prototype.autoplay=function(){return this.el_.autoplay};b.prototype.setAutoplay=function(a){this.el_.autoplay=a};b.prototype.controls=function(){return this.el_.controls};b.prototype.setControls=
function(a){this.el_.controls=!!a};b.prototype.loop=function(){return this.el_.loop};b.prototype.setLoop=function(a){this.el_.loop=a};b.prototype.error=function(){return this.el_.error};b.prototype.seeking=function(){return this.el_.seeking};b.prototype.seekable=function(){return this.el_.seekable};b.prototype.ended=function(){return this.el_.ended};b.prototype.defaultMuted=function(){return this.el_.defaultMuted};b.prototype.playbackRate=function(){return this.el_.playbackRate};b.prototype.played=
function(){return this.el_.played};b.prototype.setPlaybackRate=function(a){this.el_.playbackRate=a};b.prototype.networkState=function(){return this.el_.networkState};b.prototype.readyState=function(){return this.el_.readyState};b.prototype.videoWidth=function(){return this.el_.videoWidth};b.prototype.videoHeight=function(){return this.el_.videoHeight};b.prototype.textTracks=function(){return a.prototype.textTracks.call(this)};b.prototype.addTextTrack=function(b,c,d){return this.featuresNativeTextTracks?
this.el_.addTextTrack(b,c,d):a.prototype.addTextTrack.call(this,b,c,d)};b.prototype.addRemoteTextTrack=function(){var b=0>=arguments.length||void 0===arguments[0]?{}:arguments[0];if(!this.featuresNativeTextTracks)return a.prototype.addRemoteTextTrack.call(this,b);var c=v["default"].createElement("track");b.kind&&(c.kind=b.kind);b.label&&(c.label=b.label);if(b.language||b.srclang)c.srclang=b.language||b.srclang;b["default"]&&(c["default"]=b["default"]);b.id&&(c.id=b.id);b.src&&(c.src=b.src);this.el().appendChild(c);
this.remoteTextTrackEls().addTrackElement_(c);this.remoteTextTracks().addTrack_(c.track);return c};b.prototype.removeRemoteTextTrack=function(b){if(!this.featuresNativeTextTracks)return a.prototype.removeRemoteTextTrack.call(this,b);var c=void 0,d=void 0,c=this.remoteTextTrackEls().getTrackElementByTrack_(b);this.remoteTextTrackEls().removeTrackElement_(c);this.remoteTextTracks().removeTrack_(b);c=this.$$("track");for(d=c.length;d--;)b!==c[d]&&b!==c[d].track||this.el().removeChild(c[d])};return b}(b["default"]);
q.TEST_VID=v["default"].createElement("video");a=v["default"].createElement("track");a.kind="captions";a.srclang="en";a.label="English";q.TEST_VID.appendChild(a);q.isSupported=function(){try{q.TEST_VID.volume=.5}catch(a){return!1}return!!q.TEST_VID.canPlayType};b["default"].withSourceHandlers(q);q.nativeSourceHandler={};q.nativeSourceHandler.canPlayType=function(a){try{return q.TEST_VID.canPlayType(a)}catch(b){return""}};q.nativeSourceHandler.canHandleSource=function(a){return a.type?q.nativeSourceHandler.canPlayType(a.type):
a.src?(a=p.getFileExtension(a.src),q.nativeSourceHandler.canPlayType("video/"+a)):""};q.nativeSourceHandler.handleSource=function(a,b){b.setSrc(a.src)};q.nativeSourceHandler.dispose=function(){};q.registerSourceHandler(q.nativeSourceHandler);q.canControlVolume=function(){var a=q.TEST_VID.volume;q.TEST_VID.volume=a/2+.1;return a!==q.TEST_VID.volume};q.canControlPlaybackRate=function(){var a=q.TEST_VID.playbackRate;q.TEST_VID.playbackRate=a/2+.1;return a!==q.TEST_VID.playbackRate};q.supportsNativeTextTracks=
function(){var a;(a=!!q.TEST_VID.textTracks)&&0<q.TEST_VID.textTracks.length&&(a="number"!==typeof q.TEST_VID.textTracks[0].mode);a&&w.IS_FIREFOX&&(a=!1);!a||"onremovetrack"in q.TEST_VID.textTracks||(a=!1);return a};q.Events="loadstart suspend abort error emptied stalled loadedmetadata loadeddata canplay canplaythrough playing waiting seeking seeked ended durationchange timeupdate progress play pause ratechange volumechange".split(" ");q.prototype.featuresVolumeControl=q.canControlVolume();q.prototype.featuresPlaybackRate=
q.canControlPlaybackRate();q.prototype.movingMediaElementInDOM=!w.IS_IOS;q.prototype.featuresFullscreenResize=!0;q.prototype.featuresProgressEvents=!0;q.prototype.featuresNativeTextTracks=q.supportsNativeTextTracks();var y=void 0,z=/^application\/(?:x-|vnd\.apple\.)mpegurl/i,B=/^video\/mp4/i;q.patchCanPlayType=function(){4<=w.ANDROID_VERSION&&(y||(y=q.TEST_VID.constructor.prototype.canPlayType),q.TEST_VID.constructor.prototype.canPlayType=function(a){return a&&z.test(a)?"maybe":y.call(this,a)});w.IS_OLD_ANDROID&&
(y||(y=q.TEST_VID.constructor.prototype.canPlayType),q.TEST_VID.constructor.prototype.canPlayType=function(a){return a&&B.test(a)?"maybe":y.call(this,a)})};q.unpatchCanPlayType=function(){var a=q.TEST_VID.constructor.prototype.canPlayType;q.TEST_VID.constructor.prototype.canPlayType=y;y=null;return a};q.patchCanPlayType();q.disposeMediaElement=function(a){if(a){for(a.parentNode&&a.parentNode.removeChild(a);a.hasChildNodes();)a.removeChild(a.firstChild);a.removeAttribute("src");if("function"===typeof a.load)try{a.load()}catch(b){}}};
q.resetMediaElement=function(a){if(a){for(var b=a.querySelectorAll("source"),c=b.length;c--;)a.removeChild(b[c]);a.removeAttribute("src");if("function"===typeof a.load)try{a.load()}catch(d){}}};l["default"].registerComponent("Html5",q);b["default"].registerTech("Html5",q);c["default"]=q;e.exports=c["default"]},{"../component":66,"../utils/browser.js":128,"../utils/dom.js":131,"../utils/fn.js":133,"../utils/log.js":136,"../utils/merge-options.js":137,"../utils/url.js":141,"./tech.js":118,"global/document":1,
"global/window":2,"object.assign":45}],117:[function(a,e,c){function f(a){return a&&a.__esModule?a:{"default":a}}function d(a,b){if("function"!==typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function, not "+typeof b);a.prototype=Object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}});b&&(Object.setPrototypeOf?Object.setPrototypeOf(a,b):a.__proto__=b)}c.__esModule=!0;var g=a("../component.js"),b=f(g),g=a("./tech.js"),l=f(g),
g=a("global/window");f(g);a=a("../utils/to-title-case.js");var k=f(a);a=function(a){function c(d,e,f){if(!(this instanceof c))throw new TypeError("Cannot call a class as a function");a.call(this,d,e,f);if(e.playerOptions.sources&&0!==e.playerOptions.sources.length)d.src(e.playerOptions.sources);else for(f=0,e=e.playerOptions.techOrder;f<e.length;f++){var g=k["default"](e[f]),u=l["default"].getTech(g);g||(u=b["default"].getComponent(g));if(u&&u.isSupported()){d.loadTech_(g);break}}}d(c,a);return c}(b["default"]);
b["default"].registerComponent("MediaLoader",a);c["default"]=a;e.exports=c["default"]},{"../component.js":66,"../utils/to-title-case.js":140,"./tech.js":118,"global/window":2}],118:[function(a,e,c){function f(a){return a&&a.__esModule?a:{"default":a}}function d(a,b){if("function"!==typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function, not "+typeof b);a.prototype=Object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}});b&&
(Object.setPrototypeOf?Object.setPrototypeOf(a,b):a.__proto__=b)}c.__esModule=!0;var g=a("../component"),g=f(g),b=a("../tracks/html-track-element"),l=f(b),b=a("../tracks/html-track-element-list"),k=f(b),b=a("../utils/merge-options.js"),n=f(b),b=a("../tracks/text-track"),p=f(b),b=a("../tracks/text-track-list"),m=f(b),t=function(a){if(a&&a.__esModule)return a;var b={};if(null!=a)for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&(b[c]=a[c]);b["default"]=a;return b}(a("../utils/fn.js")),b=a("../utils/log.js"),
w=f(b),v=a("../utils/time-ranges.js"),u=a("../utils/buffer.js"),b=a("../media-error.js"),x=f(b),b=a("global/window"),r=f(b);a=a("global/document");var q=f(a);a=function(a){function b(){var c=0>=arguments.length||void 0===arguments[0]?{}:arguments[0],d=1>=arguments.length||void 0===arguments[1]?function(){}:arguments[1];if(!(this instanceof b))throw new TypeError("Cannot call a class as a function");c.reportTouchActivity=!1;a.call(this,null,c,d);this.hasStarted_=!1;this.on("playing",function(){this.hasStarted_=
!0});this.on("loadstart",function(){this.hasStarted_=!1});this.textTracks_=c.textTracks;this.featuresProgressEvents||this.manualProgressOn();this.featuresTimeupdateEvents||this.manualTimeUpdatesOn();if(!1===c.nativeCaptions||!1===c.nativeTextTracks)this.featuresNativeTextTracks=!1;if(!this.featuresNativeTextTracks)this.on("ready",this.emulateTextTracks);this.initTextTrackListeners();this.emitTapEvents()}d(b,a);b.prototype.manualProgressOn=function(){this.on("durationchange",this.onDurationChange);
this.manualProgress=!0;this.one("ready",this.trackProgress)};b.prototype.manualProgressOff=function(){this.manualProgress=!1;this.stopTrackingProgress();this.off("durationchange",this.onDurationChange)};b.prototype.trackProgress=function(){this.stopTrackingProgress();this.progressInterval=this.setInterval(t.bind(this,function(){var a=this.bufferedPercent();this.bufferedPercent_!==a&&this.trigger("progress");this.bufferedPercent_=a;1===a&&this.stopTrackingProgress()}),500)};b.prototype.onDurationChange=
function(){this.duration_=this.duration()};b.prototype.buffered=function(){return v.createTimeRange(0,0)};b.prototype.bufferedPercent=function(){return u.bufferedPercent(this.buffered(),this.duration_)};b.prototype.stopTrackingProgress=function(){this.clearInterval(this.progressInterval)};b.prototype.manualTimeUpdatesOn=function(){this.manualTimeUpdates=!0;this.on("play",this.trackCurrentTime);this.on("pause",this.stopTrackingCurrentTime)};b.prototype.manualTimeUpdatesOff=function(){this.manualTimeUpdates=
!1;this.stopTrackingCurrentTime();this.off("play",this.trackCurrentTime);this.off("pause",this.stopTrackingCurrentTime)};b.prototype.trackCurrentTime=function(){this.currentTimeInterval&&this.stopTrackingCurrentTime();this.currentTimeInterval=this.setInterval(function(){this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})},250)};b.prototype.stopTrackingCurrentTime=function(){this.clearInterval(this.currentTimeInterval);this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})};
b.prototype.dispose=function(){var b=this.textTracks();if(b)for(var c=b.length;c--;)this.removeRemoteTextTrack(b[c]);this.manualProgress&&this.manualProgressOff();this.manualTimeUpdates&&this.manualTimeUpdatesOff();a.prototype.dispose.call(this)};b.prototype.reset=function(){};b.prototype.error=function(a){void 0!==a&&(this.error_=a instanceof x["default"]?a:new x["default"](a),this.trigger("error"));return this.error_};b.prototype.played=function(){return this.hasStarted_?v.createTimeRange(0,0):
v.createTimeRange()};b.prototype.setCurrentTime=function(){this.manualTimeUpdates&&this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})};b.prototype.initTextTrackListeners=function(){var a=t.bind(this,function(){this.trigger("texttrackchange")}),b=this.textTracks();b&&(b.addEventListener("removetrack",a),b.addEventListener("addtrack",a),this.on("dispose",t.bind(this,function(){b.removeEventListener("removetrack",a);b.removeEventListener("addtrack",a)})))};b.prototype.emulateTextTracks=
function(){var a=this,b=this.textTracks();if(b){if(!r["default"].WebVTT&&null!=this.el().parentNode){var c=q["default"].createElement("script");c.src=this.options_["vtt.js"]||"https://cdn.rawgit.com/gkatsev/vtt.js/vjs-v0.12.1/dist/vtt.min.js";this.el().parentNode.appendChild(c);r["default"].WebVTT=!0}var d=function(){return a.trigger("texttrackchange")},e=function(){d();for(var a=0;a<b.length;a++){var c=b[a];c.removeEventListener("cuechange",d);"showing"===c.mode&&c.addEventListener("cuechange",d)}};
e();b.addEventListener("change",e);this.on("dispose",function(){b.removeEventListener("change",e)})}};b.prototype.textTracks=function(){return this.textTracks_=this.textTracks_||new m["default"]};b.prototype.remoteTextTracks=function(){return this.remoteTextTracks_=this.remoteTextTracks_||new m["default"]};b.prototype.remoteTextTrackEls=function(){return this.remoteTextTrackEls_=this.remoteTextTrackEls_||new k["default"]};b.prototype.addTextTrack=function(a,b,c){if(!a)throw Error("TextTrack kind is required but was not provided");
return y(this,a,b,c)};b.prototype.addRemoteTextTrack=function(a){a=n["default"](a,{tech:this});a=new l["default"](a);this.remoteTextTrackEls().addTrackElement_(a);this.remoteTextTracks().addTrack_(a.track);this.textTracks().addTrack_(a.track);return a};b.prototype.removeRemoteTextTrack=function(a){this.textTracks().removeTrack_(a);var b=this.remoteTextTrackEls().getTrackElementByTrack_(a);this.remoteTextTrackEls().removeTrackElement_(b);this.remoteTextTracks().removeTrack_(a)};b.prototype.setPoster=
function(){};b.prototype.canPlayType=function(){return""};b.isTech=function(a){return a.prototype instanceof b||a instanceof b||a===b};b.registerTech=function(a,c){b.techs_||(b.techs_={});if(!b.isTech(c))throw Error("Tech "+a+" must be a Tech");return b.techs_[a]=c};b.getTech=function(a){if(b.techs_&&b.techs_[a])return b.techs_[a];if(r["default"]&&r["default"].videojs&&r["default"].videojs[a])return w["default"].warn("The "+a+" tech was added to the videojs object when it should be registered using videojs.registerTech(name, tech)"),
r["default"].videojs[a]};return b}(g["default"]);a.prototype.textTracks_;var y=function(a,b,c,d){var e=4>=arguments.length||void 0===arguments[4]?{}:arguments[4],f=a.textTracks();e.kind=b;c&&(e.label=c);d&&(e.language=d);e.tech=a;e=new p["default"](e);f.addTrack_(e);return e};a.prototype.featuresVolumeControl=!0;a.prototype.featuresFullscreenResize=!1;a.prototype.featuresPlaybackRate=!1;a.prototype.featuresProgressEvents=!1;a.prototype.featuresTimeupdateEvents=!1;a.prototype.featuresNativeTextTracks=
!1;a.withSourceHandlers=function(a){a.registerSourceHandler=function(b,c){var d=a.sourceHandlers;d||(d=a.sourceHandlers=[]);void 0===c&&(c=d.length);d.splice(c,0,b)};a.canPlayType=function(b){for(var c=a.sourceHandlers||[],d=void 0,e=0;e<c.length;e++)if(d=c[e].canPlayType(b))return d;return""};a.selectSourceHandler=function(b){for(var c=a.sourceHandlers||[],d=void 0,e=0;e<c.length;e++)if(d=c[e].canHandleSource(b))return c[e];return null};a.canPlaySource=function(b){var c=a.selectSourceHandler(b);
return c?c.canHandleSource(b):""};["seekable","duration"].forEach(function(a){var b=this[a];"function"===typeof b&&(this[a]=function(){return this.sourceHandler_&&this.sourceHandler_[a]?this.sourceHandler_[a].apply(this.sourceHandler_,arguments):b.apply(this,arguments)})},a.prototype);a.prototype.setSource=function(b){var c=a.selectSourceHandler(b);c||(a.nativeSourceHandler?c=a.nativeSourceHandler:w["default"].error("No source hander found for the current source."));this.disposeSourceHandler();this.off("dispose",
this.disposeSourceHandler);this.currentSource_=b;this.sourceHandler_=c.handleSource(b,this);this.on("dispose",this.disposeSourceHandler);return this};a.prototype.disposeSourceHandler=function(){this.sourceHandler_&&this.sourceHandler_.dispose&&this.sourceHandler_.dispose()}};g["default"].registerComponent("Tech",a);g["default"].registerComponent("MediaTechController",a);a.registerTech("Tech",a);c["default"]=a;e.exports=c["default"]},{"../component":66,"../media-error.js":102,"../tracks/html-track-element":120,
"../tracks/html-track-element-list":119,"../tracks/text-track":127,"../tracks/text-track-list":125,"../utils/buffer.js":129,"../utils/fn.js":133,"../utils/log.js":136,"../utils/merge-options.js":137,"../utils/time-ranges.js":139,"global/document":1,"global/window":2}],119:[function(a,e,c){c.__esModule=!0;var f=function(a){if(a&&a.__esModule)return a;var b={};if(null!=a)for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&(b[c]=a[c]);b["default"]=a;return b}(a("../utils/browser.js")),d=(a=a("global/document"))&&
a.__esModule?a:{"default":a};a=function(){function a(){var b=0>=arguments.length||void 0===arguments[0]?[]:arguments[0];if(!(this instanceof a))throw new TypeError("Cannot call a class as a function");var c=this;if(f.IS_IE8){var c=d["default"].createElement("custom"),e;for(e in a.prototype)"constructor"!==e&&(c[e]=a.prototype[e])}c.trackElements_=[];Object.defineProperty(c,"length",{get:function(){return this.trackElements_.length}});e=0;for(var n=b.length;e<n;e++)c.addTrackElement_(b[e]);if(f.IS_IE8)return c}
a.prototype.addTrackElement_=function(a){this.trackElements_.push(a)};a.prototype.getTrackElementByTrack_=function(a){for(var c=void 0,d=0,e=this.trackElements_.length;d<e;d++)if(a===this.trackElements_[d].track){c=this.trackElements_[d];break}return c};a.prototype.removeTrackElement_=function(a){for(var c=0,d=this.trackElements_.length;c<d;c++)if(a===this.trackElements_[c]){this.trackElements_.splice(c,1);break}};return a}();c["default"]=a;e.exports=c["default"]},{"../utils/browser.js":128,"global/document":1}],
120:[function(a,e,c){function f(a){return a&&a.__esModule?a:{"default":a}}function d(a,b){if("function"!==typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function, not "+typeof b);a.prototype=Object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}});b&&(Object.setPrototypeOf?Object.setPrototypeOf(a,b):a.__proto__=b)}c.__esModule=!0;var g=function(a){if(a&&a.__esModule)return a;var b={};if(null!=a)for(var c in a)Object.prototype.hasOwnProperty.call(a,
c)&&(b[c]=a[c]);b["default"]=a;return b}(a("../utils/browser.js")),b=a("global/document"),l=f(b),b=a("../event-target"),b=f(b);a=a("../tracks/text-track");var k=f(a);a=function(a){function b(){var c=0>=arguments.length||void 0===arguments[0]?{}:arguments[0];if(!(this instanceof b))throw new TypeError("Cannot call a class as a function");a.call(this);var d=void 0,e=this;if(g.IS_IE8){var e=l["default"].createElement("custom"),f;for(f in b.prototype)"constructor"!==f&&(e[f]=b.prototype[f])}var u=new k["default"](c);
e.kind=u.kind;e.src=u.src;e.srclang=u.language;e.label=u.label;e["default"]=u["default"];Object.defineProperty(e,"readyState",{get:function(){return d}});Object.defineProperty(e,"track",{get:function(){return u}});d=0;u.addEventListener("loadeddata",function(){d=2;e.trigger({type:"load",target:e})});if(g.IS_IE8)return e}d(b,a);return b}(b["default"]);a.prototype.allowedEvents_={load:"load"};a.NONE=0;a.LOADING=1;a.LOADED=2;a.ERROR=3;c["default"]=a;e.exports=c["default"]},{"../event-target":98,"../tracks/text-track":127,
"../utils/browser.js":128,"global/document":1}],121:[function(a,e,c){function f(a){var c=this;if(d.IS_IE8){var c=g["default"].createElement("custom"),e;for(e in f.prototype)"constructor"!==e&&(c[e]=f.prototype[e])}f.prototype.setCues_.call(c,a);Object.defineProperty(c,"length",{get:function(){return this.length_}});if(d.IS_IE8)return c}c.__esModule=!0;var d=function(a){if(a&&a.__esModule)return a;var c={};if(null!=a)for(var d in a)Object.prototype.hasOwnProperty.call(a,d)&&(c[d]=a[d]);c["default"]=
a;return c}(a("../utils/browser.js")),g=(a=a("global/document"))&&a.__esModule?a:{"default":a};f.prototype.setCues_=function(a){var c=this.length||0,d=0,e=a.length;this.cues_=a;this.length_=a.length;a=function(a){""+a in this||Object.defineProperty(this,""+a,{get:function(){return this.cues_[a]}})};if(c<e)for(d=c;d<e;d++)a.call(this,d)};f.prototype.getCueById=function(a){for(var c=null,d=0,e=this.length;d<e;d++){var f=this[d];if(f.id===a){c=f;break}}return c};c["default"]=f;e.exports=c["default"]},
{"../utils/browser.js":128,"global/document":1}],122:[function(a,e,c){function f(a){return a&&a.__esModule?a:{"default":a}}function d(a,b){if("function"!==typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function, not "+typeof b);a.prototype=Object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}});b&&(Object.setPrototypeOf?Object.setPrototypeOf(a,b):a.__proto__=b)}function g(a,b){return"rgba("+parseInt(a[1]+a[1],16)+","+parseInt(a[2]+
a[2],16)+","+parseInt(a[3]+a[3],16)+","+b+")"}c.__esModule=!0;var b=a("../component"),b=f(b),l=a("../menu/menu.js");f(l);l=a("../menu/menu-item.js");f(l);l=a("../menu/menu-button.js");f(l);var k=function(a){if(a&&a.__esModule)return a;var b={};if(null!=a)for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&(b[c]=a[c]);b["default"]=a;return b}(a("../utils/fn.js")),l=a("global/document");f(l);a=a("global/window");var n=f(a),p={monospace:"monospace",sansSerif:"sans-serif",serif:"serif",monospaceSansSerif:'"Andale Mono", "Lucida Console", monospace',
monospaceSerif:'"Courier New", monospace',proportionalSansSerif:"sans-serif",proportionalSerif:"serif",casual:'"Comic Sans MS", Impact, fantasy',script:'"Monotype Corsiva", cursive',smallcaps:'"Andale Mono", "Lucida Console", monospace, sans-serif'};a=function(a){function b(c,d,e){if(!(this instanceof b))throw new TypeError("Cannot call a class as a function");a.call(this,c,d,e);c.on("loadstart",k.bind(this,this.toggleDisplay));c.on("texttrackchange",k.bind(this,this.updateDisplay));c.ready(k.bind(this,
function(){if(c.tech_&&c.tech_.featuresNativeTextTracks)this.hide();else{c.on("fullscreenchange",k.bind(this,this.updateDisplay));for(var a=this.options_.playerOptions.tracks||[],b=0;b<a.length;b++)this.player_.addRemoteTextTrack(a[b])}}))}d(b,a);b.prototype.toggleDisplay=function(){this.player_.tech_&&this.player_.tech_.featuresNativeTextTracks?this.hide():this.show()};b.prototype.createEl=function(){return a.prototype.createEl.call(this,"div",{className:"vjs-text-track-display"})};b.prototype.clearDisplay=
function(){"function"===typeof n["default"].WebVTT&&n["default"].WebVTT.processCues(n["default"],[],this.el_)};b.prototype.updateDisplay=function(){var a=this.player_.textTracks();this.clearDisplay();if(a)for(var b=0;b<a.length;b++){var c=a[b];"showing"===c.mode&&this.updateForTrack(c)}};b.prototype.updateForTrack=function(a){if("function"===typeof n["default"].WebVTT&&a.activeCues){for(var b=this.player_.textTrackSettings.getValues(),c=[],d=0;d<a.activeCues.length;d++)c.push(a.activeCues[d]);n["default"].WebVTT.processCues(n["default"],
a.activeCues,this.el_);for(a=c.length;a--;)if(d=c[a]){d=d.displayState;b.color&&(d.firstChild.style.color=b.color);if(b.textOpacity){var e=g(b.color||"#fff",b.textOpacity);try{d.firstChild.style.color=e}catch(f){}}b.backgroundColor&&(d.firstChild.style.backgroundColor=b.backgroundColor);if(b.backgroundOpacity){e=g(b.backgroundColor||"#000",b.backgroundOpacity);try{d.firstChild.style.backgroundColor=e}catch(f){}}if(b.windowColor)if(b.windowOpacity){e=g(b.windowColor,b.windowOpacity);try{d.style.backgroundColor=
e}catch(f){}}else d.style.backgroundColor=b.windowColor;b.edgeStyle&&("dropshadow"===b.edgeStyle?d.firstChild.style.textShadow="2px 2px 3px #222, 2px 2px 4px #222, 2px 2px 5px #222":"raised"===b.edgeStyle?d.firstChild.style.textShadow="1px 1px #222, 2px 2px #222, 3px 3px #222":"depressed"===b.edgeStyle?d.firstChild.style.textShadow="1px 1px #ccc, 0 1px #ccc, -1px -1px #222, 0 -1px #222":"uniform"===b.edgeStyle&&(d.firstChild.style.textShadow="0 0 4px #222, 0 0 4px #222, 0 0 4px #222, 0 0 4px #222"));
b.fontPercent&&1!==b.fontPercent&&(e=n["default"].parseFloat(d.style.fontSize),d.style.fontSize=e*b.fontPercent+"px",d.style.height="auto",d.style.top="auto",d.style.bottom="2px");b.fontFamily&&"default"!==b.fontFamily&&("small-caps"===b.fontFamily?d.firstChild.style.fontVariant="small-caps":d.firstChild.style.fontFamily=p[b.fontFamily])}}};return b}(b["default"]);b["default"].registerComponent("TextTrackDisplay",a);c["default"]=a;e.exports=c["default"]},{"../component":66,"../menu/menu-button.js":103,
"../menu/menu-item.js":104,"../menu/menu.js":105,"../utils/fn.js":133,"global/document":1,"global/window":2}],123:[function(a,e,c){c.__esModule=!0;c.TextTrackMode={disabled:"disabled",hidden:"hidden",showing:"showing"};c.TextTrackKind={subtitles:"subtitles",captions:"captions",descriptions:"descriptions",chapters:"chapters",metadata:"metadata"}},{}],124:[function(a,e,c){c.__esModule=!0;var f=function(a){return"kind label language id inBandMetadataTrackDispatchType mode src".split(" ").reduce(function(c,
b,e){a[b]&&(c[b]=a[b]);return c},{cues:a.cues&&Array.prototype.map.call(a.cues,function(a){return{startTime:a.startTime,endTime:a.endTime,text:a.text,id:a.id}})})};c["default"]={textTracksToJson:function(a){var c=a.$$("track"),b=Array.prototype.map.call(c,function(a){return a.track});return Array.prototype.map.call(c,function(a){var b=f(a.track);a.src&&(b.src=a.src);return b}).concat(Array.prototype.filter.call(a.textTracks(),function(a){return-1===b.indexOf(a)}).map(f))},jsonToTextTracks:function(a,
c){a.forEach(function(a){var d=c.addRemoteTextTrack(a).track;!a.src&&a.cues&&a.cues.forEach(function(a){return d.addCue(a)})});return c.textTracks()},trackToJson_:f};e.exports=c["default"]},{}],125:[function(a,e,c){function f(a){if(a&&a.__esModule)return a;var b={};if(null!=a)for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&(b[c]=a[c]);b["default"]=a;return b}function d(a){var b=this;if(k.IS_IE8){var b=n["default"].createElement("custom"),c;for(c in d.prototype)"constructor"!==c&&(b[c]=d.prototype[c])}a=
a||[];b.tracks_=[];Object.defineProperty(b,"length",{get:function(){return this.tracks_.length}});for(c=0;c<a.length;c++)b.addTrack_(a[c]);if(k.IS_IE8)return b}c.__esModule=!0;var g=a("../event-target"),g=g&&g.__esModule?g:{"default":g},b=a("../utils/fn.js"),l=f(b),b=a("../utils/browser.js"),k=f(b),n=(a=a("global/document"))&&a.__esModule?a:{"default":a};d.prototype=Object.create(g["default"].prototype);d.prototype.constructor=d;d.prototype.allowedEvents_={change:"change",addtrack:"addtrack",removetrack:"removetrack"};
for(var p in d.prototype.allowedEvents_)d.prototype["on"+p]=null;d.prototype.addTrack_=function(a){var b=this.tracks_.length;""+b in this||Object.defineProperty(this,b,{get:function(){return this.tracks_[b]}});a.addEventListener("modechange",l.bind(this,function(){this.trigger("change")}));this.tracks_.push(a);this.trigger({type:"addtrack",track:a})};d.prototype.removeTrack_=function(a){for(var b=void 0,c=0,d=this.length;c<d;c++)if(this[c]===a){b=this[c];b.off&&b.off();this.tracks_.splice(c,1);break}b&&
this.trigger({type:"removetrack",track:b})};d.prototype.getTrackById=function(a){for(var b=null,c=0,d=this.length;c<d;c++){var e=this[c];if(e.id===a){b=e;break}}return b};c["default"]=d;e.exports=c["default"]},{"../event-target":98,"../utils/browser.js":128,"../utils/fn.js":133,"global/document":1}],126:[function(a,e,c){function f(a){if(a&&a.__esModule)return a;var b={};if(null!=a)for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&(b[c]=a[c]);b["default"]=a;return b}function d(a){return a&&
a.__esModule?a:{"default":a}}function g(a,b){if("function"!==typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function, not "+typeof b);a.prototype=Object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}});b&&(Object.setPrototypeOf?Object.setPrototypeOf(a,b):a.__proto__=b)}function b(a){var b=void 0;a.selectedOptions?b=a.selectedOptions[0]:a.options&&(b=a.options[a.options.selectedIndex]);return b.value}function l(a,b){if(b){for(var c=
void 0,c=0;c<a.options.length&&a.options[c].value!==b;c++);a.selectedIndex=c}}c.__esModule=!0;var k=a("../component"),k=d(k),n=a("../utils/events.js"),p=f(n),n=a("../utils/fn.js"),m=f(n),n=a("../utils/log.js"),t=d(n),n=a("safe-json-parse/tuple"),w=d(n);a=a("global/window");var v=d(a);a=function(a){function c(b,d){if(!(this instanceof c))throw new TypeError("Cannot call a class as a function");a.call(this,b,d);this.hide();void 0===d.persistTextTrackSettings&&(this.options_.persistTextTrackSettings=
this.options_.playerOptions.persistTextTrackSettings);p.on(this.$(".vjs-done-button"),"click",m.bind(this,function(){this.saveSettings();this.hide()}));p.on(this.$(".vjs-default-button"),"click",m.bind(this,function(){this.$(".vjs-fg-color > select").selectedIndex=0;this.$(".vjs-bg-color > select").selectedIndex=0;this.$(".window-color > select").selectedIndex=0;this.$(".vjs-text-opacity > select").selectedIndex=0;this.$(".vjs-bg-opacity > select").selectedIndex=0;this.$(".vjs-window-opacity > select").selectedIndex=
0;this.$(".vjs-edge-style select").selectedIndex=0;this.$(".vjs-font-family select").selectedIndex=0;this.$(".vjs-font-percent select").selectedIndex=2;this.updateDisplay()}));p.on(this.$(".vjs-fg-color > select"),"change",m.bind(this,this.updateDisplay));p.on(this.$(".vjs-bg-color > select"),"change",m.bind(this,this.updateDisplay));p.on(this.$(".window-color > select"),"change",m.bind(this,this.updateDisplay));p.on(this.$(".vjs-text-opacity > select"),"change",m.bind(this,this.updateDisplay));p.on(this.$(".vjs-bg-opacity > select"),
"change",m.bind(this,this.updateDisplay));p.on(this.$(".vjs-window-opacity > select"),"change",m.bind(this,this.updateDisplay));p.on(this.$(".vjs-font-percent select"),"change",m.bind(this,this.updateDisplay));p.on(this.$(".vjs-edge-style select"),"change",m.bind(this,this.updateDisplay));p.on(this.$(".vjs-font-family select"),"change",m.bind(this,this.updateDisplay));this.options_.persistTextTrackSettings&&this.restoreSettings()}g(c,a);c.prototype.createEl=function(){return a.prototype.createEl.call(this,
"div",{className:"vjs-caption-settings vjs-modal-overlay",innerHTML:'<div class="vjs-tracksettings">\n      <div class="vjs-tracksettings-colors">\n        <div class="vjs-fg-color vjs-tracksetting">\n            <label class="vjs-label">Foreground</label>\n            <select>\n              <option value="">---</option>\n              <option value="#FFF">White</option>\n              <option value="#000">Black</option>\n              <option value="#F00">Red</option>\n              <option value="#0F0">Green</option>\n              <option value="#00F">Blue</option>\n              <option value="#FF0">Yellow</option>\n              <option value="#F0F">Magenta</option>\n              <option value="#0FF">Cyan</option>\n            </select>\n            <span class="vjs-text-opacity vjs-opacity">\n              <select>\n                <option value="">---</option>\n                <option value="1">Opaque</option>\n                <option value="0.5">Semi-Opaque</option>\n              </select>\n            </span>\n        </div> \x3c!-- vjs-fg-color --\x3e\n        <div class="vjs-bg-color vjs-tracksetting">\n            <label class="vjs-label">Background</label>\n            <select>\n              <option value="">---</option>\n              <option value="#FFF">White</option>\n              <option value="#000">Black</option>\n              <option value="#F00">Red</option>\n              <option value="#0F0">Green</option>\n              <option value="#00F">Blue</option>\n              <option value="#FF0">Yellow</option>\n              <option value="#F0F">Magenta</option>\n              <option value="#0FF">Cyan</option>\n            </select>\n            <span class="vjs-bg-opacity vjs-opacity">\n                <select>\n                  <option value="">---</option>\n                  <option value="1">Opaque</option>\n                  <option value="0.5">Semi-Transparent</option>\n                  <option value="0">Transparent</option>\n                </select>\n            </span>\n        </div> \x3c!-- vjs-bg-color --\x3e\n        <div class="window-color vjs-tracksetting">\n            <label class="vjs-label">Window</label>\n            <select>\n              <option value="">---</option>\n              <option value="#FFF">White</option>\n              <option value="#000">Black</option>\n              <option value="#F00">Red</option>\n              <option value="#0F0">Green</option>\n              <option value="#00F">Blue</option>\n              <option value="#FF0">Yellow</option>\n              <option value="#F0F">Magenta</option>\n              <option value="#0FF">Cyan</option>\n            </select>\n            <span class="vjs-window-opacity vjs-opacity">\n                <select>\n                  <option value="">---</option>\n                  <option value="1">Opaque</option>\n                  <option value="0.5">Semi-Transparent</option>\n                  <option value="0">Transparent</option>\n                </select>\n            </span>\n        </div> \x3c!-- vjs-window-color --\x3e\n      </div> \x3c!-- vjs-tracksettings --\x3e\n      <div class="vjs-tracksettings-font">\n        <div class="vjs-font-percent vjs-tracksetting">\n          <label class="vjs-label">Font Size</label>\n          <select>\n            <option value="0.50">50%</option>\n            <option value="0.75">75%</option>\n            <option value="1.00" selected>100%</option>\n            <option value="1.25">125%</option>\n            <option value="1.50">150%</option>\n            <option value="1.75">175%</option>\n            <option value="2.00">200%</option>\n            <option value="3.00">300%</option>\n            <option value="4.00">400%</option>\n          </select>\n        </div> \x3c!-- vjs-font-percent --\x3e\n        <div class="vjs-edge-style vjs-tracksetting">\n          <label class="vjs-label">Text Edge Style</label>\n          <select>\n            <option value="none">None</option>\n            <option value="raised">Raised</option>\n            <option value="depressed">Depressed</option>\n            <option value="uniform">Uniform</option>\n            <option value="dropshadow">Dropshadow</option>\n          </select>\n        </div> \x3c!-- vjs-edge-style --\x3e\n        <div class="vjs-font-family vjs-tracksetting">\n          <label class="vjs-label">Font Family</label>\n          <select>\n            <option value="">Default</option>\n            <option value="monospaceSerif">Monospace Serif</option>\n            <option value="proportionalSerif">Proportional Serif</option>\n            <option value="monospaceSansSerif">Monospace Sans-Serif</option>\n            <option value="proportionalSansSerif">Proportional Sans-Serif</option>\n            <option value="casual">Casual</option>\n            <option value="script">Script</option>\n            <option value="small-caps">Small Caps</option>\n          </select>\n        </div> \x3c!-- vjs-font-family --\x3e\n      </div>\n    </div>\n    <div class="vjs-tracksettings-controls">\n      <button class="vjs-default-button">Defaults</button>\n      <button class="vjs-done-button">Done</button>\n    </div>'})};
c.prototype.getValues=function(){var a=b(this.$(".vjs-edge-style select")),c=b(this.$(".vjs-font-family select")),d=b(this.$(".vjs-fg-color > select")),e=b(this.$(".vjs-text-opacity > select")),f=b(this.$(".vjs-bg-color > select")),g=b(this.$(".vjs-bg-opacity > select")),k=b(this.$(".window-color > select")),l=b(this.$(".vjs-window-opacity > select")),n=v["default"].parseFloat(b(this.$(".vjs-font-percent > select"))),a={backgroundOpacity:g,textOpacity:e,windowOpacity:l,edgeStyle:a,fontFamily:c,color:d,
backgroundColor:f,windowColor:k,fontPercent:n},m;for(m in a)(""===a[m]||"none"===a[m]||"fontPercent"===m&&1===a[m])&&delete a[m];return a};c.prototype.setValues=function(a){l(this.$(".vjs-edge-style select"),a.edgeStyle);l(this.$(".vjs-font-family select"),a.fontFamily);l(this.$(".vjs-fg-color > select"),a.color);l(this.$(".vjs-text-opacity > select"),a.textOpacity);l(this.$(".vjs-bg-color > select"),a.backgroundColor);l(this.$(".vjs-bg-opacity > select"),a.backgroundOpacity);l(this.$(".window-color > select"),
a.windowColor);l(this.$(".vjs-window-opacity > select"),a.windowOpacity);(a=a.fontPercent)&&(a=a.toFixed(2));l(this.$(".vjs-font-percent > select"),a)};c.prototype.restoreSettings=function(){var a=w["default"](v["default"].localStorage.getItem("vjs-text-track-settings")),b=a[0],a=a[1];b&&t["default"].error(b);a&&this.setValues(a)};c.prototype.saveSettings=function(){if(this.options_.persistTextTrackSettings){var a=this.getValues();try{0<Object.getOwnPropertyNames(a).length?v["default"].localStorage.setItem("vjs-text-track-settings",
JSON.stringify(a)):v["default"].localStorage.removeItem("vjs-text-track-settings")}catch(b){}}};c.prototype.updateDisplay=function(){var a=this.player_.getChild("textTrackDisplay");a&&a.updateDisplay()};return c}(k["default"]);k["default"].registerComponent("TextTrackSettings",a);c["default"]=a;e.exports=c["default"]},{"../component":66,"../utils/events.js":132,"../utils/fn.js":133,"../utils/log.js":136,"global/window":2,"safe-json-parse/tuple":53}],127:[function(a,e,c){function f(a){if(a&&a.__esModule)return a;
var b={};if(null!=a)for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&(b[c]=a[c]);b["default"]=a;return b}function d(a){return a&&a.__esModule?a:{"default":a}}function g(){var a=0>=arguments.length||void 0===arguments[0]?{}:arguments[0];if(!a.tech)throw Error("A tech was not provided.");var b=this;if(p.IS_IE8){var b=v["default"].createElement("custom"),c;for(c in g.prototype)"constructor"!==c&&(b[c]=g.prototype[c])}b.tech_=a.tech;var d=m.TextTrackMode[a.mode]||"disabled",e=m.TextTrackKind[a.kind]||
"subtitles",f=a.label||"",r=a.language||a.srclang||"",q=a.id||"vjs_text_track_"+n.newGUID();if("metadata"===e||"chapters"===e)d="hidden";b.cues_=[];b.activeCues_=[];var u=new l["default"](b.cues_),x=new l["default"](b.activeCues_),w=!1,t=k.bind(b,function(){this.activeCues;w&&(this.trigger("cuechange"),w=!1)});if("disabled"!==d)b.tech_.on("timeupdate",t);Object.defineProperty(b,"kind",{get:function(){return e},set:Function.prototype});Object.defineProperty(b,"label",{get:function(){return f},set:Function.prototype});
Object.defineProperty(b,"language",{get:function(){return r},set:Function.prototype});Object.defineProperty(b,"id",{get:function(){return q},set:Function.prototype});Object.defineProperty(b,"mode",{get:function(){return d},set:function(a){if(m.TextTrackMode[a]){d=a;if("showing"===d)this.tech_.on("timeupdate",t);this.trigger("modechange")}}});Object.defineProperty(b,"cues",{get:function(){return this.loaded_?u:null},set:Function.prototype});Object.defineProperty(b,"activeCues",{get:function(){if(!this.loaded_)return null;
if(0===this.cues.length)return x;for(var a=this.tech_.currentTime(),b=[],c=0,d=this.cues.length;c<d;c++){var e=this.cues[c];e.startTime<=a&&e.endTime>=a?b.push(e):e.startTime===e.endTime&&e.startTime<=a&&e.startTime+.5>=a&&b.push(e)}w=!1;if(b.length!==this.activeCues_.length)w=!0;else for(c=0;c<b.length;c++)-1===z.call(this.activeCues_,b[c])&&(w=!0);this.activeCues_=b;x.setCues_(this.activeCues_);return x},set:Function.prototype});a.src?(b.src=a.src,y(a.src,b)):b.loaded_=!0;if(p.IS_IE8)return b}c.__esModule=
!0;var b=a("./text-track-cue-list"),l=d(b),b=a("../utils/fn.js"),k=f(b),b=a("../utils/guid.js"),n=f(b),b=a("../utils/browser.js"),p=f(b),b=a("./text-track-enums"),m=f(b),b=a("../utils/log.js"),t=d(b),b=a("../event-target"),b=d(b),w=a("global/document"),v=d(w),w=a("global/window"),u=d(w),x=a("../utils/url.js");a=a("xhr");var r=d(a);g.prototype=Object.create(b["default"].prototype);g.prototype.constructor=g;g.prototype.allowedEvents_={cuechange:"cuechange"};g.prototype.addCue=function(a){var b=this.tech_.textTracks();
if(b)for(var c=0;c<b.length;c++)b[c]!==this&&b[c].removeCue(a);this.cues_.push(a);this.cues.setCues_(this.cues_)};g.prototype.removeCue=function(a){for(var b=!1,c=0,d=this.cues_.length;c<d;c++)this.cues_[c]===a&&(this.cues_.splice(c,1),b=!0);b&&this.cues.setCues_(this.cues_)};var q=function(a,b){var c=new u["default"].WebVTT.Parser(u["default"],u["default"].vttjs,u["default"].WebVTT.StringDecoder());c.oncue=function(a){b.addCue(a)};c.onparsingerror=function(a){t["default"].error(a)};c.onflush=function(){b.trigger({type:"loadeddata",
target:b})};c.parse(a);c.flush()},y=function(a,b){var c={uri:a},d=x.isCrossOrigin(a);d&&(c.cors=d);r["default"](c,k.bind(this,function(a,c,d){if(a)return t["default"].error(a,c);b.loaded_=!0;"function"!==typeof u["default"].WebVTT?u["default"].setTimeout(function(){q(d,b)},100):q(d,b)}))},z=function(a,b){if(null==this)throw new TypeError('"this" is null or not defined');var c=Object(this),d=c.length>>>0;if(0===d)return-1;var e=+b||0;Infinity===Math.abs(e)&&(e=0);if(e>=d)return-1;for(e=Math.max(0<=
e?e:d-Math.abs(e),0);e<d;){if(e in c&&c[e]===a)return e;e++}return-1};c["default"]=g;e.exports=c["default"]},{"../event-target":98,"../utils/browser.js":128,"../utils/fn.js":133,"../utils/guid.js":135,"../utils/log.js":136,"../utils/url.js":141,"./text-track-cue-list":121,"./text-track-enums":123,"global/document":1,"global/window":2,xhr:55}],128:[function(a,e,c){c.__esModule=!0;e=(e=a("global/document"))&&e.__esModule?e:{"default":e};a=(a=a("global/window"))&&a.__esModule?a:{"default":a};var f=a["default"].navigator.userAgent,
d=/AppleWebKit\/([\d.]+)/i.exec(f),d=d?parseFloat(d.pop()):null,g=/iPad/i.test(f);c.IS_IPAD=g;var b=/iPhone/i.test(f)&&!g;c.IS_IPHONE=b;var l=/iPod/i.test(f);c.IS_IPOD=l;c.IS_IOS=b||g||l;g=function(){var a=f.match(/OS (\d+)_/i);if(a&&a[1])return a[1]}();c.IOS_VERSION=g;g=/Android/i.test(f);c.IS_ANDROID=g;b=function(){var a=f.match(/Android (\d+)(?:\.(\d+))?(?:\.(\d+))*/i),b,c;if(!a)return null;b=a[1]&&parseFloat(a[1]);c=a[2]&&parseFloat(a[2]);return b&&c?parseFloat(a[1]+"."+a[2]):b?b:null}();c.ANDROID_VERSION=
b;l=g&&/webkit/i.test(f)&&2.3>b;c.IS_OLD_ANDROID=l;c.IS_NATIVE_ANDROID=g&&5>b&&537>d;d=/Firefox/i.test(f);c.IS_FIREFOX=d;d=/Chrome/i.test(f);c.IS_CHROME=d;d=/MSIE\s8\.0/.test(f);c.IS_IE8=d;c.TOUCH_ENABLED=!!("ontouchstart"in a["default"]||a["default"].DocumentTouch&&e["default"]instanceof a["default"].DocumentTouch);e="backgroundSize"in e["default"].createElement("video").style;c.BACKGROUND_SIZE_SUPPORTED=e},{"global/document":1,"global/window":2}],129:[function(a,e,c){c.__esModule=!0;c.bufferedPercent=
function(a,c){var b=0,e,k;if(!c)return 0;a&&a.length||(a=f.createTimeRange(0,0));for(var n=0;n<a.length;n++)e=a.start(n),k=a.end(n),k>c&&(k=c),b+=k-e;return b/c};var f=a("./time-ranges.js")},{"./time-ranges.js":139}],130:[function(a,e,c){c.__esModule=!0;var f=(a=a("./log.js"))&&a.__esModule?a:{"default":a},d={get:function(a,b){return a[b]},set:function(a,b,c){a[b]=c;return!0}};c["default"]=function(a){var b=1>=arguments.length||void 0===arguments[1]?{}:arguments[1];if("function"===typeof Proxy){var c=
function(){var c={};Object.keys(b).forEach(function(a){d.hasOwnProperty(a)&&(c[a]=function(){f["default"].warn(b[a]);return d[a].apply(this,arguments)})});return{v:new Proxy(a,c)}}();if("object"===typeof c)return c.v}return a};e.exports=c["default"]},{"./log.js":136}],131:[function(a,e,c){function f(a){return a&&a.__esModule?a:{"default":a}}function d(a){if(/\s/.test(a))throw Error("class has illegal whitespace characters");}function g(a){return function(b,c){if("string"!==typeof b||!/\S/.test(b))return x["default"][a](null);
"string"===typeof c&&/\S/.test(c)&&(c=x["default"].querySelector(c));return(p(c)?c:x["default"])[a](b)}}function b(a,b){if(a.classList)return a.classList.contains(b);d(b);return(new RegExp("(^|\\s)"+b+"($|\\s)")).test(a.className)}function l(a,c){a.classList?a.classList.add(c):b(a,c)||(a.className=(a.className+" "+c).trim());return a}function k(a,b){a.classList?a.classList.remove(b):(d(b),a.className=a.className.split(/\s+/).filter(function(a){return a!==b}).join(" "));return a}function n(a){var b=
void 0;a.getBoundingClientRect&&a.parentNode&&(b=a.getBoundingClientRect());if(!b)return{left:0,top:0};a=x["default"].documentElement;var c=x["default"].body;return{left:Math.round(b.left+(r["default"].pageXOffset||c.scrollLeft)-(a.clientLeft||c.clientLeft||0)),top:Math.round(b.top+(r["default"].pageYOffset||c.scrollTop)-(a.clientTop||c.clientTop||0))}}function p(a){return!!a&&"object"===typeof a&&1===a.nodeType}function m(a){return!!a&&"object"===typeof a&&3===a.nodeType}function t(a){for(;a.firstChild;)a.removeChild(a.firstChild);
return a}function w(a){"function"===typeof a&&(a=a());return(Array.isArray(a)?a:[a]).map(function(a){"function"===typeof a&&(a=a());if(p(a)||m(a))return a;if("string"===typeof a&&/\S/.test(a))return x["default"].createTextNode(a)}).filter(function(a){return a})}function v(a,b){w(b).forEach(function(b){return a.appendChild(b)});return a}c.__esModule=!0;c.getEl=function(a){0===a.indexOf("#")&&(a=a.slice(1));return x["default"].getElementById(a)};c.createEl=function(){var a=1>=arguments.length||void 0===
arguments[1]?{}:arguments[1],b=2>=arguments.length||void 0===arguments[2]?{}:arguments[2],c=x["default"].createElement(0>=arguments.length||void 0===arguments[0]?"div":arguments[0]);Object.getOwnPropertyNames(a).forEach(function(b){var d=a[b];-1!==b.indexOf("aria-")||"role"===b||"type"===b?(y["default"].warn(z["default"](u,b,d)),c.setAttribute(b,d)):c[b]=d});Object.getOwnPropertyNames(b).forEach(function(a){c.setAttribute(a,b[a])});return c};c.textContent=function(a,b){"undefined"===typeof a.textContent?
a.innerText=b:a.textContent=b};c.insertElFirst=function(a,b){b.firstChild?b.insertBefore(a,b.firstChild):b.appendChild(a)};c.getElData=function(a){var b=a[D];b||(b=a[D]=q.newGUID());B[b]||(B[b]={});return B[b]};c.hasElData=function(a){return(a=a[D])?!!Object.getOwnPropertyNames(B[a]).length:!1};c.removeElData=function(a){var b=a[D];if(b){delete B[b];try{delete a[D]}catch(c){a.removeAttribute?a.removeAttribute(D):a[D]=null}}};c.hasElClass=b;c.addElClass=l;c.removeElClass=k;c.toggleElClass=function(a,
c,d){var e=b(a,c);"function"===typeof d&&(d=d(a,c));"boolean"!==typeof d&&(d=!e);if(d!==e)return d?l(a,c):k(a,c),a};c.setElAttributes=function(a,b){Object.getOwnPropertyNames(b).forEach(function(c){var d=b[c];null===d||"undefined"===typeof d||!1===d?a.removeAttribute(c):a.setAttribute(c,!0===d?"":d)})};c.getElAttributes=function(a){var b,c,d,e;b={};if(a&&a.attributes&&0<a.attributes.length){c=a.attributes;for(var f=c.length-1;0<=f;f--){d=c[f].name;e=c[f].value;if("boolean"===typeof a[d]||-1!==",autoplay,controls,loop,muted,default,".indexOf(","+
d+","))e=null!==e?!0:!1;b[d]=e}}return b};c.blockTextSelection=function(){x["default"].body.focus();x["default"].onselectstart=function(){return!1}};c.unblockTextSelection=function(){x["default"].onselectstart=function(){return!0}};c.findElPosition=n;c.getPointerPosition=function(a,b){var c={},d=n(a),e=a.offsetWidth,f=a.offsetHeight,g=d.top,d=d.left,k=b.pageY,r=b.pageX;b.changedTouches&&(r=b.changedTouches[0].pageX,k=b.changedTouches[0].pageY);c.y=Math.max(0,Math.min(1,(g-k+f)/f));c.x=Math.max(0,
Math.min(1,(r-d)/e));return c};c.isEl=p;c.isTextNode=m;c.emptyEl=t;c.normalizeContent=w;c.appendContent=v;c.insertContent=function(a,b){return v(t(a),b)};var u=function(a,b){a.raw=b;return a}(["Setting attributes in the second argument of createEl()\n                has been deprecated. Use the third argument instead.\n                createEl(type, properties, attributes). Attempting to set "," to ","."],["Setting attributes in the second argument of createEl()\n                has been deprecated. Use the third argument instead.\n                createEl(type, properties, attributes). Attempting to set ",
" to ","."]);e=a("global/document");var x=f(e);e=a("global/window");var r=f(e),q=function(a){if(a&&a.__esModule)return a;var b={};if(null!=a)for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&(b[c]=a[c]);b["default"]=a;return b}(a("./guid.js"));e=a("./log.js");var y=f(e);a=a("tsml");var z=f(a),B={},D="vdata"+(new Date).getTime();a=g("querySelector");c.$=a;a=g("querySelectorAll");c.$$=a},{"./guid.js":135,"./log.js":136,"global/document":1,"global/window":2,tsml:54}],132:[function(a,e,c){function f(a){if(a&&
a.__esModule)return a;var b={};if(null!=a)for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&(b[c]=a[c]);b["default"]=a;return b}function d(a,b,c){if(Array.isArray(b))return p(d,a,b,c);var e=m.getElData(a);e.handlers||(e.handlers={});e.handlers[b]||(e.handlers[b]=[]);c.guid||(c.guid=t.newGUID());e.handlers[b].push(c);e.dispatcher||(e.disabled=!1,e.dispatcher=function(b,c){if(!e.disabled){b=k(b);var d=e.handlers[b.type];if(d)for(var d=d.slice(0),f=0,g=d.length;f<g&&!b.isImmediatePropagationStopped();f++)d[f].call(a,
b,c)}});1===e.handlers[b].length&&(a.addEventListener?a.addEventListener(b,e.dispatcher,!1):a.attachEvent&&a.attachEvent("on"+b,e.dispatcher))}function g(a,b,c){if(m.hasElData(a)){var d=m.getElData(a);if(d.handlers){if(Array.isArray(b))return p(g,a,b,c);if(b){var e=d.handlers[b];if(e){if(!c)d.handlers[b]=[];else if(c.guid)for(d=0;d<e.length;d++)e[d].guid===c.guid&&e.splice(d--,1);n(a,b)}}else for(e in d.handlers)b=e,d.handlers[b]=[],n(a,b)}}}function b(a,c,d){var e=m.hasElData(a)?m.getElData(a):{},
f=a.parentNode||a.ownerDocument;"string"===typeof c&&(c={type:c,target:a});c=k(c);e.dispatcher&&e.dispatcher.call(a,c,d);if(f&&!c.isPropagationStopped()&&!0===c.bubbles)b.call(null,f,c,d);else if(!f&&!c.defaultPrevented&&(a=m.getElData(c.target),c.target[c.type])){a.disabled=!0;if("function"===typeof c.target[c.type])c.target[c.type]();a.disabled=!1}return!c.defaultPrevented}function l(a,b,c){if(Array.isArray(b))return p(l,a,b,c);var e=function z(){g(a,b,z);c.apply(this,arguments)};e.guid=c.guid=
c.guid||t.newGUID();d(a,b,e)}function k(a){function b(){return!0}function c(){return!1}if(!a||!a.isPropagationStopped){var d=a||w["default"].event;a={};for(var e in d)"layerX"!==e&&"layerY"!==e&&"keyLocation"!==e&&"webkitMovementX"!==e&&"webkitMovementY"!==e&&("returnValue"===e&&d.preventDefault||(a[e]=d[e]));a.target||(a.target=a.srcElement||v["default"]);a.relatedTarget||(a.relatedTarget=a.fromElement===a.target?a.toElement:a.fromElement);a.preventDefault=function(){d.preventDefault&&d.preventDefault();
a.returnValue=!1;d.returnValue=!1;a.defaultPrevented=!0};a.defaultPrevented=!1;a.stopPropagation=function(){d.stopPropagation&&d.stopPropagation();a.cancelBubble=!0;d.cancelBubble=!0;a.isPropagationStopped=b};a.isPropagationStopped=c;a.stopImmediatePropagation=function(){d.stopImmediatePropagation&&d.stopImmediatePropagation();a.isImmediatePropagationStopped=b;a.stopPropagation()};a.isImmediatePropagationStopped=c;if(null!=a.clientX){e=v["default"].documentElement;var f=v["default"].body;a.pageX=
a.clientX+(e&&e.scrollLeft||f&&f.scrollLeft||0)-(e&&e.clientLeft||f&&f.clientLeft||0);a.pageY=a.clientY+(e&&e.scrollTop||f&&f.scrollTop||0)-(e&&e.clientTop||f&&f.clientTop||0)}a.which=a.charCode||a.keyCode;null!=a.button&&(a.button=a.button&1?0:a.button&4?1:a.button&2?2:0)}return a}function n(a,b){var c=m.getElData(a);0===c.handlers[b].length&&(delete c.handlers[b],a.removeEventListener?a.removeEventListener(b,c.dispatcher,!1):a.detachEvent&&a.detachEvent("on"+b,c.dispatcher));0>=Object.getOwnPropertyNames(c.handlers).length&&
(delete c.handlers,delete c.dispatcher,delete c.disabled);0===Object.getOwnPropertyNames(c).length&&m.removeElData(a)}function p(a,b,c,d){c.forEach(function(c){a(b,c,d)})}c.__esModule=!0;c.on=d;c.off=g;c.trigger=b;c.one=l;c.fixEvent=k;e=a("./dom.js");var m=f(e);e=a("./guid.js");var t=f(e),w=(e=a("global/window"))&&e.__esModule?e:{"default":e},v=(a=a("global/document"))&&a.__esModule?a:{"default":a}},{"./dom.js":131,"./guid.js":135,"global/document":1,"global/window":2}],133:[function(a,e,c){c.__esModule=
!0;var f=a("./guid.js");c.bind=function(a,c,b){c.guid||(c.guid=f.newGUID());var e=function(){return c.apply(a,arguments)};e.guid=b?b+"_"+c.guid:c.guid;return e}},{"./guid.js":135}],134:[function(a,e,c){c.__esModule=!0;c["default"]=function(a){var c=1>=arguments.length||void 0===arguments[1]?a:arguments[1];a=0>a?0:a;var e=Math.floor(a%60),b=Math.floor(a/60%60),l=Math.floor(a/3600),k=Math.floor(c/60%60),c=Math.floor(c/3600);if(isNaN(a)||Infinity===a)l=b=e="-";l=0<l||0<c?l+":":"";return l+(((l||10<=
k)&&10>b?"0"+b:b)+":")+(10>e?"0"+e:e)};e.exports=c["default"]},{}],135:[function(a,e,c){c.__esModule=!0;c.newGUID=function(){return f++};var f=1},{}],136:[function(a,e,c){function f(a,c){var e=Array.prototype.slice.call(c),f=function(){},f=d["default"].console||{log:f,warn:f,error:f};a?e.unshift(a.toUpperCase()+":"):a="log";g.history.push(e);e.unshift("VIDEOJS:");if(f[a].apply)f[a].apply(f,e);else f[a](e.join(" "))}c.__esModule=!0;var d=(a=a("global/window"))&&a.__esModule?a:{"default":a},g=function(){f(null,
arguments)};g.history=[];g.error=function(){f("error",arguments)};g.warn=function(){f("warn",arguments)};c["default"]=g;e.exports=c["default"]},{"global/window":2}],137:[function(a,e,c){function f(a){return!!a&&"object"===typeof a&&"[object Object]"===a.toString()&&a.constructor===Object}function d(){var a=Array.prototype.slice.call(arguments);a.unshift({});a.push(b);g["default"].apply(null,a);return a[0]}c.__esModule=!0;c["default"]=d;var g=(a=a("lodash-compat/object/merge"))&&a.__esModule?a:{"default":a},
b=function(a,b){if(!f(b))return b;if(!f(a))return d(b)};e.exports=c["default"]},{"lodash-compat/object/merge":40}],138:[function(a,e,c){c.__esModule=!0;var f=(a=a("global/document"))&&a.__esModule?a:{"default":a};c.createStyleElement=function(a){var c=f["default"].createElement("style");c.className=a;return c};c.setTextContent=function(a,c){a.styleSheet?a.styleSheet.cssText=c:a.textContent=c}},{"global/document":1}],139:[function(a,e,c){function f(a,b){return Array.isArray(a)?d(a):void 0===a||void 0===
b?d():d([[a,b]])}function d(a){return void 0===a||0===a.length?{length:0,start:function(){throw Error("This TimeRanges object is empty");},end:function(){throw Error("This TimeRanges object is empty");}}:{length:a.length,start:g.bind(null,"start",0,a),end:g.bind(null,"end",1,a)}}function g(a,c,d,e){void 0===e&&(b["default"].warn("DEPRECATED: Function '"+a+"' on 'TimeRanges' called without an index argument."),e=0);var f=d.length-1;if(0>e||e>f)throw Error("Failed to execute '"+a+"' on 'TimeRanges': The index provided ("+
e+") is greater than or equal to the maximum bound ("+f+").");return d[e][c]}c.__esModule=!0;c.createTimeRanges=f;var b=(a=a("./log.js"))&&a.__esModule?a:{"default":a};c.createTimeRange=f},{"./log.js":136}],140:[function(a,e,c){c.__esModule=!0;c["default"]=function(a){return a.charAt(0).toUpperCase()+a.slice(1)};e.exports=c["default"]},{}],141:[function(a,e,c){c.__esModule=!0;var f=(e=a("global/document"))&&e.__esModule?e:{"default":e},d=(a=a("global/window"))&&a.__esModule?a:{"default":a},g=function(a){var c=
"protocol hostname port pathname search hash host".split(" "),d=f["default"].createElement("a");d.href=a;var e=""===d.host&&"file:"!==d.protocol,g=void 0;e&&(g=f["default"].createElement("div"),g.innerHTML='<a href="'+a+'"></a>',d=g.firstChild,g.setAttribute("style","display:none; position:absolute;"),f["default"].body.appendChild(g));a={};for(var m=0;m<c.length;m++)a[c[m]]=d[c[m]];"http:"===a.protocol&&(a.host=a.host.replace(/:80$/,""));"https:"===a.protocol&&(a.host=a.host.replace(/:443$/,""));
e&&f["default"].body.removeChild(g);return a};c.parseUrl=g;c.getAbsoluteURL=function(a){if(!a.match(/^https?:\/\//)){var c=f["default"].createElement("div");c.innerHTML='<a href="'+a+'">x</a>';a=c.firstChild.href}return a};c.getFileExtension=function(a){return"string"===typeof a&&(a=/^(\/?)([\s\S]*?)((?:\.{1,2}|[^\/]+?)(\.([^\.\/\?]+)))(?:[\/]*|[\?].*)$/i.exec(a))?a.pop().toLowerCase():""};c.isCrossOrigin=function(a){var c=d["default"].location;a=g(a);return(":"===a.protocol?c.protocol:a.protocol)+
a.host!==c.protocol+c.host}},{"global/document":1,"global/window":2}],142:[function(a,e,c){function f(a){if(a&&a.__esModule)return a;var b={};if(null!=a)for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&(b[c]=a[c]);b["default"]=a;return b}function d(a){return a&&a.__esModule?a:{"default":a}}c.__esModule=!0;var g=a("global/document"),b=d(g),g=a("./setup"),g=f(g),l=a("./utils/stylesheet.js"),l=f(l),k=a("./component"),n=d(k),k=a("./event-target"),k=d(k),p=a("./utils/events.js"),p=f(p),m=a("./player"),
t=d(m),m=a("./plugins.js"),m=d(m),w=a("../../src/js/utils/merge-options.js"),w=d(w),v=a("./utils/fn.js"),v=f(v),u=a("./tracks/text-track.js"),u=d(u),x=a("object.assign");d(x);var x=a("./utils/time-ranges.js"),r=a("./utils/format-time.js"),r=d(r),q=a("./utils/log.js"),y=d(q),q=a("./utils/dom.js"),z=f(q),q=a("./utils/browser.js"),q=f(q),B=a("./utils/url.js"),B=f(B),D=a("./extend.js"),D=d(D),C=a("lodash-compat/object/merge"),H=d(C),C=a("./utils/create-deprecation-proxy.js"),C=d(C),I=a("xhr"),I=d(I),
F=a("./tech/tech.js"),G=d(F),F=a("./tech/html5.js");d(F);a=a("./tech/flash.js");d(a);"undefined"===typeof HTMLVideoElement&&(b["default"].createElement("video"),b["default"].createElement("audio"),b["default"].createElement("track"));var A=function K(a,b,c){var d=void 0;if("string"===typeof a){0===a.indexOf("#")&&(a=a.slice(1));if(K.getPlayers()[a])return b&&y["default"].warn('Player "'+a+'" is already initialised. Options will not be applied.'),c&&K.getPlayers()[a].ready(c),K.getPlayers()[a];d=z.getEl(a)}else d=
a;if(!d||!d.nodeName)throw new TypeError("The element or ID supplied is not valid. (videojs)");return d.player||t["default"].players[d.playerId]||new t["default"](d,b,c)};a=z.$(".vjs-styles-defaults");a||(a=l.createStyleElement("vjs-styles-defaults"),b=z.$("head"),b.insertBefore(a,b.firstChild),l.setTextContent(a,"\n    .video-js {\n      width: 300px;\n      height: 150px;\n    }\n\n    .vjs-fluid {\n      padding-top: 56.25%\n    }\n  "));g.autoSetupTimeout(1,A);A.VERSION="5.7.1";A.options=t["default"].prototype.options_;
A.getPlayers=function(){return t["default"].players};A.players=C["default"](t["default"].players,{get:"Access to videojs.players is deprecated; use videojs.getPlayers instead",set:"Modification of videojs.players is deprecated"});A.getComponent=n["default"].getComponent;A.registerComponent=function(a,b){G["default"].isTech(b)&&y["default"].warn("The "+a+" tech was registered as a component. It should instead be registered using videojs.registerTech(name, tech)");n["default"].registerComponent.call(n["default"],
a,b)};A.getTech=G["default"].getTech;A.registerTech=G["default"].registerTech;A.browser=q;A.TOUCH_ENABLED=q.TOUCH_ENABLED;A.extend=D["default"];A.mergeOptions=w["default"];A.bind=v.bind;A.plugin=m["default"];A.addLanguage=function(a,b){var c;a=(""+a).toLowerCase();return H["default"](A.options.languages,(c={},c[a]=b,c))[a]};A.log=y["default"];A.createTimeRange=A.createTimeRanges=x.createTimeRanges;A.formatTime=r["default"];A.parseUrl=B.parseUrl;A.isCrossOrigin=B.isCrossOrigin;A.EventTarget=k["default"];
A.on=p.on;A.one=p.one;A.off=p.off;A.trigger=p.trigger;A.xhr=I["default"];A.TextTrack=u["default"];A.isEl=z.isEl;A.isTextNode=z.isTextNode;A.createEl=z.createEl;A.hasClass=z.hasElClass;A.addClass=z.addElClass;A.removeClass=z.removeElClass;A.toggleClass=z.toggleElClass;A.setAttributes=z.setElAttributes;A.getAttributes=z.getElAttributes;A.emptyEl=z.emptyEl;A.appendContent=z.appendContent;A.insertContent=z.insertContent;"object"===typeof c&&"object"===typeof e&&(e.exports=A);c["default"]=A;e.exports=
c["default"]},{"../../src/js/utils/merge-options.js":137,"./component":66,"./event-target":98,"./extend.js":99,"./player":107,"./plugins.js":108,"./setup":112,"./tech/flash.js":115,"./tech/html5.js":116,"./tech/tech.js":118,"./tracks/text-track.js":127,"./utils/browser.js":128,"./utils/create-deprecation-proxy.js":130,"./utils/dom.js":131,"./utils/events.js":132,"./utils/fn.js":133,"./utils/format-time.js":134,"./utils/log.js":136,"./utils/stylesheet.js":138,"./utils/time-ranges.js":139,"./utils/url.js":141,
"global/document":1,"lodash-compat/object/merge":40,"object.assign":45,xhr:55}]},{},[142])(142)});(function(h){var a=h.vttjs={},e=a.VTTCue,c=a.VTTRegion,f=h.VTTCue,d=h.VTTRegion;a.shim=function(){a.VTTCue=e;a.VTTRegion=c};a.restore=function(){a.VTTCue=f;a.VTTRegion=d}})(this);
(function(h,a){function e(a){return"string"!==typeof a?!1:g[a.toLowerCase()]?a.toLowerCase():!1}function c(a){for(var c=1;c<arguments.length;c++){var d=arguments[c],e;for(e in d)a[e]=d[e]}return a}function f(a,f,g){var h=this,p=/MSIE\s8\.0/.test(navigator.userAgent),m={};p?h=document.createElement("custom"):m.enumerable=!0;h.hasBeenReset=!1;var t="",w=!1,v=a,u=f,x=g,r=null,q="",y=!0,z="auto",B="start",D=50,C="middle",H=50,I="middle";Object.defineProperty(h,"id",c({},m,{get:function(){return t},set:function(a){t=
""+a}}));Object.defineProperty(h,"pauseOnExit",c({},m,{get:function(){return w},set:function(a){w=!!a}}));Object.defineProperty(h,"startTime",c({},m,{get:function(){return v},set:function(a){if("number"!==typeof a)throw new TypeError("Start time must be set to a number.");v=a;this.hasBeenReset=!0}}));Object.defineProperty(h,"endTime",c({},m,{get:function(){return u},set:function(a){if("number"!==typeof a)throw new TypeError("End time must be set to a number.");u=a;this.hasBeenReset=!0}}));Object.defineProperty(h,
"text",c({},m,{get:function(){return x},set:function(a){x=""+a;this.hasBeenReset=!0}}));Object.defineProperty(h,"region",c({},m,{get:function(){return r},set:function(a){r=a;this.hasBeenReset=!0}}));Object.defineProperty(h,"vertical",c({},m,{get:function(){return q},set:function(a){a="string"!==typeof a?!1:d[a.toLowerCase()]?a.toLowerCase():!1;if(!1===a)throw new SyntaxError("An invalid or illegal string was specified.");q=a;this.hasBeenReset=!0}}));Object.defineProperty(h,"snapToLines",c({},m,{get:function(){return y},
set:function(a){y=!!a;this.hasBeenReset=!0}}));Object.defineProperty(h,"line",c({},m,{get:function(){return z},set:function(a){if("number"!==typeof a&&"auto"!==a)throw new SyntaxError("An invalid number or illegal string was specified.");z=a;this.hasBeenReset=!0}}));Object.defineProperty(h,"lineAlign",c({},m,{get:function(){return B},set:function(a){a=e(a);if(!a)throw new SyntaxError("An invalid or illegal string was specified.");B=a;this.hasBeenReset=!0}}));Object.defineProperty(h,"position",c({},
m,{get:function(){return D},set:function(a){if(0>a||100<a)throw Error("Position must be between 0 and 100.");D=a;this.hasBeenReset=!0}}));Object.defineProperty(h,"positionAlign",c({},m,{get:function(){return C},set:function(a){a=e(a);if(!a)throw new SyntaxError("An invalid or illegal string was specified.");C=a;this.hasBeenReset=!0}}));Object.defineProperty(h,"size",c({},m,{get:function(){return H},set:function(a){if(0>a||100<a)throw Error("Size must be between 0 and 100.");H=a;this.hasBeenReset=
!0}}));Object.defineProperty(h,"align",c({},m,{get:function(){return I},set:function(a){a=e(a);if(!a)throw new SyntaxError("An invalid or illegal string was specified.");I=a;this.hasBeenReset=!0}}));h.displayState=void 0;if(p)return h}var d={"":!0,lr:!0,rl:!0},g={start:!0,middle:!0,end:!0,left:!0,right:!0};f.prototype.getCueAsHTML=function(){return WebVTT.convertCueToDOMTree(window,this.text)};h.VTTCue=h.VTTCue||f;a.VTTCue=f})(this,this.vttjs||{});
(function(h,a){function e(a){return"number"===typeof a&&0<=a&&100>=a}function c(){var a=100,c=3,b=0,h=100,k=0,n=100,p="";Object.defineProperties(this,{width:{enumerable:!0,get:function(){return a},set:function(b){if(!e(b))throw Error("Width must be between 0 and 100.");a=b}},lines:{enumerable:!0,get:function(){return c},set:function(a){if("number"!==typeof a)throw new TypeError("Lines must be set to a number.");c=a}},regionAnchorY:{enumerable:!0,get:function(){return h},set:function(a){if(!e(a))throw Error("RegionAnchorX must be between 0 and 100.");
h=a}},regionAnchorX:{enumerable:!0,get:function(){return b},set:function(a){if(!e(a))throw Error("RegionAnchorY must be between 0 and 100.");b=a}},viewportAnchorY:{enumerable:!0,get:function(){return n},set:function(a){if(!e(a))throw Error("ViewportAnchorY must be between 0 and 100.");n=a}},viewportAnchorX:{enumerable:!0,get:function(){return k},set:function(a){if(!e(a))throw Error("ViewportAnchorX must be between 0 and 100.");k=a}},scroll:{enumerable:!0,get:function(){return p},set:function(a){a=
"string"!==typeof a?!1:f[a.toLowerCase()]?a.toLowerCase():!1;if(!1===a)throw new SyntaxError("An invalid or illegal string was specified.");p=a}}})}var f={"":!0,up:!0};h.VTTRegion=h.VTTRegion||c;a.VTTRegion=c})(this,this.vttjs||{});
(function(h){function a(a,b){this.name="ParsingError";this.code=a.code;this.message=b||a.message}function e(a){a=a.match(/^(\d+):(\d{2})(:\d{2})?\.(\d{3})/);if(!a)return null;if(a[3]){var b=a[3].replace(":","");return 3600*(a[1]|0)+60*(a[2]|0)+(b|0)+(a[4]|0)/1E3}return 59<a[1]?3600*(a[1]|0)+60*(a[2]|0)+0+(a[4]|0)/1E3:0+60*(a[1]|0)+(a[2]|0)+(a[4]|0)/1E3}function c(){this.values=m(null)}function f(a,b,c,d){a=d?a.split(d):[a];for(var e in a)"string"===typeof a[e]&&(d=a[e].split(c),2===d.length&&b(d[0],
d[1]))}function d(b,d,g){function h(){var c=e(b);if(null===c)throw new a(a.Errors.BadTimeStamp,"Malformed timestamp: "+l);b=b.replace(/^[^\sa-zA-Z-]+/,"");return c}function k(){b=b.replace(/^\s+/,"")}var l=b;k();d.startTime=h();k();if("--\x3e"!==b.substr(0,3))throw new a(a.Errors.BadTimeStamp,"Malformed time stamp (time stamps must be separated by '--\x3e'): "+l);b=b.substr(3);k();d.endTime=h();k();(function(a,b){var d=new c;f(a,function(a,b){switch(a){case "region":for(var c=g.length-1;0<=c;c--)if(g[c].id===
b){d.set(a,g[c].region);break}break;case "vertical":d.alt(a,b,["rl","lr"]);break;case "line":var c=b.split(","),e=c[0];d.integer(a,e);d.percent(a,e)?d.set("snapToLines",!1):null;d.alt(a,e,["auto"]);2===c.length&&d.alt("lineAlign",c[1],["start","middle","end"]);break;case "position":c=b.split(",");d.percent(a,c[0]);2===c.length&&d.alt("positionAlign",c[1],["start","middle","end"]);break;case "size":d.percent(a,b);break;case "align":d.alt(a,b,["start","middle","end","left","right"])}},/:/,/\s/);b.region=
d.get("region",null);b.vertical=d.get("vertical","");b.line=d.get("line","auto");b.lineAlign=d.get("lineAlign","start");b.snapToLines=d.get("snapToLines",!0);b.size=d.get("size",100);b.align=d.get("align","middle");b.position=d.get("position",{start:0,left:0,middle:50,end:100,right:100},b.align);b.positionAlign=d.get("positionAlign",{start:"start",left:"start",middle:"middle",end:"end",right:"end"},b.align)})(b,d)}function g(a,b){function c(){if(!b)return null;var a=b.match(/^([^<]*)(<[^>]+>?)?/),
a=a[1]?a[1]:a[2];b=b.substr(a.length);return a}function d(a){return t[a]}function f(a){for(;p=a.match(/&(amp|lt|gt|lrm|rlm|nbsp);/);)a=a.replace(p[0],d);return a}function g(b,c){var d=w[b];if(!d)return null;var e=a.document.createElement(d);e.localName=d;(d=v[b])&&c&&(e[d]=c.trim());return e}for(var h=a.document.createElement("div"),k=h,l,m=[];null!==(l=c());)if("<"===l[0])if("/"===l[1])m.length&&m[m.length-1]===l.substr(2).replace(">","")&&(m.pop(),k=k.parentNode);else{var n=e(l.substr(1,l.length-
2));if(n)l=a.document.createProcessingInstruction("timestamp",n),k.appendChild(l);else{var p=l.match(/^<([^.\s/0-9>]+)(\.[^\s\\>]+)?([^>\\]+)?(\\?)>?$/);p&&(!(l=g(p[1],p[3]))||u[l.localName]&&u[l.localName]!==k.localName||(p[2]&&(l.className=p[2].substr(1).replace("."," ")),m.push(p[1]),k.appendChild(l),k=l))}}else k.appendChild(a.document.createTextNode(f(l)));return h}function b(a){function b(a,c){for(var d=c.childNodes.length-1;0<=d;d--)a.push(c.childNodes[d])}function c(a){if(!a||!a.length)return null;
var d=a.pop(),e=d.textContent||d.innerText;if(e)return(d=e.match(/^.*(\n|\r)/))?(a.length=0,d[0]):e;if("ruby"===d.tagName)return c(a);if(d.childNodes)return b(a,d),c(a)}var d=[],e="";if(!a||!a.childNodes)return"ltr";for(b(d,a);e=c(d);)for(var f=0;f<e.length;f++){a=e.charCodeAt(f);for(var g=0;g<x.length;g++)if(x[g]===a)return"rtl"}return"ltr"}function l(){}function k(a,c,d){var e=/MSIE\s8\.0/.test(navigator.userAgent),f="rgba(255, 255, 255, 1)",h="rgba(0, 0, 0, 0.8)";e&&(f="rgb(255, 255, 255)",h="rgb(0, 0, 0)");
this.cue=c;this.cueDiv=g(a,c.text);f={color:f,backgroundColor:h,position:"relative",left:0,right:0,top:0,bottom:0,display:"inline"};e||(f.writingMode=""===c.vertical?"horizontal-tb":"lr"===c.vertical?"vertical-lr":"vertical-rl",f.unicodeBidi="plaintext");this.applyStyles(f,this.cueDiv);this.div=a.document.createElement("div");f={textAlign:"middle"===c.align?"center":c.align,font:d.font,whiteSpace:"pre-line",position:"absolute"};e||(f.direction=b(this.cueDiv),f.writingMode=""===c.vertical?"horizontal-tb":
"lr"===c.vertical?"vertical-lr":"vertical-rl".stylesunicodeBidi="plaintext");this.applyStyles(f);this.div.appendChild(this.cueDiv);a=0;switch(c.positionAlign){case "start":a=c.position;break;case "middle":a=c.position-c.size/2;break;case "end":a=c.position-c.size}""===c.vertical?this.applyStyles({left:this.formatStyle(a,"%"),width:this.formatStyle(c.size,"%")}):this.applyStyles({top:this.formatStyle(a,"%"),height:this.formatStyle(c.size,"%")});this.move=function(a){this.applyStyles({top:this.formatStyle(a.top,
"px"),bottom:this.formatStyle(a.bottom,"px"),left:this.formatStyle(a.left,"px"),right:this.formatStyle(a.right,"px"),height:this.formatStyle(a.height,"px"),width:this.formatStyle(a.width,"px")})}}function n(a){var b=/MSIE\s8\.0/.test(navigator.userAgent),c,d,e,f;if(a.div){d=a.div.offsetHeight;e=a.div.offsetWidth;f=a.div.offsetTop;var g=(g=a.div.childNodes)&&(g=g[0])&&g.getClientRects&&g.getClientRects();a=a.div.getBoundingClientRect();c=g?Math.max(g[0]&&g[0].height||0,a.height/g.length):0}this.left=
a.left;this.right=a.right;this.top=a.top||f;this.height=a.height||d;this.bottom=a.bottom||f+(a.height||d);this.width=a.width||e;this.lineHeight=void 0!==c?c:a.lineHeight;b&&!this.lineHeight&&(this.lineHeight=13)}function p(){}var m=Object.create||function(){function a(){}return function(b){if(1!==arguments.length)throw Error("Object.create shim only accepts one parameter.");a.prototype=b;return new a}}();a.prototype=m(Error.prototype);a.prototype.constructor=a;a.Errors={BadSignature:{code:0,message:"Malformed WebVTT signature."},
BadTimeStamp:{code:1,message:"Malformed time stamp."}};c.prototype={set:function(a,b){this.get(a)||""===b||(this.values[a]=b)},get:function(a,b,c){return c?this.has(a)?this.values[a]:b[c]:this.has(a)?this.values[a]:b},has:function(a){return a in this.values},alt:function(a,b,c){for(var d=0;d<c.length;++d)if(b===c[d]){this.set(a,b);break}},integer:function(a,b){/^-?\d+$/.test(b)&&this.set(a,parseInt(b,10))},percent:function(a,b){return b.match(/^([\d]{1,3})(\.[\d]*)?%$/)&&(b=parseFloat(b),0<=b&&100>=
b)?(this.set(a,b),!0):!1}};var t={"&amp;":"&","&lt;":"<","&gt;":">","&lrm;":"\u200e","&rlm;":"\u200f","&nbsp;":"\u00a0"},w={c:"span",i:"i",b:"b",u:"u",ruby:"ruby",rt:"rt",v:"span",lang:"span"},v={v:"title",lang:"lang"},u={rt:"ruby"},x=[1470,1472,1475,1478,1488,1489,1490,1491,1492,1493,1494,1495,1496,1497,1498,1499,1500,1501,1502,1503,1504,1505,1506,1507,1508,1509,1510,1511,1512,1513,1514,1520,1521,1522,1523,1524,1544,1547,1549,1563,1566,1567,1568,1569,1570,1571,1572,1573,1574,1575,1576,1577,1578,
1579,1580,1581,1582,1583,1584,1585,1586,1587,1588,1589,1590,1591,1592,1593,1594,1595,1596,1597,1598,1599,1600,1601,1602,1603,1604,1605,1606,1607,1608,1609,1610,1645,1646,1647,1649,1650,1651,1652,1653,1654,1655,1656,1657,1658,1659,1660,1661,1662,1663,1664,1665,1666,1667,1668,1669,1670,1671,1672,1673,1674,1675,1676,1677,1678,1679,1680,1681,1682,1683,1684,1685,1686,1687,1688,1689,1690,1691,1692,1693,1694,1695,1696,1697,1698,1699,1700,1701,1702,1703,1704,1705,1706,1707,1708,1709,1710,1711,1712,1713,1714,
1715,1716,1717,1718,1719,1720,1721,1722,1723,1724,1725,1726,1727,1728,1729,1730,1731,1732,1733,1734,1735,1736,1737,1738,1739,1740,1741,1742,1743,1744,1745,1746,1747,1748,1749,1765,1766,1774,1775,1786,1787,1788,1789,1790,1791,1792,1793,1794,1795,1796,1797,1798,1799,1800,1801,1802,1803,1804,1805,1807,1808,1810,1811,1812,1813,1814,1815,1816,1817,1818,1819,1820,1821,1822,1823,1824,1825,1826,1827,1828,1829,1830,1831,1832,1833,1834,1835,1836,1837,1838,1839,1869,1870,1871,1872,1873,1874,1875,1876,1877,1878,
1879,1880,1881,1882,1883,1884,1885,1886,1887,1888,1889,1890,1891,1892,1893,1894,1895,1896,1897,1898,1899,1900,1901,1902,1903,1904,1905,1906,1907,1908,1909,1910,1911,1912,1913,1914,1915,1916,1917,1918,1919,1920,1921,1922,1923,1924,1925,1926,1927,1928,1929,1930,1931,1932,1933,1934,1935,1936,1937,1938,1939,1940,1941,1942,1943,1944,1945,1946,1947,1948,1949,1950,1951,1952,1953,1954,1955,1956,1957,1969,1984,1985,1986,1987,1988,1989,1990,1991,1992,1993,1994,1995,1996,1997,1998,1999,2E3,2001,2002,2003,2004,
2005,2006,2007,2008,2009,2010,2011,2012,2013,2014,2015,2016,2017,2018,2019,2020,2021,2022,2023,2024,2025,2026,2036,2037,2042,2048,2049,2050,2051,2052,2053,2054,2055,2056,2057,2058,2059,2060,2061,2062,2063,2064,2065,2066,2067,2068,2069,2074,2084,2088,2096,2097,2098,2099,2100,2101,2102,2103,2104,2105,2106,2107,2108,2109,2110,2112,2113,2114,2115,2116,2117,2118,2119,2120,2121,2122,2123,2124,2125,2126,2127,2128,2129,2130,2131,2132,2133,2134,2135,2136,2142,2208,2210,2211,2212,2213,2214,2215,2216,2217,2218,
2219,2220,8207,64285,64287,64288,64289,64290,64291,64292,64293,64294,64295,64296,64298,64299,64300,64301,64302,64303,64304,64305,64306,64307,64308,64309,64310,64312,64313,64314,64315,64316,64318,64320,64321,64323,64324,64326,64327,64328,64329,64330,64331,64332,64333,64334,64335,64336,64337,64338,64339,64340,64341,64342,64343,64344,64345,64346,64347,64348,64349,64350,64351,64352,64353,64354,64355,64356,64357,64358,64359,64360,64361,64362,64363,64364,64365,64366,64367,64368,64369,64370,64371,64372,
64373,64374,64375,64376,64377,64378,64379,64380,64381,64382,64383,64384,64385,64386,64387,64388,64389,64390,64391,64392,64393,64394,64395,64396,64397,64398,64399,64400,64401,64402,64403,64404,64405,64406,64407,64408,64409,64410,64411,64412,64413,64414,64415,64416,64417,64418,64419,64420,64421,64422,64423,64424,64425,64426,64427,64428,64429,64430,64431,64432,64433,64434,64435,64436,64437,64438,64439,64440,64441,64442,64443,64444,64445,64446,64447,64448,64449,64467,64468,64469,64470,64471,64472,64473,
64474,64475,64476,64477,64478,64479,64480,64481,64482,64483,64484,64485,64486,64487,64488,64489,64490,64491,64492,64493,64494,64495,64496,64497,64498,64499,64500,64501,64502,64503,64504,64505,64506,64507,64508,64509,64510,64511,64512,64513,64514,64515,64516,64517,64518,64519,64520,64521,64522,64523,64524,64525,64526,64527,64528,64529,64530,64531,64532,64533,64534,64535,64536,64537,64538,64539,64540,64541,64542,64543,64544,64545,64546,64547,64548,64549,64550,64551,64552,64553,64554,64555,64556,64557,
64558,64559,64560,64561,64562,64563,64564,64565,64566,64567,64568,64569,64570,64571,64572,64573,64574,64575,64576,64577,64578,64579,64580,64581,64582,64583,64584,64585,64586,64587,64588,64589,64590,64591,64592,64593,64594,64595,64596,64597,64598,64599,64600,64601,64602,64603,64604,64605,64606,64607,64608,64609,64610,64611,64612,64613,64614,64615,64616,64617,64618,64619,64620,64621,64622,64623,64624,64625,64626,64627,64628,64629,64630,64631,64632,64633,64634,64635,64636,64637,64638,64639,64640,64641,
64642,64643,64644,64645,64646,64647,64648,64649,64650,64651,64652,64653,64654,64655,64656,64657,64658,64659,64660,64661,64662,64663,64664,64665,64666,64667,64668,64669,64670,64671,64672,64673,64674,64675,64676,64677,64678,64679,64680,64681,64682,64683,64684,64685,64686,64687,64688,64689,64690,64691,64692,64693,64694,64695,64696,64697,64698,64699,64700,64701,64702,64703,64704,64705,64706,64707,64708,64709,64710,64711,64712,64713,64714,64715,64716,64717,64718,64719,64720,64721,64722,64723,64724,64725,
64726,64727,64728,64729,64730,64731,64732,64733,64734,64735,64736,64737,64738,64739,64740,64741,64742,64743,64744,64745,64746,64747,64748,64749,64750,64751,64752,64753,64754,64755,64756,64757,64758,64759,64760,64761,64762,64763,64764,64765,64766,64767,64768,64769,64770,64771,64772,64773,64774,64775,64776,64777,64778,64779,64780,64781,64782,64783,64784,64785,64786,64787,64788,64789,64790,64791,64792,64793,64794,64795,64796,64797,64798,64799,64800,64801,64802,64803,64804,64805,64806,64807,64808,64809,
64810,64811,64812,64813,64814,64815,64816,64817,64818,64819,64820,64821,64822,64823,64824,64825,64826,64827,64828,64829,64848,64849,64850,64851,64852,64853,64854,64855,64856,64857,64858,64859,64860,64861,64862,64863,64864,64865,64866,64867,64868,64869,64870,64871,64872,64873,64874,64875,64876,64877,64878,64879,64880,64881,64882,64883,64884,64885,64886,64887,64888,64889,64890,64891,64892,64893,64894,64895,64896,64897,64898,64899,64900,64901,64902,64903,64904,64905,64906,64907,64908,64909,64910,64911,
64914,64915,64916,64917,64918,64919,64920,64921,64922,64923,64924,64925,64926,64927,64928,64929,64930,64931,64932,64933,64934,64935,64936,64937,64938,64939,64940,64941,64942,64943,64944,64945,64946,64947,64948,64949,64950,64951,64952,64953,64954,64955,64956,64957,64958,64959,64960,64961,64962,64963,64964,64965,64966,64967,65008,65009,65010,65011,65012,65013,65014,65015,65016,65017,65018,65019,65020,65136,65137,65138,65139,65140,65142,65143,65144,65145,65146,65147,65148,65149,65150,65151,65152,65153,
65154,65155,65156,65157,65158,65159,65160,65161,65162,65163,65164,65165,65166,65167,65168,65169,65170,65171,65172,65173,65174,65175,65176,65177,65178,65179,65180,65181,65182,65183,65184,65185,65186,65187,65188,65189,65190,65191,65192,65193,65194,65195,65196,65197,65198,65199,65200,65201,65202,65203,65204,65205,65206,65207,65208,65209,65210,65211,65212,65213,65214,65215,65216,65217,65218,65219,65220,65221,65222,65223,65224,65225,65226,65227,65228,65229,65230,65231,65232,65233,65234,65235,65236,65237,
65238,65239,65240,65241,65242,65243,65244,65245,65246,65247,65248,65249,65250,65251,65252,65253,65254,65255,65256,65257,65258,65259,65260,65261,65262,65263,65264,65265,65266,65267,65268,65269,65270,65271,65272,65273,65274,65275,65276,67584,67585,67586,67587,67588,67589,67592,67594,67595,67596,67597,67598,67599,67600,67601,67602,67603,67604,67605,67606,67607,67608,67609,67610,67611,67612,67613,67614,67615,67616,67617,67618,67619,67620,67621,67622,67623,67624,67625,67626,67627,67628,67629,67630,67631,
67632,67633,67634,67635,67636,67637,67639,67640,67644,67647,67648,67649,67650,67651,67652,67653,67654,67655,67656,67657,67658,67659,67660,67661,67662,67663,67664,67665,67666,67667,67668,67669,67671,67672,67673,67674,67675,67676,67677,67678,67679,67840,67841,67842,67843,67844,67845,67846,67847,67848,67849,67850,67851,67852,67853,67854,67855,67856,67857,67858,67859,67860,67861,67862,67863,67864,67865,67866,67867,67872,67873,67874,67875,67876,67877,67878,67879,67880,67881,67882,67883,67884,67885,67886,
67887,67888,67889,67890,67891,67892,67893,67894,67895,67896,67897,67903,67968,67969,67970,67971,67972,67973,67974,67975,67976,67977,67978,67979,67980,67981,67982,67983,67984,67985,67986,67987,67988,67989,67990,67991,67992,67993,67994,67995,67996,67997,67998,67999,68E3,68001,68002,68003,68004,68005,68006,68007,68008,68009,68010,68011,68012,68013,68014,68015,68016,68017,68018,68019,68020,68021,68022,68023,68030,68031,68096,68112,68113,68114,68115,68117,68118,68119,68121,68122,68123,68124,68125,68126,
68127,68128,68129,68130,68131,68132,68133,68134,68135,68136,68137,68138,68139,68140,68141,68142,68143,68144,68145,68146,68147,68160,68161,68162,68163,68164,68165,68166,68167,68176,68177,68178,68179,68180,68181,68182,68183,68184,68192,68193,68194,68195,68196,68197,68198,68199,68200,68201,68202,68203,68204,68205,68206,68207,68208,68209,68210,68211,68212,68213,68214,68215,68216,68217,68218,68219,68220,68221,68222,68223,68352,68353,68354,68355,68356,68357,68358,68359,68360,68361,68362,68363,68364,68365,
68366,68367,68368,68369,68370,68371,68372,68373,68374,68375,68376,68377,68378,68379,68380,68381,68382,68383,68384,68385,68386,68387,68388,68389,68390,68391,68392,68393,68394,68395,68396,68397,68398,68399,68400,68401,68402,68403,68404,68405,68416,68417,68418,68419,68420,68421,68422,68423,68424,68425,68426,68427,68428,68429,68430,68431,68432,68433,68434,68435,68436,68437,68440,68441,68442,68443,68444,68445,68446,68447,68448,68449,68450,68451,68452,68453,68454,68455,68456,68457,68458,68459,68460,68461,
68462,68463,68464,68465,68466,68472,68473,68474,68475,68476,68477,68478,68479,68608,68609,68610,68611,68612,68613,68614,68615,68616,68617,68618,68619,68620,68621,68622,68623,68624,68625,68626,68627,68628,68629,68630,68631,68632,68633,68634,68635,68636,68637,68638,68639,68640,68641,68642,68643,68644,68645,68646,68647,68648,68649,68650,68651,68652,68653,68654,68655,68656,68657,68658,68659,68660,68661,68662,68663,68664,68665,68666,68667,68668,68669,68670,68671,68672,68673,68674,68675,68676,68677,68678,
68679,68680,126464,126465,126466,126467,126469,126470,126471,126472,126473,126474,126475,126476,126477,126478,126479,126480,126481,126482,126483,126484,126485,126486,126487,126488,126489,126490,126491,126492,126493,126494,126495,126497,126498,126500,126503,126505,126506,126507,126508,126509,126510,126511,126512,126513,126514,126516,126517,126518,126519,126521,126523,126530,126535,126537,126539,126541,126542,126543,126545,126546,126548,126551,126553,126555,126557,126559,126561,126562,126564,126567,
126568,126569,126570,126572,126573,126574,126575,126576,126577,126578,126580,126581,126582,126583,126585,126586,126587,126588,126590,126592,126593,126594,126595,126596,126597,126598,126599,126600,126601,126603,126604,126605,126606,126607,126608,126609,126610,126611,126612,126613,126614,126615,126616,126617,126618,126619,126625,126626,126627,126629,126630,126631,126632,126633,126635,126636,126637,126638,126639,126640,126641,126642,126643,126644,126645,126646,126647,126648,126649,126650,126651,1114109];
l.prototype.applyStyles=function(a,b){b=b||this.div;for(var c in a)a.hasOwnProperty(c)&&(b.style[c]=a[c])};l.prototype.formatStyle=function(a,b){return 0===a?0:a+b};k.prototype=m(l.prototype);k.prototype.constructor=k;n.prototype.move=function(a,b){b=void 0!==b?b:this.lineHeight;switch(a){case "+x":this.left+=b;this.right+=b;break;case "-x":this.left-=b;this.right-=b;break;case "+y":this.top+=b;this.bottom+=b;break;case "-y":this.top-=b,this.bottom-=b}};n.prototype.overlaps=function(a){return this.left<
a.right&&this.right>a.left&&this.top<a.bottom&&this.bottom>a.top};n.prototype.overlapsAny=function(a){for(var b=0;b<a.length;b++)if(this.overlaps(a[b]))return!0;return!1};n.prototype.within=function(a){return this.top>=a.top&&this.bottom<=a.bottom&&this.left>=a.left&&this.right<=a.right};n.prototype.overlapsOppositeAxis=function(a,b){switch(b){case "+x":return this.left<a.left;case "-x":return this.right>a.right;case "+y":return this.top<a.top;case "-y":return this.bottom>a.bottom}};n.prototype.intersectPercentage=
function(a){return Math.max(0,Math.min(this.right,a.right)-Math.max(this.left,a.left))*Math.max(0,Math.min(this.bottom,a.bottom)-Math.max(this.top,a.top))/(this.height*this.width)};n.prototype.toCSSCompatValues=function(a){return{top:this.top-a.top,bottom:a.bottom-this.bottom,left:this.left-a.left,right:a.right-this.right,height:this.height,width:this.width}};n.getSimpleBoxPosition=function(a){var b=a.div?a.div.offsetHeight:a.tagName?a.offsetHeight:0,c=a.div?a.div.offsetWidth:a.tagName?a.offsetWidth:
0,d=a.div?a.div.offsetTop:a.tagName?a.offsetTop:0;a=a.div?a.div.getBoundingClientRect():a.tagName?a.getBoundingClientRect():a;return{left:a.left,right:a.right,top:a.top||d,height:a.height||b,bottom:a.bottom||d+(a.height||b),width:a.width||c}};p.StringDecoder=function(){return{decode:function(a){if(!a)return"";if("string"!==typeof a)throw Error("Error - expected string data.");return decodeURIComponent(encodeURIComponent(a))}}};p.convertCueToDOMTree=function(a,b){return a&&b?g(a,b):null};p.processCues=
function(a,b,c){if(!a||!b||!c)return null;for(;c.firstChild;)c.removeChild(c.firstChild);var d=a.document.createElement("div");d.style.position="absolute";d.style.left="0";d.style.right="0";d.style.top="0";d.style.bottom="0";d.style.margin="1.5%";c.appendChild(d);if(function(a){for(var b=0;b<a.length;b++)if(a[b].hasBeenReset||!a[b].displayState)return!0;return!1}(b)){var e=[],f=n.getSimpleBoxPosition(d),g={font:Math.round(5*f.height)/100+"px sans-serif"};(function(){for(var c,h,l=0;l<b.length;l++){h=
b[l];c=new k(a,h,g);d.appendChild(c.div);var m=c,p=f,w=e,u=new n(m),t=m.cue,v;if("number"===typeof t.line&&(t.snapToLines||0<=t.line&&100>=t.line))v=t.line;else if(t.track&&t.track.textTrackList&&t.track.textTrackList.mediaElement){var x=t.track;v=x.textTrackList;for(var y=0,E=0;E<v.length&&v[E]!==x;E++)"showing"===v[E].mode&&y++;v=-1*++y}else v=-1;x=[];if(t.snapToLines){var J=void 0;switch(t.vertical){case "":x=["+y","-y"];J="height";break;case "rl":x=["+x","-x"];J="width";break;case "lr":x=["-x",
"+x"],J="width"}var y=u.lineHeight,E=y*Math.round(v),J=p[J]+y,M=x[0];Math.abs(E)>J&&(E=0>E?-1:1,E=E*Math.ceil(J/y)*y);0>v&&(E+=""===t.vertical?p.height:p.width,x=x.reverse());u.move(M,E)}else{u=u.lineHeight/p.height*100;switch(t.lineAlign){case "middle":v-=u/2;break;case "end":v-=u}switch(t.vertical){case "":m.applyStyles({top:m.formatStyle(v,"%")});break;case "rl":m.applyStyles({left:m.formatStyle(v,"%")});break;case "lr":m.applyStyles({right:m.formatStyle(v,"%")})}x=["+y","-x","+x","-y"];u=new n(m)}t=
void 0;a:{t=x;x=void 0;v=new n(u);y=1;for(E=0;E<t.length;E++){for(;u.overlapsOppositeAxis(p,t[E])||u.within(p)&&u.overlapsAny(w);)u.move(t[E]);if(u.within(p)){t=u;break a}J=u.intersectPercentage(p);y>J&&(x=new n(u),y=J);u=new n(v)}t=x||v}m.move(t.toCSSCompatValues(p));h.displayState=c.div;e.push(n.getSimpleBoxPosition(c))}})()}else for(c=0;c<b.length;c++)d.appendChild(b[c].displayState)};p.Parser=function(a,b,c){c||(c=b,b={});b||(b={});this.window=a;this.vttjs=b;this.state="INITIAL";this.buffer="";
this.decoder=c||new TextDecoder("utf8");this.regionList=[]};p.Parser.prototype={reportOrThrowError:function(b){if(b instanceof a)this.onparsingerror&&this.onparsingerror(b);else throw b;},parse:function(b){function e(){for(var a=k.buffer,b=0;b<a.length&&"\r"!==a[b]&&"\n"!==a[b];)++b;var c=a.substr(0,b);"\r"===a[b]&&++b;"\n"===a[b]&&++b;k.buffer=a.substr(b);return c}function g(a){var b=new c;f(a,function(a,d){switch(a){case "id":b.set(a,d);break;case "width":b.percent(a,d);break;case "lines":b.integer(a,
d);break;case "regionanchor":case "viewportanchor":var e=d.split(",");if(2!==e.length)break;var f=new c;f.percent("x",e[0]);f.percent("y",e[1]);if(!f.has("x")||!f.has("y"))break;b.set(a+"X",f.get("x"));b.set(a+"Y",f.get("y"));break;case "scroll":b.alt(a,d,["up"])}},/=/,/\s/);b.has("id")&&(a=new (k.vttjs.VTTRegion||k.window.VTTRegion),a.width=b.get("width",100),a.lines=b.get("lines",3),a.regionAnchorX=b.get("regionanchorX",0),a.regionAnchorY=b.get("regionanchorY",100),a.viewportAnchorX=b.get("viewportanchorX",
0),a.viewportAnchorY=b.get("viewportanchorY",100),a.scroll=b.get("scroll",""),k.onregion&&k.onregion(a),k.regionList.push({id:b.get("id"),region:a}))}function h(a){f(a,function(a,b){switch(a){case "Region":g(b)}},/:/)}var k=this;b&&(k.buffer+=k.decoder.decode(b,{stream:!0}));try{var l;if("INITIAL"===k.state){if(!/\r\n|\n/.test(k.buffer))return this;l=e();var m=l.match(/^WEBVTT([ \t].*)?$/);if(!m||!m[0])throw new a(a.Errors.BadSignature);k.state="HEADER"}for(b=!1;k.buffer;){if(!/\r\n|\n/.test(k.buffer))return this;
b?b=!1:l=e();switch(k.state){case "HEADER":/:/.test(l)?h(l):l||(k.state="ID");continue;case "NOTE":l||(k.state="ID");continue;case "ID":if(/^NOTE($|[ \t])/.test(l)){k.state="NOTE";break}if(!l)continue;k.cue=new (k.vttjs.VTTCue||k.window.VTTCue)(0,0,"");k.state="CUE";if(-1===l.indexOf("--\x3e")){k.cue.id=l;continue}case "CUE":try{d(l,k.cue,k.regionList)}catch(n){k.reportOrThrowError(n);k.cue=null;k.state="BADCUE";continue}k.state="CUETEXT";continue;case "CUETEXT":var p=-1!==l.indexOf("--\x3e");if(!l||
p&&(b=!0)){k.oncue&&k.oncue(k.cue);k.cue=null;k.state="ID";continue}k.cue.text&&(k.cue.text+="\n");k.cue.text+=l;continue;case "BADCUE":l||(k.state="ID")}}}catch(n){k.reportOrThrowError(n);if("CUETEXT"===k.state&&k.cue&&k.oncue)k.oncue(k.cue);k.cue=null;k.state="INITIAL"===k.state?"BADWEBVTT":"BADCUE"}return this},flush:function(){try{this.buffer+=this.decoder.decode();if(this.cue||"HEADER"===this.state)this.buffer+="\n\n",this.parse();if("INITIAL"===this.state)throw new a(a.Errors.BadSignature);
}catch(b){this.reportOrThrowError(b)}this.onflush&&this.onflush();return this}};h.WebVTT=p})(this,this.vttjs||{});
!function(){!function(h){var a=h&&h.videojs;a&&(a.CDN_VERSION="5.7.1",a.options.flash.swf=("https:"===h.location.protocol?"https://":"http://")+"vjs.zencdn.net/swf/5.0.1/video-js.swf")}(window);(function(h,a,e,c,f,d,g){a&&!1!==a.HELP_IMPROVE_VIDEOJS&&(.01<f.random()||(d=a.location,g=a.videojs||{},h.src="//www.google-analytics.com/__utm.gif?utmwv=5.4.2&utmac=UA-16505296-3&utmn=1&utmhn="+c(d.hostname)+"&utmsr="+a.screen.availWidth+"x"+a.screen.availHeight+"&utmul="+(e.language||e.userLanguage||"").toLowerCase()+
"&utmr="+c(d.href)+"&utmp="+c(d.hostname+d.pathname)+"&utmcc=__utma%3D1."+f.floor(1E10*f.random())+".1.1.1.1%3B&utme=8(vjsv*cdnv)9("+g.VERSION+"*"+g.CDN_VERSION+")"))})(new Image,window,navigator,encodeURIComponent,Math)}();
(function(c,h,r){var m=h.getComponent("Html5").Events,e=function(b){b.ads.cancelPlayTimeout||(b.ads.cancelPlayTimeout=c.setTimeout(function(){b.ads.cancelPlayTimeout=null;b.paused()||b.pause();b.one("contentplayback",function(){b.paused()&&b.play()})},1))},n=function(b){var a=b.$(".vjs-tech"),c=b.remoteTextTracks?b.remoteTextTracks():[],k,f=[];b={ended:b.ended(),currentSrc:b.currentSrc(),src:b.src(),currentTime:b.currentTime(),type:b.currentType()};a&&(b.nativePoster=a.poster,b.style=a.getAttribute("style"));
for(k=c.length;k--;)a=c[k],f.push({track:a,mode:a.mode}),a.mode="disabled";b.suppressedTracks=f;return b},t=function(b,a){var g=b.$(".vjs-tech"),k=20,f=a.suppressedTracks,d,l=function(){for(var a=f.length;a--;)d=f[a],d.track.mode=d.mode},p=function(){var l=!1,f=function(){l=!0};b.currentTime(a.currentTime);a.ended?(b.ads.resumeEndedTimeout=c.setTimeout(function(){l||b.play();b.off("ended",f);b.ads.resumeEndedTimeout=null},250),b.on("ended",f),b.on("dispose",function(){c.clearTimeout(b.ads.resumeEndedTimeout)})):
b.play()},e=function(){b.off("contentcanplay",e);b.ads.tryToResumeTimeout_&&(b.clearTimeout(b.ads.tryToResumeTimeout_),b.ads.tryToResumeTimeout_=null);g=b.el().querySelector(".vjs-tech");if(1<g.readyState||g.seekable===r||0<g.seekable.length)return p();if(k--)c.setTimeout(e,50);else try{p()}catch(a){h.log.warn("Failed to resume the content after an advertisement",a)}};a.nativePoster&&(g.poster=a.nativePoster);"style"in a&&g.setAttribute("style",a.style||"");b.src()!==a.src||b.currentSrc()!==a.currentSrc?
(b.one("contentloadedmetadata",l),b.src({src:a.currentSrc,type:a.type}),b.load(),b.one("contentcanplay",e),b.ads.tryToResumeTimeout_=b.setTimeout(e,2E3)):b.ended()&&a.ended||(l(),b.play())},q=function(b){(b=b.$(".vjs-tech"))&&b.removeAttribute("poster")},u={timeout:5E3,prerollTimeout:100,postrollTimeout:100,debug:!1};h.plugin("ads",function(b){var a=this,g=h.mergeOptions(u,b);(function(){var b=m.concat(["firstplay","loadedalldata"]),c=function(){return!0},d=function(b,d){d.isImmediatePropagationStopped=
c;d.cancelBubble=!0;d.isPropagationStopped=c;a.trigger({type:b+d.type,state:a.ads.state,originalEvent:d})};a.on(b,function(b){if("ad-playback"===a.ads.state)d("ad",b);else if("content-playback"===a.ads.state&&"ended"===b.type)d("content",b);else if("content-resuming"===a.ads.state){if(a.ads.snapshot){if(a.currentSrc()!==a.ads.snapshot.currentSrc)return"loadstart"===b.type?void 0:d("content",b);if(a.ads.snapshot.ended){if("pause"===b.type||"ended"===b.type){a.addClass("vjs-has-started");return}return d("content",
b)}}"playing"!==b.type&&d("content",b)}})})();a.on(["addurationchange","adcanplay"],function(){a.currentSrc()!==a.ads.snapshot.currentSrc&&a.play()});a.ads={state:"content-set",startLinearAdMode:function(){"ad-playback"!==a.ads.state&&a.trigger("adstart")},endLinearAdMode:function(){"ad-playback"===a.ads.state&&a.trigger("adend")},skipLinearAdMode:function(){"ad-playback"!==a.ads.state&&a.trigger("adskip")}};b=function(b){var f={"content-set":{events:{adscanceled:function(){this.state="content-playback"},
adsready:function(){this.state="ads-ready"},play:function(){this.state="ads-ready?";e(a);q(a)},adserror:function(){this.state="content-playback"},adskip:function(){this.state="content-playback"}}},"ads-ready":{events:{play:function(){this.state="preroll?";e(a)},adskip:function(){this.state="content-playback"},adserror:function(){this.state="content-playback"}}},"preroll?":{enter:function(){a.addClass("vjs-ad-loading");a.ads.adTimeoutTimeout=c.setTimeout(function(){a.trigger("adtimeout")},g.prerollTimeout);
a.trigger("readyforpreroll")},leave:function(){c.clearTimeout(a.ads.adTimeoutTimeout);a.removeClass("vjs-ad-loading")},events:{play:function(){e(a)},adstart:function(){this.state="ad-playback"},adskip:function(){this.state="content-playback"},adtimeout:function(){this.state="content-playback"},adserror:function(){this.state="content-playback"}}},"ads-ready?":{enter:function(){a.addClass("vjs-ad-loading");a.ads.adTimeoutTimeout=c.setTimeout(function(){a.trigger("adtimeout")},g.timeout)},leave:function(){c.clearTimeout(a.ads.adTimeoutTimeout);
a.removeClass("vjs-ad-loading")},events:{play:function(){e(a)},adscanceled:function(){this.state="content-playback"},adsready:function(){this.state="preroll?"},adskip:function(){this.state="content-playback"},adtimeout:function(){this.state="content-playback"},adserror:function(){this.state="content-playback"}}},"ad-playback":{enter:function(){this.snapshot=n(a);a.addClass("vjs-ad-playing");q(a);a.ads.cancelPlayTimeout&&(c.clearTimeout(a.ads.cancelPlayTimeout),a.ads.cancelPlayTimeout=null)},leave:function(){a.removeClass("vjs-ad-playing");
t(a,this.snapshot);"adend"!==a.ads.triggerevent&&a.trigger("adend")},events:{adend:function(){this.state="content-resuming"},adserror:function(){this.state="content-resuming"}}},"content-resuming":{enter:function(){this.snapshot.ended&&(c.clearTimeout(a.ads._fireEndedTimeout),a.ads._fireEndedTimeout=c.setTimeout(function(){a.trigger("ended")},1E3))},leave:function(){c.clearTimeout(a.ads._fireEndedTimeout)},events:{contentupdate:function(){this.state="content-set"},contentresumed:function(){this.state=
"content-playback"},playing:function(){this.state="content-playback"},ended:function(){this.state="content-playback"}}},"postroll?":{enter:function(){this.snapshot=n(a);a.addClass("vjs-ad-loading");a.ads.adTimeoutTimeout=c.setTimeout(function(){a.trigger("adtimeout")},g.postrollTimeout)},leave:function(){c.clearTimeout(a.ads.adTimeoutTimeout);a.removeClass("vjs-ad-loading")},events:{adstart:function(){this.state="ad-playback"},adskip:function(){this.state="content-resuming";c.setTimeout(function(){a.trigger("ended")},
1)},adtimeout:function(){this.state="content-resuming";c.setTimeout(function(){a.trigger("ended")},1)},adserror:function(){this.state="content-resuming";c.setTimeout(function(){a.trigger("ended")},1)}}},"content-playback":{enter:function(){a.ads.cancelPlayTimeout&&(c.clearTimeout(a.ads.cancelPlayTimeout),a.ads.cancelPlayTimeout=null);a.trigger({type:"contentplayback",triggerevent:a.ads.triggerevent})},events:{adsready:function(){a.trigger("readyforpreroll")},adstart:function(){this.state="ad-playback"},
contentupdate:function(){a.paused()?this.state="content-set":this.state="ads-ready?"},contentended:function(){this.state="postroll?"}}}};(function(c){var e=function(){};((f[c].events||{})[b.type]||e).apply(a.ads);c!==a.ads.state&&(a.ads.triggerevent=b.type,(f[c].leave||e).apply(a.ads),(f[a.ads.state].enter||e).apply(a.ads),g.debug&&h.log("ads",a.ads.triggerevent+" triggered: "+c+" -> "+a.ads.state))})(a.ads.state)};a.on(m.concat("adtimeout contentupdate contentplaying contentended contentresumed adsready adserror adscanceled adstart adend adskip".split(" ")),
b);a.ads.contentSrc=a.currentSrc();(function(){var b=function(){var b;"ad-playback"!==a.ads.state&&(b=a.currentSrc(),b!==a.ads.contentSrc&&(a.trigger({type:"contentupdate",oldValue:a.ads.contentSrc,newValue:b}),a.ads.contentSrc=b))};a.on("loadstart",b);c.setTimeout(b,1)})();a.paused()||b({type:"play"})})})(window,videojs);
(function(f,g){"function"===typeof define&&define.amd?define([],g.bind(this,f,f.videojs)):"undefined"!==typeof module&&module.exports?module.exports=g(f,f.videojs):g(f,f.videojs)})(window,function(f,g){f.videojs_hotkeys={version:"0.2.14"};g.plugin("hotkeys",function(d){var b=this,e=b.el(),h=document;d=(g.mergeOptions||g.util.mergeOptions)({volumeStep:.1,seekStep:5,enableMute:!0,enableVolumeScroll:!0,enableFullscreen:!0,enableNumbers:!0,enableJogStyle:!1,alwaysCaptureHotkeys:!1,playPauseKey:function(a){return 32===
a.which},rewindKey:function(a){return 37===a.which},forwardKey:function(a){return 39===a.which},volumeUpKey:function(a){return 38===a.which},volumeDownKey:function(a){return 40===a.which},muteKey:function(a){return 77===a.which},fullscreenKey:function(a){return 70===a.which},customKeys:{}},d||{});var k=d.volumeStep,n=d.seekStep,r=d.enableMute,t=d.enableVolumeScroll,p=d.enableFullscreen,u=d.enableNumbers,q=d.enableJogStyle,l=d.alwaysCaptureHotkeys;e.hasAttribute("tabIndex")||e.setAttribute("tabIndex",
"-1");e.style.outline="none";if(l||!b.autoplay())b.one("play",function(){e.focus()});b.on("userinactive",function(){var a=function(){clearTimeout(c)},c=setTimeout(function(){b.off("useractive",a);h.activeElement.parentElement==e.querySelector(".vjs-control-bar")&&e.focus()},10);b.one("useractive",a)});b.on("play",function(){var a=e.querySelector(".iframeblocker");a&&""===a.style.display&&(a.style.display="block",a.style.bottom="39px")});var m=function(a){if(b.controls()){var c=a.relatedTarget||a.toElement||
h.activeElement;(l||c==e||c==e.querySelector(".vjs-tech")||c==e.querySelector(".iframeblocker")||c==e.querySelector(".vjs-control-bar"))&&t&&(a=f.event||a,c=Math.max(-1,Math.min(1,a.wheelDelta||-a.detail)),a.preventDefault(),1==c?b.volume(b.volume()+k):-1==c&&b.volume(b.volume()-k))}},v=function(a,b){if(d.playPauseKey(a,b))return 1;if(d.rewindKey(a,b))return 2;if(d.forwardKey(a,b))return 3;if(d.volumeUpKey(a,b))return 4;if(d.volumeDownKey(a,b))return 5;if(d.muteKey(a,b))return 6;if(d.fullscreenKey(a,
b))return 7};b.on("keydown",function(a){var c=a.which,f=a.preventDefault;if(b.controls()){var g=h.activeElement;if(l||g==e||g==e.querySelector(".vjs-tech")||g==e.querySelector(".vjs-control-bar")||g==e.querySelector(".iframeblocker"))switch(v(a,b)){case 1:f();l&&a.stopPropagation();b.paused()?b.play():b.pause();break;case 2:f();a=b.currentTime()-n;b.currentTime()<=n&&(a=0);b.currentTime(a);break;case 3:f();b.currentTime(b.currentTime()+n);break;case 5:f();q?(a=b.currentTime()-1,1>=b.currentTime()&&
(a=0),b.currentTime(a)):b.volume(b.volume()-k);break;case 4:f();q?b.currentTime(b.currentTime()+1):b.volume(b.volume()+k);break;case 6:r&&b.muted(!b.muted());break;case 7:p&&(b.isFullscreen()?b.exitFullscreen():b.requestFullscreen());break;default:(47<c&&59>c||95<c&&106>c)&&u&&(g=48,95<c&&(g=96),c-=g,f(),b.currentTime(b.duration()*c*.1));for(var m in d.customKeys)(c=d.customKeys[m])&&c.key&&c.handler&&c.key(a)&&(f(),c.handler(b,d,a))}}});b.on("dblclick",function(a){b.controls()&&(a=a.relatedTarget||
a.toElement||h.activeElement,(a==e||a==e.querySelector(".vjs-tech")||a==e.querySelector(".iframeblocker"))&&p&&(b.isFullscreen()?b.exitFullscreen():b.requestFullscreen()))});b.on("mousewheel",m);b.on("DOMMouseScroll",m);return this})});
(function(){var k,g;k={zoom:1,rotate:0,debug:!0};g=function(){var a,d,e,c,b;a=Array.prototype.slice.call(arguments);d=a.shift()||{};for(e in a)for(b in c=a[e],c)c.hasOwnProperty(b)&&(d[b]="object"===typeof c[b]?g(d[b],c[b]):c[b]);return d};videojs.plugin("zoomrotate",function(a){var d,e,c;a=g(k,a);a.debug&&console.log("zoomrotate: Register init");d=this.el();e=this.el().getElementsByTagName("video")[0];c=this.el().getElementsByTagName("div")[1];a.debug&&console.log("zoomrotate: "+e.style);a.debug&&
console.log("zoomrotate: "+c.style);a.debug&&console.log("zoomrotate: "+a.rotate);a.debug&&console.log("zoomrotate: "+a.zoom);var b=["transform","WebkitTransform","MozTransform","msTransform","OTransform"],h=b[0],f,l;f=0;for(l=b.length;f<l;f++)if("undefined"!==typeof d.style[b[f]]){h=b[f];break}d.style.overflow="hidden";a.setVideo&&(e.style[h]="scale("+a.zoom+") rotate("+a.rotate+"deg)");a.setPoster&&(c.style[h]="scale("+a.zoom+") rotate("+a.rotate+"deg)");a.debug&&console.log("zoomrotate: Register end")})})();
var EmbedSitePlayer=function(m,b,G,H,V,v,w){function W(){n.addEventListener?n.addEventListener("contextmenu",function(a){a.preventDefault()},!1):n.attachEvent("oncontextmenu",function(){window.event.returnValue=!1})}function X(){a=videojs("content_video",{width:document.getElementById("single-video").offsetWidth,height:document.getElementById("single-video").offsetHeight,flash:{swf:"/_hvp1"},controlBar:{children:{}}}).ready(function(){this.on("ended",function(){1==a.options_.loop&&h(null,!1)});this.on("volumechange",
function(){x("xuitePlayerVolume",a.volume(),30)});void 0!==B&&this.zoomrotate({rotate:B?B:0,zoom:1,setVideo:!0,setPoster:!1,debug:!1});this.hotkeys({enableVolumeScroll:!1,seekStep:5,volumeStep:.1,alwaysCaptureHotkeys:!0,playPauseKey:function(a,b){return!1},rewindKey:function(a,b){return 37===a.which||65===a.which},forwardKey:function(a,b){return 39===a.which||68===a.which},volumeUpKey:function(a,b){return 38===a.which||87===a.which},volumeDownKey:function(a,b){return 40===a.which||88===a.which},customKeys:{playPauseKeyWithAd:{key:function(a){return 32===
a.which||83===a.which},handler:function(a,b,d){a.paused()?h(d,!1):(d.stopPropagation(),a.pause())}}}})});Y();m&&(a.poster(b.ogImageUrl.split(":")[1]),I(),J())}function Y(){var b=a.controlBar.addChild("playToggle",{}),e=a.controlBar.addChild("volumeMenuButton",{}),d=a.controlBar.addChild("currentTimeDisplay",{}),f=a.controlBar.addChild("timeDivider",{}),g=a.controlBar.addChild("durationDisplay",{}),h=a.controlBar.addChild("progressControl",{}),k=a.controlBar.addChild("liveDisplay",{}),l=a.controlBar.addChild("remainingTimeDisplay",
{}),m=a.controlBar.addChild("customControlSpacer",{}),n=a.controlBar.addChild("chaptersButton",{}),p=a.controlBar.addChild("subtitlesButton",{}),r=a.controlBar.addChild("captionsButton",{});Z();var t=a.controlBar.addChild("fullscreenToggle",{});aa();var u=document.getElementsByClassName("vjs-control-bar")[0],q=videojs.createEl("div",{},{id:"video-title-b","class":"video-title"});q.innerHTML=ba;u.appendChild(q);a.controlBar.playToggle=b;a.controlBar.volumeMenuButton=e;a.controlBar.currentTimeDisplay=
d;a.controlBar.timeDivider=f;a.controlBar.durationDisplay=g;a.controlBar.progressControl=h;a.controlBar.liveDisplay=k;a.controlBar.remainingTimeDisplay=l;a.controlBar.customControlSpacer=m;a.controlBar.chaptersButton=n;a.controlBar.subtitlesButton=p;a.controlBar.captionsButton=r;a.controlBar.fullscreenToggle=t}function J(){if(l){var c={id:"content_video",adTagUrl:K,adsRenderingSettings:{useStyledNonLinearAds:!0,useShareButton:!0},contribAdsSettings:{timeout:1E3},debug:!1,locale:"zh-tw",vpaidMode:"INSECURE",
showCountdown:!0,nativeControlsForTouch:!1};window.attachEvent?window.attachEvent("onresize",C):window.addEventListener&&window.addEventListener("resize",C);a.ima(c,function(){return function(){a.ima.addEventListener(google.ima.AdEvent.Type.STARTED,function(){a.ima.onVolumeChange_();C()});a.ima.addEventListener(google.ima.AdEvent.Type.ALL_ADS_COMPLETED,function(){a.removeClass("vjs-vast-load");x("lastAdDate",new Date,1);x("lastAdVideo",b.MEDIA_ID,1)});a.ima.addEventListener(google.ima.AdEvent.Type.USER_CLOSE,
function(){var a=document.getElementById("content_video_ima-ad-container");a.parentNode.removeChild(a)});a.ima.startFromReadyCallback()}}());var e=1,d;a.on("adserror",function(c){a.addClass("vjs-vast-load");if(999<e||-1!==c.data.AdError.toString().indexOf("1010")||-1!==c.data.AdError.toString().indexOf("301")||-1!==c.data.AdError.toString().indexOf("1009")&&!p)a.play(),a.removeClass("vjs-vast-load");999>=e&&p&&(-1!==c.data.AdError.toString().indexOf("1009")||-1!==c.data.AdError.toString().indexOf("1012"))?
(e++,d="eltaott"===b.uid?k(w,"http")||k(w,"http")||k(w,"http")||"http://":k(v,"http")||k(v,"http")||k(v,"http")||"http://",console.log("%cRETRY TAG: "+d,"color: blue"),a.ima.setContentWithAdTag(null,d,!0),a.ima.requestAds()):(a.play(),a.removeClass("vjs-vast-load"))});m&&setTimeout(function(){a.poster(b.ogImageUrl.split(":")[1])},1E3)}else L&&(c={sdkurl:"http://imasdk.googleapis.com/js/sdkloader/ima3.js",adSwf:"/_hvp2",adTechOrder:["flash"],serverUrl:K,debug:!1,vpaidMode:"INSECURE"},a.ima3(c),a.on("ads-pod-started",
function(b){a.ima3.adPlayer.volume(y)}),a.on("ads-allpods-completed",function(a){x("lastAdDate",new Date,1)}),a.one("adserror",function(b){a.one("play",function(b){p&&"1"!==D&&a.ima3.adrequest(M)})}),m&&setTimeout(function(){a.poster(b.ogImageUrl.split(":")[1])},2500))}function C(){setTimeout(function(){},16)}function Z(){var b=videojs.getComponent("Button"),b=videojs.extend(b,{handleClick:function(){1==a.options_.loop?(a.options_.loop=!1,this.el_.innerHTML='<i class="material-icons md-control-icon" style="color:#FFFFFF;">repeat</i>'):
(a.options_.loop=!0,this.el_.innerHTML='<i class="material-icons md-control-icon" style="color:#FFBD0A;">repeat</i>')}});videojs.registerComponent("LoopBtn",b);b=a.controlBar.addChild("LoopBtn",{});b.addClass("pointer");b.el_.innerHTML='<i class="material-icons md-control-icon" style="color:#FFFFFF;">repeat</i>';"1"===ca&&(a.options_.loop=!0,b.el_.innerHTML='<i class="material-icons md-control-icon" style="color:#FFBD0A;">repeat</i>')}function aa(){var c=videojs.getComponent("Button"),c=videojs.extend(c,
{handleClick:function(){var c,d;c=a.currentSrc()===b.html5HQUrl?"720":a.currentSrc()===b.html5HQUrl2?"1080":"360";d=!0===a.options_.loop?"1":"0";a.pause();window.open(da+"?t="+a.currentTime()+"&vol="+100*a.volume()+"&q="+c+"&ar="+d,"_blank")}});videojs.registerComponent("LinkBtn",c);c=a.controlBar.addChild("LinkBtn",{});c.addClass("pointer");c.el_.innerHTML='<img title="\u96a8\u610f\u7aa9" style="height:25px;width:24px;" src="http://img.xuite.net/_v_1.0.43/favicon/xuite/favicon.png"></img>'}function I(){if("1"!==
b.MEDIA_TYPE){var c=a.controlBar.addChild("MenuButton",{},13);c.addClass("vjs-playback-rate");c.addClass("vjs-icon-hd");c.addClass("minus-hight");"720"===g&&b.html5HQUrl?c.addClass("vjs-icon-hd-active"):"1080"===g&&b.html5HQUrl2?c.addClass("vjs-icon-hd-active"):"360"!==g&&b.HD&&c.addClass("vjs-icon-hd-active");c.el().onmouseover=function(){var a=document.getElementById("content_video_ima-ad-container");a&&(a.style.visibility="hidden")};c.el().onmouseout=function(){var a=document.getElementById("content_video_ima-ad-container");
a&&(a.style.visibility="visible")};var e=videojs.getComponent("MenuItem"),d=videojs.extend(e,{constructor:function(a,d){e.call(this,a,d);this.on(c,"clean-hightlight",this.cleanHightlight);"720"===g&&b.html5HQUrl&&"720p"===this.options_.label?this.selected(!0):"1080"===g&&b.html5HQUrl2&&"1080p"===this.options_.label?this.selected(!0):"360"===g&&"360p"===this.options_.label?this.selected(!0):"1080"!==g&&"720"!==g&&"360"!==g&&(b.HD&&"720p"===this.options_.label?this.selected(!0):b.HD||"360p"!==this.options_.label||
this.selected(!0))},handleClick:function(){this.selected(!0);c.trigger("clean-hightlight",{label:this.options_.label});var e;a.currentSrc()&&(a.poster(""),a.pause(),e=a.currentTime());a.src([{type:"1"===b.MEDIA_TYPE?"audio/mp3":"video/mp4",src:this.options_.seleSrc}]);a.currentTime(e);h(null,!1);a.currentSrc()===b.html5HQUrl||a.currentSrc()===b.html5HQUrl2?c.addClass("vjs-icon-hd-active"):c.removeClass("vjs-icon-hd-active")},cleanHightlight:function(a,b){b.label!==this.options_.label&&this.selected(!1)}});
videojs.registerComponent("MyMenuItem",d);b.html5HQUrl2&&c.menu.addChild("MyMenuItem",{label:"1080p",seleSrc:b.html5HQUrl2,selectable:!0});b.html5HQUrl&&c.menu.addChild("MyMenuItem",{label:"720p",seleSrc:b.html5HQUrl,selectable:!0});b.html5Url&&c.menu.addChild("MyMenuItem",{label:"360p",seleSrc:b.html5Url,selectable:!0})}}function N(b){var e=document.getElementById("content_video_html5_api");(navigator.userAgent.match(/iPad/i)||navigator.userAgent.match(/Android/i))&&e.hasAttribute("controls")&&e.removeAttribute("controls");
e="click";r&&!navigator.userAgent.match(/Android/i)&&(e="touchend");a.one("play",function(){t||(t=!0);var a=document.getElementById("video-title-a");a.parentNode.removeChild(a)});a.one(e,function(){if(!t&&!u||b)l&&(a.ima.initializeAdDisplayContainer(),a.ima.requestAds(),document.getElementById("content_video_ima-ad-container").ontouchend=function(){setTimeout(function(){a.play()},100)}),h(null,!0)})}function h(b,e){b&&b.stopPropagation();z&&e?setTimeout(function(){a.play()},700):a.play()}function ea(){m?
(a.src([O]),a.one("loadedmetadata",function(){a.volume(y);a.currentTime(P)}),r||"1"!==D||fa()):ga();setTimeout(function(){n.style.visibility="inherit"},5)}function fa(){function b(){document[e]||t||(l&&(a.ima.initializeAdDisplayContainer(),a.ima.requestAds()),h(null,!0))}"visible"===document.visibilityState&&(l&&(a.ima.initializeAdDisplayContainer(),a.ima.requestAds()),h(null,!0));var e,d;"undefined"!==typeof document.hidden?(e="hidden",d="visibilitychange"):"undefined"!==typeof document.mozHidden?
(e="mozHidden",d="mozvisibilitychange"):"undefined"!==typeof document.msHidden?(e="msHidden",d="msvisibilitychange"):"undefined"!==typeof document.webkitHidden&&(e="webkitHidden",d="webkitvisibilitychange");"undefined"===typeof document.addEventListener||"undefined"===typeof document[e]?console.log("This browser do not supports Page Visibility API"):document.addEventListener(d,b,!1)}function ga(){var c=videojs.createEl("div",{},{id:"single-panel-password","class":"single-panel-max",style:"padding: 14% 0%;text-align:center;"}),
e=videojs.createEl("div",{},{id:"single-panel-password-tips",style:"font-size: 15px;margin-bottom: 5px;"});e.innerHTML='<span id="single-panel-password-tips-label">\u5bc6\u78bc\u63d0\u793a\uff1a</span>'+ha+"</div>";var d=videojs.createEl("div",{},{id:"single-panel-password-form"});d.innerHTML='<span id="single-panel-password-label"><input style="display:none" type="text" name="fakeusernameremembered"/><input style="display:none" type="password" name="fakepasswordremembered"/><input type="password" name="password" placeholder="\u8f38\u5165\u5bc6\u78bc" id="single-panel-password-text" style="width: 130px;height: 36px;font-size: 17px;"></span><input class="single-panel-password-submit" type="button" value="\u78ba\u5b9a" style="padding:6px 9px;font-size:17px;"><div id="single-panel-password-message" style="color:red;width:100%;margin-left:0px;font-size: 15px;margin-top: 5px;"></div>';
d.childNodes[1].onclick=function(){document.getElementById("single-panel-password-text").focus();(function(){$.ajax({url:"/_ajax/default/media/ajax",type:"post",dataType:"json",data:{act:"checkPasswd",mediumId:ia,passwd:document.getElementById("single-panel-password-text").value},error:function(a){},success:function(c){c.success?(d.childNodes[1].disabled=!0,d.childNodes[1].value="\u8f09\u5165\u4e2d",c=c.media,b.MEDIA_TYPE=c.MEDIA_TYPE,b.HD=c.HD,b.html5Url=c.html5Url?"http:"+c.html5Url.split(":")[1]:
c.html5Url,b.html5HQUrl=c.html5HQUrl?"http:"+c.html5HQUrl.split(":")[1]:c.html5HQUrl,b.html5HQUrl2=c.html5HQUrl2?"http:"+c.html5HQUrl2.split(":")[1]:c.html5HQUrl2,b.thumbnailUrl=c.thumbnailUrl,a.src(["720"===g&&b.html5HQUrl?{type:"1"===b.MEDIA_TYPE?"audio/mp3":"video/mp4",src:b.html5HQUrl}:"1080"===g&&b.html5HQUrl2?{type:"1"===b.MEDIA_TYPE?"audio/mp3":"video/mp4",src:b.html5HQUrl2}:"360"===g?{type:"1"===b.MEDIA_TYPE?"audio/mp3":"video/mp4",src:b.html5Url}:{type:"1"===b.MEDIA_TYPE?"audio/mp3":"video/mp4",
src:b.HD?b.html5HQUrl:b.html5Url}]),a.one("loadedmetadata",function(){a.volume(y);a.currentTime(P);a.poster(b.thumbnailUrl)}),I(),J(),r?N(!0):(l&&(a.ima.initializeAdDisplayContainer(),a.ima.requestAds()),h(null,!0)),setTimeout(function(){u.close()},80)):document.getElementById("single-panel-password-message").innerText="\u5bc6\u78bc\u932f\u8aa4"}})})()};d.childNodes[0].childNodes[2].addEventListener("keypress",function(a){document.getElementById("single-panel-password-message").innerText="";13===
a.which&&$(".single-panel-password-submit").click()});c.appendChild(e);c.appendChild(d);u=a.addChild("modalDialog",{uncloseable:!0,fillAlways:!1,content:c});a.modalDialog=u;u.open()}function ja(){var b=document.getElementById("single-video");b.addEventListener("keypress",function(e){t&&b&&b===document.activeElement&&(115===e.which?a.paused()?h(e,!1):(e.stopPropagation(),a.pause()):97===e.which?(curTime=a.currentTime()-5,5>=a.currentTime()&&(curTime=0),a.currentTime(curTime)):100===e.which?a.currentTime(a.currentTime()+
5):119===e.which?a.volume(a.volume()+.1):120===e.which&&a.volume(a.volume()-.1))})}function ka(){window.addEventListener("message",function(){-1!==event.data.indexOf("getCurrentTime")&&parent.postMessage(JSON.stringify({currentTime:a.currentTime()}),"*");-1!==event.data.indexOf("playVideo")&&(l&&(a.ima.initializeAdDisplayContainer(),a.ima.requestAds()),h(null))},!1)}function Q(){if(V){var a=document.getElementById("content_video");a.parentNode.removeChild(a);a=document.getElementById("video-title-a");
a.parentNode.removeChild(a);n.style.visibility="inherit";a=document.createElement("IMG");a.setAttribute("src","/images/del.jpg");a.setAttribute("style","position: absolute;top: 0;left: 0;right: 0;bottom: 0;margin: auto;width: 100%;");n.appendChild(a)}else W(),X(),N(),ea(),ja(),ka()}function R(a){var b=document.createElement("script");b.src=a;b.onload=function(){Q()};document.body.appendChild(b)}function x(a,b,d,f){d?(f=new Date,f.setTime(f.getTime()+864E5*d),d="; expires="+f.toGMTString()):d="";document.cookie=
a+"="+b+d+"; path=/"}function A(a){a+="=";for(var b=document.cookie.split(";"),d=0;d<b.length;d++){for(var f=b[d];" "==f.charAt(0);)f=f.substring(1,f.length);if(0==f.indexOf(a))return f.substring(a.length,f.length)}return null}function S(a,b){b||(b=window.location.href);a=a.replace(/[\[\]]/g,"\\$&");var d=(new RegExp("[?&]"+a+"(=([^&#]*)|&|#|$)")).exec(b);return d?d[2]?decodeURIComponent(d[2].replace(/\+/g," ")):"":null}function k(a,b){for(var d,f=0;f<a.length;f++)if(("1"!==D||-1===a[f].indexOf("googleads"))&&
-1!==a[f].indexOf(b)){d=a[f];a.splice(f,1);break}return d||null}var g=b.q;if(m){b.html5Url=b.html5Url?"http:"+b.html5Url.split(":")[1]:b.html5Url;b.html5HQUrl=b.html5HQUrl?"http:"+b.html5HQUrl.split(":")[1]:b.html5HQUrl;b.html5HQUrl2=b.html5HQUrl2?"http:"+b.html5HQUrl2.split(":")[1]:b.html5HQUrl2;var O;O="720"===g&&b.html5HQUrl?{type:"1"===b.MEDIA_TYPE?"audio/mp3":"video/mp4",src:b.html5HQUrl}:"1080"===g&&b.html5HQUrl2?{type:"1"===b.MEDIA_TYPE?"audio/mp3":"video/mp4",src:b.html5HQUrl2}:"360"===g?
{type:"1"===b.MEDIA_TYPE?"audio/mp3":"video/mp4",src:b.html5Url}:{type:"1"===b.MEDIA_TYPE?"audio/mp3":"video/mp4",src:b.HD?b.html5HQUrl:b.html5Url}}var y=b.vol;null===S("volume")&&null===S("vol")&&null!==A("xuitePlayerVolume")&&(y=A("xuitePlayerVolume"));var P=b.time,T=b.MEDIA_DURATION/1E6,ia=b.MEDIA_ID,ha=m?"":b.passwdHint,B=b.OTHERS?JSON.parse(b.OTHERS).rotate:void 0,q=b.loadAd,ca=b.loop,D=b.autoplay,ba=b.TITLE,da="http://vlog.xuite.net/play/"+b.base64FileName,r;r=navigator.userAgent.match(/iPhone/i)||
navigator.userAgent.match(/iPad/i)||navigator.userAgent.match(/Android/i)?!0:!1;Date.now();var E=window.location!==window.parent.location?document.referrer:document.location.href,M="https://googleads.g.doubleclick.net/pagead/ads?ad_type=video&client=ca-video-pub-2977875281338330&slotname=7527895186&description_url="+E+"&max_ad_duration=31000&videoad_start_delay=0&overlay=0",U="https://googleads.g.doubleclick.net/pagead/ads?ad_type=image&client=ca-video-pub-2977875281338330&slotname=7527895186&description_url="+
E+"&max_ad_duration=31000&videoad_start_delay=0&overlay=0";"eltaott"===b.uid&&(M="https://googleads.g.doubleclick.net/pagead/ads?client=ca-video-pub-2977875281338330&slotname=4625559226&ad_type=video&description_url=http%3A%2F%2Fvlog.xuite.net%2Feltaott&max_ad_duration=31000&videoad_start_delay=0",U="https://googleads.g.doubleclick.net/pagead/ads?client=ca-video-pub-2977875281338330&slotname=4625559226&ad_type=image&description_url=http%3A%2F%2Fvlog.xuite.net%2Feltaott&max_ad_duration=31000&videoad_start_delay=0");
var la="eltaott"===b.uid?k(w,"http"):k(v,"http"),F=new Date(A("lastAdDate")),F=(new Date-F)/1E3,q=q&&(!r||A("lastAdVideo")!==b.MEDIA_ID)&&0<=T&&0<=F&&"//vlog.xuite.net/"!==E.split(":")[1]?!0:!1,p=120<=T?!0:!1,K=p?la:U,z=0<window.navigator.userAgent.indexOf("MSIE ")||navigator.userAgent.match(/Trident.*rv\:11\./)?!0:!1,z=!1,L=q&&p&&z?!0:!1,l=!q||p&&z?!1:!0,n=document.getElementById("mainContainer"),a,t=!1,u;l?R("/_api/combo/js/v/"+G+"/dh/videojs.ima"+H):L?R("/_api/combo/js/v/"+G+"/dh/videojs.ima3"+
H):q||Q()};
