mediacms/static/lib/video-js/7.7.5/videojs-ie8.js

2 lines
26 KiB
JavaScript
Raw Normal View History

/*! For license information please see videojs-ie8.js.LICENSE.txt */
void 0===window.HTMLVideoElement&&(document.createElement("video"),document.createElement("audio"),document.createElement("track")),function(t,e){"use strict";"function"==typeof define&&define.amd?define(e):"object"==typeof exports?module.exports=e():t.returnExports=e()}(this,(function(){var t,e,r=Array,n=r.prototype,o=Object,i=o.prototype,a=Function.prototype,c=String,u=c.prototype,l=Number,f=l.prototype,s=n.slice,p=n.splice,h=n.push,y=n.unshift,d=n.concat,b=a.call,v=a.apply,g=Math.max,w=Math.min,O=i.toString,j="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag,T=Function.prototype.toString,m=function(t){try{return T.call(t),!0}catch(t){return!1}},E="[object Function]",D="[object GeneratorFunction]";t=function(t){if("function"!=typeof t)return!1;if(j)return m(t);var e=O.call(t);return e===E||e===D};var x,S=RegExp.prototype.exec,_=function(t){try{return S.call(t),!0}catch(t){return!1}},M="[object RegExp]";e=function(t){return"object"==typeof t&&(j?_(t):O.call(t)===M)};var I=String.prototype.valueOf,P=function(t){try{return I.call(t),!0}catch(t){return!1}},F="[object String]";x=function(t){return"string"==typeof t||"object"==typeof t&&(j?P(t):O.call(t)===F)};var U,N,k=o.defineProperty&&function(){try{var t={};for(var e in o.defineProperty(t,"x",{enumerable:!1,value:t}),t)return!1;return t.x===t}catch(t){return!1}}(),C=(U=i.hasOwnProperty,N=k?function(t,e,r,n){!n&&e in t||o.defineProperty(t,e,{configurable:!0,enumerable:!1,writable:!0,value:r})}:function(t,e,r,n){!n&&e in t||(t[e]=r)},function(t,e,r){for(var n in e)U.call(e,n)&&N(t,n,e[n],r)}),A=function(t){var e=typeof t;return null===t||"object"!==e&&"function"!==e},R=l.isNaN||function(t){return t!=t},$={ToInteger:function(t){var e=+t;return R(e)?e=0:0!==e&&e!==1/0&&e!==-1/0&&(e=(e>0||-1)*Math.floor(Math.abs(e))),e},ToPrimitive:function(e){var r,n,o;if(A(e))return e;if(n=e.valueOf,t(n)&&(r=n.call(e),A(r)))return r;if(o=e.toString,t(o)&&(r=o.call(e),A(r)))return r;throw new TypeError},ToObject:function(t){if(null==t)throw new TypeError("can't convert "+t+" to object");return o(t)},ToUint32:function(t){return t>>>0}},z=function(){};C(a,{bind:function(e){var r=this;if(!t(r))throw new TypeError("Function.prototype.bind called on incompatible "+r);for(var n,i=s.call(arguments,1),a=function(){if(this instanceof n){var t=r.apply(this,d.call(i,s.call(arguments)));return o(t)===t?t:this}return r.apply(e,d.call(i,s.call(arguments)))},c=g(0,r.length-i.length),u=[],l=0;l<c;l++)h.call(u,"$"+l);return n=Function("binder","return function ("+u.join(",")+"){ return binder.apply(this, arguments); }")(a),r.prototype&&(z.prototype=r.prototype,n.prototype=new z,z.prototype=null),n}});var J=b.bind(i.hasOwnProperty),G=b.bind(i.toString),Z=b.bind(s),Y=v.bind(s),W=b.bind(u.slice),H=b.bind(u.split),L=b.bind(u.indexOf),X=b.bind(h),B=b.bind(i.propertyIsEnumerable),V=b.bind(n.sort),q=r.isArray||function(t){return"[object Array]"===G(t)},K=1!==[].unshift(0);C(n,{unshift:function(){return y.apply(this,arguments),this.length}},K),C(r,{isArray:q});var Q=o("a"),tt="a"!==Q[0]||!(0 in Q),et=function(t){var e=!0,r=!0,n=!1;if(t)try{t.call("foo",(function(t,r,n){"object"!=typeof n&&(e=!1)})),t.call([1],(function(){"use strict";r="string"==typeof this}),"x")}catch(t){n=!0}return!!t&&!n&&e&&r};C(n,{forEach:function(e){var r,n=$.ToObject(this),o=tt&&x(this)?H(this,""):n,i=-1,a=$.ToUint32(o.length);if(arguments.length>1&&(r=arguments[1]),!t(e))throw new TypeError("Array.prototype.forEach callback must be a function");for(;++i<a;)i in o&&(void 0===r?e(o[i],i,n):e.call(r,o[i],i,n))}},!et(n.forEach)),C(n,{map:function(e){var n,o=$.ToObject(this),i=tt&&x(this)?H(this,""):o,a=$.ToUint32(i.length),c=r(a);if(arguments.length>1&&(n=arguments[1]),!t(e))throw new TypeError("Array.prototype.map callback must be a function");for(var u=0;u<a;u++)u in i&&(c[u]=void 0===n?e(i[u],u,o):e.call(n,i[u],u,o));return c}},!et(n.map)),C(n,{filter:function(e){var r,n,o=$.ToObject(this),i=tt&&x(this)?H(this,""):o,a=$.ToUint32(i.length),c=[];if(arguments.length>1&&(n=arguments[1]),!t(e))throw new TypeError("Array.prototype.fi