filesbox/web/dist/design/designstatic/chatroom/video/alt/video.novtt.min.js
2024-07-26 14:10:54 +08:00

147 lines
216 KiB
JavaScript

/**
* @license
* Video.js 5.8.7 <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>
*/(function(yt){if(typeof exports=="object"&&typeof module!="undefined")module.exports=yt();else if(typeof define=="function"&&define.amd)define([],yt);else{var t;t=typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:this,t.videojs=yt()}})(function(){var yt;return function t(w,e,c){function o(h,a){if(!e[h]){if(!w[h]){var f=typeof require=="function"&&require;if(!a&&f)return f(h,!0);if(m)return m(h,!0);var u=new Error("Cannot find module '"+h+"'");throw u.code="MODULE_NOT_FOUND",u}var r=e[h]={exports:{}};w[h][0].call(r.exports,function(n){var y=w[h][1][n];return o(y||n)},r,r.exports,t,w,e,c)}return e[h].exports}for(var m=typeof require=="function"&&require,g=0;g<c.length;g++)o(c[g]);return o}({1:[function(t,w){(function(e){var c=typeof e!="undefined"?e:typeof window!="undefined"?window:{},o=t("min-document");if(typeof document!="undefined")w.exports=document;else{var m=c["__GLOBAL_DOCUMENT_CACHE@4"];m||(m=c["__GLOBAL_DOCUMENT_CACHE@4"]=o),w.exports=m}}).call(this,typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"min-document":3}],2:[function(t,w){(function(e){w.exports=typeof window!="undefined"?window:typeof e!="undefined"?e:typeof self!="undefined"?self:{}}).call(this,typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],3:[function(){},{}],4:[function(t,w){var e=t("../internal/getNative"),c=e(Date,"now"),o=c||function(){return new Date().getTime()};w.exports=o},{"../internal/getNative":20}],5:[function(t,w){function e(h,a,f){function u(){s&&clearTimeout(s),l&&clearTimeout(l),k=0,l=s=j=void 0}function r(T,P){P&&clearTimeout(P),l=s=j=void 0,T&&(k=o(),_=h.apply(v,p),s||l||(p=v=void 0))}function n(){var T=a-(o()-d);0>=T||T>a?r(j,l):s=setTimeout(n,T)}function y(){r(O,s)}function i(){if(p=arguments,d=o(),v=this,j=O&&(s||!b),C===!1)var T=b&&!s;else{l||b||(k=d);var P=C-(d-k),D=0>=P||P>C;D?(l&&(l=clearTimeout(l)),k=d,_=h.apply(v,p)):l||(l=setTimeout(y,P))}return D&&s?s=clearTimeout(s):s||a===C||(s=setTimeout(n,a)),T&&(D=!0,_=h.apply(v,p)),!D||s||l||(p=v=void 0),_}var p,l,_,d,v,s,j,k=0,C=!1,O=!0;if(typeof h!="function")throw new TypeError(m);if(a=0>a?0:+a||0,f===!0){var b=!0;O=!1}else c(f)&&(b=!!f.leading,C="maxWait"in f&&g(+f.maxWait||0,a),O="trailing"in f?!!f.trailing:O);return i.cancel=u,i}var c=t("../lang/isObject"),o=t("../date/now"),m="Expected a function",g=Math.max;w.exports=e},{"../date/now":4,"../lang/isObject":33}],6:[function(t,w){function e(m,g){if(typeof m!="function")throw new TypeError(c);return g=o(g===void 0?m.length-1:+g||0,0),function(){for(var h=arguments,a=-1,f=o(h.length-g,0),u=Array(f);++a<f;)u[a]=h[g+a];switch(g){case 0:return m.call(this,u);case 1:return m.call(this,h[0],u);case 2:return m.call(this,h[0],h[1],u)}var r=Array(g+1);for(a=-1;++a<g;)r[a]=h[a];return r[g]=u,m.apply(this,r)}}var c="Expected a function",o=Math.max;w.exports=e},{}],7:[function(t,w){function e(g,h,a){var f=!0,u=!0;if(typeof g!="function")throw new TypeError(m);return a===!1?f=!1:o(a)&&(f="leading"in a?!!a.leading:f,u="trailing"in a?!!a.trailing:u),c(g,h,{leading:f,maxWait:+h,trailing:u})}var c=t("./debounce"),o=t("../lang/isObject"),m="Expected a function";w.exports=e},{"../lang/isObject":33,"./debounce":5}],8:[function(t,w){function e(c,o){var m=-1,g=c.length;for(o||(o=Array(g));++m<g;)o[m]=c[m];return o}w.exports=e},{}],9:[function(t,w){function e(c,o){for(var m=-1,g=c.length;++m<g&&o(c[m],m,c)!==!1;);return c}w.exports=e},{}],10:[function(t,w){function e(c,o,m){m||(m={});for(var g=-1,h=o.length;++g<h;){var a=o[g];m[a]=c[a]}return m}w.exports=e},{}],11:[function(t,w){var e=t("./createBaseFor"),c=e();w.exports=c},{"./createBaseFor":18}],12:[function(t,w){function e(m,g){return c(m,g,o)}var c=t("./baseFor"),o=t("../object/keysIn");w.exports=e},{"../object/keysIn":39,"./baseFor":11}],13:[function(t,w){function e(r,n,y,i,p){if(!h(r))return r;var l=g(n)&&(m(n)||f(n)),_=l?void 0:u(n);return c(_||n,function(d,v){if(_&&(v=d,d=n[v]),a(d))i||(i=[]),p||(p=[]),o(r,n,v,e,y,i,p);else{var s=r[v],j=y?y(s,d,v,r,n):void 0,k=j===void 0;k&&(j=d),j===void 0&&(!l||v in r)||!k&&(j===j?j===s:s!==s)||(r[v]=j)}}),r}var c=t("./arrayEach"),o=t("./baseMergeDeep"),m=t("../lang/isArray"),g=t("./isArrayLike"),h=t("../lang/isObject"),a=t("./isObjectLike"),f=t("../lang/isTypedArray"),u=t("../object/keys");w.exports=e},{"../lang/isArray":30,"../lang/isObject":33,"../lang/isTypedArray":36,"../object/keys":38,"./arrayEach":9,"./baseMergeDeep":14,"./isArrayLike":21,"./isObjectLike":26}],14:[function(t,w){function e(u,r,n,y,i,p,l){for(var _=p.length,d=r[n];_--;)if(p[_]==d)return void(u[n]=l[_]);var v=u[n],s=i?i(v,d,n,u,r):void 0,j=s===void 0;j&&(s=d,g(d)&&(m(d)||a(d))?s=m(v)?v:g(v)?c(v):[]:h(d)||o(d)?s=o(v)?f(v):h(v)?v:{}:j=!1),p.push(d),l.push(s),j?u[n]=y(s,d,i,p,l):(s===s?s!==v:v===v)&&(u[n]=s)}var c=t("./arrayCopy"),o=t("../lang/isArguments"),m=t("../lang/isArray"),g=t("./isArrayLike"),h=t("../lang/isPlainObject"),a=t("../lang/isTypedArray"),f=t("../lang/toPlainObject");w.exports=e},{"../lang/isArguments":29,"../lang/isArray":30,"../lang/isPlainObject":34,"../lang/isTypedArray":36,"../lang/toPlainObject":37,"./arrayCopy":8,"./isArrayLike":21}],15:[function(t,w){function e(o){return function(m){return m==null?void 0:c(m)[o]}}var c=t("./toObject");w.exports=e},{"./toObject":28}],16:[function(t,w){function e(o,m,g){if(typeof o!="function")return c;if(m===void 0)return o;switch(g){case 1:return function(h){return o.call(m,h)};case 3:return function(h,a,f){return o.call(m,h,a,f)};case 4:return function(h,a,f,u){return o.call(m,h,a,f,u)};case 5:return function(h,a,f,u,r){return o.call(m,h,a,f,u,r)}}return function(){return o.apply(m,arguments)}}var c=t("../utility/identity");w.exports=e},{"../utility/identity":42}],17:[function(t,w){function e(g){return m(function(h,a){var f=-1,u=h==null?0:a.length,r=u>2?a[u-2]:void 0,n=u>2?a[2]:void 0,y=u>1?a[u-1]:void 0;for(typeof r=="function"?(r=c(r,y,5),u-=2):(r=typeof y=="function"?y:void 0,u-=r?1:0),n&&o(a[0],a[1],n)&&(r=3>u?void 0:r,u=1);++f<u;){var i=a[f];i&&g(h,i,r)}return h})}var c=t("./bindCallback"),o=t("./isIterateeCall"),m=t("../function/restParam");w.exports=e},{"../function/restParam":6,"./bindCallback":16,"./isIterateeCall":24}],18:[function(t,w){function e(o){return function(m,g,h){for(var a=c(m),f=h(m),u=f.length,r=o?u:-1;o?r--:++r<u;){var n=f[r];if(g(a[n],n,a)===!1)break}return m}}var c=t("./toObject");w.exports=e},{"./toObject":28}],19:[function(t,w){var e=t("./baseProperty"),c=e("length");w.exports=c},{"./baseProperty":15}],20:[function(t,w){function e(o,m){var g=o==null?void 0:o[m];return c(g)?g:void 0}var c=t("../lang/isNative");w.exports=e},{"../lang/isNative":32}],21:[function(t,w){function e(m){return m!=null&&o(c(m))}var c=t("./getLength"),o=t("./isLength");w.exports=e},{"./getLength":19,"./isLength":25}],22:[function(t,w){var e=function(){try{Object({toString:0}+"")}catch(c){return function(){return!1}}return function(c){return typeof c.toString!="function"&&typeof(c+"")=="string"}}();w.exports=e},{}],23:[function(t,w){function e(m,g){return m=typeof m=="number"||c.test(m)?+m:-1,g=g==null?o:g,m>-1&&m%1==0&&g>m}var c=/^\d+$/,o=9007199254740991;w.exports=e},{}],24:[function(t,w){function e(g,h,a){if(!m(a))return!1;var f=typeof h;if(f=="number"?c(a)&&o(h,a.length):f=="string"&&h in a){var u=a[h];return g===g?g===u:u!==u}return!1}var c=t("./isArrayLike"),o=t("./isIndex"),m=t("../lang/isObject");w.exports=e},{"../lang/isObject":33,"./isArrayLike":21,"./isIndex":23}],25:[function(t,w){function e(o){return typeof o=="number"&&o>-1&&o%1==0&&c>=o}var c=9007199254740991;w.exports=e},{}],26:[function(t,w){function e(c){return!!c&&typeof c=="object"}w.exports=e},{}],27:[function(t,w){function e(r){for(var n=a(r),y=n.length,i=y&&r.length,p=!!i&&g(i)&&(o(r)||c(r)||h(r)),l=-1,_=[];++l<y;){var d=n[l];(p&&m(d,i)||u.call(r,d))&&_.push(d)}return _}var c=t("../lang/isArguments"),o=t("../lang/isArray"),m=t("./isIndex"),g=t("./isLength"),h=t("../lang/isString"),a=t("../object/keysIn"),f=Object.prototype,u=f.hasOwnProperty;w.exports=e},{"../lang/isArguments":29,"../lang/isArray":30,"../lang/isString":35,"../object/keysIn":39,"./isIndex":23,"./isLength":25}],28:[function(t,w){function e(g){if(m.unindexedChars&&o(g)){for(var h=-1,a=g.length,f=Object(g);++h<a;)f[h]=g.charAt(h);return f}return c(g)?g:Object(g)}var c=t("../lang/isObject"),o=t("../lang/isString"),m=t("../support");w.exports=e},{"../lang/isObject":33,"../lang/isString":35,"../support":41}],29:[function(t,w){function e(a){return o(a)&&c(a)&&g.call(a,"callee")&&!h.call(a,"callee")}var c=t("../internal/isArrayLike"),o=t("../internal/isObjectLike"),m=Object.prototype,g=m.hasOwnProperty,h=m.propertyIsEnumerable;w.exports=e},{"../internal/isArrayLike":21,"../internal/isObjectLike":26}],30:[function(t,w){var e=t("../internal/getNative"),c=t("../internal/isLength"),o=t("../internal/isObjectLike"),m="[object Array]",g=Object.prototype,h=g.toString,a=e(Array,"isArray"),f=a||function(u){return o(u)&&c(u.length)&&h.call(u)==m};w.exports=f},{"../internal/getNative":20,"../internal/isLength":25,"../internal/isObjectLike":26}],31:[function(t,w){function e(h){return c(h)&&g.call(h)==o}var c=t("./isObject"),o="[object Function]",m=Object.prototype,g=m.toString;w.exports=e},{"./isObject":33}],32:[function(t,w){function e(r){return r==null?!1:c(r)?u.test(a.call(r)):m(r)&&(o(r)?u:g).test(r)}var c=t("./isFunction"),o=t("../internal/isHostObject"),m=t("../internal/isObjectLike"),g=/^\[object .+?Constructor\]$/,h=Object.prototype,a=Function.prototype.toString,f=h.hasOwnProperty,u=RegExp("^"+a.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");w.exports=e},{"../internal/isHostObject":22,"../internal/isObjectLike":26,"./isFunction":31}],33:[function(t,w){function e(c){var o=typeof c;return!!c&&(o=="object"||o=="function")}w.exports=e},{}],34:[function(t,w){function e(n){var y;if(!g(n)||r.call(n)!=a||m(n)||o(n)||!u.call(n,"constructor")&&(y=n.constructor,typeof y=="function"&&!(y instanceof y)))return!1;var i;return h.ownLast?(c(n,function(p,l,_){return i=u.call(_,l),!1}),i!==!1):(c(n,function(p,l){i=l}),i===void 0||u.call(n,i))}var c=t("../internal/baseForIn"),o=t("./isArguments"),m=t("../internal/isHostObject"),g=t("../internal/isObjectLike"),h=t("../support"),a="[object Object]",f=Object.prototype,u=f.hasOwnProperty,r=f.toString;w.exports=e},{"../internal/baseForIn":12,"../internal/isHostObject":22,"../internal/isObjectLike":26,"../support":41,"./isArguments":29}],35:[function(t,w){function e(h){return typeof h=="string"||c(h)&&g.call(h)==o}var c=t("../internal/isObjectLike"),o="[object String]",m=Object.prototype,g=m.toString;w.exports=e},{"../internal/isObjectLike":26}],36:[function(t,w){function e(A){return o(A)&&c(A.length)&&!!D[N.call(A)]}var c=t("../internal/isLength"),o=t("../internal/isObjectLike"),m="[object Arguments]",g="[object Array]",h="[object Boolean]",a="[object Date]",f="[object Error]",u="[object Function]",r="[object Map]",n="[object Number]",y="[object Object]",i="[object RegExp]",p="[object Set]",l="[object String]",_="[object WeakMap]",d="[object ArrayBuffer]",v="[object Float32Array]",s="[object Float64Array]",j="[object Int8Array]",k="[object Int16Array]",C="[object Int32Array]",O="[object Uint8Array]",b="[object Uint8ClampedArray]",T="[object Uint16Array]",P="[object Uint32Array]",D={};D[v]=D[s]=D[j]=D[k]=D[C]=D[O]=D[b]=D[T]=D[P]=!0,D[m]=D[g]=D[d]=D[h]=D[a]=D[f]=D[u]=D[r]=D[n]=D[y]=D[i]=D[p]=D[l]=D[_]=!1;var F=Object.prototype,N=F.toString;w.exports=e},{"../internal/isLength":25,"../internal/isObjectLike":26}],37:[function(t,w){function e(m){return c(m,o(m))}var c=t("../internal/baseCopy"),o=t("../object/keysIn");w.exports=e},{"../internal/baseCopy":10,"../object/keysIn":39}],38:[function(t,w){var e=t("../internal/getNative"),c=t("../internal/isArrayLike"),o=t("../lang/isObject"),m=t("../internal/shimKeys"),g=t("../support"),h=e(Object,"keys"),a=h?function(f){var u=f==null?void 0:f.constructor;return typeof u=="function"&&u.prototype===f||(typeof f=="function"?g.enumPrototypes:c(f))?m(f):o(f)?h(f):[]}:m;w.exports=a},{"../internal/getNative":20,"../internal/isArrayLike":21,"../internal/shimKeys":27,"../lang/isObject":33,"../support":41}],39:[function(t,w){function e(D){if(D==null)return[];f(D)||(D=Object(D));var F=D.length;F=F&&a(F)&&(m(D)||o(D)||u(D))&&F||0;for(var N=D.constructor,A=-1,I=g(N)&&N.prototype||C,R=I===D,E=Array(F),x=F>0,M=r.enumErrorProps&&(D===k||D instanceof Error),$=r.enumPrototypes&&g(D);++A<F;)E[A]=A+"";for(var U in D)$&&U=="prototype"||M&&(U=="message"||U=="name")||x&&h(U,F)||U=="constructor"&&(R||!b.call(D,U))||E.push(U);if(r.nonEnumShadows&&D!==C){var X=D===O?s:D===k?p:T.call(D),Z=P[X]||P[d];for(X==d&&(I=C),F=j.length;F--;){U=j[F];var rt=Z[U];R&&rt||(rt?!b.call(D,U):D[U]===I[U])||E.push(U)}}return E}var c=t("../internal/arrayEach"),o=t("../lang/isArguments"),m=t("../lang/isArray"),g=t("../lang/isFunction"),h=t("../internal/isIndex"),a=t("../internal/isLength"),f=t("../lang/isObject"),u=t("../lang/isString"),r=t("../support"),n="[object Array]",y="[object Boolean]",i="[object Date]",p="[object Error]",l="[object Function]",_="[object Number]",d="[object Object]",v="[object RegExp]",s="[object String]",j=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],k=Error.prototype,C=Object.prototype,O=String.prototype,b=C.hasOwnProperty,T=C.toString,P={};P[n]=P[i]=P[_]={constructor:!0,toLocaleString:!0,toString:!0,valueOf:!0},P[y]=P[s]={constructor:!0,toString:!0,valueOf:!0},P[p]=P[l]=P[v]={constructor:!0,toString:!0},P[d]={constructor:!0},c(j,function(D){for(var F in P)if(b.call(P,F)){var N=P[F];N[D]=b.call(N,D)}}),w.exports=e},{"../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(t,w){var e=t("../internal/baseMerge"),c=t("../internal/createAssigner"),o=c(e);w.exports=o},{"../internal/baseMerge":13,"../internal/createAssigner":17}],41:[function(t,w){var e=Array.prototype,c=Error.prototype,o=Object.prototype,m=o.propertyIsEnumerable,g=e.splice,h={};(function(a){var f=function(){this.x=a},u={0:a,length:a},r=[];f.prototype={valueOf:a,y:a};for(var n in new f)r.push(n);h.enumErrorProps=m.call(c,"message")||m.call(c,"name"),h.enumPrototypes=m.call(f,"prototype"),h.nonEnumShadows=!/valueOf/.test(r),h.ownLast=r[0]!="x",h.spliceObjects=(g.call(u,0,1),!u[0]),h.unindexedChars="x"[0]+Object("x")[0]!="xx"})(1,0),w.exports=h},{}],42:[function(t,w){function e(c){return c}w.exports=e},{}],43:[function(t,w){"use strict";var e=t("object-keys");w.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var c={},o=Symbol("test");if(typeof o=="string")return!1;var m=42;c[o]=m;for(o in c)return!1;if(e(c).length!==0||typeof Object.keys=="function"&&Object.keys(c).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(c).length!==0)return!1;var g=Object.getOwnPropertySymbols(c);if(g.length!==1||g[0]!==o||!Object.prototype.propertyIsEnumerable.call(c,o))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var h=Object.getOwnPropertyDescriptor(c,o);if(h.value!==m||h.enumerable!==!0)return!1}return!0}},{"object-keys":50}],44:[function(t,w){"use strict";var e=t("object-keys"),c=t("function-bind"),o=function(f){return typeof f!="undefined"&&f!==null},m=t("./hasSymbols")(),g=Object,h=c.call(Function.call,Array.prototype.push),a=c.call(Function.call,Object.prototype.propertyIsEnumerable);w.exports=function(f){if(!o(f))throw new TypeError("target must be an object");var u,r,n,y,i,p,l,_=g(f);for(u=1;u<arguments.length;++u){if(r=g(arguments[u]),y=e(r),m&&Object.getOwnPropertySymbols)for(i=Object.getOwnPropertySymbols(r),n=0;n<i.length;++n)l=i[n],a(r,l)&&h(y,l);for(n=0;n<y.length;++n)l=y[n],p=r[l],a(r,l)&&(_[l]=p)}return _}},{"./hasSymbols":43,"function-bind":49,"object-keys":50}],45:[function(t,w){"use strict";var e=t("define-properties"),c=t("./implementation"),o=t("./polyfill"),m=t("./shim");e(c,{implementation:c,getPolyfill:o,shim:m}),w.exports=c},{"./implementation":44,"./polyfill":52,"./shim":53,"define-properties":46}],46:[function(t,w){"use strict";var e=t("object-keys"),c=t("foreach"),o=typeof Symbol=="function"&&typeof Symbol()=="symbol",m=Object.prototype.toString,g=function(r){return typeof r=="function"&&m.call(r)==="[object Function]"},h=function(){var r={};try{Object.defineProperty(r,"x",{enumerable:!1,value:r});for(var n in r)return!1;return r.x===r}catch(y){return!1}},a=Object.defineProperty&&h(),f=function(r,n,y,i){(!(n in r)||g(i)&&i())&&(a?Object.defineProperty(r,n,{configurable:!0,enumerable:!1,value:y,writable:!0}):r[n]=y)},u=function(r,n){var y=arguments.length>2?arguments[2]:{},i=e(n);o&&(i=i.concat(Object.getOwnPropertySymbols(n))),c(i,function(p){f(r,p,n[p],y[p])})};u.supportsDescriptors=!!a,w.exports=u},{foreach:47,"object-keys":50}],47:[function(t,w){var e=Object.prototype.hasOwnProperty,c=Object.prototype.toString;w.exports=function(o,m,g){if(c.call(m)!=="[object Function]")throw new TypeError("iterator must be a function");var h=o.length;if(h===+h)for(var a=0;h>a;a++)m.call(g,o[a],a,o);else for(var f in o)e.call(o,f)&&m.call(g,o[f],f,o)}},{}],48:[function(t,w){var e="Function.prototype.bind called on incompatible ",c=Array.prototype.slice,o=Object.prototype.toString,m="[object Function]";w.exports=function(g){var h=this;if(typeof h!="function"||o.call(h)!==m)throw new TypeError(e+h);for(var a,f=c.call(arguments,1),u=function(){if(this instanceof a){var p=h.apply(this,f.concat(c.call(arguments)));return Object(p)===p?p:this}return h.apply(g,f.concat(c.call(arguments)))},r=Math.max(0,h.length-f.length),n=[],y=0;r>y;y++)n.push("$"+y);if(a=Function("binder","return function ("+n.join(",")+"){ return binder.apply(this,arguments); }")(u),h.prototype){var i=function(){};i.prototype=h.prototype,a.prototype=new i,i.prototype=null}return a}},{}],49:[function(t,w){var e=t("./implementation");w.exports=Function.prototype.bind||e},{"./implementation":48}],50:[function(t,w){"use strict";var e=Object.prototype.hasOwnProperty,c=Object.prototype.toString,o=Array.prototype.slice,m=t("./isArguments"),g=!{toString:null}.propertyIsEnumerable("toString"),h=function(){}.propertyIsEnumerable("prototype"),a=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],f=function(i){var p=i.constructor;return p&&p.prototype===i},u={$console:!0,$frame:!0,$frameElement:!0,$frames:!0,$parent:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},r=function(){if(typeof window=="undefined")return!1;for(var i in window)try{if(!u["$"+i]&&e.call(window,i)&&window[i]!==null&&typeof window[i]=="object")try{f(window[i])}catch(p){return!0}}catch(p){return!0}return!1}(),n=function(i){if(typeof window=="undefined"||!r)return f(i);try{return f(i)}catch(p){return!1}},y=function(i){var p=i!==null&&typeof i=="object",l=c.call(i)==="[object Function]",_=m(i),d=p&&c.call(i)==="[object String]",v=[];if(!p&&!l&&!_)throw new TypeError("Object.keys called on a non-object");var s=h&&l;if(d&&i.length>0&&!e.call(i,0))for(var j=0;j<i.length;++j)v.push(String(j));if(_&&i.length>0)for(var k=0;k<i.length;++k)v.push(String(k));else for(var C in i)s&&C==="prototype"||!e.call(i,C)||v.push(String(C));if(g)for(var O=n(i),b=0;b<a.length;++b)O&&a[b]==="constructor"||!e.call(i,a[b])||v.push(a[b]);return v};y.shim=function(){if(Object.keys){var i=function(){return(Object.keys(arguments)||"").length===2}(1,2);if(!i){var p=Object.keys;Object.keys=function(l){return p(m(l)?o.call(l):l)}}}else Object.keys=y;return Object.keys||y},w.exports=y},{"./isArguments":51}],51:[function(t,w){"use strict";var e=Object.prototype.toString;w.exports=function(c){var o=e.call(c),m=o==="[object Arguments]";return m||(m=o!=="[object Array]"&&c!==null&&typeof c=="object"&&typeof c.length=="number"&&c.length>=0&&e.call(c.callee)==="[object Function]"),m}},{}],52:[function(t,w){"use strict";var e=t("./implementation"),c=function(){if(!Object.assign)return!1;for(var m="abcdefghijklmnopqrst",g=m.split(""),h={},a=0;a<g.length;++a)h[g[a]]=g[a];var f=Object.assign({},h),u="";for(var r in f)u+=r;return m!==u},o=function(){if(!Object.assign||!Object.preventExtensions)return!1;var m=Object.preventExtensions({1:2});try{Object.assign(m,"xy")}catch(g){return m[1]==="y"}};w.exports=function(){return Object.assign?c()||o()?e:Object.assign:e}},{"./implementation":44}],53:[function(t,w){"use strict";var e=t("define-properties"),c=t("./polyfill");w.exports=function(){var o=c();return e(Object,{assign:o},{assign:function(){return Object.assign!==o}}),o}},{"./polyfill":52,"define-properties":46}],54:[function(t,w){function e(c,o){var m,g=null;try{m=JSON.parse(c,o)}catch(h){g=h}return[g,m]}w.exports=e},{}],55:[function(t,w){function e(c){return c.replace(/\n\r?\s*/g,"")}w.exports=function(c){for(var o="",m=0;m<arguments.length;m++)o+=e(c[m])+(arguments[m+1]||"");return o}},{}],56:[function(t,w){"use strict";function e(y,i){for(var p=0;p<y.length;p++)i(y[p])}function c(y){for(var i in y)if(y.hasOwnProperty(i))return!1;return!0}function o(y,i,p){var l=y;return u(i)?(p=i,typeof y=="string"&&(l={uri:y})):l=n(i,{uri:y}),l.callback=p,l}function m(y,i,p){return i=o(y,i,p),g(i)}function g(y){function i(){s.readyState===4&&_()}function p(){var N=void 0;if(s.response?N=s.response:s.responseType!=="text"&&s.responseType||(N=s.responseText||s.responseXML),F)try{N=JSON.parse(N)}catch(A){}return N}function l(N){clearTimeout(C),N instanceof Error||(N=new Error(""+(N||"Unknown XMLHttpRequest Error"))),N.statusCode=0,d(N,v)}function _(){if(!k){var N;clearTimeout(C),N=y.useXDR&&s.status===void 0?200:s.status===1223?204:s.status;var A=v,I=null;N!==0?(A={body:p(),statusCode:N,method:b,headers:{},url:O,rawRequest:s},s.getAllResponseHeaders&&(A.headers=r(s.getAllResponseHeaders()))):I=new Error("Internal XMLHttpRequest Error"),d(I,A,A.body)}}var d=y.callback;if(typeof d=="undefined")throw new Error("callback argument missing");d=f(d);var v={body:void 0,headers:{},statusCode:0,method:b,url:O,rawRequest:s},s=y.xhr||null;s||(s=y.cors||y.useXDR?new m.XDomainRequest:new m.XMLHttpRequest);var j,k,C,O=s.url=y.uri||y.url,b=s.method=y.method||"GET",T=y.body||y.data||null,P=s.headers=y.headers||{},D=!!y.sync,F=!1;if("json"in y&&(F=!0,P.accept||P.Accept||(P.Accept="application/json"),b!=="GET"&&b!=="HEAD"&&(P["content-type"]||P["Content-Type"]||(P["Content-Type"]="application/json"),T=JSON.stringify(y.json))),s.onreadystatechange=i,s.onload=_,s.onerror=l,s.onprogress=function(){},s.ontimeout=l,s.open(b,O,!D,y.username,y.password),D||(s.withCredentials=!!y.withCredentials),!D&&y.timeout>0&&(C=setTimeout(function(){k=!0,s.abort("timeout");var N=new Error("XMLHttpRequest timeout");N.code="ETIMEDOUT",l(N)},y.timeout)),s.setRequestHeader)for(j in P)P.hasOwnProperty(j)&&s.setRequestHeader(j,P[j]);else if(y.headers&&!c(y.headers))throw new Error("Headers cannot be set on an XDomainRequest object");return"responseType"in y&&(s.responseType=y.responseType),"beforeSend"in y&&typeof y.beforeSend=="function"&&y.beforeSend(s),s.send(T),s}function h(){}var a=t("global/window"),f=t("once"),u=t("is-function"),r=t("parse-headers"),n=t("xtend");w.exports=m,m.XMLHttpRequest=a.XMLHttpRequest||h,m.XDomainRequest="withCredentials"in new m.XMLHttpRequest?m.XMLHttpRequest:a.XDomainRequest,e(["get","put","post","patch","head","delete"],function(y){m[y==="delete"?"del":y]=function(i,p,l){return p=o(i,p,l),p.method=y.toUpperCase(),g(p)}})},{"global/window":2,"is-function":57,once:58,"parse-headers":61,xtend:62}],57:[function(t,w){function e(o){var m=c.call(o);return m==="[object Function]"||typeof o=="function"&&m!=="[object RegExp]"||typeof window!="undefined"&&(o===window.setTimeout||o===window.alert||o===window.confirm||o===window.prompt)}w.exports=e;var c=Object.prototype.toString},{}],58:[function(t,w){function e(c){var o=!1;return function(){return o?void 0:(o=!0,c.apply(this,arguments))}}w.exports=e,e.proto=e(function(){Object.defineProperty(Function.prototype,"once",{value:function(){return e(this)},configurable:!0})})},{}],59:[function(t,w){function e(f,u,r){if(!g(u))throw new TypeError("iterator must be a function");arguments.length<3&&(r=this),h.call(f)==="[object Array]"?c(f,u,r):typeof f=="string"?o(f,u,r):m(f,u,r)}function c(f,u,r){for(var n=0,y=f.length;y>n;n++)a.call(f,n)&&u.call(r,f[n],n,f)}function o(f,u,r){for(var n=0,y=f.length;y>n;n++)u.call(r,f.charAt(n),n,f)}function m(f,u,r){for(var n in f)a.call(f,n)&&u.call(r,f[n],n,f)}var g=t("is-function");w.exports=e;var h=Object.prototype.toString,a=Object.prototype.hasOwnProperty},{"is-function":57}],60:[function(t,w,e){function c(o){return o.replace(/^\s*|\s*$/g,"")}e=w.exports=c,e.left=function(o){return o.replace(/^\s*/,"")},e.right=function(o){return o.replace(/\s*$/,"")}},{}],61:[function(t,w){var e=t("trim"),c=t("for-each"),o=function(m){return Object.prototype.toString.call(m)==="[object Array]"};w.exports=function(m){if(!m)return{};var g={};return c(e(m).split(`
`),function(h){var a=h.indexOf(":"),f=e(h.slice(0,a)).toLowerCase(),u=e(h.slice(a+1));typeof g[f]=="undefined"?g[f]=u:o(g[f])?g[f].push(u):g[f]=[g[f],u]}),g}},{"for-each":59,trim:60}],62:[function(t,w){function e(){for(var o={},m=0;m<arguments.length;m++){var g=arguments[m];for(var h in g)c.call(g,h)&&(o[h]=g[h])}return o}w.exports=e;var c=Object.prototype.hasOwnProperty},{}],63:[function(t,w,e){"use strict";function c(r){return r&&r.__esModule?r:{default:r}}function o(r,n){if(!(r instanceof n))throw new TypeError("Cannot call a class as a function")}function m(r,n){if(typeof n!="function"&&n!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof n);r.prototype=Object.create(n&&n.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),n&&(Object.setPrototypeOf?Object.setPrototypeOf(r,n):r.__proto__=n)}e.__esModule=!0;var g=t("./button.js"),h=c(g),a=t("./component.js"),f=c(a),u=function(r){function n(y,i){o(this,n),r.call(this,y,i)}return m(n,r),n.prototype.buildCSSClass=function(){return"vjs-big-play-button"},n.prototype.handleClick=function(){this.player_.play()},n}(h.default);u.prototype.controlText_="Play Video",f.default.registerComponent("BigPlayButton",u),e.default=u,w.exports=e.default},{"./button.js":64,"./component.js":67}],64:[function(t,w,e){"use strict";function c(v){if(v&&v.__esModule)return v;var s={};if(v!=null)for(var j in v)Object.prototype.hasOwnProperty.call(v,j)&&(s[j]=v[j]);return s.default=v,s}function o(v){return v&&v.__esModule?v:{default:v}}function m(v,s){if(!(v instanceof s))throw new TypeError("Cannot call a class as a function")}function g(v,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof s);v.prototype=Object.create(s&&s.prototype,{constructor:{value:v,enumerable:!1,writable:!0,configurable:!0}}),s&&(Object.setPrototypeOf?Object.setPrototypeOf(v,s):v.__proto__=s)}e.__esModule=!0;var h=t("./clickable-component.js"),a=o(h),f=t("./component"),u=o(f),r=t("./utils/events.js"),n=(c(r),t("./utils/fn.js")),y=(c(n),t("./utils/log.js")),i=o(y),p=t("global/document"),l=(o(p),t("object.assign")),_=o(l),d=function(v){function s(j,k){m(this,s),v.call(this,j,k)}return g(s,v),s.prototype.createEl=function(){var j=arguments.length<=0||arguments[0]===void 0?"button":arguments[0],k=arguments.length<=1||arguments[1]===void 0?{}:arguments[1],C=arguments.length<=2||arguments[2]===void 0?{}:arguments[2];k=_.default({className:this.buildCSSClass()},k),j!=="button"&&i.default.warn("Creating a Button with an HTML element of "+j+" is deprecated; use ClickableComponent instead."),C=_.default({type:"button","aria-live":"polite"},C);var O=u.default.prototype.createEl.call(this,j,k,C);return this.createControlTextEl(O),O},s.prototype.addChild=function(j){var k=arguments.length<=1||arguments[1]===void 0?{}:arguments[1],C=this.constructor.name;return i.default.warn("Adding an actionable (user controllable) child to a Button ("+C+") is not supported; use a ClickableComponent instead."),u.default.prototype.addChild.call(this,j,k)},s.prototype.handleKeyPress=function(j){j.which===32||j.which===13||v.prototype.handleKeyPress.call(this,j)},s}(a.default);u.default.registerComponent("Button",d),e.default=d,w.exports=e.default},{"./clickable-component.js":65,"./component":67,"./utils/events.js":133,"./utils/fn.js":134,"./utils/log.js":137,"global/document":1,"object.assign":45}],65:[function(t,w,e){"use strict";function c(k){if(k&&k.__esModule)return k;var C={};if(k!=null)for(var O in k)Object.prototype.hasOwnProperty.call(k,O)&&(C[O]=k[O]);return C.default=k,C}function o(k){return k&&k.__esModule?k:{default:k}}function m(k,C){if(!(k instanceof C))throw new TypeError("Cannot call a class as a function")}function g(k,C){if(typeof C!="function"&&C!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof C);k.prototype=Object.create(C&&C.prototype,{constructor:{value:k,enumerable:!1,writable:!0,configurable:!0}}),C&&(Object.setPrototypeOf?Object.setPrototypeOf(k,C):k.__proto__=C)}e.__esModule=!0;var h=t("./component"),a=o(h),f=t("./utils/dom.js"),u=c(f),r=t("./utils/events.js"),n=c(r),y=t("./utils/fn.js"),i=c(y),p=t("./utils/log.js"),l=o(p),_=t("global/document"),d=o(_),v=t("object.assign"),s=o(v),j=function(k){function C(O,b){m(this,C),k.call(this,O,b),this.emitTapEvents(),this.on("tap",this.handleClick),this.on("click",this.handleClick),this.on("focus",this.handleFocus),this.on("blur",this.handleBlur)}return g(C,k),C.prototype.createEl=function(){var O=arguments.length<=0||arguments[0]===void 0?"div":arguments[0],b=arguments.length<=1||arguments[1]===void 0?{}:arguments[1],T=arguments.length<=2||arguments[2]===void 0?{}:arguments[2];b=s.default({className:this.buildCSSClass(),tabIndex:0},b),O==="button"&&l.default.error("Creating a ClickableComponent with an HTML element of "+O+" is not supported; use a Button instead."),T=s.default({role:"button","aria-live":"polite"},T);var P=k.prototype.createEl.call(this,O,b,T);return this.createControlTextEl(P),P},C.prototype.createControlTextEl=function(O){return this.controlTextEl_=u.createEl("span",{className:"vjs-control-text"}),O&&O.appendChild(this.controlTextEl_),this.controlText(this.controlText_),this.controlTextEl_},C.prototype.controlText=function(O){return O?(this.controlText_=O,this.controlTextEl_.innerHTML=this.localize(this.controlText_),this):this.controlText_||"Need Text"},C.prototype.buildCSSClass=function(){return"vjs-control vjs-button "+k.prototype.buildCSSClass.call(this)},C.prototype.addChild=function(O){var b=arguments.length<=1||arguments[1]===void 0?{}:arguments[1];return k.prototype.addChild.call(this,O,b)},C.prototype.handleClick=function(){},C.prototype.handleFocus=function(){n.on(d.default,"keydown",i.bind(this,this.handleKeyPress))},C.prototype.handleKeyPress=function(O){O.which===32||O.which===13?(O.preventDefault(),this.handleClick(O)):k.prototype.handleKeyPress&&k.prototype.handleKeyPress.call(this,O)},C.prototype.handleBlur=function(){n.off(d.default,"keydown",i.bind(this,this.handleKeyPress))},C}(a.default);a.default.registerComponent("ClickableComponent",j),e.default=j,w.exports=e.default},{"./component":67,"./utils/dom.js":132,"./utils/events.js":133,"./utils/fn.js":134,"./utils/log.js":137,"global/document":1,"object.assign":45}],66:[function(t,w,e){"use strict";function c(r){return r&&r.__esModule?r:{default:r}}function o(r,n){if(!(r instanceof n))throw new TypeError("Cannot call a class as a function")}function m(r,n){if(typeof n!="function"&&n!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof n);r.prototype=Object.create(n&&n.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),n&&(Object.setPrototypeOf?Object.setPrototypeOf(r,n):r.__proto__=n)}e.__esModule=!0;var g=t("./button"),h=c(g),a=t("./component"),f=c(a),u=function(r){function n(y,i){o(this,n),r.call(this,y,i),this.controlText(i&&i.controlText||this.localize("Close"))}return m(n,r),n.prototype.buildCSSClass=function(){return"vjs-close-button "+r.prototype.buildCSSClass.call(this)},n.prototype.handleClick=function(){this.trigger({type:"close",bubbles:!1})},n}(h.default);f.default.registerComponent("CloseButton",u),e.default=u,w.exports=e.default},{"./button":64,"./component":67}],67:[function(t,w,e){"use strict";function c(b){if(b&&b.__esModule)return b;var T={};if(b!=null)for(var P in b)Object.prototype.hasOwnProperty.call(b,P)&&(T[P]=b[P]);return T.default=b,T}function o(b){return b&&b.__esModule?b:{default:b}}function m(b,T){if(!(b instanceof T))throw new TypeError("Cannot call a class as a function")}e.__esModule=!0;var g=t("global/window"),h=o(g),a=t("./utils/dom.js"),f=c(a),u=t("./utils/fn.js"),r=c(u),n=t("./utils/guid.js"),y=c(n),i=t("./utils/events.js"),p=c(i),l=t("./utils/log.js"),_=o(l),d=t("./utils/to-title-case.js"),v=o(d),s=t("object.assign"),j=o(s),k=t("./utils/merge-options.js"),C=o(k),O=function(){function b(T,P,D){if(m(this,b),this.player_=!T&&this.play?T=this:T,this.options_=C.default({},this.options_),P=this.options_=C.default(this.options_,P),this.id_=P.id||P.el&&P.el.id,!this.id_){var F=T&&T.id&&T.id()||"no_player";this.id_=F+"_component_"+y.newGUID()}this.name_=P.name||null,P.el?this.el_=P.el:P.createEl!==!1&&(this.el_=this.createEl()),this.children_=[],this.childIndex_={},this.childNameIndex_={},P.initChildren!==!1&&this.initChildren(),this.ready(D),P.reportTouchActivity!==!1&&this.enableTouchActivity()}return b.prototype.dispose=function(){if(this.trigger({type:"dispose",bubbles:!1}),this.children_)for(var T=this.children_.length-1;T>=0;T--)this.children_[T].dispose&&this.children_[T].dispose();this.children_=null,this.childIndex_=null,this.childNameIndex_=null,this.off(),this.el_.parentNode&&this.el_.parentNode.removeChild(this.el_),f.removeElData(this.el_),this.el_=null},b.prototype.player=function(){return this.player_},b.prototype.options=function(T){return _.default.warn("this.options() has been deprecated and will be moved to the constructor in 6.0"),T?(this.options_=C.default(this.options_,T),this.options_):this.options_},b.prototype.el=function(){return this.el_},b.prototype.createEl=function(T,P,D){return f.createEl(T,P,D)},b.prototype.localize=function(T){var P=this.player_.language&&this.player_.language(),D=this.player_.languages&&this.player_.languages();if(!P||!D)return T;var F=D[P];if(F&&F[T])return F[T];var N=P.split("-")[0],A=D[N];return A&&A[T]?A[T]:T},b.prototype.contentEl=function(){return this.contentEl_||this.el_},b.prototype.id=function(){return this.id_},b.prototype.name=function(){return this.name_},b.prototype.children=function(){return this.children_},b.prototype.getChildById=function(T){return this.childIndex_[T]},b.prototype.getChild=function(T){return this.childNameIndex_[T]},b.prototype.addChild=function(T){var P=arguments.length<=1||arguments[1]===void 0?{}:arguments[1],D=arguments.length<=2||arguments[2]===void 0?this.children_.length:arguments[2],F=void 0,N=void 0;if(typeof T=="string"){N=T,P||(P={}),P===!0&&(_.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`."),P={});var A=P.componentClass||v.default(N);P.name=N;var I=b.getComponent(A);if(!I)throw new Error("Component "+A+" does not exist");if(typeof I!="function")return null;F=new I(this.player_||this,P)}else F=T;if(this.children_.splice(D,0,F),typeof F.id=="function"&&(this.childIndex_[F.id()]=F),N=N||F.name&&F.name(),N&&(this.childNameIndex_[N]=F),typeof F.el=="function"&&F.el()){var R=this.contentEl().children,E=R[D]||null;this.contentEl().insertBefore(F.el(),E)}return F},b.prototype.removeChild=function(T){if(typeof T=="string"&&(T=this.getChild(T)),T&&this.children_){for(var P=!1,D=this.children_.length-1;D>=0;D--)if(this.children_[D]===T){P=!0,this.children_.splice(D,1);break}if(P){this.childIndex_[T.id()]=null,this.childNameIndex_[T.name()]=null;var F=T.el();F&&F.parentNode===this.contentEl()&&this.contentEl().removeChild(T.el())}}},b.prototype.initChildren=function(){var T=this,P=this.options_.children;P&&function(){var D=T.options_,F=function(I){var R=I.name,E=I.opts;if(D[R]!==void 0&&(E=D[R]),E!==!1){E===!0&&(E={}),E.playerOptions=T.options_.playerOptions;var x=T.addChild(R,E);x&&(T[R]=x)}},N=void 0,A=b.getComponent("Tech");N=Array.isArray(P)?P:Object.keys(P),N.concat(Object.keys(T.options_).filter(function(I){return!N.some(function(R){return typeof R=="string"?I===R:I===R.name})})).map(function(I){var R=void 0,E=void 0;return typeof I=="string"?(R=I,E=P[R]||T.options_[R]||{}):(R=I.name,E=I),{name:R,opts:E}}).filter(function(I){var R=b.getComponent(I.opts.componentClass||v.default(I.name));return R&&!A.isTech(R)}).forEach(F)}()},b.prototype.buildCSSClass=function(){return""},b.prototype.on=function(T,P,D){var F=this;return typeof T=="string"||Array.isArray(T)?p.on(this.el_,T,r.bind(this,P)):function(){var N=T,A=P,I=r.bind(F,D),R=function(){return F.off(N,A,I)};R.guid=I.guid,F.on("dispose",R);var E=function(){return F.off("dispose",R)};E.guid=I.guid,T.nodeName?(p.on(N,A,I),p.on(N,"dispose",E)):typeof T.on=="function"&&(N.on(A,I),N.on("dispose",E))}(),this},b.prototype.off=function(T,P,D){if(!T||typeof T=="string"||Array.isArray(T))p.off(this.el_,T,P);else{var F=T,N=P,A=r.bind(this,D);this.off("dispose",A),T.nodeName?(p.off(F,N,A),p.off(F,"dispose",A)):(F.off(N,A),F.off("dispose",A))}return this},b.prototype.one=function(T,P,D){var F=this,N=arguments;return typeof T=="string"||Array.isArray(T)?p.one(this.el_,T,r.bind(this,P)):function(){var A=T,I=P,R=r.bind(F,D),E=function x(){F.off(A,I,x),R.apply(null,N)};E.guid=R.guid,F.on(A,I,E)}(),this},b.prototype.trigger=function(T,P){return p.trigger(this.el_,T,P),this},b.prototype.ready=function(T){var P=arguments.length<=1||arguments[1]===void 0?!1:arguments[1];return T&&(this.isReady_?P?T.call(this):this.setTimeout(T,1):(this.readyQueue_=this.readyQueue_||[],this.readyQueue_.push(T))),this},b.prototype.triggerReady=function(){this.isReady_=!0,this.setTimeout(function(){var T=this.readyQueue_;this.readyQueue_=[],T&&T.length>0&&T.forEach(function(P){P.call(this)},this),this.trigger("ready")},1)},b.prototype.$=function(T,P){return f.$(T,P||this.contentEl())},b.prototype.$$=function(T,P){return f.$$(T,P||this.contentEl())},b.prototype.hasClass=function(T){return f.hasElClass(this.el_,T)},b.prototype.addClass=function(T){return f.addElClass(this.el_,T),this},b.prototype.removeClass=function(T){return f.removeElClass(this.el_,T),this},b.prototype.toggleClass=function(T,P){return f.toggleElClass(this.el_,T,P),this},b.prototype.show=function(){return this.removeClass("vjs-hidden"),this},b.prototype.hide=function(){return this.addClass("vjs-hidden"),this},b.prototype.lockShowing=function(){return this.addClass("vjs-lock-showing"),this},b.prototype.unlockShowing=function(){return this.removeClass("vjs-lock-showing"),this},b.prototype.width=function(T,P){return this.dimension("width",T,P)},b.prototype.height=function(T,P){return this.dimension("height",T,P)},b.prototype.dimensions=function(T,P){return this.width(T,!0).height(P)},b.prototype.dimension=function(T,P,D){if(P!==void 0)return(P===null||P!==P)&&(P=0),this.el_.style[T]=(""+P).indexOf("%")!==-1||(""+P).indexOf("px")!==-1?P:P==="auto"?"":P+"px",D||this.trigger("resize"),this;if(!this.el_)return 0;var F=this.el_.style[T],N=F.indexOf("px");return parseInt(N!==-1?F.slice(0,N):this.el_["offset"+v.default(T)],10)},b.prototype.emitTapEvents=function(){var T=0,P=null,D=10,F=200,N=void 0;this.on("touchstart",function(I){I.touches.length===1&&(P=j.default({},I.touches[0]),T=new Date().getTime(),N=!0)}),this.on("touchmove",function(I){if(I.touches.length>1)N=!1;else if(P){var R=I.touches[0].pageX-P.pageX,E=I.touches[0].pageY-P.pageY,x=Math.sqrt(R*R+E*E);x>D&&(N=!1)}});var A=function(){N=!1};this.on("touchleave",A),this.on("touchcancel",A),this.on("touchend",function(I){if(P=null,N===!0){var R=new Date().getTime()-T;F>R&&(I.preventDefault(),this.trigger("tap"))}})},b.prototype.enableTouchActivity=function(){if(this.player()&&this.player().reportUserActivity){var T=r.bind(this.player(),this.player().reportUserActivity),P=void 0;this.on("touchstart",function(){T(),this.clearInterval(P),P=this.setInterval(T,250)});var D=function(){T(),this.clearInterval(P)};this.on("touchmove",T),this.on("touchend",D),this.on("touchcancel",D)}},b.prototype.setTimeout=function(T,P){T=r.bind(this,T);var D=h.default.setTimeout(T,P),F=function(){this.clearTimeout(D)};return F.guid="vjs-timeout-"+D,this.on("dispose",F),D},b.prototype.clearTimeout=function(T){h.default.clearTimeout(T);var P=function(){};return P.guid="vjs-timeout-"+T,this.off("dispose",P),T},b.prototype.setInterval=function(T,P){T=r.bind(this,T);var D=h.default.setInterval(T,P),F=function(){this.clearInterval(D)};return F.guid="vjs-interval-"+D,this.on("dispose",F),D},b.prototype.clearInterval=function(T){h.default.clearInterval(T);var P=function(){};return P.guid="vjs-interval-"+T,this.off("dispose",P),T},b.registerComponent=function(T,P){return b.components_||(b.components_={}),b.components_[T]=P,P},b.getComponent=function(T){return b.components_&&b.components_[T]?b.components_[T]:h.default&&h.default.videojs&&h.default.videojs[T]?(_.default.warn("The "+T+" component was added to the videojs object when it should be registered using videojs.registerComponent(name, component)"),h.default.videojs[T]):void 0},b.extend=function(T){T=T||{},_.default.warn("Component.extend({}) has been deprecated, use videojs.extend(Component, {}) instead");var P=T.init||T.init||this.prototype.init||this.prototype.init||function(){},D=function(){P.apply(this,arguments)};D.prototype=Object.create(this.prototype),D.prototype.constructor=D,D.extend=b.extend;for(var F in T)T.hasOwnProperty(F)&&(D.prototype[F]=T[F]);return D},b}();O.registerComponent("Component",O),e.default=O,w.exports=e.default},{"./utils/dom.js":132,"./utils/events.js":133,"./utils/fn.js":134,"./utils/guid.js":136,"./utils/log.js":137,"./utils/merge-options.js":138,"./utils/to-title-case.js":141,"global/window":2,"object.assign":45}],68:[function(t,w,e){"use strict";function c(b){return b&&b.__esModule?b:{default:b}}function o(b,T){if(!(b instanceof T))throw new TypeError("Cannot call a class as a function")}function m(b,T){if(typeof T!="function"&&T!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof T);b.prototype=Object.create(T&&T.prototype,{constructor:{value:b,enumerable:!1,writable:!0,configurable:!0}}),T&&(Object.setPrototypeOf?Object.setPrototypeOf(b,T):b.__proto__=T)}e.__esModule=!0;var g=t("../component.js"),h=c(g),a=t("./play-toggle.js"),f=(c(a),t("./time-controls/current-time-display.js")),u=(c(f),t("./time-controls/duration-display.js")),r=(c(u),t("./time-controls/time-divider.js")),n=(c(r),t("./time-controls/remaining-time-display.js")),y=(c(n),t("./live-display.js")),i=(c(y),t("./progress-control/progress-control.js")),p=(c(i),t("./fullscreen-toggle.js")),l=(c(p),t("./volume-control/volume-control.js")),_=(c(l),t("./volume-menu-button.js")),d=(c(_),t("./mute-toggle.js")),v=(c(d),t("./text-track-controls/chapters-button.js")),s=(c(v),t("./text-track-controls/subtitles-button.js")),j=(c(s),t("./text-track-controls/captions-button.js")),k=(c(j),t("./playback-rate-menu/playback-rate-menu-button.js")),C=(c(k),t("./spacer-controls/custom-control-spacer.js")),O=(c(C),function(b){function T(){o(this,T),b.apply(this,arguments)}return m(T,b),T.prototype.createEl=function(){return b.prototype.createEl.call(this,"div",{className:"vjs-control-bar",dir:"ltr"},{role:"group"})},T}(h.default));O.prototype.options_={loadEvent:"play",children:["playToggle","volumeMenuButton","currentTimeDisplay","timeDivider","durationDisplay","progressControl","liveDisplay","remainingTimeDisplay","customControlSpacer","playbackRateMenuButton","chaptersButton","subtitlesButton","captionsButton","fullscreenToggle"]},h.default.registerComponent("ControlBar",O),e.default=O,w.exports=e.default},{"../component.js":67,"./fullscreen-toggle.js":69,"./live-display.js":70,"./mute-toggle.js":71,"./play-toggle.js":72,"./playback-rate-menu/playback-rate-menu-button.js":73,"./progress-control/progress-control.js":78,"./spacer-controls/custom-control-spacer.js":80,"./text-track-controls/captions-button.js":83,"./text-track-controls/chapters-button.js":84,"./text-track-controls/subtitles-button.js":87,"./time-controls/current-time-display.js":90,"./time-controls/duration-display.js":91,"./time-controls/remaining-time-display.js":92,"./time-controls/time-divider.js":93,"./volume-control/volume-control.js":95,"./volume-menu-button.js":97}],69:[function(t,w,e){"use strict";function c(r){return r&&r.__esModule?r:{default:r}}function o(r,n){if(!(r instanceof n))throw new TypeError("Cannot call a class as a function")}function m(r,n){if(typeof n!="function"&&n!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof n);r.prototype=Object.create(n&&n.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),n&&(Object.setPrototypeOf?Object.setPrototypeOf(r,n):r.__proto__=n)}e.__esModule=!0;var g=t("../button.js"),h=c(g),a=t("../component.js"),f=c(a),u=function(r){function n(){o(this,n),r.apply(this,arguments)}return m(n,r),n.prototype.buildCSSClass=function(){return"vjs-fullscreen-control "+r.prototype.buildCSSClass.call(this)},n.prototype.handleClick=function(){this.player_.isFullscreen()?(this.player_.exitFullscreen(),this.controlText("Fullscreen")):(this.player_.requestFullscreen(),this.controlText("Non-Fullscreen"))},n}(h.default);u.prototype.controlText_="Fullscreen",f.default.registerComponent("FullscreenToggle",u),e.default=u,w.exports=e.default},{"../button.js":64,"../component.js":67}],70:[function(t,w,e){"use strict";function c(n){if(n&&n.__esModule)return n;var y={};if(n!=null)for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(y[i]=n[i]);return y.default=n,y}function o(n){return n&&n.__esModule?n:{default:n}}function m(n,y){if(!(n instanceof y))throw new TypeError("Cannot call a class as a function")}function g(n,y){if(typeof y!="function"&&y!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof y);n.prototype=Object.create(y&&y.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),y&&(Object.setPrototypeOf?Object.setPrototypeOf(n,y):n.__proto__=y)}e.__esModule=!0;var h=t("../component"),a=o(h),f=t("../utils/dom.js"),u=c(f),r=function(n){function y(i,p){m(this,y),n.call(this,i,p),this.updateShowing(),this.on(this.player(),"durationchange",this.updateShowing)}return g(y,n),y.prototype.createEl=function(){var i=n.prototype.createEl.call(this,"div",{className:"vjs-live-control vjs-control"});return this.contentEl_=u.createEl("div",{className:"vjs-live-display",innerHTML:'<span class="vjs-control-text">'+this.localize("Stream Type")+"</span>"+this.localize("LIVE")},{"aria-live":"off"}),i.appendChild(this.contentEl_),i},y.prototype.updateShowing=function(){this.player().duration()===1/0?this.show():this.hide()},y}(a.default);a.default.registerComponent("LiveDisplay",r),e.default=r,w.exports=e.default},{"../component":67,"../utils/dom.js":132}],71:[function(t,w,e){"use strict";function c(i){if(i&&i.__esModule)return i;var p={};if(i!=null)for(var l in i)Object.prototype.hasOwnProperty.call(i,l)&&(p[l]=i[l]);return p.default=i,p}function o(i){return i&&i.__esModule?i:{default:i}}function m(i,p){if(!(i instanceof p))throw new TypeError("Cannot call a class as a function")}function g(i,p){if(typeof p!="function"&&p!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof p);i.prototype=Object.create(p&&p.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),p&&(Object.setPrototypeOf?Object.setPrototypeOf(i,p):i.__proto__=p)}e.__esModule=!0;var h=t("../button"),a=o(h),f=t("../component"),u=o(f),r=t("../utils/dom.js"),n=c(r),y=function(i){function p(l,_){m(this,p),i.call(this,l,_),this.on(l,"volumechange",this.update),l.tech_&&l.tech_.featuresVolumeControl===!1&&this.addClass("vjs-hidden"),this.on(l,"loadstart",function(){this.update(),l.tech_.featuresVolumeControl===!1?this.addClass("vjs-hidden"):this.removeClass("vjs-hidden")})}return g(p,i),p.prototype.buildCSSClass=function(){return"vjs-mute-control "+i.prototype.buildCSSClass.call(this)},p.prototype.handleClick=function(){this.player_.muted(!this.player_.muted())},p.prototype.update=function(){var l=this.player_.volume(),_=3;l===0||this.player_.muted()?_=0:.33>l?_=1:.67>l&&(_=2);var d=this.player_.muted()?"Unmute":"Mute";this.controlText()!==d&&this.controlText(d);for(var v=0;4>v;v++)n.removeElClass(this.el_,"vjs-vol-"+v);n.addElClass(this.el_,"vjs-vol-"+_)},p}(a.default);y.prototype.controlText_="Mute",u.default.registerComponent("MuteToggle",y),e.default=y,w.exports=e.default},{"../button":64,"../component":67,"../utils/dom.js":132}],72:[function(t,w,e){"use strict";function c(r){return r&&r.__esModule?r:{default:r}}function o(r,n){if(!(r instanceof n))throw new TypeError("Cannot call a class as a function")}function m(r,n){if(typeof n!="function"&&n!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof n);r.prototype=Object.create(n&&n.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),n&&(Object.setPrototypeOf?Object.setPrototypeOf(r,n):r.__proto__=n)}e.__esModule=!0;var g=t("../button.js"),h=c(g),a=t("../component.js"),f=c(a),u=function(r){function n(y,i){o(this,n),r.call(this,y,i),this.on(y,"play",this.handlePlay),this.on(y,"pause",this.handlePause)}return m(n,r),n.prototype.buildCSSClass=function(){return"vjs-play-control "+r.prototype.buildCSSClass.call(this)},n.prototype.handleClick=function(){this.player_.paused()?this.player_.play():this.player_.pause()},n.prototype.handlePlay=function(){this.removeClass("vjs-paused"),this.addClass("vjs-playing"),this.controlText("Pause")},n.prototype.handlePause=function(){this.removeClass("vjs-playing"),this.addClass("vjs-paused"),this.controlText("Play")},n}(h.default);u.prototype.controlText_="Play",f.default.registerComponent("PlayToggle",u),e.default=u,w.exports=e.default},{"../button.js":64,"../component.js":67}],73:[function(t,w,e){"use strict";function c(d){if(d&&d.__esModule)return d;var v={};if(d!=null)for(var s in d)Object.prototype.hasOwnProperty.call(d,s)&&(v[s]=d[s]);return v.default=d,v}function o(d){return d&&d.__esModule?d:{default:d}}function m(d,v){if(!(d instanceof v))throw new TypeError("Cannot call a class as a function")}function g(d,v){if(typeof v!="function"&&v!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof v);d.prototype=Object.create(v&&v.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),v&&(Object.setPrototypeOf?Object.setPrototypeOf(d,v):d.__proto__=v)}e.__esModule=!0;var h=t("../../menu/menu-button.js"),a=o(h),f=t("../../menu/menu.js"),u=o(f),r=t("./playback-rate-menu-item.js"),n=o(r),y=t("../../component.js"),i=o(y),p=t("../../utils/dom.js"),l=c(p),_=function(d){function v(s,j){m(this,v),d.call(this,s,j),this.updateVisibility(),this.updateLabel(),this.on(s,"loadstart",this.updateVisibility),this.on(s,"ratechange",this.updateLabel)}return g(v,d),v.prototype.createEl=function(){var s=d.prototype.createEl.call(this);return this.labelEl_=l.createEl("div",{className:"vjs-playback-rate-value",innerHTML:1}),s.appendChild(this.labelEl_),s},v.prototype.buildCSSClass=function(){return"vjs-playback-rate "+d.prototype.buildCSSClass.call(this)},v.prototype.createMenu=function(){var s=new u.default(this.player()),j=this.playbackRates();if(j)for(var k=j.length-1;k>=0;k--)s.addChild(new n.default(this.player(),{rate:j[k]+"x"}));return s},v.prototype.updateARIAAttributes=function(){this.el().setAttribute("aria-valuenow",this.player().playbackRate())},v.prototype.handleClick=function(){for(var s=this.player().playbackRate(),j=this.playbackRates(),k=j[0],C=0;C<j.length;C++)if(j[C]>s){k=j[C];break}this.player().playbackRate(k)},v.prototype.playbackRates=function(){return this.options_.playbackRates||this.options_.playerOptions&&this.options_.playerOptions.playbackRates},v.prototype.playbackRateSupported=function(){return this.player().tech_&&this.player().tech_.featuresPlaybackRate&&this.playbackRates()&&this.playbackRates().length>0},v.prototype.updateVisibility=function(){this.playbackRateSupported()?this.removeClass("vjs-hidden"):this.addClass("vjs-hidden")},v.prototype.updateLabel=function(){this.playbackRateSupported()&&(this.labelEl_.innerHTML=this.player().playbackRate()+"x")},v}(a.default);_.prototype.controlText_="Playback Rate",i.default.registerComponent("PlaybackRateMenuButton",_),e.default=_,w.exports=e.default},{"../../component.js":67,"../../menu/menu-button.js":104,"../../menu/menu.js":106,"../../utils/dom.js":132,"./playback-rate-menu-item.js":74}],74:[function(t,w,e){"use strict";function c(r){return r&&r.__esModule?r:{default:r}}function o(r,n){if(!(r instanceof n))throw new TypeError("Cannot call a class as a function")}function m(r,n){if(typeof n!="function"&&n!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof n);r.prototype=Object.create(n&&n.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),n&&(Object.setPrototypeOf?Object.setPrototypeOf(r,n):r.__proto__=n)}e.__esModule=!0;var g=t("../../menu/menu-item.js"),h=c(g),a=t("../../component.js"),f=c(a),u=function(r){function n(y,i){o(this,n);var p=i.rate,l=parseFloat(p,10);i.label=p,i.selected=l===1,r.call(this,y,i),this.label=p,this.rate=l,this.on(y,"ratechange",this.update)}return m(n,r),n.prototype.handleClick=function(){r.prototype.handleClick.call(this),this.player().playbackRate(this.rate)},n.prototype.update=function(){this.selected(this.player().playbackRate()===this.rate)},n}(h.default);u.prototype.contentElType="button",f.default.registerComponent("PlaybackRateMenuItem",u),e.default=u,w.exports=e.default},{"../../component.js":67,"../../menu/menu-item.js":105}],75:[function(t,w,e){"use strict";function c(n){if(n&&n.__esModule)return n;var y={};if(n!=null)for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(y[i]=n[i]);return y.default=n,y}function o(n){return n&&n.__esModule?n:{default:n}}function m(n,y){if(!(n instanceof y))throw new TypeError("Cannot call a class as a function")}function g(n,y){if(typeof y!="function"&&y!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof y);n.prototype=Object.create(y&&y.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),y&&(Object.setPrototypeOf?Object.setPrototypeOf(n,y):n.__proto__=y)}e.__esModule=!0;var h=t("../../component.js"),a=o(h),f=t("../../utils/dom.js"),u=c(f),r=function(n){function y(i,p){m(this,y),n.call(this,i,p),this.on(i,"progress",this.update)}return g(y,n),y.prototype.createEl=function(){return n.prototype.createEl.call(this,"div",{className:"vjs-load-progress",innerHTML:'<span class="vjs-control-text"><span>'+this.localize("Loaded")+"</span>: 0%</span>"})},y.prototype.update=function(){var i=this.player_.buffered(),p=this.player_.duration(),l=this.player_.bufferedEnd(),_=this.el_.children,d=function(C,O){var b=C/O||0;return 100*(b>=1?1:b)+"%"};this.el_.style.width=d(l,p);for(var v=0;v<i.length;v++){var s=i.start(v),j=i.end(v),k=_[v];k||(k=this.el_.appendChild(u.createEl())),k.style.left=d(s,l),k.style.width=d(j-s,l)}for(var v=_.length;v>i.length;v--)this.el_.removeChild(_[v-1])},y}(a.default);a.default.registerComponent("LoadProgressBar",r),e.default=r,w.exports=e.default},{"../../component.js":67,"../../utils/dom.js":132}],76:[function(t,w,e){"use strict";function c(d){if(d&&d.__esModule)return d;var v={};if(d!=null)for(var s in d)Object.prototype.hasOwnProperty.call(d,s)&&(v[s]=d[s]);return v.default=d,v}function o(d){return d&&d.__esModule?d:{default:d}}function m(d,v){if(!(d instanceof v))throw new TypeError("Cannot call a class as a function")}function g(d,v){if(typeof v!="function"&&v!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof v);d.prototype=Object.create(v&&v.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),v&&(Object.setPrototypeOf?Object.setPrototypeOf(d,v):d.__proto__=v)}e.__esModule=!0;var h=t("../../component.js"),a=o(h),f=t("../../utils/dom.js"),u=c(f),r=t("../../utils/fn.js"),n=c(r),y=t("../../utils/format-time.js"),i=o(y),p=t("lodash-compat/function/throttle"),l=o(p),_=function(d){function v(s,j){var k=this;m(this,v),d.call(this,s,j),this.update(0,0),s.on("ready",function(){k.on(s.controlBar.progressControl.el(),"mousemove",l.default(n.bind(k,k.handleMouseMove),25))})}return g(v,d),v.prototype.createEl=function(){return d.prototype.createEl.call(this,"div",{className:"vjs-mouse-display"})},v.prototype.handleMouseMove=function(s){var j=this.player_.duration(),k=this.calculateDistance(s)*j,C=s.pageX-u.findElPosition(this.el().parentNode).left;this.update(k,C)},v.prototype.update=function(s,j){var k=i.default(s,this.player_.duration());this.el().style.left=j+"px",this.el().setAttribute("data-current-time",k)},v.prototype.calculateDistance=function(s){return u.getPointerPosition(this.el().parentNode,s).x},v}(a.default);a.default.registerComponent("MouseTimeDisplay",_),e.default=_,w.exports=e.default},{"../../component.js":67,"../../utils/dom.js":132,"../../utils/fn.js":134,"../../utils/format-time.js":135,"lodash-compat/function/throttle":7}],77:[function(t,w,e){"use strict";function c(i){if(i&&i.__esModule)return i;var p={};if(i!=null)for(var l in i)Object.prototype.hasOwnProperty.call(i,l)&&(p[l]=i[l]);return p.default=i,p}function o(i){return i&&i.__esModule?i:{default:i}}function m(i,p){if(!(i instanceof p))throw new TypeError("Cannot call a class as a function")}function g(i,p){if(typeof p!="function"&&p!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof p);i.prototype=Object.create(p&&p.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),p&&(Object.setPrototypeOf?Object.setPrototypeOf(i,p):i.__proto__=p)}e.__esModule=!0;var h=t("../../component.js"),a=o(h),f=t("../../utils/fn.js"),u=c(f),r=t("../../utils/format-time.js"),n=o(r),y=function(i){function p(l,_){m(this,p),i.call(this,l,_),this.updateDataAttr(),this.on(l,"timeupdate",this.updateDataAttr),l.ready(u.bind(this,this.updateDataAttr))}return g(p,i),p.prototype.createEl=function(){return i.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>"})},p.prototype.updateDataAttr=function(){var l=this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime();this.el_.setAttribute("data-current-time",n.default(l,this.player_.duration()))},p}(a.default);a.default.registerComponent("PlayProgressBar",y),e.default=y,w.exports=e.default},{"../../component.js":67,"../../utils/fn.js":134,"../../utils/format-time.js":135}],78:[function(t,w,e){"use strict";function c(r){return r&&r.__esModule?r:{default:r}}function o(r,n){if(!(r instanceof n))throw new TypeError("Cannot call a class as a function")}function m(r,n){if(typeof n!="function"&&n!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof n);r.prototype=Object.create(n&&n.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),n&&(Object.setPrototypeOf?Object.setPrototypeOf(r,n):r.__proto__=n)}e.__esModule=!0;var g=t("../../component.js"),h=c(g),a=t("./seek-bar.js"),f=(c(a),t("./mouse-time-display.js")),u=(c(f),function(r){function n(){o(this,n),r.apply(this,arguments)}return m(n,r),n.prototype.createEl=function(){return r.prototype.createEl.call(this,"div",{className:"vjs-progress-control vjs-control"})},n}(h.default));u.prototype.options_={children:["seekBar"]},h.default.registerComponent("ProgressControl",u),e.default=u,w.exports=e.default},{"../../component.js":67,"./mouse-time-display.js":76,"./seek-bar.js":79}],79:[function(t,w,e){"use strict";function c(v){if(v&&v.__esModule)return v;var s={};if(v!=null)for(var j in v)Object.prototype.hasOwnProperty.call(v,j)&&(s[j]=v[j]);return s.default=v,s}function o(v){return v&&v.__esModule?v:{default:v}}function m(v,s){if(!(v instanceof s))throw new TypeError("Cannot call a class as a function")}function g(v,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof s);v.prototype=Object.create(s&&s.prototype,{constructor:{value:v,enumerable:!1,writable:!0,configurable:!0}}),s&&(Object.setPrototypeOf?Object.setPrototypeOf(v,s):v.__proto__=s)}e.__esModule=!0;var h=t("../../slider/slider.js"),a=o(h),f=t("../../component.js"),u=o(f),r=t("./load-progress-bar.js"),n=(o(r),t("./play-progress-bar.js")),y=(o(n),t("../../utils/fn.js")),i=c(y),p=t("../../utils/format-time.js"),l=o(p),_=t("object.assign"),d=(o(_),function(v){function s(j,k){m(this,s),v.call(this,j,k),this.on(j,"timeupdate",this.updateARIAAttributes),j.ready(i.bind(this,this.updateARIAAttributes))}return g(s,v),s.prototype.createEl=function(){return v.prototype.createEl.call(this,"div",{className:"vjs-progress-holder"},{"aria-label":"video progress bar"})},s.prototype.updateARIAAttributes=function(){var j=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",l.default(j,this.player_.duration()))},s.prototype.getPercent=function(){var j=this.player_.currentTime()/this.player_.duration();return j>=1?1:j},s.prototype.handleMouseDown=function(j){v.prototype.handleMouseDown.call(this,j),this.player_.scrubbing(!0),this.videoWasPlaying=!this.player_.paused(),this.player_.pause()},s.prototype.handleMouseMove=function(j){var k=this.calculateDistance(j)*this.player_.duration();k===this.player_.duration()&&(k-=.1),this.player_.currentTime(k)},s.prototype.handleMouseUp=function(j){v.prototype.handleMouseUp.call(this,j),this.player_.scrubbing(!1),this.videoWasPlaying&&this.player_.play()},s.prototype.stepForward=function(){this.player_.currentTime(this.player_.currentTime()+5)},s.prototype.stepBack=function(){this.player_.currentTime(this.player_.currentTime()-5)},s}(a.default));d.prototype.options_={children:["loadProgressBar","mouseTimeDisplay","playProgressBar"],barName:"playProgressBar"},d.prototype.playerEvent="timeupdate",u.default.registerComponent("SeekBar",d),e.default=d,w.exports=e.default},{"../../component.js":67,"../../slider/slider.js":114,"../../utils/fn.js":134,"../../utils/format-time.js":135,"./load-progress-bar.js":75,"./play-progress-bar.js":77,"object.assign":45}],80:[function(t,w,e){"use strict";function c(r){return r&&r.__esModule?r:{default:r}}function o(r,n){if(!(r instanceof n))throw new TypeError("Cannot call a class as a function")}function m(r,n){if(typeof n!="function"&&n!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof n);r.prototype=Object.create(n&&n.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),n&&(Object.setPrototypeOf?Object.setPrototypeOf(r,n):r.__proto__=n)}e.__esModule=!0;var g=t("./spacer.js"),h=c(g),a=t("../../component.js"),f=c(a),u=function(r){function n(){o(this,n),r.apply(this,arguments)}return m(n,r),n.prototype.buildCSSClass=function(){return"vjs-custom-control-spacer "+r.prototype.buildCSSClass.call(this)},n.prototype.createEl=function(){var y=r.prototype.createEl.call(this,{className:this.buildCSSClass()});return y.innerHTML="&nbsp;",y},n}(h.default);f.default.registerComponent("CustomControlSpacer",u),e.default=u,w.exports=e.default},{"../../component.js":67,"./spacer.js":81}],81:[function(t,w,e){"use strict";function c(f){return f&&f.__esModule?f:{default:f}}function o(f,u){if(!(f instanceof u))throw new TypeError("Cannot call a class as a function")}function m(f,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof u);f.prototype=Object.create(u&&u.prototype,{constructor:{value:f,enumerable:!1,writable:!0,configurable:!0}}),u&&(Object.setPrototypeOf?Object.setPrototypeOf(f,u):f.__proto__=u)}e.__esModule=!0;var g=t("../../component.js"),h=c(g),a=function(f){function u(){o(this,u),f.apply(this,arguments)}return m(u,f),u.prototype.buildCSSClass=function(){return"vjs-spacer "+f.prototype.buildCSSClass.call(this)},u.prototype.createEl=function(){return f.prototype.createEl.call(this,"div",{className:this.buildCSSClass()})},u}(h.default);h.default.registerComponent("Spacer",a),e.default=a,w.exports=e.default},{"../../component.js":67}],82:[function(t,w,e){"use strict";function c(r){return r&&r.__esModule?r:{default:r}}function o(r,n){if(!(r instanceof n))throw new TypeError("Cannot call a class as a function")}function m(r,n){if(typeof n!="function"&&n!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof n);r.prototype=Object.create(n&&n.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),n&&(Object.setPrototypeOf?Object.setPrototypeOf(r,n):r.__proto__=n)}e.__esModule=!0;var g=t("./text-track-menu-item.js"),h=c(g),a=t("../../component.js"),f=c(a),u=function(r){function n(y,i){o(this,n),i.track={kind:i.kind,player:y,label:i.kind+" settings",selectable:!1,default:!1,mode:"disabled"},i.selectable=!1,r.call(this,y,i),this.addClass("vjs-texttrack-settings"),this.controlText(", opens "+i.kind+" settings dialog")}return m(n,r),n.prototype.handleClick=function(){this.player().getChild("textTrackSettings").show(),this.player().getChild("textTrackSettings").el_.focus()},n}(h.default);f.default.registerComponent("CaptionSettingsMenuItem",u),e.default=u,w.exports=e.default},{"../../component.js":67,"./text-track-menu-item.js":89}],83:[function(t,w,e){"use strict";function c(y){return y&&y.__esModule?y:{default:y}}function o(y,i){if(!(y instanceof i))throw new TypeError("Cannot call a class as a function")}function m(y,i){if(typeof i!="function"&&i!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof i);y.prototype=Object.create(i&&i.prototype,{constructor:{value:y,enumerable:!1,writable:!0,configurable:!0}}),i&&(Object.setPrototypeOf?Object.setPrototypeOf(y,i):y.__proto__=i)}e.__esModule=!0;var g=t("./text-track-button.js"),h=c(g),a=t("../../component.js"),f=c(a),u=t("./caption-settings-menu-item.js"),r=c(u),n=function(y){function i(p,l,_){o(this,i),y.call(this,p,l,_),this.el_.setAttribute("aria-label","Captions Menu")}return m(i,y),i.prototype.buildCSSClass=function(){return"vjs-captions-button "+y.prototype.buildCSSClass.call(this)},i.prototype.update=function(){var p=2;y.prototype.update.call(this),this.player().tech_&&this.player().tech_.featuresNativeTextTracks&&(p=1),this.items&&this.items.length>p?this.show():this.hide()},i.prototype.createItems=function(){var p=[];return this.player().tech_&&this.player().tech_.featuresNativeTextTracks||p.push(new r.default(this.player_,{kind:this.kind_})),y.prototype.createItems.call(this,p)},i}(h.default);n.prototype.kind_="captions",n.prototype.controlText_="Captions",f.default.registerComponent("CaptionsButton",n),e.default=n,w.exports=e.default},{"../../component.js":67,"./caption-settings-menu-item.js":82,"./text-track-button.js":88}],84:[function(t,w,e){"use strict";function c(O){if(O&&O.__esModule)return O;var b={};if(O!=null)for(var T in O)Object.prototype.hasOwnProperty.call(O,T)&&(b[T]=O[T]);return b.default=O,b}function o(O){return O&&O.__esModule?O:{default:O}}function m(O,b){if(!(O instanceof b))throw new TypeError("Cannot call a class as a function")}function g(O,b){if(typeof b!="function"&&b!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof b);O.prototype=Object.create(b&&b.prototype,{constructor:{value:O,enumerable:!1,writable:!0,configurable:!0}}),b&&(Object.setPrototypeOf?Object.setPrototypeOf(O,b):O.__proto__=b)}e.__esModule=!0;var h=t("./text-track-button.js"),a=o(h),f=t("../../component.js"),u=o(f),r=t("./text-track-menu-item.js"),n=o(r),y=t("./chapters-track-menu-item.js"),i=o(y),p=t("../../menu/menu.js"),l=o(p),_=t("../../utils/dom.js"),d=c(_),v=t("../../utils/fn.js"),s=(c(v),t("../../utils/to-title-case.js")),j=o(s),k=t("global/window"),C=(o(k),function(O){function b(T,P,D){m(this,b),O.call(this,T,P,D),this.el_.setAttribute("aria-label","Chapters Menu")}return g(b,O),b.prototype.buildCSSClass=function(){return"vjs-chapters-button "+O.prototype.buildCSSClass.call(this)},b.prototype.createItems=function(){var T=[],P=this.player_.textTracks();if(!P)return T;for(var D=0;D<P.length;D++){var F=P[D];F.kind===this.kind_&&T.push(new n.default(this.player_,{track:F}))}return T},b.prototype.createMenu=function(){for(var T=this,P=this.player_.textTracks()||[],D=void 0,F=this.items=[],N=0,A=P.length;A>N;N++){var I=P[N];if(I.kind===this.kind_){D=I;break}}var R=this.menu;if(R===void 0){R=new l.default(this.player_);var E=d.createEl("li",{className:"vjs-menu-title",innerHTML:j.default(this.kind_),tabIndex:-1});R.children_.unshift(E),d.insertElFirst(E,R.contentEl())}if(D&&D.cues==null){D.mode="hidden";var x=this.player_.remoteTextTrackEls().getTrackElementByTrack_(D);x&&x.addEventListener("load",function(){return T.update()})}if(D&&D.cues&&D.cues.length>0){for(var M=D.cues,$=void 0,N=0,U=M.length;U>N;N++){$=M[N];var X=new i.default(this.player_,{track:D,cue:$});F.push(X),R.addChild(X)}this.addChild(R)}return this.items.length>0&&this.show(),R},b}(a.default));C.prototype.kind_="chapters",C.prototype.controlText_="Chapters",u.default.registerComponent("ChaptersButton",C),e.default=C,w.exports=e.default},{"../../component.js":67,"../../menu/menu.js":106,"../../utils/dom.js":132,"../../utils/fn.js":134,"../../utils/to-title-case.js":141,"./chapters-track-menu-item.js":85,"./text-track-button.js":88,"./text-track-menu-item.js":89,"global/window":2}],85:[function(t,w,e){"use strict";function c(i){if(i&&i.__esModule)return i;var p={};if(i!=null)for(var l in i)Object.prototype.hasOwnProperty.call(i,l)&&(p[l]=i[l]);return p.default=i,p}function o(i){return i&&i.__esModule?i:{default:i}}function m(i,p){if(!(i instanceof p))throw new TypeError("Cannot call a class as a function")}function g(i,p){if(typeof p!="function"&&p!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof p);i.prototype=Object.create(p&&p.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),p&&(Object.setPrototypeOf?Object.setPrototypeOf(i,p):i.__proto__=p)}e.__esModule=!0;var h=t("../../menu/menu-item.js"),a=o(h),f=t("../../component.js"),u=o(f),r=t("../../utils/fn.js"),n=c(r),y=function(i){function p(l,_){m(this,p);var d=_.track,v=_.cue,s=l.currentTime();_.label=v.text,_.selected=v.startTime<=s&&s<v.endTime,i.call(this,l,_),this.track=d,this.cue=v,d.addEventListener("cuechange",n.bind(this,this.update))}return g(p,i),p.prototype.handleClick=function(){i.prototype.handleClick.call(this),this.player_.currentTime(this.cue.startTime),this.update(this.cue.startTime)},p.prototype.update=function(){var l=this.cue,_=this.player_.currentTime();this.selected(l.startTime<=_&&_<l.endTime)},p}(a.default);u.default.registerComponent("ChaptersTrackMenuItem",y),e.default=y,w.exports=e.default},{"../../component.js":67,"../../menu/menu-item.js":105,"../../utils/fn.js":134}],86:[function(t,w,e){"use strict";function c(r){return r&&r.__esModule?r:{default:r}}function o(r,n){if(!(r instanceof n))throw new TypeError("Cannot call a class as a function")}function m(r,n){if(typeof n!="function"&&n!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof n);r.prototype=Object.create(n&&n.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),n&&(Object.setPrototypeOf?Object.setPrototypeOf(r,n):r.__proto__=n)}e.__esModule=!0;var g=t("./text-track-menu-item.js"),h=c(g),a=t("../../component.js"),f=c(a),u=function(r){function n(y,i){o(this,n),i.track={kind:i.kind,player:y,label:i.kind+" off",default:!1,mode:"disabled"},i.selectable=!0,r.call(this,y,i),this.selected(!0)}return m(n,r),n.prototype.handleTracksChange=function(){for(var y=this.player().textTracks(),i=!0,p=0,l=y.length;l>p;p++){var _=y[p];if(_.kind===this.track.kind&&_.mode==="showing"){i=!1;break}}this.selected(i)},n}(h.default);f.default.registerComponent("OffTextTrackMenuItem",u),e.default=u,w.exports=e.default},{"../../component.js":67,"./text-track-menu-item.js":89}],87:[function(t,w,e){"use strict";function c(r){return r&&r.__esModule?r:{default:r}}function o(r,n){if(!(r instanceof n))throw new TypeError("Cannot call a class as a function")}function m(r,n){if(typeof n!="function"&&n!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof n);r.prototype=Object.create(n&&n.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),n&&(Object.setPrototypeOf?Object.setPrototypeOf(r,n):r.__proto__=n)}e.__esModule=!0;var g=t("./text-track-button.js"),h=c(g),a=t("../../component.js"),f=c(a),u=function(r){function n(y,i,p){o(this,n),r.call(this,y,i,p),this.el_.setAttribute("aria-label","Subtitles Menu")}return m(n,r),n.prototype.buildCSSClass=function(){return"vjs-subtitles-button "+r.prototype.buildCSSClass.call(this)},n}(h.default);u.prototype.kind_="subtitles",u.prototype.controlText_="Subtitles",f.default.registerComponent("SubtitlesButton",u),e.default=u,w.exports=e.default},{"../../component.js":67,"./text-track-button.js":88}],88:[function(t,w,e){"use strict";function c(d){if(d&&d.__esModule)return d;var v={};if(d!=null)for(var s in d)Object.prototype.hasOwnProperty.call(d,s)&&(v[s]=d[s]);return v.default=d,v}function o(d){return d&&d.__esModule?d:{default:d}}function m(d,v){if(!(d instanceof v))throw new TypeError("Cannot call a class as a function")}function g(d,v){if(typeof v!="function"&&v!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof v);d.prototype=Object.create(v&&v.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),v&&(Object.setPrototypeOf?Object.setPrototypeOf(d,v):d.__proto__=v)}e.__esModule=!0;var h=t("../../menu/menu-button.js"),a=o(h),f=t("../../component.js"),u=o(f),r=t("../../utils/fn.js"),n=c(r),y=t("./text-track-menu-item.js"),i=o(y),p=t("./off-text-track-menu-item.js"),l=o(p),_=function(d){function v(s,j){m(this,v),d.call(this,s,j);var k=this.player_.textTracks();if(this.items.length<=1&&this.hide(),k){var C=n.bind(this,this.update);k.addEventListener("removetrack",C),k.addEventListener("addtrack",C),this.player_.on("dispose",function(){k.removeEventListener("removetrack",C),k.removeEventListener("addtrack",C)})}}return g(v,d),v.prototype.createItems=function(){var s=arguments.length<=0||arguments[0]===void 0?[]:arguments[0];s.push(new l.default(this.player_,{kind:this.kind_}));var j=this.player_.textTracks();if(!j)return s;for(var k=0;k<j.length;k++){var C=j[k];C.kind===this.kind_&&s.push(new i.default(this.player_,{selectable:!0,track:C}))}return s},v}(a.default);u.default.registerComponent("TextTrackButton",_),e.default=_,w.exports=e.default},{"../../component.js":67,"../../menu/menu-button.js":104,"../../utils/fn.js":134,"./off-text-track-menu-item.js":86,"./text-track-menu-item.js":89}],89:[function(t,w,e){"use strict";function c(d){if(d&&d.__esModule)return d;var v={};if(d!=null)for(var s in d)Object.prototype.hasOwnProperty.call(d,s)&&(v[s]=d[s]);return v.default=d,v}function o(d){return d&&d.__esModule?d:{default:d}}function m(d,v){if(!(d instanceof v))throw new TypeError("Cannot call a class as a function")}function g(d,v){if(typeof v!="function"&&v!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof v);d.prototype=Object.create(v&&v.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),v&&(Object.setPrototypeOf?Object.setPrototypeOf(d,v):d.__proto__=v)}e.__esModule=!0;var h=t("../../menu/menu-item.js"),a=o(h),f=t("../../component.js"),u=o(f),r=t("../../utils/fn.js"),n=c(r),y=t("global/window"),i=o(y),p=t("global/document"),l=o(p),_=function(d){function v(s,j){var k=this;m(this,v);var C=j.track,O=s.textTracks();j.label=C.label||C.language||"Unknown",j.selected=C.default||C.mode==="showing",d.call(this,s,j),this.track=C,O&&function(){var b=n.bind(k,k.handleTracksChange);O.addEventListener("change",b),k.on("dispose",function(){O.removeEventListener("change",b)})}(),O&&O.onchange===void 0&&function(){var b=void 0;k.on(["tap","click"],function(){if(typeof i.default.Event!="object")try{b=new i.default.Event("change")}catch(T){}b||(b=l.default.createEvent("Event"),b.initEvent("change",!0,!0)),O.dispatchEvent(b)})}()}return g(v,d),v.prototype.handleClick=function(s){var j=this.track.kind,k=this.player_.textTracks();if(d.prototype.handleClick.call(this,s),k)for(var C=0;C<k.length;C++){var O=k[C];O.kind===j&&(O.mode=O===this.track?"showing":"disabled")}},v.prototype.handleTracksChange=function(){this.selected(this.track.mode==="showing")},v}(a.default);u.default.registerComponent("TextTrackMenuItem",_),e.default=_,w.exports=e.default},{"../../component.js":67,"../../menu/menu-item.js":105,"../../utils/fn.js":134,"global/document":1,"global/window":2}],90:[function(t,w,e){"use strict";function c(i){if(i&&i.__esModule)return i;var p={};if(i!=null)for(var l in i)Object.prototype.hasOwnProperty.call(i,l)&&(p[l]=i[l]);return p.default=i,p}function o(i){return i&&i.__esModule?i:{default:i}}function m(i,p){if(!(i instanceof p))throw new TypeError("Cannot call a class as a function")}function g(i,p){if(typeof p!="function"&&p!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof p);i.prototype=Object.create(p&&p.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),p&&(Object.setPrototypeOf?Object.setPrototypeOf(i,p):i.__proto__=p)}e.__esModule=!0;var h=t("../../component.js"),a=o(h),f=t("../../utils/dom.js"),u=c(f),r=t("../../utils/format-time.js"),n=o(r),y=function(i){function p(l,_){m(this,p),i.call(this,l,_),this.on(l,"timeupdate",this.updateContent)}return g(p,i),p.prototype.createEl=function(){var l=i.prototype.createEl.call(this,"div",{className:"vjs-current-time vjs-time-control vjs-control"});return this.contentEl_=u.createEl("div",{className:"vjs-current-time-display",innerHTML:'<span class="vjs-control-text">Current Time </span>0:00'},{"aria-live":"off"}),l.appendChild(this.contentEl_),l},p.prototype.updateContent=function(){var l=this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime(),_=this.localize("Current Time"),d=n.default(l,this.player_.duration());d!==this.formattedTime_&&(this.formattedTime_=d,this.contentEl_.innerHTML='<span class="vjs-control-text">'+_+"</span> "+d)},p}(a.default);a.default.registerComponent("CurrentTimeDisplay",y),e.default=y,w.exports=e.default},{"../../component.js":67,"../../utils/dom.js":132,"../../utils/format-time.js":135}],91:[function(t,w,e){"use strict";function c(i){if(i&&i.__esModule)return i;var p={};if(i!=null)for(var l in i)Object.prototype.hasOwnProperty.call(i,l)&&(p[l]=i[l]);return p.default=i,p}function o(i){return i&&i.__esModule?i:{default:i}}function m(i,p){if(!(i instanceof p))throw new TypeError("Cannot call a class as a function")}function g(i,p){if(typeof p!="function"&&p!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof p);i.prototype=Object.create(p&&p.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),p&&(Object.setPrototypeOf?Object.setPrototypeOf(i,p):i.__proto__=p)}e.__esModule=!0;var h=t("../../component.js"),a=o(h),f=t("../../utils/dom.js"),u=c(f),r=t("../../utils/format-time.js"),n=o(r),y=function(i){function p(l,_){m(this,p),i.call(this,l,_),this.on(l,"timeupdate",this.updateContent),this.on(l,"loadedmetadata",this.updateContent)}return g(p,i),p.prototype.createEl=function(){var l=i.prototype.createEl.call(this,"div",{className:"vjs-duration vjs-time-control vjs-control"});return this.contentEl_=u.createEl("div",{className:"vjs-duration-display",innerHTML:'<span class="vjs-control-text">'+this.localize("Duration Time")+"</span> 0:00"},{"aria-live":"off"}),l.appendChild(this.contentEl_),l},p.prototype.updateContent=function(){var l=this.player_.duration();if(l&&this.duration_!==l){this.duration_=l;var _=this.localize("Duration Time"),d=n.default(l);this.contentEl_.innerHTML='<span class="vjs-control-text">'+_+"</span> "+d}},p}(a.default);a.default.registerComponent("DurationDisplay",y),e.default=y,w.exports=e.default},{"../../component.js":67,"../../utils/dom.js":132,"../../utils/format-time.js":135}],92:[function(t,w,e){"use strict";function c(i){if(i&&i.__esModule)return i;var p={};if(i!=null)for(var l in i)Object.prototype.hasOwnProperty.call(i,l)&&(p[l]=i[l]);return p.default=i,p}function o(i){return i&&i.__esModule?i:{default:i}}function m(i,p){if(!(i instanceof p))throw new TypeError("Cannot call a class as a function")}function g(i,p){if(typeof p!="function"&&p!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof p);i.prototype=Object.create(p&&p.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),p&&(Object.setPrototypeOf?Object.setPrototypeOf(i,p):i.__proto__=p)}e.__esModule=!0;var h=t("../../component.js"),a=o(h),f=t("../../utils/dom.js"),u=c(f),r=t("../../utils/format-time.js"),n=o(r),y=function(i){function p(l,_){m(this,p),i.call(this,l,_),this.on(l,"timeupdate",this.updateContent)}return g(p,i),p.prototype.createEl=function(){var l=i.prototype.createEl.call(this,"div",{className:"vjs-remaining-time vjs-time-control vjs-control"});return this.contentEl_=u.createEl("div",{className:"vjs-remaining-time-display",innerHTML:'<span class="vjs-control-text">'+this.localize("Remaining Time")+"</span> -0:00"},{"aria-live":"off"}),l.appendChild(this.contentEl_),l},p.prototype.updateContent=function(){if(this.player_.duration()){var l=this.localize("Remaining Time"),_=n.default(this.player_.remainingTime());_!==this.formattedTime_&&(this.formattedTime_=_,this.contentEl_.innerHTML='<span class="vjs-control-text">'+l+"</span> -"+_)}},p}(a.default);a.default.registerComponent("RemainingTimeDisplay",y),e.default=y,w.exports=e.default},{"../../component.js":67,"../../utils/dom.js":132,"../../utils/format-time.js":135}],93:[function(t,w,e){"use strict";function c(f){return f&&f.__esModule?f:{default:f}}function o(f,u){if(!(f instanceof u))throw new TypeError("Cannot call a class as a function")}function m(f,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof u);f.prototype=Object.create(u&&u.prototype,{constructor:{value:f,enumerable:!1,writable:!0,configurable:!0}}),u&&(Object.setPrototypeOf?Object.setPrototypeOf(f,u):f.__proto__=u)}e.__esModule=!0;var g=t("../../component.js"),h=c(g),a=function(f){function u(){o(this,u),f.apply(this,arguments)}return m(u,f),u.prototype.createEl=function(){return f.prototype.createEl.call(this,"div",{className:"vjs-time-control vjs-time-divider",innerHTML:"<div><span>/</span></div>"})},u}(h.default);h.default.registerComponent("TimeDivider",a),e.default=a,w.exports=e.default},{"../../component.js":67}],94:[function(t,w,e){"use strict";function c(p){if(p&&p.__esModule)return p;var l={};if(p!=null)for(var _ in p)Object.prototype.hasOwnProperty.call(p,_)&&(l[_]=p[_]);return l.default=p,l}function o(p){return p&&p.__esModule?p:{default:p}}function m(p,l){if(!(p instanceof l))throw new TypeError("Cannot call a class as a function")}function g(p,l){if(typeof l!="function"&&l!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof l);p.prototype=Object.create(l&&l.prototype,{constructor:{value:p,enumerable:!1,writable:!0,configurable:!0}}),l&&(Object.setPrototypeOf?Object.setPrototypeOf(p,l):p.__proto__=l)}e.__esModule=!0;var h=t("../../slider/slider.js"),a=o(h),f=t("../../component.js"),u=o(f),r=t("../../utils/fn.js"),n=c(r),y=t("./volume-level.js"),i=(o(y),function(p){function l(_,d){m(this,l),p.call(this,_,d),this.on(_,"volumechange",this.updateARIAAttributes),_.ready(n.bind(this,this.updateARIAAttributes))}return g(l,p),l.prototype.createEl=function(){return p.prototype.createEl.call(this,"div",{className:"vjs-volume-bar vjs-slider-bar"},{"aria-label":"volume level"})},l.prototype.handleMouseMove=function(_){this.checkMuted(),this.player_.volume(this.calculateDistance(_))},l.prototype.checkMuted=function(){this.player_.muted()&&this.player_.muted(!1)},l.prototype.getPercent=function(){return this.player_.muted()?0:this.player_.volume()},l.prototype.stepForward=function(){this.checkMuted(),this.player_.volume(this.player_.volume()+.1)},l.prototype.stepBack=function(){this.checkMuted(),this.player_.volume(this.player_.volume()-.1)},l.prototype.updateARIAAttributes=function(){var _=(100*this.player_.volume()).toFixed(2);this.el_.setAttribute("aria-valuenow",_),this.el_.setAttribute("aria-valuetext",_+"%")},l}(a.default));i.prototype.options_={children:["volumeLevel"],barName:"volumeLevel"},i.prototype.playerEvent="volumechange",u.default.registerComponent("VolumeBar",i),e.default=i,w.exports=e.default},{"../../component.js":67,"../../slider/slider.js":114,"../../utils/fn.js":134,"./volume-level.js":96}],95:[function(t,w,e){"use strict";function c(u){return u&&u.__esModule?u:{default:u}}function o(u,r){if(!(u instanceof r))throw new TypeError("Cannot call a class as a function")}function m(u,r){if(typeof r!="function"&&r!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof r);u.prototype=Object.create(r&&r.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),r&&(Object.setPrototypeOf?Object.setPrototypeOf(u,r):u.__proto__=r)}e.__esModule=!0;var g=t("../../component.js"),h=c(g),a=t("./volume-bar.js"),f=(c(a),function(u){function r(n,y){o(this,r),u.call(this,n,y),n.tech_&&n.tech_.featuresVolumeControl===!1&&this.addClass("vjs-hidden"),this.on(n,"loadstart",function(){n.tech_.featuresVolumeControl===!1?this.addClass("vjs-hidden"):this.removeClass("vjs-hidden")})}return m(r,u),r.prototype.createEl=function(){return u.prototype.createEl.call(this,"div",{className:"vjs-volume-control vjs-control"})},r}(h.default));f.prototype.options_={children:["volumeBar"]},h.default.registerComponent("VolumeControl",f),e.default=f,w.exports=e.default},{"../../component.js":67,"./volume-bar.js":94}],96:[function(t,w,e){"use strict";function c(f){return f&&f.__esModule?f:{default:f}}function o(f,u){if(!(f instanceof u))throw new TypeError("Cannot call a class as a function")}function m(f,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof u);f.prototype=Object.create(u&&u.prototype,{constructor:{value:f,enumerable:!1,writable:!0,configurable:!0}}),u&&(Object.setPrototypeOf?Object.setPrototypeOf(f,u):f.__proto__=u)}e.__esModule=!0;var g=t("../../component.js"),h=c(g),a=function(f){function u(){o(this,u),f.apply(this,arguments)}return m(u,f),u.prototype.createEl=function(){return f.prototype.createEl.call(this,"div",{className:"vjs-volume-level",innerHTML:'<span class="vjs-control-text"></span>'})},u}(h.default);h.default.registerComponent("VolumeLevel",a),e.default=a,w.exports=e.default},{"../../component.js":67}],97:[function(t,w,e){"use strict";function c(k){return k&&k.__esModule?k:{default:k}}function o(k){if(k&&k.__esModule)return k;var C={};if(k!=null)for(var O in k)Object.prototype.hasOwnProperty.call(k,O)&&(C[O]=k[O]);return C.default=k,C}function m(k,C){if(!(k instanceof C))throw new TypeError("Cannot call a class as a function")}function g(k,C){if(typeof C!="function"&&C!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof C);k.prototype=Object.create(C&&C.prototype,{constructor:{value:k,enumerable:!1,writable:!0,configurable:!0}}),C&&(Object.setPrototypeOf?Object.setPrototypeOf(k,C):k.__proto__=C)}e.__esModule=!0;var h=t("../utils/fn.js"),a=o(h),f=t("../component.js"),u=c(f),r=t("../popup/popup.js"),n=c(r),y=t("../popup/popup-button.js"),i=c(y),p=t("./mute-toggle.js"),l=c(p),_=t("./volume-control/volume-bar.js"),d=c(_),v=t("global/document"),s=c(v),j=function(k){function C(O){function b(){O.tech_&&O.tech_.featuresVolumeControl===!1?this.addClass("vjs-hidden"):this.removeClass("vjs-hidden")}var T=arguments.length<=1||arguments[1]===void 0?{}:arguments[1];m(this,C),T.inline===void 0&&(T.inline=!0),T.vertical===void 0&&(T.vertical=!T.inline),T.volumeBar=T.volumeBar||{},T.volumeBar.vertical=!!T.vertical,k.call(this,O,T),this.on(O,"volumechange",this.volumeUpdate),this.on(O,"loadstart",this.volumeUpdate),b.call(this),this.on(O,"loadstart",b),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")})}return g(C,k),C.prototype.buildCSSClass=function(){var O="";return O=this.options_.vertical?"vjs-volume-menu-button-vertical":"vjs-volume-menu-button-horizontal","vjs-volume-menu-button "+k.prototype.buildCSSClass.call(this)+" "+O},C.prototype.createPopup=function(){var O=new n.default(this.player_,{contentElType:"div"}),b=new d.default(this.player_,this.options_.volumeBar);return O.addChild(b),this.volumeBar=b,this.attachVolumeBarEvents(),O},C.prototype.handleClick=function(){l.default.prototype.handleClick.call(this),k.prototype.handleClick.call(this)},C.prototype.attachVolumeBarEvents=function(){this.on(["mousedown","touchdown"],this.handleMouseDown)},C.prototype.handleMouseDown=function(){this.on(["mousemove","touchmove"],a.bind(this.volumeBar,this.volumeBar.handleMouseMove)),this.on(s.default,["mouseup","touchend"],this.handleMouseUp)},C.prototype.handleMouseUp=function(){this.off(["mousemove","touchmove"],a.bind(this.volumeBar,this.volumeBar.handleMouseMove))},C}(i.default);j.prototype.volumeUpdate=l.default.prototype.update,j.prototype.controlText_="Mute",u.default.registerComponent("VolumeMenuButton",j),e.default=j,w.exports=e.default},{"../component.js":67,"../popup/popup-button.js":110,"../popup/popup.js":111,"../utils/fn.js":134,"./mute-toggle.js":71,"./volume-control/volume-bar.js":94,"global/document":1}],98:[function(t,w,e){"use strict";function c(p){if(p&&p.__esModule)return p;var l={};if(p!=null)for(var _ in p)Object.prototype.hasOwnProperty.call(p,_)&&(l[_]=p[_]);return l.default=p,l}function o(p){return p&&p.__esModule?p:{default:p}}function m(p,l){if(!(p instanceof l))throw new TypeError("Cannot call a class as a function")}function g(p,l){if(typeof l!="function"&&l!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof l);p.prototype=Object.create(l&&l.prototype,{constructor:{value:p,enumerable:!1,writable:!0,configurable:!0}}),l&&(Object.setPrototypeOf?Object.setPrototypeOf(p,l):p.__proto__=l)}e.__esModule=!0;var h=t("./component"),a=o(h),f=t("./modal-dialog"),u=o(f),r=t("./utils/dom"),n=(c(r),t("./utils/merge-options")),y=o(n),i=function(p){function l(_,d){m(this,l),p.call(this,_,d),this.on(_,"error",this.open)}return g(l,p),l.prototype.buildCSSClass=function(){return"vjs-error-display "+p.prototype.buildCSSClass.call(this)},l.prototype.content=function(){var _=this.player().error();return _?this.localize(_.message):""},l}(u.default);i.prototype.options_=y.default(u.default.prototype.options_,{fillAlways:!0,temporary:!1,uncloseable:!0}),a.default.registerComponent("ErrorDisplay",i),e.default=i,w.exports=e.default},{"./component":67,"./modal-dialog":107,"./utils/dom":132,"./utils/merge-options":138}],99:[function(t,w,e){"use strict";function c(h){if(h&&h.__esModule)return h;var a={};if(h!=null)for(var f in h)Object.prototype.hasOwnProperty.call(h,f)&&(a[f]=h[f]);return a.default=h,a}e.__esModule=!0;var o=t("./utils/events.js"),m=c(o),g=function(){};g.prototype.allowedEvents_={},g.prototype.on=function(h,a){var f=this.addEventListener;this.addEventListener=Function.prototype,m.on(this,h,a),this.addEventListener=f},g.prototype.addEventListener=g.prototype.on,g.prototype.off=function(h,a){m.off(this,h,a)},g.prototype.removeEventListener=g.prototype.off,g.prototype.one=function(h,a){m.one(this,h,a)},g.prototype.trigger=function(h){var a=h.type||h;typeof h=="string"&&(h={type:a}),h=m.fixEvent(h),this.allowedEvents_[a]&&this["on"+a]&&this["on"+a](h),m.trigger(this,h)},g.prototype.dispatchEvent=g.prototype.trigger,e.default=g,w.exports=e.default},{"./utils/events.js":133}],100:[function(t,w,e){"use strict";function c(a){return a&&a.__esModule?a:{default:a}}e.__esModule=!0;var o=t("./utils/log"),m=c(o),g=function(a,f){if(typeof f!="function"&&f!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof f);a.prototype=Object.create(f&&f.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),f&&(a.super_=f)},h=function(a){var f=arguments.length<=1||arguments[1]===void 0?{}:arguments[1],u=function(){a.apply(this,arguments)},r={};typeof f=="object"?(typeof f.init=="function"&&(m.default.warn("Constructor logic via init() is deprecated; please use constructor() instead."),f.constructor=f.init),f.constructor!==Object.prototype.constructor&&(u=f.constructor),r=f):typeof f=="function"&&(u=f),g(u,a);for(var n in r)r.hasOwnProperty(n)&&(u.prototype[n]=r[n]);return u};e.default=h,w.exports=e.default},{"./utils/log":137}],101:[function(t,w,e){"use strict";function c(r){return r&&r.__esModule?r:{default:r}}e.__esModule=!0;for(var o=t("global/document"),m=c(o),g={},h=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],a=h[0],f=void 0,u=0;u<h.length;u++)if(h[u][1]in m.default){f=h[u];break}if(f)for(var u=0;u<f.length;u++)g[a[u]]=f[u];e.default=g,w.exports=e.default},{"global/document":1}],102:[function(t,w,e){"use strict";function c(f){return f&&f.__esModule?f:{default:f}}function o(f,u){if(!(f instanceof u))throw new TypeError("Cannot call a class as a function")}function m(f,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof u);f.prototype=Object.create(u&&u.prototype,{constructor:{value:f,enumerable:!1,writable:!0,configurable:!0}}),u&&(Object.setPrototypeOf?Object.setPrototypeOf(f,u):f.__proto__=u)}e.__esModule=!0;var g=t("./component"),h=c(g),a=function(f){function u(){o(this,u),f.apply(this,arguments)}return m(u,f),u.prototype.createEl=function(){return f.prototype.createEl.call(this,"div",{className:"vjs-loading-spinner",dir:"ltr"})},u}(h.default);h.default.registerComponent("LoadingSpinner",a),e.default=a,w.exports=e.default},{"./component":67}],103:[function(t,w,e){"use strict";function c(a){return a&&a.__esModule?a:{default:a}}e.__esModule=!0;var o=t("object.assign"),m=c(o),g=function a(f){typeof f=="number"?this.code=f:typeof f=="string"?this.message=f:typeof f=="object"&&m.default(this,f),this.message||(this.message=a.defaultMessages[this.code]||"")};g.prototype.code=0,g.prototype.message="",g.prototype.status=null,g.errorTypes=["MEDIA_ERR_CUSTOM","MEDIA_ERR_ABORTED","MEDIA_ERR_NETWORK","MEDIA_ERR_DECODE","MEDIA_ERR_SRC_NOT_SUPPORTED","MEDIA_ERR_ENCRYPTED"],g.defaultMessages={1:"You aborted the media playback",2:"A network error caused the media download to fail part-way.",3:"The media playback was aborted due to a corruption problem or because the media used features your browser did not support.",4:"The media could not be loaded, either because the server or network failed or because the format is not supported.",5:"The media is encrypted and we do not have the keys to decrypt it."};for(var h=0;h<g.errorTypes.length;h++)g[g.errorTypes[h]]=h,g.prototype[g.errorTypes[h]]=h;e.default=g,w.exports=e.default},{"object.assign":45}],104:[function(t,w,e){"use strict";function c(s){if(s&&s.__esModule)return s;var j={};if(s!=null)for(var k in s)Object.prototype.hasOwnProperty.call(s,k)&&(j[k]=s[k]);return j.default=s,j}function o(s){return s&&s.__esModule?s:{default:s}}function m(s,j){if(!(s instanceof j))throw new TypeError("Cannot call a class as a function")}function g(s,j){if(typeof j!="function"&&j!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof j);s.prototype=Object.create(j&&j.prototype,{constructor:{value:s,enumerable:!1,writable:!0,configurable:!0}}),j&&(Object.setPrototypeOf?Object.setPrototypeOf(s,j):s.__proto__=j)}e.__esModule=!0;var h=t("../clickable-component.js"),a=o(h),f=t("../component.js"),u=o(f),r=t("./menu.js"),n=o(r),y=t("../utils/dom.js"),i=c(y),p=t("../utils/fn.js"),l=c(p),_=t("../utils/to-title-case.js"),d=o(_),v=function(s){function j(k){var C=arguments.length<=1||arguments[1]===void 0?{}:arguments[1];m(this,j),s.call(this,k,C),this.update(),this.el_.setAttribute("aria-haspopup",!0),this.el_.setAttribute("role","menuitem"),this.on("keydown",this.handleSubmenuKeyPress)}return g(j,s),j.prototype.update=function(){var k=this.createMenu();this.menu&&this.removeChild(this.menu),this.menu=k,this.addChild(k),this.buttonPressed_=!1,this.el_.setAttribute("aria-expanded",!1),this.items&&this.items.length===0?this.hide():this.items&&this.items.length>1&&this.show()},j.prototype.createMenu=function(){var k=new n.default(this.player_);if(this.options_.title){var C=i.createEl("li",{className:"vjs-menu-title",innerHTML:d.default(this.options_.title),tabIndex:-1});k.children_.unshift(C),i.insertElFirst(C,k.contentEl())}if(this.items=this.createItems(),this.items)for(var O=0;O<this.items.length;O++)k.addItem(this.items[O]);return k},j.prototype.createItems=function(){},j.prototype.createEl=function(){return s.prototype.createEl.call(this,"div",{className:this.buildCSSClass()})},j.prototype.buildCSSClass=function(){var k="vjs-menu-button";return k+=this.options_.inline===!0?"-inline":"-popup","vjs-menu-button "+k+" "+s.prototype.buildCSSClass.call(this)},j.prototype.handleClick=function(){this.one("mouseout",l.bind(this,function(){this.menu.unlockShowing(),this.el_.blur()})),this.buttonPressed_?this.unpressButton():this.pressButton()},j.prototype.handleKeyPress=function(k){k.which===27||k.which===9?(this.buttonPressed_&&this.unpressButton(),k.which!==9&&k.preventDefault()):k.which===38||k.which===40?this.buttonPressed_||(this.pressButton(),k.preventDefault()):s.prototype.handleKeyPress.call(this,k)},j.prototype.handleSubmenuKeyPress=function(k){(k.which===27||k.which===9)&&(this.buttonPressed_&&this.unpressButton(),k.which!==9&&k.preventDefault())},j.prototype.pressButton=function(){this.buttonPressed_=!0,this.menu.lockShowing(),this.el_.setAttribute("aria-expanded",!0),this.menu.focus()},j.prototype.unpressButton=function(){this.buttonPressed_=!1,this.menu.unlockShowing(),this.el_.setAttribute("aria-expanded",!1),this.el_.focus()},j}(a.default);u.default.registerComponent("MenuButton",v),e.default=v,w.exports=e.default},{"../clickable-component.js":65,"../component.js":67,"../utils/dom.js":132,"../utils/fn.js":134,"../utils/to-title-case.js":141,"./menu.js":106}],105:[function(t,w,e){"use strict";function c(y){return y&&y.__esModule?y:{default:y}}function o(y,i){if(!(y instanceof i))throw new TypeError("Cannot call a class as a function")}function m(y,i){if(typeof i!="function"&&i!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof i);y.prototype=Object.create(i&&i.prototype,{constructor:{value:y,enumerable:!1,writable:!0,configurable:!0}}),i&&(Object.setPrototypeOf?Object.setPrototypeOf(y,i):y.__proto__=i)}e.__esModule=!0;var g=t("../clickable-component.js"),h=c(g),a=t("../component.js"),f=c(a),u=t("object.assign"),r=c(u),n=function(y){function i(p,l){o(this,i),y.call(this,p,l),this.selectable=l.selectable,this.selected(l.selected),this.selectable?this.el_.setAttribute("role","menuitemcheckbox"):this.el_.setAttribute("role","menuitem")}return m(i,y),i.prototype.createEl=function(p,l,_){return y.prototype.createEl.call(this,"li",r.default({className:"vjs-menu-item",innerHTML:this.localize(this.options_.label),tabIndex:-1},l),_)},i.prototype.handleClick=function(){this.selected(!0)},i.prototype.selected=function(p){this.selectable&&(p?(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(" ")))},i}(h.default);f.default.registerComponent("MenuItem",n),e.default=n,w.exports=e.default},{"../clickable-component.js":65,"../component.js":67,"object.assign":45}],106:[function(t,w,e){"use strict";function c(l){if(l&&l.__esModule)return l;var _={};if(l!=null)for(var d in l)Object.prototype.hasOwnProperty.call(l,d)&&(_[d]=l[d]);return _.default=l,_}function o(l){return l&&l.__esModule?l:{default:l}}function m(l,_){if(!(l instanceof _))throw new TypeError("Cannot call a class as a function")}function g(l,_){if(typeof _!="function"&&_!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof _);l.prototype=Object.create(_&&_.prototype,{constructor:{value:l,enumerable:!1,writable:!0,configurable:!0}}),_&&(Object.setPrototypeOf?Object.setPrototypeOf(l,_):l.__proto__=_)}e.__esModule=!0;var h=t("../component.js"),a=o(h),f=t("../utils/dom.js"),u=c(f),r=t("../utils/fn.js"),n=c(r),y=t("../utils/events.js"),i=c(y),p=function(l){function _(d,v){m(this,_),l.call(this,d,v),this.focusedChild_=-1,this.on("keydown",this.handleKeyPress)}return g(_,l),_.prototype.addItem=function(d){this.addChild(d),d.on("click",n.bind(this,function(){this.unlockShowing()}))},_.prototype.createEl=function(){var d=this.options_.contentElType||"ul";this.contentEl_=u.createEl(d,{className:"vjs-menu-content"}),this.contentEl_.setAttribute("role","menu");var v=l.prototype.createEl.call(this,"div",{append:this.contentEl_,className:"vjs-menu"});return v.setAttribute("role","presentation"),v.appendChild(this.contentEl_),i.on(v,"click",function(s){s.preventDefault(),s.stopImmediatePropagation()}),v},_.prototype.handleKeyPress=function(d){d.which===37||d.which===40?(d.preventDefault(),this.stepForward()):(d.which===38||d.which===39)&&(d.preventDefault(),this.stepBack())},_.prototype.stepForward=function(){var d=0;this.focusedChild_!==void 0&&(d=this.focusedChild_+1),this.focus(d)},_.prototype.stepBack=function(){var d=0;this.focusedChild_!==void 0&&(d=this.focusedChild_-1),this.focus(d)},_.prototype.focus=function(){var d=arguments.length<=0||arguments[0]===void 0?0:arguments[0],v=this.children().slice(),s=v.length&&v[0].className&&/vjs-menu-title/.test(v[0].className);s&&v.shift(),v.length>0&&(0>d?d=0:d>=v.length&&(d=v.length-1),this.focusedChild_=d,v[d].el_.focus())},_}(a.default);a.default.registerComponent("Menu",p),e.default=p,w.exports=e.default},{"../component.js":67,"../utils/dom.js":132,"../utils/events.js":133,"../utils/fn.js":134}],107:[function(t,w,e){"use strict";function c(s){if(s&&s.__esModule)return s;var j={};if(s!=null)for(var k in s)Object.prototype.hasOwnProperty.call(s,k)&&(j[k]=s[k]);return j.default=s,j}function o(s){return s&&s.__esModule?s:{default:s}}function m(s,j){if(!(s instanceof j))throw new TypeError("Cannot call a class as a function")}function g(s,j){if(typeof j!="function"&&j!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof j);s.prototype=Object.create(j&&j.prototype,{constructor:{value:s,enumerable:!1,writable:!0,configurable:!0}}),j&&(Object.setPrototypeOf?Object.setPrototypeOf(s,j):s.__proto__=j)}e.__esModule=!0;var h=t("global/document"),a=o(h),f=t("./utils/dom"),u=c(f),r=t("./utils/fn"),n=c(r),y=t("./utils/log"),i=(o(y),t("./component")),p=o(i),l=t("./close-button"),_=(o(l),"vjs-modal-dialog"),d=27,v=function(s){function j(k,C){m(this,j),s.call(this,k,C),this.opened_=this.hasBeenOpened_=this.hasBeenFilled_=!1,this.closeable(!this.options_.uncloseable),this.content(this.options_.content),this.contentEl_=u.createEl("div",{className:_+"-content"},{role:"document"}),this.descEl_=u.createEl("p",{className:_+"-description vjs-offscreen",id:this.el().getAttribute("aria-describedby")}),u.textContent(this.descEl_,this.description()),this.el_.appendChild(this.descEl_),this.el_.appendChild(this.contentEl_)}return g(j,s),j.prototype.createEl=function(){return s.prototype.createEl.call(this,"div",{className:this.buildCSSClass(),tabIndex:-1},{"aria-describedby":this.id()+"_description","aria-hidden":"true","aria-label":this.label(),role:"dialog"})},j.prototype.buildCSSClass=function(){return _+" vjs-hidden "+s.prototype.buildCSSClass.call(this)},j.prototype.handleKeyPress=function(k){k.which===d&&this.closeable()&&this.close()},j.prototype.label=function(){return this.options_.label||this.localize("Modal Window")},j.prototype.description=function(){var k=this.options_.description||this.localize("This is a modal window.");return this.closeable()&&(k+=" "+this.localize("This modal can be closed by pressing the Escape key or activating the close button.")),k},j.prototype.open=function(){if(!this.opened_){var k=this.player();this.trigger("beforemodalopen"),this.opened_=!0,(this.options_.fillAlways||!this.hasBeenOpened_&&!this.hasBeenFilled_)&&this.fill(),this.wasPlaying_=!k.paused(),this.wasPlaying_&&k.pause(),this.closeable()&&this.on(a.default,"keydown",n.bind(this,this.handleKeyPress)),k.controls(!1),this.show(),this.el().setAttribute("aria-hidden","false"),this.trigger("modalopen"),this.hasBeenOpened_=!0}return this},j.prototype.opened=function(k){return typeof k=="boolean"&&this[k?"open":"close"](),this.opened_},j.prototype.close=function(){if(this.opened_){var k=this.player();this.trigger("beforemodalclose"),this.opened_=!1,this.wasPlaying_&&k.play(),this.closeable()&&this.off(a.default,"keydown",n.bind(this,this.handleKeyPress)),k.controls(!0),this.hide(),this.el().setAttribute("aria-hidden","true"),this.trigger("modalclose"),this.options_.temporary&&this.dispose()}return this},j.prototype.closeable=function(C){if(typeof C=="boolean"){var O=this.closeable_=!!C,b=this.getChild("closeButton");if(O&&!b){var T=this.contentEl_;this.contentEl_=this.el_,b=this.addChild("closeButton"),this.contentEl_=T,this.on(b,"close",this.close)}!O&&b&&(this.off(b,"close",this.close),this.removeChild(b),b.dispose())}return this.closeable_},j.prototype.fill=function(){return this.fillWith(this.content())},j.prototype.fillWith=function(k){var C=this.contentEl(),O=C.parentNode,b=C.nextSibling;return this.trigger("beforemodalfill"),this.hasBeenFilled_=!0,O.removeChild(C),this.empty(),u.insertContent(C,k),this.trigger("modalfill"),b?O.insertBefore(C,b):O.appendChild(C),this},j.prototype.empty=function(){return this.trigger("beforemodalempty"),u.emptyEl(this.contentEl()),this.trigger("modalempty"),this},j.prototype.content=function(k){return typeof k!="undefined"&&(this.content_=k),this.content_},j}(p.default);v.prototype.options_={temporary:!0},p.default.registerComponent("ModalDialog",v),e.default=v,w.exports=e.default},{"./close-button":66,"./component":67,"./utils/dom":132,"./utils/fn":134,"./utils/log":137,"global/document":1}],108:[function(t,w,e){"use strict";function c(Y){if(Y&&Y.__esModule)return Y;var L={};if(Y!=null)for(var S in Y)Object.prototype.hasOwnProperty.call(Y,S)&&(L[S]=Y[S]);return L.default=Y,L}function o(Y){return Y&&Y.__esModule?Y:{default:Y}}function m(Y,L){if(!(Y instanceof L))throw new TypeError("Cannot call a class as a function")}function g(Y,L){if(typeof L!="function"&&L!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof L);Y.prototype=Object.create(L&&L.prototype,{constructor:{value:Y,enumerable:!1,writable:!0,configurable:!0}}),L&&(Object.setPrototypeOf?Object.setPrototypeOf(Y,L):Y.__proto__=L)}e.__esModule=!0;var h=t("./component.js"),a=o(h),f=t("global/document"),u=o(f),r=t("global/window"),n=o(r),y=t("./utils/events.js"),i=c(y),p=t("./utils/dom.js"),l=c(p),_=t("./utils/fn.js"),d=c(_),v=t("./utils/guid.js"),s=c(v),j=t("./utils/browser.js"),k=c(j),C=t("./utils/log.js"),O=o(C),b=t("./utils/to-title-case.js"),T=o(b),P=t("./utils/time-ranges.js"),D=t("./utils/buffer.js"),F=t("./utils/stylesheet.js"),N=c(F),A=t("./fullscreen-api.js"),I=o(A),R=t("./media-error.js"),E=o(R),x=t("safe-json-parse/tuple"),M=o(x),$=t("object.assign"),U=o($),X=t("./utils/merge-options.js"),Z=o(X),rt=t("./tracks/text-track-list-converter.js"),ot=o(rt),at=t("./tech/loader.js"),ct=(o(at),t("./poster-image.js")),st=(o(ct),t("./tracks/text-track-display.js")),dt=(o(st),t("./loading-spinner.js")),ft=(o(dt),t("./big-play-button.js")),B=(o(ft),t("./control-bar/control-bar.js")),V=(o(B),t("./error-display.js")),G=(o(V),t("./tracks/text-track-settings.js")),q=(o(G),t("./modal-dialog")),tt=o(q),lt=t("./tech/tech.js"),z=o(lt),et=t("./tech/html5.js"),Q=(o(et),function(Y){function L(S,H,W){var K=this;if(m(this,L),S.id=S.id||"vjs_video_"+s.newGUID(),H=U.default(L.getTagSettings(S),H),H.initChildren=!1,H.createEl=!1,H.reportTouchActivity=!1,Y.call(this,null,H,W),!this.options_||!this.options_.techOrder||!this.options_.techOrder.length)throw new Error("No techOrder specified. Did you overwrite videojs.options instead of just changing the properties you want to override?");this.tag=S,this.tagAttributes=S&&l.getElAttributes(S),this.language(this.options_.language),H.languages?function(){var J={};Object.getOwnPropertyNames(H.languages).forEach(function(nt){J[nt.toLowerCase()]=H.languages[nt]}),K.languages_=J}():this.languages_=L.prototype.options_.languages,this.cache_={},this.poster_=H.poster||"",this.controls_=!!H.controls,S.controls=!1,this.scrubbing_=!1,this.el_=this.createEl();var ut=Z.default(this.options_);H.plugins&&function(){var J=H.plugins;Object.getOwnPropertyNames(J).forEach(function(nt){typeof this[nt]=="function"?this[nt](J[nt]):O.default.error("Unable to find plugin:",nt)},K)}(),this.options_.playerOptions=ut,this.initChildren(),this.isAudio(S.nodeName.toLowerCase()==="audio"),this.addClass(this.controls()?"vjs-controls-enabled":"vjs-controls-disabled"),this.isAudio()&&this.addClass("vjs-audio"),this.flexNotSupported_()&&this.addClass("vjs-no-flex"),k.IS_IOS||this.addClass("vjs-workinghover"),L.players[this.id_]=this,this.userActive(!0),this.reportUserActivity(),this.listenForUserActivity_(),this.on("fullscreenchange",this.handleFullscreenChange_),this.on("stageclick",this.handleStageClick_)}return g(L,Y),L.prototype.dispose=function(){this.trigger("dispose"),this.off("dispose"),this.styleEl_&&this.styleEl_.parentNode&&this.styleEl_.parentNode.removeChild(this.styleEl_),L.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(),Y.prototype.dispose.call(this)},L.prototype.createEl=function(){var S=this.el_=Y.prototype.createEl.call(this,"div"),H=this.tag;H.removeAttribute("width"),H.removeAttribute("height");var W=l.getElAttributes(H);Object.getOwnPropertyNames(W).forEach(function(J){J==="class"?S.className=W[J]:S.setAttribute(J,W[J])}),H.playerId=H.id,H.id+="_html5_api",H.className="vjs-tech",H.player=S.player=this,this.addClass("vjs-paused"),this.styleEl_=N.createStyleElement("vjs-styles-dimensions");var K=l.$(".vjs-styles-defaults"),ut=l.$("head");return ut.insertBefore(this.styleEl_,K?K.nextSibling:ut.firstChild),this.width(this.options_.width),this.height(this.options_.height),this.fluid(this.options_.fluid),this.aspectRatio(this.options_.aspectRatio),H.initNetworkState_=H.networkState,H.parentNode&&H.parentNode.insertBefore(S,H),l.insertElFirst(H,S),this.children_.unshift(H),this.el_=S,S},L.prototype.width=function(S){return this.dimension("width",S)},L.prototype.height=function(S){return this.dimension("height",S)},L.prototype.dimension=function(S,H){var W=S+"_";if(H===void 0)return this[W]||0;if(H==="")this[W]=void 0;else{var K=parseFloat(H);if(isNaN(K))return O.default.error('Improper value "'+H+'" supplied for for '+S),this;this[W]=K}return this.updateStyleEl_(),this},L.prototype.fluid=function(S){return S===void 0?!!this.fluid_:(this.fluid_=!!S,void(S?this.addClass("vjs-fluid"):this.removeClass("vjs-fluid")))},L.prototype.aspectRatio=function(S){if(S===void 0)return this.aspectRatio_;if(!/^\d+\:\d+$/.test(S))throw new Error("Improper value supplied for aspect ratio. The format should be width:height, for example 16:9.");this.aspectRatio_=S,this.fluid(!0),this.updateStyleEl_()},L.prototype.updateStyleEl_=function(){var S=void 0,H=void 0,W=void 0,K=void 0;W=this.aspectRatio_!==void 0&&this.aspectRatio_!=="auto"?this.aspectRatio_:this.videoWidth()?this.videoWidth()+":"+this.videoHeight():"16:9";var ut=W.split(":"),J=ut[1]/ut[0];S=this.width_!==void 0?this.width_:this.height_!==void 0?this.height_/J:this.videoWidth()||300,H=this.height_!==void 0?this.height_:S*J,K=/^[^a-zA-Z]/.test(this.id())?"dimensions-"+this.id():this.id()+"-dimensions",this.addClass(K),N.setTextContent(this.styleEl_,`
.`+K+` {
width: `+S+`px;
height: `+H+`px;
}
.`+K+`.vjs-fluid {
padding-top: `+100*J+`%;
}
`)},L.prototype.loadTech_=function(S,H){this.tech_&&this.unloadTech_(),S!=="Html5"&&this.tag&&(z.default.getTech("Html5").disposeMediaElement(this.tag),this.tag.player=null,this.tag=null),this.techName_=S,this.isReady_=!1;var W=U.default({nativeControlsForTouch:this.options_.nativeControlsForTouch,source:H,playerId:this.id(),techId:this.id()+"_"+S+"_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_[S.toLowerCase()]);this.tag&&(W.tag=this.tag),H&&(this.currentType_=H.type,H.src===this.cache_.src&&this.cache_.currentTime>0&&(W.startTime=this.cache_.currentTime),this.cache_.src=H.src);var K=z.default.getTech(S);K||(K=a.default.getComponent(S)),this.tech_=new K(W),this.tech_.ready(d.bind(this,this.handleTechReady_),!0),ot.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()||S==="Html5"&&this.tag||l.insertElFirst(this.tech_.el(),this.el()),this.tag&&(this.tag.player=null,this.tag=null)},L.prototype.unloadTech_=function(){this.textTracks_=this.textTracks(),this.textTracksJson_=ot.default.textTracksToJson(this.tech_),this.isReady_=!1,this.tech_.dispose(),this.tech_=!1},L.prototype.tech=function(S){if(S&&S.IWillNotUseThisInPlugins)return this.tech_;var H=`
Please make sure that you are not using this inside of a plugin.
To disable this alert and error, please pass in an object with
\`IWillNotUseThisInPlugins\` to the \`tech\` method. See
https://github.com/videojs/video.js/issues/2617 for more info.
`;throw n.default.alert(H),new Error(H)},L.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_)},L.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_)},L.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())},L.prototype.handleTechLoadStart_=function(){this.removeClass("vjs-ended"),this.error(null),this.paused()?(this.hasStarted(!1),this.trigger("loadstart")):(this.trigger("loadstart"),this.trigger("firstplay"))},L.prototype.hasStarted=function(S){return S!==void 0?(this.hasStarted_!==S&&(this.hasStarted_=S,S?(this.addClass("vjs-has-started"),this.trigger("firstplay")):this.removeClass("vjs-has-started")),this):!!this.hasStarted_},L.prototype.handleTechPlay_=function(){this.removeClass("vjs-ended"),this.removeClass("vjs-paused"),this.addClass("vjs-playing"),this.hasStarted(!0),this.trigger("play")},L.prototype.handleTechWaiting_=function(){var S=this;this.addClass("vjs-waiting"),this.trigger("waiting"),this.one("timeupdate",function(){return S.removeClass("vjs-waiting")})},L.prototype.handleTechCanPlay_=function(){this.removeClass("vjs-waiting"),this.trigger("canplay")},L.prototype.handleTechCanPlayThrough_=function(){this.removeClass("vjs-waiting"),this.trigger("canplaythrough")},L.prototype.handleTechPlaying_=function(){this.removeClass("vjs-waiting"),this.trigger("playing")},L.prototype.handleTechSeeking_=function(){this.addClass("vjs-seeking"),this.trigger("seeking")},L.prototype.handleTechSeeked_=function(){this.removeClass("vjs-seeking"),this.trigger("seeked")},L.prototype.handleTechFirstPlay_=function(){this.options_.starttime&&this.currentTime(this.options_.starttime),this.addClass("vjs-has-started"),this.trigger("firstplay")},L.prototype.handleTechPause_=function(){this.removeClass("vjs-playing"),this.addClass("vjs-paused"),this.trigger("pause")},L.prototype.handleTechProgress_=function(){this.trigger("progress")},L.prototype.handleTechEnded_=function(){this.addClass("vjs-ended"),this.options_.loop?(this.currentTime(0),this.play()):this.paused()||this.pause(),this.trigger("ended")},L.prototype.handleTechDurationChange_=function(){this.duration(this.techGet_("duration"))},L.prototype.handleTechClick_=function(S){S.button===0&&this.controls()&&(this.paused()?this.play():this.pause())},L.prototype.handleTechTap_=function(){this.userActive(!this.userActive())},L.prototype.handleTechTouchStart_=function(){this.userWasActive=this.userActive()},L.prototype.handleTechTouchMove_=function(){this.userWasActive&&this.reportUserActivity()},L.prototype.handleTechTouchEnd_=function(S){S.preventDefault()},L.prototype.handleFullscreenChange_=function(){this.isFullscreen()?this.addClass("vjs-fullscreen"):this.removeClass("vjs-fullscreen")},L.prototype.handleStageClick_=function(){this.reportUserActivity()},L.prototype.handleTechFullscreenChange_=function(S,H){H&&this.isFullscreen(H.isFullscreen),this.trigger("fullscreenchange")},L.prototype.handleTechError_=function(){var S=this.tech_.error();this.error(S&&S.code)},L.prototype.handleTechSuspend_=function(){this.trigger("suspend")},L.prototype.handleTechAbort_=function(){this.trigger("abort")},L.prototype.handleTechEmptied_=function(){this.trigger("emptied")},L.prototype.handleTechStalled_=function(){this.trigger("stalled")},L.prototype.handleTechLoadedMetaData_=function(){this.trigger("loadedmetadata")},L.prototype.handleTechLoadedData_=function(){this.trigger("loadeddata")},L.prototype.handleTechTimeUpdate_=function(){this.trigger("timeupdate")},L.prototype.handleTechRateChange_=function(){this.trigger("ratechange")},L.prototype.handleTechVolumeChange_=function(){this.trigger("volumechange")},L.prototype.handleTechTextTrackChange_=function(){this.trigger("texttrackchange")},L.prototype.getCache=function(){return this.cache_},L.prototype.techCall_=function(S,H){if(this.tech_&&!this.tech_.isReady_)this.tech_.ready(function(){this[S](H)},!0);else try{this.tech_[S](H)}catch(W){throw O.default(W),W}},L.prototype.techGet_=function(S){if(this.tech_&&this.tech_.isReady_)try{return this.tech_[S]()}catch(H){throw this.tech_[S]===void 0?O.default("Video.js: "+S+" method not defined for "+this.techName_+" playback technology.",H):H.name==="TypeError"?(O.default("Video.js: "+S+" unavailable on "+this.techName_+" playback technology element.",H),this.tech_.isReady_=!1):O.default(H),H}},L.prototype.play=function(){return this.techCall_("play"),this},L.prototype.pause=function(){return this.techCall_("pause"),this},L.prototype.paused=function(){return this.techGet_("paused")!==!1},L.prototype.scrubbing=function(S){return S!==void 0?(this.scrubbing_=!!S,S?this.addClass("vjs-scrubbing"):this.removeClass("vjs-scrubbing"),this):this.scrubbing_},L.prototype.currentTime=function(S){return S!==void 0?(this.techCall_("setCurrentTime",S),this):this.cache_.currentTime=this.techGet_("currentTime")||0},L.prototype.duration=function(S){return S===void 0?this.cache_.duration||0:(S=parseFloat(S)||0,0>S&&(S=1/0),S!==this.cache_.duration&&(this.cache_.duration=S,S===1/0?this.addClass("vjs-live"):this.removeClass("vjs-live"),this.trigger("durationchange")),this)},L.prototype.remainingTime=function(){return this.duration()-this.currentTime()},L.prototype.buffered=function(){var H=this.techGet_("buffered");return H&&H.length||(H=P.createTimeRange(0,0)),H},L.prototype.bufferedPercent=function(){return D.bufferedPercent(this.buffered(),this.duration())},L.prototype.bufferedEnd=function(){var S=this.buffered(),H=this.duration(),W=S.end(S.length-1);return W>H&&(W=H),W},L.prototype.volume=function(S){var H=void 0;return S!==void 0?(H=Math.max(0,Math.min(1,parseFloat(S))),this.cache_.volume=H,this.techCall_("setVolume",H),this):(H=parseFloat(this.techGet_("volume")),isNaN(H)?1:H)},L.prototype.muted=function(S){return S!==void 0?(this.techCall_("setMuted",S),this):this.techGet_("muted")||!1},L.prototype.supportsFullScreen=function(){return this.techGet_("supportsFullScreen")||!1},L.prototype.isFullscreen=function(S){return S!==void 0?(this.isFullscreen_=!!S,this):!!this.isFullscreen_},L.prototype.requestFullscreen=function(){var S=I.default;return this.isFullscreen(!0),S.requestFullscreen?(i.on(u.default,S.fullscreenchange,d.bind(this,function H(){this.isFullscreen(u.default[S.fullscreenElement]),this.isFullscreen()===!1&&i.off(u.default,S.fullscreenchange,H),this.trigger("fullscreenchange")})),this.el_[S.requestFullscreen]()):this.tech_.supportsFullScreen()?this.techCall_("enterFullScreen"):(this.enterFullWindow(),this.trigger("fullscreenchange")),this},L.prototype.exitFullscreen=function(){var S=I.default;return this.isFullscreen(!1),S.requestFullscreen?u.default[S.exitFullscreen]():this.tech_.supportsFullScreen()?this.techCall_("exitFullScreen"):(this.exitFullWindow(),this.trigger("fullscreenchange")),this},L.prototype.enterFullWindow=function(){this.isFullWindow=!0,this.docOrigOverflow=u.default.documentElement.style.overflow,i.on(u.default,"keydown",d.bind(this,this.fullWindowOnEscKey)),u.default.documentElement.style.overflow="hidden",l.addElClass(u.default.body,"vjs-full-window"),this.trigger("enterFullWindow")},L.prototype.fullWindowOnEscKey=function(S){S.keyCode===27&&(this.isFullscreen()===!0?this.exitFullscreen():this.exitFullWindow())},L.prototype.exitFullWindow=function(){this.isFullWindow=!1,i.off(u.default,"keydown",this.fullWindowOnEscKey),u.default.documentElement.style.overflow=this.docOrigOverflow,l.removeElClass(u.default.body,"vjs-full-window"),this.trigger("exitFullWindow")},L.prototype.canPlayType=function(S){for(var H=void 0,W=0,K=this.options_.techOrder;W<K.length;W++){var ut=T.default(K[W]),J=z.default.getTech(ut);if(J||(J=a.default.getComponent(ut)),J){if(J.isSupported()&&(H=J.canPlayType(S)))return H}else O.default.error('The "'+ut+'" tech is undefined. Skipped browser support check for that tech.')}return""},L.prototype.selectSource=function(S){var H=this.options_.techOrder.map(T.default).map(function(nt){return[nt,z.default.getTech(nt)||a.default.getComponent(nt)]}).filter(function(nt){var pt=nt[0],it=nt[1];return it?it.isSupported():(O.default.error('The "'+pt+'" tech is undefined. Skipped browser support check for that tech.'),!1)}),W=function(nt,pt,it){var vt=void 0;return nt.some(function(mt){return pt.some(function(gt){return vt=it(mt,gt),vt?!0:void 0})}),vt},K=void 0,ut=function(nt){return function(pt,it){return nt(it,pt)}},J=function(nt,pt){var it=nt[0],vt=nt[1];return vt.canPlaySource(pt)?{source:pt,tech:it}:void 0};return K=this.options_.sourceOrder?W(S,H,ut(J)):W(H,S,J),K||!1},L.prototype.src=function(S){if(S===void 0)return this.techGet_("src");var H=z.default.getTech(this.techName_);return H||(H=a.default.getComponent(this.techName_)),Array.isArray(S)?this.sourceList_(S):typeof S=="string"?this.src({src:S}):S instanceof Object&&(S.type&&!H.canPlaySource(S)?this.sourceList_([S]):(this.cache_.src=S.src,this.currentType_=S.type||"",this.ready(function(){H.prototype.hasOwnProperty("setSource")?this.techCall_("setSource",S):this.techCall_("src",S.src),this.options_.preload==="auto"&&this.load(),this.options_.autoplay&&this.play()},!0))),this},L.prototype.sourceList_=function(S){var H=this.selectSource(S);H?H.tech===this.techName_?this.src(H.source):this.loadTech_(H.tech,H.source):(this.setTimeout(function(){this.error({code:4,message:this.localize(this.options_.notSupportedMessage)})},0),this.triggerReady())},L.prototype.load=function(){return this.techCall_("load"),this},L.prototype.reset=function(){return this.loadTech_(T.default(this.options_.techOrder[0]),null),this.techCall_("reset"),this},L.prototype.currentSrc=function(){return this.techGet_("currentSrc")||this.cache_.src||""},L.prototype.currentType=function(){return this.currentType_||""},L.prototype.preload=function(S){return S!==void 0?(this.techCall_("setPreload",S),this.options_.preload=S,this):this.techGet_("preload")},L.prototype.autoplay=function(S){return S!==void 0?(this.techCall_("setAutoplay",S),this.options_.autoplay=S,this):this.techGet_("autoplay",S)},L.prototype.loop=function(S){return S!==void 0?(this.techCall_("setLoop",S),this.options_.loop=S,this):this.techGet_("loop")},L.prototype.poster=function(S){return S===void 0?this.poster_:(S||(S=""),this.poster_=S,this.techCall_("setPoster",S),this.trigger("posterchange"),this)},L.prototype.handleTechPosterChange_=function(){!this.poster_&&this.tech_&&this.tech_.poster&&(this.poster_=this.tech_.poster()||"",this.trigger("posterchange"))},L.prototype.controls=function(S){return S!==void 0?(S=!!S,this.controls_!==S&&(this.controls_=S,this.usingNativeControls()&&this.techCall_("setControls",S),S?(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_},L.prototype.usingNativeControls=function(S){return S!==void 0?(S=!!S,this.usingNativeControls_!==S&&(this.usingNativeControls_=S,S?(this.addClass("vjs-using-native-controls"),this.trigger("usingnativecontrols")):(this.removeClass("vjs-using-native-controls"),this.trigger("usingcustomcontrols"))),this):!!this.usingNativeControls_},L.prototype.error=function(S){return S===void 0?this.error_||null:S===null?(this.error_=S,this.removeClass("vjs-error"),this.errorDisplay.close(),this):(this.error_=S instanceof E.default?S:new E.default(S),this.addClass("vjs-error"),O.default.error("(CODE:"+this.error_.code+" "+E.default.errorTypes[this.error_.code]+")",this.error_.message,this.error_),this.trigger("error"),this)},L.prototype.ended=function(){return this.techGet_("ended")},L.prototype.seeking=function(){return this.techGet_("seeking")},L.prototype.seekable=function(){return this.techGet_("seekable")},L.prototype.reportUserActivity=function(){this.userActivity_=!0},L.prototype.userActive=function(S){return S!==void 0?(S=!!S,S!==this.userActive_&&(this.userActive_=S,S?(this.userActivity_=!0,this.removeClass("vjs-user-inactive"),this.addClass("vjs-user-active"),this.trigger("useractive")):(this.userActivity_=!1,this.tech_&&this.tech_.one("mousemove",function(H){H.stopPropagation(),H.preventDefault()}),this.removeClass("vjs-user-active"),this.addClass("vjs-user-inactive"),this.trigger("userinactive"))),this):this.userActive_},L.prototype.listenForUserActivity_=function(){var S=void 0,H=void 0,W=void 0,K=d.bind(this,this.reportUserActivity),ut=function(it){(it.screenX!==H||it.screenY!==W)&&(H=it.screenX,W=it.screenY,K())},J=function(){K(),this.clearInterval(S),S=this.setInterval(K,250)},nt=function(){K(),this.clearInterval(S)};this.on("mousedown",J),this.on("mousemove",ut),this.on("mouseup",nt),this.on("keydown",K),this.on("keyup",K);{var pt=void 0;this.setInterval(function(){if(this.userActivity_){this.userActivity_=!1,this.userActive(!0),this.clearTimeout(pt);var it=this.options_.inactivityTimeout;it>0&&(pt=this.setTimeout(function(){this.userActivity_||this.userActive(!1)},it))}},250)}},L.prototype.playbackRate=function(S){return S!==void 0?(this.techCall_("setPlaybackRate",S),this):this.tech_&&this.tech_.featuresPlaybackRate?this.techGet_("playbackRate"):1},L.prototype.isAudio=function(S){return S!==void 0?(this.isAudio_=!!S,this):!!this.isAudio_},L.prototype.networkState=function(){return this.techGet_("networkState")},L.prototype.readyState=function(){return this.techGet_("readyState")},L.prototype.textTracks=function(){return this.tech_&&this.tech_.textTracks()},L.prototype.remoteTextTracks=function(){return this.tech_&&this.tech_.remoteTextTracks()},L.prototype.remoteTextTrackEls=function(){return this.tech_&&this.tech_.remoteTextTrackEls()},L.prototype.addTextTrack=function(S,H,W){return this.tech_&&this.tech_.addTextTrack(S,H,W)},L.prototype.addRemoteTextTrack=function(S){return this.tech_&&this.tech_.addRemoteTextTrack(S)},L.prototype.removeRemoteTextTrack=function(S){this.tech_&&this.tech_.removeRemoteTextTrack(S)},L.prototype.videoWidth=function(){return this.tech_&&this.tech_.videoWidth&&this.tech_.videoWidth()||0},L.prototype.videoHeight=function(){return this.tech_&&this.tech_.videoHeight&&this.tech_.videoHeight()||0},L.prototype.language=function(S){return S===void 0?this.language_:(this.language_=(""+S).toLowerCase(),this)},L.prototype.languages=function(){return Z.default(L.prototype.options_.languages,this.languages_)},L.prototype.toJSON=function(){var S=Z.default(this.options_),H=S.tracks;S.tracks=[];for(var W=0;W<H.length;W++){var K=H[W];K=Z.default(K),K.player=void 0,S.tracks[W]=K}return S},L.prototype.createModal=function(S,H){var W=this;H=H||{},H.content=S||"";var K=new tt.default(W,H);return W.addChild(K),K.on("dispose",function(){W.removeChild(K)}),K.open()},L.getTagSettings=function(S){var H={sources:[],tracks:[]},W=l.getElAttributes(S),K=W["data-setup"];if(K!==null){var ut=M.default(K||"{}"),J=ut[0],nt=ut[1];J&&O.default.error(J),U.default(W,nt)}if(U.default(H,W),S.hasChildNodes())for(var pt=S.childNodes,it=0,vt=pt.length;vt>it;it++){var mt=pt[it],gt=mt.nodeName.toLowerCase();gt==="source"?H.sources.push(l.getElAttributes(mt)):gt==="track"&&H.tracks.push(l.getElAttributes(mt))}return H},L}(a.default));Q.players={};var ht=n.default.navigator;Q.prototype.options_={techOrder:["html5","flash"],html5:{},flash:{},defaultVolume:0,inactivityTimeout:2e3,playbackRates:[],children:["mediaLoader","posterImage","textTrackDisplay","loadingSpinner","bigPlayButton","controlBar","errorDisplay","textTrackSettings"],language:u.default.getElementsByTagName("html")[0].getAttribute("lang")||ht.languages&&ht.languages[0]||ht.userLanguage||ht.language||"en",languages:{},notSupportedMessage:"No compatible source was found for this media."},Q.prototype.handleLoadedMetaData_,Q.prototype.handleLoadedData_,Q.prototype.handleUserActive_,Q.prototype.handleUserInactive_,Q.prototype.handleTimeUpdate_,Q.prototype.handleTechEnded_,Q.prototype.handleVolumeChange_,Q.prototype.handleError_,Q.prototype.flexNotSupported_=function(){var Y=u.default.createElement("i");return!("flexBasis"in Y.style||"webkitFlexBasis"in Y.style||"mozFlexBasis"in Y.style||"msFlexBasis"in Y.style||"msFlexOrder"in Y.style)},a.default.registerComponent("Player",Q),e.default=Q,w.exports=e.default},{"./big-play-button.js":63,"./component.js":67,"./control-bar/control-bar.js":68,"./error-display.js":98,"./fullscreen-api.js":101,"./loading-spinner.js":102,"./media-error.js":103,"./modal-dialog":107,"./poster-image.js":112,"./tech/html5.js":117,"./tech/loader.js":118,"./tech/tech.js":119,"./tracks/text-track-display.js":123,"./tracks/text-track-list-converter.js":125,"./tracks/text-track-settings.js":127,"./utils/browser.js":129,"./utils/buffer.js":130,"./utils/dom.js":132,"./utils/events.js":133,"./utils/fn.js":134,"./utils/guid.js":136,"./utils/log.js":137,"./utils/merge-options.js":138,"./utils/stylesheet.js":139,"./utils/time-ranges.js":140,"./utils/to-title-case.js":141,"global/document":1,"global/window":2,"object.assign":45,"safe-json-parse/tuple":54}],109:[function(t,w,e){"use strict";function c(h){return h&&h.__esModule?h:{default:h}}e.__esModule=!0;var o=t("./player.js"),m=c(o),g=function(h,a){m.default.prototype[h]=a};e.default=g,w.exports=e.default},{"./player.js":108}],110:[function(t,w,e){"use strict";function c(l){if(l&&l.__esModule)return l;var _={};if(l!=null)for(var d in l)Object.prototype.hasOwnProperty.call(l,d)&&(_[d]=l[d]);return _.default=l,_}function o(l){return l&&l.__esModule?l:{default:l}}function m(l,_){if(!(l instanceof _))throw new TypeError("Cannot call a class as a function")}function g(l,_){if(typeof _!="function"&&_!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof _);l.prototype=Object.create(_&&_.prototype,{constructor:{value:l,enumerable:!1,writable:!0,configurable:!0}}),_&&(Object.setPrototypeOf?Object.setPrototypeOf(l,_):l.__proto__=_)}e.__esModule=!0;var h=t("../clickable-component.js"),a=o(h),f=t("../component.js"),u=o(f),r=t("./popup.js"),n=(o(r),t("../utils/dom.js")),y=(c(n),t("../utils/fn.js")),i=(c(y),t("../utils/to-title-case.js")),p=(o(i),function(l){function _(d){var v=arguments.length<=1||arguments[1]===void 0?{}:arguments[1];m(this,_),l.call(this,d,v),this.update()}return g(_,l),_.prototype.update=function(){var d=this.createPopup();this.popup&&this.removeChild(this.popup),this.popup=d,this.addChild(d),this.items&&this.items.length===0?this.hide():this.items&&this.items.length>1&&this.show()},_.prototype.createPopup=function(){},_.prototype.createEl=function(){return l.prototype.createEl.call(this,"div",{className:this.buildCSSClass()})},_.prototype.buildCSSClass=function(){var d="vjs-menu-button";return d+=this.options_.inline===!0?"-inline":"-popup","vjs-menu-button "+d+" "+l.prototype.buildCSSClass.call(this)},_}(a.default));u.default.registerComponent("PopupButton",p),e.default=p,w.exports=e.default},{"../clickable-component.js":65,"../component.js":67,"../utils/dom.js":132,"../utils/fn.js":134,"../utils/to-title-case.js":141,"./popup.js":111}],111:[function(t,w,e){"use strict";function c(l){if(l&&l.__esModule)return l;var _={};if(l!=null)for(var d in l)Object.prototype.hasOwnProperty.call(l,d)&&(_[d]=l[d]);return _.default=l,_}function o(l){return l&&l.__esModule?l:{default:l}}function m(l,_){if(!(l instanceof _))throw new TypeError("Cannot call a class as a function")}function g(l,_){if(typeof _!="function"&&_!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof _);l.prototype=Object.create(_&&_.prototype,{constructor:{value:l,enumerable:!1,writable:!0,configurable:!0}}),_&&(Object.setPrototypeOf?Object.setPrototypeOf(l,_):l.__proto__=_)}e.__esModule=!0;var h=t("../component.js"),a=o(h),f=t("../utils/dom.js"),u=c(f),r=t("../utils/fn.js"),n=c(r),y=t("../utils/events.js"),i=c(y),p=function(l){function _(){m(this,_),l.apply(this,arguments)}return g(_,l),_.prototype.addItem=function(d){this.addChild(d),d.on("click",n.bind(this,function(){this.unlockShowing()}))},_.prototype.createEl=function(){var d=this.options_.contentElType||"ul";this.contentEl_=u.createEl(d,{className:"vjs-menu-content"});var v=l.prototype.createEl.call(this,"div",{append:this.contentEl_,className:"vjs-menu"});return v.appendChild(this.contentEl_),i.on(v,"click",function(s){s.preventDefault(),s.stopImmediatePropagation()}),v},_}(a.default);a.default.registerComponent("Popup",p),e.default=p,w.exports=e.default},{"../component.js":67,"../utils/dom.js":132,"../utils/events.js":133,"../utils/fn.js":134}],112:[function(t,w,e){"use strict";function c(d){if(d&&d.__esModule)return d;var v={};if(d!=null)for(var s in d)Object.prototype.hasOwnProperty.call(d,s)&&(v[s]=d[s]);return v.default=d,v}function o(d){return d&&d.__esModule?d:{default:d}}function m(d,v){if(!(d instanceof v))throw new TypeError("Cannot call a class as a function")}function g(d,v){if(typeof v!="function"&&v!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof v);d.prototype=Object.create(v&&v.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),v&&(Object.setPrototypeOf?Object.setPrototypeOf(d,v):d.__proto__=v)}e.__esModule=!0;var h=t("./clickable-component.js"),a=o(h),f=t("./component.js"),u=o(f),r=t("./utils/fn.js"),n=c(r),y=t("./utils/dom.js"),i=c(y),p=t("./utils/browser.js"),l=c(p),_=function(d){function v(s,j){m(this,v),d.call(this,s,j),this.update(),s.on("posterchange",n.bind(this,this.update))}return g(v,d),v.prototype.dispose=function(){this.player().off("posterchange",this.update),d.prototype.dispose.call(this)},v.prototype.createEl=function(){var s=i.createEl("div",{className:"vjs-poster",tabIndex:-1});return l.BACKGROUND_SIZE_SUPPORTED||(this.fallbackImg_=i.createEl("img"),s.appendChild(this.fallbackImg_)),s},v.prototype.update=function(){var s=this.player().poster();this.setSrc(s),s?this.show():this.hide()},v.prototype.setSrc=function(s){if(this.fallbackImg_)this.fallbackImg_.src=s;else{var j="";s&&(j='url("'+s+'")'),this.el_.style.backgroundImage=j}},v.prototype.handleClick=function(){this.player_.paused()?this.player_.play():this.player_.pause()},v}(a.default);u.default.registerComponent("PosterImage",_),e.default=_,w.exports=e.default},{"./clickable-component.js":65,"./component.js":67,"./utils/browser.js":129,"./utils/dom.js":132,"./utils/fn.js":134}],113:[function(t,w,e){"use strict";function c(l){return l&&l.__esModule?l:{default:l}}function o(l){if(l&&l.__esModule)return l;var _={};if(l!=null)for(var d in l)Object.prototype.hasOwnProperty.call(l,d)&&(_[d]=l[d]);return _.default=l,_}e.__esModule=!0;var m=t("./utils/events.js"),g=o(m),h=t("global/document"),a=c(h),f=t("global/window"),u=c(f),r=!1,n=void 0,y=function(){var l=a.default.getElementsByTagName("video"),_=a.default.getElementsByTagName("audio"),d=[];if(l&&l.length>0)for(var v=0,s=l.length;s>v;v++)d.push(l[v]);if(_&&_.length>0)for(var v=0,s=_.length;s>v;v++)d.push(_[v]);if(d&&d.length>0)for(var v=0,s=d.length;s>v;v++){var j=d[v];if(!j||!j.getAttribute){i(1);break}if(j.player===void 0){var k=j.getAttribute("data-setup");k!==null&&n(j)}}else r||i(1)},i=function(l,_){n=_,setTimeout(y,l)};a.default.readyState==="complete"?r=!0:g.one(u.default,"load",function(){r=!0});var p=function(){return r};e.autoSetup=y,e.autoSetupTimeout=i,e.hasLoaded=p},{"./utils/events.js":133,"global/document":1,"global/window":2}],114:[function(t,w,e){"use strict";function c(l){if(l&&l.__esModule)return l;var _={};if(l!=null)for(var d in l)Object.prototype.hasOwnProperty.call(l,d)&&(_[d]=l[d]);return _.default=l,_}function o(l){return l&&l.__esModule?l:{default:l}}function m(l,_){if(!(l instanceof _))throw new TypeError("Cannot call a class as a function")}function g(l,_){if(typeof _!="function"&&_!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof _);l.prototype=Object.create(_&&_.prototype,{constructor:{value:l,enumerable:!1,writable:!0,configurable:!0}}),_&&(Object.setPrototypeOf?Object.setPrototypeOf(l,_):l.__proto__=_)}e.__esModule=!0;var h=t("../component.js"),a=o(h),f=t("../utils/dom.js"),u=c(f),r=t("global/document"),n=o(r),y=t("object.assign"),i=o(y),p=function(l){function _(d,v){m(this,_),l.call(this,d,v),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(d,"controlsvisible",this.update),this.on(d,this.playerEvent,this.update)}return g(_,l),_.prototype.createEl=function(d){var v=arguments.length<=1||arguments[1]===void 0?{}:arguments[1],s=arguments.length<=2||arguments[2]===void 0?{}:arguments[2];return v.className=v.className+" vjs-slider",v=i.default({tabIndex:0},v),s=i.default({role:"slider","aria-valuenow":0,"aria-valuemin":0,"aria-valuemax":100,tabIndex:0},s),l.prototype.createEl.call(this,d,v,s)},_.prototype.handleMouseDown=function(d){d.preventDefault(),u.blockTextSelection(),this.addClass("vjs-sliding"),this.trigger("slideractive"),this.on(n.default,"mousemove",this.handleMouseMove),this.on(n.default,"mouseup",this.handleMouseUp),this.on(n.default,"touchmove",this.handleMouseMove),this.on(n.default,"touchend",this.handleMouseUp),this.handleMouseMove(d)},_.prototype.handleMouseMove=function(){},_.prototype.handleMouseUp=function(){u.unblockTextSelection(),this.removeClass("vjs-sliding"),this.trigger("sliderinactive"),this.off(n.default,"mousemove",this.handleMouseMove),this.off(n.default,"mouseup",this.handleMouseUp),this.off(n.default,"touchmove",this.handleMouseMove),this.off(n.default,"touchend",this.handleMouseUp),this.update()},_.prototype.update=function(){if(this.el_){var d=this.getPercent(),v=this.bar;if(v){(typeof d!="number"||d!==d||0>d||d===1/0)&&(d=0);var s=(100*d).toFixed(2)+"%";this.vertical()?v.el().style.height=s:v.el().style.width=s}}},_.prototype.calculateDistance=function(d){var v=u.getPointerPosition(this.el_,d);return this.vertical()?v.y:v.x},_.prototype.handleFocus=function(){this.on(n.default,"keydown",this.handleKeyPress)},_.prototype.handleKeyPress=function(d){d.which===37||d.which===40?(d.preventDefault(),this.stepBack()):(d.which===38||d.which===39)&&(d.preventDefault(),this.stepForward())},_.prototype.handleBlur=function(){this.off(n.default,"keydown",this.handleKeyPress)},_.prototype.handleClick=function(d){d.stopImmediatePropagation(),d.preventDefault()},_.prototype.vertical=function(d){return d===void 0?this.vertical_||!1:(this.vertical_=!!d,this.addClass(this.vertical_?"vjs-slider-vertical":"vjs-slider-horizontal"),this)},_}(a.default);a.default.registerComponent("Slider",p),e.default=p,w.exports=e.default},{"../component.js":67,"../utils/dom.js":132,"global/document":1,"object.assign":45}],115:[function(t,w,e){"use strict";function c(o){return o.streamingFormats={"rtmp/mp4":"MP4","rtmp/flv":"FLV"},o.streamFromParts=function(m,g){return m+"&"+g},o.streamToParts=function(m){var g={connection:"",stream:""};if(!m)return g;var h=m.search(/&(?!\w+=)/),a=void 0;return h!==-1?a=h+1:(h=a=m.lastIndexOf("/")+1,h===0&&(h=a=m.length)),g.connection=m.substring(0,h),g.stream=m.substring(a,m.length),g},o.isStreamingType=function(m){return m in o.streamingFormats},o.RTMP_RE=/^rtmp[set]?:\/\//i,o.isStreamingSrc=function(m){return o.RTMP_RE.test(m)},o.rtmpSourceHandler={},o.rtmpSourceHandler.canPlayType=function(m){return o.isStreamingType(m)?"maybe":""},o.rtmpSourceHandler.canHandleSource=function(m){var g=o.rtmpSourceHandler.canPlayType(m.type);return g||(o.isStreamingSrc(m.src)?"maybe":"")},o.rtmpSourceHandler.handleSource=function(m,g){var h=o.streamToParts(m.src);g.setRtmpConnection(h.connection),g.setRtmpStream(h.stream)},o.registerSourceHandler(o.rtmpSourceHandler),o}e.__esModule=!0,e.default=c,w.exports=e.default},{}],116:[function(t,w,e){"use strict";function c(N){if(N&&N.__esModule)return N;var A={};if(N!=null)for(var I in N)Object.prototype.hasOwnProperty.call(N,I)&&(A[I]=N[I]);return A.default=N,A}function o(N){return N&&N.__esModule?N:{default:N}}function m(N,A){if(!(N instanceof A))throw new TypeError("Cannot call a class as a function")}function g(N,A){if(typeof A!="function"&&A!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof A);N.prototype=Object.create(A&&A.prototype,{constructor:{value:N,enumerable:!1,writable:!0,configurable:!0}}),A&&(Object.setPrototypeOf?Object.setPrototypeOf(N,A):N.__proto__=A)}function h(N){var A=N.charAt(0).toUpperCase()+N.slice(1);T["set"+A]=function(I){return this.el_.vjs_setProperty(N,I)}}function a(N){T[N]=function(){return this.el_.vjs_getProperty(N)}}e.__esModule=!0;for(var f=t("./tech"),u=o(f),r=t("../utils/dom.js"),n=c(r),y=t("../utils/url.js"),i=c(y),p=t("../utils/time-ranges.js"),l=t("./flash-rtmp"),_=o(l),d=t("../component"),v=o(d),s=t("global/window"),j=o(s),k=t("object.assign"),C=o(k),O=j.default.navigator,b=function(N){function A(I,R){m(this,A),N.call(this,I,R),I.source&&this.ready(function(){this.setSource(I.source)},!0),I.startTime&&this.ready(function(){this.load(),this.play(),this.currentTime(I.startTime)},!0),j.default.videojs=j.default.videojs||{},j.default.videojs.Flash=j.default.videojs.Flash||{},j.default.videojs.Flash.onReady=A.onReady,j.default.videojs.Flash.onEvent=A.onEvent,j.default.videojs.Flash.onError=A.onError,this.on("seeked",function(){this.lastSeekTarget_=void 0})}return g(A,N),A.prototype.createEl=function(){var I=this.options_;I.swf||(I.swf="//vjs.zencdn.net/swf/5.0.1/video-js.swf");var R=I.techId,E=C.default({readyFunction:"videojs.Flash.onReady",eventProxyFunction:"videojs.Flash.onEvent",errorEventProxyFunction:"videojs.Flash.onError",autoplay:I.autoplay,preload:I.preload,loop:I.loop,muted:I.muted},I.flashVars),x=C.default({wmode:"opaque",bgcolor:"#000000"},I.params),M=C.default({id:R,name:R,class:"vjs-tech"},I.attributes);return this.el_=A.embed(I.swf,E,x,M),this.el_.tech=this,this.el_},A.prototype.play=function(){this.ended()&&this.setCurrentTime(0),this.el_.vjs_play()},A.prototype.pause=function(){this.el_.vjs_pause()},A.prototype.src=function(I){return I===void 0?this.currentSrc():this.setSrc(I)},A.prototype.setSrc=function(I){if(I=i.getAbsoluteURL(I),this.el_.vjs_src(I),this.autoplay()){var R=this;this.setTimeout(function(){R.play()},0)}},A.prototype.seeking=function(){return this.lastSeekTarget_!==void 0},A.prototype.setCurrentTime=function(I){var R=this.seekable();R.length&&(I=I>R.start(0)?I:R.start(0),I=I<R.end(R.length-1)?I:R.end(R.length-1),this.lastSeekTarget_=I,this.trigger("seeking"),this.el_.vjs_setProperty("currentTime",I),N.prototype.setCurrentTime.call(this))},A.prototype.currentTime=function(){return this.seeking()?this.lastSeekTarget_||0:this.el_.vjs_getProperty("currentTime")},A.prototype.currentSrc=function(){return this.currentSource_?this.currentSource_.src:this.el_.vjs_getProperty("currentSrc")},A.prototype.load=function(){this.el_.vjs_load()},A.prototype.poster=function(){this.el_.vjs_getProperty("poster")},A.prototype.setPoster=function(){},A.prototype.seekable=function(){var I=this.duration();return I===0?p.createTimeRange():p.createTimeRange(0,I)},A.prototype.buffered=function(){var I=this.el_.vjs_getProperty("buffered");return I.length===0?p.createTimeRange():p.createTimeRange(I[0][0],I[0][1])},A.prototype.supportsFullScreen=function(){return!1},A.prototype.enterFullScreen=function(){return!1},A}(u.default),T=b.prototype,P="rtmpConnection,rtmpStream,preload,defaultPlaybackRate,playbackRate,autoplay,loop,mediaGroup,controller,controls,volume,muted,defaultMuted".split(","),D="networkState,readyState,initialTime,duration,startOffsetTime,paused,ended,videoTracks,audioTracks,videoWidth,videoHeight".split(","),F=0;F<P.length;F++)a(P[F]),h(P[F]);for(var F=0;F<D.length;F++)a(D[F]);b.isSupported=function(){return b.version()[0]>=10},u.default.withSourceHandlers(b),b.nativeSourceHandler={},b.nativeSourceHandler.canPlayType=function(N){return N in b.formats?"maybe":""},b.nativeSourceHandler.canHandleSource=function(N){function A(R){var E=i.getFileExtension(R);return E?"video/"+E:""}var I;return I=N.type?N.type.replace(/;.*/,"").toLowerCase():A(N.src),b.nativeSourceHandler.canPlayType(I)},b.nativeSourceHandler.handleSource=function(N,A){A.setSrc(N.src)},b.nativeSourceHandler.dispose=function(){},b.registerSourceHandler(b.nativeSourceHandler),b.formats={"video/flv":"FLV","video/x-flv":"FLV","video/mp4":"MP4","video/m4v":"MP4"},b.onReady=function(N){var A=n.getEl(N),I=A&&A.tech;I&&I.el()&&b.checkReady(I)},b.checkReady=function(N){N.el()&&(N.el().vjs_getProperty?N.triggerReady():this.setTimeout(function(){b.checkReady(N)},50))},b.onEvent=function(N,A){var I=n.getEl(N).tech;I.trigger(A)},b.onError=function(N,A){var I=n.getEl(N).tech;return A==="srcnotfound"?I.error(4):void I.error("FLASH: "+A)},b.version=function(){var N="0,0,0";try{N=new j.default.ActiveXObject("ShockwaveFlash.ShockwaveFlash").GetVariable("$version").replace(/\D+/g,",").match(/^,?(.+),?$/)[1]}catch(A){try{O.mimeTypes["application/x-shockwave-flash"].enabledPlugin&&(N=(O.plugins["Shockwave Flash 2.0"]||O.plugins["Shockwave Flash"]).description.replace(/\D+/g,",").match(/^,?(.+),?$/)[1])}catch(I){}}return N.split(",")},b.embed=function(N,A,I,R){var E=b.getEmbedCode(N,A,I,R),x=n.createEl("div",{innerHTML:E}).childNodes[0];return x},b.getEmbedCode=function(N,A,I,R){var E='<object type="application/x-shockwave-flash" ',x="",M="",$="";return A&&Object.getOwnPropertyNames(A).forEach(function(U){x+=U+"="+A[U]+"&amp;"}),I=C.default({movie:N,flashvars:x,allowScriptAccess:"always",allowNetworking:"all"},I),Object.getOwnPropertyNames(I).forEach(function(U){M+='<param name="'+U+'" value="'+I[U]+'" />'}),R=C.default({data:N,width:"100%",height:"100%"},R),Object.getOwnPropertyNames(R).forEach(function(U){$+=U+'="'+R[U]+'" '}),""+E+$+">"+M+"</object>"},_.default(b),v.default.registerComponent("Flash",b),u.default.registerTech("Flash",b),e.default=b,w.exports=e.default},{"../component":67,"../utils/dom.js":132,"../utils/time-ranges.js":140,"../utils/url.js":142,"./flash-rtmp":115,"./tech":119,"global/window":2,"object.assign":45}],117:[function(t,w,e){"use strict";function c(E){if(E&&E.__esModule)return E;var x={};if(E!=null)for(var M in E)Object.prototype.hasOwnProperty.call(E,M)&&(x[M]=E[M]);return x.default=E,x}function o(E){return E&&E.__esModule?E:{default:E}}function m(E,x){if(!(E instanceof x))throw new TypeError("Cannot call a class as a function")}function g(E,x){if(typeof x!="function"&&x!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof x);E.prototype=Object.create(x&&x.prototype,{constructor:{value:E,enumerable:!1,writable:!0,configurable:!0}}),x&&(Object.setPrototypeOf?Object.setPrototypeOf(E,x):E.__proto__=x)}e.__esModule=!0;var h=t("./tech.js"),a=o(h),f=t("../component"),u=o(f),r=t("../utils/dom.js"),n=c(r),y=t("../utils/url.js"),i=c(y),p=t("../utils/fn.js"),l=c(p),_=t("../utils/log.js"),d=o(_),v=t("../utils/browser.js"),s=c(v),j=t("global/document"),k=o(j),C=t("global/window"),O=o(C),b=t("object.assign"),T=o(b),P=t("../utils/merge-options.js"),D=o(P),F=function(E){function x(M,$){m(this,x),E.call(this,M,$);var U=M.source;if(U&&(this.el_.currentSrc!==U.src||M.tag&&M.tag.initNetworkState_===3)?this.setSource(U):this.handleLateInit_(this.el_),this.el_.hasChildNodes()){for(var X=this.el_.childNodes,Z=X.length,rt=[];Z--;){var ot=X[Z],at=ot.nodeName.toLowerCase();at==="track"&&(this.featuresNativeTextTracks?(this.remoteTextTrackEls().addTrackElement_(ot),this.remoteTextTracks().addTrack_(ot.track)):rt.push(ot))}for(var ct=0;ct<rt.length;ct++)this.el_.removeChild(rt[ct])}this.featuresNativeTextTracks&&(this.handleTextTrackChange_=l.bind(this,this.handleTextTrackChange),this.handleTextTrackAdd_=l.bind(this,this.handleTextTrackAdd),this.handleTextTrackRemove_=l.bind(this,this.handleTextTrackRemove),this.proxyNativeTextTracks_()),(s.TOUCH_ENABLED&&M.nativeControlsForTouch===!0||s.IS_IPHONE||s.IS_NATIVE_ANDROID)&&this.setControls(!0),this.triggerReady()}return g(x,E),x.prototype.dispose=function(){var M=this.el().textTracks,$=this.textTracks();M&&M.removeEventListener&&(M.removeEventListener("change",this.handleTextTrackChange_),M.removeEventListener("addtrack",this.handleTextTrackAdd_),M.removeEventListener("removetrack",this.handleTextTrackRemove_));for(var U=$.length;U--;)$.removeTrack_($[U]);x.disposeMediaElement(this.el_),E.prototype.dispose.call(this)},x.prototype.createEl=function(){var M=this.options_.tag;if(!M||this.movingMediaElementInDOM===!1)if(M){var $=M.cloneNode(!0);M.parentNode.insertBefore($,M),x.disposeMediaElement(M),M=$}else{M=k.default.createElement("video");var U=this.options_.tag&&n.getElAttributes(this.options_.tag),X=D.default({},U);s.TOUCH_ENABLED&&this.options_.nativeControlsForTouch===!0||delete X.controls,n.setElAttributes(M,T.default(X,{id:this.options_.techId,class:"vjs-tech"}))}for(var Z=["autoplay","preload","loop","muted"],rt=Z.length-1;rt>=0;rt--){var ot=Z[rt],at={};typeof this.options_[ot]!="undefined"&&(at[ot]=this.options_[ot]),n.setElAttributes(M,at)}return M},x.prototype.handleLateInit_=function(M){var $=this;if(M.networkState!==0&&M.networkState!==3){if(M.readyState===0){var U=function(){var Z=!1,rt=function(){Z=!0};$.on("loadstart",rt);var ot=function(){Z||this.trigger("loadstart")};return $.on("loadedmetadata",ot),$.ready(function(){this.off("loadstart",rt),this.off("loadedmetadata",ot),Z||this.trigger("loadstart")}),{v:void 0}}();if(typeof U=="object")return U.v}var X=["loadstart"];X.push("loadedmetadata"),M.readyState>=2&&X.push("loadeddata"),M.readyState>=3&&X.push("canplay"),M.readyState>=4&&X.push("canplaythrough"),this.ready(function(){X.forEach(function(Z){this.trigger(Z)},this)})}},x.prototype.proxyNativeTextTracks_=function(){var M=this.el().textTracks;if(M){for(var $=0;$<M.length;$++)this.textTracks().addTrack_(M[$]);M.addEventListener&&(M.addEventListener("change",this.handleTextTrackChange_),M.addEventListener("addtrack",this.handleTextTrackAdd_),M.addEventListener("removetrack",this.handleTextTrackRemove_))}},x.prototype.handleTextTrackChange=function(){var M=this.textTracks();this.textTracks().trigger({type:"change",target:M,currentTarget:M,srcElement:M})},x.prototype.handleTextTrackAdd=function(M){this.textTracks().addTrack_(M.track)},x.prototype.handleTextTrackRemove=function(M){this.textTracks().removeTrack_(M.track)},x.prototype.play=function(){this.el_.play()},x.prototype.pause=function(){this.el_.pause()},x.prototype.paused=function(){return this.el_.paused},x.prototype.currentTime=function(){return this.el_.currentTime},x.prototype.setCurrentTime=function(M){try{this.el_.currentTime=M}catch($){d.default($,"Video is not ready. (Video.js)")}},x.prototype.duration=function(){return this.el_.duration||0},x.prototype.buffered=function(){return this.el_.buffered},x.prototype.volume=function(){return this.el_.volume},x.prototype.setVolume=function(M){this.el_.volume=M},x.prototype.muted=function(){return this.el_.muted},x.prototype.setMuted=function(M){this.el_.muted=M},x.prototype.width=function(){return this.el_.offsetWidth},x.prototype.height=function(){return this.el_.offsetHeight},x.prototype.supportsFullScreen=function(){if(typeof this.el_.webkitEnterFullScreen=="function"){var M=O.default.navigator.userAgent;if(/Android/.test(M)||!/Chrome|Mac OS X 10.5/.test(M))return!0}return!1},x.prototype.enterFullScreen=function(){var M=this.el_;"webkitDisplayingFullscreen"in M&&this.one("webkitbeginfullscreen",function(){this.one("webkitendfullscreen",function(){this.trigger("fullscreenchange",{isFullscreen:!1})}),this.trigger("fullscreenchange",{isFullscreen:!0})}),M.paused&&M.networkState<=M.HAVE_METADATA?(this.el_.play(),this.setTimeout(function(){M.pause(),M.webkitEnterFullScreen()},0)):M.webkitEnterFullScreen()},x.prototype.exitFullScreen=function(){this.el_.webkitExitFullScreen()},x.prototype.src=function(M){return M===void 0?this.el_.src:void this.setSrc(M)},x.prototype.setSrc=function(M){this.el_.src=M},x.prototype.load=function(){this.el_.load()},x.prototype.reset=function(){x.resetMediaElement(this.el_)},x.prototype.currentSrc=function(){return this.currentSource_?this.currentSource_.src:this.el_.currentSrc},x.prototype.poster=function(){return this.el_.poster},x.prototype.setPoster=function(M){this.el_.poster=M},x.prototype.preload=function(){return this.el_.preload},x.prototype.setPreload=function(M){this.el_.preload=M},x.prototype.autoplay=function(){return this.el_.autoplay},x.prototype.setAutoplay=function(M){this.el_.autoplay=M},x.prototype.controls=function(){return this.el_.controls},x.prototype.setControls=function(M){this.el_.controls=!!M},x.prototype.loop=function(){return this.el_.loop},x.prototype.setLoop=function(M){this.el_.loop=M},x.prototype.error=function(){return this.el_.error},x.prototype.seeking=function(){return this.el_.seeking},x.prototype.seekable=function(){return this.el_.seekable},x.prototype.ended=function(){return this.el_.ended},x.prototype.defaultMuted=function(){return this.el_.defaultMuted},x.prototype.playbackRate=function(){return this.el_.playbackRate},x.prototype.played=function(){return this.el_.played},x.prototype.setPlaybackRate=function(M){this.el_.playbackRate=M},x.prototype.networkState=function(){return this.el_.networkState},x.prototype.readyState=function(){return this.el_.readyState},x.prototype.videoWidth=function(){return this.el_.videoWidth},x.prototype.videoHeight=function(){return this.el_.videoHeight},x.prototype.textTracks=function(){return E.prototype.textTracks.call(this)},x.prototype.addTextTrack=function(M,$,U){return this.featuresNativeTextTracks?this.el_.addTextTrack(M,$,U):E.prototype.addTextTrack.call(this,M,$,U)},x.prototype.addRemoteTextTrack=function(){var M=arguments.length<=0||arguments[0]===void 0?{}:arguments[0];if(!this.featuresNativeTextTracks)return E.prototype.addRemoteTextTrack.call(this,M);var $=k.default.createElement("track");return M.kind&&($.kind=M.kind),M.label&&($.label=M.label),(M.language||M.srclang)&&($.srclang=M.language||M.srclang),M.default&&($.default=M.default),M.id&&($.id=M.id),M.src&&($.src=M.src),this.el().appendChild($),this.remoteTextTrackEls().addTrackElement_($),this.remoteTextTracks().addTrack_($.track),$},x.prototype.removeRemoteTextTrack=function(M){if(!this.featuresNativeTextTracks)return E.prototype.removeRemoteTextTrack.call(this,M);var $=void 0,U=void 0,X=this.remoteTextTrackEls().getTrackElementByTrack_(M);for(this.remoteTextTrackEls().removeTrackElement_(X),this.remoteTextTracks().removeTrack_(M),$=this.$$("track"),U=$.length;U--;)(M===$[U]||M===$[U].track)&&this.el().removeChild($[U])},x}(a.default);F.TEST_VID=k.default.createElement("video");var N=k.default.createElement("track");N.kind="captions",N.srclang="en",N.label="English",F.TEST_VID.appendChild(N),F.isSupported=function(){try{F.TEST_VID.volume=.5}catch(E){return!1}return!!F.TEST_VID.canPlayType},a.default.withSourceHandlers(F),F.nativeSourceHandler={},F.nativeSourceHandler.canPlayType=function(E){try{return F.TEST_VID.canPlayType(E)}catch(x){return""}},F.nativeSourceHandler.canHandleSource=function(E){var x;return E.type?F.nativeSourceHandler.canPlayType(E.type):E.src?(x=i.getFileExtension(E.src),F.nativeSourceHandler.canPlayType("video/"+x)):""},F.nativeSourceHandler.handleSource=function(E,x){x.setSrc(E.src)},F.nativeSourceHandler.dispose=function(){},F.registerSourceHandler(F.nativeSourceHandler),F.canControlVolume=function(){var E=F.TEST_VID.volume;return F.TEST_VID.volume=E/2+.1,E!==F.TEST_VID.volume},F.canControlPlaybackRate=function(){var E=F.TEST_VID.playbackRate;return F.TEST_VID.playbackRate=E/2+.1,E!==F.TEST_VID.playbackRate},F.supportsNativeTextTracks=function(){var E;return E=!!F.TEST_VID.textTracks,E&&F.TEST_VID.textTracks.length>0&&(E=typeof F.TEST_VID.textTracks[0].mode!="number"),E&&s.IS_FIREFOX&&(E=!1),!E||"onremovetrack"in F.TEST_VID.textTracks||(E=!1),E},F.Events=["loadstart","suspend","abort","error","emptied","stalled","loadedmetadata","loadeddata","canplay","canplaythrough","playing","waiting","seeking","seeked","ended","durationchange","timeupdate","progress","play","pause","ratechange","volumechange"],F.prototype.featuresVolumeControl=F.canControlVolume(),F.prototype.featuresPlaybackRate=F.canControlPlaybackRate(),F.prototype.movingMediaElementInDOM=!s.IS_IOS,F.prototype.featuresFullscreenResize=!0,F.prototype.featuresProgressEvents=!0,F.prototype.featuresNativeTextTracks=F.supportsNativeTextTracks();var A=void 0,I=/^application\/(?:x-|vnd\.apple\.)mpegurl/i,R=/^video\/mp4/i;F.patchCanPlayType=function(){s.ANDROID_VERSION>=4&&(A||(A=F.TEST_VID.constructor.prototype.canPlayType),F.TEST_VID.constructor.prototype.canPlayType=function(E){return E&&I.test(E)?"maybe":A.call(this,E)}),s.IS_OLD_ANDROID&&(A||(A=F.TEST_VID.constructor.prototype.canPlayType),F.TEST_VID.constructor.prototype.canPlayType=function(E){return E&&R.test(E)?"maybe":A.call(this,E)})},F.unpatchCanPlayType=function(){var E=F.TEST_VID.constructor.prototype.canPlayType;return F.TEST_VID.constructor.prototype.canPlayType=A,A=null,E},F.patchCanPlayType(),F.disposeMediaElement=function(E){if(E){for(E.parentNode&&E.parentNode.removeChild(E);E.hasChildNodes();)E.removeChild(E.firstChild);E.removeAttribute("src"),typeof E.load=="function"&&function(){try{E.load()}catch(x){}}()}},F.resetMediaElement=function(E){if(E){for(var x=E.querySelectorAll("source"),M=x.length;M--;)E.removeChild(x[M]);E.removeAttribute("src"),typeof E.load=="function"&&function(){try{E.load()}catch($){}}()}},u.default.registerComponent("Html5",F),a.default.registerTech("Html5",F),e.default=F,w.exports=e.default},{"../component":67,"../utils/browser.js":129,"../utils/dom.js":132,"../utils/fn.js":134,"../utils/log.js":137,"../utils/merge-options.js":138,"../utils/url.js":142,"./tech.js":119,"global/document":1,"global/window":2,"object.assign":45}],118:[function(t,w,e){"use strict";function c(i){return i&&i.__esModule?i:{default:i}}function o(i,p){if(!(i instanceof p))throw new TypeError("Cannot call a class as a function")}function m(i,p){if(typeof p!="function"&&p!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof p);i.prototype=Object.create(p&&p.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),p&&(Object.setPrototypeOf?Object.setPrototypeOf(i,p):i.__proto__=p)}e.__esModule=!0;var g=t("../component.js"),h=c(g),a=t("./tech.js"),f=c(a),u=t("global/window"),r=(c(u),t("../utils/to-title-case.js")),n=c(r),y=function(i){function p(l,_,d){if(o(this,p),i.call(this,l,_,d),_.playerOptions.sources&&_.playerOptions.sources.length!==0)l.src(_.playerOptions.sources);else for(var v=0,s=_.playerOptions.techOrder;v<s.length;v++){var j=n.default(s[v]),k=f.default.getTech(j);if(j||(k=h.default.getComponent(j)),k&&k.isSupported()){l.loadTech_(j);break}}}return m(p,i),p}(h.default);h.default.registerComponent("MediaLoader",y),e.default=y,w.exports=e.default},{"../component.js":67,"../utils/to-title-case.js":141,"./tech.js":119,"global/window":2}],119:[function(t,w,e){"use strict";function c(R){if(R&&R.__esModule)return R;var E={};if(R!=null)for(var x in R)Object.prototype.hasOwnProperty.call(R,x)&&(E[x]=R[x]);return E.default=R,E}function o(R){return R&&R.__esModule?R:{default:R}}function m(R,E){if(!(R instanceof E))throw new TypeError("Cannot call a class as a function")}function g(R,E){if(typeof E!="function"&&E!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof E);R.prototype=Object.create(E&&E.prototype,{constructor:{value:R,enumerable:!1,writable:!0,configurable:!0}}),E&&(Object.setPrototypeOf?Object.setPrototypeOf(R,E):R.__proto__=E)}e.__esModule=!0;var h=t("../component"),a=o(h),f=t("../tracks/html-track-element"),u=o(f),r=t("../tracks/html-track-element-list"),n=o(r),y=t("../utils/merge-options.js"),i=o(y),p=t("../tracks/text-track"),l=o(p),_=t("../tracks/text-track-list"),d=o(_),v=t("../utils/fn.js"),s=c(v),j=t("../utils/log.js"),k=o(j),C=t("../utils/time-ranges.js"),O=t("../utils/buffer.js"),b=t("../media-error.js"),T=o(b),P=t("global/window"),D=o(P),F=t("global/document"),N=o(F),A=function(R){function E(){var x=arguments.length<=0||arguments[0]===void 0?{}:arguments[0],M=arguments.length<=1||arguments[1]===void 0?function(){}:arguments[1];m(this,E),x.reportTouchActivity=!1,R.call(this,null,x,M),this.hasStarted_=!1,this.on("playing",function(){this.hasStarted_=!0}),this.on("loadstart",function(){this.hasStarted_=!1}),this.textTracks_=x.textTracks,this.featuresProgressEvents||this.manualProgressOn(),this.featuresTimeupdateEvents||this.manualTimeUpdatesOn(),(x.nativeCaptions===!1||x.nativeTextTracks===!1)&&(this.featuresNativeTextTracks=!1),this.featuresNativeTextTracks||this.on("ready",this.emulateTextTracks),this.initTextTrackListeners(),this.emitTapEvents()}/*! Time Tracking -------------------------------------------------------------- */return g(E,R),E.prototype.manualProgressOn=function(){this.on("durationchange",this.onDurationChange),this.manualProgress=!0,this.one("ready",this.trackProgress)},E.prototype.manualProgressOff=function(){this.manualProgress=!1,this.stopTrackingProgress(),this.off("durationchange",this.onDurationChange)},E.prototype.trackProgress=function(){this.stopTrackingProgress(),this.progressInterval=this.setInterval(s.bind(this,function(){var x=this.bufferedPercent();this.bufferedPercent_!==x&&this.trigger("progress"),this.bufferedPercent_=x,x===1&&this.stopTrackingProgress()}),500)},E.prototype.onDurationChange=function(){this.duration_=this.duration()},E.prototype.buffered=function(){return C.createTimeRange(0,0)},E.prototype.bufferedPercent=function(){return O.bufferedPercent(this.buffered(),this.duration_)},E.prototype.stopTrackingProgress=function(){this.clearInterval(this.progressInterval)},E.prototype.manualTimeUpdatesOn=function(){this.manualTimeUpdates=!0,this.on("play",this.trackCurrentTime),this.on("pause",this.stopTrackingCurrentTime)},E.prototype.manualTimeUpdatesOff=function(){this.manualTimeUpdates=!1,this.stopTrackingCurrentTime(),this.off("play",this.trackCurrentTime),this.off("pause",this.stopTrackingCurrentTime)},E.prototype.trackCurrentTime=function(){this.currentTimeInterval&&this.stopTrackingCurrentTime(),this.currentTimeInterval=this.setInterval(function(){this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})},250)},E.prototype.stopTrackingCurrentTime=function(){this.clearInterval(this.currentTimeInterval),this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})},E.prototype.dispose=function(){var x=this.textTracks();if(x)for(var M=x.length;M--;)this.removeRemoteTextTrack(x[M]);this.manualProgress&&this.manualProgressOff(),this.manualTimeUpdates&&this.manualTimeUpdatesOff(),R.prototype.dispose.call(this)},E.prototype.reset=function(){},E.prototype.error=function(x){return x!==void 0&&(this.error_=x instanceof T.default?x:new T.default(x),this.trigger("error")),this.error_},E.prototype.played=function(){return this.hasStarted_?C.createTimeRange(0,0):C.createTimeRange()},E.prototype.setCurrentTime=function(){this.manualTimeUpdates&&this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})},E.prototype.initTextTrackListeners=function(){var x=s.bind(this,function(){this.trigger("texttrackchange")}),M=this.textTracks();M&&(M.addEventListener("removetrack",x),M.addEventListener("addtrack",x),this.on("dispose",s.bind(this,function(){M.removeEventListener("removetrack",x),M.removeEventListener("addtrack",x)})))},E.prototype.emulateTextTracks=function(){var x=this,M=this.textTracks();if(M){D.default.WebVTT||this.el().parentNode==null||function(){var X=N.default.createElement("script");X.src=x.options_["vtt.js"]||"https://cdn.rawgit.com/gkatsev/vtt.js/vjs-v0.12.1/dist/vtt.min.js",X.onload=function(){x.trigger("vttjsloaded")},X.onerror=function(){x.trigger("vttjserror")},x.on("dispose",function(){X.onload=null,X.onerror=null}),x.el().parentNode.appendChild(X),D.default.WebVTT=!0}();var $=function(){return x.trigger("texttrackchange")},U=function(){$();for(var X=0;X<M.length;X++){var Z=M[X];Z.removeEventListener("cuechange",$),Z.mode==="showing"&&Z.addEventListener("cuechange",$)}};U(),M.addEventListener("change",U),this.on("dispose",function(){M.removeEventListener("change",U)})}},E.prototype.textTracks=function(){return this.textTracks_=this.textTracks_||new d.default,this.textTracks_},E.prototype.remoteTextTracks=function(){return this.remoteTextTracks_=this.remoteTextTracks_||new d.default,this.remoteTextTracks_},E.prototype.remoteTextTrackEls=function(){return this.remoteTextTrackEls_=this.remoteTextTrackEls_||new n.default,this.remoteTextTrackEls_},E.prototype.addTextTrack=function(x,M,$){if(!x)throw new Error("TextTrack kind is required but was not provided");return I(this,x,M,$)},E.prototype.addRemoteTextTrack=function(x){var M=i.default(x,{tech:this}),$=new u.default(M);return this.remoteTextTrackEls().addTrackElement_($),this.remoteTextTracks().addTrack_($.track),this.textTracks().addTrack_($.track),$},E.prototype.removeRemoteTextTrack=function(x){this.textTracks().removeTrack_(x);var M=this.remoteTextTrackEls().getTrackElementByTrack_(x);this.remoteTextTrackEls().removeTrackElement_(M),this.remoteTextTracks().removeTrack_(x)},E.prototype.setPoster=function(){},E.prototype.canPlayType=function(){return""},E.isTech=function(x){return x.prototype instanceof E||x instanceof E||x===E},E.registerTech=function(x,M){if(E.techs_||(E.techs_={}),!E.isTech(M))throw new Error("Tech "+x+" must be a Tech");return E.techs_[x]=M,M},E.getTech=function(x){return E.techs_&&E.techs_[x]?E.techs_[x]:D.default&&D.default.videojs&&D.default.videojs[x]?(k.default.warn("The "+x+" tech was added to the videojs object when it should be registered using videojs.registerTech(name, tech)"),D.default.videojs[x]):void 0},E}(a.default);A.prototype.textTracks_;var I=function(R,E,x,M){var $=arguments.length<=4||arguments[4]===void 0?{}:arguments[4],U=R.textTracks();$.kind=E,x&&($.label=x),M&&($.language=M),$.tech=R;var X=new l.default($);return U.addTrack_(X),X};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(R){R.registerSourceHandler=function(x,M){var $=R.sourceHandlers;$||($=R.sourceHandlers=[]),M===void 0&&(M=$.length),$.splice(M,0,x)},R.canPlayType=function(x){for(var M=R.sourceHandlers||[],$=void 0,U=0;U<M.length;U++)if($=M[U].canPlayType(x))return $;return""},R.selectSourceHandler=function(x){for(var M=R.sourceHandlers||[],$=void 0,U=0;U<M.length;U++)if($=M[U].canHandleSource(x))return M[U];return null},R.canPlaySource=function(x){var M=R.selectSourceHandler(x);return M?M.canHandleSource(x):""};var E=["seekable","duration"];E.forEach(function(x){var M=this[x];typeof M=="function"&&(this[x]=function(){return this.sourceHandler_&&this.sourceHandler_[x]?this.sourceHandler_[x].apply(this.sourceHandler_,arguments):M.apply(this,arguments)})},R.prototype),R.prototype.setSource=function(x){var M=R.selectSourceHandler(x);return M||(R.nativeSourceHandler?M=R.nativeSourceHandler:k.default.error("No source hander found for the current source.")),this.disposeSourceHandler(),this.off("dispose",this.disposeSourceHandler),this.currentSource_=x,this.sourceHandler_=M.handleSource(x,this),this.on("dispose",this.disposeSourceHandler),this},R.prototype.disposeSourceHandler=function(){this.sourceHandler_&&this.sourceHandler_.dispose&&this.sourceHandler_.dispose()}},a.default.registerComponent("Tech",A),a.default.registerComponent("MediaTechController",A),A.registerTech("Tech",A),e.default=A,w.exports=e.default},{"../component":67,"../media-error.js":103,"../tracks/html-track-element":121,"../tracks/html-track-element-list":120,"../tracks/text-track":128,"../tracks/text-track-list":126,"../utils/buffer.js":130,"../utils/fn.js":134,"../utils/log.js":137,"../utils/merge-options.js":138,"../utils/time-ranges.js":140,"global/document":1,"global/window":2}],120:[function(t,w,e){"use strict";function c(r){return r&&r.__esModule?r:{default:r}}function o(r){if(r&&r.__esModule)return r;var n={};if(r!=null)for(var y in r)Object.prototype.hasOwnProperty.call(r,y)&&(n[y]=r[y]);return n.default=r,n}function m(r,n){if(!(r instanceof n))throw new TypeError("Cannot call a class as a function")}e.__esModule=!0;var g=t("../utils/browser.js"),h=o(g),a=t("global/document"),f=c(a),u=function(){function r(){var n=arguments.length<=0||arguments[0]===void 0?[]:arguments[0];m(this,r);var y=this;if(h.IS_IE8){y=f.default.createElement("custom");for(var i in r.prototype)i!=="constructor"&&(y[i]=r.prototype[i])}y.trackElements_=[],Object.defineProperty(y,"length",{get:function(){return this.trackElements_.length}});for(var p=0,l=n.length;l>p;p++)y.addTrackElement_(n[p]);return h.IS_IE8?y:void 0}return r.prototype.addTrackElement_=function(n){this.trackElements_.push(n)},r.prototype.getTrackElementByTrack_=function(n){for(var y=void 0,i=0,p=this.trackElements_.length;p>i;i++)if(n===this.trackElements_[i].track){y=this.trackElements_[i];break}return y},r.prototype.removeTrackElement_=function(n){for(var y=0,i=this.trackElements_.length;i>y;y++)if(n===this.trackElements_[y]){this.trackElements_.splice(y,1);break}},r}();e.default=u,w.exports=e.default},{"../utils/browser.js":129,"global/document":1}],121:[function(t,w,e){"use strict";function c(s){return s&&s.__esModule?s:{default:s}}function o(s){if(s&&s.__esModule)return s;var j={};if(s!=null)for(var k in s)Object.prototype.hasOwnProperty.call(s,k)&&(j[k]=s[k]);return j.default=s,j}function m(s,j){if(!(s instanceof j))throw new TypeError("Cannot call a class as a function")}function g(s,j){if(typeof j!="function"&&j!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof j);s.prototype=Object.create(j&&j.prototype,{constructor:{value:s,enumerable:!1,writable:!0,configurable:!0}}),j&&(Object.setPrototypeOf?Object.setPrototypeOf(s,j):s.__proto__=j)}e.__esModule=!0;var h=t("../utils/browser.js"),a=o(h),f=t("global/document"),u=c(f),r=t("../event-target"),n=c(r),y=t("../tracks/text-track"),i=c(y),p=0,l=1,_=2,d=3,v=function(s){function j(){var k=arguments.length<=0||arguments[0]===void 0?{}:arguments[0];m(this,j),s.call(this);var C=void 0,O=this;if(a.IS_IE8){O=u.default.createElement("custom");for(var b in j.prototype)b!=="constructor"&&(O[b]=j.prototype[b])}var T=new i.default(k);return O.kind=T.kind,O.src=T.src,O.srclang=T.language,O.label=T.label,O.default=T.default,Object.defineProperty(O,"readyState",{get:function(){return C}}),Object.defineProperty(O,"track",{get:function(){return T}}),C=p,T.addEventListener("loadeddata",function(){C=_,O.trigger({type:"load",target:O})}),a.IS_IE8?O:void 0}return g(j,s),j}(n.default);v.prototype.allowedEvents_={load:"load"},v.NONE=p,v.LOADING=l,v.LOADED=_,v.ERROR=d,e.default=v,w.exports=e.default},{"../event-target":99,"../tracks/text-track":128,"../utils/browser.js":129,"global/document":1}],122:[function(t,w,e){"use strict";function c(r){return r&&r.__esModule?r:{default:r}}function o(r){if(r&&r.__esModule)return r;var n={};if(r!=null)for(var y in r)Object.prototype.hasOwnProperty.call(r,y)&&(n[y]=r[y]);return n.default=r,n}function m(r,n){if(!(r instanceof n))throw new TypeError("Cannot call a class as a function")}e.__esModule=!0;var g=t("../utils/browser.js"),h=o(g),a=t("global/document"),f=c(a),u=function(){function r(n){m(this,r);var y=this;if(h.IS_IE8){y=f.default.createElement("custom");for(var i in r.prototype)i!=="constructor"&&(y[i]=r.prototype[i])}return r.prototype.setCues_.call(y,n),Object.defineProperty(y,"length",{get:function(){return this.length_}}),h.IS_IE8?y:void 0}return r.prototype.setCues_=function(n){var y=this.length||0,i=0,p=n.length;this.cues_=n,this.length_=n.length;var l=function(_){""+_ in this||Object.defineProperty(this,""+_,{get:function(){return this.cues_[_]}})};if(p>y)for(i=y;p>i;i++)l.call(this,i)},r.prototype.getCueById=function(n){for(var y=null,i=0,p=this.length;p>i;i++){var l=this[i];if(l.id===n){y=l;break}}return y},r}();e.default=u,w.exports=e.default},{"../utils/browser.js":129,"global/document":1}],123:[function(t,w,e){"use strict";function c(C){if(C&&C.__esModule)return C;var O={};if(C!=null)for(var b in C)Object.prototype.hasOwnProperty.call(C,b)&&(O[b]=C[b]);return O.default=C,O}function o(C){return C&&C.__esModule?C:{default:C}}function m(C,O){if(!(C instanceof O))throw new TypeError("Cannot call a class as a function")}function g(C,O){if(typeof O!="function"&&O!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof O);C.prototype=Object.create(O&&O.prototype,{constructor:{value:C,enumerable:!1,writable:!0,configurable:!0}}),O&&(Object.setPrototypeOf?Object.setPrototypeOf(C,O):C.__proto__=O)}function h(C,O){return"rgba("+parseInt(C[1]+C[1],16)+","+parseInt(C[2]+C[2],16)+","+parseInt(C[3]+C[3],16)+","+O+")"}function a(C,O,b){try{C.style[O]=b}catch(T){}}e.__esModule=!0;var f=t("../component"),u=o(f),r=t("../menu/menu.js"),n=(o(r),t("../menu/menu-item.js")),y=(o(n),t("../menu/menu-button.js")),i=(o(y),t("../utils/fn.js")),p=c(i),l=t("global/document"),_=(o(l),t("global/window")),d=o(_),v="#222",s="#ccc",j={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'},k=function(C){function O(b,T,P){m(this,O),C.call(this,b,T,P),b.on("loadstart",p.bind(this,this.toggleDisplay)),b.on("texttrackchange",p.bind(this,this.updateDisplay)),b.ready(p.bind(this,function(){if(b.tech_&&b.tech_.featuresNativeTextTracks)return void this.hide();b.on("fullscreenchange",p.bind(this,this.updateDisplay));for(var D=this.options_.playerOptions.tracks||[],F=0;F<D.length;F++){var N=D[F];this.player_.addRemoteTextTrack(N)}}))}return g(O,C),O.prototype.toggleDisplay=function(){this.player_.tech_&&this.player_.tech_.featuresNativeTextTracks?this.hide():this.show()},O.prototype.createEl=function(){return C.prototype.createEl.call(this,"div",{className:"vjs-text-track-display"})},O.prototype.clearDisplay=function(){typeof d.default.WebVTT=="function"&&d.default.WebVTT.processCues(d.default,[],this.el_)},O.prototype.updateDisplay=function(){var b=this.player_.textTracks();if(this.clearDisplay(),b)for(var T=0;T<b.length;T++){var P=b[T];P.mode==="showing"&&this.updateForTrack(P)}},O.prototype.updateForTrack=function(b){if(typeof d.default.WebVTT=="function"&&b.activeCues){for(var T=this.player_.textTrackSettings.getValues(),P=[],D=0;D<b.activeCues.length;D++)P.push(b.activeCues[D]);d.default.WebVTT.processCues(d.default,b.activeCues,this.el_);for(var F=P.length;F--;){var N=P[F];if(N){var A=N.displayState;if(T.color&&(A.firstChild.style.color=T.color),T.textOpacity&&a(A.firstChild,"color",h(T.color||"#fff",T.textOpacity)),T.backgroundColor&&(A.firstChild.style.backgroundColor=T.backgroundColor),T.backgroundOpacity&&a(A.firstChild,"backgroundColor",h(T.backgroundColor||"#000",T.backgroundOpacity)),T.windowColor&&(T.windowOpacity?a(A,"backgroundColor",h(T.windowColor,T.windowOpacity)):A.style.backgroundColor=T.windowColor),T.edgeStyle&&(T.edgeStyle==="dropshadow"?A.firstChild.style.textShadow="2px 2px 3px "+v+", 2px 2px 4px "+v+", 2px 2px 5px "+v:T.edgeStyle==="raised"?A.firstChild.style.textShadow="1px 1px "+v+", 2px 2px "+v+", 3px 3px "+v:T.edgeStyle==="depressed"?A.firstChild.style.textShadow="1px 1px "+s+", 0 1px "+s+", -1px -1px "+v+", 0 -1px "+v:T.edgeStyle==="uniform"&&(A.firstChild.style.textShadow="0 0 4px "+v+", 0 0 4px "+v+", 0 0 4px "+v+", 0 0 4px "+v)),T.fontPercent&&T.fontPercent!==1){var I=d.default.parseFloat(A.style.fontSize);A.style.fontSize=I*T.fontPercent+"px",A.style.height="auto",A.style.top="auto",A.style.bottom="2px"}T.fontFamily&&T.fontFamily!=="default"&&(T.fontFamily==="small-caps"?A.firstChild.style.fontVariant="small-caps":A.firstChild.style.fontFamily=j[T.fontFamily])}}}},O}(u.default);u.default.registerComponent("TextTrackDisplay",k),e.default=k,w.exports=e.default},{"../component":67,"../menu/menu-button.js":104,"../menu/menu-item.js":105,"../menu/menu.js":106,"../utils/fn.js":134,"global/document":1,"global/window":2}],124:[function(t,w,e){"use strict";e.__esModule=!0;var c={disabled:"disabled",hidden:"hidden",showing:"showing"},o={subtitles:"subtitles",captions:"captions",descriptions:"descriptions",chapters:"chapters",metadata:"metadata"};e.TextTrackMode=c,e.TextTrackKind=o},{}],125:[function(t,w,e){"use strict";e.__esModule=!0;var c=function(g){var h=["kind","label","language","id","inBandMetadataTrackDispatchType","mode","src"].reduce(function(a,f){return g[f]&&(a[f]=g[f]),a},{cues:g.cues&&Array.prototype.map.call(g.cues,function(a){return{startTime:a.startTime,endTime:a.endTime,text:a.text,id:a.id}})});return h},o=function(g){var h=g.$$("track"),a=Array.prototype.map.call(h,function(u){return u.track}),f=Array.prototype.map.call(h,function(u){var r=c(u.track);return u.src&&(r.src=u.src),r});return f.concat(Array.prototype.filter.call(g.textTracks(),function(u){return a.indexOf(u)===-1}).map(c))},m=function(g,h){return g.forEach(function(a){var f=h.addRemoteTextTrack(a).track;!a.src&&a.cues&&a.cues.forEach(function(u){return f.addCue(u)})}),h.textTracks()};e.default={textTracksToJson:o,jsonToTextTracks:m,trackToJson_:c},w.exports=e.default},{}],126:[function(t,w,e){"use strict";function c(_){if(_&&_.__esModule)return _;var d={};if(_!=null)for(var v in _)Object.prototype.hasOwnProperty.call(_,v)&&(d[v]=_[v]);return d.default=_,d}function o(_){return _&&_.__esModule?_:{default:_}}function m(_,d){if(!(_ instanceof d))throw new TypeError("Cannot call a class as a function")}function g(_,d){if(typeof d!="function"&&d!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof d);_.prototype=Object.create(d&&d.prototype,{constructor:{value:_,enumerable:!1,writable:!0,configurable:!0}}),d&&(Object.setPrototypeOf?Object.setPrototypeOf(_,d):_.__proto__=d)}e.__esModule=!0;var h=t("../event-target"),a=o(h),f=t("../utils/fn.js"),u=c(f),r=t("../utils/browser.js"),n=c(r),y=t("global/document"),i=o(y),p=function(_){function d(){var v=arguments.length<=0||arguments[0]===void 0?[]:arguments[0];m(this,d),_.call(this);var s=this;if(n.IS_IE8){s=i.default.createElement("custom");for(var j in d.prototype)j!=="constructor"&&(s[j]=d.prototype[j])}s.tracks_=[],Object.defineProperty(s,"length",{get:function(){return this.tracks_.length}});for(var k=0;k<v.length;k++)s.addTrack_(v[k]);return n.IS_IE8?s:void 0}return g(d,_),d.prototype.addTrack_=function(v){var s=this.tracks_.length;""+s in this||Object.defineProperty(this,s,{get:function(){return this.tracks_[s]}}),v.addEventListener("modechange",u.bind(this,function(){this.trigger("change")})),this.tracks_.indexOf(v)===-1&&(this.tracks_.push(v),this.trigger({track:v,type:"addtrack"}))},d.prototype.removeTrack_=function(v){for(var s=void 0,j=0,k=this.length;k>j;j++)if(this[j]===v){s=this[j],s.off&&s.off(),this.tracks_.splice(j,1);break}s&&this.trigger({track:s,type:"removetrack"})},d.prototype.getTrackById=function(v){for(var s=null,j=0,k=this.length;k>j;j++){var C=this[j];if(C.id===v){s=C;break}}return s},d}(a.default);p.prototype.allowedEvents_={change:"change",addtrack:"addtrack",removetrack:"removetrack"};for(var l in p.prototype.allowedEvents_)p.prototype["on"+l]=null;e.default=p,w.exports=e.default},{"../event-target":99,"../utils/browser.js":129,"../utils/fn.js":134,"global/document":1}],127:[function(t,w,e){"use strict";function c(C){if(C&&C.__esModule)return C;var O={};if(C!=null)for(var b in C)Object.prototype.hasOwnProperty.call(C,b)&&(O[b]=C[b]);return O.default=C,O}function o(C){return C&&C.__esModule?C:{default:C}}function m(C,O){if(!(C instanceof O))throw new TypeError("Cannot call a class as a function")}function g(C,O){if(typeof O!="function"&&O!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof O);C.prototype=Object.create(O&&O.prototype,{constructor:{value:C,enumerable:!1,writable:!0,configurable:!0}}),O&&(Object.setPrototypeOf?Object.setPrototypeOf(C,O):C.__proto__=O)}function h(C){var O=void 0;return C.selectedOptions?O=C.selectedOptions[0]:C.options&&(O=C.options[C.options.selectedIndex]),O.value}function a(C,O){if(O){var b=void 0;for(b=0;b<C.options.length;b++){var T=C.options[b];if(T.value===O)break}C.selectedIndex=b}}function f(){var C=`<div class="vjs-tracksettings">
<div class="vjs-tracksettings-colors">
<div class="vjs-fg-color vjs-tracksetting">
<label class="vjs-label">Foreground</label>
<select>
<option value="">---</option>
<option value="#FFF">White</option>
<option value="#000">Black</option>
<option value="#F00">Red</option>
<option value="#0F0">Green</option>
<option value="#00F">Blue</option>
<option value="#FF0">Yellow</option>
<option value="#F0F">Magenta</option>
<option value="#0FF">Cyan</option>
</select>
<span class="vjs-text-opacity vjs-opacity">
<select>
<option value="">---</option>
<option value="1">Opaque</option>
<option value="0.5">Semi-Opaque</option>
</select>
</span>
</div> <!-- vjs-fg-color -->
<div class="vjs-bg-color vjs-tracksetting">
<label class="vjs-label">Background</label>
<select>
<option value="">---</option>
<option value="#FFF">White</option>
<option value="#000">Black</option>
<option value="#F00">Red</option>
<option value="#0F0">Green</option>
<option value="#00F">Blue</option>
<option value="#FF0">Yellow</option>
<option value="#F0F">Magenta</option>
<option value="#0FF">Cyan</option>
</select>
<span class="vjs-bg-opacity vjs-opacity">
<select>
<option value="">---</option>
<option value="1">Opaque</option>
<option value="0.5">Semi-Transparent</option>
<option value="0">Transparent</option>
</select>
</span>
</div> <!-- vjs-bg-color -->
<div class="window-color vjs-tracksetting">
<label class="vjs-label">Window</label>
<select>
<option value="">---</option>
<option value="#FFF">White</option>
<option value="#000">Black</option>
<option value="#F00">Red</option>
<option value="#0F0">Green</option>
<option value="#00F">Blue</option>
<option value="#FF0">Yellow</option>
<option value="#F0F">Magenta</option>
<option value="#0FF">Cyan</option>
</select>
<span class="vjs-window-opacity vjs-opacity">
<select>
<option value="">---</option>
<option value="1">Opaque</option>
<option value="0.5">Semi-Transparent</option>
<option value="0">Transparent</option>
</select>
</span>
</div> <!-- vjs-window-color -->
</div> <!-- vjs-tracksettings -->
<div class="vjs-tracksettings-font">
<div class="vjs-font-percent vjs-tracksetting">
<label class="vjs-label">Font Size</label>
<select>
<option value="0.50">50%</option>
<option value="0.75">75%</option>
<option value="1.00" selected>100%</option>
<option value="1.25">125%</option>
<option value="1.50">150%</option>
<option value="1.75">175%</option>
<option value="2.00">200%</option>
<option value="3.00">300%</option>
<option value="4.00">400%</option>
</select>
</div> <!-- vjs-font-percent -->
<div class="vjs-edge-style vjs-tracksetting">
<label class="vjs-label">Text Edge Style</label>
<select>
<option value="none">None</option>
<option value="raised">Raised</option>
<option value="depressed">Depressed</option>
<option value="uniform">Uniform</option>
<option value="dropshadow">Dropshadow</option>
</select>
</div> <!-- vjs-edge-style -->
<div class="vjs-font-family vjs-tracksetting">
<label class="vjs-label">Font Family</label>
<select>
<option value="">Default</option>
<option value="monospaceSerif">Monospace Serif</option>
<option value="proportionalSerif">Proportional Serif</option>
<option value="monospaceSansSerif">Monospace Sans-Serif</option>
<option value="proportionalSansSerif">Proportional Sans-Serif</option>
<option value="casual">Casual</option>
<option value="script">Script</option>
<option value="small-caps">Small Caps</option>
</select>
</div> <!-- vjs-font-family -->
</div>
</div>
<div class="vjs-tracksettings-controls">
<button class="vjs-default-button">Defaults</button>
<button class="vjs-done-button">Done</button>
</div>`;return C}e.__esModule=!0;var u=t("../component"),r=o(u),n=t("../utils/events.js"),y=c(n),i=t("../utils/fn.js"),p=c(i),l=t("../utils/log.js"),_=o(l),d=t("safe-json-parse/tuple"),v=o(d),s=t("global/window"),j=o(s),k=function(C){function O(b,T){m(this,O),C.call(this,b,T),this.hide(),T.persistTextTrackSettings===void 0&&(this.options_.persistTextTrackSettings=this.options_.playerOptions.persistTextTrackSettings),y.on(this.$(".vjs-done-button"),"click",p.bind(this,function(){this.saveSettings(),this.hide()})),y.on(this.$(".vjs-default-button"),"click",p.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()})),y.on(this.$(".vjs-fg-color > select"),"change",p.bind(this,this.updateDisplay)),y.on(this.$(".vjs-bg-color > select"),"change",p.bind(this,this.updateDisplay)),y.on(this.$(".window-color > select"),"change",p.bind(this,this.updateDisplay)),y.on(this.$(".vjs-text-opacity > select"),"change",p.bind(this,this.updateDisplay)),y.on(this.$(".vjs-bg-opacity > select"),"change",p.bind(this,this.updateDisplay)),y.on(this.$(".vjs-window-opacity > select"),"change",p.bind(this,this.updateDisplay)),y.on(this.$(".vjs-font-percent select"),"change",p.bind(this,this.updateDisplay)),y.on(this.$(".vjs-edge-style select"),"change",p.bind(this,this.updateDisplay)),y.on(this.$(".vjs-font-family select"),"change",p.bind(this,this.updateDisplay)),this.options_.persistTextTrackSettings&&this.restoreSettings()}return g(O,C),O.prototype.createEl=function(){return C.prototype.createEl.call(this,"div",{className:"vjs-caption-settings vjs-modal-overlay",innerHTML:f()})},O.prototype.getValues=function(){var b=h(this.$(".vjs-edge-style select")),T=h(this.$(".vjs-font-family select")),P=h(this.$(".vjs-fg-color > select")),D=h(this.$(".vjs-text-opacity > select")),F=h(this.$(".vjs-bg-color > select")),N=h(this.$(".vjs-bg-opacity > select")),A=h(this.$(".window-color > select")),I=h(this.$(".vjs-window-opacity > select")),R=j.default.parseFloat(h(this.$(".vjs-font-percent > select"))),E={backgroundOpacity:N,textOpacity:D,windowOpacity:I,edgeStyle:b,fontFamily:T,color:P,backgroundColor:F,windowColor:A,fontPercent:R};for(var x in E)(E[x]===""||E[x]==="none"||x==="fontPercent"&&E[x]===1)&&delete E[x];return E},O.prototype.setValues=function(b){a(this.$(".vjs-edge-style select"),b.edgeStyle),a(this.$(".vjs-font-family select"),b.fontFamily),a(this.$(".vjs-fg-color > select"),b.color),a(this.$(".vjs-text-opacity > select"),b.textOpacity),a(this.$(".vjs-bg-color > select"),b.backgroundColor),a(this.$(".vjs-bg-opacity > select"),b.backgroundOpacity),a(this.$(".window-color > select"),b.windowColor),a(this.$(".vjs-window-opacity > select"),b.windowOpacity);var T=b.fontPercent;T&&(T=T.toFixed(2)),a(this.$(".vjs-font-percent > select"),T)},O.prototype.restoreSettings=function(){var b=void 0,T=void 0;try{var P=v.default(j.default.localStorage.getItem("vjs-text-track-settings"));b=P[0],T=P[1],b&&_.default.error(b)}catch(D){_.default.warn(D)}T&&this.setValues(T)},O.prototype.saveSettings=function(){if(this.options_.persistTextTrackSettings){var b=this.getValues();try{Object.getOwnPropertyNames(b).length>0?j.default.localStorage.setItem("vjs-text-track-settings",JSON.stringify(b)):j.default.localStorage.removeItem("vjs-text-track-settings")}catch(T){_.default.warn(T)}}},O.prototype.updateDisplay=function(){var b=this.player_.getChild("textTrackDisplay");b&&b.updateDisplay()},O}(r.default);r.default.registerComponent("TextTrackSettings",k),e.default=k,w.exports=e.default},{"../component":67,"../utils/events.js":133,"../utils/fn.js":134,"../utils/log.js":137,"global/window":2,"safe-json-parse/tuple":54}],128:[function(t,w,e){"use strict";function c(A){if(A&&A.__esModule)return A;var I={};if(A!=null)for(var R in A)Object.prototype.hasOwnProperty.call(A,R)&&(I[R]=A[R]);return I.default=A,I}function o(A){return A&&A.__esModule?A:{default:A}}function m(A,I){if(!(A instanceof I))throw new TypeError("Cannot call a class as a function")}function g(A,I){if(typeof I!="function"&&I!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof I);A.prototype=Object.create(I&&I.prototype,{constructor:{value:A,enumerable:!1,writable:!0,configurable:!0}}),I&&(Object.setPrototypeOf?Object.setPrototypeOf(A,I):A.__proto__=I)}e.__esModule=!0;var h=t("./text-track-cue-list"),a=o(h),f=t("../utils/fn.js"),u=c(f),r=t("../utils/guid.js"),n=c(r),y=t("../utils/browser.js"),i=c(y),p=t("./text-track-enums"),l=c(p),_=t("../utils/log.js"),d=o(_),v=t("../event-target"),s=o(v),j=t("global/document"),k=o(j),C=t("global/window"),O=o(C),b=t("../utils/url.js"),T=t("xhr"),P=o(T),D=function(A,I){var R=new O.default.WebVTT.Parser(O.default,O.default.vttjs,O.default.WebVTT.StringDecoder());R.oncue=function(E){I.addCue(E)},R.onparsingerror=function(E){d.default.error(E)},R.onflush=function(){I.trigger({type:"loadeddata",target:I})},R.parse(A),R.flush()},F=function(A,I){var R={uri:A},E=b.isCrossOrigin(A);E&&(R.cors=E),P.default(R,u.bind(this,function(x,M,$){return x?d.default.error(x,M):(I.loaded_=!0,void(typeof O.default.WebVTT!="function"?I.tech_&&!function(){var U=function(){return D($,I)};I.tech_.on("vttjsloaded",U),I.tech_.on("vttjserror",function(){d.default.error("vttjs failed to load, stopping trying to process "+I.src),I.tech_.off("vttjsloaded",U)})}():D($,I)))}))},N=function(A){function I(){var R=arguments.length<=0||arguments[0]===void 0?{}:arguments[0];if(m(this,I),A.call(this),!R.tech)throw new Error("A tech was not provided.");var E=this;if(i.IS_IE8){E=k.default.createElement("custom");for(var x in I.prototype)x!=="constructor"&&(E[x]=I.prototype[x])}E.tech_=R.tech;var M=l.TextTrackMode[R.mode]||"disabled",$=l.TextTrackKind[R.kind]||"subtitles",U=R.label||"",X=R.language||R.srclang||"",Z=R.id||"vjs_text_track_"+n.newGUID();($==="metadata"||$==="chapters")&&(M="hidden"),E.cues_=[],E.activeCues_=[];var rt=new a.default(E.cues_),ot=new a.default(E.activeCues_),at=!1,ct=u.bind(E,function(){this.activeCues,at&&(this.trigger("cuechange"),at=!1)});return M!=="disabled"&&E.tech_.on("timeupdate",ct),Object.defineProperty(E,"kind",{get:function(){return $},set:function(){}}),Object.defineProperty(E,"label",{get:function(){return U},set:function(){}}),Object.defineProperty(E,"language",{get:function(){return X},set:function(){}}),Object.defineProperty(E,"id",{get:function(){return Z},set:function(){}}),Object.defineProperty(E,"mode",{get:function(){return M},set:function(st){l.TextTrackMode[st]&&(M=st,M==="showing"&&this.tech_.on("timeupdate",ct),this.trigger("modechange"))}}),Object.defineProperty(E,"cues",{get:function(){return this.loaded_?rt:null},set:function(){}}),Object.defineProperty(E,"activeCues",{get:function(){if(!this.loaded_)return null;if(this.cues.length===0)return ot;for(var st=this.tech_.currentTime(),dt=[],ft=0,B=this.cues.length;B>ft;ft++){var V=this.cues[ft];(V.startTime<=st&&V.endTime>=st||V.startTime===V.endTime&&V.startTime<=st&&V.startTime+.5>=st)&&dt.push(V)}if(at=!1,dt.length!==this.activeCues_.length)at=!0;else for(var ft=0;ft<dt.length;ft++)this.activeCues_.indexOf(dt[ft])===-1&&(at=!0);return this.activeCues_=dt,ot.setCues_(this.activeCues_),ot},set:function(){}}),R.src?(E.src=R.src,F(R.src,E)):E.loaded_=!0,i.IS_IE8?E:void 0}return g(I,A),I.prototype.addCue=function(R){var E=this.tech_.textTracks();if(E)for(var x=0;x<E.length;x++)E[x]!==this&&E[x].removeCue(R);this.cues_.push(R),this.cues.setCues_(this.cues_)},I.prototype.removeCue=function(R){for(var E=!1,x=0,M=this.cues_.length;M>x;x++){var $=this.cues_[x];$===R&&(this.cues_.splice(x,1),E=!0)}E&&this.cues.setCues_(this.cues_)},I}(s.default);N.prototype.allowedEvents_={cuechange:"cuechange"},e.default=N,w.exports=e.default},{"../event-target":99,"../utils/browser.js":129,"../utils/fn.js":134,"../utils/guid.js":136,"../utils/log.js":137,"../utils/url.js":142,"./text-track-cue-list":122,"./text-track-enums":124,"global/document":1,"global/window":2,xhr:56}],129:[function(t,w,e){"use strict";function c(b){return b&&b.__esModule?b:{default:b}}e.__esModule=!0;var o=t("global/document"),m=c(o),g=t("global/window"),h=c(g),a=h.default.navigator.userAgent,f=/AppleWebKit\/([\d.]+)/i.exec(a),u=f?parseFloat(f.pop()):null,r=/iPad/i.test(a);e.IS_IPAD=r;var n=/iPhone/i.test(a)&&!r;e.IS_IPHONE=n;var y=/iPod/i.test(a);e.IS_IPOD=y;var i=n||r||y;e.IS_IOS=i;var p=function(){var b=a.match(/OS (\d+)_/i);return b&&b[1]?b[1]:void 0}();e.IOS_VERSION=p;var l=/Android/i.test(a);e.IS_ANDROID=l;var _=function(){var b,T,P=a.match(/Android (\d+)(?:\.(\d+))?(?:\.(\d+))*/i);return P?(b=P[1]&&parseFloat(P[1]),T=P[2]&&parseFloat(P[2]),b&&T?parseFloat(P[1]+"."+P[2]):b||null):null}();e.ANDROID_VERSION=_;var d=l&&/webkit/i.test(a)&&2.3>_;e.IS_OLD_ANDROID=d;var v=l&&5>_&&537>u;e.IS_NATIVE_ANDROID=v;var s=/Firefox/i.test(a);e.IS_FIREFOX=s;var j=/Chrome/i.test(a);e.IS_CHROME=j;var k=/MSIE\s8\.0/.test(a);e.IS_IE8=k;var C=!!("ontouchstart"in h.default||h.default.DocumentTouch&&m.default instanceof h.default.DocumentTouch);e.TOUCH_ENABLED=C;var O="backgroundSize"in m.default.createElement("video").style;e.BACKGROUND_SIZE_SUPPORTED=O},{"global/document":1,"global/window":2}],130:[function(t,w,e){"use strict";function c(m,g){var h,a,f=0;if(!g)return 0;m&&m.length||(m=o.createTimeRange(0,0));for(var u=0;u<m.length;u++)h=m.start(u),a=m.end(u),a>g&&(a=g),f+=a-h;return f/g}e.__esModule=!0,e.bufferedPercent=c;var o=t("./time-ranges.js")},{"./time-ranges.js":140}],131:[function(t,w,e){"use strict";function c(h){return h&&h.__esModule?h:{default:h}}e.__esModule=!0;var o=t("./log.js"),m=c(o),g={get:function(h,a){return h[a]},set:function(h,a,f){return h[a]=f,!0}};e.default=function(h){var a=arguments.length<=1||arguments[1]===void 0?{}:arguments[1];if(typeof Proxy=="function"){var f=function(){var u={};return Object.keys(a).forEach(function(r){g.hasOwnProperty(r)&&(u[r]=function(){return m.default.warn(a[r]),g[r].apply(this,arguments)})}),{v:new Proxy(h,u)}}();if(typeof f=="object")return f.v}return h},w.exports=e.default},{"./log.js":137}],132:[function(t,w,e){"use strict";function c(B){if(B&&B.__esModule)return B;var V={};if(B!=null)for(var G in B)Object.prototype.hasOwnProperty.call(B,G)&&(V[G]=B[G]);return V.default=B,V}function o(B){return B&&B.__esModule?B:{default:B}}function m(B,V){return B.raw=V,B}function g(B){return typeof B=="string"&&/\S/.test(B)}function h(B){if(/\s/.test(B))throw new Error("class has illegal whitespace characters")}function a(B){return new RegExp("(^|\\s)"+B+"($|\\s)")}function f(B){return function(V,G){return g(V)?(g(G)&&(G=x.default.querySelector(G)),(P(G)?G:x.default)[B](V)):x.default[B](null)}}function u(B){return B.indexOf("#")===0&&(B=B.slice(1)),x.default.getElementById(B)}function r(){var B=arguments.length<=0||arguments[0]===void 0?"div":arguments[0],V=arguments.length<=1||arguments[1]===void 0?{}:arguments[1],G=arguments.length<=2||arguments[2]===void 0?{}:arguments[2],q=x.default.createElement(B);return Object.getOwnPropertyNames(V).forEach(function(tt){var lt=V[tt];tt.indexOf("aria-")!==-1||tt==="role"||tt==="type"?(rt.default.warn(at.default(R,tt,lt)),q.setAttribute(tt,lt)):q[tt]=lt}),Object.getOwnPropertyNames(G).forEach(function(tt){G[tt],q.setAttribute(tt,G[tt])}),q}function n(B,V){typeof B.textContent=="undefined"?B.innerText=V:B.textContent=V}function y(B,V){V.firstChild?V.insertBefore(B,V.firstChild):V.appendChild(B)}function i(B){var V=B[st];return V||(V=B[st]=X.newGUID()),ct[V]||(ct[V]={}),ct[V]}function p(B){var V=B[st];return V?!!Object.getOwnPropertyNames(ct[V]).length:!1}function l(B){var V=B[st];if(V){delete ct[V];try{delete B[st]}catch(G){B.removeAttribute?B.removeAttribute(st):B[st]=null}}}function _(B,V){return B.classList?B.classList.contains(V):(h(V),a(V).test(B.className))}function d(B,V){return B.classList?B.classList.add(V):_(B,V)||(B.className=(B.className+" "+V).trim()),B}function v(B,V){return B.classList?B.classList.remove(V):(h(V),B.className=B.className.split(/\s+/).filter(function(G){return G!==V}).join(" ")),B}function s(B,V,G){var q=_(B,V);return typeof G=="function"&&(G=G(B,V)),typeof G!="boolean"&&(G=!q),G!==q?(G?d(B,V):v(B,V),B):void 0}function j(B,V){Object.getOwnPropertyNames(V).forEach(function(G){var q=V[G];q===null||typeof q=="undefined"||q===!1?B.removeAttribute(G):B.setAttribute(G,q===!0?"":q)})}function k(B){var V,G,q,tt,lt;if(V={},G=",autoplay,controls,loop,muted,default,",B&&B.attributes&&B.attributes.length>0){q=B.attributes;for(var z=q.length-1;z>=0;z--)tt=q[z].name,lt=q[z].value,(typeof B[tt]=="boolean"||G.indexOf(","+tt+",")!==-1)&&(lt=lt!==null),V[tt]=lt}return V}function C(){x.default.body.focus(),x.default.onselectstart=function(){return!1}}function O(){x.default.onselectstart=function(){return!0}}function b(B){var V=void 0;if(B.getBoundingClientRect&&B.parentNode&&(V=B.getBoundingClientRect()),!V)return{left:0,top:0};var G=x.default.documentElement,q=x.default.body,tt=G.clientLeft||q.clientLeft||0,lt=$.default.pageXOffset||q.scrollLeft,z=V.left+lt-tt,et=G.clientTop||q.clientTop||0,Q=$.default.pageYOffset||q.scrollTop,ht=V.top+Q-et;return{left:Math.round(z),top:Math.round(ht)}}function T(B,V){var G={},q=b(B),tt=B.offsetWidth,lt=B.offsetHeight,z=q.top,et=q.left,Q=V.pageY,ht=V.pageX;return V.changedTouches&&(ht=V.changedTouches[0].pageX,Q=V.changedTouches[0].pageY),G.y=Math.max(0,Math.min(1,(z-Q+lt)/lt)),G.x=Math.max(0,Math.min(1,(ht-et)/tt)),G}function P(B){return!!B&&typeof B=="object"&&B.nodeType===1}function D(B){return!!B&&typeof B=="object"&&B.nodeType===3}function F(B){for(;B.firstChild;)B.removeChild(B.firstChild);return B}function N(B){return typeof B=="function"&&(B=B()),(Array.isArray(B)?B:[B]).map(function(V){return typeof V=="function"&&(V=V()),P(V)||D(V)?V:typeof V=="string"&&/\S/.test(V)?x.default.createTextNode(V):void 0}).filter(function(V){return V})}function A(B,V){return N(V).forEach(function(G){return B.appendChild(G)}),B}function I(B,V){return A(F(B),V)}e.__esModule=!0,e.getEl=u,e.createEl=r,e.textContent=n,e.insertElFirst=y,e.getElData=i,e.hasElData=p,e.removeElData=l,e.hasElClass=_,e.addElClass=d,e.removeElClass=v,e.toggleElClass=s,e.setElAttributes=j,e.getElAttributes=k,e.blockTextSelection=C,e.unblockTextSelection=O,e.findElPosition=b,e.getPointerPosition=T,e.isEl=P,e.isTextNode=D,e.emptyEl=F,e.normalizeContent=N,e.appendContent=A,e.insertContent=I;var R=m([`Setting attributes in the second argument of createEl()
has been deprecated. Use the third argument instead.
createEl(type, properties, attributes). Attempting to set `," to ","."],[`Setting attributes in the second argument of createEl()
has been deprecated. Use the third argument instead.
createEl(type, properties, attributes). Attempting to set `," to ","."]),E=t("global/document"),x=o(E),M=t("global/window"),$=o(M),U=t("./guid.js"),X=c(U),Z=t("./log.js"),rt=o(Z),ot=t("tsml"),at=o(ot),ct={},st="vdata"+new Date().getTime(),dt=f("querySelector");e.$=dt;var ft=f("querySelectorAll");e.$$=ft},{"./guid.js":136,"./log.js":137,"global/document":1,"global/window":2,tsml:55}],133:[function(t,w,e){"use strict";function c(s){return s&&s.__esModule?s:{default:s}}function o(s){if(s&&s.__esModule)return s;var j={};if(s!=null)for(var k in s)Object.prototype.hasOwnProperty.call(s,k)&&(j[k]=s[k]);return j.default=s,j}function m(s,j,k){if(Array.isArray(j))return r(m,s,j,k);var C=y.getElData(s);C.handlers||(C.handlers={}),C.handlers[j]||(C.handlers[j]=[]),k.guid||(k.guid=p.newGUID()),C.handlers[j].push(k),C.dispatcher||(C.disabled=!1,C.dispatcher=function(O,b){if(!C.disabled){O=f(O);var T=C.handlers[O.type];if(T)for(var P=T.slice(0),D=0,F=P.length;F>D&&!O.isImmediatePropagationStopped();D++)P[D].call(s,O,b)}}),C.handlers[j].length===1&&(s.addEventListener?s.addEventListener(j,C.dispatcher,!1):s.attachEvent&&s.attachEvent("on"+j,C.dispatcher))}function g(s,j,k){if(y.hasElData(s)){var C=y.getElData(s);if(C.handlers){if(Array.isArray(j))return r(g,s,j,k);var O=function(D){C.handlers[D]=[],u(s,D)};if(j){var b=C.handlers[j];if(b){if(!k)return void O(j);if(k.guid)for(var T=0;T<b.length;T++)b[T].guid===k.guid&&b.splice(T--,1);u(s,j)}}else for(var P in C.handlers)O(P)}}}function h(s,j,k){var C=y.hasElData(s)?y.getElData(s):{},O=s.parentNode||s.ownerDocument;if(typeof j=="string"&&(j={type:j,target:s}),j=f(j),C.dispatcher&&C.dispatcher.call(s,j,k),O&&!j.isPropagationStopped()&&j.bubbles===!0)h.call(null,O,j,k);else if(!O&&!j.defaultPrevented){var b=y.getElData(j.target);j.target[j.type]&&(b.disabled=!0,typeof j.target[j.type]=="function"&&j.target[j.type](),b.disabled=!1)}return!j.defaultPrevented}function a(s,j,k){if(Array.isArray(j))return r(a,s,j,k);var C=function O(){g(s,j,O),k.apply(this,arguments)};C.guid=k.guid=k.guid||p.newGUID(),m(s,j,C)}function f(s){function j(){return!0}function k(){return!1}if(!s||!s.isPropagationStopped){var C=s||_.default.event;s={};for(var O in C)O!=="layerX"&&O!=="layerY"&&O!=="keyLocation"&&O!=="webkitMovementX"&&O!=="webkitMovementY"&&(O==="returnValue"&&C.preventDefault||(s[O]=C[O]));if(s.target||(s.target=s.srcElement||v.default),s.relatedTarget||(s.relatedTarget=s.fromElement===s.target?s.toElement:s.fromElement),s.preventDefault=function(){C.preventDefault&&C.preventDefault(),s.returnValue=!1,C.returnValue=!1,s.defaultPrevented=!0},s.defaultPrevented=!1,s.stopPropagation=function(){C.stopPropagation&&C.stopPropagation(),s.cancelBubble=!0,C.cancelBubble=!0,s.isPropagationStopped=j},s.isPropagationStopped=k,s.stopImmediatePropagation=function(){C.stopImmediatePropagation&&C.stopImmediatePropagation(),s.isImmediatePropagationStopped=j,s.stopPropagation()},s.isImmediatePropagationStopped=k,s.clientX!=null){var b=v.default.documentElement,T=v.default.body;s.pageX=s.clientX+(b&&b.scrollLeft||T&&T.scrollLeft||0)-(b&&b.clientLeft||T&&T.clientLeft||0),s.pageY=s.clientY+(b&&b.scrollTop||T&&T.scrollTop||0)-(b&&b.clientTop||T&&T.clientTop||0)}s.which=s.charCode||s.keyCode,s.button!=null&&(s.button=1&s.button?0:4&s.button?1:2&s.button?2:0)}return s}function u(s,j){var k=y.getElData(s);k.handlers[j].length===0&&(delete k.handlers[j],s.removeEventListener?s.removeEventListener(j,k.dispatcher,!1):s.detachEvent&&s.detachEvent("on"+j,k.dispatcher)),Object.getOwnPropertyNames(k.handlers).length<=0&&(delete k.handlers,delete k.dispatcher,delete k.disabled),Object.getOwnPropertyNames(k).length===0&&y.removeElData(s)}function r(s,j,k,C){k.forEach(function(O){s(j,O,C)})}e.__esModule=!0,e.on=m,e.off=g,e.trigger=h,e.one=a,e.fixEvent=f;var n=t("./dom.js"),y=o(n),i=t("./guid.js"),p=o(i),l=t("global/window"),_=c(l),d=t("global/document"),v=c(d)},{"./dom.js":132,"./guid.js":136,"global/document":1,"global/window":2}],134:[function(t,w,e){"use strict";e.__esModule=!0;var c=t("./guid.js"),o=function(m,g,h){g.guid||(g.guid=c.newGUID());var a=function(){return g.apply(m,arguments)};return a.guid=h?h+"_"+g.guid:g.guid,a};e.bind=o},{"./guid.js":136}],135:[function(t,w,e){"use strict";function c(o){var m=arguments.length<=1||arguments[1]===void 0?o:arguments[1];return function(){o=0>o?0:o;var g=Math.floor(o%60),h=Math.floor(o/60%60),a=Math.floor(o/3600),f=Math.floor(m/60%60),u=Math.floor(m/3600);return(isNaN(o)||o===1/0)&&(a=h=g="-"),a=a>0||u>0?a+":":"",h=((a||f>=10)&&10>h?"0"+h:h)+":",g=10>g?"0"+g:g,a+h+g}()}e.__esModule=!0,e.default=c,w.exports=e.default},{}],136:[function(t,w,e){"use strict";function c(){return o++}e.__esModule=!0,e.newGUID=c;var o=1},{}],137:[function(t,w,e){"use strict";function c(a){return a&&a.__esModule?a:{default:a}}function o(a,f){var u=Array.prototype.slice.call(f),r=function(){},n=g.default.console||{log:r,warn:r,error:r};a?u.unshift(a.toUpperCase()+":"):a="log",h.history.push(u),u.unshift("VIDEOJS:"),n[a].apply?n[a].apply(n,u):n[a](u.join(" "))}e.__esModule=!0;var m=t("global/window"),g=c(m),h=function(){o(null,arguments)};h.history=[],h.error=function(){o("error",arguments)},h.warn=function(){o("warn",arguments)},e.default=h,w.exports=e.default},{"global/window":2}],138:[function(t,w,e){"use strict";function c(f){return f&&f.__esModule?f:{default:f}}function o(f){return!!f&&typeof f=="object"&&f.toString()==="[object Object]"&&f.constructor===Object}function m(){var f=Array.prototype.slice.call(arguments);return f.unshift({}),f.push(a),h.default.apply(null,f),f[0]}e.__esModule=!0,e.default=m;var g=t("lodash-compat/object/merge"),h=c(g),a=function(f,u){return o(u)?o(f)?void 0:m(u):u};w.exports=e.default},{"lodash-compat/object/merge":40}],139:[function(t,w,e){"use strict";function c(a){return a&&a.__esModule?a:{default:a}}e.__esModule=!0;var o=t("global/document"),m=c(o),g=function(a){var f=m.default.createElement("style");return f.className=a,f};e.createStyleElement=g;var h=function(a,f){a.styleSheet?a.styleSheet.cssText=f:a.textContent=f};e.setTextContent=h},{"global/document":1}],140:[function(t,w,e){"use strict";function c(u){return u&&u.__esModule?u:{default:u}}function o(u,r){return Array.isArray(u)?m(u):u===void 0||r===void 0?m():m([[u,r]])}function m(u){return u===void 0||u.length===0?{length:0,start:function(){throw new Error("This TimeRanges object is empty")},end:function(){throw new Error("This TimeRanges object is empty")}}:{length:u.length,start:g.bind(null,"start",0,u),end:g.bind(null,"end",1,u)}}function g(u,r,n,y){return y===void 0&&(f.default.warn("DEPRECATED: Function '"+u+"' on 'TimeRanges' called without an index argument."),y=0),h(u,y,n.length-1),n[y][r]}function h(u,r,n){if(0>r||r>n)throw new Error("Failed to execute '"+u+"' on 'TimeRanges': The index provided ("+r+") is greater than or equal to the maximum bound ("+n+").")}e.__esModule=!0,e.createTimeRanges=o;var a=t("./log.js"),f=c(a);e.createTimeRange=o},{"./log.js":137}],141:[function(t,w,e){"use strict";function c(o){return o.charAt(0).toUpperCase()+o.slice(1)}e.__esModule=!0,e.default=c,w.exports=e.default},{}],142:[function(t,w,e){"use strict";function c(n){return n&&n.__esModule?n:{default:n}}e.__esModule=!0;var o=t("global/document"),m=c(o),g=t("global/window"),h=c(g),a=function(n){var y=["protocol","hostname","port","pathname","search","hash","host"],i=m.default.createElement("a");i.href=n;var p=i.host===""&&i.protocol!=="file:",l=void 0;p&&(l=m.default.createElement("div"),l.innerHTML='<a href="'+n+'"></a>',i=l.firstChild,l.setAttribute("style","display:none; position:absolute;"),m.default.body.appendChild(l));for(var _={},d=0;d<y.length;d++)_[y[d]]=i[y[d]];return _.protocol==="http:"&&(_.host=_.host.replace(/:80$/,"")),_.protocol==="https:"&&(_.host=_.host.replace(/:443$/,"")),p&&m.default.body.removeChild(l),_};e.parseUrl=a;var f=function(n){if(!n.match(/^https?:\/\//)){var y=m.default.createElement("div");y.innerHTML='<a href="'+n+'">x</a>',n=y.firstChild.href}return n};e.getAbsoluteURL=f;var u=function(n){if(typeof n=="string"){var y=/^(\/?)([\s\S]*?)((?:\.{1,2}|[^\/]+?)(\.([^\.\/\?]+)))(?:[\/]*|[\?].*)$/i,i=y.exec(n);if(i)return i.pop().toLowerCase()}return""};e.getFileExtension=u;var r=function(n){var y=h.default.location,i=a(n),p=i.protocol===":"?y.protocol:i.protocol,l=p+i.host!==y.protocol+y.host;return l};e.isCrossOrigin=r},{"global/document":1,"global/window":2}],143:[function(t,w,e){"use strict";function c(z){if(z&&z.__esModule)return z;var et={};if(z!=null)for(var Q in z)Object.prototype.hasOwnProperty.call(z,Q)&&(et[Q]=z[Q]);return et.default=z,et}function o(z){return z&&z.__esModule?z:{default:z}}e.__esModule=!0;{var m=t("global/document"),g=o(m),h=t("./setup"),a=c(h),f=t("./utils/stylesheet.js"),u=c(f),r=t("./component"),n=o(r),y=t("./event-target"),i=o(y),p=t("./utils/events.js"),l=c(p),_=t("./player"),d=o(_),v=t("./plugins.js"),s=o(v),j=t("../../src/js/utils/merge-options.js"),k=o(j),C=t("./utils/fn.js"),O=c(C),b=t("./tracks/text-track.js"),T=o(b),P=t("object.assign"),D=(o(P),t("./utils/time-ranges.js")),F=t("./utils/format-time.js"),N=o(F),A=t("./utils/log.js"),I=o(A),R=t("./utils/dom.js"),E=c(R),x=t("./utils/browser.js"),M=c(x),$=t("./utils/url.js"),U=c($),X=t("./extend.js"),Z=o(X),rt=t("lodash-compat/object/merge"),ot=o(rt),at=t("./utils/create-deprecation-proxy.js"),ct=o(at),st=t("xhr"),dt=o(st),ft=t("./tech/tech.js"),B=o(ft),V=t("./tech/html5.js"),G=(o(V),t("./tech/flash.js"));o(G)}typeof HTMLVideoElement=="undefined"&&(g.default.createElement("video"),g.default.createElement("audio"),g.default.createElement("track"));var q=function z(et,Q,ht){var Y=void 0;if(typeof et=="string"){if(et.indexOf("#")===0&&(et=et.slice(1)),z.getPlayers()[et])return Q&&I.default.warn('Player "'+et+'" is already initialised. Options will not be applied.'),ht&&z.getPlayers()[et].ready(ht),z.getPlayers()[et];Y=E.getEl(et)}else Y=et;if(!Y||!Y.nodeName)throw new TypeError("The element or ID supplied is not valid. (videojs)");return Y.player||d.default.players[Y.playerId]||new d.default(Y,Q,ht)},tt=E.$(".vjs-styles-defaults");if(!tt){tt=u.createStyleElement("vjs-styles-defaults");var lt=E.$("head");lt.insertBefore(tt,lt.firstChild),u.setTextContent(tt,`
.video-js {
width: 300px;
height: 150px;
}
.vjs-fluid {
padding-top: 56.25%
}
`)}a.autoSetupTimeout(1,q),q.VERSION="5.8.7",q.options=d.default.prototype.options_,q.getPlayers=function(){return d.default.players},q.players=ct.default(d.default.players,{get:"Access to videojs.players is deprecated; use videojs.getPlayers instead",set:"Modification of videojs.players is deprecated"}),q.getComponent=n.default.getComponent,q.registerComponent=function(z,et){B.default.isTech(et)&&I.default.warn("The "+z+" tech was registered as a component. It should instead be registered using videojs.registerTech(name, tech)"),n.default.registerComponent.call(n.default,z,et)},q.getTech=B.default.getTech,q.registerTech=B.default.registerTech,q.browser=M,q.TOUCH_ENABLED=M.TOUCH_ENABLED,q.extend=Z.default,q.mergeOptions=k.default,q.bind=O.bind,q.plugin=s.default,q.addLanguage=function(z,et){var Q;return z=(""+z).toLowerCase(),ot.default(q.options.languages,(Q={},Q[z]=et,Q))[z]},q.log=I.default,q.createTimeRange=q.createTimeRanges=D.createTimeRanges,q.formatTime=N.default,q.parseUrl=U.parseUrl,q.isCrossOrigin=U.isCrossOrigin,q.EventTarget=i.default,q.on=l.on,q.one=l.one,q.off=l.off,q.trigger=l.trigger,q.xhr=dt.default,q.TextTrack=T.default,q.isEl=E.isEl,q.isTextNode=E.isTextNode,q.createEl=E.createEl,q.hasClass=E.hasElClass,q.addClass=E.addElClass,q.removeClass=E.removeElClass,q.toggleClass=E.toggleElClass,q.setAttributes=E.setElAttributes,q.getAttributes=E.getElAttributes,q.emptyEl=E.emptyEl,q.appendContent=E.appendContent,q.insertContent=E.insertContent,typeof yt=="function"&&yt.amd?yt("videojs",[],function(){return q}):typeof e=="object"&&typeof w=="object"&&(w.exports=q),e.default=q,w.exports=e.default},{"../../src/js/utils/merge-options.js":138,"./component":67,"./event-target":99,"./extend.js":100,"./player":108,"./plugins.js":109,"./setup":113,"./tech/flash.js":116,"./tech/html5.js":117,"./tech/tech.js":119,"./tracks/text-track.js":128,"./utils/browser.js":129,"./utils/create-deprecation-proxy.js":131,"./utils/dom.js":132,"./utils/events.js":133,"./utils/fn.js":134,"./utils/format-time.js":135,"./utils/log.js":137,"./utils/stylesheet.js":139,"./utils/time-ranges.js":140,"./utils/url.js":142,"global/document":1,"lodash-compat/object/merge":40,"object.assign":45,xhr:56}]},{},[143])(143)});