|
|
!function(t,A){"object"==typeof exports&&"undefined"!=typeof module?module.exports=A():"function"==typeof define&&define.amd?define(A):t.videojs=A()}(this,function(){function t(t,A){return t(A={exports:{}},A.exports),A.exports}function A(t){return t.replace(/\n\r?\s*/g,"")}function e(t,A){eA(t).forEach(function(e){return A(t[e],e)})}function i(t){for(var A=arguments.length,i=Array(A>1?A-1:0),n=1;n<A;n++)i[n-1]=arguments[n];return Object.assign?Object.assign.apply(Object,[t].concat(i)):(i.forEach(function(A){A&&e(A,function(A,e){t[e]=A})}),t)}function n(t){return!!t&&"object"===(void 0===t?"undefined":Xt(t))}function r(t){return n(t)&&"[object Object]"===AA.call(t)&&t.constructor===Object}function o(t,A){if(!t||!A)return"";if("function"==typeof zt.getComputedStyle){var e=zt.getComputedStyle(t);return e?e[A]:""}return""}function a(t){return"string"==typeof t&&/\S/.test(t)}function s(t){if(/\s/.test(t))throw new Error("class has illegal whitespace characters")}function g(){return Gt===zt.document}function M(t){return n(t)&&1===t.nodeType}function I(){try{return zt.parent!==zt.self}catch(t){return!0}}function c(t){return function(A,e){if(!a(A))return Gt[t](null);a(e)&&(e=Gt.querySelector(e));var i=M(e)?e:Gt;return i[t]&&i[t](A)}}function u(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"div",A=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=arguments[3],n=Gt.createElement(t);return Object.getOwnPropertyNames(A).forEach(function(t){var e=A[t];-1!==t.indexOf("aria-")||"role"===t||"type"===t?(Vt.warn(qt(iA,t,e)),n.setAttribute(t,e)):"textContent"===t?E(n,e):n[t]=e}),Object.getOwnPropertyNames(e).forEach(function(t){n.setAttribute(t,e[t])}),i&&Y(n,i),n}function E(t,A){return void 0===t.textContent?t.innerText=A:t.textContent=A,t}function h(t,A){A.firstChild?A.insertBefore(t,A.firstChild):A.appendChild(t)}function l(t,A){return s(A),t.classList?t.classList.contains(A):function(t){return new RegExp("(^|\\s)"+t+"($|\\s)")}(A).test(t.className)}function d(t,A){return t.classList?t.classList.add(A):l(t,A)||(t.className=(t.className+" "+A).trim()),t}function C(t,A){return t.classList?t.classList.remove(A):(s(A),t.className=t.className.split(/\s+/).filter(function(t){return t!==A}).join(" ")),t}function T(t,A,e){var i=l(t,A);if("function"==typeof e&&(e=e(t,A)),"boolean"!=typeof e&&(e=!i),e!==i)return e?d(t,A):C(t,A),t}function N(t,A){Object.getOwnPropertyNames(A).forEach(function(e){var i=A[e];null===i||void 0===i||!1===i?t.removeAttribute(e):t.setAttribute(e,!0===i?"":i)})}function D(t){var A={};if(t&&t.attributes&&t.attributes.length>0)for(var e=t.attributes,i=e.length-1;i>=0;i--){var n=e[i].name,r=e[i].value;"boolean"!=typeof t[n]&&-1===",autoplay,stretch,fluent,controls,playsinline,loop,muted,default,defaultMuted,".indexOf(","+n+",")||(r=null!==r),A[n]=r}return A}function y(t,A){return t.getAttribute(A)}function B(t,A,e){t.setAttribute(A,e)}function f(t,A){t.removeAttribute(A)}function Q(){Gt.body.focus(),Gt.onselectstart=function(){return!1}}function w(){Gt.onselectstart=function(){return!0}}function m(t){if(t&&t.getBoundingClientRect&&t.parentNode){var A=t.getBoundingClientRect(),e={};return["bottom","height","left","right","top","width"].forEach(function(t){void 0!==A[t]&&(e[t]=A[t])}),e.height||(e.height=parseFloat(o(t,"height"))),e.width||(e.width=parseFloat(o(t,"width"))),e}}function p(t){var A=void 0;if(t.getBoundingClientRect&&t.parentNode&&(A=t.getBoundingClientRect()),!A)return{left:0,top:0};var e=Gt.documentElement,i=Gt.body,n=e.clientLeft||i.clientLeft||0,r=zt.pageXOffset||i.scrollLeft,o=A.left+r-n,a=e.clientTop||i.clientTop||0,s=zt.pageYOffset||i.scrollTop,g=A.top+s-a;return{left:Math.round(o),top:Math.round(g)}}function S(t,A){var e={},i=p(t),n=t.offsetWidth,r=t.offsetHeight,o=i.top,a=i.left,s=A.pageY,g=A.pageX;return A.changedTouches&&(g=A.changedTouches[0].pageX,s=A.changedTouches[0].pageY),e.y=Math.max(0,Math.min(1,(o-s+r)/r)),e.x=Math.max(0,Math.min(1,(g-a)/n)),e}function L(t){return n(t)&&3===t.nodeType}function j(t){for(;t.f/*! * Determine if an object is a Buffer * * @author Feross Aboukhadijeh <https://feross.org>
* @license MIT */t.exports=function(t){return null!=t&&(e(t)||function(t){return"function"==typeof t.readFloatLE&&"function"==typeof t.slice&&e(t.slice(0,0))}(t)||!!t._isBuffer)}},"5Srp":function(t,A,e){"use strict";var i=e("gvuQ"),n=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];t.exports=function(t){var A,e,r,o={};return t?(i.forEach(t.split("\n"),function(t){if(r=t.indexOf(":"),A=i.trim(t.substr(0,r)).toLowerCase(),e=i.trim(t.substr(r+1)),A){if(o[A]&&n.indexOf(A)>=0)return;o[A]="set-cookie"===A?(o[A]?o[A]:[]).concat([e]):o[A]?o[A]+", "+e:e}}),o):o}},"5kkC":function(t,A,e){"use strict";var i=e("cGIK"),n=e.n(i),r=function(){function t(t,A){for(var e=0;e<A.length;e++){var i=A[e];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(A,e,i){return e&&t(A.prototype,e),i&&t(A,i),A}}();var o=function(){function t(){!function(t,A){if(!(t instanceof A))throw new TypeError("Cannot call a class as a function")}(this,t)}return r(t,null,[{key:"e",value:function(A,e){A&&!t.FORCE_GLOBAL_TAG||(A=t.GLOBAL_TAG);var i="["+A+"] > "+e;t.ENABLE_CALLBACK&&t.emitter.emit("log","error",i),t.ENABLE_ERROR&&(console.error?console.error(i):console.warn?console.warn(i):console.log(i))}},{key:"i",value:function(A,e){A&&!t.FORCE_GLOBAL_TAG||(A=t.GLOBAL_TAG);var i="["+A+"] > "+e;t.ENABLE_CALLBACK&&t.emitter.emit("log","info",i),t.ENABLE_INFO&&(console.info?console.info(i):console.log(i))}},{key:"w",value:function(A,e){A&&!t.FORCE_GLOBAL_TAG||(A=t.GLOBAL_TAG);var i="["+A+"] > "+e;t.ENABLE_CALLBACK&&t.emitter.emit("log","warn",i),t.ENABLE_WARN&&(console.warn?console.warn(i):console.log(i))}},{key:"d",value:function(A,e){A&&!t.FORCE_GLOBAL_TAG||(A=t.GLOBAL_TAG);var i="["+A+"] > "+e;t.ENABLE_CALLBACK&&t.emitter.emit("log","debug",i),t.ENABLE_DEBUG&&(console.debug?console.debug(i):console.log(i))}},{key:"v",value:function(A,e){A&&!t.FORCE_GLOBAL_TAG||(A=t.GLOBAL_TAG);var i="["+A+"] > "+e;t.ENABLE_CALLBACK&&t.emitter.emit("log","verbose",i),t.ENABLE_VERBOSE&&console.log(i)}}]),t}();o.GLOBAL_TAG="EasyPlayer.js",o.FORCE_GLOBAL_TAG=!1,o.ENABLE_ERROR=!0,o.ENABLE_INFO=!0,o.ENABLE_WARN=!0,o.ENABLE_DEBUG=!0,o.ENABLE_VERBOSE=!0,o.ENABLE_CALLBACK=!1,o.emitter=new n.a,A.a=o},"5p4y":function(t,A){t.exports=function(t,A){for(var e=[],i={},n=0;n<A.length;n++){var r=A[n],o=r[0],a={id:t+":"+n,css:r[1],media:r[2],sourceMap:r[3]};i[o]?i[o].parts.push(a):e.push(i[o]={id:o,parts:[a]})}return e}},"5zLF":function(t,A){t.exports=function(t){for(var A,e=t.length;e--;){if(255!==(A=t.readUInt8(e))){A++,t.writeUInt8(A,e);break}t.writeUInt8(0,e)}}},6:function(t,A){},"68ub":function(t,A,e){"use strict";var i=e("DkjP");function n(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var A;this.promise=new Promise(function(t){A=t});var e=this;t(function(t){e.reason||(e.reason=new i(t),A(e.reason))})}n.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},n.source=function(){var t;return{token:new n(function(A){t=A}),cancel:t}},t.exports=n},"6BOp":function(t,A,e){"use strict";const i=e("WXsb").Reporter,n=e("cKvS").EncoderBuffer,r=e("cKvS").DecoderBuffer,o=e("tSXQ"),a=["seq","seqof","set","setof","objid","bool","gentime","utctime","null_","enum","int","objDesc","bitstr","bmpstr","charstr","genstr","graphstr","ia5str","iso646str","numstr","octstr","printstr","t61str","unistr","utf8str","videostr"],s=["key","obj","use","optional","explicit","implicit","def","choice","any","contains"].concat(a);function g(t,A,e){const i={};this._baseState=i,i.name=e,i.enc=t,i.parent=A||null,i.children=null,i.tag=null,i.args=null,i.reverseArgs=null,i.choice=null,i.optional=!1,i.any=!1,i.obj=!1,i.use=null,i.useDecoder=null,i.key=null,i.default=null,i.explicit=null,i.implicit=null,i.contains=null,i.parent||(i.children=[],this._wrap())}t.exports=g;const M=["enc","parent","children","tag","args","reverseArgs","choice","optional","any",/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */var i=e("NfRg"),n=i.Buffer;function r(t,A){for(var e in t)A[e]=t[e]}function o(t,A,e){return n(t,A,e)}n.from&&n.alloc&&n.allocUnsafe&&n.allocUnsafeSlow?t.exports=i:(r(i,A),A.Buffer=o),o.prototype=Object.create(n.prototype),r(n,o),o.from=function(t,A,e){if("number"==typeof t)throw new TypeError("Argument must not be a number");return n(t,A,e)},o.alloc=function(t,A,e){if("number"!=typeof t)throw new TypeError("Argument must be a number");var i=n(t);return void 0!==A?"string"==typeof e?i.fill(A,e):i.fill(A):i.fill(0),i},o.allocUnsafe=function(t){if("number"!=typeof t)throw new TypeError("Argument must be a number");return n(t)},o.allocUnsafeSlow=function(t){if("number"!=typeof t)throw new TypeError("Argument must be a number");return i.SlowBuffer(t)}},DaQO:function(t,A,e){"use strict";var i=e("5kkC"),n=e("vTtt"),r=e("COQ+"),o=e("HM6J"),a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},s=function(){function t(t,A){for(var e=0;e<A.length;e++){var i=A[e];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(A,e,i){return e&&t(A.prototype,e),i&&t(A,i),A}}();var g=function(t){function A(t,e){!function(t,A){if(!(t instanceof A))throw new TypeError("Cannot call a class as a function")}(this,A);var i=function(t,A){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!A||"object"!=typeof A&&"function"!=typeof A?t:A}(this,(A.__proto__||Object.getPrototypeOf(A)).call(this,"xhr-range-loader"));return i.TAG="RangeLoader",i._seekHandler=t,i._config=e,i._needStash=!1,i._chunkSizeKBList=[128,256,384,512,768,1024,1536,2048,3072,4096,5120,6144,7168,8192],i._currentChunkSizeKB=384,i._currentSpeedNormalized=0,i._zeroSpeedChunkCount=0,i._xhr=null,i._speedSampler=new n.a,i._requestAbort=!1,i._waitForTotalLength=!1,i._totalLengthReceived=!1,i._currentRequestURL=null,i._currentRedirectedURL=null,i._currentRequestRange=null,i._totalLength=null,i._contentLength=null,i._receivedLength=0,i._lastTimeLoaded=0,i}return function(t,A){if("function"!=typeof A&&null!==A)throw new TypeError("Super expression must either be null or a function, not "+typeof A);t.prototype=Object.create(A&&A.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),A&&(Object.setPrototypeOf?Object.setPrototypeOf(t,A):t.__proto__=A)}(A,r["a"]),s(A,null,[{key:"isSupported",value:function(){try{var t=new XMLHttpRequest;return t.open("GET","https://example.com",!0),t.responseType="arraybuffer","arraybuffer"===t.responseType}catch(t){return i.a.w("RangeLoader",t.message),!1}}}]),s(A,[{key:"destroy",value:function(){this.isWorking()&&this.abort(),this._xhr&&(this._xhr.onreadystatechange=null,this._xhr.onprogress=null,this._xhr.onload=null,this._xhr.onerror=null,this._xhr=null),function t(A,e,i){null===A&&(A=Function.prototype);var n=Object.getOwnPropertyDescriptor(A,e);if(void 0===n){var r=Object.getPrototypeOf(A);return null===r?void 0:t(r,e,i)}if("value"in n)return n.value;var o=n.get;return void 0!==o?o.call(i):void 0}(A.prototype.__proto__||Object.getPrototypeOf(A.prototype),"destroy",this).call(this)}},{key:"open",value:function(t,A){this._dataSource=t,this._range=A,this._status=r.c.kConnecting;var e=!1;void 0!=this._dataSource.filesize&&0!==this._dataSource.filesize&&(e=!0,this._totalLength=this._dataSource.filesize),this._totalLengthReceived||e?this._openSubRange():(this._waitForTotalLength=!0,this._internalOpen(this._dataSource,{from:0,to:-1}))}},{key:"_openSubRange",value:function(){var t=1024*this._currentChunkSizeKB,A=this._range.from+this._receivedLength,e=A+t;null!=this._contentLength&&e-this._range.from>=this._contentLength&&(e=this._range.from+this._contentLength-1),this._currentRequestRange={from:A,to:e},this._internalOpen(this._dataSource,this._currentRequestRange)}},{key:"_internalOpen",value:function(t,A){this._lastTimeLoaded=0;var e=t.url;this._config.reuseRedirectedURL&&(void 0/*! @name @videojs/vhs-utils @version 1.3.0 @license MIT */var i=function(){function t(){this.listeners={}}var A=t.prototype;return A.on=function(t,A){this.listeners[t]||(this.listeners[t]=[]),this.listeners[t].push(A)},A.off=function(t,A){if(!this.listeners[t])return!1;var e=this.listeners[t].indexOf(A);return this.listeners[t]=this.listeners[t].slice(0),this.listeners[t].splice(e,1),e>-1},A.trigger=function(t){var A=this.listeners[t];if(A)if(2===arguments.length)for(var e=A.length,i=0;i<e;++i)A[i].call(this,arguments[1]);else for(var n=Array.prototype.slice.call(arguments,1),r=A.length,o=0;o<r;++o)A[o].apply(this,n)},A.dispose=function(){this.listeners={}},A.pipe=function(t){this.on("data",function(A){t.push(A)})},t}();t.exports=i},"H/6M":function(t,A,e){"use strict";var i=e("u/Wk"),n=e("UXd7"),r=n.assert,o=n.cachedProperty,a=n.parseBytes;function s(t,A){this.eddsa=t,"object"!=typeof A&&(A=a(A)),Array.isArray(A)&&(A={R:A.slice(0,t.encodingLength),S:A.slice(t.encodingLength)}),r(A.R&&A.S,"Signature without R or S"),t.isPoint(A.R)&&(this._R=A.R),A.S instanceof i&&(this._S=A.S),this._Rencoded=Array.isArray(A.R)?A.R:A.Rencoded,this._Sencoded=Array.isArray(A.S)?A.S:A.Sencoded}o(s,"S",function(){return this.eddsa.decodeInt(this.Sencoded())}),o(s,"R",function(){return this.eddsa.decodePoint(this.Rencoded())}),o(s,"Rencoded",function(){return this.eddsa.encodePoint(this.R())}),o(s,"Sencoded",function(){return this.eddsa.encodeInt(this.S())}),s.prototype.toBytes=function(){return this.Rencoded().concat(this.Sencoded())},s.prototype.toHex=function(){return n.encode(this.toBytes(),"hex").toUpperCase()},t.exports=s},H6Sj:function(t,A,e){"use strict";var i=e("BUBJ"),n=e("1QMs"),r=e("FPTc"),o=e("IQMp"),a=e("jPC6"),s=(e.n(a),e("FpkY")),g=(e.n(s),e("fsIH")),M=(e.n(g),e("MUQo")),I=function(){function t(t,A){for(var e=0;e<A.length;e++){var i=A[e];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(A,e,i){return e&&t(A.prototype,e),i&&t(A,i),A}}();var c=function(){function t(A,e,i){var r=this,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};!function(t,A){if(!(t instanceof A))throw new TypeError("Cannot call a class as a function")}(this,t),this.snapshot="",this.snapshotTimer=null,this.playerInstance=null,this.WebRTCPlayerInstance=null;var a=o.cbUserPtr,s=o.decodeType,g=o.openAudio,M=o.BigPlay,I=o.Height,c=o.UnLogo,u=o.HideKbs,E=o.cfKbs;if(this.url=A,this.UnLogo=c,this.callbackFunc=i||function(){},this.fulls=!0,this.callbackUserPtr=a,this.decodeType="soft",this.version="v2.1.20210323",this.timeKbps=null,this.HideKbs=u,this.cfKbs=E||function(){},"auto"!==s&&"soft"!==s||(this.decodeType=s),n.a.supportMSEH264Playback()||(this.decodeType="soft"),this.internalTriggerPlay=!1,this.showTimeLabel=!1,this.seeking=!1,this.callbackEnd=!1,this.initH5Flag=!1,this.currentH5Status=!1,this.seekTimeSecs=0,this.fullScreenFlag=!1,this.playerUI=e,null!=this.playerUI){if(this.playerUI.classList=I?"player-box":"player-content",this.Snap=document.createElement("img"),this.Snap.src="",this.Snap.alt="",this.Snap.style="position:absolute;top:0px;left:0px;width:100%;height:100%;z-index:1;display:none",this.playerUI.appendChild(this.Snap),this.h5Video=null,this.h5Video=document.createElement("VIDEO"),this.h5Video.style="width:0%;height:0%;position:absolute;top:0px;left:0px;background: black;",this.h5Video.setAttribute("oncontextmenu","return false"),this.playerUI.appendChild(this.h5Video),void 0!=M&&M){this.bigPlayBox=document.createElement("div"),this.bigPlayBox.style="display:block",this.bigPlayBox.classList="bigPlayBox fa fa-play",this.playerUI.appendChild(this.bigPlayBox);var h=this;this.bigPlayBox.onclick=function(){""!==h.url&&(h.playFlag?(h.internalTriggerPlay=!1,h.play(h.url,1,h.seekTimeSecs)):h.pause())}}this.offscreenCanvas=null,this.canvas=document.createElement("canvas"),this.canvas.id="wasmCanvas",this.canvas.style="width:100%;height:100%;position:absolute;top:0px;left:0px;background: black;",this.playerUI.appendChild(this.canvas),this.timeBox=document.createElement("/** * vue-custom-element v3.3.0 * (c) 2021 Karol Fabjańczuk * @license MIT */function i(t,A){return t.__proto__=A,t}Object.setPrototypeOf=Object.setPrototypeOf||i;i.bind(Object);var n="undefined"!=typeof Symbol&&"undefined"!=typeof Reflect&&"undefined"!=typeof Proxy&&!Object.isSealed(Proxy),r=function(){function t(t,A){for(var e=0;e<A.length;e++){var i=A[e];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(A,e,i){return e&&t(A.prototype,e),i&&t(A,i),A}}();function o(t,A){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!A||"object"!=typeof A&&"function"!=typeof A?t:A}function a(){return Reflect.construct(HTMLElement,[],this.__proto__.constructor)}function s(t){var A=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if("undefined"!=typeof customElements){if(n){var e=function(t){function e(t){!function(t,A){if(!(t instanceof A))throw new TypeError("Cannot call a class as a function")}(this,e);var A=o(this,(e.__proto__||Object.getPrototypeOf(e)).call(this)),i=t?HTMLElement.call(t):A;return s.call(i),o(A,i)}return function(t,A){if("function"!=typeof A&&null!==A)throw new TypeError("Super expression must either be null or a function, not "+typeof A);t.prototype=Object.create(A&&A.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),A&&(Object.setPrototypeOf?Object.setPrototypeOf(t,A):t.__proto__=A)}(e,a),r(e,null,[{key:"observedAttributes",get:function(){return A.observedAttributes||[]}}]),e}();return e.prototype.connectedCallback=g,e.prototype.disconnectedCallback=M,e.prototype.attributeChangedCallback=I,c(t,e),e}var i=function(t){var A=t?HTMLElement.call(t):this;return s.call(A),A};return i.observedAttributes=A.observedAttributes||[],(i.prototype=Object.create(HTMLElement.prototype,{constructor:{configurable:!0,writable:!0,value:i}})).connectedCallback=g,i.prototype.disconnectedCallback=M,i.prototype.attributeChangedCallback=I,c(t,i),i}function s(){!0===A.shadow&&HTMLElement.prototype.attachShadow&&this.attachShadow({mode:"open"}),"function"==typeof A.constructorCallback&&A.constructorCallback.call(this)}function g(){"function"==typeof A.connectedCallback&&A.connectedCallback.call(this)}function M(){"function"==typeof A.disconnectedCallback&&A.disconnectedCallback.call(this)}function I(t,e,i){"function"==typeof A.attributeChangedCallback&&A.attributeChangedCallback.call(this,t,e,i)}function c(t,A){var e=customElements.get(t);return void 0!==e?e:customElements.define(t,A)}}Object.setPrototypeOf(a.prototype,HTMLElement.prototype),Object.setPrototypeOf(a,HTMLElement);var g=/-(\w)/g,M=function(t){return t.replace(g,function(t,A){return A?A.toUpperCase():""})},I=/([^-])([A-Z])/g,c=function(t){return t.replace(I,"$1-$2").replace(I,"$1-$2").toLowerCase()};function u(t){for(var A=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,e=t.length-A,i=new Array(e);e--;)i[e]=t[e+A];return i}var E="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};function h(t,A){if(null===t||void 0===t)return A!==Boolean&&void 0;var e=t,i=["true","false"].indexOf(t)>-1,n=parseFloat(e,10),r=!isNaN(n)&&isFinite(e)&&"string"==typeof e&&!e.match(/^0+[^.]\d*$/g);return A&&A!==Boolean&&(void 0===e?"undefined":E(e))!==A?e=A(t):i||A===Boolean?e=""===e||("true"===e||!0===e):r&&(e=n),e}function l(t,A){if(t&&t.length)t.forEach(function(t){var e=M(t);-1===A.camelCase.indexOf(e)&&A.camelCase.push(e)});else if(t&&"object"===(void 0===t?"undefined":E(t)))for(var e in t){var i=M(e);-1===A.camelCase.indexOf(i)&&A.camelCase.push(i),t[i]&&t[i].type&&(A.types[e]=[].concat(t[i].type)[0])}}function d(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},A={camelCase:[],hyphenate:[],types:{}};(t.mixins&&t.mixins.forEach(function(t){l(t.props,A)}),t.extends&&t.extends.props)&&l(t.extends.props,A);return l(t.props,A),A.camelCase.forEach(function(t){A.hyphenate.push(c(t))}),A}function C(t){var A={};return u(t.attributes).forEach(fu/*! * The buffer module from node.js, for the browser. * * @author Feross Aboukhadijeh <http://feross.org>
* @license MIT */var i=e("zGdw"),n=e("YlXM"),r=e("5RIO");function o(){return s.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function a(t,A){if(o()<A)throw new RangeError("Invalid typed array length");return s.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(A)).__proto__=s.prototype:(null===t&&(t=new s(A)),t.length=A),t}function s(t,A,e){if(!(s.TYPED_ARRAY_SUPPORT||this instanceof s))return new s(t,A,e);if("number"==typeof t){if("string"==typeof A)throw new Error("If encoding is specified then the first argument must be a string");return I(this,t)}return g(this,t,A,e)}function g(t,A,e,i){if("number"==typeof A)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&A instanceof ArrayBuffer?function(t,A,e,i){if(A.byteLength,e<0||A.byteLength<e)throw new RangeError("'offset' is out of bounds");if(A.byteLength<e+(i||0))throw new RangeError("'length' is out of bounds");A=void 0===e&&void 0===i?new Uint8Array(A):void 0===i?new Uint8Array(A,e):new Uint8Array(A,e,i);s.TYPED_ARRAY_SUPPORT?(t=A).__proto__=s.prototype:t=c(t,A);return t}(t,A,e,i):"string"==typeof A?function(t,A,e){"string"==typeof e&&""!==e||(e="utf8");if(!s.isEncoding(e))throw new TypeError('"encoding" must be a valid string encoding');var i=0|E(A,e),n=(t=a(t,i)).write(A,e);n!==i&&(t=t.slice(0,n));return t}(t,A,e):function(t,A){if(s.isBuffer(A)){var e=0|u(A.length);return 0===(t=a(t,e)).length?t:(A.copy(t,0,0,e),t)}if(A){if("undefined"!=typeof ArrayBuffer&&A.buffer instanceof ArrayBuffer||"length"in A)return"number"!=typeof A.length||(i=A.length)!=i?a(t,0):c(t,A);if("Buffer"===A.type&&r(A.data))return c(t,A.data)}var i;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(t,A)}function M(t){if("number"!=typeof t)throw new TypeError('"size" argument must be a number');if(t<0)throw new RangeError('"size" argument must not be negative')}function I(t,A){if(M(A),t=a(t,A<0?0:0|u(A)),!s.TYPED_ARRAY_SUPPORT)for(var e=0;e<A;++e)t[e]=0;return t}function c(t,A){var e=A.length<0?0:0|u(A.length);t=a(t,e);for(var i=0;i<e;i+=1)t[i]=255&A[i];return t}function u(t){if(t>=o())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o().toString(16)+" bytes");return 0|t}function E(t,A){if(s.isBuffer(t))return t.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!=typeof t&&(t=""+t);var e=t.length;if(0===e)return 0;for(var i=!1;;)switch(A){case"ascii":case"latin1":case"binary":return e;case"utf8":case"utf-8":case void 0:return b(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*e;case"hex":return e>>>1;case"base64":return R(t).length;default:if(i)return b(t).length;A=(""+A).toLowerCase(),i=!0}}function h(t,A,e){var i=t[A];t[A]=t[e],t[e]=i}function l(t,A,e,i,n){if(0===t.length)return-1;if("string"==typeof e?(i=e,e=0):e>2147483647?e=2147483647:e<-2147483648&&(e=-2147483648),e=+e,isNaN(e)&&(e=n?0:t.length-1),e<0&&(e=t.length+e),e>=t.length){if(n)return-1;e=t.length-1}else if(e<0){if(!n)return-1;e=0}if("string"==typeof A&&(A=s.from(A,i)),s.isBuffer(A))return 0===A.length?-1:d(t,A,e,i,n);if("number"==typeof A)return A&=255,s.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?n?Uint8Array.prototype.indexOf.call(t,A,e):Uint8Array.prototype.lastIndexOf.call(t,A,e):d(t,[A],e,i,n);throw new TypeError("val must be string, number or Buffer")}function d(t,A,e,i,n){var r,o=1,a=t.length,s=A.length;if(void 0!==i&&("ucs2"===(i=String(i).toLowerCase())||"ucs-2"===i||"utf16le"===i||"utf-16le"===i)){if(t.length<2||A.length<2)return-1;o=2,a/=2,s/=2,e/=2}function g(t,A){return 1===o?t[A]:t.readUInt16BE(A*o)}if(n){var M=-1;for(r=e;r<a;r++)if(g(t,r)===g(A,-1===M?0:r-M)){if(-1===M&&(M=r),r-M+1===s)return M*o}else-1!==M&&(r-=r-M),M=-1}else for(e+s>a&&(e=a-s),r=e;r>=0;r--){for(var I=!0,c=0;c<s;c++)if(g(t,r+c)!==g(A,c)){I=!1;break}if(I)return r}return-1}function C(t,A,e,i){e=Number(e)||0;var n=t.length-e;i?(i=Number(i))>n&&(i=n):i=n;var r=A.length;if(r%2!=0)throw new TypeError("I/*! * Vue.js v2.5.13 * (c) 2014-2017 Evan You * Released under the MIT License. */var i=Object.freeze({});function n(t){return void 0===t||null===t}function r(t){return void 0!==t&&null!==t}function o(t){return!0===t}function a(t){return"string"==typeof t||"number"==typeof t||"symbol"==typeof t||"boolean"==typeof t}function s(t){return null!==t&&"object"==typeof t}var g=Object.prototype.toString;function M(t){return"[object Object]"===g.call(t)}function I(t){return"[object RegExp]"===g.call(t)}function c(t){var A=parseFloat(String(t));return A>=0&&Math.floor(A)===A&&isFinite(t)}function u(t){return null==t?"":"object"==typeof t?JSON.stringify(t,null,2):String(t)}function E(t){var A=parseFloat(t);return isNaN(A)?t:A}function h(t,A){for(var e=Object.create(null),i=t.split(","),n=0;n<i.length;n++)e[i[n]]=!0;return A?function(t){return e[t.toLowerCase()]}:function(t){return e[t]}}var l=h("slot,component",!0),d=h("key,ref,slot,slot-scope,is");function C(t,A){if(t.length){var e=t.indexOf(A);if(e>-1)return t.splice(e,1)}}var T=Object.prototype.hasOwnProperty;function N(t,A){return T.call(t,A)}function D(t){var A=Object.create(null);return function(e){return A[e]||(A[e]=t(e))}}var y=/-(\w)/g,B=D(function(t){return t.replace(y,function(t,A){return A?A.toUpperCase():""})}),f=D(function(t){return t.charAt(0).toUpperCase()+t.slice(1)}),Q=/\B([A-Z])/g,w=D(function(t){return t.replace(Q,"-$1").toLowerCase()});function m(t,A){function e(e){var i=arguments.length;return i?i>1?t.apply(A,arguments):t.call(A,e):t.call(A)}return e._length=t.length,e}function p(t,A){A=A||0;for(var e=t.length-A,i=new Array(e);e--;)i[e]=t[e+A];return i}function S(t,A){for(var e in A)t[e]=A[e];return t}function L(t){for(var A={},e=0;e<t.length;e++)t[e]&&S(A,t[e]);return A}function j(t,A,e){}var x=function(t,A,e){return!1},Y=function(t){return t};function U(t,A){if(t===A)return!0;var e=s(t),i=s(A);if(!e||!i)return!e&&!i&&String(t)===String(A);try{var n=Array.isArray(t),r=Array.isArray(A);if(n&&r)return t.length===A.length&&t.every(function(t,e){return U(t,A[e])});if(n||r)return!1;var o=Object.keys(t),a=Object.keys(A);return o.length===a.length&&o.every(function(e){return U(t[e],A[e])})}catch(t){return!1}}function O(t,A){for(var e=0;e<t.length;e++)if(U(t[e],A))return e;return-1}function v(t){var A=!1;return function(){A||(A=!0,t.apply(this,arguments))}}var k="data-server-rendered",z=["component","directive","filter"],F=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured"],b={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:x,isReservedAttr:x,isUnknownElement:x,getTagNamespace:j,parsePlatformTagName:Y,mustUseProp:x,_lifecycleHooks:F};function R(t){var A=(t+"").charCodeAt(0);return 36===A||95===A}function J(t,A,e,i){Object.defineProperty(t,A,{value:e,enumerable:!!i,writable:!0,configurable:!0})}var G=/[^\w.$]/;var K,H="__proto__"in{},P="undefined"!=typeof window,W="undefined"!=typeof WXEnvironment&&!!WXEnvironment.platform,V=W&&WXEnvironment.platform.toLowerCase(),q=P&&window.navigator.userAgent.toLowerCase(),X=q&&/msie|trident/.test(q),Z=q&&q.indexOf("msie 9.0")>0,_=q&&q.indexOf("edge/")>0,$=q&&q.indexOf("android")>0||"android"===V,tt=q&&/iphone|ipad|ipod|ios/.test(q)||"ios"===V,At=(q&&/chrome\/\d+/.test(q),{}.watch),et=!1;if(P)try{var it={};Object.defineProperty(it,"passive",{get:function(){et=!0}}),window.addEventListener("test-passive",null,it)}catch(t){}var nt=function(){return void 0===K&&(K=!P&&void 0!==A&&"server"===A.process.env.VUE_ENV),K},rt=P&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function ot(t){return"function"==typeof t&&/native code/.test(t.toString())}var at,st="undefined"!=typeof Symbol&&ot(Symbol)&&"undefined"!=typeof Reflect&&ot(Reflect.ownKeys);at="undefined"!=typeof Set&&ot(Set)?Set:function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(t){return!0===this.set[t]},t.prototype.add=function(t){this.set[t]=!0},t.prototype.clear=function(){this.set=Object.create(null)},/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */A.read=function(t,A,e,i,n){var r,o,a=8*n-i-1,s=(1<<a)-1,g=s>>1,M=-7,I=e?n-1:0,c=e?-1:1,u=t[A+I];for(I+=c,r=u&(1<<-M)-1,u>>=-M,M+=a;M>0;r=256*r+t[A+I],I+=c,M-=8);for(o=r&(1<<-M)-1,r>>=-M,M+=i;M>0;o=256*o+t[A+I],I+=c,M-=8);if(0===r)r=1-g;else{if(r===s)return o?NaN:1/0*(u?-1:1);o+=Math.pow(2,i),r-=g}return(u?-1:1)*o*Math.pow(2,r-i)},A.write=function(t,A,e,i,n,r){var o,a,s,g=8*r-n-1,M=(1<<g)-1,I=M>>1,c=23===n?Math.pow(2,-24)-Math.pow(2,-77):0,u=i?0:r-1,E=i?1:-1,h=A<0||0===A&&1/A<0?1:0;for(A=Math.abs(A),isNaN(A)||A===1/0?(a=isNaN(A)?1:0,o=M):(o=Math.floor(Math.log(A)/Math.LN2),A*(s=Math.pow(2,-o))<1&&(o--,s*=2),(A+=o+I>=1?c/s:c*Math.pow(2,1-I))*s>=2&&(o++,s/=2),o+I>=M?(a=0,o=M):o+I>=1?(a=(A*s-1)*Math.pow(2,n),o+=I):(a=A*Math.pow(2,I-1)*Math.pow(2,n),o=0));n>=8;t[e+u]=255&a,u+=E,a/=256,n-=8);for(o=o<<n|a,g+=n;g>0;t[e+u]=255&o,u+=E,o/=256,g-=8);t[e+u-E]|=128*h}},Yt9d:function(t,A,e){"use strict";var i=e("QMyh").Buffer,n=e(4);t.exports=function(){function t(){!function(t,A){if(!(t instanceof A))throw new TypeError("Cannot call a class as a function")}(this,t),this.head=null,this.tail=null,this.length=0}return t.prototype.push=function(t){var A={data:t,next:null};this.length>0?this.tail.next=A:this.head=A,this.tail=A,++this.length},t.prototype.unshift=function(t){var A={data:t,next:this.head};0===this.length&&(this.tail=A),this.head=A,++this.length},t.prototype.shift=function(){if(0!==this.length){var t=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,t}},t.prototype.clear=function(){this.head=this.tail=null,this.length=0},t.prototype.join=function(t){if(0===this.length)return"";for(var A=this.head,e=""+A.data;A=A.next;)e+=t+A.data;return e},t.prototype.concat=function(t){if(0===this.length)return i.alloc(0);if(1===this.length)return this.head.data;for(var A,e,n,r=i.allocUnsafe(t>>>0),o=this.head,a=0;o;)A=o.data,e=r,n=a,A.copy(e,n),a+=o.data.length,o=o.next;return r},t}(),n&&n.inspect&&n.inspect.custom&&(t.exports.prototype[n.inspect.custom]=function(){var t=n.inspect({length:this.length});return this.constructor.name+" "+t})},Yu54:function(t,A,e){"use strict";e.d(A,"d",function(){return r}),e.d(A,"b",function(){return o}),e.d(A,"a",function(){return a}),e.d(A,"c",function(){return s});var i=function(){function t(t,A){for(var e=0;e<A.length;e++){var i=A[e];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(A,e,i){return e&&t(A.prototype,e),i&&t(A,i),A}}();function n(t,A){if(!(t instanceof A))throw new TypeError("Cannot call a class as a function")}var r=function t(A,e,i,r,o){n(this,t),this.dts=A,this.pts=e,this.duration=i,this.originalDts=r,this.isSyncPoint=o,this.fileposition=null},o=function(){function t(){n(this,t),this.beginDts=0,this.endDts=0,this.beginPts=0,this.endPts=0,this.originalBeginDts=0,this.originalEndDts=0,this.syncPoints=[],this.firstSample=null,this.lastSample=null}return i(t,[{key:"appendSyncPoint",value:function(t){t.isSyncPoint=!0,this.syncPoints.push(t)}}]),t}(),a=function(){function t(){n(this,t),this._list=[]}return i(t,[{key:"clear",value:function(){this._list=[]}},{key:"appendArray",value:function(t){var A=this._list;0!==t.length&&(A.length>0&&t[0].originalDts<A[A.length-1].originalDts&&this.clear(),Array.prototype.push.apply(A,t))}},{key:"getLastSyncPointBeforeDts",value:function(t){if(0==this._list.length)return null;var A=this._list,e=0,i=A.length-1,n=0,r=0,o=i;for(t<A[0].dts&&(e=0,r=o+1);r<=o;){if((n=r+Math.floor((o-r)/2))===i||t>=A[n].dts&&t<A[n+1].dts){e=n;break}A[n].dts<t?r=n+1:o=n-1}return this._list[e]}}]),t}(),s=function(){function t(A){n(this,t),this._type=A,this._list=[],this._lastAppendLocation=-1}return i(t,[{key:"isEmpty",value:function(){return 0===this._list.length}},{key:"clear",value:function(){this._list=[],this._lastAppendLocation=-1}},{key:"_searchNearestSegmentBefore",value:function(t){var A=this._list;if(0===A.length)return-2;var e=A.length-1,i=0,n=0,r=e,o=0;if(t<A[0].originalBeginDts)return o=-1;for(;n<=r;){if((i=n+Math.floor((r-n)/2))===e||t>A[i].last/*! (C) Andrea Giammarchi - @WebReflection - Mit Style License */!function(t,A){"use strict";function e(){var t=f.splice(0,f.length);for(Pt=0;t.length;)t.shift().call(null,t.shift())}function i(t,A){for(var e=0,i=t.length;e<i;e++)u(t[e],A)}function n(t){return function(A){Yt(A)&&(u(A,t),it.length&&i(A.querySelectorAll(it),t))}}function r(t){var A=zt.call(t,"is"),e=t.nodeName.toUpperCase(),i=rt.call(At,A?_+A.toUpperCase():Z+e);return A&&-1<i&&!o(e,A)?-1:i}function o(t,A){return-1<it.indexOf(t+'[is="'+A+'"]')}function a(t){var A=t.currentTarget,e=t.attrChange,i=t.attrName,n=t.target,r=t[H]||2,o=t[W]||3;_t&&(!n||n===A)&&A[F]&&"style"!==i&&(t.prevValue!==t.newValue||""===t.newValue&&(e===r||e===o))&&A[F](i,e===r?null:t.prevValue,e===o?null:t.newValue)}function s(t){var A=n(t);return function(t){f.push(A,t.target),Pt&&clearTimeout(Pt),Pt=setTimeout(e,1)}}function g(t){Zt&&(Zt=!1,t.currentTarget.removeEventListener(q,g)),it.length&&i((t.target||D).querySelectorAll(it),t.detail===k?k:O),jt&&function(){for(var t,A=0,e=Ut.length;A<e;A++)t=Ut[A],nt.contains(t)||(e--,Ut.splice(A--,1),u(t,k))}()}function M(t,A){var e=this;Rt.call(e,t,A),Q.call(e,{target:e})}function I(t,A){pt(t,A),p?p.observe(t,Kt):(Xt&&(t.setAttribute=M,t[Y]=m(t),t[U](X,Q)),t[U](V,a)),t[G]&&_t&&(t.created=!0,t[G](),t.created=!1)}function c(t){throw new Error("A "+t+" type is already registered")}function u(t,A){var e,i,n=r(t);-1<n&&(L(t,et[n]),n=0,A!==O||t[O]?A===k&&!t[k]&&(t[O]=!1,t[k]=!0,i="disconnected",n=1):(t[k]=!1,t[O]=!0,i="connected",n=1,jt&&rt.call(Ut,t)<0&&Ut.push(t)),n&&(e=t[A+v]||t[i+v])&&e.call(t))}function E(){}function h(t,A,e){var i=e&&e[z]||"",n=A.prototype,r=mt(n),o=A.observedAttributes||Mt,a={prototype:r};xt(r,G,{value:function(){if(yt)yt=!1;else if(!this[lt]){this[lt]=!0,new A(this),n[G]&&n[G].call(this);var t=Bt[Qt.get(A)];(!Ct||t.create.length>1)&&C(this)}}}),xt(r,F,{value:function(t){-1<rt.call(o,t)&&n[F].apply(this,arguments)}}),n[R]&&xt(r,b,{value:n[R]}),n[J]&&xt(r,K,{value:n[J]}),i&&(a[z]=i),t=t.toUpperCase(),Bt[t]={constructor:A,create:i?[i,wt(t)]:[t]},Qt.set(A,t),D[x](t.toLowerCase(),a),T(t),ft[t].r()}function l(t){var A=Bt[t.toUpperCase()];return A&&A.constructor}function d(t){return"string"==typeof t?t:t&&t.is||""}function C(t){for(var A,e=t[F],i=e?t.attributes:Mt,n=i.length;n--;)A=i[n],e.call(t,A.name||A.nodeName,null,A.value||A.nodeValue)}function T(t){return(t=t.toUpperCase())in ft||(ft[t]={},ft[t].p=new Dt(function(A){ft[t].r=A})),ft[t].p}function N(){dt&&delete t.customElements,gt(t,"customElements",{configurable:!0,value:new E}),gt(t,"CustomElementRegistry",{configurable:!0,value:E});for(var A=function(A){var e=t[A];if(e){t[A]=function(t){var A,i;return t||(t=this),t[lt]||(yt=!0,A=Bt[Qt.get(t.constructor)],(t=(i=Ct&&1===A.create.length)?Reflect.construct(e,Mt,A.constructor):D.createElement.apply(D,A.create))[lt]=!0,yt=!1,i||C(t)),t},t[A].prototype=e.prototype;try{e.prototype.constructor=t[A]}catch(i){!0,gt(e,lt,{value:t[A]})}}},e=B.get(/^HTML[A-Z]*[a-z]/),i=e.length;i--;A(e[i]));D.createElement=function(t,A){var e=d(A);return e?Gt.call(this,t,wt(e)):Gt.call(this,t)},Wt||(qt=!0,D[x](""))}var D=t.document,y=t.Object,B=function(t){var A,e,i,n,r=/^[A-Z]+[a-z]/,o=function(t,A){(A=A.toLowerCase())in a||(a[t]=(a[t]||[]).concat(A),a[A]=a[A.toUpperCase()]=t)},a=(y.create||y)(null),s={};for(e in t)for(n in t[e])for(i=t[e][n],a[n]=i,A=0;A<i.length;A++)a[i[A].toLowerCase()]=a[i[A].toUpperCase()]=n;return s.get=function(t){return"string"==typeof t?a[t]||(r.test(t)?[]:""):function(t){var A,e=[];for(A in a)t.test(A)&&e.push(A);return e}(t)},s.set=function(t,A){return r.test(t)?o(t,A):o(A,t),s},s}({collections:{HTMLAllCollection:["all"],HTMLCollection:["forms"],HTMLFormControlsCollection:["elements"],HTMLOptionsCollection:["options"]},elements:{Element:["element"],HTMLAnchorElement:["a"],HTMLAppletElement:["applet"],HTMLAreaElement:["area"],HTMLAttachmentElement:["attachment"],HTMLAudioElement:["audio"],HTMLBRElement:["br"],HTMLBaseElement:["base"],HTMLBodyElement:["body"],HTMLButtonElement:["button"],HTMLCanvasElement:["canvas"],HTMLContentElement:["content"],HTMLDListElement:["dl"],HTMLDataElement:["data"]/*! * @overview es6-promise - a tiny implementation of Promises/A+. * @copyright Copyright (c) 2014 Yehuda Katz, Tom Dale, Stefan Penner and contributors (Conversion to ES6 API by Jake Archibald) * @license Licensed under MIT license * See https://raw.githubusercontent.com/stefanpenner/es6-promise/master/LICENSE
* @version v4.2.8+1e68dce6 */var i;i=function(){"use strict";function t(t){return"function"==typeof t}var i=Array.isArray?Array.isArray:function(t){return"[object Array]"===Object.prototype.toString.call(t)},n=0,r=void 0,o=void 0,a=function(t,A){E[n]=t,E[n+1]=A,2===(n+=2)&&(o?o(h):N())};var s="undefined"!=typeof window?window:void 0,g=s||{},M=g.MutationObserver||g.WebKitMutationObserver,I="undefined"==typeof self&&void 0!==A&&"[object process]"==={}.toString.call(A),c="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel;function u(){var t=setTimeout;return function(){return t(h,1)}}var E=new Array(1e3);function h(){for(var t=0;t<n;t+=2){(0,E[t])(E[t+1]),E[t]=void 0,E[t+1]=void 0}n=0}var l,d,C,T,N=void 0;function D(t,A){var e=this,i=new this.constructor(f);void 0===i[B]&&k(i);var n=e._state;if(n){var r=arguments[n-1];a(function(){return O(n,i,r,e._result)})}else Y(e,i,t,A);return i}function y(t){if(t&&"object"==typeof t&&t.constructor===this)return t;var A=new this(f);return S(A,t),A}I?N=function(){return A.nextTick(h)}:M?(d=0,C=new M(h),T=document.createTextNode(""),C.observe(T,{characterData:!0}),N=function(){T.data=d=++d%2}):c?((l=new MessageChannel).port1.onmessage=h,N=function(){return l.port2.postMessage(0)}):N=void 0===s?function(){try{var t=Function("return this")().require("vertx");return void 0!==(r=t.runOnLoop||t.runOnContext)?function(){r(h)}:u()}catch(t){return u()}}():u();var B=Math.random().toString(36).substring(2);function f(){}var Q=void 0,w=1,m=2;function p(A,e,i){e.constructor===A.constructor&&i===D&&e.constructor.resolve===y?function(t,A){A._state===w?j(t,A._result):A._state===m?x(t,A._result):Y(A,void 0,function(A){return S(t,A)},function(A){return x(t,A)})}(A,e):void 0===i?j(A,e):t(i)?function(t,A,e){a(function(t){var i=!1,n=function(t,A,e,i){try{t.call(A,e,i)}catch(t){return t}}(e,A,function(e){i||(i=!0,A!==e?S(t,e):j(t,e))},function(A){i||(i=!0,x(t,A))},t._label);!i&&n&&(i=!0,x(t,n))},t)}(A,e,i):j(A,e)}function S(t,A){if(t===A)x(t,new TypeError("You cannot resolve a promise with itself"));else if(n=typeof(i=A),null===i||"object"!==n&&"function"!==n)j(t,A);else{var e=void 0;try{e=A.then}catch(A){return void x(t,A)}p(t,A,e)}var i,n}function L(t){t._onerror&&t._onerror(t._result),U(t)}function j(t,A){t._state===Q&&(t._result=A,t._state=w,0!==t._subscribers.length&&a(U,t))}function x(t,A){t._state===Q&&(t._state=m,t._result=A,a(L,t))}function Y(t,A,e,i){var n=t._subscribers,r=n.length;t._onerror=null,n[r]=A,n[r+w]=e,n[r+m]=i,0===r&&t._state&&a(U,t)}function U(t){var A=t._subscribers,e=t._state;if(0!==A.length){for(var i=void 0,n=void 0,r=t._result,o=0;o<A.length;o+=3)i=A[o],n=A[o+e],i?O(e,i,n,r):n(r);t._subscribers.length=0}}function O(A,e,i,n){var r=t(i),o=void 0,a=void 0,s=!0;if(r){try{o=i(n)}catch(t){s=!1,a=t}if(e===o)return void x(e,new TypeError("A promises callback cannot return that same promise."))}else o=n;e._state!==Q||(r&&s?S(e,o):!1===s?x(e,a):A===w?j(e,o):A===m&&x(e,o))}var v=0;function k(t){t[B]=v++,t._state=void 0,t._result=void 0,t._subscribers=[]}var z=function(){function t(t,A){this._instanceConstructor=t,this.promise=new t(f),this.promise[B]||k(this.promise),i(A)?(this.length=A.length,this._remaining=A.length,this._result=new Array(this.length),0===this.length?j(this.promise,this._result):(this.length=this.length||0,this._enumerate(A),0===this._remaining&&j(this.promise,this._result))):x(this.promise,new Error("Array Methods must be provided an Array"))}return t.prototype._enumerate=function(t){for(var A=0;this._state===Q&&A<t.length;A++)this._eachEntry(t[A],A)},t.prototype._eachEntry=function(t,A){var e=this._instanceConstructor,i=e.resolve;if(i===y){var n=void 0,r=void 0,o=!1;try{n=t.then}catch(t){o=!0,r=t}if(n===D&&t._state!==Q)this._settledAt(t._state,A,t._result);else if("function"!=typeof n)this._remaining--,this._result[A]=t;else if(e===F){var a=new e(f);o?x(a,r):p(a,t,n),this._willSettleAt(a,A)}else this._willSettleAt(new e(function(A){return A(t)}),A)}else this._willSettleAt(i(t),A)},t.prototype._settledAt=function(t,A,e){var i=this.promise;i.
|