(window.webpackJsonp=window.webpackJsonp||[]).push([[62],{821:function(t,e,r){var n=r(6),o=Object.create||function(){function t(){}return function(e){if(1!==arguments.length)throw new Error("Object.create shim only accepts one parameter.");return t.prototype=e,new t}}();function c(t,e){this.name="ParsingError",this.code=t.code,this.message=e||t.message}function l(input){function t(t,e,s,r){return 3600*(0|t)+60*(0|e)+(0|s)+(0|r)/1e3}var e=input.match(/^(\d+):(\d{1,2})(:\d{1,2})?\.(\d{3})/);return e?e[3]?t(e[1],e[2],e[3].replace(":",""),e[4]):e[1]>59?t(e[1],e[2],0,e[4]):t(0,e[1],e[2],e[4]):null}function h(){this.values=o(null)}function f(input,t,e,r){var n=r?input.split(r):[input];for(var i in n)if("string"==typeof n[i]){var o=n[i].split(e);if(2===o.length)t(o[0].trim(),o[1].trim())}}function d(input,t,e){var r=input;function n(){var t=l(input);if(null===t)throw new c(c.Errors.BadTimeStamp,"Malformed timestamp: "+r);return input=input.replace(/^[^\sa-zA-Z-]+/,""),t}function o(){input=input.replace(/^\s+/,"")}if(o(),t.startTime=n(),o(),"--\x3e"!==input.substr(0,3))throw new c(c.Errors.BadTimeStamp,"Malformed time stamp (time stamps must be separated by '--\x3e'): "+r);input=input.substr(3),o(),t.endTime=n(),o(),function(input,t){var r=new h;f(input,function(t,n){switch(t){case"region":for(var i=e.length-1;i>=0;i--)if(e[i].id===n){r.set(t,e[i].region);break}break;case"vertical":r.alt(t,n,["rl","lr"]);break;case"line":var o=n.split(","),c=o[0];r.integer(t,c),r.percent(t,c)&&r.set("snapToLines",!1),r.alt(t,c,["auto"]),2===o.length&&r.alt("lineAlign",o[1],["start","center","end"]);break;case"position":o=n.split(","),r.percent(t,o[0]),2===o.length&&r.alt("positionAlign",o[1],["start","center","end"]);break;case"size":r.percent(t,n);break;case"align":r.alt(t,n,["start","center","end","left","right"])}},/:/,/\s/),t.region=r.get("region",null),t.vertical=r.get("vertical","");try{t.line=r.get("line","auto")}catch(t){}t.lineAlign=r.get("lineAlign","start"),t.snapToLines=r.get("snapToLines",!0),t.size=r.get("size",100);try{t.align=r.get("align","center")}catch(e){t.align=r.get("align","middle")}try{t.position=r.get("position","auto")}catch(e){t.position=r.get("position",{start:0,left:0,center:50,middle:50,end:100,right:100},t.align)}t.positionAlign=r.get("positionAlign",{start:"start",left:"start",center:"center",middle:"center",end:"end",right:"end"},t.align)}(input,t)}c.prototype=o(Error.prototype),c.prototype.constructor=c,c.Errors={BadSignature:{code:0,message:"Malformed WebVTT signature."},BadTimeStamp:{code:1,message:"Malformed time stamp."}},h.prototype={set:function(t,e){this.get(t)||""===e||(this.values[t]=e)},get:function(t,e,r){return r?this.has(t)?this.values[t]:e[r]:this.has(t)?this.values[t]:e},has:function(t){return t in this.values},alt:function(t,e,a){for(var r=0;r=0&&e<=100)&&(this.set(t,e),!0)}};var v=n.createElement&&n.createElement("textarea"),m={c:"span",i:"i",b:"b",u:"u",ruby:"ruby",rt:"rt",v:"span",lang:"span"},y={white:"rgba(255,255,255,1)",lime:"rgba(0,255,0,1)",cyan:"rgba(0,255,255,1)",red:"rgba(255,0,0,1)",yellow:"rgba(255,255,0,1)",magenta:"rgba(255,0,255,1)",blue:"rgba(0,0,255,1)",black:"rgba(0,0,0,1)"},w={v:"title",lang:"lang"},T={rt:"ruby"};function x(t,input){function e(){if(!input)return null;var t,e=input.match(/^([^<]*)(<[^>]*>?)?/);return t=e[1]?e[1]:e[2],input=input.substr(t.length),t}function r(s){return v.innerHTML=s,s=v.textContent,v.textContent="",s}function n(t,element){return!T[element.localName]||T[element.localName]===t.localName}function o(e,r){var n=m[e];if(!n)return null;var element=t.document.createElement(n),o=w[e];return o&&r&&(element[o]=r.trim()),element}for(var c,h=t.document.createElement("div"),f=h,d=[];null!==(c=e());)if("<"!==c[0])f.appendChild(t.document.createTextNode(r(c)));else{if("/"===c[1]){d.length&&d[d.length-1]===c.substr(2).replace(">","")&&(d.pop(),f=f.parentNode);continue}var x,E=l(c.substr(1,c.length-2));if(E){x=t.document.createProcessingInstruction("timestamp",E),f.appendChild(x);continue}var S=c.match(/^<([^.\s/0-9>]+)(\.[^\s\\>]+)?([^>\\]+)?(\\?)>?$/);if(!S)continue;if(!(x=o(S[1],S[3])))continue;if(!n(f,x))continue;if(S[2]){var C=S[2].split(".");C.forEach(function(t){var e=/^bg_/.test(t),r=e?t.slice(3):t;if(y.hasOwnProperty(r)){var n=e?"background-color":"color",o=y[r];x.style[n]=o}}),x.className=C.join(" ")}d.push(S[1]),f.appendChild(x),f=x}return h}var E=[[1470,1470],[1472,1472],[1475,1475],[1478,1478],[1488,1514],[1520,1524],[1544,1544],[1547,1547],[1549,1549],[1563,1563],[1566,1610],[1645,1647],[1649,1749],[1765,1766],[1774,1775],[1786,1805],[1807,1808],[1810,1839],[1869,1957],[1969,1969],[1984,2026],[2036,2037],[2042,2042],[2048,2069],[2074,2074],[2084,2084],[2088,2088],[2096,2110],[2112,2136],[2142,2142],[2208,2208],[2210,2220],[8207,8207],[64285,64285],[64287,64296],[64298,64310],[64312,64316],[64318,64318],[64320,64321],[64323,64324],[64326,64449],[64467,64829],[64848,64911],[64914,64967],[65008,65020],[65136,65140],[65142,65276],[67584,67589],[67592,67592],[67594,67637],[67639,67640],[67644,67644],[67647,67669],[67671,67679],[67840,67867],[67872,67897],[67903,67903],[67968,68023],[68030,68031],[68096,68096],[68112,68115],[68117,68119],[68121,68147],[68160,68167],[68176,68184],[68192,68223],[68352,68405],[68416,68437],[68440,68466],[68472,68479],[68608,68680],[126464,126467],[126469,126495],[126497,126498],[126500,126500],[126503,126503],[126505,126514],[126516,126519],[126521,126521],[126523,126523],[126530,126530],[126535,126535],[126537,126537],[126539,126539],[126541,126543],[126545,126546],[126548,126548],[126551,126551],[126553,126553],[126555,126555],[126557,126557],[126559,126559],[126561,126562],[126564,126564],[126567,126570],[126572,126578],[126580,126583],[126585,126588],[126590,126590],[126592,126601],[126603,126619],[126625,126627],[126629,126633],[126635,126651],[1114109,1114109]];function S(t){for(var i=0;i=e[0]&&t<=e[1])return!0}return!1}function C(t){var e=[],text="";if(!t||!t.childNodes)return"ltr";function r(t,e){for(var i=e.childNodes.length-1;i>=0;i--)t.push(e.childNodes[i])}function n(t){if(!t||!t.length)return null;var e=t.pop(),text=e.textContent||e.innerText;if(text){var o=text.match(/^.*(\n|\r)/);return o?(t.length=0,o[0]):text}return"ruby"===e.tagName?n(t):e.childNodes?(r(t,e),n(t)):void 0}for(r(e,t);text=n(e);)for(var i=0;i=0&&t.line<=100))return t.line;if(!t.track||!t.track.textTrackList||!t.track.textTrackList.mediaElement)return-1;for(var track=t.track,e=track.textTrackList,r=0,i=0;im&&(v=v<0?-1:1,v*=Math.ceil(m/d)*d),l<0&&(v+=""===c.vertical?r.height:r.width,h=h.reverse()),o.move(y,v)}else{var w=o.lineHeight/r.height*100;switch(c.lineAlign){case"center":l-=w/2;break;case"end":l-=w}switch(c.vertical){case"":e.applyStyles({top:e.formatStyle(l,"%")});break;case"rl":e.applyStyles({left:e.formatStyle(l,"%")});break;case"lr":e.applyStyles({right:e.formatStyle(l,"%")})}h=["+y","-x","+x","-y"],o=new M(e)}var T=function(b,t){for(var e,o=new M(b),c=1,i=0;ip&&(e=new M(b),c=p),b=new M(o)}return e||o}(o,h);e.move(T.toCSSCompatValues(r))}function N(){}k.prototype.applyStyles=function(t,div){for(var e in div=div||this.div,t)t.hasOwnProperty(e)&&(div.style[e]=t[e])},k.prototype.formatStyle=function(t,e){return 0===t?0:t+e},A.prototype=o(k.prototype),A.prototype.constructor=A,M.prototype.move=function(t,e){switch(e=void 0!==e?e:this.lineHeight,t){case"+x":this.left+=e,this.right+=e;break;case"-x":this.left-=e,this.right-=e;break;case"+y":this.top+=e,this.bottom+=e;break;case"-y":this.top-=e,this.bottom-=e}},M.prototype.overlaps=function(t){return this.leftt.left&&this.topt.top},M.prototype.overlapsAny=function(t){for(var i=0;i=t.top&&this.bottom<=t.bottom&&this.left>=t.left&&this.right<=t.right},M.prototype.overlapsOppositeAxis=function(t,e){switch(e){case"+x":return this.leftt.right;case"+y":return this.topt.bottom}},M.prototype.intersectPercentage=function(t){return Math.max(0,Math.min(this.right,t.right)-Math.max(this.left,t.left))*Math.max(0,Math.min(this.bottom,t.bottom)-Math.max(this.top,t.top))/(this.height*this.width)},M.prototype.toCSSCompatValues=function(t){return{top:this.top-t.top,bottom:t.bottom-this.bottom,left:this.left-t.left,right:t.right-this.right,height:this.height,width:this.width}},M.getSimpleBoxPosition=function(t){var e=t.div?t.div.offsetHeight:t.tagName?t.offsetHeight:0,r=t.div?t.div.offsetWidth:t.tagName?t.offsetWidth:0,n=t.div?t.div.offsetTop:t.tagName?t.offsetTop:0;return{left:(t=t.div?t.div.getBoundingClientRect():t.tagName?t.getBoundingClientRect():t).left,right:t.right,top:t.top||n,height:t.height||e,bottom:t.bottom||n+(t.height||e),width:t.width||r}},N.StringDecoder=function(){return{decode:function(data){if(!data)return"";if("string"!=typeof data)throw new Error("Error - expected string data.");return decodeURIComponent(encodeURIComponent(data))}}},N.convertCueToDOMTree=function(t,e){return t&&e?x(t,e):null};N.processCues=function(t,e,r){if(!t||!e||!r)return null;for(;r.firstChild;)r.removeChild(r.firstChild);var n=t.document.createElement("div");if(n.style.position="absolute",n.style.left="0",n.style.right="0",n.style.top="0",n.style.bottom="0",n.style.margin="1.5%",r.appendChild(n),function(t){for(var i=0;i