(window.webpackJsonp=window.webpackJsonp||[]).push([["npm.videojs"],{"045f":function(t,e,r){"use strict";var n=r("d7d28"),o=r("a559"),i=r("8362");function u(t,e,r){var n=t;return i(e)?(r=e,"string"==typeof t&&(n={uri:t})):n=o({},e,{uri:t}),n.callback=r,n}function a(t,e,r){return c(e=u(t,e,r))}function c(t){if(void 0===t.callback)throw new Error("callback argument missing");var e=!1,r=function(r,n,o){e||(e=!0,t.callback(r,n,o))};function n(){var t=void 0;if(t=s.response?s.response:s.responseText||function(t){try{if("document"===t.responseType)return t.responseXML;var e=t.responseXML&&"parsererror"===t.responseXML.documentElement.nodeName;if(""===t.responseType&&!e)return t.responseXML}catch(t){}return null}(s),h)try{t=JSON.parse(t)}catch(t){}return t}function o(t){return clearTimeout(f),t instanceof Error||(t=new Error(""+(t||"Unknown XMLHttpRequest Error"))),t.statusCode=0,r(t,g)}function i(){if(!c){var e;clearTimeout(f),e=t.useXDR&&void 0===s.status?200:1223===s.status?204:s.status;var o=g,i=null;return 0!==e?(o={body:n(),statusCode:e,method:d,headers:{},url:l,rawRequest:s},s.getAllResponseHeaders&&(o.headers=function(t){var e={};return t?(t.trim().split("\n").forEach((function(t){var r=t.indexOf(":"),n=t.slice(0,r).trim().toLowerCase(),o=t.slice(r+1).trim();void 0===e[n]?e[n]=o:Array.isArray(e[n])?e[n].push(o):e[n]=[e[n],o]})),e):e}(s.getAllResponseHeaders()))):i=new Error("Internal XMLHttpRequest Error"),r(i,o,o.body)}}var u,c,s=t.xhr||null;s||(s=t.cors||t.useXDR?new a.XDomainRequest:new a.XMLHttpRequest);var f,l=s.url=t.uri||t.url,d=s.method=t.method||"GET",p=t.body||t.data,v=s.headers=t.headers||{},b=!!t.sync,h=!1,g={body:void 0,headers:{},statusCode:0,method:d,url:l,rawRequest:s};if("json"in t&&!1!==t.json&&(h=!0,v.accept||v.Accept||(v.Accept="application/json"),"GET"!==d&&"HEAD"!==d&&(v["content-type"]||v["Content-Type"]||(v["Content-Type"]="application/json"),p=JSON.stringify(!0===t.json?p:t.json))),s.onreadystatechange=function(){4===s.readyState&&setTimeout(i,0)},s.onload=i,s.onerror=o,s.onprogress=function(){},s.onabort=function(){c=!0},s.ontimeout=o,s.open(d,l,!b,t.username,t.password),b||(s.withCredentials=!!t.withCredentials),!b&&t.timeout>0&&(f=setTimeout((function(){if(!c){c=!0,s.abort("timeout");var t=new Error("XMLHttpRequest timeout");t.code="ETIMEDOUT",o(t)}}),t.timeout)),s.setRequestHeader)for(u in v)v.hasOwnProperty(u)&&s.setRequestHeader(u,v[u]);else if(t.headers&&!function(t){for(var e in t)if(t.hasOwnProperty(e))return!1;return!0}(t.headers))throw new Error("Headers cannot be set on an XDomainRequest object");return"responseType"in t&&(s.responseType=t.responseType),"beforeSend"in t&&"function"==typeof t.beforeSend&&t.beforeSend(s),s.send(p||null),s}t.exports=a,t.exports.default=a,a.XMLHttpRequest=n.XMLHttpRequest||function(){},a.XDomainRequest="withCredentials"in new a.XMLHttpRequest?a.XMLHttpRequest:n.XDomainRequest,function(t,e){for(var r=0;r>4?o+20:o+10}(e,r),t(e,r))}},"63ec":function(t,e,r){"use strict";var n=r("d136"),o=r.n(n),i=r("d36e"),u=r.n(i);e.a=function(t,e){return/^[a-z]+:/i.test(e)?e:(/\/\//i.test(t)||(t=o.a.buildAbsoluteURL(u.a.location&&u.a.location.href||"",t)),o.a.buildAbsoluteURL(t,e))}},"8b53":function(t,e,r){"use strict";r.d(e,"a",(function(){return i}));var n=/^(audio|video|application)\/(x-|vnd\.apple\.)?mpegurl/i,o=/^application\/dash\+xml/i,i=function(t){return n.test(t)?"hls":o.test(t)?"dash":"application/vnd.videojs.vhs+json"===t?"vhs-json":null}},b209:function(t,e,r){"use strict";r.d(e,"a",(function(){return n}));var n=function(){function t(){this.listeners={}}var e=t.prototype;return e.on=function(t,e){this.listeners[t]||(this.listeners[t]=[]),this.listeners[t].push(e)},e.off=function(t,e){if(!this.listeners[t])return!1;var r=this.listeners[t].indexOf(e);return this.listeners[t]=this.listeners[t].slice(0),this.listeners[t].splice(r,1),r>-1},e.trigger=function(t){var e=this.listeners[t];if(e)if(2===arguments.length)for(var r=e.length,n=0;nd&&(s-=d,s-=d,s-=f(2))}return Number(s)}),p=function(t,e){var r=(void 0===e?{}:e).le,n=void 0!==r&&r;("bigint"!=typeof t&&"number"!=typeof t||"number"==typeof t&&t!=t)&&(t=0),t=f(t);for(var o=i(t),u=new Uint8Array(new ArrayBuffer(o)),a=0;a=e.length&&s.call(e,(function(e,r){return e===(c[r]?c[r]&t[i+r]:t[i+r])}))}},f8a8:function(t,e,r){"use strict";r.d(e,"a",(function(){return T})),r.d(e,"b",(function(){return x}));var n,o=r("de66"),i=(new Uint8Array([79,112,117,115,72,101,97,100]),function(t){return"string"==typeof t?Object(o.g)(t):t}),u=function(t){return Array.isArray(t)?t.map((function(t){return i(t)})):[i(t)]},a=function(t){t=Object(o.j)(t);for(var e=[],r=0;t.length>r;){var i=t[r],u=0,a=0,c=t[++a];for(a++;128&c;)u=(127&c)<<7,c=t[a],a++;u+=127&c;for(var s=0;s=r.length)return r.length;var i=f(r,n,!1);if(Object(o.a)(e.bytes,i.bytes))return n;var u=f(r,n+i.length);return t(e,r,n+u.length+u.value+i.length)},p=function t(e,r){r=function(t){return Array.isArray(t)?t.map((function(t){return l(t)})):[l(t)]}(r),e=Object(o.j)(e);var n=[];if(!r.length)return n;for(var i=0;ie.length?e.length:c+a.value,p=e.subarray(c,s);Object(o.a)(r[0],u.bytes)&&(1===r.length?n.push(p):n=n.concat(t(p,r.slice(1)))),i+=u.length+a.length+p.length}return n},v=r("321f"),b=Object(o.j)([0,0,0,1]),h=Object(o.j)([0,0,1]),g=Object(o.j)([0,0,3]),j=function(t){for(var e=[],r=1;r>1&63),-1!==r.indexOf(s)&&(i=u+c),u+=c+("h264"===e?1:2)}else u++}return t.subarray(0,0)},m={webm:Object(o.j)([119,101,98,109]),matroska:Object(o.j)([109,97,116,114,111,115,107,97]),flac:Object(o.j)([102,76,97,67]),ogg:Object(o.j)([79,103,103,83]),ac3:Object(o.j)([11,119]),riff:Object(o.j)([82,73,70,70]),avi:Object(o.j)([65,86,73]),wav:Object(o.j)([87,65,86,69]),"3gp":Object(o.j)([102,116,121,112,51,103]),mp4:Object(o.j)([102,116,121,112]),fmp4:Object(o.j)([115,116,121,112]),mov:Object(o.j)([102,116,121,112,113,116])},O={aac:function(t){var e=Object(v.a)(t);return Object(o.a)(t,[255,16],{offset:e,mask:[255,22]})},mp3:function(t){var e=Object(v.a)(t);return Object(o.a)(t,[255,2],{offset:e,mask:[255,6]})},webm:function(t){var e=p(t,[c.EBML,c.DocType])[0];return Object(o.a)(e,m.webm)},mkv:function(t){var e=p(t,[c.EBML,c.DocType])[0];return Object(o.a)(e,m.matroska)},mp4:function(t){return!O["3gp"](t)&&!O.mov(t)&&(Object(o.a)(t,m.mp4,{offset:4})||Object(o.a)(t,m.fmp4,{offset:4}))},mov:function(t){return Object(o.a)(t,m.mov,{offset:4})},"3gp":function(t){return Object(o.a)(t,m["3gp"],{offset:4})},ac3:function(t){var e=Object(v.a)(t);return Object(o.a)(t,m.ac3,{offset:e})},ts:function(t){if(t.length<189&&t.length>=1)return 71===t[0];for(var e=0;e+188>>0,s=e.subarray(a+4,a+8);if(0===c)break;var f=a+c;if(f>e.length){if(n)break;f=e.length}var l=e.subarray(a+8,f);Object(o.a)(s,r[0])&&(1===r.length?i.push(l):i.push.apply(i,t(l,r.slice(1),n))),a=f}return i}(t,["moof"]).length>0}},ffdf:function(t,e,r){"use strict";(function(t){r.d(e,"a",(function(){return u}));var n=r("d36e"),o=r.n(n),i=function(e){return o.a.atob?o.a.atob(e):t.from(e,"base64").toString("binary")};function u(t){for(var e=i(t),r=new Uint8Array(e.length),n=0;n