(window.webpackJsonp=window.webpackJsonp||[]).push([[95],{286:function(t,e,n){var r=n(0),o=t.exports={WebVTT:n(813),VTTCue:n(814),VTTRegion:n(815)};r.vttjs=o,r.WebVTT=o.WebVTT;var f=o.VTTCue,c=o.VTTRegion,d=r.VTTCue,h=r.VTTRegion;o.shim=function(){r.VTTCue=f,r.VTTRegion=c},o.restore=function(){r.VTTCue=d,r.VTTRegion=h},r.VTTCue||o.shim()},442:function(t,e,n){"use strict";var r,o,f,c,d,h,l,y,m,w,v,A,T,U,C,x,O,L,E,B,S,V,R,P,j,k,z,M,W,D,_,G,Z,N,X,Y,H,I,J,F,K,Q=Math.pow(2,32)-1;!function(){var i;if(R={avc1:[],avcC:[],btrt:[],dinf:[],dref:[],esds:[],ftyp:[],hdlr:[],mdat:[],mdhd:[],mdia:[],mfhd:[],minf:[],moof:[],moov:[],mp4a:[],mvex:[],mvhd:[],sdtp:[],smhd:[],stbl:[],stco:[],stsc:[],stsd:[],stsz:[],stts:[],styp:[],tfdt:[],tfhd:[],traf:[],trak:[],trun:[],trex:[],tkhd:[],vmhd:[]},"undefined"!=typeof Uint8Array){for(i in R)R.hasOwnProperty(i)&&(R[i]=[i.charCodeAt(0),i.charCodeAt(1),i.charCodeAt(2),i.charCodeAt(3)]);P=new Uint8Array(["i".charCodeAt(0),"s".charCodeAt(0),"o".charCodeAt(0),"m".charCodeAt(0)]),k=new Uint8Array(["a".charCodeAt(0),"v".charCodeAt(0),"c".charCodeAt(0),"1".charCodeAt(0)]),j=new Uint8Array([0,0,0,1]),z=new Uint8Array([0,0,0,0,0,0,0,0,118,105,100,101,0,0,0,0,0,0,0,0,0,0,0,0,86,105,100,101,111,72,97,110,100,108,101,114,0]),M=new Uint8Array([0,0,0,0,0,0,0,0,115,111,117,110,0,0,0,0,0,0,0,0,0,0,0,0,83,111,117,110,100,72,97,110,100,108,101,114,0]),W={video:z,audio:M},G=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,12,117,114,108,32,0,0,0,1]),_=new Uint8Array([0,0,0,0,0,0,0,0]),Z=new Uint8Array([0,0,0,0,0,0,0,0]),N=Z,X=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0]),Y=Z,D=new Uint8Array([0,0,0,1,0,0,0,0,0,0,0,0])}}(),r=function(t){var i,e,n=[],r=0;for(i=1;i>>1,track.samplingfrequencyindex<<7|track.channelcount<<3,6,1,2]))},c=function(){return r(R.ftyp,P,j,P,k)},x=function(t){return r(R.hdlr,W[t])},d=function(data){return r(R.mdat,data)},C=function(track){var t=new Uint8Array([0,0,0,0,0,0,0,2,0,0,0,3,0,1,95,144,track.duration>>>24&255,track.duration>>>16&255,track.duration>>>8&255,255&track.duration,85,196,0,0]);return track.samplerate&&(t[12]=track.samplerate>>>24&255,t[13]=track.samplerate>>>16&255,t[14]=track.samplerate>>>8&255,t[15]=255&track.samplerate),r(R.mdhd,t)},U=function(track){return r(R.mdia,C(track),x(track.type),l(track))},h=function(t){return r(R.mfhd,new Uint8Array([0,0,0,0,(4278190080&t)>>24,(16711680&t)>>16,(65280&t)>>8,255&t]))},l=function(track){return r(R.minf,"video"===track.type?r(R.vmhd,D):r(R.smhd,_),o(),L(track))},y=function(t,e){for(var n=[],i=e.length;i--;)n[i]=B(e[i]);return r.apply(null,[R.moof,h(t)].concat(n))},m=function(t){for(var i=t.length,e=[];i--;)e[i]=A(t[i]);return r.apply(null,[R.moov,v(4294967295)].concat(e).concat(w(t)))},w=function(t){for(var i=t.length,e=[];i--;)e[i]=S(t[i]);return r.apply(null,[R.mvex].concat(e))},v=function(t){var e=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,2,0,1,95,144,(4278190080&t)>>24,(16711680&t)>>16,(65280&t)>>8,255&t,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255]);return r(R.mvhd,e)},O=function(track){var t,i,e=track.samples||[],n=new Uint8Array(4+e.length);for(i=0;i>>8),n.push(255&t[i].byteLength),n=n.concat(Array.prototype.slice.call(t[i]));for(i=0;i>>8),o.push(255&e[i].byteLength),o=o.concat(Array.prototype.slice.call(e[i]));return r(R.avc1,new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,(65280&track.width)>>8,255&track.width,(65280&track.height)>>8,255&track.height,0,72,0,0,0,72,0,0,0,0,0,0,0,1,19,118,105,100,101,111,106,115,45,99,111,110,116,114,105,98,45,104,108,115,0,0,0,0,0,0,0,0,0,0,0,0,0,24,17,17]),r(R.avcC,new Uint8Array([1,track.profileIdc,track.profileCompatibility,track.levelIdc,255].concat([t.length]).concat(n).concat([e.length]).concat(o))),r(R.btrt,new Uint8Array([0,28,156,128,0,45,198,192,0,45,198,192])))},I=function(track){return r(R.mp4a,new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,(65280&track.channelcount)>>8,255&track.channelcount,(65280&track.samplesize)>>8,255&track.samplesize,0,0,0,0,(65280&track.samplerate)>>8,255&track.samplerate,0,0]),f(track))},T=function(track){var t=new Uint8Array([0,0,0,7,0,0,0,0,0,0,0,0,(4278190080&track.id)>>24,(16711680&track.id)>>16,(65280&track.id)>>8,255&track.id,0,0,0,0,(4278190080&track.duration)>>24,(16711680&track.duration)>>16,(65280&track.duration)>>8,255&track.duration,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,(65280&track.width)>>8,255&track.width,0,0,(65280&track.height)>>8,255&track.height,0,0]);return r(R.tkhd,t)},B=function(track){var t,e,n,o,f,c;return t=r(R.tfhd,new Uint8Array([0,0,0,58,(4278190080&track.id)>>24,(16711680&track.id)>>16,(65280&track.id)>>8,255&track.id,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0])),f=Math.floor(track.baseMediaDecodeTime/(Q+1)),c=Math.floor(track.baseMediaDecodeTime%(Q+1)),e=r(R.tfdt,new Uint8Array([1,0,0,0,f>>>24&255,f>>>16&255,f>>>8&255,255&f,c>>>24&255,c>>>16&255,c>>>8&255,255&c])),"audio"===track.type?(n=V(track,92),r(R.traf,t,e,n)):(o=O(track),n=V(track,o.length+92),r(R.traf,t,e,n,o))},A=function(track){return track.duration=track.duration||4294967295,r(R.trak,T(track),U(track))},S=function(track){var t=new Uint8Array([0,0,0,0,(4278190080&track.id)>>24,(16711680&track.id)>>16,(65280&track.id)>>8,255&track.id,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,1]);return"video"!==track.type&&(t[t.length-1]=0),r(R.trex,t)},K=function(t,e){var n=0,r=0,o=0,f=0;return t.length&&(void 0!==t[0].duration&&(n=1),void 0!==t[0].size&&(r=2),void 0!==t[0].flags&&(o=4),void 0!==t[0].compositionTimeOffset&&(f=8)),[0,0,n|r|o|f,1,(4278190080&t.length)>>>24,(16711680&t.length)>>>16,(65280&t.length)>>>8,255&t.length,(4278190080&e)>>>24,(16711680&e)>>>16,(65280&e)>>>8,255&e]},F=function(track,t){var e,n,o,i;for(t+=20+16*(n=track.samples||[]).length,e=K(n,t),i=0;i>>24,(16711680&o.duration)>>>16,(65280&o.duration)>>>8,255&o.duration,(4278190080&o.size)>>>24,(16711680&o.size)>>>16,(65280&o.size)>>>8,255&o.size,o.flags.isLeading<<2|o.flags.dependsOn,o.flags.isDependedOn<<6|o.flags.hasRedundancy<<4|o.flags.paddingValue<<1|o.flags.isNonSyncSample,61440&o.flags.degradationPriority,15&o.flags.degradationPriority,(4278190080&o.compositionTimeOffset)>>>24,(16711680&o.compositionTimeOffset)>>>16,(65280&o.compositionTimeOffset)>>>8,255&o.compositionTimeOffset]);return r(R.trun,new Uint8Array(e))},J=function(track,t){var e,n,o,i;for(t+=20+8*(n=track.samples||[]).length,e=K(n,t),i=0;i>>24,(16711680&o.duration)>>>16,(65280&o.duration)>>>8,255&o.duration,(4278190080&o.size)>>>24,(16711680&o.size)>>>16,(65280&o.size)>>>8,255&o.size]);return r(R.trun,new Uint8Array(e))},V=function(track,t){return"audio"===track.type?J(track,t):F(track,t)},t.exports={ftyp:c,mdat:d,moof:y,moov:m,initSegment:function(t){var e,n=c(),r=m(t);return(e=new Uint8Array(n.byteLength+r.byteLength)).set(n),e.set(r,n.byteLength),e}}},580:function(t){t.exports=JSON.parse('{"a":"5.4.2"}')},79:function(t,e,n){"use strict";var r=function(){this.init=function(){var t={};this.on=function(e,n){t[e]||(t[e]=[]),t[e]=t[e].concat(n)},this.off=function(e,n){var r;return!!t[e]&&(r=t[e].indexOf(n),t[e]=t[e].slice(),t[e].splice(r,1),r>-1)},this.trigger=function(e){var n,i,r,o;if(n=t[e])if(2===arguments.length)for(r=n.length,i=0;i100)throw new Error("Position must be between 0 and 100.");x=t,this.hasBeenReset=!0}})),Object.defineProperty(r,"positionAlign",f({},d,{get:function(){return O},set:function(t){var e=o(t);if(!e)throw new SyntaxError("An invalid or illegal string was specified.");O=e,this.hasBeenReset=!0}})),Object.defineProperty(r,"size",f({},d,{get:function(){return L},set:function(t){if(t<0||t>100)throw new Error("Size must be between 0 and 100.");L=t,this.hasBeenReset=!0}})),Object.defineProperty(r,"align",f({},d,{get:function(){return E},set:function(t){var e=o(t);if(!e)throw new SyntaxError("An invalid or illegal string was specified.");E=e,this.hasBeenReset=!0}})),r.displayState=void 0,c)return r}c.prototype.getCueAsHTML=function(){return WebVTT.convertCueToDOMTree(window,this.text)},t.exports=c},815:function(t,e){var n={"":!0,up:!0};function r(t){return"number"==typeof t&&t>=0&&t<=100}t.exports=function(){var t=100,e=3,o=0,f=100,c=0,d=100,h="";Object.defineProperties(this,{width:{enumerable:!0,get:function(){return t},set:function(e){if(!r(e))throw new Error("Width must be between 0 and 100.");t=e}},lines:{enumerable:!0,get:function(){return e},set:function(t){if("number"!=typeof t)throw new TypeError("Lines must be set to a number.");e=t}},regionAnchorY:{enumerable:!0,get:function(){return f},set:function(t){if(!r(t))throw new Error("RegionAnchorX must be between 0 and 100.");f=t}},regionAnchorX:{enumerable:!0,get:function(){return o},set:function(t){if(!r(t))throw new Error("RegionAnchorY must be between 0 and 100.");o=t}},viewportAnchorY:{enumerable:!0,get:function(){return d},set:function(t){if(!r(t))throw new Error("ViewportAnchorY must be between 0 and 100.");d=t}},viewportAnchorX:{enumerable:!0,get:function(){return c},set:function(t){if(!r(t))throw new Error("ViewportAnchorX must be between 0 and 100.");c=t}},scroll:{enumerable:!0,get:function(){return h},set:function(t){var e=function(t){return"string"==typeof t&&!!n[t.toLowerCase()]&&t.toLowerCase()}(t);if(!1===e)throw new SyntaxError("An invalid or illegal string was specified.");h=e}}})}},850:function(t,e,n){(function(e){var n;n="undefined"!=typeof window?window:void 0!==e?e:"undefined"!=typeof self?self:{},t.exports=n}).call(this,n(30))},851:function(t,e,n){(function(e){var r,o=void 0!==e?e:"undefined"!=typeof window?window:{},f=n(852);"undefined"!=typeof document?r=document:(r=o["__GLOBAL_DOCUMENT_CACHE@4"])||(r=o["__GLOBAL_DOCUMENT_CACHE@4"]=f),t.exports=r}).call(this,n(30))},858:function(t,e,n){"use strict";var r;r=function(t){var e=t.byteLength,n=0,r=0;this.length=function(){return 8*e},this.bitsAvailable=function(){return 8*e+r},this.loadWord=function(){var o=t.byteLength-e,f=new Uint8Array(4),c=Math.min(4,e);if(0===c)throw new Error("no bytes available");f.set(t.subarray(o,o+c)),n=new DataView(f.buffer).getUint32(0),r=8*c,e-=c},this.skipBits=function(t){var o;r>t?(n<<=t,r-=t):(t-=r,t-=8*(o=Math.floor(t/8)),e-=o,this.loadWord(),n<<=t,r-=t)},this.readBits=function(t){var o=Math.min(r,t),f=n>>>32-o;return(r-=o)>0?n<<=o:e>0&&this.loadWord(),(o=t-o)>0?f<>>t)return n<<=t,r-=t,t;return this.loadWord(),t+this.skipLeadingZeros()},this.skipUnsignedExpGolomb=function(){this.skipBits(1+this.skipLeadingZeros())},this.skipExpGolomb=function(){this.skipBits(1+this.skipLeadingZeros())},this.readUnsignedExpGolomb=function(){var t=this.skipLeadingZeros();return this.readBits(t+1)-1},this.readExpGolomb=function(){var t=this.readUnsignedExpGolomb();return 1&t?1+t>>>1:-1*(t>>>1)},this.readBoolean=function(){return 1===this.readBits(1)},this.readUnsignedByte=function(){return this.readBits(8)},this.loadWord()},t.exports=r},864:function(t,e,n){t.exports={generator:n(442),Transmuxer:n(293).Transmuxer,AudioSegmentStream:n(293).AudioSegmentStream,VideoSegmentStream:n(293).VideoSegmentStream}},867:function(t,e){var n,r,o,f,c,d;n=function(t){return 9e4*t},r=function(t,e){return t*e},o=function(t){return t/9e4},f=function(t,e){return t/e},c=function(t,e){return n(f(t,e))},d=function(t,e){return r(o(t),e)},t.exports={secondsToVideoTs:n,secondsToAudioTs:r,videoTsToSeconds:o,audioTsToSeconds:f,audioTsToVideoTs:c,videoTsToAudioTs:d}}}]);