diff --git a/dist/browser/json-url-single.js b/dist/browser/json-url-single.js index 3d8ee4b..cf7acf2 100644 --- a/dist/browser/json-url-single.js +++ b/dist/browser/json-url-single.js @@ -1 +1 @@ -!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.JsonUrl=e():t.JsonUrl=e()}(this,function(){return function(t){function e(n){if(r[n])return r[n].exports;var i=r[n]={i:n,l:!1,exports:{}};return t[n].call(i.exports,i,i.exports,e),i.l=!0,i.exports}var r={};return e.m=t,e.c=r,e.d=function(t,r,n){e.o(t,r)||Object.defineProperty(t,r,{configurable:!1,enumerable:!0,get:n})},e.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(r,"a",r),r},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=31)}([function(t,e){"function"==typeof Object.create?t.exports=function(t,e){t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}})}:t.exports=function(t,e){t.super_=e;var r=function(){};r.prototype=e.prototype,t.prototype=new r,t.prototype.constructor=t}},function(t,e,r){(function(t){function r(t){return Array.isArray?Array.isArray(t):"[object Array]"===g(t)}function n(t){return"boolean"==typeof t}function i(t){return null===t}function o(t){return null==t}function a(t){return"number"==typeof t}function s(t){return"string"==typeof t}function u(t){return"symbol"==typeof t}function c(t){return void 0===t}function f(t){return"[object RegExp]"===g(t)}function l(t){return"object"==typeof t&&null!==t}function h(t){return"[object Date]"===g(t)}function d(t){return"[object Error]"===g(t)||t instanceof Error}function p(t){return"function"==typeof t}function b(t){return null===t||"boolean"==typeof t||"number"==typeof t||"string"==typeof t||"symbol"==typeof t||void 0===t}function g(t){return Object.prototype.toString.call(t)}e.isArray=r,e.isBoolean=n,e.isNull=i,e.isNullOrUndefined=o,e.isNumber=a,e.isString=s,e.isSymbol=u,e.isUndefined=c,e.isRegExp=f,e.isObject=l,e.isDate=h,e.isError=d,e.isFunction=p,e.isPrimitive=b,e.isBuffer=t.isBuffer}).call(e,r(3).Buffer)},function(t,e){var r;r=function(){return this}();try{r=r||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(r=window)}t.exports=r},function(t,e,r){"use strict";(function(t){function n(){return o.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function i(t,e){if(n()=n())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+n().toString(16)+" bytes");return 0|t}function b(t){return+t!=t&&(t=0),o.alloc(+t)}function g(t,e){if(o.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 r=t.length;if(0===r)return 0;for(var n=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return Y(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return J(t).length;default:if(n)return Y(t).length;e=(""+e).toLowerCase(),n=!0}}function y(t,e,r){var n=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if(r>>>=0,e>>>=0,r<=e)return"";for(t||(t="utf8");;)switch(t){case"hex":return j(this,e,r);case"utf8":case"utf-8":return B(this,e,r);case"ascii":return A(this,e,r);case"latin1":case"binary":return U(this,e,r);case"base64":return R(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return L(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}function v(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}function m(t,e,r,n,i){if(0===t.length)return-1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=i?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(i)return-1;r=t.length-1}else if(r<0){if(!i)return-1;r=0}if("string"==typeof e&&(e=o.from(e,n)),o.isBuffer(e))return 0===e.length?-1:w(t,e,r,n,i);if("number"==typeof e)return e&=255,o.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):w(t,[e],r,n,i);throw new TypeError("val must be string, number or Buffer")}function w(t,e,r,n,i){function o(t,e){return 1===a?t[e]:t.readUInt16BE(e*a)}var a=1,s=t.length,u=e.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(t.length<2||e.length<2)return-1;a=2,s/=2,u/=2,r/=2}var c;if(i){var f=-1;for(c=r;cs&&(r=s-u),c=r;c>=0;c--){for(var l=!0,h=0;hi&&(n=i):n=i;var o=e.length;if(o%2!=0)throw new TypeError("Invalid hex string");n>o/2&&(n=o/2);for(var a=0;a239?4:o>223?3:o>191?2:1;if(i+s<=r){var u,c,f,l;switch(s){case 1:o<128&&(a=o);break;case 2:u=t[i+1],128==(192&u)&&(l=(31&o)<<6|63&u)>127&&(a=l);break;case 3:u=t[i+1],c=t[i+2],128==(192&u)&&128==(192&c)&&(l=(15&o)<<12|(63&u)<<6|63&c)>2047&&(l<55296||l>57343)&&(a=l);break;case 4:u=t[i+1],c=t[i+2],f=t[i+3],128==(192&u)&&128==(192&c)&&128==(192&f)&&(l=(15&o)<<18|(63&u)<<12|(63&c)<<6|63&f)>65535&&l<1114112&&(a=l)}}null===a?(a=65533,s=1):a>65535&&(a-=65536,n.push(a>>>10&1023|55296),a=56320|1023&a),n.push(a),i+=s}return T(n)}function T(t){var e=t.length;if(e<=X)return String.fromCharCode.apply(String,t);for(var r="",n=0;nn)&&(r=n);for(var i="",o=e;or)throw new RangeError("Trying to access beyond buffer length")}function O(t,e,r,n,i,a){if(!o.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||et.length)throw new RangeError("Index out of range")}function C(t,e,r,n){e<0&&(e=65535+e+1);for(var i=0,o=Math.min(t.length-r,2);i>>8*(n?i:1-i)}function P(t,e,r,n){e<0&&(e=4294967295+e+1);for(var i=0,o=Math.min(t.length-r,4);i>>8*(n?i:3-i)&255}function D(t,e,r,n,i,o){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function q(t,e,r,n,i){return i||D(t,e,r,4,3.4028234663852886e38,-3.4028234663852886e38),Q.write(t,e,r,n,23,4),r+4}function z(t,e,r,n,i){return i||D(t,e,r,8,1.7976931348623157e308,-1.7976931348623157e308),Q.write(t,e,r,n,52,8),r+8}function F(t){if(t=W(t).replace(tt,""),t.length<2)return"";for(;t.length%4!=0;)t+="=";return t}function W(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function N(t){return t<16?"0"+t.toString(16):t.toString(16)}function Y(t,e){e=e||1/0;for(var r,n=t.length,i=null,o=[],a=0;a55295&&r<57344){if(!i){if(r>56319){(e-=3)>-1&&o.push(239,191,189);continue}if(a+1===n){(e-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(e-=3)>-1&&o.push(239,191,189),i=r;continue}r=65536+(i-55296<<10|r-56320)}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((e-=1)<0)break;o.push(r)}else if(r<2048){if((e-=2)<0)break;o.push(r>>6|192,63&r|128)}else if(r<65536){if((e-=3)<0)break;o.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return o}function G(t){for(var e=[],r=0;r>8,i=r%256,o.push(i),o.push(n);return o}function J(t){return $.toByteArray(F(t))}function Z(t,e,r,n){for(var i=0;i=e.length||i>=t.length);++i)e[i+r]=t[i];return i}function V(t){return t!==t}var $=r(36),Q=r(37),K=r(17);e.Buffer=o,e.SlowBuffer=b,e.INSPECT_MAX_BYTES=50,o.TYPED_ARRAY_SUPPORT=void 0!==t.TYPED_ARRAY_SUPPORT?t.TYPED_ARRAY_SUPPORT:function(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===t.foo()&&"function"==typeof t.subarray&&0===t.subarray(1,1).byteLength}catch(t){return!1}}(),e.kMaxLength=n(),o.poolSize=8192,o._augment=function(t){return t.__proto__=o.prototype,t},o.from=function(t,e,r){return a(null,t,e,r)},o.TYPED_ARRAY_SUPPORT&&(o.prototype.__proto__=Uint8Array.prototype,o.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&o[Symbol.species]===o&&Object.defineProperty(o,Symbol.species,{value:null,configurable:!0})),o.alloc=function(t,e,r){return u(null,t,e,r)},o.allocUnsafe=function(t){return c(null,t)},o.allocUnsafeSlow=function(t){return c(null,t)},o.isBuffer=function(t){return!(null==t||!t._isBuffer)},o.compare=function(t,e){if(!o.isBuffer(t)||!o.isBuffer(e))throw new TypeError("Arguments must be Buffers");if(t===e)return 0;for(var r=t.length,n=e.length,i=0,a=Math.min(r,n);i0&&(t=this.toString("hex",0,r).match(/.{2}/g).join(" "),this.length>r&&(t+=" ... ")),""},o.prototype.compare=function(t,e,r,n,i){if(!o.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===r&&(r=t?t.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),e<0||r>t.length||n<0||i>this.length)throw new RangeError("out of range index");if(n>=i&&e>=r)return 0;if(n>=i)return-1;if(e>=r)return 1;if(e>>>=0,r>>>=0,n>>>=0,i>>>=0,this===t)return 0;for(var a=i-n,s=r-e,u=Math.min(a,s),c=this.slice(n,i),f=t.slice(e,r),l=0;li)&&(r=i),t.length>0&&(r<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var o=!1;;)switch(n){case"hex":return _(this,t,e,r);case"utf8":case"utf-8":return E(this,t,e,r);case"ascii":return x(this,t,e,r);case"latin1":case"binary":return S(this,t,e,r);case"base64":return k(this,t,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return M(this,t,e,r);default:if(o)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),o=!0}},o.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var X=4096;o.prototype.slice=function(t,e){var r=this.length;t=~~t,e=void 0===e?r:~~e,t<0?(t+=r)<0&&(t=0):t>r&&(t=r),e<0?(e+=r)<0&&(e=0):e>r&&(e=r),e0&&(i*=256);)n+=this[t+--e]*i;return n},o.prototype.readUInt8=function(t,e){return e||I(t,1,this.length),this[t]},o.prototype.readUInt16LE=function(t,e){return e||I(t,2,this.length),this[t]|this[t+1]<<8},o.prototype.readUInt16BE=function(t,e){return e||I(t,2,this.length),this[t]<<8|this[t+1]},o.prototype.readUInt32LE=function(t,e){return e||I(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},o.prototype.readUInt32BE=function(t,e){return e||I(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},o.prototype.readIntLE=function(t,e,r){t|=0,e|=0,r||I(t,e,this.length);for(var n=this[t],i=1,o=0;++o=i&&(n-=Math.pow(2,8*e)),n},o.prototype.readIntBE=function(t,e,r){t|=0,e|=0,r||I(t,e,this.length);for(var n=e,i=1,o=this[t+--n];n>0&&(i*=256);)o+=this[t+--n]*i;return i*=128,o>=i&&(o-=Math.pow(2,8*e)),o},o.prototype.readInt8=function(t,e){return e||I(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},o.prototype.readInt16LE=function(t,e){e||I(t,2,this.length);var r=this[t]|this[t+1]<<8;return 32768&r?4294901760|r:r},o.prototype.readInt16BE=function(t,e){e||I(t,2,this.length);var r=this[t+1]|this[t]<<8;return 32768&r?4294901760|r:r},o.prototype.readInt32LE=function(t,e){return e||I(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},o.prototype.readInt32BE=function(t,e){return e||I(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},o.prototype.readFloatLE=function(t,e){return e||I(t,4,this.length),Q.read(this,t,!0,23,4)},o.prototype.readFloatBE=function(t,e){return e||I(t,4,this.length),Q.read(this,t,!1,23,4)},o.prototype.readDoubleLE=function(t,e){return e||I(t,8,this.length),Q.read(this,t,!0,52,8)},o.prototype.readDoubleBE=function(t,e){return e||I(t,8,this.length),Q.read(this,t,!1,52,8)},o.prototype.writeUIntLE=function(t,e,r,n){if(t=+t,e|=0,r|=0,!n){O(this,t,e,r,Math.pow(2,8*r)-1,0)}var i=1,o=0;for(this[e]=255&t;++o=0&&(o*=256);)this[e+i]=t/o&255;return e+r},o.prototype.writeUInt8=function(t,e,r){return t=+t,e|=0,r||O(this,t,e,1,255,0),o.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},o.prototype.writeUInt16LE=function(t,e,r){return t=+t,e|=0,r||O(this,t,e,2,65535,0),o.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):C(this,t,e,!0),e+2},o.prototype.writeUInt16BE=function(t,e,r){return t=+t,e|=0,r||O(this,t,e,2,65535,0),o.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):C(this,t,e,!1),e+2},o.prototype.writeUInt32LE=function(t,e,r){return t=+t,e|=0,r||O(this,t,e,4,4294967295,0),o.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):P(this,t,e,!0),e+4},o.prototype.writeUInt32BE=function(t,e,r){return t=+t,e|=0,r||O(this,t,e,4,4294967295,0),o.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):P(this,t,e,!1),e+4},o.prototype.writeIntLE=function(t,e,r,n){if(t=+t,e|=0,!n){var i=Math.pow(2,8*r-1);O(this,t,e,r,i-1,-i)}var o=0,a=1,s=0;for(this[e]=255&t;++o>0)-s&255;return e+r},o.prototype.writeIntBE=function(t,e,r,n){if(t=+t,e|=0,!n){var i=Math.pow(2,8*r-1);O(this,t,e,r,i-1,-i)}var o=r-1,a=1,s=0;for(this[e+o]=255&t;--o>=0&&(a*=256);)t<0&&0===s&&0!==this[e+o+1]&&(s=1),this[e+o]=(t/a>>0)-s&255;return e+r},o.prototype.writeInt8=function(t,e,r){return t=+t,e|=0,r||O(this,t,e,1,127,-128),o.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},o.prototype.writeInt16LE=function(t,e,r){return t=+t,e|=0,r||O(this,t,e,2,32767,-32768),o.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):C(this,t,e,!0),e+2},o.prototype.writeInt16BE=function(t,e,r){return t=+t,e|=0,r||O(this,t,e,2,32767,-32768),o.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):C(this,t,e,!1),e+2},o.prototype.writeInt32LE=function(t,e,r){return t=+t,e|=0,r||O(this,t,e,4,2147483647,-2147483648),o.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):P(this,t,e,!0),e+4},o.prototype.writeInt32BE=function(t,e,r){return t=+t,e|=0,r||O(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),o.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):P(this,t,e,!1),e+4},o.prototype.writeFloatLE=function(t,e,r){return q(this,t,e,!0,r)},o.prototype.writeFloatBE=function(t,e,r){return q(this,t,e,!1,r)},o.prototype.writeDoubleLE=function(t,e,r){return z(this,t,e,!0,r)},o.prototype.writeDoubleBE=function(t,e,r){return z(this,t,e,!1,r)},o.prototype.copy=function(t,e,r,n){if(r||(r=0),n||0===n||(n=this.length),e>=t.length&&(e=t.length),e||(e=0),n>0&&n=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),t.length-e=0;--i)t[i+e]=this[i+r];else if(a<1e3||!o.TYPED_ARRAY_SUPPORT)for(i=0;i>>=0,r=void 0===r?this.length:r>>>0,t||(t=0);var a;if("number"==typeof t)for(a=e;a1)for(var r=1;rthis.length||t<0)){var e=this._offset(t);return this._bufs[e[0]][e[1]]}},n.prototype.slice=function(t,e){return"number"==typeof t&&t<0&&(t+=this.length),"number"==typeof e&&e<0&&(e+=this.length),this.copy(null,0,t,e)},n.prototype.copy=function(t,e,r,n){if(("number"!=typeof r||r<0)&&(r=0),("number"!=typeof n||n>this.length)&&(n=this.length),r>=this.length)return t||a.alloc(0);if(n<=0)return t||a.alloc(0);var i,o,s=!!t,u=this._offset(r),c=n-r,f=c,l=s&&e||0,h=u[1];if(0===r&&n==this.length){if(!s)return 1===this._bufs.length?this._bufs[0]:a.concat(this._bufs,this.length);for(o=0;oi)){this._bufs[o].copy(t,l,h,h+f);break}this._bufs[o].copy(t,l,h),l+=i,f-=i,h&&(h=0)}return t},n.prototype.shallowSlice=function(t,e){if(t=t||0,e="number"!=typeof e?this.length:e,t<0&&(t+=this.length),e<0&&(e+=this.length),t===e)return new n;var r=this._offset(t),i=this._offset(e),o=this._bufs.slice(r[0],i[0]+1);return 0==i[1]?o.pop():o[o.length-1]=o[o.length-1].slice(0,i[1]),0!=r[1]&&(o[0]=o[0].slice(r[1])),new n(o)},n.prototype.toString=function(t,e,r){return this.slice(e,r).toString(t)},n.prototype.consume=function(t){for(;this._bufs.length;){if(!(t>=this._bufs[0].length)){this._bufs[0]=this._bufs[0].slice(t),this.length-=t;break}t-=this._bufs[0].length,this.length-=this._bufs[0].length,this._bufs.shift()}return this},n.prototype.duplicate=function(){for(var t=0,e=new n;tthis.length?this.length:e;var i=this._offset(e),o=i[0],s=i[1];for(o;o=t.length){var c=u.indexOf(t,s);if(-1!==c)return this._reverseOffset([o,c]);s=u.length-t.length+1}else{var f=this._reverseOffset([o,s]);if(this._match(f,t))return f;s++}}s=0}return-1},n.prototype._match=function(t,e){if(this.length-t0&&this._events[t].length>i&&(this._events[t].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[t].length),"function"==typeof console.trace&&console.trace()),this},r.prototype.on=r.prototype.addListener,r.prototype.once=function(t,e){function r(){this.removeListener(t,r),i||(i=!0,e.apply(this,arguments))}if(!n(e))throw TypeError("listener must be a function");var i=!1;return r.listener=e,this.on(t,r),this},r.prototype.removeListener=function(t,e){var r,i,a,s;if(!n(e))throw TypeError("listener must be a function");if(!this._events||!this._events[t])return this;if(r=this._events[t],a=r.length,i=-1,r===e||n(r.listener)&&r.listener===e)delete this._events[t],this._events.removeListener&&this.emit("removeListener",t,e);else if(o(r)){for(s=a;s-- >0;)if(r[s]===e||r[s].listener&&r[s].listener===e){i=s;break}if(i<0)return this;1===r.length?(r.length=0,delete this._events[t]):r.splice(i,1),this._events.removeListener&&this.emit("removeListener",t,e)}return this},r.prototype.removeAllListeners=function(t){var e,r;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[t]&&delete this._events[t],this;if(0===arguments.length){for(e in this._events)"removeListener"!==e&&this.removeAllListeners(e);return this.removeAllListeners("removeListener"),this._events={},this}if(r=this._events[t],n(r))this.removeListener(t,r);else if(r)for(;r.length;)this.removeListener(t,r[r.length-1]);return delete this._events[t],this},r.prototype.listeners=function(t){return this._events&&this._events[t]?n(this._events[t])?[this._events[t]]:this._events[t].slice():[]},r.prototype.listenerCount=function(t){if(this._events){var e=this._events[t];if(n(e))return 1;if(e)return e.length}return 0},r.listenerCount=function(t,e){return t.listenerCount(e)}},function(t,e,r){function n(t,e){for(var r in t)e[r]=t[r]}function i(t,e,r){return a(t,e,r)}var o=r(3),a=o.Buffer;a.from&&a.alloc&&a.allocUnsafe&&a.allocUnsafeSlow?t.exports=o:(n(o,e),e.Buffer=i),n(a,i),i.from=function(t,e,r){if("number"==typeof t)throw new TypeError("Argument must not be a number");return a(t,e,r)},i.alloc=function(t,e,r){if("number"!=typeof t)throw new TypeError("Argument must be a number");var n=a(t);return void 0!==e?"string"==typeof r?n.fill(e,r):n.fill(e):n.fill(0),n},i.allocUnsafe=function(t){if("number"!=typeof t)throw new TypeError("Argument must be a number");return a(t)},i.allocUnsafeSlow=function(t){if("number"!=typeof t)throw new TypeError("Argument must be a number");return o.SlowBuffer(t)}},function(t,e,r){function n(t){if(t&&!u(t))throw new Error("Unknown encoding: "+t)}function i(t){return t.toString(this.encoding)}function o(t){this.charReceived=t.length%2,this.charLength=this.charReceived?2:0}function a(t){this.charReceived=t.length%3,this.charLength=this.charReceived?3:0}var s=r(3).Buffer,u=s.isEncoding||function(t){switch(t&&t.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}},c=e.StringDecoder=function(t){switch(this.encoding=(t||"utf8").toLowerCase().replace(/[-_]/,""),n(t),this.encoding){case"utf8":this.surrogateSize=3;break;case"ucs2":case"utf16le":this.surrogateSize=2,this.detectIncompleteChar=o;break;case"base64":this.surrogateSize=3,this.detectIncompleteChar=a;break;default:return void(this.write=i)}this.charBuffer=new s(6),this.charReceived=0,this.charLength=0};c.prototype.write=function(t){for(var e="";this.charLength;){var r=t.length>=this.charLength-this.charReceived?this.charLength-this.charReceived:t.length;if(t.copy(this.charBuffer,this.charReceived,0,r),this.charReceived+=r,this.charReceived=55296&&n<=56319)){if(this.charReceived=this.charLength=0,0===t.length)return e;break}this.charLength+=this.surrogateSize,e=""}this.detectIncompleteChar(t);var i=t.length;this.charLength&&(t.copy(this.charBuffer,0,t.length-this.charReceived,i),i-=this.charReceived),e+=t.toString(this.encoding,0,i);var i=e.length-1,n=e.charCodeAt(i);if(n>=55296&&n<=56319){var o=this.surrogateSize;return this.charLength+=o,this.charReceived+=o,this.charBuffer.copy(this.charBuffer,o,0,o),t.copy(this.charBuffer,0,0,o),e.substring(0,i)}return e},c.prototype.detectIncompleteChar=function(t){for(var e=t.length>=3?3:t.length;e>0;e--){var r=t[t.length-e];if(1==e&&r>>5==6){this.charLength=2;break}if(e<=2&&r>>4==14){this.charLength=3;break}if(e<=3&&r>>3==30){this.charLength=4;break}}this.charReceived=e},c.prototype.end=function(t){var e="";if(t&&t.length&&(e=this.write(t)),this.charReceived){var r=this.charReceived,n=this.charBuffer,i=this.encoding;e+=n.slice(0,r).toString(i)}return e}},function(t,e,r){"use strict";(function(e){function r(t,r,n,i){if("function"!=typeof t)throw new TypeError('"callback" argument must be a function');var o,a,s=arguments.length;switch(s){case 0:case 1:return e.nextTick(t);case 2:return e.nextTick(function(){t.call(null,r)});case 3:return e.nextTick(function(){t.call(null,r,n)});case 4:return e.nextTick(function(){t.call(null,r,n,i)});default:for(o=new Array(s-1),a=0;a=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),b(r)?n.showHidden=r:r&&e._extend(n,r),_(n.showHidden)&&(n.showHidden=!1),_(n.depth)&&(n.depth=2),_(n.colors)&&(n.colors=!1),_(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=o),u(n,t,n.depth)}function o(t,e){var r=i.styles[e];return r?"["+i.colors[r][0]+"m"+t+"["+i.colors[r][1]+"m":t}function a(t,e){return t}function s(t){var e={};return t.forEach(function(t,r){e[t]=!0}),e}function u(t,r,n){if(t.customInspect&&r&&M(r.inspect)&&r.inspect!==e.inspect&&(!r.constructor||r.constructor.prototype!==r)){var i=r.inspect(n,t);return m(i)||(i=u(t,i,n)),i}var o=c(t,r);if(o)return o;var a=Object.keys(r),b=s(a);if(t.showHidden&&(a=Object.getOwnPropertyNames(r)),k(r)&&(a.indexOf("message")>=0||a.indexOf("description")>=0))return f(r);if(0===a.length){if(M(r)){var g=r.name?": "+r.name:"";return t.stylize("[Function"+g+"]","special")}if(E(r))return t.stylize(RegExp.prototype.toString.call(r),"regexp");if(S(r))return t.stylize(Date.prototype.toString.call(r),"date");if(k(r))return f(r)}var y="",v=!1,w=["{","}"];if(p(r)&&(v=!0,w=["[","]"]),M(r)){y=" [Function"+(r.name?": "+r.name:"")+"]"}if(E(r)&&(y=" "+RegExp.prototype.toString.call(r)),S(r)&&(y=" "+Date.prototype.toUTCString.call(r)),k(r)&&(y=" "+f(r)),0===a.length&&(!v||0==r.length))return w[0]+y+w[1];if(n<0)return E(r)?t.stylize(RegExp.prototype.toString.call(r),"regexp"):t.stylize("[Object]","special");t.seen.push(r);var _;return _=v?l(t,r,n,b,a):a.map(function(e){return h(t,r,n,b,e,v)}),t.seen.pop(),d(_,y,w)}function c(t,e){if(_(e))return t.stylize("undefined","undefined");if(m(e)){var r="'"+JSON.stringify(e).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return t.stylize(r,"string")}return v(e)?t.stylize(""+e,"number"):b(e)?t.stylize(""+e,"boolean"):g(e)?t.stylize("null","null"):void 0}function f(t){return"["+Error.prototype.toString.call(t)+"]"}function l(t,e,r,n,i){for(var o=[],a=0,s=e.length;a-1&&(s=o?s.split("\n").map(function(t){return" "+t}).join("\n").substr(2):"\n"+s.split("\n").map(function(t){return" "+t}).join("\n"))):s=t.stylize("[Circular]","special")),_(a)){if(o&&i.match(/^\d+$/))return s;a=JSON.stringify(""+i),a.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.substr(1,a.length-2),a=t.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=t.stylize(a,"string"))}return a+": "+s}function d(t,e,r){var n=0;return t.reduce(function(t,e){return n++,e.indexOf("\n")>=0&&n++,t+e.replace(/\u001b\[\d\d?m/g,"").length+1},0)>60?r[0]+(""===e?"":e+"\n ")+" "+t.join(",\n ")+" "+r[1]:r[0]+e+" "+t.join(", ")+" "+r[1]}function p(t){return Array.isArray(t)}function b(t){return"boolean"==typeof t}function g(t){return null===t}function y(t){return null==t}function v(t){return"number"==typeof t}function m(t){return"string"==typeof t}function w(t){return"symbol"==typeof t}function _(t){return void 0===t}function E(t){return x(t)&&"[object RegExp]"===B(t)}function x(t){return"object"==typeof t&&null!==t}function S(t){return x(t)&&"[object Date]"===B(t)}function k(t){return x(t)&&("[object Error]"===B(t)||t instanceof Error)}function M(t){return"function"==typeof t}function R(t){return null===t||"boolean"==typeof t||"number"==typeof t||"string"==typeof t||"symbol"==typeof t||void 0===t}function B(t){return Object.prototype.toString.call(t)}function T(t){return t<10?"0"+t.toString(10):t.toString(10)}function A(){var t=new Date,e=[T(t.getHours()),T(t.getMinutes()),T(t.getSeconds())].join(":");return[t.getDate(),O[t.getMonth()],e].join(" ")}function U(t,e){return Object.prototype.hasOwnProperty.call(t,e)}var j=/%[sdj%]/g;e.format=function(t){if(!m(t)){for(var e=[],r=0;r=o)return t;switch(t){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch(t){return"[Circular]"}default:return t}}),s=n[r];r=0&&(t._idleTimeoutId=setTimeout(function(){t._onTimeout&&t._onTimeout()},e))},r(46),e.setImmediate=setImmediate,e.clearImmediate=clearImmediate},function(t,e,r){"use strict";(function(e,n){function i(t){return P.from(t)}function o(t){return P.isBuffer(t)||t instanceof D}function a(t,e,r){if("function"==typeof t.prependListener)return t.prependListener(e,r);t._events&&t._events[e]?I(t._events[e])?t._events[e].unshift(r):t._events[e]=[r,t._events[e]]:t.on(e,r)}function s(t,e){L=L||r(7),t=t||{};var n=e instanceof L;this.objectMode=!!t.objectMode,n&&(this.objectMode=this.objectMode||!!t.readableObjectMode);var i=t.highWaterMark,o=t.readableHighWaterMark,a=this.objectMode?16:16384;this.highWaterMark=i||0===i?i:n&&(o||0===o)?o:a,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new N,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=t.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(W||(W=r(15).StringDecoder),this.decoder=new W(t.encoding),this.encoding=t.encoding)}function u(t){if(L=L||r(7),!(this instanceof u))return new u(t);this._readableState=new s(t,this),this.readable=!0,t&&("function"==typeof t.read&&(this._read=t.read),"function"==typeof t.destroy&&(this._destroy=t.destroy)),C.call(this)}function c(t,e,r,n,o){var a=t._readableState;if(null===e)a.reading=!1,b(t,a);else{var s;o||(s=l(a,e)),s?t.emit("error",s):a.objectMode||e&&e.length>0?("string"==typeof e||a.objectMode||Object.getPrototypeOf(e)===P.prototype||(e=i(e)),n?a.endEmitted?t.emit("error",new Error("stream.unshift() after end event")):f(t,a,e,!0):a.ended?t.emit("error",new Error("stream.push() after EOF")):(a.reading=!1,a.decoder&&!r?(e=a.decoder.write(e),a.objectMode||0!==e.length?f(t,a,e,!1):v(t,a)):f(t,a,e,!1))):n||(a.reading=!1)}return h(a)}function f(t,e,r,n){e.flowing&&0===e.length&&!e.sync?(t.emit("data",r),t.read(0)):(e.length+=e.objectMode?1:r.length,n?e.buffer.unshift(r):e.buffer.push(r),e.needReadable&&g(t)),v(t,e)}function l(t,e){var r;return o(e)||"string"==typeof e||void 0===e||t.objectMode||(r=new TypeError("Invalid non-string/buffer chunk")),r}function h(t){return!t.ended&&(t.needReadable||t.length=H?t=H:(t--,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,t|=t>>>16,t++),t}function p(t,e){return t<=0||0===e.length&&e.ended?0:e.objectMode?1:t!==t?e.flowing&&e.length?e.buffer.head.data.length:e.length:(t>e.highWaterMark&&(e.highWaterMark=d(t)),t<=e.length?t:e.ended?e.length:(e.needReadable=!0,0))}function b(t,e){if(!e.ended){if(e.decoder){var r=e.decoder.end();r&&r.length&&(e.buffer.push(r),e.length+=e.objectMode?1:r.length)}e.ended=!0,g(t)}}function g(t){var e=t._readableState;e.needReadable=!1,e.emittedReadable||(F("emitReadable",e.flowing),e.emittedReadable=!0,e.sync?j.nextTick(y,t):y(t))}function y(t){F("emit readable"),t.emit("readable"),S(t)}function v(t,e){e.readingMore||(e.readingMore=!0,j.nextTick(m,t,e))}function m(t,e){for(var r=e.length;!e.reading&&!e.flowing&&!e.ended&&e.length=e.length?(r=e.decoder?e.buffer.join(""):1===e.buffer.length?e.buffer.head.data:e.buffer.concat(e.length),e.buffer.clear()):r=M(t,e.buffer,e.decoder),r}function M(t,e,r){var n;return to.length?o.length:t;if(a===o.length?i+=o:i+=o.slice(0,t),0===(t-=a)){a===o.length?(++n,r.next?e.head=r.next:e.head=e.tail=null):(e.head=r,r.data=o.slice(a));break}++n}return e.length-=n,i}function B(t,e){var r=P.allocUnsafe(t),n=e.head,i=1;for(n.data.copy(r),t-=n.data.length;n=n.next;){var o=n.data,a=t>o.length?o.length:t;if(o.copy(r,r.length-t,0,a),0===(t-=a)){a===o.length?(++i,n.next?e.head=n.next:e.head=e.tail=null):(e.head=n,n.data=o.slice(a));break}++i}return e.length-=i,r}function T(t){var e=t._readableState;if(e.length>0)throw new Error('"endReadable()" called on non-empty stream');e.endEmitted||(e.ended=!0,j.nextTick(A,e,t))}function A(t,e){t.endEmitted||0!==t.length||(t.endEmitted=!0,e.readable=!1,e.emit("end"))}function U(t,e){for(var r=0,n=t.length;r=e.highWaterMark||e.ended))return F("read: emitReadable",e.length,e.ended),0===e.length&&e.ended?T(this):g(this),null;if(0===(t=p(t,e))&&e.ended)return 0===e.length&&T(this),null;var n=e.needReadable;F("need readable",n),(0===e.length||e.length-t0?k(t,e):null,null===i?(e.needReadable=!0,t=0):e.length-=t,0===e.length&&(e.ended||(e.needReadable=!0),r!==t&&e.ended&&T(this)),null!==i&&this.emit("data",i),i},u.prototype._read=function(t){this.emit("error",new Error("_read() is not implemented"))},u.prototype.pipe=function(t,e){function r(t,e){F("onunpipe"),t===h&&e&&!1===e.hasUnpiped&&(e.hasUnpiped=!0,o())}function i(){F("onend"),t.end()}function o(){F("cleanup"),t.removeListener("close",c),t.removeListener("finish",f),t.removeListener("drain",g),t.removeListener("error",u),t.removeListener("unpipe",r),h.removeListener("end",i),h.removeListener("end",l),h.removeListener("data",s),y=!0,!d.awaitDrain||t._writableState&&!t._writableState.needDrain||g()}function s(e){F("ondata"),v=!1,!1!==t.write(e)||v||((1===d.pipesCount&&d.pipes===t||d.pipesCount>1&&-1!==U(d.pipes,t))&&!y&&(F("false write response, pause",h._readableState.awaitDrain),h._readableState.awaitDrain++,v=!0),h.pause())}function u(e){F("onerror",e),l(),t.removeListener("error",u),0===O(t,"error")&&t.emit("error",e)}function c(){t.removeListener("finish",f),l()}function f(){F("onfinish"),t.removeListener("close",c),l()}function l(){F("unpipe"),h.unpipe(t)}var h=this,d=this._readableState;switch(d.pipesCount){case 0:d.pipes=t;break;case 1:d.pipes=[d.pipes,t];break;default:d.pipes.push(t)}d.pipesCount+=1,F("pipe count=%d opts=%j",d.pipesCount,e);var p=(!e||!1!==e.end)&&t!==n.stdout&&t!==n.stderr,b=p?i:l;d.endEmitted?j.nextTick(b):h.once("end",b),t.on("unpipe",r);var g=w(h);t.on("drain",g);var y=!1,v=!1;return h.on("data",s),a(t,"error",u),t.once("close",c),t.once("finish",f),t.emit("pipe",h),d.flowing||(F("pipe resume"),h.resume()),t},u.prototype.unpipe=function(t){var e=this._readableState,r={hasUnpiped:!1};if(0===e.pipesCount)return this;if(1===e.pipesCount)return t&&t!==e.pipes?this:(t||(t=e.pipes),e.pipes=null,e.pipesCount=0,e.flowing=!1,t&&t.emit("unpipe",this,r),this);if(!t){var n=e.pipes,i=e.pipesCount;e.pipes=null,e.pipesCount=0,e.flowing=!1;for(var o=0;o-1?n:B.nextTick;f.WritableState=c;var U=r(1);U.inherits=r(0);var j={deprecate:r(24)},L=r(21),I=r(14).Buffer,O=i.Uint8Array||function(){},C=r(22);U.inherits(f,L),c.prototype.getBuffer=function(){for(var t=this.bufferedRequest,e=[];t;)e.push(t),t=t.next;return e},function(){try{Object.defineProperty(c.prototype,"buffer",{get:j.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(t){}}();var P;"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(P=Function.prototype[Symbol.hasInstance],Object.defineProperty(f,Symbol.hasInstance,{value:function(t){return!!P.call(this,t)||this===f&&(t&&t._writableState instanceof c)}})):P=function(t){return t instanceof this},f.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},f.prototype.write=function(t,e,r){var n=this._writableState,i=!1,o=!n.objectMode&&s(t);return o&&!I.isBuffer(t)&&(t=a(t)),"function"==typeof e&&(r=e,e=null),o?e="buffer":e||(e=n.defaultEncoding),"function"!=typeof r&&(r=u),n.ended?l(this,r):(o||h(this,n,t,r))&&(n.pendingcb++,i=p(this,n,o,t,e,r)),i},f.prototype.cork=function(){this._writableState.corked++},f.prototype.uncork=function(){var t=this._writableState;t.corked&&(t.corked--,t.writing||t.corked||t.finished||t.bufferProcessing||!t.bufferedRequest||_(this,t))},f.prototype.setDefaultEncoding=function(t){if("string"==typeof t&&(t=t.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((t+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+t);return this._writableState.defaultEncoding=t,this},Object.defineProperty(f.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),f.prototype._write=function(t,e,r){r(new Error("_write() is not implemented"))},f.prototype._writev=null,f.prototype.end=function(t,e,r){var n=this._writableState;"function"==typeof t?(r=t,t=null,e=null):"function"==typeof e&&(r=e,e=null),null!==t&&void 0!==t&&this.write(t,e),n.corked&&(n.corked=1,this.uncork()),n.ending||n.finished||M(this,n,r)},Object.defineProperty(f.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(t){this._writableState&&(this._writableState.destroyed=t)}}),f.prototype.destroy=C.destroy,f.prototype._undestroy=C.undestroy,f.prototype._destroy=function(t,e){this.end(),e(t)}}).call(e,r(4),r(19).setImmediate,r(2))},function(t,e,r){(function(e){function r(t,e){function r(){if(!i){if(n("throwDeprecation"))throw new Error(e);n("traceDeprecation")?console.trace(e):console.warn(e),i=!0}return t.apply(this,arguments)}if(n("noDeprecation"))return t;var i=!1;return r}function n(t){try{if(!e.localStorage)return!1}catch(t){return!1}var r=e.localStorage[t];return null!=r&&"true"===String(r).toLowerCase()}t.exports=r}).call(e,r(2))},function(t,e,r){"use strict";function n(t,e){var r=this._transformState;r.transforming=!1;var n=r.writecb;if(!n)return this.emit("error",new Error("write callback called multiple times"));r.writechunk=null,r.writecb=null,null!=e&&this.push(e),n(t);var i=this._readableState;i.reading=!1,(i.needReadable||i.length0?("string"==typeof e||a.objectMode||Object.getPrototypeOf(e)===P.prototype||(e=i(e)),n?a.endEmitted?t.emit("error",new Error("stream.unshift() after end event")):f(t,a,e,!0):a.ended?t.emit("error",new Error("stream.push() after EOF")):(a.reading=!1,a.decoder&&!r?(e=a.decoder.write(e),a.objectMode||0!==e.length?f(t,a,e,!1):v(t,a)):f(t,a,e,!1))):n||(a.reading=!1)}return h(a)}function f(t,e,r,n){e.flowing&&0===e.length&&!e.sync?(t.emit("data",r),t.read(0)):(e.length+=e.objectMode?1:r.length,n?e.buffer.unshift(r):e.buffer.push(r),e.needReadable&&g(t)),v(t,e)}function l(t,e){var r;return o(e)||"string"==typeof e||void 0===e||t.objectMode||(r=new TypeError("Invalid non-string/buffer chunk")),r}function h(t){return!t.ended&&(t.needReadable||t.length=H?t=H:(t--,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,t|=t>>>16,t++),t}function p(t,e){return t<=0||0===e.length&&e.ended?0:e.objectMode?1:t!==t?e.flowing&&e.length?e.buffer.head.data.length:e.length:(t>e.highWaterMark&&(e.highWaterMark=d(t)),t<=e.length?t:e.ended?e.length:(e.needReadable=!0,0))}function b(t,e){if(!e.ended){if(e.decoder){var r=e.decoder.end();r&&r.length&&(e.buffer.push(r),e.length+=e.objectMode?1:r.length)}e.ended=!0,g(t)}}function g(t){var e=t._readableState;e.needReadable=!1,e.emittedReadable||(F("emitReadable",e.flowing),e.emittedReadable=!0,e.sync?j.nextTick(y,t):y(t))}function y(t){F("emit readable"),t.emit("readable"),S(t)}function v(t,e){e.readingMore||(e.readingMore=!0,j.nextTick(m,t,e))}function m(t,e){for(var r=e.length;!e.reading&&!e.flowing&&!e.ended&&e.length=e.length?(r=e.decoder?e.buffer.join(""):1===e.buffer.length?e.buffer.head.data:e.buffer.concat(e.length),e.buffer.clear()):r=M(t,e.buffer,e.decoder),r}function M(t,e,r){var n;return to.length?o.length:t;if(a===o.length?i+=o:i+=o.slice(0,t),0===(t-=a)){a===o.length?(++n,r.next?e.head=r.next:e.head=e.tail=null):(e.head=r,r.data=o.slice(a));break}++n}return e.length-=n,i}function B(t,e){var r=P.allocUnsafe(t),n=e.head,i=1;for(n.data.copy(r),t-=n.data.length;n=n.next;){var o=n.data,a=t>o.length?o.length:t;if(o.copy(r,r.length-t,0,a),0===(t-=a)){a===o.length?(++i,n.next?e.head=n.next:e.head=e.tail=null):(e.head=n,n.data=o.slice(a));break}++i}return e.length-=i,r}function T(t){var e=t._readableState;if(e.length>0)throw new Error('"endReadable()" called on non-empty stream');e.endEmitted||(e.ended=!0,j.nextTick(A,e,t))}function A(t,e){t.endEmitted||0!==t.length||(t.endEmitted=!0,e.readable=!1,e.emit("end"))}function U(t,e){for(var r=0,n=t.length;r=e.highWaterMark||e.ended))return F("read: emitReadable",e.length,e.ended),0===e.length&&e.ended?T(this):g(this),null;if(0===(t=p(t,e))&&e.ended)return 0===e.length&&T(this),null;var n=e.needReadable;F("need readable",n),(0===e.length||e.length-t0?k(t,e):null,null===i?(e.needReadable=!0,t=0):e.length-=t,0===e.length&&(e.ended||(e.needReadable=!0),r!==t&&e.ended&&T(this)),null!==i&&this.emit("data",i),i},u.prototype._read=function(t){this.emit("error",new Error("_read() is not implemented"))},u.prototype.pipe=function(t,e){function r(t,e){F("onunpipe"),t===h&&e&&!1===e.hasUnpiped&&(e.hasUnpiped=!0,o())}function i(){F("onend"),t.end()}function o(){F("cleanup"),t.removeListener("close",c),t.removeListener("finish",f),t.removeListener("drain",g),t.removeListener("error",u),t.removeListener("unpipe",r),h.removeListener("end",i),h.removeListener("end",l),h.removeListener("data",s),y=!0,!d.awaitDrain||t._writableState&&!t._writableState.needDrain||g()}function s(e){F("ondata"),v=!1,!1!==t.write(e)||v||((1===d.pipesCount&&d.pipes===t||d.pipesCount>1&&-1!==U(d.pipes,t))&&!y&&(F("false write response, pause",h._readableState.awaitDrain),h._readableState.awaitDrain++,v=!0),h.pause())}function u(e){F("onerror",e),l(),t.removeListener("error",u),0===O(t,"error")&&t.emit("error",e)}function c(){t.removeListener("finish",f),l()}function f(){F("onfinish"),t.removeListener("close",c),l()}function l(){F("unpipe"),h.unpipe(t)}var h=this,d=this._readableState;switch(d.pipesCount){case 0:d.pipes=t;break;case 1:d.pipes=[d.pipes,t];break;default:d.pipes.push(t)}d.pipesCount+=1,F("pipe count=%d opts=%j",d.pipesCount,e);var p=(!e||!1!==e.end)&&t!==n.stdout&&t!==n.stderr,b=p?i:l;d.endEmitted?j.nextTick(b):h.once("end",b),t.on("unpipe",r);var g=w(h);t.on("drain",g);var y=!1,v=!1;return h.on("data",s),a(t,"error",u),t.once("close",c),t.once("finish",f),t.emit("pipe",h),d.flowing||(F("pipe resume"),h.resume()),t},u.prototype.unpipe=function(t){var e=this._readableState,r={hasUnpiped:!1};if(0===e.pipesCount)return this;if(1===e.pipesCount)return t&&t!==e.pipes?this:(t||(t=e.pipes),e.pipes=null,e.pipesCount=0,e.flowing=!1,t&&t.emit("unpipe",this,r),this);if(!t){var n=e.pipes,i=e.pipesCount;e.pipes=null,e.pipesCount=0,e.flowing=!1;for(var o=0;o-1?n:B.nextTick;f.WritableState=c;var U=r(1);U.inherits=r(0);var j={deprecate:r(24)},L=r(27),I=r(9).Buffer,O=i.Uint8Array||function(){},C=r(28);U.inherits(f,L),c.prototype.getBuffer=function(){for(var t=this.bufferedRequest,e=[];t;)e.push(t),t=t.next;return e},function(){try{Object.defineProperty(c.prototype,"buffer",{get:j.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(t){}}();var P;"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(P=Function.prototype[Symbol.hasInstance],Object.defineProperty(f,Symbol.hasInstance,{value:function(t){return!!P.call(this,t)||this===f&&(t&&t._writableState instanceof c)}})):P=function(t){return t instanceof this},f.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},f.prototype.write=function(t,e,r){var n=this._writableState,i=!1,o=!n.objectMode&&s(t);return o&&!I.isBuffer(t)&&(t=a(t)),"function"==typeof e&&(r=e,e=null),o?e="buffer":e||(e=n.defaultEncoding),"function"!=typeof r&&(r=u),n.ended?l(this,r):(o||h(this,n,t,r))&&(n.pendingcb++,i=p(this,n,o,t,e,r)),i},f.prototype.cork=function(){this._writableState.corked++},f.prototype.uncork=function(){var t=this._writableState;t.corked&&(t.corked--,t.writing||t.corked||t.finished||t.bufferProcessing||!t.bufferedRequest||_(this,t))},f.prototype.setDefaultEncoding=function(t){if("string"==typeof t&&(t=t.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((t+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+t);return this._writableState.defaultEncoding=t,this},Object.defineProperty(f.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),f.prototype._write=function(t,e,r){r(new Error("_write() is not implemented"))},f.prototype._writev=null,f.prototype.end=function(t,e,r){var n=this._writableState;"function"==typeof t?(r=t,t=null,e=null):"function"==typeof e&&(r=e,e=null),null!==t&&void 0!==t&&this.write(t,e),n.corked&&(n.corked=1,this.uncork()),n.ending||n.finished||M(this,n,r)},Object.defineProperty(f.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(t){this._writableState&&(this._writableState.destroyed=t)}}),f.prototype.destroy=C.destroy,f.prototype._undestroy=C.undestroy,f.prototype._destroy=function(t,e){this.end(),e(t)}}).call(e,r(4),r(19).setImmediate,r(2))},function(t,e,r){"use strict";function n(t,e){var r=this._transformState;r.transforming=!1;var n=r.writecb;if(!n)return this.emit("error",new Error("write callback called multiple times"));r.writechunk=null,r.writecb=null,null!=e&&this.push(e),n(t);var i=this._readableState;i.reading=!1,(i.needReadable||i.length=0;--n){var i=this.tryEntries[n],o=i.completion;if("root"===i.tryLoc)return e("end");if(i.tryLoc<=this.prev){var a=y.call(i,"catchLoc"),s=y.call(i,"finallyLoc");if(a&&s){if(this.prev=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&y.call(n,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),l(r),M}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var i=n.arg;l(r)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:d(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=b),M}},t}(t.exports);try{regeneratorRuntime=n}catch(t){Function("r","regeneratorRuntime = r")(n)}},function(t,e,r){"use strict";var n=r(35),i=r(61),o=r(62),a=r(63);e.a={lzma:n.a,lzstring:i.a,lzw:o.a,pack:a.a}},function(t,e,r){"use strict";(function(t){var n=r(5),i=r.n(n),o=r(6),a=r.n(o),s=r(10);e.a={pack:!0,encode:!0,compress:function(){function e(t){return r.apply(this,arguments)}var r=a()(i.a.mark(function e(r){var n;return i.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,s.a.lzma();case 2:return n=e.sent,e.abrupt("return",new Promise(function(e,i){return n.compress(r,9,function(r,n){return n?i(n):e(t.from(r))})}));case 4:case"end":return e.stop()}},e)}));return e}(),decompress:function(){function e(t){return r.apply(this,arguments)}var r=a()(i.a.mark(function e(r){var n;return i.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,s.a.lzma();case 2:return n=e.sent,e.abrupt("return",new Promise(function(e,i){return n.decompress(r,function(r,n){return n?i(n):e(t.from(r))})}));case 4:case"end":return e.stop()}},e)}));return e}()}}).call(e,r(3).Buffer)},function(t,e,r){"use strict";function n(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");return"="===t[e-2]?2:"="===t[e-1]?1:0}function i(t){return 3*t.length/4-n(t)}function o(t){var e,r,i,o,a,s=t.length;o=n(t),a=new l(3*s/4-o),r=o>0?s-4:s;var u=0;for(e=0;e>16&255,a[u++]=i>>8&255,a[u++]=255&i;return 2===o?(i=f[t.charCodeAt(e)]<<2|f[t.charCodeAt(e+1)]>>4,a[u++]=255&i):1===o&&(i=f[t.charCodeAt(e)]<<10|f[t.charCodeAt(e+1)]<<4|f[t.charCodeAt(e+2)]>>2,a[u++]=i>>8&255,a[u++]=255&i),a}function a(t){return c[t>>18&63]+c[t>>12&63]+c[t>>6&63]+c[63&t]}function s(t,e,r){for(var n,i=[],o=e;ou?u:a+16383));return 1===n?(e=t[r-1],i+=c[e>>2],i+=c[e<<4&63],i+="=="):2===n&&(e=(t[r-2]<<8)+t[r-1],i+=c[e>>10],i+=c[e>>4&63],i+=c[e<<2&63],i+="="),o.push(i),o.join("")}e.byteLength=i,e.toByteArray=o,e.fromByteArray=u;for(var c=[],f=[],l="undefined"!=typeof Uint8Array?Uint8Array:Array,h="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",d=0,p=h.length;d>1,f=-7,l=r?i-1:0,h=r?-1:1,d=t[e+l];for(l+=h,o=d&(1<<-f)-1,d>>=-f,f+=s;f>0;o=256*o+t[e+l],l+=h,f-=8);for(a=o&(1<<-f)-1,o>>=-f,f+=n;f>0;a=256*a+t[e+l],l+=h,f-=8);if(0===o)o=1-c;else{if(o===u)return a?NaN:1/0*(d?-1:1);a+=Math.pow(2,n),o-=c}return(d?-1:1)*a*Math.pow(2,o-n)},e.write=function(t,e,r,n,i,o){var a,s,u,c=8*o-i-1,f=(1<>1,h=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,d=n?0:o-1,p=n?1:-1,b=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(s=isNaN(e)?1:0,a=f):(a=Math.floor(Math.log(e)/Math.LN2),e*(u=Math.pow(2,-a))<1&&(a--,u*=2),e+=a+l>=1?h/u:h*Math.pow(2,1-l),e*u>=2&&(a++,u/=2),a+l>=f?(s=0,a=f):a+l>=1?(s=(e*u-1)*Math.pow(2,i),a+=l):(s=e*Math.pow(2,l-1)*Math.pow(2,i),a=0));i>=8;t[r+d]=255&s,d+=p,s/=256,i-=8);for(a=a<0;t[r+d]=255&a,d+=p,a/=256,c-=8);t[r+d-p]|=128*b}},function(t,e,r){"use strict";function n(t){function e(t,e){return o(t,"must have an encode function"),o(e,"must have an encode function"),f.push({check:t,encode:e}),this}function r(t,e){return o(t>=0,"must have a non-negative type"),o(e,"must have a decode function"),l.push({type:t,decode:e}),this}function n(t,e,r,n){function s(t){return t instanceof e}function u(e){var n=a(),o=i.allocUnsafe(1);return o.writeInt8(t,0),n.append(o),n.append(r(e)),n}return o(e,"must have a constructor"),o(r,"must have an encode function"),o(t>=0,"must have a non-negative type"),o(n,"must have a decode function"),this.registerEncoder(s,u),this.registerDecoder(t,n),this}var f=[],l=[];return t=t||{forceFloat64:!1,compatibilityMode:!1,disableTimestampEncoding:!1},{encode:c(f,t.forceFloat64,t.compatibilityMode,t.disableTimestampEncoding),decode:u(l),register:n,registerEncoder:e,registerDecoder:r,encoder:s.encoder,decoder:s.decoder,buffer:!0,type:"msgpack5",IncompleteBufferError:u.IncompleteBufferError}}var i=r(9).Buffer,o=r(39),a=r(11),s=r(48),u=r(54),c=r(55);t.exports=n},function(t,e,r){"use strict";(function(e){function n(t,e){if(t===e)return 0;for(var r=t.length,n=e.length,i=0,o=Math.min(r,n);i=0;s--)if(u[s]!==c[s])return!1;for(s=u.length-1;s>=0;s--)if(a=u[s],!d(t[a],e[a],r,n))return!1;return!0}function g(t,e,r){d(t,e,!0)&&l(t,e,r,"notDeepStrictEqual",g)}function y(t,e){if(!t||!e)return!1;if("[object RegExp]"==Object.prototype.toString.call(e))return e.test(t);try{if(t instanceof e)return!0}catch(t){}return!Error.isPrototypeOf(e)&&!0===e.call({},t)}function v(t){var e;try{t()}catch(t){e=t}return e}function m(t,e,r,n){var i;if("function"!=typeof e)throw new TypeError('"block" argument must be a function');"string"==typeof r&&(n=r,r=null),i=v(e),n=(r&&r.name?" ("+r.name+").":".")+(n?" "+n:"."),t&&!i&&l(i,r,"Missing expected exception"+n);var o="string"==typeof n,a=!t&&w.isError(i),s=!t&&i&&!r;if((a&&o&&y(i,r)||s)&&l(i,r,"Got unwanted exception"+n),t&&i&&r&&!y(i,r)||!t&&i)throw i}var w=r(18),_=Object.prototype.hasOwnProperty,E=Array.prototype.slice,x=function(){return"foo"===function(){}.name}(),S=t.exports=h,k=/\s*function\s+([^\(\s]*)\s*/;S.AssertionError=function(t){this.name="AssertionError",this.actual=t.actual,this.expected=t.expected,this.operator=t.operator,t.message?(this.message=t.message,this.generatedMessage=!1):(this.message=f(this),this.generatedMessage=!0);var e=t.stackStartFunction||l;if(Error.captureStackTrace)Error.captureStackTrace(this,e);else{var r=new Error;if(r.stack){var n=r.stack,i=s(e),o=n.indexOf("\n"+i);if(o>=0){var a=n.indexOf("\n",o+1);n=n.substring(a+1)}this.stack=n}}},w.inherits(S.AssertionError,Error),S.fail=l,S.ok=h,S.equal=function(t,e,r){t!=e&&l(t,e,r,"==",S.equal)},S.notEqual=function(t,e,r){t==e&&l(t,e,r,"!=",S.notEqual)},S.deepEqual=function(t,e,r){d(t,e,!1)||l(t,e,r,"deepEqual",S.deepEqual)},S.deepStrictEqual=function(t,e,r){d(t,e,!0)||l(t,e,r,"deepStrictEqual",S.deepStrictEqual)},S.notDeepEqual=function(t,e,r){d(t,e,!1)&&l(t,e,r,"notDeepEqual",S.notDeepEqual)},S.notDeepStrictEqual=g,S.strictEqual=function(t,e,r){t!==e&&l(t,e,r,"===",S.strictEqual)},S.notStrictEqual=function(t,e,r){t===e&&l(t,e,r,"!==",S.notStrictEqual)},S.throws=function(t,e,r){m(!0,t,e,r)},S.doesNotThrow=function(t,e,r){m(!1,t,e,r)},S.ifError=function(t){if(t)throw t};var M=Object.keys||function(t){var e=[];for(var r in t)_.call(t,r)&&e.push(r);return e}}).call(e,r(2))},function(t,e){t.exports=function(t){return t&&"object"==typeof t&&"function"==typeof t.copy&&"function"==typeof t.fill&&"function"==typeof t.readUInt8}},function(t,e){"function"==typeof Object.create?t.exports=function(t,e){t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}})}:t.exports=function(t,e){t.super_=e;var r=function(){};r.prototype=e.prototype,t.prototype=new r,t.prototype.constructor=t}},function(t,e,r){e=t.exports=r(20),e.Stream=e,e.Readable=e,e.Writable=r(23),e.Duplex=r(7),e.Transform=r(25),e.PassThrough=r(47)},function(t,e){},function(t,e,r){"use strict";function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e,r){t.copy(e,r)}var o=r(14).Buffer,a=r(45);t.exports=function(){function t(){n(this,t),this.head=null,this.tail=null,this.length=0}return t.prototype.push=function(t){var e={data:t,next:null};this.length>0?this.tail.next=e:this.head=e,this.tail=e,++this.length},t.prototype.unshift=function(t){var e={data:t,next:this.head};0===this.length&&(this.tail=e),this.head=e,++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 e=this.head,r=""+e.data;e=e.next;)r+=t+e.data;return r},t.prototype.concat=function(t){if(0===this.length)return o.alloc(0);if(1===this.length)return this.head.data;for(var e=o.allocUnsafe(t>>>0),r=this.head,n=0;r;)i(r.data,e,n),n+=r.data.length,r=r.next;return e},t}(),a&&a.inspect&&a.inspect.custom&&(t.exports.prototype[a.inspect.custom]=function(){var t=a.inspect({length:this.length});return this.constructor.name+" "+t})},function(t,e){},function(t,e,r){(function(t,e){!function(t,r){"use strict";function n(t){"function"!=typeof t&&(t=new Function(""+t));for(var e=new Array(arguments.length-1),r=0;r0?this._transform(null,e,r):r()},t.exports.decoder=o,t.exports.encoder=i},function(t,e,r){e=t.exports=r(26),e.Stream=e,e.Readable=e,e.Writable=r(29),e.Duplex=r(8),e.Transform=r(30),e.PassThrough=r(53)},function(t,e){},function(t,e,r){"use strict";function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e,r){t.copy(e,r)}var o=r(9).Buffer,a=r(52);t.exports=function(){function t(){n(this,t),this.head=null,this.tail=null,this.length=0}return t.prototype.push=function(t){var e={data:t,next:null};this.length>0?this.tail.next=e:this.head=e,this.tail=e,++this.length},t.prototype.unshift=function(t){var e={data:t,next:this.head};0===this.length&&(this.tail=e),this.head=e,++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 e=this.head,r=""+e.data;e=e.next;)r+=t+e.data;return r},t.prototype.concat=function(t){if(0===this.length)return o.alloc(0);if(1===this.length)return this.head.data;for(var e=o.allocUnsafe(t>>>0),r=this.head,n=0;r;)i(r.data,e,n),n+=r.data.length,r=r.next;return e},t}(),a&&a.inspect&&a.inspect.custom&&(t.exports.prototype[a.inspect.custom]=function(){var t=a.inspect({length:this.length});return this.constructor.name+" "+t})},function(t,e){},function(t,e,r){"use strict";function n(t){if(!(this instanceof n))return new n(t);i.call(this,t)}t.exports=n;var i=r(30),o=r(1);o.inherits=r(0),o.inherits(n,i),n.prototype._transform=function(t,e,r){r(null,t)}},function(t,e,r){"use strict";function n(t){Error.call(this),Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor),this.name=this.constructor.name,this.message=t||"unable to decode"}var i=r(11);r(18).inherits(n,Error),t.exports=function(t){function e(t){switch(t){case 196:return 2;case 197:return 3;case 198:return 5;case 199:return 3;case 200:return 4;case 201:return 6;case 202:return 5;case 203:return 9;case 204:return 2;case 205:return 3;case 206:return 5;case 207:return 9;case 208:return 2;case 209:return 3;case 210:return 5;case 211:return 9;case 212:return 3;case 213:return 4;case 214:return 6;case 215:return 10;case 216:return 18;case 217:return 2;case 218:return 3;case 219:return 5;case 222:return 3;default:return-1}}function r(t,r){var n=e(t);return!(-1!==n&&r=r+t}function a(t,e){return{value:t,bytesConsumed:e}}function s(t){t instanceof i||(t=i().append(t));var e=u(t);if(e)return t.consume(e.bytesConsumed),e.value;throw new n}function u(t,e){e=void 0===e?0:e;var n=t.length-e;if(n<=0)return null;var i,s,u,d=t.readUInt8(e),b=0;if(!r(d,n))return null;switch(d){case 192:return a(null,1);case 194:return a(!1,1);case 195:return a(!0,1);case 204:return b=t.readUInt8(e+1),a(b,2);case 205:return b=t.readUInt16BE(e+1),a(b,3);case 206:return b=t.readUInt32BE(e+1),a(b,5);case 207:for(u=7;u>=0;u--)b+=t.readUInt8(e+u+1)*Math.pow(2,8*(7-u));return a(b,9);case 208:return b=t.readInt8(e+1),a(b,2);case 209:return b=t.readInt16BE(e+1),a(b,3);case 210:return b=t.readInt32BE(e+1),a(b,5);case 211:return b=c(t.slice(e+1,e+9),0),a(b,9);case 202:return b=t.readFloatBE(e+1),a(b,5);case 203:return b=t.readDoubleBE(e+1),a(b,9);case 217:return i=t.readUInt8(e+1),o(i,n,2)?(b=t.toString("utf8",e+2,e+2+i),a(b,2+i)):null;case 218:return i=t.readUInt16BE(e+1),o(i,n,3)?(b=t.toString("utf8",e+3,e+3+i),a(b,3+i)):null;case 219:return i=t.readUInt32BE(e+1),o(i,n,5)?(b=t.toString("utf8",e+5,e+5+i),a(b,5+i)):null;case 196:return i=t.readUInt8(e+1),o(i,n,2)?(b=t.slice(e+2,e+2+i),a(b,2+i)):null;case 197:return i=t.readUInt16BE(e+1),o(i,n,3)?(b=t.slice(e+3,e+3+i),a(b,3+i)):null;case 198:return i=t.readUInt32BE(e+1),o(i,n,5)?(b=t.slice(e+5,e+5+i),a(b,5+i)):null;case 220:return n<3?null:(i=t.readUInt16BE(e+1),f(t,e,i,3));case 221:return n<5?null:(i=t.readUInt32BE(e+1),f(t,e,i,5));case 222:return i=t.readUInt16BE(e+1),l(t,e,i,3);case 223:return i=t.readUInt32BE(e+1),l(t,e,i,5);case 212:return h(t,e,1);case 213:return h(t,e,2);case 214:return h(t,e,4);case 215:return h(t,e,8);case 216:return h(t,e,16);case 199:return i=t.readUInt8(e+1),s=t.readUInt8(e+2),o(i,n,3)?p(t,e,s,i,3):null;case 200:return i=t.readUInt16BE(e+1),s=t.readUInt8(e+3),o(i,n,4)?p(t,e,s,i,4):null;case 201:return i=t.readUInt32BE(e+1),s=t.readUInt8(e+5),o(i,n,6)?p(t,e,s,i,6):null}if(144==(240&d))return i=15&d,f(t,e,i,1);if(128==(240&d))return i=15&d,l(t,e,i,1);if(160==(224&d))return i=31&d,o(i,n,1)?(b=t.toString("utf8",e+1,e+i+1),a(b,i+1)):null;if(d>=224)return b=d-256,a(b,1);if(d<128)return a(d,1);throw new Error("not implemented yet")}function c(t,e){var r=128==(128&t[e]);if(r)for(var n=1,i=e+7;i>=e;i--){var o=(255^t[i])+n;t[i]=255&o,n=o>>8}return(4294967296*t.readUInt32BE(e+0)+t.readUInt32BE(e+4))*(r?-1:1)}function f(t,e,r,n){var i,o=[],s=0;for(e+=n,i=0;i=0;r--)t[r+1]=255&e,e/=256}function i(t,e,r){var n=r<0;n&&(r=Math.abs(r));var i=r%4294967296,o=r/4294967296;if(t.writeUInt32BE(Math.floor(o),e+0),t.writeUInt32BE(i,e+4),n)for(var a=1,s=e+7;s>=e;s--){var u=(255^t[s])+a;t[s]=255&u,a=u>>8}}function o(t){return t%1!=0}function a(t){return t!==t&&"number"==typeof t}function s(t,e){var r=!0;Math.fround&&(r=Math.fround(t)!==t),e&&(r=!0);var n;return r?(n=u.allocUnsafe(9),n[0]=203,n.writeDoubleBE(t,1)):(n=u.allocUnsafe(5),n[0]=202,n.writeFloatBE(t,1)),n}var u=r(9).Buffer,c=r(11);t.exports=function(t,e,r,f){function l(t,b){var g,y;if(void 0===t)throw new Error("undefined is not encodable in msgpack!");if(a(t))throw new Error("NaN is not encodable in msgpack!");if(null===t)g=u.allocUnsafe(1),g[0]=192;else if(!0===t)g=u.allocUnsafe(1),g[0]=195;else if(!1===t)g=u.allocUnsafe(1),g[0]=194;else if("string"==typeof t)y=u.byteLength(t),y<32?(g=u.allocUnsafe(1+y),g[0]=160|y,y>0&&g.write(t,1)):y<=255&&!r?(g=u.allocUnsafe(2+y),g[0]=217,g[1]=y,g.write(t,2)):y<=65535?(g=u.allocUnsafe(3+y),g[0]=218,g.writeUInt16BE(y,1),g.write(t,3)):(g=u.allocUnsafe(5+y),g[0]=219,g.writeUInt32BE(y,1),g.write(t,5));else if(t&&(t.readUInt32LE||t instanceof Uint8Array))t instanceof Uint8Array&&(t=u.from(t)),t.length<=255?(g=u.allocUnsafe(2),g[0]=196,g[1]=t.length):t.length<=65535?(g=u.allocUnsafe(3),g[0]=197,g.writeUInt16BE(t.length,1)):(g=u.allocUnsafe(5),g[0]=198,g.writeUInt32BE(t.length,1)),g=c([g,t]);else if(Array.isArray(t))t.length<16?(g=u.allocUnsafe(1),g[0]=144|t.length):t.length<65536?(g=u.allocUnsafe(3),g[0]=220,g.writeUInt16BE(t.length,1)):(g=u.allocUnsafe(5),g[0]=221,g.writeUInt32BE(t.length,1)),g=t.reduce(function(t,e){return t.append(l(e,!0)),t},c().append(g));else{if(!f&&"function"==typeof t.getDate)return h(t);if("object"==typeof t)g=d(t)||p(t);else if("number"==typeof t){if(o(t))return s(t,e);if(t>=0)if(t<128)g=u.allocUnsafe(1),g[0]=t;else if(t<256)g=u.allocUnsafe(2),g[0]=204,g[1]=t;else if(t<65536)g=u.allocUnsafe(3),g[0]=205,g.writeUInt16BE(t,1);else if(t<=4294967295)g=u.allocUnsafe(5),g[0]=206,g.writeUInt32BE(t,1);else{if(!(t<=9007199254740991))return s(t,!0);g=u.allocUnsafe(9),g[0]=207,n(g,t)}else if(t>=-32)g=u.allocUnsafe(1),g[0]=256+t;else if(t>=-128)g=u.allocUnsafe(2),g[0]=208,g.writeInt8(t,1);else if(t>=-32768)g=u.allocUnsafe(3),g[0]=209,g.writeInt16BE(t,1);else if(t>-214748365)g=u.allocUnsafe(5),g[0]=210,g.writeInt32BE(t,1);else{if(!(t>=-9007199254740991))return s(t,!0);g=u.allocUnsafe(9),g[0]=211,i(g,1,t)}}}if(!g)throw new Error("not implemented yet");return b?g:g.slice()}function h(t){var e,r=1*t,n=Math.floor(r/1e3),i=1e6*(r-1e3*n);if(i||n>4294967295){e=u.allocUnsafe(10),e[0]=215,e[1]=-1;var o=4*i,a=n/Math.pow(2,32),s=o+a&4294967295,f=4294967295&n;e.writeInt32BE(s,2),e.writeInt32BE(f,6)}else e=u.allocUnsafe(6),e[0]=214,e[1]=-1,e.writeUInt32BE(Math.floor(r/1e3),2);return c().append(e)}function d(e){var r,n,i=-1,o=[];for(r=0;r>8),o.push(255&i)):(o.push(201),o.push(i>>24),o.push(i>>16&255),o.push(i>>8&255),o.push(255&i)),c().append(u.from(o)).append(n)):null}function p(t){var e,r,n=[],i=0;for(e in t)t.hasOwnProperty(e)&&void 0!==t[e]&&"function"!=typeof t[e]&&(++i,n.push(l(e,!0)),n.push(l(t[e],!0)));return i<16?(r=u.allocUnsafe(1),r[0]=128|i):i<65535?(r=u.allocUnsafe(3),r[0]=222,r.writeUInt16BE(i,1)):(r=u.allocUnsafe(5),r[0]=223,r.writeUInt32BE(i,1)),n.unshift(r),n.reduce(function(t,e){return t.append(e)},c())}return l}},function(t,e,r){t.exports=r(57)},function(t,e,r){(function(t){e.version="1.0.0",e.encode=function(t){return t.toString("base64").replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")},e.decode=function(e){return e+=Array(5-e.length%4).join("="),e=e.replace(/\-/g,"+").replace(/\_/g,"/"),new t(e,"base64")},e.validate=function(t){return/^[A-Za-z0-9\-_]+$/.test(t)}}).call(e,r(3).Buffer)},function(t,e,r){(function(t){var e=function(){"use strict";function r(t,e){postMessage({action:Ce,cbn:e,result:t})}function n(t){var e=[];return e[t-1]=void 0,e}function i(t,e){return s(t[0]+e[0],t[1]+e[1])}function o(t,e){return l(~~Math.max(Math.min(t[1]/De,2147483647),-2147483648)&~~Math.max(Math.min(e[1]/De,2147483647),-2147483648),f(t)&f(e))}function a(t,e){var r,n;return t[0]==e[0]&&t[1]==e[1]?0:(r=0>t[1],n=0>e[1],r&&!n?-1:!r&&n?1:g(t,e)[1]<0?-1:1)}function s(t,e){var r,n;for(e%=0x10000000000000000,t%=0x10000000000000000,r=e%De,n=Math.floor(t/De)*De,e=e-r+n,t=t-n+r;0>t;)t+=De,e-=De;for(;t>4294967295;)t-=De,e+=De;for(e%=0x10000000000000000;e>0x7fffffff00000000;)e-=0x10000000000000000;for(;-0x8000000000000000>e;)e+=0x10000000000000000;return[t,e]}function u(t,e){return t[0]==e[0]&&t[1]==e[1]}function c(t){return t>=0?[t,0]:[t+De,-De]}function f(t){return t[0]>=2147483648?~~Math.max(Math.min(t[0]-De,2147483647),-2147483648):~~Math.max(Math.min(t[0],2147483647),-2147483648)}function l(t,e){var r,n;return r=t*De,n=e,0>e&&(n+=De),[n,r]}function h(t){return 30>=t?1<t[1])throw Error("Neg");return o=h(e),n=t[1]*o%0x10000000000000000,i=t[0]*o,r=i-i%De,n+=r,i-=r,n>=0x8000000000000000&&(n-=0x10000000000000000),[i,n]}function p(t,e){var r;return e&=63,r=h(e),s(Math.floor(t[0]/r),t[1]/r)}function b(t,e){var r;return e&=63,r=p(t,e),0>t[1]&&(r=i(r,d([2,0],63-e))),r}function g(t,e){return s(t[0]-e[0],t[1]-e[1])}function y(t,e){return t.Mc=e,t.Lc=0,t.Yb=e.length,t}function v(t){return t.Lc>=t.Yb?-1:255&t.Mc[t.Lc++]}function m(t,e,r,n){return t.Lc>=t.Yb?-1:(n=Math.min(n,t.Yb-t.Lc),k(t.Mc,t.Lc,e,r,n),t.Lc+=n,n)}function w(t){return t.Mc=n(32),t.Yb=0,t}function _(t){var e=t.Mc;return e.length=t.Yb,e}function E(t,e){t.Mc[t.Yb++]=e<<24>>24}function x(t,e,r,n){k(e,r,t.Mc,t.Yb,n),t.Yb+=n}function S(t,e,r,n,i){var o;for(o=e;r>o;++o)n[i++]=t.charCodeAt(o)}function k(t,e,r,n,i){for(var o=0;i>o;++o)r[n+o]=t[e+o]}function M(t,e){qt(e,1<u;u+=8)E(n,255&f(p(i,u)));t.yb=(s.W=0,s.oc=r,s.pc=0,kt(s),s.d.Ab=n,It(s),Bt(s),Rt(s),s.$.rb=s.n+1-2,Kt(s.$,1<i;++i){if(-1==(o=v(e)))throw Error("truncated input");u[i]=o<<24>>24}if(n=st({}),!ct(n,u))throw Error("corrupted input");for(i=0;64>i;i+=8){if(-1==(o=v(e)))throw Error("truncated input");o=o.toString(16),1==o.length&&(o="0"+o),s=o+""+s}/^0+$|^f+$/i.test(s)?t.Tb=qe:(a=parseInt(s,16),t.Tb=a>4294967295?qe:c(a)),t.yb=ot(n,e,r,t.Tb)}function A(t,e){return t.Nb=w({}),T(t,y({},e),t.Nb),t}function U(t,e,r,i){var o;t.Bc=e,t._b=r,o=e+r+i,(null==t.c||t.Kb!=o)&&(t.c=null,t.Kb=o,t.c=n(t.Kb)),t.H=t.Kb-r}function j(t,e){return t.c[t.f+t.o+e]}function L(t,e,r,n){var i,o;for(t.T&&t.o+e+n>t.h&&(n=t.h-(t.o+e)),++r,o=t.f+t.o+e,i=0;n>i&&t.c[o+i]==t.c[o+i-r];++i);return i}function I(t){return t.h-t.o}function O(t){var e,r,n;for(n=t.f+t.o-t.Bc,n>0&&--n,r=t.f+t.h-n,e=0;r>e;++e)t.c[e]=t.c[n+e];t.f-=n}function C(t){var e;++t.o>t.zb&&(e=t.f+t.o,e>t.H&&O(t),P(t))}function P(t){var e,r,n;if(!t.T)for(;;){if(!(n=-t.f+t.Kb-t.h))return;if(-1==(e=m(t.cc,t.c,t.f+t.h,n)))return t.zb=t.h,r=t.f+t.zb,r>t.H&&(t.zb=t.H-t.f),void(t.T=1);t.h+=e,t.h>=t.o+t._b&&(t.zb=t.h-t._b)}}function D(t,e){t.f+=e,t.zb-=e,t.o-=e,t.h-=e}function q(t,e,r,i,o){var a,s,u;1073741567>e&&(t.Fc=16+(i>>1),u=256+~~((e+r+i+o)/2),U(t,e+r,i+o,u),t.ob=i,a=e+1,t.p!=a&&(t.L=n(2*(t.p=a))),s=65536,t.qb&&(s=e-1,s|=s>>1,s|=s>>2,s|=s>>4,s|=s>>8,s>>=1,s|=65535,s>16777216&&(s>>=1),t.Ec=s,++s,s+=t.R),s!=t.rc&&(t.ub=n(t.rc=s)))}function z(t,e){var r,n,i,o,a,s,u,c,f,l,h,d,p,b,g,y,v,m,w,_,E;if(t.h>=t.o+t.ob)b=t.ob;else if(b=t.h-t.o,t.xb>b)return W(t),0;for(v=0,g=t.o>t.p?t.o-t.p:0,n=t.f+t.o,y=1,c=0,f=0,t.qb?(E=Ne[255&t.c[n]]^255&t.c[n+1],c=1023&E,E^=(255&t.c[n+2])<<8,f=65535&E,l=(E^Ne[255&t.c[n+3]]<<5)&t.Ec):l=255&t.c[n]^(255&t.c[n+1])<<8,i=t.ub[t.R+l]||0,t.qb&&(o=t.ub[c]||0,a=t.ub[1024+f]||0,t.ub[c]=t.o,t.ub[1024+f]=t.o,o>g&&t.c[t.f+o]==t.c[n]&&(e[v++]=y=2,e[v++]=t.o-o-1),a>g&&t.c[t.f+a]==t.c[n]&&(a==o&&(v-=2),e[v++]=y=3,e[v++]=t.o-a-1,o=a),0!=v&&o==i&&(v-=2,y=1)),t.ub[t.R+l]=t.o,w=1+(t.k<<1),_=t.k<<1,d=p=t.w,0!=t.w&&i>g&&t.c[t.f+i+t.w]!=t.c[n+t.w]&&(e[v++]=y=t.w,e[v++]=t.o-i-1),r=t.Fc;;){if(g>=i||0==r--){t.L[w]=t.L[_]=0;break}if(u=t.o-i,s=(t.k>=u?t.k-u:t.k-u+t.p)<<1,m=t.f+i,h=p>d?d:p,t.c[m+h]==t.c[n+h]){for(;++h!=b&&t.c[m+h]==t.c[n+h];);if(h>y&&(e[v++]=y=h,e[v++]=u-1,h==b)){t.L[_]=t.L[s],t.L[w]=t.L[s+1];break}}(255&t.c[n+h])>(255&t.c[m+h])?(t.L[_]=i,_=s+1,i=t.L[_],p=h):(t.L[w]=i,w=s,i=t.L[w],d=h)}return W(t),v}function F(t){t.f=0,t.o=0,t.h=0,t.T=0,P(t),t.k=0,D(t,-1)}function W(t){var e;++t.k>=t.p&&(t.k=0),C(t),1073741823==t.o&&(e=t.o-t.p,N(t.L,2*t.p,e),N(t.ub,t.rc,e),D(t,e))}function N(t,e,r){var n,i;for(n=0;e>n;++n)i=t[n]||0,r>=i?i=0:i-=r,t[n]=i}function Y(t,e){t.qb=e>2,t.qb?(t.w=0,t.xb=4,t.R=66560):(t.w=2,t.xb=3,t.R=0)}function G(t,e){var r,n,i,o,a,s,u,c,f,l,h,d,p,b,g,y,v;do{if(t.h>=t.o+t.ob)d=t.ob;else if(d=t.h-t.o,t.xb>d){W(t);continue}for(p=t.o>t.p?t.o-t.p:0,n=t.f+t.o,t.qb?(v=Ne[255&t.c[n]]^255&t.c[n+1],s=1023&v,t.ub[s]=t.o,v^=(255&t.c[n+2])<<8,u=65535&v,t.ub[1024+u]=t.o,c=(v^Ne[255&t.c[n+3]]<<5)&t.Ec):c=255&t.c[n]^(255&t.c[n+1])<<8,i=t.ub[t.R+c],t.ub[t.R+c]=t.o,g=1+(t.k<<1),y=t.k<<1,l=h=t.w,r=t.Fc;;){if(p>=i||0==r--){t.L[g]=t.L[y]=0;break}if(a=t.o-i,o=(t.k>=a?t.k-a:t.k-a+t.p)<<1,b=t.f+i,f=h>l?l:h,t.c[b+f]==t.c[n+f]){for(;++f!=d&&t.c[b+f]==t.c[n+f];);if(f==d){t.L[y]=t.L[o],t.L[g]=t.L[o+1];break}}(255&t.c[n+f])>(255&t.c[b+f])?(t.L[y]=i,y=o+1,i=t.L[y],h=f):(t.L[g]=i,g=o,i=t.L[g],l=f)}W(t)}while(0!=--e)}function H(t,e,r){var n=t.o-e-1;for(0>n&&(n+=t.M);0!=r;--r)n>=t.M&&(n=0),t.Lb[t.o++]=t.Lb[n++],t.o>=t.M&&Z(t)}function J(t,e){(null==t.Lb||t.M!=e)&&(t.Lb=n(e)),t.M=e,t.o=0,t.h=0}function Z(t){var e=t.o-t.h;e&&(x(t.cc,t.Lb,t.h,e),t.o>=t.M&&(t.o=0),t.h=t.o)}function V(t,e){var r=t.o-e-1;return 0>r&&(r+=t.M),t.Lb[r]}function $(t,e){t.Lb[t.o++]=e,t.o>=t.M&&Z(t)}function Q(t){Z(t),t.cc=null}function K(t){return t-=2,4>t?t:3}function X(t){return 4>t?0:10>t?t-3:t-6}function tt(t,e){return t.cb=e,t.Z=null,t.zc=1,t}function et(t,e){return t.Z=e,t.cb=null,t.zc=1,t}function rt(t){if(!t.zc)throw Error("bad state");return t.cb?it(t):nt(t),t.zc}function nt(t){var e=at(t.Z);if(-1==e)throw Error("corrupted input");t.Pb=qe,t.Pc=t.Z.g,(e||a(t.Z.Nc,Fe)>=0&&a(t.Z.g,t.Z.Nc)>=0)&&(Z(t.Z.B),Q(t.Z.B),t.Z.e.Ab=null,t.zc=0)}function it(t){St(t.cb,t.cb.Xb,t.cb.uc,t.cb.Kc),t.Pb=t.cb.Xb[0],t.cb.Kc[0]&&(Dt(t.cb),t.zc=0)}function ot(t,e,r,n){return t.e.Ab=e,Q(t.B),t.B.cc=r,ut(t),t.U=0,t.ib=0,t.Jc=0,t.Ic=0,t.Qc=0,t.Nc=n,t.g=Fe,t.jc=0,et({},t)}function at(t){var e,r,n,o,s,u;if(u=f(t.g)&t.Dc,me(t.e,t.Gb,(t.U<<4)+u)){if(me(t.e,t.Zb,t.U))n=0,me(t.e,t.Cb,t.U)?(me(t.e,t.Db,t.U)?(me(t.e,t.Eb,t.U)?(r=t.Qc,t.Qc=t.Ic):r=t.Ic,t.Ic=t.Jc):r=t.Jc,t.Jc=t.ib,t.ib=r):me(t.e,t.pb,(t.U<<4)+u)||(t.U=7>t.U?9:11,n=1),n||(n=dt(t.sb,t.e,u)+2,t.U=7>t.U?8:11);else if(t.Qc=t.Ic,t.Ic=t.Jc,t.Jc=t.ib,n=2+dt(t.Rb,t.e,u),t.U=7>t.U?7:10,(s=ce(t.kb[K(n)],t.e))>=4){if(o=(s>>1)-1,t.ib=(2|1&s)<s)t.ib+=le(t.kc,t.ib-s-1,t.e,o);else if(t.ib+=we(t.e,o-4)<<4,t.ib+=fe(t.Fb,t.e),0>t.ib)return-1==t.ib?1:-1}else t.ib=s;if(a(c(t.ib),t.g)>=0||t.ib>=t.nb)return-1;H(t.B,t.ib,n),t.g=i(t.g,c(n)),t.jc=V(t.B,0)}else e=yt(t.gb,f(t.g),t.jc),t.jc=7>t.U?mt(e,t.e):wt(e,t.e,V(t.B,t.ib)),$(t.B,t.jc),t.U=X(t.U),t.g=i(t.g,We);return 0}function st(t){t.B={},t.e={},t.Gb=n(192),t.Zb=n(12),t.Cb=n(12),t.Db=n(12),t.Eb=n(12),t.pb=n(192),t.kb=n(4),t.kc=n(114),t.Fb=ue({},4),t.Rb=pt({}),t.sb=pt({}),t.gb={};for(var e=0;4>e;++e)t.kb[e]=ue({},6);return t}function ut(t){t.B.h=0,t.B.o=0,Ee(t.Gb),Ee(t.pb),Ee(t.Zb),Ee(t.Cb),Ee(t.Db),Ee(t.Eb),Ee(t.kc),vt(t.gb);for(var e=0;4>e;++e)Ee(t.kb[e].G);bt(t.Rb),bt(t.sb),Ee(t.Fb.G),_e(t.e)}function ct(t,e){var r,n,i,o,a,s,u;if(5>e.length)return 0;for(u=255&e[0],i=u%9,s=~~(u/9),o=s%5,a=~~(s/5),r=0,n=0;4>n;++n)r+=(255&e[1+n])<<8*n;return r>99999999||!lt(t,i,o,a)?0:ft(t,r)}function ft(t,e){return 0>e?0:(t.Ob!=e&&(t.Ob=e,t.nb=Math.max(t.Ob,1),J(t.B,Math.max(t.nb,4096))),1)}function lt(t,e,r,n){if(e>8||r>4||n>4)return 0;gt(t.gb,r,e);var i=1<t.O;++t.O)t.ec[t.O]=ue({},3),t.hc[t.O]=ue({},3)}function dt(t,e,r){if(!me(e,t.wc,0))return ce(t.ec[r],e);var n=8;return n+=me(e,t.wc,1)?8+ce(t.tc,e):ce(t.hc[r],e)}function pt(t){return t.wc=n(2),t.ec=n(16),t.hc=n(16),t.tc=ue({},8),t.O=0,t}function bt(t){Ee(t.wc);for(var e=0;t.O>e;++e)Ee(t.ec[e].G),Ee(t.hc[e].G);Ee(t.tc.G)}function gt(t,e,r){var i,o;if(null==t.V||t.u!=r||t.I!=e)for(t.I=e,t.qc=(1<i;++i)t.V[i]=_t({})}function yt(t,e,r){return t.V[((e&t.qc)<>>8-t.u)]}function vt(t){var e,r;for(r=1<e;++e)Ee(t.V[e].Ib)}function mt(t,e){var r=1;do{r=r<<1|me(e,t.Ib,r)}while(256>r);return r<<24>>24}function wt(t,e,r){var n,i,o=1;do{if(i=r>>7&1,r<<=1,n=me(e,t.Ib,(1+i<<8)+o),o=o<<1|n,i!=n){for(;256>o;)o=o<<1|me(e,t.Ib,o);break}}while(256>o);return o<<24>>24}function _t(t){return t.Ib=n(768),t}function Et(t,e){var r,n,i,o;t.jb=e,i=t.a[e].r,n=t.a[e].j;do{t.a[e].t&&(ae(t.a[i]),t.a[i].r=i-1,t.a[e].Ac&&(t.a[i-1].t=0,t.a[i-1].r=t.a[e].r2,t.a[i-1].j=t.a[e].j2)),o=i,r=n,n=t.a[o].j,i=t.a[o].r,t.a[o].j=r,t.a[o].r=e,e=o}while(e>0);return t.mb=t.a[0].j,t.q=t.a[0].r}function xt(t){t.l=0,t.J=0;for(var e=0;4>e;++e)t.v[e]=0}function St(t,e,r,n){var o,s,l,h,d,p,b,y,v,m,w,_,E,x,S;if(e[0]=Fe,r[0]=Fe,n[0]=1,t.oc&&(t.b.cc=t.oc,F(t.b),t.W=1,t.oc=null),!t.pc){if(t.pc=1,x=t.g,u(t.g,Fe)){if(!I(t.b))return void Tt(t,f(t.g));Ct(t),E=f(t.g)&t.y,xe(t.d,t.C,(t.l<<4)+E,0),t.l=X(t.l),l=j(t.b,-t.s),re(te(t.A,f(t.g),t.J),t.d,l),t.J=l,--t.s,t.g=i(t.g,We)}if(!I(t.b))return void Tt(t,f(t.g));for(;;){if(b=At(t,f(t.g)),m=t.mb,E=f(t.g)&t.y,s=(t.l<<4)+E,1==b&&-1==m)xe(t.d,t.C,s,0),l=j(t.b,-t.s),S=te(t.A,f(t.g),t.J),7>t.l?re(S,t.d,l):(v=j(t.b,-t.v[0]-1-t.s),ne(S,t.d,v,l)),t.J=l,t.l=X(t.l);else{if(xe(t.d,t.C,s,1),4>m){if(xe(t.d,t.bb,t.l,1),m?(xe(t.d,t.hb,t.l,1),1==m?xe(t.d,t.Ub,t.l,0):(xe(t.d,t.Ub,t.l,1),xe(t.d,t.vc,t.l,m-2))):(xe(t.d,t.hb,t.l,0),1==b?xe(t.d,t._,s,0):xe(t.d,t._,s,1)),1==b?t.l=7>t.l?9:11:(Vt(t.i,t.d,b-2,E),t.l=7>t.l?8:11),h=t.v[m],0!=m){for(p=m;p>=1;--p)t.v[p]=t.v[p-1];t.v[0]=h}}else{for(xe(t.d,t.bb,t.l,0),t.l=7>t.l?7:10,Vt(t.$,t.d,b-2,E),m-=4,_=Nt(m),y=K(b),de(t.K[y],t.d,_),_>=4&&(d=(_>>1)-1,o=(2|1&_)<_?ye(t.Sb,o-_-1,t.d,d,w):(Se(t.d,w>>4,d-4),be(t.S,t.d,15&w),++t.Qb)),h=m,p=3;p>=1;--p)t.v[p]=t.v[p-1];t.v[0]=h,++t.Mb}t.J=j(t.b,b-1-t.s)}if(t.s-=b,t.g=i(t.g,c(b)),!t.s){if(t.Mb>=128&&Bt(t),t.Qb>=16&&Rt(t),e[0]=t.g,r[0]=ke(t.d),!I(t.b))return void Tt(t,f(t.g));if(a(g(t.g,x),[4096,0])>=0)return t.pc=0,void(n[0]=0)}}}}function kt(t){var e,r;t.b||(e={},r=4,t.X||(r=2),Y(e,r),t.b=e),Xt(t.A,t.eb,t.fb),(t.ab!=t.wb||t.Hb!=t.n)&&(q(t.b,t.ab,4096,t.n,274),t.wb=t.ab,t.Hb=t.n)}function Mt(t){var e;for(t.v=n(4),t.a=[],t.d={},t.C=n(192),t.bb=n(12),t.hb=n(12),t.Ub=n(12),t.vc=n(12),t._=n(192),t.K=[],t.Sb=n(114),t.S=he({},4),t.$=$t({}),t.i=$t({}),t.A={},t.m=[],t.P=[],t.lb=[],t.nc=n(16),t.x=n(4),t.Q=n(4),t.Xb=[Fe],t.uc=[Fe],t.Kc=[0],t.fc=n(5),t.yc=n(128),t.vb=0,t.X=1,t.D=0,t.Hb=-1,t.mb=0,e=0;4096>e;++e)t.a[e]={};for(e=0;4>e;++e)t.K[e]=he({},6);return t}function Rt(t){for(var e=0;16>e;++e)t.nc[e]=ge(t.S,e);t.Qb=0}function Bt(t){var e,r,n,i,o,a,s,u;for(i=4;128>i;++i)a=Nt(i),n=(a>>1)-1,e=(2|1&a)<o;++o){for(r=t.K[o],s=o<<6,a=0;t.$b>a;++a)t.P[s+a]=pe(r,a);for(a=14;t.$b>a;++a)t.P[s+a]+=(a>>1)-1-4<<6;for(u=128*o,i=0;4>i;++i)t.lb[u+i]=t.P[s+i];for(;128>i;++i)t.lb[u+i]=t.P[s+Nt(i)]+t.yc[i]}t.Mb=0}function Tt(t,e){Pt(t),Wt(t,e&t.y);for(var r=0;5>r;++r)Re(t.d)}function At(t,e){var r,n,i,o,a,s,u,c,f,l,h,d,p,b,g,y,v,m,w,_,E,x,S,k,M,R,B,T,A,U,O,C,P,D,q,z,F,W,N,Y,G,H,J,Z,V;if(t.jb!=t.q)return p=t.a[t.q].r-t.q,t.mb=t.a[t.q].j,t.q=t.a[t.q].r,p;if(t.q=t.jb=0,t.N?(d=t.vb,t.N=0):d=Ct(t),B=t.D,2>(M=I(t.b)+1))return t.mb=-1,1;for(M>273&&(M=273),Y=0,f=0;4>f;++f)t.x[f]=t.v[f],t.Q[f]=L(t.b,-1,t.x[f],273),t.Q[f]>t.Q[Y]&&(Y=f);if(t.Q[Y]>=t.n)return t.mb=Y,p=t.Q[Y],Ot(t,p-1),p;if(d>=t.n)return t.mb=t.m[B-1]+4,Ot(t,d-1),d;if(u=j(t.b,-1),v=j(t.b,-t.v[0]-1-1),2>d&&u!=v&&2>t.Q[Y])return t.mb=-1,1;if(t.a[0].Hc=t.l,D=e&t.y,t.a[1].z=Ge[t.C[(t.l<<4)+D]>>>2]+oe(te(t.A,e,t.J),t.l>=7,v,u),ae(t.a[1]),m=Ge[2048-t.C[(t.l<<4)+D]>>>2],N=m+Ge[2048-t.bb[t.l]>>>2],v==u&&(G=N+Lt(t,t.l,D),t.a[1].z>G&&(t.a[1].z=G,se(t.a[1]))),2>(h=d>=t.Q[Y]?d:t.Q[Y]))return t.mb=t.a[1].j,1;t.a[1].r=0,t.a[0].bc=t.x[0],t.a[0].ac=t.x[1],t.a[0].dc=t.x[2],t.a[0].lc=t.x[3],l=h;do{t.a[l--].z=268435455}while(l>=2);for(f=0;4>f;++f)if(!(2>(W=t.Q[f]))){z=N+jt(t,f,t.l,D);do{o=z+Qt(t.i,W-2,D),O=t.a[W],O.z>o&&(O.z=o,O.r=0,O.j=f,O.t=0)}while(--W>=2)}if(k=m+Ge[t.bb[t.l]>>>2],l=t.Q[0]>=2?t.Q[0]+1:2,d>=l){for(T=0;l>t.m[T];)T+=2;for(;c=t.m[T+1],o=k+Ut(t,c,l,D),O=t.a[l],O.z>o&&(O.z=o,O.r=0,O.j=c+4,O.t=0),l!=t.m[T]||(T+=2)!=B;++l);}for(r=0;;){if(++r==h)return Et(t,r);if(w=Ct(t),B=t.D,w>=t.n)return t.vb=w,t.N=1,Et(t,r);if(++e,P=t.a[r].r,t.a[r].t?(--P,t.a[r].Ac?(J=t.a[t.a[r].r2].Hc,J=4>t.a[r].j2?7>J?8:11:7>J?7:10):J=t.a[P].Hc,J=X(J)):J=t.a[P].Hc,P==r-1?J=t.a[r].j?X(J):7>J?9:11:(t.a[r].t&&t.a[r].Ac?(P=t.a[r].r2,C=t.a[r].j2,J=7>J?8:11):(C=t.a[r].j,J=4>C?7>J?8:11:7>J?7:10),U=t.a[P],4>C?C?1==C?(t.x[0]=U.ac,t.x[1]=U.bc,t.x[2]=U.dc,t.x[3]=U.lc):2==C?(t.x[0]=U.dc,t.x[1]=U.bc,t.x[2]=U.ac,t.x[3]=U.lc):(t.x[0]=U.lc,t.x[1]=U.bc,t.x[2]=U.ac,t.x[3]=U.dc):(t.x[0]=U.bc,t.x[1]=U.ac,t.x[2]=U.dc,t.x[3]=U.lc):(t.x[0]=C-4,t.x[1]=U.bc,t.x[2]=U.ac,t.x[3]=U.dc)),t.a[r].Hc=J,t.a[r].bc=t.x[0],t.a[r].ac=t.x[1],t.a[r].dc=t.x[2],t.a[r].lc=t.x[3],s=t.a[r].z,u=j(t.b,-1),v=j(t.b,-t.x[0]-1-1),D=e&t.y,n=s+Ge[t.C[(J<<4)+D]>>>2]+oe(te(t.A,e,j(t.b,-2)),J>=7,v,u),x=t.a[r+1],_=0,x.z>n&&(x.z=n,x.r=r,x.j=-1,x.t=0,_=1),m=s+Ge[2048-t.C[(J<<4)+D]>>>2],N=m+Ge[2048-t.bb[J]>>>2],v!=u||r>x.r&&!x.j||(G=N+(Ge[t.hb[J]>>>2]+Ge[t._[(J<<4)+D]>>>2]),x.z>=G&&(x.z=G,x.r=r,x.j=0,x.t=0,_=1)),R=I(t.b)+1,R=R>4095-r?4095-r:R,!(2>(M=R))){if(M>t.n&&(M=t.n),!_&&v!=u&&(V=Math.min(R-1,t.n),(g=L(t.b,0,t.x[0],V))>=2)){for(Z=X(J),q=e+1&t.y,S=n+Ge[2048-t.C[(Z<<4)+q]>>>2]+Ge[2048-t.bb[Z]>>>2],A=r+1+g;A>h;)t.a[++h].z=268435455;o=S+(Qt(t.i,g-2,q)+jt(t,0,Z,q)),O=t.a[A],O.z>o&&(O.z=o,O.r=r+1,O.j=0,O.t=1,O.Ac=0)}for(H=2,F=0;4>F;++F)if(!(2>(b=L(t.b,-1,t.x[F],M)))){y=b;do{for(;r+b>h;)t.a[++h].z=268435455;o=N+(Qt(t.i,b-2,D)+jt(t,F,J,D)),O=t.a[r+b],O.z>o&&(O.z=o,O.r=r,O.j=F,O.t=0)}while(--b>=2);if(b=y,F||(H=b+1),R>b&&(V=Math.min(R-1-b,t.n),(g=L(t.b,b,t.x[F],V))>=2)){for(Z=7>J?8:11,q=e+b&t.y,i=N+(Qt(t.i,b-2,D)+jt(t,F,J,D))+Ge[t.C[(Z<<4)+q]>>>2]+oe(te(t.A,e+b,j(t.b,b-1-1)),1,j(t.b,b-1-(t.x[F]+1)),j(t.b,b-1)),Z=X(Z),q=e+b+1&t.y,E=i+Ge[2048-t.C[(Z<<4)+q]>>>2],S=E+Ge[2048-t.bb[Z]>>>2],A=b+1+g;r+A>h;)t.a[++h].z=268435455;o=S+(Qt(t.i,g-2,q)+jt(t,0,Z,q)),O=t.a[r+A],O.z>o&&(O.z=o,O.r=r+b+1,O.j=0,O.t=1,O.Ac=1,O.r2=r,O.j2=F)}}if(w>M){for(w=M,B=0;w>t.m[B];B+=2);t.m[B]=w,B+=2}if(w>=H){for(k=m+Ge[t.bb[J]>>>2];r+w>h;)t.a[++h].z=268435455;for(T=0;H>t.m[T];)T+=2;for(b=H;;++b)if(a=t.m[T+1],o=k+Ut(t,a,b,D),O=t.a[r+b],O.z>o&&(O.z=o,O.r=r,O.j=a+4,O.t=0),b==t.m[T]){if(R>b&&(V=Math.min(R-1-b,t.n),(g=L(t.b,b,a,V))>=2)){for(Z=7>J?7:10,q=e+b&t.y,i=o+Ge[t.C[(Z<<4)+q]>>>2]+oe(te(t.A,e+b,j(t.b,b-1-1)),1,j(t.b,b-(a+1)-1),j(t.b,b-1)),Z=X(Z),q=e+b+1&t.y,E=i+Ge[2048-t.C[(Z<<4)+q]>>>2],S=E+Ge[2048-t.bb[Z]>>>2],A=b+1+g;r+A>h;)t.a[++h].z=268435455;o=S+(Qt(t.i,g-2,q)+jt(t,0,Z,q)),O=t.a[r+A],O.z>o&&(O.z=o,O.r=r+b+1,O.j=0,O.t=1,O.Ac=1,O.r2=r,O.j2=a+4)}if((T+=2)==B)break}}}}}function Ut(t,e,r,n){var i=K(r);return(128>e?t.lb[128*i+e]:t.P[(i<<6)+Yt(e)]+t.nc[15&e])+Qt(t.$,r-2,n)}function jt(t,e,r,n){var i;return e?(i=Ge[2048-t.hb[r]>>>2],1==e?i+=Ge[t.Ub[r]>>>2]:(i+=Ge[2048-t.Ub[r]>>>2],i+=Be(t.vc[r],e-2))):(i=Ge[t.hb[r]>>>2],i+=Ge[2048-t._[(r<<4)+n]>>>2]),i}function Lt(t,e,r){return Ge[t.hb[e]>>>2]+Ge[t._[(e<<4)+r]>>>2]}function It(t){xt(t),Me(t.d),Ee(t.C),Ee(t._),Ee(t.bb),Ee(t.hb),Ee(t.Ub),Ee(t.vc),Ee(t.Sb),ee(t.A);for(var e=0;4>e;++e)Ee(t.K[e].G);Jt(t.$,1<0&&(G(t.b,e),t.s+=e)}function Ct(t){var e=0;return t.D=z(t.b,t.m),t.D>0&&(e=t.m[t.D-2])==t.n&&(e+=L(t.b,e-1,t.m[t.D-1],273-e)),++t.s,e}function Pt(t){t.b&&t.W&&(t.b.cc=null,t.W=0)}function Dt(t){Pt(t),t.d.Ab=null}function qt(t,e){t.ab=e;for(var r=0;e>1<>24;for(var r=0;4>r;++r)t.fc[1+r]=t.ab>>8*r<<24>>24;x(e,t.fc,0,5)}function Wt(t,e){if(t.Gc){xe(t.d,t.C,(t.l<<4)+e,1),xe(t.d,t.bb,t.l,0),t.l=7>t.l?7:10,Vt(t.$,t.d,0,e);var r=K(2);de(t.K[r],t.d,63),Se(t.d,67108863,26),be(t.S,t.d,15)}}function Nt(t){return 2048>t?Ye[t]:2097152>t?Ye[t>>10]+20:Ye[t>>20]+40}function Yt(t){return 131072>t?Ye[t>>6]+12:134217728>t?Ye[t>>16]+32:Ye[t>>26]+52}function Gt(t,e,r,n){8>r?(xe(e,t.db,0,0),de(t.Vb[n],e,r)):(r-=8,xe(e,t.db,0,1),8>r?(xe(e,t.db,1,0),de(t.Wb[n],e,r)):(xe(e,t.db,1,1),de(t.ic,e,r-8)))}function Ht(t){t.db=n(2),t.Vb=n(16),t.Wb=n(16),t.ic=he({},8);for(var e=0;16>e;++e)t.Vb[e]=he({},3),t.Wb[e]=he({},3);return t}function Jt(t,e){Ee(t.db);for(var r=0;e>r;++r)Ee(t.Vb[r].G),Ee(t.Wb[r].G);Ee(t.ic.G)}function Zt(t,e,r,n,i){var o,a,s,u,c;for(o=Ge[t.db[0]>>>2],a=Ge[2048-t.db[0]>>>2],s=a+Ge[t.db[1]>>>2],u=a+Ge[2048-t.db[1]>>>2],c=0,c=0;8>c;++c){if(c>=r)return;n[i+c]=o+pe(t.Vb[e],c)}for(;16>c;++c){if(c>=r)return;n[i+c]=s+pe(t.Wb[e],c-8)}for(;r>c;++c)n[i+c]=u+pe(t.ic,c-8-8)}function Vt(t,e,r,n){Gt(t,e,r,n),0==--t.sc[n]&&(Zt(t,n,t.rb,t.Cc,272*n),t.sc[n]=t.rb)}function $t(t){return Ht(t),t.Cc=[],t.sc=[],t}function Qt(t,e,r){return t.Cc[272*r+e]}function Kt(t,e){for(var r=0;e>r;++r)Zt(t,r,t.rb,t.Cc,272*r),t.sc[r]=t.rb}function Xt(t,e,r){var i,o;if(null==t.V||t.u!=r||t.I!=e)for(t.I=e,t.qc=(1<i;++i)t.V[i]=ie({})}function te(t,e,r){return t.V[((e&t.qc)<>>8-t.u)]}function ee(t){var e,r=1<e;++e)Ee(t.V[e].tb)}function re(t,e,r){var n,i,o=1;for(i=7;i>=0;--i)n=r>>i&1,xe(e,t.tb,o,n),o=o<<1|n}function ne(t,e,r,n){var i,o,a,s,u=1,c=1;for(o=7;o>=0;--o)i=n>>o&1,s=c,u&&(a=r>>o&1,s+=1+a<<8,u=a==i),xe(e,t.tb,s,i),c=c<<1|i}function ie(t){return t.tb=n(768),t}function oe(t,e,r,n){var i,o,a=1,s=7,u=0;if(e)for(;s>=0;--s)if(o=r>>s&1,i=n>>s&1,u+=Be(t.tb[(1+o<<8)+a],i),a=a<<1|i,o!=i){--s;break}for(;s>=0;--s)i=n>>s&1,u+=Be(t.tb[a],i),a=a<<1|i;return u}function ae(t){t.j=-1,t.t=0}function se(t){t.j=0,t.t=0}function ue(t,e){return t.F=e,t.G=n(1<n;++n)r=me(e,t.G,i),i<<=1,i+=r,o|=r<o;++o)i=me(r,t,e+a),a<<=1,a+=i,s|=i<>>i&1,xe(e,t.G,o,n),o=o<<1|n}function pe(t,e){var r,n,i=1,o=0;for(n=t.F;0!=n;)--n,r=e>>>n&1,o+=Be(t.G[i],r),i=(i<<1)+r;return o}function be(t,e,r){var n,i,o=1;for(i=0;t.F>i;++i)n=1&r,xe(e,t.G,o,n),o=o<<1|n,r>>=1}function ge(t,e){var r,n,i=1,o=0;for(n=t.F;0!=n;--n)r=1&e,e>>>=1,o+=Be(t.G[i],r),i=i<<1|r;return o}function ye(t,e,r,n,i){var o,a,s=1;for(a=0;n>a;++a)o=1&i,xe(r,t,e+s,o),s=s<<1|o,i>>=1}function ve(t,e,r,n){var i,o,a=1,s=0;for(o=r;0!=o;--o)i=1&n,n>>>=1,s+=Ge[(2047&(t[e+a]-i^-i))>>>2],a=a<<1|i;return s}function me(t,e,r){var n,i=e[r];return n=(t.E>>>11)*i,(-2147483648^n)>(-2147483648^t.Bb)?(t.E=n,e[r]=i+(2048-i>>>5)<<16>>16,-16777216&t.E||(t.Bb=t.Bb<<8|v(t.Ab),t.E<<=8),0):(t.E-=n,t.Bb-=n,e[r]=i-(i>>>5)<<16>>16,-16777216&t.E||(t.Bb=t.Bb<<8|v(t.Ab),t.E<<=8),1)}function we(t,e){var r,n,i=0;for(r=e;0!=r;--r)t.E>>>=1,n=t.Bb-t.E>>>31,t.Bb-=t.E&n-1,i=i<<1|1-n,-16777216&t.E||(t.Bb=t.Bb<<8|v(t.Ab),t.E<<=8);return i}function _e(t){t.Bb=0,t.E=-1;for(var e=0;5>e;++e)t.Bb=t.Bb<<8|v(t.Ab)}function Ee(t){for(var e=t.length-1;e>=0;--e)t[e]=1024}function xe(t,e,r,n){var a,s=e[r];a=(t.E>>>11)*s,n?(t.xc=i(t.xc,o(c(a),[4294967295,0])),t.E-=a,e[r]=s-(s>>>5)<<16>>16):(t.E=a,e[r]=s+(2048-s>>>5)<<16>>16),-16777216&t.E||(t.E<<=8,Re(t))}function Se(t,e,r){for(var n=r-1;n>=0;--n)t.E>>>=1,1==(e>>>n&1)&&(t.xc=i(t.xc,c(t.E))),-16777216&t.E||(t.E<<=8,Re(t))}function ke(t){return i(i(c(t.Jb),t.mc),[4,0])}function Me(t){t.mc=Fe,t.xc=Fe,t.E=-1,t.Jb=1,t.Oc=0}function Re(t){var e,r=f(b(t.xc,32));if(0!=r||a(t.xc,[4278190080,0])<0){t.mc=i(t.mc,c(t.Jb)),e=t.Oc;do{E(t.Ab,e+r),e=255}while(0!=--t.Jb);t.Oc=f(t.xc)>>>24}++t.Jb,t.xc=d(o(t.xc,[16777215,0]),8)}function Be(t,e){return Ge[(2047&(t-e^-e))>>>2]}function Te(t){for(var e,r,n,i=0,o=0,a=t.length,s=[],u=[];a>i;++i,++o){if(128&(e=255&t[i]))if(192==(224&e)){if(i+1>=a)return t;if(128!=(192&(r=255&t[++i])))return t;u[o]=(31&e)<<6|63&r}else{if(224!=(240&e))return t;if(i+2>=a)return t;if(128!=(192&(r=255&t[++i])))return t;if(128!=(192&(n=255&t[++i])))return t;u[o]=(15&e)<<12|(63&r)<<6|63&n}else{if(!e)return t;u[o]=e}16383==o&&(s.push(String.fromCharCode.apply(String,u)),o=-1)}return o>0&&(u.length=o,s.push(String.fromCharCode.apply(String,u))),s.join("")}function Ae(t){var e,r,n,i=[],o=0,a=t.length;if("object"==typeof t)return t;for(S(t,0,a,i,0),n=0;a>n;++n)e=i[n],e>=1&&127>=e?++o:o+=!e||e>=128&&2047>=e?2:3;for(r=[],o=0,n=0;a>n;++n)e=i[n],e>=1&&127>=e?r[o++]=e<<24>>24:!e||e>=128&&2047>=e?(r[o++]=(192|e>>6&31)<<24>>24,r[o++]=(128|63&e)<<24>>24):(r[o++]=(224|e>>12&15)<<24>>24,r[o++]=(128|e>>6&63)<<24>>24,r[o++]=(128|63&e)<<24>>24);return r}function Ue(t){return t[1]+t[0]}function je(t,e,n,i){function o(){try{for(var t,e=(new Date).getTime();rt(u.c.yb);)if(a=Ue(u.c.yb.Pb)/Ue(u.c.Tb),(new Date).getTime()-e>200)return i(a),Pe(o,0),0;i(1),t=_(u.c.Nb),Pe(n.bind(null,t),0)}catch(t){n(null,t)}}var a,s,u={},c=void 0===n&&void 0===i;if("function"!=typeof n&&(s=n,n=i=0),i=i||function(t){return void 0!==s?r(t,s):void 0},n=n||function(t,e){return void 0!==s?postMessage({action:Ie,cbn:s,result:t,error:e}):void 0},c){for(u.c=B({},Ae(t),He(e));rt(u.c.yb););return _(u.c.Nb)}try{u.c=B({},Ae(t),He(e)),i(0)}catch(t){return n(null,t)}Pe(o,0)}function Le(t,e,n){function i(){try{for(var t,r=0,a=(new Date).getTime();rt(c.d.yb);)if(++r%1e3==0&&(new Date).getTime()-a>200)return s&&(o=Ue(c.d.yb.Z.g)/u,n(o)),Pe(i,0),0;n(1),t=Te(_(c.d.Nb)),Pe(e.bind(null,t),0)}catch(t){e(null,t)}}var o,a,s,u,c={},f=void 0===e&&void 0===n;if("function"!=typeof e&&(a=e,e=n=0),n=n||function(t){return void 0!==a?r(s?t:-1,a):void 0},e=e||function(t,e){return void 0!==a?postMessage({action:Oe,cbn:a,result:t,error:e}):void 0},f){for(c.d=A({},t);rt(c.d.yb););return Te(_(c.d.Nb))}try{c.d=A({},t),u=Ue(c.d.Tb),s=u>-1,n(0)}catch(t){return e(null,t)}Pe(i,0)}var Ie=1,Oe=2,Ce=3,Pe="function"==typeof t?t:setTimeout,De=4294967296,qe=[4294967295,-De],ze=[0,-0x8000000000000000],Fe=[0,0],We=[1,0],Ne=function(){var t,e,r,n=[];for(t=0;256>t;++t){for(r=t,e=0;8>e;++e)0!=(1&r)?r=r>>>1^-306674912:r>>>=1;n[t]=r}return n}(),Ye=function(){var t,e,r,n=2,i=[0,1];for(r=2;22>r;++r)for(e=1<<(r>>1)-1,t=0;e>t;++t,++n)i[n]=r<<24>>24;return i}(),Ge=function(){var t,e,r,n,i=[];for(e=8;e>=0;--e)for(n=1<<9-e-1,t=1<<9-e,r=n;t>r;++r)i[r]=(e<<6)+(t-r<<6>>>9-e-1);return i}(),He=function(){var t=[{s:16,f:64,m:0},{s:20,f:64,m:0},{s:19,f:64,m:1},{s:20,f:64,m:1},{s:21,f:128,m:1},{s:22,f:128,m:1},{s:23,f:128,m:1},{s:24,f:255,m:1},{s:25,f:255,m:1}];return function(e){return t[e-1]||t[6]}}();return"undefined"==typeof onmessage||"undefined"!=typeof window&&void 0!==window.document||function(){onmessage=function(t){t&&t.gc&&(t.gc.action==Oe?e.decompress(t.gc.gc,t.gc.cbn):t.gc.action==Ie&&e.compress(t.gc.gc,t.gc.Rc,t.gc.cbn))}}(),{compress:je,decompress:Le}}();this.LZMA=this.LZMA_WORKER=e}).call(e,r(19).setImmediate)},function(t,e,r){var n,i=function(){function t(t,e){if(!i[t]){i[t]={};for(var r=0;r>>8,r[2*n+1]=a%256}return r},decompressFromUint8Array:function(t){if(null===t||void 0===t)return o.decompress(t);for(var r=new Array(t.length/2),n=0,i=r.length;n>=1}else{for(i=1,n=0;n>=1}l--,0==l&&(l=Math.pow(2,d),d++),delete s[f]}else for(i=a[f],n=0;n>=1;l--,0==l&&(l=Math.pow(2,d),d++),a[c]=h++,f=String(u)}if(""!==f){if(Object.prototype.hasOwnProperty.call(s,f)){if(f.charCodeAt(0)<256){for(n=0;n>=1}else{for(i=1,n=0;n>=1}l--,0==l&&(l=Math.pow(2,d),d++),delete s[f]}else for(i=a[f],n=0;n>=1;l--,0==l&&(l=Math.pow(2,d),d++)}for(i=2,n=0;n>=1;for(;;){if(b<<=1,g==e-1){p.push(r(b));break}g++}return p.join("")},decompress:function(t){return null==t?"":""==t?null:o._decompress(t.length,32768,function(e){return t.charCodeAt(e)})},_decompress:function(t,r,n){var i,o,a,s,u,c,f,l=[],h=4,d=4,p=3,b="",g=[],y={val:n(0),position:r,index:1};for(i=0;i<3;i+=1)l[i]=i;for(a=0,u=Math.pow(2,2),c=1;c!=u;)s=y.val&y.position,y.position>>=1,0==y.position&&(y.position=r,y.val=n(y.index++)),a|=(s>0?1:0)*c,c<<=1;switch(a){case 0:for(a=0,u=Math.pow(2,8),c=1;c!=u;)s=y.val&y.position,y.position>>=1,0==y.position&&(y.position=r,y.val=n(y.index++)),a|=(s>0?1:0)*c,c<<=1;f=e(a);break;case 1:for(a=0,u=Math.pow(2,16),c=1;c!=u;)s=y.val&y.position,y.position>>=1,0==y.position&&(y.position=r,y.val=n(y.index++)),a|=(s>0?1:0)*c,c<<=1;f=e(a);break;case 2:return""}for(l[3]=f,o=f,g.push(f);;){if(y.index>t)return"";for(a=0,u=Math.pow(2,p),c=1;c!=u;)s=y.val&y.position,y.position>>=1,0==y.position&&(y.position=r,y.val=n(y.index++)),a|=(s>0?1:0)*c,c<<=1;switch(f=a){case 0:for(a=0,u=Math.pow(2,8),c=1;c!=u;)s=y.val&y.position,y.position>>=1,0==y.position&&(y.position=r,y.val=n(y.index++)),a|=(s>0?1:0)*c,c<<=1;l[d++]=e(a),f=d-1,h--;break;case 1:for(a=0,u=Math.pow(2,16),c=1;c!=u;)s=y.val&y.position,y.position>>=1,0==y.position&&(y.position=r,y.val=n(y.index++)),a|=(s>0?1:0)*c,c<<=1;l[d++]=e(a),f=d-1,h--;break;case 2:return g.join("")}if(0==h&&(h=Math.pow(2,p),p++),l[f])b=l[f];else{if(f!==d)return null;b=o+o.charAt(0)}g.push(b),l[d++]=o+b.charAt(0),h--,o=b,0==h&&(h=Math.pow(2,p),p++)}}};return o}();void 0!==(n=function(){return i}.call(e,r,e,t))&&(t.exports=n)},function(t,e,r){"use strict";var n=function(){};n.prototype.encode=function(t){for(var e,r={},n=(t+"").split(""),i=[],o=n[0],a=256,s=1;s1?r[o]:o.charCodeAt(0)),r[o+e]=a,a++,o=e);i.push(o.length>1?r[o]:o.charCodeAt(0));for(var s=0;s=n())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+n().toString(16)+" bytes");return 0|t}function b(t){return+t!=t&&(t=0),o.alloc(+t)}function g(t,e){if(o.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 r=t.length;if(0===r)return 0;for(var n=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return Y(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return J(t).length;default:if(n)return Y(t).length;e=(""+e).toLowerCase(),n=!0}}function y(t,e,r){var n=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if(r>>>=0,e>>>=0,r<=e)return"";for(t||(t="utf8");;)switch(t){case"hex":return j(this,e,r);case"utf8":case"utf-8":return B(this,e,r);case"ascii":return A(this,e,r);case"latin1":case"binary":return U(this,e,r);case"base64":return R(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return L(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}function v(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}function w(t,e,r,n,i){if(0===t.length)return-1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=i?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(i)return-1;r=t.length-1}else if(r<0){if(!i)return-1;r=0}if("string"==typeof e&&(e=o.from(e,n)),o.isBuffer(e))return 0===e.length?-1:m(t,e,r,n,i);if("number"==typeof e)return e&=255,o.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):m(t,[e],r,n,i);throw new TypeError("val must be string, number or Buffer")}function m(t,e,r,n,i){function o(t,e){return 1===a?t[e]:t.readUInt16BE(e*a)}var a=1,s=t.length,u=e.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(t.length<2||e.length<2)return-1;a=2,s/=2,u/=2,r/=2}var f;if(i){var c=-1;for(f=r;fs&&(r=s-u),f=r;f>=0;f--){for(var l=!0,h=0;hi&&(n=i):n=i;var o=e.length;if(o%2!=0)throw new TypeError("Invalid hex string");n>o/2&&(n=o/2);for(var a=0;a239?4:o>223?3:o>191?2:1;if(i+s<=r){var u,f,c,l;switch(s){case 1:o<128&&(a=o);break;case 2:u=t[i+1],128==(192&u)&&(l=(31&o)<<6|63&u)>127&&(a=l);break;case 3:u=t[i+1],f=t[i+2],128==(192&u)&&128==(192&f)&&(l=(15&o)<<12|(63&u)<<6|63&f)>2047&&(l<55296||l>57343)&&(a=l);break;case 4:u=t[i+1],f=t[i+2],c=t[i+3],128==(192&u)&&128==(192&f)&&128==(192&c)&&(l=(15&o)<<18|(63&u)<<12|(63&f)<<6|63&c)>65535&&l<1114112&&(a=l)}}null===a?(a=65533,s=1):a>65535&&(a-=65536,n.push(a>>>10&1023|55296),a=56320|1023&a),n.push(a),i+=s}return T(n)}function T(t){var e=t.length;if(e<=X)return String.fromCharCode.apply(String,t);for(var r="",n=0;nn)&&(r=n);for(var i="",o=e;or)throw new RangeError("Trying to access beyond buffer length")}function O(t,e,r,n,i,a){if(!o.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||et.length)throw new RangeError("Index out of range")}function C(t,e,r,n){e<0&&(e=65535+e+1);for(var i=0,o=Math.min(t.length-r,2);i>>8*(n?i:1-i)}function P(t,e,r,n){e<0&&(e=4294967295+e+1);for(var i=0,o=Math.min(t.length-r,4);i>>8*(n?i:3-i)&255}function D(t,e,r,n,i,o){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function q(t,e,r,n,i){return i||D(t,e,r,4,3.4028234663852886e38,-3.4028234663852886e38),Q.write(t,e,r,n,23,4),r+4}function z(t,e,r,n,i){return i||D(t,e,r,8,1.7976931348623157e308,-1.7976931348623157e308),Q.write(t,e,r,n,52,8),r+8}function F(t){if(t=W(t).replace(tt,""),t.length<2)return"";for(;t.length%4!=0;)t+="=";return t}function W(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function N(t){return t<16?"0"+t.toString(16):t.toString(16)}function Y(t,e){e=e||1/0;for(var r,n=t.length,i=null,o=[],a=0;a55295&&r<57344){if(!i){if(r>56319){(e-=3)>-1&&o.push(239,191,189);continue}if(a+1===n){(e-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(e-=3)>-1&&o.push(239,191,189),i=r;continue}r=65536+(i-55296<<10|r-56320)}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((e-=1)<0)break;o.push(r)}else if(r<2048){if((e-=2)<0)break;o.push(r>>6|192,63&r|128)}else if(r<65536){if((e-=3)<0)break;o.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return o}function G(t){for(var e=[],r=0;r>8,i=r%256,o.push(i),o.push(n);return o}function J(t){return $.toByteArray(F(t))}function Z(t,e,r,n){for(var i=0;i=e.length||i>=t.length);++i)e[i+r]=t[i];return i}function V(t){return t!==t}var $=r(35),Q=r(36),K=r(16);e.Buffer=o,e.SlowBuffer=b,e.INSPECT_MAX_BYTES=50,o.TYPED_ARRAY_SUPPORT=void 0!==window.TYPED_ARRAY_SUPPORT?window.TYPED_ARRAY_SUPPORT:function(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===t.foo()&&"function"==typeof t.subarray&&0===t.subarray(1,1).byteLength}catch(t){return!1}}(),e.kMaxLength=n(),o.poolSize=8192,o._augment=function(t){return t.__proto__=o.prototype,t},o.from=function(t,e,r){return a(null,t,e,r)},o.TYPED_ARRAY_SUPPORT&&(o.prototype.__proto__=Uint8Array.prototype,o.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&o[Symbol.species]===o&&Object.defineProperty(o,Symbol.species,{value:null,configurable:!0})),o.alloc=function(t,e,r){return u(null,t,e,r)},o.allocUnsafe=function(t){return f(null,t)},o.allocUnsafeSlow=function(t){return f(null,t)},o.isBuffer=function(t){return!(null==t||!t._isBuffer)},o.compare=function(t,e){if(!o.isBuffer(t)||!o.isBuffer(e))throw new TypeError("Arguments must be Buffers");if(t===e)return 0;for(var r=t.length,n=e.length,i=0,a=Math.min(r,n);i0&&(t=this.toString("hex",0,r).match(/.{2}/g).join(" "),this.length>r&&(t+=" ... ")),""},o.prototype.compare=function(t,e,r,n,i){if(!o.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===r&&(r=t?t.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),e<0||r>t.length||n<0||i>this.length)throw new RangeError("out of range index");if(n>=i&&e>=r)return 0;if(n>=i)return-1;if(e>=r)return 1;if(e>>>=0,r>>>=0,n>>>=0,i>>>=0,this===t)return 0;for(var a=i-n,s=r-e,u=Math.min(a,s),f=this.slice(n,i),c=t.slice(e,r),l=0;li)&&(r=i),t.length>0&&(r<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var o=!1;;)switch(n){case"hex":return _(this,t,e,r);case"utf8":case"utf-8":return E(this,t,e,r);case"ascii":return x(this,t,e,r);case"latin1":case"binary":return S(this,t,e,r);case"base64":return k(this,t,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return M(this,t,e,r);default:if(o)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),o=!0}},o.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var X=4096;o.prototype.slice=function(t,e){var r=this.length;t=~~t,e=void 0===e?r:~~e,t<0?(t+=r)<0&&(t=0):t>r&&(t=r),e<0?(e+=r)<0&&(e=0):e>r&&(e=r),e0&&(i*=256);)n+=this[t+--e]*i;return n},o.prototype.readUInt8=function(t,e){return e||I(t,1,this.length),this[t]},o.prototype.readUInt16LE=function(t,e){return e||I(t,2,this.length),this[t]|this[t+1]<<8},o.prototype.readUInt16BE=function(t,e){return e||I(t,2,this.length),this[t]<<8|this[t+1]},o.prototype.readUInt32LE=function(t,e){return e||I(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},o.prototype.readUInt32BE=function(t,e){return e||I(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},o.prototype.readIntLE=function(t,e,r){t|=0,e|=0,r||I(t,e,this.length);for(var n=this[t],i=1,o=0;++o=i&&(n-=Math.pow(2,8*e)),n},o.prototype.readIntBE=function(t,e,r){t|=0,e|=0,r||I(t,e,this.length);for(var n=e,i=1,o=this[t+--n];n>0&&(i*=256);)o+=this[t+--n]*i;return i*=128,o>=i&&(o-=Math.pow(2,8*e)),o},o.prototype.readInt8=function(t,e){return e||I(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},o.prototype.readInt16LE=function(t,e){e||I(t,2,this.length);var r=this[t]|this[t+1]<<8;return 32768&r?4294901760|r:r},o.prototype.readInt16BE=function(t,e){e||I(t,2,this.length);var r=this[t+1]|this[t]<<8;return 32768&r?4294901760|r:r},o.prototype.readInt32LE=function(t,e){return e||I(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},o.prototype.readInt32BE=function(t,e){return e||I(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},o.prototype.readFloatLE=function(t,e){return e||I(t,4,this.length),Q.read(this,t,!0,23,4)},o.prototype.readFloatBE=function(t,e){return e||I(t,4,this.length),Q.read(this,t,!1,23,4)},o.prototype.readDoubleLE=function(t,e){return e||I(t,8,this.length),Q.read(this,t,!0,52,8)},o.prototype.readDoubleBE=function(t,e){return e||I(t,8,this.length),Q.read(this,t,!1,52,8)},o.prototype.writeUIntLE=function(t,e,r,n){if(t=+t,e|=0,r|=0,!n){O(this,t,e,r,Math.pow(2,8*r)-1,0)}var i=1,o=0;for(this[e]=255&t;++o=0&&(o*=256);)this[e+i]=t/o&255;return e+r},o.prototype.writeUInt8=function(t,e,r){return t=+t,e|=0,r||O(this,t,e,1,255,0),o.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},o.prototype.writeUInt16LE=function(t,e,r){return t=+t,e|=0,r||O(this,t,e,2,65535,0),o.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):C(this,t,e,!0),e+2},o.prototype.writeUInt16BE=function(t,e,r){return t=+t,e|=0,r||O(this,t,e,2,65535,0),o.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):C(this,t,e,!1),e+2},o.prototype.writeUInt32LE=function(t,e,r){return t=+t,e|=0,r||O(this,t,e,4,4294967295,0),o.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):P(this,t,e,!0),e+4},o.prototype.writeUInt32BE=function(t,e,r){return t=+t,e|=0,r||O(this,t,e,4,4294967295,0),o.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):P(this,t,e,!1),e+4},o.prototype.writeIntLE=function(t,e,r,n){if(t=+t,e|=0,!n){var i=Math.pow(2,8*r-1);O(this,t,e,r,i-1,-i)}var o=0,a=1,s=0;for(this[e]=255&t;++o>0)-s&255;return e+r},o.prototype.writeIntBE=function(t,e,r,n){if(t=+t,e|=0,!n){var i=Math.pow(2,8*r-1);O(this,t,e,r,i-1,-i)}var o=r-1,a=1,s=0;for(this[e+o]=255&t;--o>=0&&(a*=256);)t<0&&0===s&&0!==this[e+o+1]&&(s=1),this[e+o]=(t/a>>0)-s&255;return e+r},o.prototype.writeInt8=function(t,e,r){return t=+t,e|=0,r||O(this,t,e,1,127,-128),o.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},o.prototype.writeInt16LE=function(t,e,r){return t=+t,e|=0,r||O(this,t,e,2,32767,-32768),o.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):C(this,t,e,!0),e+2},o.prototype.writeInt16BE=function(t,e,r){return t=+t,e|=0,r||O(this,t,e,2,32767,-32768),o.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):C(this,t,e,!1),e+2},o.prototype.writeInt32LE=function(t,e,r){return t=+t,e|=0,r||O(this,t,e,4,2147483647,-2147483648),o.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):P(this,t,e,!0),e+4},o.prototype.writeInt32BE=function(t,e,r){return t=+t,e|=0,r||O(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),o.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):P(this,t,e,!1),e+4},o.prototype.writeFloatLE=function(t,e,r){return q(this,t,e,!0,r)},o.prototype.writeFloatBE=function(t,e,r){return q(this,t,e,!1,r)},o.prototype.writeDoubleLE=function(t,e,r){return z(this,t,e,!0,r)},o.prototype.writeDoubleBE=function(t,e,r){return z(this,t,e,!1,r)},o.prototype.copy=function(t,e,r,n){if(r||(r=0),n||0===n||(n=this.length),e>=t.length&&(e=t.length),e||(e=0),n>0&&n=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),t.length-e=0;--i)t[i+e]=this[i+r];else if(a<1e3||!o.TYPED_ARRAY_SUPPORT)for(i=0;i>>=0,r=void 0===r?this.length:r>>>0,t||(t=0);var a;if("number"==typeof t)for(a=e;a1)for(var r=1;rthis.length||t<0)){var e=this._offset(t);return this._bufs[e[0]][e[1]]}},n.prototype.slice=function(t,e){return"number"==typeof t&&t<0&&(t+=this.length),"number"==typeof e&&e<0&&(e+=this.length),this.copy(null,0,t,e)},n.prototype.copy=function(t,e,r,n){if(("number"!=typeof r||r<0)&&(r=0),("number"!=typeof n||n>this.length)&&(n=this.length),r>=this.length)return t||a.alloc(0);if(n<=0)return t||a.alloc(0);var i,o,s=!!t,u=this._offset(r),f=n-r,c=f,l=s&&e||0,h=u[1];if(0===r&&n==this.length){if(!s)return 1===this._bufs.length?this._bufs[0]:a.concat(this._bufs,this.length);for(o=0;oi)){this._bufs[o].copy(t,l,h,h+c);break}this._bufs[o].copy(t,l,h),l+=i,c-=i,h&&(h=0)}return t},n.prototype.shallowSlice=function(t,e){if(t=t||0,e="number"!=typeof e?this.length:e,t<0&&(t+=this.length),e<0&&(e+=this.length),t===e)return new n;var r=this._offset(t),i=this._offset(e),o=this._bufs.slice(r[0],i[0]+1);return 0==i[1]?o.pop():o[o.length-1]=o[o.length-1].slice(0,i[1]),0!=r[1]&&(o[0]=o[0].slice(r[1])),new n(o)},n.prototype.toString=function(t,e,r){return this.slice(e,r).toString(t)},n.prototype.consume=function(t){for(;this._bufs.length;){if(!(t>=this._bufs[0].length)){this._bufs[0]=this._bufs[0].slice(t),this.length-=t;break}t-=this._bufs[0].length,this.length-=this._bufs[0].length,this._bufs.shift()}return this},n.prototype.duplicate=function(){for(var t=0,e=new n;tthis.length?this.length:e;var i=this._offset(e),o=i[0],s=i[1];for(o;o=t.length){var f=u.indexOf(t,s);if(-1!==f)return this._reverseOffset([o,f]);s=u.length-t.length+1}else{var c=this._reverseOffset([o,s]);if(this._match(c,t))return c;s++}}s=0}return-1},n.prototype._match=function(t,e){if(this.length-t0&&this._events[t].length>i&&(this._events[t].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[t].length),"function"==typeof console.trace&&console.trace()),this},r.prototype.on=r.prototype.addListener,r.prototype.once=function(t,e){function r(){this.removeListener(t,r),i||(i=!0,e.apply(this,arguments))}if(!n(e))throw TypeError("listener must be a function");var i=!1;return r.listener=e,this.on(t,r),this},r.prototype.removeListener=function(t,e){var r,i,a,s;if(!n(e))throw TypeError("listener must be a function");if(!this._events||!this._events[t])return this;if(r=this._events[t],a=r.length,i=-1,r===e||n(r.listener)&&r.listener===e)delete this._events[t],this._events.removeListener&&this.emit("removeListener",t,e);else if(o(r)){for(s=a;s-- >0;)if(r[s]===e||r[s].listener&&r[s].listener===e){i=s;break}if(i<0)return this;1===r.length?(r.length=0,delete this._events[t]):r.splice(i,1),this._events.removeListener&&this.emit("removeListener",t,e)}return this},r.prototype.removeAllListeners=function(t){var e,r;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[t]&&delete this._events[t],this;if(0===arguments.length){for(e in this._events)"removeListener"!==e&&this.removeAllListeners(e);return this.removeAllListeners("removeListener"),this._events={},this}if(r=this._events[t],n(r))this.removeListener(t,r);else if(r)for(;r.length;)this.removeListener(t,r[r.length-1]);return delete this._events[t],this},r.prototype.listeners=function(t){return this._events&&this._events[t]?n(this._events[t])?[this._events[t]]:this._events[t].slice():[]},r.prototype.listenerCount=function(t){if(this._events){var e=this._events[t];if(n(e))return 1;if(e)return e.length}return 0},r.listenerCount=function(t,e){return t.listenerCount(e)}},function(t,e,r){function n(t,e){for(var r in t)e[r]=t[r]}function i(t,e,r){return a(t,e,r)}var o=r(2),a=o.Buffer;a.from&&a.alloc&&a.allocUnsafe&&a.allocUnsafeSlow?t.exports=o:(n(o,e),e.Buffer=i),n(a,i),i.from=function(t,e,r){if("number"==typeof t)throw new TypeError("Argument must not be a number");return a(t,e,r)},i.alloc=function(t,e,r){if("number"!=typeof t)throw new TypeError("Argument must be a number");var n=a(t);return void 0!==e?"string"==typeof r?n.fill(e,r):n.fill(e):n.fill(0),n},i.allocUnsafe=function(t){if("number"!=typeof t)throw new TypeError("Argument must be a number");return a(t)},i.allocUnsafeSlow=function(t){if("number"!=typeof t)throw new TypeError("Argument must be a number");return o.SlowBuffer(t)}},function(t,e,r){function n(t){if(t&&!u(t))throw new Error("Unknown encoding: "+t)}function i(t){return t.toString(this.encoding)}function o(t){this.charReceived=t.length%2,this.charLength=this.charReceived?2:0}function a(t){this.charReceived=t.length%3,this.charLength=this.charReceived?3:0}var s=r(2).Buffer,u=s.isEncoding||function(t){switch(t&&t.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}},f=e.StringDecoder=function(t){switch(this.encoding=(t||"utf8").toLowerCase().replace(/[-_]/,""),n(t),this.encoding){case"utf8":this.surrogateSize=3;break;case"ucs2":case"utf16le":this.surrogateSize=2,this.detectIncompleteChar=o;break;case"base64":this.surrogateSize=3,this.detectIncompleteChar=a;break;default:return void(this.write=i)}this.charBuffer=new s(6),this.charReceived=0,this.charLength=0};f.prototype.write=function(t){for(var e="";this.charLength;){var r=t.length>=this.charLength-this.charReceived?this.charLength-this.charReceived:t.length;if(t.copy(this.charBuffer,this.charReceived,0,r),this.charReceived+=r,this.charReceived=55296&&n<=56319)){if(this.charReceived=this.charLength=0,0===t.length)return e;break}this.charLength+=this.surrogateSize,e=""}this.detectIncompleteChar(t);var i=t.length;this.charLength&&(t.copy(this.charBuffer,0,t.length-this.charReceived,i),i-=this.charReceived),e+=t.toString(this.encoding,0,i);var i=e.length-1,n=e.charCodeAt(i);if(n>=55296&&n<=56319){var o=this.surrogateSize;return this.charLength+=o,this.charReceived+=o,this.charBuffer.copy(this.charBuffer,o,0,o),t.copy(this.charBuffer,0,0,o),e.substring(0,i)}return e},f.prototype.detectIncompleteChar=function(t){for(var e=t.length>=3?3:t.length;e>0;e--){var r=t[t.length-e];if(1==e&&r>>5==6){this.charLength=2;break}if(e<=2&&r>>4==14){this.charLength=3;break}if(e<=3&&r>>3==30){this.charLength=4;break}}this.charReceived=e},f.prototype.end=function(t){var e="";if(t&&t.length&&(e=this.write(t)),this.charReceived){var r=this.charReceived,n=this.charBuffer,i=this.encoding;e+=n.slice(0,r).toString(i)}return e}},function(t,e,r){"use strict";(function(e){function r(t,r,n,i){if("function"!=typeof t)throw new TypeError('"callback" argument must be a function');var o,a,s=arguments.length;switch(s){case 0:case 1:return e.nextTick(t);case 2:return e.nextTick(function(){t.call(null,r)});case 3:return e.nextTick(function(){t.call(null,r,n)});case 4:return e.nextTick(function(){t.call(null,r,n,i)});default:for(o=new Array(s-1),a=0;a=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),p(r)?n.showHidden=r:r&&e._extend(n,r),m(n.showHidden)&&(n.showHidden=!1),m(n.depth)&&(n.depth=2),m(n.colors)&&(n.colors=!1),m(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=i),s(n,t,n.depth)}function i(t,e){var r=n.styles[e];return r?"["+n.colors[r][0]+"m"+t+"["+n.colors[r][1]+"m":t}function o(t,e){return t}function a(t){var e={};return t.forEach(function(t,r){e[t]=!0}),e}function s(t,r,n){if(t.customInspect&&r&&k(r.inspect)&&r.inspect!==e.inspect&&(!r.constructor||r.constructor.prototype!==r)){var i=r.inspect(n,t);return v(i)||(i=s(t,i,n)),i}var o=u(t,r);if(o)return o;var p=Object.keys(r),b=a(p);if(t.showHidden&&(p=Object.getOwnPropertyNames(r)),S(r)&&(p.indexOf("message")>=0||p.indexOf("description")>=0))return f(r);if(0===p.length){if(k(r)){var g=r.name?": "+r.name:"";return t.stylize("[Function"+g+"]","special")}if(_(r))return t.stylize(RegExp.prototype.toString.call(r),"regexp");if(x(r))return t.stylize(Date.prototype.toString.call(r),"date");if(S(r))return f(r)}var y="",w=!1,m=["{","}"];if(d(r)&&(w=!0,m=["[","]"]),k(r)){y=" [Function"+(r.name?": "+r.name:"")+"]"}if(_(r)&&(y=" "+RegExp.prototype.toString.call(r)),x(r)&&(y=" "+Date.prototype.toUTCString.call(r)),S(r)&&(y=" "+f(r)),0===p.length&&(!w||0==r.length))return m[0]+y+m[1];if(n<0)return _(r)?t.stylize(RegExp.prototype.toString.call(r),"regexp"):t.stylize("[Object]","special");t.seen.push(r);var E;return E=w?c(t,r,n,b,p):p.map(function(e){return l(t,r,n,b,e,w)}),t.seen.pop(),h(E,y,m)}function u(t,e){if(m(e))return t.stylize("undefined","undefined");if(v(e)){var r="'"+JSON.stringify(e).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return t.stylize(r,"string")}return y(e)?t.stylize(""+e,"number"):p(e)?t.stylize(""+e,"boolean"):b(e)?t.stylize("null","null"):void 0}function f(t){return"["+Error.prototype.toString.call(t)+"]"}function c(t,e,r,n,i){for(var o=[],a=0,s=e.length;a-1&&(u=o?u.split("\n").map(function(t){return" "+t}).join("\n").substr(2):"\n"+u.split("\n").map(function(t){return" "+t}).join("\n"))):u=t.stylize("[Circular]","special")),m(a)){if(o&&i.match(/^\d+$/))return u;a=JSON.stringify(""+i),a.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.substr(1,a.length-2),a=t.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=t.stylize(a,"string"))}return a+": "+u}function h(t,e,r){var n=0;return t.reduce(function(t,e){return n++,e.indexOf("\n")>=0&&n++,t+e.replace(/\u001b\[\d\d?m/g,"").length+1},0)>60?r[0]+(""===e?"":e+"\n ")+" "+t.join(",\n ")+" "+r[1]:r[0]+e+" "+t.join(", ")+" "+r[1]}function d(t){return Array.isArray(t)}function p(t){return"boolean"==typeof t}function b(t){return null===t}function g(t){return null==t}function y(t){return"number"==typeof t}function v(t){return"string"==typeof t}function w(t){return"symbol"==typeof t}function m(t){return void 0===t}function _(t){return E(t)&&"[object RegExp]"===R(t)}function E(t){return"object"==typeof t&&null!==t}function x(t){return E(t)&&"[object Date]"===R(t)}function S(t){return E(t)&&("[object Error]"===R(t)||t instanceof Error)}function k(t){return"function"==typeof t}function M(t){return null===t||"boolean"==typeof t||"number"==typeof t||"string"==typeof t||"symbol"==typeof t||void 0===t}function R(t){return Object.prototype.toString.call(t)}function B(t){return t<10?"0"+t.toString(10):t.toString(10)}function T(){var t=new Date,e=[B(t.getHours()),B(t.getMinutes()),B(t.getSeconds())].join(":");return[t.getDate(),I[t.getMonth()],e].join(" ")}function A(t,e){return Object.prototype.hasOwnProperty.call(t,e)}var U=/%[sdj%]/g;e.format=function(t){if(!v(t)){for(var e=[],r=0;r=o)return t;switch(t){case"%s":return String(i[r++]);case"%d":return Number(i[r++]);case"%j":try{return JSON.stringify(i[r++])}catch(t){return"[Circular]"}default:return t}}),s=i[r];r=0&&(t._idleTimeoutId=setTimeout(function(){t._onTimeout&&t._onTimeout()},e))},r(45),e.setImmediate=setImmediate,e.clearImmediate=clearImmediate},function(t,e,r){"use strict";(function(e){function n(t){return C.from(t)}function i(t){return C.isBuffer(t)||t instanceof P}function o(t,e,r){if("function"==typeof t.prependListener)return t.prependListener(e,r);t._events&&t._events[e]?L(t._events[e])?t._events[e].unshift(r):t._events[e]=[r,t._events[e]]:t.on(e,r)}function a(t,e){j=j||r(6),t=t||{};var n=e instanceof j;this.objectMode=!!t.objectMode,n&&(this.objectMode=this.objectMode||!!t.readableObjectMode);var i=t.highWaterMark,o=t.readableHighWaterMark,a=this.objectMode?16:16384;this.highWaterMark=i||0===i?i:n&&(o||0===o)?o:a,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new W,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=t.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(F||(F=r(14).StringDecoder),this.decoder=new F(t.encoding),this.encoding=t.encoding)}function s(t){if(j=j||r(6),!(this instanceof s))return new s(t);this._readableState=new a(t,this),this.readable=!0,t&&("function"==typeof t.read&&(this._read=t.read),"function"==typeof t.destroy&&(this._destroy=t.destroy)),O.call(this)}function u(t,e,r,i,o){var a=t._readableState;if(null===e)a.reading=!1,p(t,a);else{var s;o||(s=c(a,e)),s?t.emit("error",s):a.objectMode||e&&e.length>0?("string"==typeof e||a.objectMode||Object.getPrototypeOf(e)===C.prototype||(e=n(e)),i?a.endEmitted?t.emit("error",new Error("stream.unshift() after end event")):f(t,a,e,!0):a.ended?t.emit("error",new Error("stream.push() after EOF")):(a.reading=!1,a.decoder&&!r?(e=a.decoder.write(e),a.objectMode||0!==e.length?f(t,a,e,!1):y(t,a)):f(t,a,e,!1))):i||(a.reading=!1)}return l(a)}function f(t,e,r,n){e.flowing&&0===e.length&&!e.sync?(t.emit("data",r),t.read(0)):(e.length+=e.objectMode?1:r.length,n?e.buffer.unshift(r):e.buffer.push(r),e.needReadable&&b(t)),y(t,e)}function c(t,e){var r;return i(e)||"string"==typeof e||void 0===e||t.objectMode||(r=new TypeError("Invalid non-string/buffer chunk")),r}function l(t){return!t.ended&&(t.needReadable||t.length=G?t=G:(t--,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,t|=t>>>16,t++),t}function d(t,e){return t<=0||0===e.length&&e.ended?0:e.objectMode?1:t!==t?e.flowing&&e.length?e.buffer.head.data.length:e.length:(t>e.highWaterMark&&(e.highWaterMark=h(t)),t<=e.length?t:e.ended?e.length:(e.needReadable=!0,0))}function p(t,e){if(!e.ended){if(e.decoder){var r=e.decoder.end();r&&r.length&&(e.buffer.push(r),e.length+=e.objectMode?1:r.length)}e.ended=!0,b(t)}}function b(t){var e=t._readableState;e.needReadable=!1,e.emittedReadable||(z("emitReadable",e.flowing),e.emittedReadable=!0,e.sync?U.nextTick(g,t):g(t))}function g(t){z("emit readable"),t.emit("readable"),x(t)}function y(t,e){e.readingMore||(e.readingMore=!0,U.nextTick(v,t,e))}function v(t,e){for(var r=e.length;!e.reading&&!e.flowing&&!e.ended&&e.length=e.length?(r=e.decoder?e.buffer.join(""):1===e.buffer.length?e.buffer.head.data:e.buffer.concat(e.length),e.buffer.clear()):r=k(t,e.buffer,e.decoder),r}function k(t,e,r){var n;return to.length?o.length:t;if(a===o.length?i+=o:i+=o.slice(0,t),0===(t-=a)){a===o.length?(++n,r.next?e.head=r.next:e.head=e.tail=null):(e.head=r,r.data=o.slice(a));break}++n}return e.length-=n,i}function R(t,e){var r=C.allocUnsafe(t),n=e.head,i=1;for(n.data.copy(r),t-=n.data.length;n=n.next;){var o=n.data,a=t>o.length?o.length:t;if(o.copy(r,r.length-t,0,a),0===(t-=a)){a===o.length?(++i,n.next?e.head=n.next:e.head=e.tail=null):(e.head=n,n.data=o.slice(a));break}++i}return e.length-=i,r}function B(t){var e=t._readableState;if(e.length>0)throw new Error('"endReadable()" called on non-empty stream');e.endEmitted||(e.ended=!0,U.nextTick(T,e,t))}function T(t,e){t.endEmitted||0!==t.length||(t.endEmitted=!0,e.readable=!1,e.emit("end"))}function A(t,e){for(var r=0,n=t.length;r=e.highWaterMark||e.ended))return z("read: emitReadable",e.length,e.ended),0===e.length&&e.ended?B(this):b(this),null;if(0===(t=d(t,e))&&e.ended)return 0===e.length&&B(this),null;var n=e.needReadable;z("need readable",n),(0===e.length||e.length-t0?S(t,e):null,null===i?(e.needReadable=!0,t=0):e.length-=t,0===e.length&&(e.ended||(e.needReadable=!0),r!==t&&e.ended&&B(this)),null!==i&&this.emit("data",i),i},s.prototype._read=function(t){this.emit("error",new Error("_read() is not implemented"))},s.prototype.pipe=function(t,r){function n(t,e){z("onunpipe"),t===h&&e&&!1===e.hasUnpiped&&(e.hasUnpiped=!0,a())}function i(){z("onend"),t.end()}function a(){z("cleanup"),t.removeListener("close",f),t.removeListener("finish",c),t.removeListener("drain",g),t.removeListener("error",u),t.removeListener("unpipe",n),h.removeListener("end",i),h.removeListener("end",l),h.removeListener("data",s),y=!0,!d.awaitDrain||t._writableState&&!t._writableState.needDrain||g()}function s(e){z("ondata"),v=!1,!1!==t.write(e)||v||((1===d.pipesCount&&d.pipes===t||d.pipesCount>1&&-1!==A(d.pipes,t))&&!y&&(z("false write response, pause",h._readableState.awaitDrain),h._readableState.awaitDrain++,v=!0),h.pause())}function u(e){z("onerror",e),l(),t.removeListener("error",u),0===I(t,"error")&&t.emit("error",e)}function f(){t.removeListener("finish",c),l()}function c(){z("onfinish"),t.removeListener("close",f),l()}function l(){z("unpipe"),h.unpipe(t)}var h=this,d=this._readableState;switch(d.pipesCount){case 0:d.pipes=t;break;case 1:d.pipes=[d.pipes,t];break;default:d.pipes.push(t)}d.pipesCount+=1,z("pipe count=%d opts=%j",d.pipesCount,r);var p=(!r||!1!==r.end)&&t!==e.stdout&&t!==e.stderr,b=p?i:l;d.endEmitted?U.nextTick(b):h.once("end",b),t.on("unpipe",n);var g=w(h);t.on("drain",g);var y=!1,v=!1;return h.on("data",s),o(t,"error",u),t.once("close",f),t.once("finish",c),t.emit("pipe",h),d.flowing||(z("pipe resume"),h.resume()),t},s.prototype.unpipe=function(t){var e=this._readableState,r={hasUnpiped:!1};if(0===e.pipesCount)return this;if(1===e.pipesCount)return t&&t!==e.pipes?this:(t||(t=e.pipes),e.pipes=null,e.pipesCount=0,e.flowing=!1,t&&t.emit("unpipe",this,r),this);if(!t){var n=e.pipes,i=e.pipesCount;e.pipes=null,e.pipesCount=0,e.flowing=!1;for(var o=0;o-1?n:R.nextTick;f.WritableState=u;var A=r(1);A.inherits=r(0);var U={deprecate:r(23)},j=r(20),L=r(13).Buffer,I=window.Uint8Array||function(){},O=r(21);A.inherits(f,j),u.prototype.getBuffer=function(){for(var t=this.bufferedRequest,e=[];t;)e.push(t),t=t.next;return e},function(){try{Object.defineProperty(u.prototype,"buffer",{get:U.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(t){}}();var C;"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(C=Function.prototype[Symbol.hasInstance],Object.defineProperty(f,Symbol.hasInstance,{value:function(t){return!!C.call(this,t)||this===f&&(t&&t._writableState instanceof u)}})):C=function(t){return t instanceof this},f.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},f.prototype.write=function(t,e,r){var n=this._writableState,i=!1,u=!n.objectMode&&a(t);return u&&!L.isBuffer(t)&&(t=o(t)),"function"==typeof e&&(r=e,e=null),u?e="buffer":e||(e=n.defaultEncoding),"function"!=typeof r&&(r=s),n.ended?c(this,r):(u||l(this,n,t,r))&&(n.pendingcb++,i=d(this,n,u,t,e,r)),i},f.prototype.cork=function(){this._writableState.corked++},f.prototype.uncork=function(){var t=this._writableState;t.corked&&(t.corked--,t.writing||t.corked||t.finished||t.bufferProcessing||!t.bufferedRequest||m(this,t))},f.prototype.setDefaultEncoding=function(t){if("string"==typeof t&&(t=t.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((t+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+t);return this._writableState.defaultEncoding=t,this},Object.defineProperty(f.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),f.prototype._write=function(t,e,r){r(new Error("_write() is not implemented"))},f.prototype._writev=null,f.prototype.end=function(t,e,r){var n=this._writableState;"function"==typeof t?(r=t,t=null,e=null):"function"==typeof e&&(r=e,e=null),null!==t&&void 0!==t&&this.write(t,e),n.corked&&(n.corked=1,this.uncork()),n.ending||n.finished||k(this,n,r)},Object.defineProperty(f.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(t){this._writableState&&(this._writableState.destroyed=t)}}),f.prototype.destroy=O.destroy,f.prototype._undestroy=O.undestroy,f.prototype._destroy=function(t,e){this.end(),e(t)}}).call(e,r(3),r(18).setImmediate)},function(t,e,r){function n(t,e){function r(){if(!n){if(i("throwDeprecation"))throw new Error(e);i("traceDeprecation")?console.trace(e):console.warn(e),n=!0}return t.apply(this,arguments)}if(i("noDeprecation"))return t;var n=!1;return r}function i(t){try{if(!window.localStorage)return!1}catch(t){return!1}var e=window.localStorage[t];return null!=e&&"true"===String(e).toLowerCase()}t.exports=n},function(t,e,r){"use strict";function n(t,e){var r=this._transformState;r.transforming=!1;var n=r.writecb;if(!n)return this.emit("error",new Error("write callback called multiple times"));r.writechunk=null,r.writecb=null,null!=e&&this.push(e),n(t);var i=this._readableState;i.reading=!1,(i.needReadable||i.length0?("string"==typeof e||a.objectMode||Object.getPrototypeOf(e)===C.prototype||(e=n(e)),i?a.endEmitted?t.emit("error",new Error("stream.unshift() after end event")):f(t,a,e,!0):a.ended?t.emit("error",new Error("stream.push() after EOF")):(a.reading=!1,a.decoder&&!r?(e=a.decoder.write(e),a.objectMode||0!==e.length?f(t,a,e,!1):y(t,a)):f(t,a,e,!1))):i||(a.reading=!1)}return l(a)}function f(t,e,r,n){e.flowing&&0===e.length&&!e.sync?(t.emit("data",r),t.read(0)):(e.length+=e.objectMode?1:r.length,n?e.buffer.unshift(r):e.buffer.push(r),e.needReadable&&b(t)),y(t,e)}function c(t,e){var r;return i(e)||"string"==typeof e||void 0===e||t.objectMode||(r=new TypeError("Invalid non-string/buffer chunk")),r}function l(t){return!t.ended&&(t.needReadable||t.length=G?t=G:(t--,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,t|=t>>>16,t++),t}function d(t,e){return t<=0||0===e.length&&e.ended?0:e.objectMode?1:t!==t?e.flowing&&e.length?e.buffer.head.data.length:e.length:(t>e.highWaterMark&&(e.highWaterMark=h(t)),t<=e.length?t:e.ended?e.length:(e.needReadable=!0,0))}function p(t,e){if(!e.ended){if(e.decoder){var r=e.decoder.end();r&&r.length&&(e.buffer.push(r),e.length+=e.objectMode?1:r.length)}e.ended=!0,b(t)}}function b(t){var e=t._readableState;e.needReadable=!1,e.emittedReadable||(z("emitReadable",e.flowing),e.emittedReadable=!0,e.sync?U.nextTick(g,t):g(t))}function g(t){z("emit readable"),t.emit("readable"),x(t)}function y(t,e){e.readingMore||(e.readingMore=!0,U.nextTick(v,t,e))}function v(t,e){for(var r=e.length;!e.reading&&!e.flowing&&!e.ended&&e.length=e.length?(r=e.decoder?e.buffer.join(""):1===e.buffer.length?e.buffer.head.data:e.buffer.concat(e.length),e.buffer.clear()):r=k(t,e.buffer,e.decoder),r}function k(t,e,r){var n;return to.length?o.length:t;if(a===o.length?i+=o:i+=o.slice(0,t),0===(t-=a)){a===o.length?(++n,r.next?e.head=r.next:e.head=e.tail=null):(e.head=r,r.data=o.slice(a));break}++n}return e.length-=n,i}function R(t,e){var r=C.allocUnsafe(t),n=e.head,i=1;for(n.data.copy(r),t-=n.data.length;n=n.next;){var o=n.data,a=t>o.length?o.length:t;if(o.copy(r,r.length-t,0,a),0===(t-=a)){a===o.length?(++i,n.next?e.head=n.next:e.head=e.tail=null):(e.head=n,n.data=o.slice(a));break}++i}return e.length-=i,r}function B(t){var e=t._readableState;if(e.length>0)throw new Error('"endReadable()" called on non-empty stream');e.endEmitted||(e.ended=!0,U.nextTick(T,e,t))}function T(t,e){t.endEmitted||0!==t.length||(t.endEmitted=!0,e.readable=!1,e.emit("end"))}function A(t,e){for(var r=0,n=t.length;r=e.highWaterMark||e.ended))return z("read: emitReadable",e.length,e.ended),0===e.length&&e.ended?B(this):b(this),null;if(0===(t=d(t,e))&&e.ended)return 0===e.length&&B(this),null;var n=e.needReadable;z("need readable",n),(0===e.length||e.length-t0?S(t,e):null,null===i?(e.needReadable=!0,t=0):e.length-=t,0===e.length&&(e.ended||(e.needReadable=!0),r!==t&&e.ended&&B(this)),null!==i&&this.emit("data",i),i},s.prototype._read=function(t){this.emit("error",new Error("_read() is not implemented"))},s.prototype.pipe=function(t,r){function n(t,e){z("onunpipe"),t===h&&e&&!1===e.hasUnpiped&&(e.hasUnpiped=!0,a())}function i(){z("onend"),t.end()}function a(){z("cleanup"),t.removeListener("close",f),t.removeListener("finish",c),t.removeListener("drain",g),t.removeListener("error",u),t.removeListener("unpipe",n),h.removeListener("end",i),h.removeListener("end",l),h.removeListener("data",s),y=!0,!d.awaitDrain||t._writableState&&!t._writableState.needDrain||g()}function s(e){z("ondata"),v=!1,!1!==t.write(e)||v||((1===d.pipesCount&&d.pipes===t||d.pipesCount>1&&-1!==A(d.pipes,t))&&!y&&(z("false write response, pause",h._readableState.awaitDrain),h._readableState.awaitDrain++,v=!0),h.pause())}function u(e){z("onerror",e),l(),t.removeListener("error",u),0===I(t,"error")&&t.emit("error",e)}function f(){t.removeListener("finish",c),l()}function c(){z("onfinish"),t.removeListener("close",f),l()}function l(){z("unpipe"),h.unpipe(t)}var h=this,d=this._readableState;switch(d.pipesCount){case 0:d.pipes=t;break;case 1:d.pipes=[d.pipes,t];break;default:d.pipes.push(t)}d.pipesCount+=1,z("pipe count=%d opts=%j",d.pipesCount,r);var p=(!r||!1!==r.end)&&t!==e.stdout&&t!==e.stderr,b=p?i:l;d.endEmitted?U.nextTick(b):h.once("end",b),t.on("unpipe",n);var g=w(h);t.on("drain",g);var y=!1,v=!1;return h.on("data",s),o(t,"error",u),t.once("close",f),t.once("finish",c),t.emit("pipe",h),d.flowing||(z("pipe resume"),h.resume()),t},s.prototype.unpipe=function(t){var e=this._readableState,r={hasUnpiped:!1};if(0===e.pipesCount)return this;if(1===e.pipesCount)return t&&t!==e.pipes?this:(t||(t=e.pipes),e.pipes=null,e.pipesCount=0,e.flowing=!1,t&&t.emit("unpipe",this,r),this);if(!t){var n=e.pipes,i=e.pipesCount;e.pipes=null,e.pipesCount=0,e.flowing=!1;for(var o=0;o-1?n:R.nextTick;f.WritableState=u;var A=r(1);A.inherits=r(0);var U={deprecate:r(23)},j=r(26),L=r(8).Buffer,I=window.Uint8Array||function(){},O=r(27);A.inherits(f,j),u.prototype.getBuffer=function(){for(var t=this.bufferedRequest,e=[];t;)e.push(t),t=t.next;return e},function(){try{Object.defineProperty(u.prototype,"buffer",{get:U.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(t){}}();var C;"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(C=Function.prototype[Symbol.hasInstance],Object.defineProperty(f,Symbol.hasInstance,{value:function(t){return!!C.call(this,t)||this===f&&(t&&t._writableState instanceof u)}})):C=function(t){return t instanceof this},f.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},f.prototype.write=function(t,e,r){var n=this._writableState,i=!1,u=!n.objectMode&&a(t);return u&&!L.isBuffer(t)&&(t=o(t)),"function"==typeof e&&(r=e,e=null),u?e="buffer":e||(e=n.defaultEncoding),"function"!=typeof r&&(r=s),n.ended?c(this,r):(u||l(this,n,t,r))&&(n.pendingcb++,i=d(this,n,u,t,e,r)),i},f.prototype.cork=function(){this._writableState.corked++},f.prototype.uncork=function(){var t=this._writableState;t.corked&&(t.corked--,t.writing||t.corked||t.finished||t.bufferProcessing||!t.bufferedRequest||m(this,t))},f.prototype.setDefaultEncoding=function(t){if("string"==typeof t&&(t=t.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((t+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+t);return this._writableState.defaultEncoding=t,this},Object.defineProperty(f.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),f.prototype._write=function(t,e,r){r(new Error("_write() is not implemented"))},f.prototype._writev=null,f.prototype.end=function(t,e,r){var n=this._writableState;"function"==typeof t?(r=t,t=null,e=null):"function"==typeof e&&(r=e,e=null),null!==t&&void 0!==t&&this.write(t,e),n.corked&&(n.corked=1,this.uncork()),n.ending||n.finished||k(this,n,r)},Object.defineProperty(f.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(t){this._writableState&&(this._writableState.destroyed=t)}}),f.prototype.destroy=O.destroy,f.prototype._undestroy=O.undestroy,f.prototype._destroy=function(t,e){this.end(),e(t)}}).call(e,r(3),r(18).setImmediate)},function(t,e,r){"use strict";function n(t,e){var r=this._transformState;r.transforming=!1;var n=r.writecb;if(!n)return this.emit("error",new Error("write callback called multiple times"));r.writechunk=null,r.writecb=null,null!=e&&this.push(e),n(t);var i=this._readableState;i.reading=!1,(i.needReadable||i.length=0;--n){var i=this.tryEntries[n],o=i.completion;if("root"===i.tryLoc)return e("end");if(i.tryLoc<=this.prev){var a=y.call(i,"catchLoc"),s=y.call(i,"finallyLoc");if(a&&s){if(this.prev=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&y.call(n,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),l(r),M}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var i=n.arg;l(r)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:d(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=b),M}},t}(t.exports);try{regeneratorRuntime=n}catch(t){Function("r","regeneratorRuntime = r")(n)}},function(t,e,r){"use strict";var n=r(34),i=r(60),o=r(61),a=r(62);e.a={lzma:n.a,lzstring:i.a,lzw:o.a,pack:a.a}},function(t,e,r){"use strict";(function(t){var n=r(4),i=r.n(n),o=r(5),a=r.n(o),s=r(9);e.a={pack:!0,encode:!0,compress:function(){function e(t){return r.apply(this,arguments)}var r=a()(i.a.mark(function e(r){var n;return i.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,s.a.lzma();case 2:return n=e.sent,e.abrupt("return",new Promise(function(e,i){return n.compress(r,9,function(r,n){return n?i(n):e(t.from(r))})}));case 4:case"end":return e.stop()}},e)}));return e}(),decompress:function(){function e(t){return r.apply(this,arguments)}var r=a()(i.a.mark(function e(r){var n;return i.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,s.a.lzma();case 2:return n=e.sent,e.abrupt("return",new Promise(function(e,i){return n.decompress(r,function(r,n){return n?i(n):e(t.from(r))})}));case 4:case"end":return e.stop()}},e)}));return e}()}}).call(e,r(2).Buffer)},function(t,e,r){"use strict";function n(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");return"="===t[e-2]?2:"="===t[e-1]?1:0}function i(t){return 3*t.length/4-n(t)}function o(t){var e,r,i,o,a,s=t.length;o=n(t),a=new l(3*s/4-o),r=o>0?s-4:s;var u=0;for(e=0;e>16&255,a[u++]=i>>8&255,a[u++]=255&i;return 2===o?(i=c[t.charCodeAt(e)]<<2|c[t.charCodeAt(e+1)]>>4,a[u++]=255&i):1===o&&(i=c[t.charCodeAt(e)]<<10|c[t.charCodeAt(e+1)]<<4|c[t.charCodeAt(e+2)]>>2,a[u++]=i>>8&255,a[u++]=255&i),a}function a(t){return f[t>>18&63]+f[t>>12&63]+f[t>>6&63]+f[63&t]}function s(t,e,r){for(var n,i=[],o=e;ou?u:a+16383));return 1===n?(e=t[r-1],i+=f[e>>2],i+=f[e<<4&63],i+="=="):2===n&&(e=(t[r-2]<<8)+t[r-1],i+=f[e>>10],i+=f[e>>4&63],i+=f[e<<2&63],i+="="),o.push(i),o.join("")}e.byteLength=i,e.toByteArray=o,e.fromByteArray=u;for(var f=[],c=[],l="undefined"!=typeof Uint8Array?Uint8Array:Array,h="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",d=0,p=h.length;d>1,c=-7,l=r?i-1:0,h=r?-1:1,d=t[e+l];for(l+=h,o=d&(1<<-c)-1,d>>=-c,c+=s;c>0;o=256*o+t[e+l],l+=h,c-=8);for(a=o&(1<<-c)-1,o>>=-c,c+=n;c>0;a=256*a+t[e+l],l+=h,c-=8);if(0===o)o=1-f;else{if(o===u)return a?NaN:1/0*(d?-1:1);a+=Math.pow(2,n),o-=f}return(d?-1:1)*a*Math.pow(2,o-n)},e.write=function(t,e,r,n,i,o){var a,s,u,f=8*o-i-1,c=(1<>1,h=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,d=n?0:o-1,p=n?1:-1,b=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(s=isNaN(e)?1:0,a=c):(a=Math.floor(Math.log(e)/Math.LN2),e*(u=Math.pow(2,-a))<1&&(a--,u*=2),e+=a+l>=1?h/u:h*Math.pow(2,1-l),e*u>=2&&(a++,u/=2),a+l>=c?(s=0,a=c):a+l>=1?(s=(e*u-1)*Math.pow(2,i),a+=l):(s=e*Math.pow(2,l-1)*Math.pow(2,i),a=0));i>=8;t[r+d]=255&s,d+=p,s/=256,i-=8);for(a=a<0;t[r+d]=255&a,d+=p,a/=256,f-=8);t[r+d-p]|=128*b}},function(t,e,r){"use strict";function n(t){function e(t,e){return o(t,"must have an encode function"),o(e,"must have an encode function"),c.push({check:t,encode:e}),this}function r(t,e){return o(t>=0,"must have a non-negative type"),o(e,"must have a decode function"),l.push({type:t,decode:e}),this}function n(t,e,r,n){function s(t){return t instanceof e}function u(e){var n=a(),o=i.allocUnsafe(1);return o.writeInt8(t,0),n.append(o),n.append(r(e)),n}return o(e,"must have a constructor"),o(r,"must have an encode function"),o(t>=0,"must have a non-negative type"),o(n,"must have a decode function"),this.registerEncoder(s,u),this.registerDecoder(t,n),this}var c=[],l=[];return t=t||{forceFloat64:!1,compatibilityMode:!1,disableTimestampEncoding:!1},{encode:f(c,t.forceFloat64,t.compatibilityMode,t.disableTimestampEncoding),decode:u(l),register:n,registerEncoder:e,registerDecoder:r,encoder:s.encoder,decoder:s.decoder,buffer:!0,type:"msgpack5",IncompleteBufferError:u.IncompleteBufferError}}var i=r(8).Buffer,o=r(38),a=r(10),s=r(47),u=r(53),f=r(54);t.exports=n},function(t,e,r){"use strict";function n(t,e){if(t===e)return 0;for(var r=t.length,n=e.length,i=0,o=Math.min(r,n);i=0;s--)if(u[s]!==f[s])return!1;for(s=u.length-1;s>=0;s--)if(a=u[s],!d(t[a],e[a],r,n))return!1;return!0}function g(t,e,r){d(t,e,!0)&&l(t,e,r,"notDeepStrictEqual",g)}function y(t,e){if(!t||!e)return!1;if("[object RegExp]"==Object.prototype.toString.call(e))return e.test(t);try{if(t instanceof e)return!0}catch(t){}return!Error.isPrototypeOf(e)&&!0===e.call({},t)}function v(t){var e;try{t()}catch(t){e=t}return e}function w(t,e,r,n){var i;if("function"!=typeof e)throw new TypeError('"block" argument must be a function');"string"==typeof r&&(n=r,r=null),i=v(e),n=(r&&r.name?" ("+r.name+").":".")+(n?" "+n:"."),t&&!i&&l(i,r,"Missing expected exception"+n);var o="string"==typeof n,a=!t&&m.isError(i),s=!t&&i&&!r;if((a&&o&&y(i,r)||s)&&l(i,r,"Got unwanted exception"+n),t&&i&&r&&!y(i,r)||!t&&i)throw i}var m=r(17),_=Object.prototype.hasOwnProperty,E=Array.prototype.slice,x=function(){return"foo"===function(){}.name}(),S=t.exports=h,k=/\s*function\s+([^\(\s]*)\s*/;S.AssertionError=function(t){this.name="AssertionError",this.actual=t.actual,this.expected=t.expected,this.operator=t.operator,t.message?(this.message=t.message,this.generatedMessage=!1):(this.message=c(this),this.generatedMessage=!0);var e=t.stackStartFunction||l;if(Error.captureStackTrace)Error.captureStackTrace(this,e);else{var r=new Error;if(r.stack){var n=r.stack,i=s(e),o=n.indexOf("\n"+i);if(o>=0){var a=n.indexOf("\n",o+1);n=n.substring(a+1)}this.stack=n}}},m.inherits(S.AssertionError,Error),S.fail=l,S.ok=h,S.equal=function(t,e,r){t!=e&&l(t,e,r,"==",S.equal)},S.notEqual=function(t,e,r){t==e&&l(t,e,r,"!=",S.notEqual)},S.deepEqual=function(t,e,r){d(t,e,!1)||l(t,e,r,"deepEqual",S.deepEqual)},S.deepStrictEqual=function(t,e,r){d(t,e,!0)||l(t,e,r,"deepStrictEqual",S.deepStrictEqual)},S.notDeepEqual=function(t,e,r){d(t,e,!1)&&l(t,e,r,"notDeepEqual",S.notDeepEqual)},S.notDeepStrictEqual=g,S.strictEqual=function(t,e,r){t!==e&&l(t,e,r,"===",S.strictEqual)},S.notStrictEqual=function(t,e,r){t===e&&l(t,e,r,"!==",S.notStrictEqual)},S.throws=function(t,e,r){w(!0,t,e,r)},S.doesNotThrow=function(t,e,r){w(!1,t,e,r)},S.ifError=function(t){if(t)throw t};var M=Object.keys||function(t){var e=[];for(var r in t)_.call(t,r)&&e.push(r);return e}},function(t,e){t.exports=function(t){return t&&"object"==typeof t&&"function"==typeof t.copy&&"function"==typeof t.fill&&"function"==typeof t.readUInt8}},function(t,e){"function"==typeof Object.create?t.exports=function(t,e){t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}})}:t.exports=function(t,e){t.super_=e;var r=function(){};r.prototype=e.prototype,t.prototype=new r,t.prototype.constructor=t}},function(t,e,r){e=t.exports=r(19),e.Stream=e,e.Readable=e,e.Writable=r(22),e.Duplex=r(6),e.Transform=r(24),e.PassThrough=r(46)},function(t,e){},function(t,e,r){"use strict";function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e,r){t.copy(e,r)}var o=r(13).Buffer,a=r(44);t.exports=function(){function t(){n(this,t),this.head=null,this.tail=null,this.length=0}return t.prototype.push=function(t){var e={data:t,next:null};this.length>0?this.tail.next=e:this.head=e,this.tail=e,++this.length},t.prototype.unshift=function(t){var e={data:t,next:this.head};0===this.length&&(this.tail=e),this.head=e,++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 e=this.head,r=""+e.data;e=e.next;)r+=t+e.data;return r},t.prototype.concat=function(t){if(0===this.length)return o.alloc(0);if(1===this.length)return this.head.data;for(var e=o.allocUnsafe(t>>>0),r=this.head,n=0;r;)i(r.data,e,n),n+=r.data.length,r=r.next;return e},t}(),a&&a.inspect&&a.inspect.custom&&(t.exports.prototype[a.inspect.custom]=function(){var t=a.inspect({length:this.length});return this.constructor.name+" "+t})},function(t,e){},function(t,e,r){(function(t){!function(e,r){"use strict";function n(t){"function"!=typeof t&&(t=new Function(""+t));for(var e=new Array(arguments.length-1),r=0;r0?this._transform(null,e,r):r()},t.exports.decoder=o,t.exports.encoder=i},function(t,e,r){e=t.exports=r(25),e.Stream=e,e.Readable=e,e.Writable=r(28),e.Duplex=r(7),e.Transform=r(29),e.PassThrough=r(52)},function(t,e){},function(t,e,r){"use strict";function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e,r){t.copy(e,r)}var o=r(8).Buffer,a=r(51);t.exports=function(){function t(){n(this,t),this.head=null,this.tail=null,this.length=0}return t.prototype.push=function(t){var e={data:t,next:null};this.length>0?this.tail.next=e:this.head=e,this.tail=e,++this.length},t.prototype.unshift=function(t){var e={data:t,next:this.head};0===this.length&&(this.tail=e),this.head=e,++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 e=this.head,r=""+e.data;e=e.next;)r+=t+e.data;return r},t.prototype.concat=function(t){if(0===this.length)return o.alloc(0);if(1===this.length)return this.head.data;for(var e=o.allocUnsafe(t>>>0),r=this.head,n=0;r;)i(r.data,e,n),n+=r.data.length,r=r.next;return e},t}(),a&&a.inspect&&a.inspect.custom&&(t.exports.prototype[a.inspect.custom]=function(){var t=a.inspect({length:this.length});return this.constructor.name+" "+t})},function(t,e){},function(t,e,r){"use strict";function n(t){if(!(this instanceof n))return new n(t);i.call(this,t)}t.exports=n;var i=r(29),o=r(1);o.inherits=r(0),o.inherits(n,i),n.prototype._transform=function(t,e,r){r(null,t)}},function(t,e,r){"use strict";function n(t){Error.call(this),Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor),this.name=this.constructor.name,this.message=t||"unable to decode"}var i=r(10);r(17).inherits(n,Error),t.exports=function(t){function e(t){switch(t){case 196:return 2;case 197:return 3;case 198:return 5;case 199:return 3;case 200:return 4;case 201:return 6;case 202:return 5;case 203:return 9;case 204:return 2;case 205:return 3;case 206:return 5;case 207:return 9;case 208:return 2;case 209:return 3;case 210:return 5;case 211:return 9;case 212:return 3;case 213:return 4;case 214:return 6;case 215:return 10;case 216:return 18;case 217:return 2;case 218:return 3;case 219:return 5;case 222:return 3;default:return-1}}function r(t,r){var n=e(t);return!(-1!==n&&r=r+t}function a(t,e){return{value:t,bytesConsumed:e}}function s(t){t instanceof i||(t=i().append(t));var e=u(t);if(e)return t.consume(e.bytesConsumed),e.value;throw new n}function u(t,e){e=void 0===e?0:e;var n=t.length-e;if(n<=0)return null;var i,s,u,d=t.readUInt8(e),b=0;if(!r(d,n))return null;switch(d){case 192:return a(null,1);case 194:return a(!1,1);case 195:return a(!0,1);case 204:return b=t.readUInt8(e+1),a(b,2);case 205:return b=t.readUInt16BE(e+1),a(b,3);case 206:return b=t.readUInt32BE(e+1),a(b,5);case 207:for(u=7;u>=0;u--)b+=t.readUInt8(e+u+1)*Math.pow(2,8*(7-u));return a(b,9);case 208:return b=t.readInt8(e+1),a(b,2);case 209:return b=t.readInt16BE(e+1),a(b,3);case 210:return b=t.readInt32BE(e+1),a(b,5);case 211:return b=f(t.slice(e+1,e+9),0),a(b,9);case 202:return b=t.readFloatBE(e+1),a(b,5);case 203:return b=t.readDoubleBE(e+1),a(b,9);case 217:return i=t.readUInt8(e+1),o(i,n,2)?(b=t.toString("utf8",e+2,e+2+i),a(b,2+i)):null;case 218:return i=t.readUInt16BE(e+1),o(i,n,3)?(b=t.toString("utf8",e+3,e+3+i),a(b,3+i)):null;case 219:return i=t.readUInt32BE(e+1),o(i,n,5)?(b=t.toString("utf8",e+5,e+5+i),a(b,5+i)):null;case 196:return i=t.readUInt8(e+1),o(i,n,2)?(b=t.slice(e+2,e+2+i),a(b,2+i)):null;case 197:return i=t.readUInt16BE(e+1),o(i,n,3)?(b=t.slice(e+3,e+3+i),a(b,3+i)):null;case 198:return i=t.readUInt32BE(e+1),o(i,n,5)?(b=t.slice(e+5,e+5+i),a(b,5+i)):null;case 220:return n<3?null:(i=t.readUInt16BE(e+1),c(t,e,i,3));case 221:return n<5?null:(i=t.readUInt32BE(e+1),c(t,e,i,5));case 222:return i=t.readUInt16BE(e+1),l(t,e,i,3);case 223:return i=t.readUInt32BE(e+1),l(t,e,i,5);case 212:return h(t,e,1);case 213:return h(t,e,2);case 214:return h(t,e,4);case 215:return h(t,e,8);case 216:return h(t,e,16);case 199:return i=t.readUInt8(e+1),s=t.readUInt8(e+2),o(i,n,3)?p(t,e,s,i,3):null;case 200:return i=t.readUInt16BE(e+1),s=t.readUInt8(e+3),o(i,n,4)?p(t,e,s,i,4):null;case 201:return i=t.readUInt32BE(e+1),s=t.readUInt8(e+5),o(i,n,6)?p(t,e,s,i,6):null}if(144==(240&d))return i=15&d,c(t,e,i,1);if(128==(240&d))return i=15&d,l(t,e,i,1);if(160==(224&d))return i=31&d,o(i,n,1)?(b=t.toString("utf8",e+1,e+i+1),a(b,i+1)):null;if(d>=224)return b=d-256,a(b,1);if(d<128)return a(d,1);throw new Error("not implemented yet")}function f(t,e){var r=128==(128&t[e]);if(r)for(var n=1,i=e+7;i>=e;i--){var o=(255^t[i])+n;t[i]=255&o,n=o>>8}return(4294967296*t.readUInt32BE(e+0)+t.readUInt32BE(e+4))*(r?-1:1)}function c(t,e,r,n){var i,o=[],s=0;for(e+=n,i=0;i=0;r--)t[r+1]=255&e,e/=256}function i(t,e,r){var n=r<0;n&&(r=Math.abs(r));var i=r%4294967296,o=r/4294967296;if(t.writeUInt32BE(Math.floor(o),e+0),t.writeUInt32BE(i,e+4),n)for(var a=1,s=e+7;s>=e;s--){var u=(255^t[s])+a;t[s]=255&u,a=u>>8}}function o(t){return t%1!=0}function a(t){return t!==t&&"number"==typeof t}function s(t,e){var r=!0;Math.fround&&(r=Math.fround(t)!==t),e&&(r=!0);var n;return r?(n=u.allocUnsafe(9),n[0]=203,n.writeDoubleBE(t,1)):(n=u.allocUnsafe(5),n[0]=202,n.writeFloatBE(t,1)),n}var u=r(8).Buffer,f=r(10);t.exports=function(t,e,r,c){function l(t,b){var g,y;if(void 0===t)throw new Error("undefined is not encodable in msgpack!");if(a(t))throw new Error("NaN is not encodable in msgpack!");if(null===t)g=u.allocUnsafe(1),g[0]=192;else if(!0===t)g=u.allocUnsafe(1),g[0]=195;else if(!1===t)g=u.allocUnsafe(1),g[0]=194;else if("string"==typeof t)y=u.byteLength(t),y<32?(g=u.allocUnsafe(1+y),g[0]=160|y,y>0&&g.write(t,1)):y<=255&&!r?(g=u.allocUnsafe(2+y),g[0]=217,g[1]=y,g.write(t,2)):y<=65535?(g=u.allocUnsafe(3+y),g[0]=218,g.writeUInt16BE(y,1),g.write(t,3)):(g=u.allocUnsafe(5+y),g[0]=219,g.writeUInt32BE(y,1),g.write(t,5));else if(t&&(t.readUInt32LE||t instanceof Uint8Array))t instanceof Uint8Array&&(t=u.from(t)),t.length<=255?(g=u.allocUnsafe(2),g[0]=196,g[1]=t.length):t.length<=65535?(g=u.allocUnsafe(3),g[0]=197,g.writeUInt16BE(t.length,1)):(g=u.allocUnsafe(5),g[0]=198,g.writeUInt32BE(t.length,1)),g=f([g,t]);else if(Array.isArray(t))t.length<16?(g=u.allocUnsafe(1),g[0]=144|t.length):t.length<65536?(g=u.allocUnsafe(3),g[0]=220,g.writeUInt16BE(t.length,1)):(g=u.allocUnsafe(5),g[0]=221,g.writeUInt32BE(t.length,1)),g=t.reduce(function(t,e){return t.append(l(e,!0)),t},f().append(g));else{if(!c&&"function"==typeof t.getDate)return h(t);if("object"==typeof t)g=d(t)||p(t);else if("number"==typeof t){if(o(t))return s(t,e);if(t>=0)if(t<128)g=u.allocUnsafe(1),g[0]=t;else if(t<256)g=u.allocUnsafe(2),g[0]=204,g[1]=t;else if(t<65536)g=u.allocUnsafe(3),g[0]=205,g.writeUInt16BE(t,1);else if(t<=4294967295)g=u.allocUnsafe(5),g[0]=206,g.writeUInt32BE(t,1);else{if(!(t<=9007199254740991))return s(t,!0);g=u.allocUnsafe(9),g[0]=207,n(g,t)}else if(t>=-32)g=u.allocUnsafe(1),g[0]=256+t;else if(t>=-128)g=u.allocUnsafe(2),g[0]=208,g.writeInt8(t,1);else if(t>=-32768)g=u.allocUnsafe(3),g[0]=209,g.writeInt16BE(t,1);else if(t>-214748365)g=u.allocUnsafe(5),g[0]=210,g.writeInt32BE(t,1);else{if(!(t>=-9007199254740991))return s(t,!0);g=u.allocUnsafe(9),g[0]=211,i(g,1,t)}}}if(!g)throw new Error("not implemented yet");return b?g:g.slice()}function h(t){var e,r=1*t,n=Math.floor(r/1e3),i=1e6*(r-1e3*n);if(i||n>4294967295){e=u.allocUnsafe(10),e[0]=215,e[1]=-1;var o=4*i,a=n/Math.pow(2,32),s=o+a&4294967295,c=4294967295&n;e.writeInt32BE(s,2),e.writeInt32BE(c,6)}else e=u.allocUnsafe(6),e[0]=214,e[1]=-1,e.writeUInt32BE(Math.floor(r/1e3),2);return f().append(e)}function d(e){var r,n,i=-1,o=[];for(r=0;r>8),o.push(255&i)):(o.push(201),o.push(i>>24),o.push(i>>16&255),o.push(i>>8&255),o.push(255&i)),f().append(u.from(o)).append(n)):null}function p(t){var e,r,n=[],i=0;for(e in t)t.hasOwnProperty(e)&&void 0!==t[e]&&"function"!=typeof t[e]&&(++i,n.push(l(e,!0)),n.push(l(t[e],!0)));return i<16?(r=u.allocUnsafe(1),r[0]=128|i):i<65535?(r=u.allocUnsafe(3),r[0]=222,r.writeUInt16BE(i,1)):(r=u.allocUnsafe(5),r[0]=223,r.writeUInt32BE(i,1)),n.unshift(r),n.reduce(function(t,e){return t.append(e)},f())}return l}},function(t,e,r){t.exports=r(56)},function(t,e,r){(function(t){e.version="1.0.0",e.encode=function(t){return t.toString("base64").replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")},e.decode=function(e){return e+=Array(5-e.length%4).join("="),e=e.replace(/\-/g,"+").replace(/\_/g,"/"),new t(e,"base64")},e.validate=function(t){return/^[A-Za-z0-9\-_]+$/.test(t)}}).call(e,r(2).Buffer)},function(t,e,r){(function(t){var e=function(){"use strict";function r(t,e){postMessage({action:Ce,cbn:e,result:t})}function n(t){var e=[];return e[t-1]=void 0,e}function i(t,e){return s(t[0]+e[0],t[1]+e[1])}function o(t,e){return l(~~Math.max(Math.min(t[1]/De,2147483647),-2147483648)&~~Math.max(Math.min(e[1]/De,2147483647),-2147483648),c(t)&c(e))}function a(t,e){var r,n;return t[0]==e[0]&&t[1]==e[1]?0:(r=0>t[1],n=0>e[1],r&&!n?-1:!r&&n?1:g(t,e)[1]<0?-1:1)}function s(t,e){var r,n;for(e%=0x10000000000000000,t%=0x10000000000000000,r=e%De,n=Math.floor(t/De)*De,e=e-r+n,t=t-n+r;0>t;)t+=De,e-=De;for(;t>4294967295;)t-=De,e+=De;for(e%=0x10000000000000000;e>0x7fffffff00000000;)e-=0x10000000000000000;for(;-0x8000000000000000>e;)e+=0x10000000000000000;return[t,e]}function u(t,e){return t[0]==e[0]&&t[1]==e[1]}function f(t){return t>=0?[t,0]:[t+De,-De]}function c(t){return t[0]>=2147483648?~~Math.max(Math.min(t[0]-De,2147483647),-2147483648):~~Math.max(Math.min(t[0],2147483647),-2147483648)}function l(t,e){var r,n;return r=t*De,n=e,0>e&&(n+=De),[n,r]}function h(t){return 30>=t?1<t[1])throw Error("Neg");return o=h(e),n=t[1]*o%0x10000000000000000,i=t[0]*o,r=i-i%De,n+=r,i-=r,n>=0x8000000000000000&&(n-=0x10000000000000000),[i,n]}function p(t,e){var r;return e&=63,r=h(e),s(Math.floor(t[0]/r),t[1]/r)}function b(t,e){var r;return e&=63,r=p(t,e),0>t[1]&&(r=i(r,d([2,0],63-e))),r}function g(t,e){return s(t[0]-e[0],t[1]-e[1])}function y(t,e){return t.Mc=e,t.Lc=0,t.Yb=e.length,t}function v(t){return t.Lc>=t.Yb?-1:255&t.Mc[t.Lc++]}function w(t,e,r,n){return t.Lc>=t.Yb?-1:(n=Math.min(n,t.Yb-t.Lc),k(t.Mc,t.Lc,e,r,n),t.Lc+=n,n)}function m(t){return t.Mc=n(32),t.Yb=0,t}function _(t){var e=t.Mc;return e.length=t.Yb,e}function E(t,e){t.Mc[t.Yb++]=e<<24>>24}function x(t,e,r,n){k(e,r,t.Mc,t.Yb,n),t.Yb+=n}function S(t,e,r,n,i){var o;for(o=e;r>o;++o)n[i++]=t.charCodeAt(o)}function k(t,e,r,n,i){for(var o=0;i>o;++o)r[n+o]=t[e+o]}function M(t,e){qt(e,1<u;u+=8)E(n,255&c(p(i,u)));t.yb=(s.W=0,s.oc=r,s.pc=0,kt(s),s.d.Ab=n,It(s),Bt(s),Rt(s),s.$.rb=s.n+1-2,Kt(s.$,1<i;++i){if(-1==(o=v(e)))throw Error("truncated input");u[i]=o<<24>>24}if(n=st({}),!ft(n,u))throw Error("corrupted input");for(i=0;64>i;i+=8){if(-1==(o=v(e)))throw Error("truncated input");o=o.toString(16),1==o.length&&(o="0"+o),s=o+""+s}/^0+$|^f+$/i.test(s)?t.Tb=qe:(a=parseInt(s,16),t.Tb=a>4294967295?qe:f(a)),t.yb=ot(n,e,r,t.Tb)}function A(t,e){return t.Nb=m({}),T(t,y({},e),t.Nb),t}function U(t,e,r,i){var o;t.Bc=e,t._b=r,o=e+r+i,(null==t.c||t.Kb!=o)&&(t.c=null,t.Kb=o,t.c=n(t.Kb)),t.H=t.Kb-r}function j(t,e){return t.c[t.f+t.o+e]}function L(t,e,r,n){var i,o;for(t.T&&t.o+e+n>t.h&&(n=t.h-(t.o+e)),++r,o=t.f+t.o+e,i=0;n>i&&t.c[o+i]==t.c[o+i-r];++i);return i}function I(t){return t.h-t.o}function O(t){var e,r,n;for(n=t.f+t.o-t.Bc,n>0&&--n,r=t.f+t.h-n,e=0;r>e;++e)t.c[e]=t.c[n+e];t.f-=n}function C(t){var e;++t.o>t.zb&&(e=t.f+t.o,e>t.H&&O(t),P(t))}function P(t){var e,r,n;if(!t.T)for(;;){if(!(n=-t.f+t.Kb-t.h))return;if(-1==(e=w(t.cc,t.c,t.f+t.h,n)))return t.zb=t.h,r=t.f+t.zb,r>t.H&&(t.zb=t.H-t.f),void(t.T=1);t.h+=e,t.h>=t.o+t._b&&(t.zb=t.h-t._b)}}function D(t,e){t.f+=e,t.zb-=e,t.o-=e,t.h-=e}function q(t,e,r,i,o){var a,s,u;1073741567>e&&(t.Fc=16+(i>>1),u=256+~~((e+r+i+o)/2),U(t,e+r,i+o,u),t.ob=i,a=e+1,t.p!=a&&(t.L=n(2*(t.p=a))),s=65536,t.qb&&(s=e-1,s|=s>>1,s|=s>>2,s|=s>>4,s|=s>>8,s>>=1,s|=65535,s>16777216&&(s>>=1),t.Ec=s,++s,s+=t.R),s!=t.rc&&(t.ub=n(t.rc=s)))}function z(t,e){var r,n,i,o,a,s,u,f,c,l,h,d,p,b,g,y,v,w,m,_,E;if(t.h>=t.o+t.ob)b=t.ob;else if(b=t.h-t.o,t.xb>b)return W(t),0;for(v=0,g=t.o>t.p?t.o-t.p:0,n=t.f+t.o,y=1,f=0,c=0,t.qb?(E=Ne[255&t.c[n]]^255&t.c[n+1],f=1023&E,E^=(255&t.c[n+2])<<8,c=65535&E,l=(E^Ne[255&t.c[n+3]]<<5)&t.Ec):l=255&t.c[n]^(255&t.c[n+1])<<8,i=t.ub[t.R+l]||0,t.qb&&(o=t.ub[f]||0,a=t.ub[1024+c]||0,t.ub[f]=t.o,t.ub[1024+c]=t.o,o>g&&t.c[t.f+o]==t.c[n]&&(e[v++]=y=2,e[v++]=t.o-o-1),a>g&&t.c[t.f+a]==t.c[n]&&(a==o&&(v-=2),e[v++]=y=3,e[v++]=t.o-a-1,o=a),0!=v&&o==i&&(v-=2,y=1)),t.ub[t.R+l]=t.o,m=1+(t.k<<1),_=t.k<<1,d=p=t.w,0!=t.w&&i>g&&t.c[t.f+i+t.w]!=t.c[n+t.w]&&(e[v++]=y=t.w,e[v++]=t.o-i-1),r=t.Fc;;){if(g>=i||0==r--){t.L[m]=t.L[_]=0;break}if(u=t.o-i,s=(t.k>=u?t.k-u:t.k-u+t.p)<<1,w=t.f+i,h=p>d?d:p,t.c[w+h]==t.c[n+h]){for(;++h!=b&&t.c[w+h]==t.c[n+h];);if(h>y&&(e[v++]=y=h,e[v++]=u-1,h==b)){t.L[_]=t.L[s],t.L[m]=t.L[s+1];break}}(255&t.c[n+h])>(255&t.c[w+h])?(t.L[_]=i,_=s+1,i=t.L[_],p=h):(t.L[m]=i,m=s,i=t.L[m],d=h)}return W(t),v}function F(t){t.f=0,t.o=0,t.h=0,t.T=0,P(t),t.k=0,D(t,-1)}function W(t){var e;++t.k>=t.p&&(t.k=0),C(t),1073741823==t.o&&(e=t.o-t.p,N(t.L,2*t.p,e),N(t.ub,t.rc,e),D(t,e))}function N(t,e,r){var n,i;for(n=0;e>n;++n)i=t[n]||0,r>=i?i=0:i-=r,t[n]=i}function Y(t,e){t.qb=e>2,t.qb?(t.w=0,t.xb=4,t.R=66560):(t.w=2,t.xb=3,t.R=0)}function G(t,e){var r,n,i,o,a,s,u,f,c,l,h,d,p,b,g,y,v;do{if(t.h>=t.o+t.ob)d=t.ob;else if(d=t.h-t.o,t.xb>d){W(t);continue}for(p=t.o>t.p?t.o-t.p:0,n=t.f+t.o,t.qb?(v=Ne[255&t.c[n]]^255&t.c[n+1],s=1023&v,t.ub[s]=t.o,v^=(255&t.c[n+2])<<8,u=65535&v,t.ub[1024+u]=t.o,f=(v^Ne[255&t.c[n+3]]<<5)&t.Ec):f=255&t.c[n]^(255&t.c[n+1])<<8,i=t.ub[t.R+f],t.ub[t.R+f]=t.o,g=1+(t.k<<1),y=t.k<<1,l=h=t.w,r=t.Fc;;){if(p>=i||0==r--){t.L[g]=t.L[y]=0;break}if(a=t.o-i,o=(t.k>=a?t.k-a:t.k-a+t.p)<<1,b=t.f+i,c=h>l?l:h,t.c[b+c]==t.c[n+c]){for(;++c!=d&&t.c[b+c]==t.c[n+c];);if(c==d){t.L[y]=t.L[o],t.L[g]=t.L[o+1];break}}(255&t.c[n+c])>(255&t.c[b+c])?(t.L[y]=i,y=o+1,i=t.L[y],h=c):(t.L[g]=i,g=o,i=t.L[g],l=c)}W(t)}while(0!=--e)}function H(t,e,r){var n=t.o-e-1;for(0>n&&(n+=t.M);0!=r;--r)n>=t.M&&(n=0),t.Lb[t.o++]=t.Lb[n++],t.o>=t.M&&Z(t)}function J(t,e){(null==t.Lb||t.M!=e)&&(t.Lb=n(e)),t.M=e,t.o=0,t.h=0}function Z(t){var e=t.o-t.h;e&&(x(t.cc,t.Lb,t.h,e),t.o>=t.M&&(t.o=0),t.h=t.o)}function V(t,e){var r=t.o-e-1;return 0>r&&(r+=t.M),t.Lb[r]}function $(t,e){t.Lb[t.o++]=e,t.o>=t.M&&Z(t)}function Q(t){Z(t),t.cc=null}function K(t){return t-=2,4>t?t:3}function X(t){return 4>t?0:10>t?t-3:t-6}function tt(t,e){return t.cb=e,t.Z=null,t.zc=1,t}function et(t,e){return t.Z=e,t.cb=null,t.zc=1,t}function rt(t){if(!t.zc)throw Error("bad state");return t.cb?it(t):nt(t),t.zc}function nt(t){var e=at(t.Z);if(-1==e)throw Error("corrupted input");t.Pb=qe,t.Pc=t.Z.g,(e||a(t.Z.Nc,Fe)>=0&&a(t.Z.g,t.Z.Nc)>=0)&&(Z(t.Z.B),Q(t.Z.B),t.Z.e.Ab=null,t.zc=0)}function it(t){St(t.cb,t.cb.Xb,t.cb.uc,t.cb.Kc),t.Pb=t.cb.Xb[0],t.cb.Kc[0]&&(Dt(t.cb),t.zc=0)}function ot(t,e,r,n){return t.e.Ab=e,Q(t.B),t.B.cc=r,ut(t),t.U=0,t.ib=0,t.Jc=0,t.Ic=0,t.Qc=0,t.Nc=n,t.g=Fe,t.jc=0,et({},t)}function at(t){var e,r,n,o,s,u;if(u=c(t.g)&t.Dc,we(t.e,t.Gb,(t.U<<4)+u)){if(we(t.e,t.Zb,t.U))n=0,we(t.e,t.Cb,t.U)?(we(t.e,t.Db,t.U)?(we(t.e,t.Eb,t.U)?(r=t.Qc,t.Qc=t.Ic):r=t.Ic,t.Ic=t.Jc):r=t.Jc,t.Jc=t.ib,t.ib=r):we(t.e,t.pb,(t.U<<4)+u)||(t.U=7>t.U?9:11,n=1),n||(n=dt(t.sb,t.e,u)+2,t.U=7>t.U?8:11);else if(t.Qc=t.Ic,t.Ic=t.Jc,t.Jc=t.ib,n=2+dt(t.Rb,t.e,u),t.U=7>t.U?7:10,(s=fe(t.kb[K(n)],t.e))>=4){if(o=(s>>1)-1,t.ib=(2|1&s)<s)t.ib+=le(t.kc,t.ib-s-1,t.e,o);else if(t.ib+=me(t.e,o-4)<<4,t.ib+=ce(t.Fb,t.e),0>t.ib)return-1==t.ib?1:-1}else t.ib=s;if(a(f(t.ib),t.g)>=0||t.ib>=t.nb)return-1;H(t.B,t.ib,n),t.g=i(t.g,f(n)),t.jc=V(t.B,0)}else e=yt(t.gb,c(t.g),t.jc),t.jc=7>t.U?wt(e,t.e):mt(e,t.e,V(t.B,t.ib)),$(t.B,t.jc),t.U=X(t.U),t.g=i(t.g,We);return 0}function st(t){t.B={},t.e={},t.Gb=n(192),t.Zb=n(12),t.Cb=n(12),t.Db=n(12),t.Eb=n(12),t.pb=n(192),t.kb=n(4),t.kc=n(114),t.Fb=ue({},4),t.Rb=pt({}),t.sb=pt({}),t.gb={};for(var e=0;4>e;++e)t.kb[e]=ue({},6);return t}function ut(t){t.B.h=0,t.B.o=0,Ee(t.Gb),Ee(t.pb),Ee(t.Zb),Ee(t.Cb),Ee(t.Db),Ee(t.Eb),Ee(t.kc),vt(t.gb);for(var e=0;4>e;++e)Ee(t.kb[e].G);bt(t.Rb),bt(t.sb),Ee(t.Fb.G),_e(t.e)}function ft(t,e){var r,n,i,o,a,s,u;if(5>e.length)return 0;for(u=255&e[0],i=u%9,s=~~(u/9),o=s%5,a=~~(s/5),r=0,n=0;4>n;++n)r+=(255&e[1+n])<<8*n;return r>99999999||!lt(t,i,o,a)?0:ct(t,r)}function ct(t,e){return 0>e?0:(t.Ob!=e&&(t.Ob=e,t.nb=Math.max(t.Ob,1),J(t.B,Math.max(t.nb,4096))),1)}function lt(t,e,r,n){if(e>8||r>4||n>4)return 0;gt(t.gb,r,e);var i=1<t.O;++t.O)t.ec[t.O]=ue({},3),t.hc[t.O]=ue({},3)}function dt(t,e,r){if(!we(e,t.wc,0))return fe(t.ec[r],e);var n=8;return n+=we(e,t.wc,1)?8+fe(t.tc,e):fe(t.hc[r],e)}function pt(t){return t.wc=n(2),t.ec=n(16),t.hc=n(16),t.tc=ue({},8),t.O=0,t}function bt(t){Ee(t.wc);for(var e=0;t.O>e;++e)Ee(t.ec[e].G),Ee(t.hc[e].G);Ee(t.tc.G)}function gt(t,e,r){var i,o;if(null==t.V||t.u!=r||t.I!=e)for(t.I=e,t.qc=(1<i;++i)t.V[i]=_t({})}function yt(t,e,r){return t.V[((e&t.qc)<>>8-t.u)]}function vt(t){var e,r;for(r=1<e;++e)Ee(t.V[e].Ib)}function wt(t,e){var r=1;do{r=r<<1|we(e,t.Ib,r)}while(256>r);return r<<24>>24}function mt(t,e,r){var n,i,o=1;do{if(i=r>>7&1,r<<=1,n=we(e,t.Ib,(1+i<<8)+o),o=o<<1|n,i!=n){for(;256>o;)o=o<<1|we(e,t.Ib,o);break}}while(256>o);return o<<24>>24}function _t(t){return t.Ib=n(768),t}function Et(t,e){var r,n,i,o;t.jb=e,i=t.a[e].r,n=t.a[e].j;do{t.a[e].t&&(ae(t.a[i]),t.a[i].r=i-1,t.a[e].Ac&&(t.a[i-1].t=0,t.a[i-1].r=t.a[e].r2,t.a[i-1].j=t.a[e].j2)),o=i,r=n,n=t.a[o].j,i=t.a[o].r,t.a[o].j=r,t.a[o].r=e,e=o}while(e>0);return t.mb=t.a[0].j,t.q=t.a[0].r}function xt(t){t.l=0,t.J=0;for(var e=0;4>e;++e)t.v[e]=0}function St(t,e,r,n){var o,s,l,h,d,p,b,y,v,w,m,_,E,x,S;if(e[0]=Fe,r[0]=Fe,n[0]=1,t.oc&&(t.b.cc=t.oc,F(t.b),t.W=1,t.oc=null),!t.pc){if(t.pc=1,x=t.g,u(t.g,Fe)){if(!I(t.b))return void Tt(t,c(t.g));Ct(t),E=c(t.g)&t.y,xe(t.d,t.C,(t.l<<4)+E,0),t.l=X(t.l),l=j(t.b,-t.s),re(te(t.A,c(t.g),t.J),t.d,l),t.J=l,--t.s,t.g=i(t.g,We)}if(!I(t.b))return void Tt(t,c(t.g));for(;;){if(b=At(t,c(t.g)),w=t.mb,E=c(t.g)&t.y,s=(t.l<<4)+E,1==b&&-1==w)xe(t.d,t.C,s,0),l=j(t.b,-t.s),S=te(t.A,c(t.g),t.J),7>t.l?re(S,t.d,l):(v=j(t.b,-t.v[0]-1-t.s),ne(S,t.d,v,l)),t.J=l,t.l=X(t.l);else{if(xe(t.d,t.C,s,1),4>w){if(xe(t.d,t.bb,t.l,1),w?(xe(t.d,t.hb,t.l,1),1==w?xe(t.d,t.Ub,t.l,0):(xe(t.d,t.Ub,t.l,1),xe(t.d,t.vc,t.l,w-2))):(xe(t.d,t.hb,t.l,0),1==b?xe(t.d,t._,s,0):xe(t.d,t._,s,1)),1==b?t.l=7>t.l?9:11:(Vt(t.i,t.d,b-2,E),t.l=7>t.l?8:11),h=t.v[w],0!=w){for(p=w;p>=1;--p)t.v[p]=t.v[p-1];t.v[0]=h}}else{for(xe(t.d,t.bb,t.l,0),t.l=7>t.l?7:10,Vt(t.$,t.d,b-2,E),w-=4,_=Nt(w),y=K(b),de(t.K[y],t.d,_),_>=4&&(d=(_>>1)-1,o=(2|1&_)<_?ye(t.Sb,o-_-1,t.d,d,m):(Se(t.d,m>>4,d-4),be(t.S,t.d,15&m),++t.Qb)),h=w,p=3;p>=1;--p)t.v[p]=t.v[p-1];t.v[0]=h,++t.Mb}t.J=j(t.b,b-1-t.s)}if(t.s-=b,t.g=i(t.g,f(b)),!t.s){if(t.Mb>=128&&Bt(t),t.Qb>=16&&Rt(t),e[0]=t.g,r[0]=ke(t.d),!I(t.b))return void Tt(t,c(t.g));if(a(g(t.g,x),[4096,0])>=0)return t.pc=0,void(n[0]=0)}}}}function kt(t){var e,r;t.b||(e={},r=4,t.X||(r=2),Y(e,r),t.b=e),Xt(t.A,t.eb,t.fb),(t.ab!=t.wb||t.Hb!=t.n)&&(q(t.b,t.ab,4096,t.n,274),t.wb=t.ab,t.Hb=t.n)}function Mt(t){var e;for(t.v=n(4),t.a=[],t.d={},t.C=n(192),t.bb=n(12),t.hb=n(12),t.Ub=n(12),t.vc=n(12),t._=n(192),t.K=[],t.Sb=n(114),t.S=he({},4),t.$=$t({}),t.i=$t({}),t.A={},t.m=[],t.P=[],t.lb=[],t.nc=n(16),t.x=n(4),t.Q=n(4),t.Xb=[Fe],t.uc=[Fe],t.Kc=[0],t.fc=n(5),t.yc=n(128),t.vb=0,t.X=1,t.D=0,t.Hb=-1,t.mb=0,e=0;4096>e;++e)t.a[e]={};for(e=0;4>e;++e)t.K[e]=he({},6);return t}function Rt(t){for(var e=0;16>e;++e)t.nc[e]=ge(t.S,e);t.Qb=0}function Bt(t){var e,r,n,i,o,a,s,u;for(i=4;128>i;++i)a=Nt(i),n=(a>>1)-1,e=(2|1&a)<o;++o){for(r=t.K[o],s=o<<6,a=0;t.$b>a;++a)t.P[s+a]=pe(r,a);for(a=14;t.$b>a;++a)t.P[s+a]+=(a>>1)-1-4<<6;for(u=128*o,i=0;4>i;++i)t.lb[u+i]=t.P[s+i];for(;128>i;++i)t.lb[u+i]=t.P[s+Nt(i)]+t.yc[i]}t.Mb=0}function Tt(t,e){Pt(t),Wt(t,e&t.y);for(var r=0;5>r;++r)Re(t.d)}function At(t,e){var r,n,i,o,a,s,u,f,c,l,h,d,p,b,g,y,v,w,m,_,E,x,S,k,M,R,B,T,A,U,O,C,P,D,q,z,F,W,N,Y,G,H,J,Z,V;if(t.jb!=t.q)return p=t.a[t.q].r-t.q,t.mb=t.a[t.q].j,t.q=t.a[t.q].r,p;if(t.q=t.jb=0,t.N?(d=t.vb,t.N=0):d=Ct(t),B=t.D,2>(M=I(t.b)+1))return t.mb=-1,1;for(M>273&&(M=273),Y=0,c=0;4>c;++c)t.x[c]=t.v[c],t.Q[c]=L(t.b,-1,t.x[c],273),t.Q[c]>t.Q[Y]&&(Y=c);if(t.Q[Y]>=t.n)return t.mb=Y,p=t.Q[Y],Ot(t,p-1),p;if(d>=t.n)return t.mb=t.m[B-1]+4,Ot(t,d-1),d;if(u=j(t.b,-1),v=j(t.b,-t.v[0]-1-1),2>d&&u!=v&&2>t.Q[Y])return t.mb=-1,1;if(t.a[0].Hc=t.l,D=e&t.y,t.a[1].z=Ge[t.C[(t.l<<4)+D]>>>2]+oe(te(t.A,e,t.J),t.l>=7,v,u),ae(t.a[1]),w=Ge[2048-t.C[(t.l<<4)+D]>>>2],N=w+Ge[2048-t.bb[t.l]>>>2],v==u&&(G=N+Lt(t,t.l,D),t.a[1].z>G&&(t.a[1].z=G,se(t.a[1]))),2>(h=d>=t.Q[Y]?d:t.Q[Y]))return t.mb=t.a[1].j,1;t.a[1].r=0,t.a[0].bc=t.x[0],t.a[0].ac=t.x[1],t.a[0].dc=t.x[2],t.a[0].lc=t.x[3],l=h;do{t.a[l--].z=268435455}while(l>=2);for(c=0;4>c;++c)if(!(2>(W=t.Q[c]))){z=N+jt(t,c,t.l,D);do{o=z+Qt(t.i,W-2,D),O=t.a[W],O.z>o&&(O.z=o,O.r=0,O.j=c,O.t=0)}while(--W>=2)}if(k=w+Ge[t.bb[t.l]>>>2],l=t.Q[0]>=2?t.Q[0]+1:2,d>=l){for(T=0;l>t.m[T];)T+=2;for(;f=t.m[T+1],o=k+Ut(t,f,l,D),O=t.a[l],O.z>o&&(O.z=o,O.r=0,O.j=f+4,O.t=0),l!=t.m[T]||(T+=2)!=B;++l);}for(r=0;;){if(++r==h)return Et(t,r);if(m=Ct(t),B=t.D,m>=t.n)return t.vb=m,t.N=1,Et(t,r);if(++e,P=t.a[r].r,t.a[r].t?(--P,t.a[r].Ac?(J=t.a[t.a[r].r2].Hc,J=4>t.a[r].j2?7>J?8:11:7>J?7:10):J=t.a[P].Hc,J=X(J)):J=t.a[P].Hc,P==r-1?J=t.a[r].j?X(J):7>J?9:11:(t.a[r].t&&t.a[r].Ac?(P=t.a[r].r2,C=t.a[r].j2,J=7>J?8:11):(C=t.a[r].j,J=4>C?7>J?8:11:7>J?7:10),U=t.a[P],4>C?C?1==C?(t.x[0]=U.ac,t.x[1]=U.bc,t.x[2]=U.dc,t.x[3]=U.lc):2==C?(t.x[0]=U.dc,t.x[1]=U.bc,t.x[2]=U.ac,t.x[3]=U.lc):(t.x[0]=U.lc,t.x[1]=U.bc,t.x[2]=U.ac,t.x[3]=U.dc):(t.x[0]=U.bc,t.x[1]=U.ac,t.x[2]=U.dc,t.x[3]=U.lc):(t.x[0]=C-4,t.x[1]=U.bc,t.x[2]=U.ac,t.x[3]=U.dc)),t.a[r].Hc=J,t.a[r].bc=t.x[0],t.a[r].ac=t.x[1],t.a[r].dc=t.x[2],t.a[r].lc=t.x[3],s=t.a[r].z,u=j(t.b,-1),v=j(t.b,-t.x[0]-1-1),D=e&t.y,n=s+Ge[t.C[(J<<4)+D]>>>2]+oe(te(t.A,e,j(t.b,-2)),J>=7,v,u),x=t.a[r+1],_=0,x.z>n&&(x.z=n,x.r=r,x.j=-1,x.t=0,_=1),w=s+Ge[2048-t.C[(J<<4)+D]>>>2],N=w+Ge[2048-t.bb[J]>>>2],v!=u||r>x.r&&!x.j||(G=N+(Ge[t.hb[J]>>>2]+Ge[t._[(J<<4)+D]>>>2]),x.z>=G&&(x.z=G,x.r=r,x.j=0,x.t=0,_=1)),R=I(t.b)+1,R=R>4095-r?4095-r:R,!(2>(M=R))){if(M>t.n&&(M=t.n),!_&&v!=u&&(V=Math.min(R-1,t.n),(g=L(t.b,0,t.x[0],V))>=2)){for(Z=X(J),q=e+1&t.y,S=n+Ge[2048-t.C[(Z<<4)+q]>>>2]+Ge[2048-t.bb[Z]>>>2],A=r+1+g;A>h;)t.a[++h].z=268435455;o=S+(Qt(t.i,g-2,q)+jt(t,0,Z,q)),O=t.a[A],O.z>o&&(O.z=o,O.r=r+1,O.j=0,O.t=1,O.Ac=0)}for(H=2,F=0;4>F;++F)if(!(2>(b=L(t.b,-1,t.x[F],M)))){y=b;do{for(;r+b>h;)t.a[++h].z=268435455;o=N+(Qt(t.i,b-2,D)+jt(t,F,J,D)),O=t.a[r+b],O.z>o&&(O.z=o,O.r=r,O.j=F,O.t=0)}while(--b>=2);if(b=y,F||(H=b+1),R>b&&(V=Math.min(R-1-b,t.n),(g=L(t.b,b,t.x[F],V))>=2)){for(Z=7>J?8:11,q=e+b&t.y,i=N+(Qt(t.i,b-2,D)+jt(t,F,J,D))+Ge[t.C[(Z<<4)+q]>>>2]+oe(te(t.A,e+b,j(t.b,b-1-1)),1,j(t.b,b-1-(t.x[F]+1)),j(t.b,b-1)),Z=X(Z),q=e+b+1&t.y,E=i+Ge[2048-t.C[(Z<<4)+q]>>>2],S=E+Ge[2048-t.bb[Z]>>>2],A=b+1+g;r+A>h;)t.a[++h].z=268435455;o=S+(Qt(t.i,g-2,q)+jt(t,0,Z,q)),O=t.a[r+A],O.z>o&&(O.z=o,O.r=r+b+1,O.j=0,O.t=1,O.Ac=1,O.r2=r,O.j2=F)}}if(m>M){for(m=M,B=0;m>t.m[B];B+=2);t.m[B]=m,B+=2}if(m>=H){for(k=w+Ge[t.bb[J]>>>2];r+m>h;)t.a[++h].z=268435455;for(T=0;H>t.m[T];)T+=2;for(b=H;;++b)if(a=t.m[T+1],o=k+Ut(t,a,b,D),O=t.a[r+b],O.z>o&&(O.z=o,O.r=r,O.j=a+4,O.t=0),b==t.m[T]){if(R>b&&(V=Math.min(R-1-b,t.n),(g=L(t.b,b,a,V))>=2)){for(Z=7>J?7:10,q=e+b&t.y,i=o+Ge[t.C[(Z<<4)+q]>>>2]+oe(te(t.A,e+b,j(t.b,b-1-1)),1,j(t.b,b-(a+1)-1),j(t.b,b-1)),Z=X(Z),q=e+b+1&t.y,E=i+Ge[2048-t.C[(Z<<4)+q]>>>2],S=E+Ge[2048-t.bb[Z]>>>2],A=b+1+g;r+A>h;)t.a[++h].z=268435455;o=S+(Qt(t.i,g-2,q)+jt(t,0,Z,q)),O=t.a[r+A],O.z>o&&(O.z=o,O.r=r+b+1,O.j=0,O.t=1,O.Ac=1,O.r2=r,O.j2=a+4)}if((T+=2)==B)break}}}}}function Ut(t,e,r,n){var i=K(r);return(128>e?t.lb[128*i+e]:t.P[(i<<6)+Yt(e)]+t.nc[15&e])+Qt(t.$,r-2,n)}function jt(t,e,r,n){var i;return e?(i=Ge[2048-t.hb[r]>>>2],1==e?i+=Ge[t.Ub[r]>>>2]:(i+=Ge[2048-t.Ub[r]>>>2],i+=Be(t.vc[r],e-2))):(i=Ge[t.hb[r]>>>2],i+=Ge[2048-t._[(r<<4)+n]>>>2]),i}function Lt(t,e,r){return Ge[t.hb[e]>>>2]+Ge[t._[(e<<4)+r]>>>2]}function It(t){xt(t),Me(t.d),Ee(t.C),Ee(t._),Ee(t.bb),Ee(t.hb),Ee(t.Ub),Ee(t.vc),Ee(t.Sb),ee(t.A);for(var e=0;4>e;++e)Ee(t.K[e].G);Jt(t.$,1<0&&(G(t.b,e),t.s+=e)}function Ct(t){var e=0;return t.D=z(t.b,t.m),t.D>0&&(e=t.m[t.D-2])==t.n&&(e+=L(t.b,e-1,t.m[t.D-1],273-e)),++t.s,e}function Pt(t){t.b&&t.W&&(t.b.cc=null,t.W=0)}function Dt(t){Pt(t),t.d.Ab=null}function qt(t,e){t.ab=e;for(var r=0;e>1<>24;for(var r=0;4>r;++r)t.fc[1+r]=t.ab>>8*r<<24>>24;x(e,t.fc,0,5)}function Wt(t,e){if(t.Gc){xe(t.d,t.C,(t.l<<4)+e,1),xe(t.d,t.bb,t.l,0),t.l=7>t.l?7:10,Vt(t.$,t.d,0,e);var r=K(2);de(t.K[r],t.d,63),Se(t.d,67108863,26),be(t.S,t.d,15)}}function Nt(t){return 2048>t?Ye[t]:2097152>t?Ye[t>>10]+20:Ye[t>>20]+40}function Yt(t){return 131072>t?Ye[t>>6]+12:134217728>t?Ye[t>>16]+32:Ye[t>>26]+52}function Gt(t,e,r,n){8>r?(xe(e,t.db,0,0),de(t.Vb[n],e,r)):(r-=8,xe(e,t.db,0,1),8>r?(xe(e,t.db,1,0),de(t.Wb[n],e,r)):(xe(e,t.db,1,1),de(t.ic,e,r-8)))}function Ht(t){t.db=n(2),t.Vb=n(16),t.Wb=n(16),t.ic=he({},8);for(var e=0;16>e;++e)t.Vb[e]=he({},3),t.Wb[e]=he({},3);return t}function Jt(t,e){Ee(t.db);for(var r=0;e>r;++r)Ee(t.Vb[r].G),Ee(t.Wb[r].G);Ee(t.ic.G)}function Zt(t,e,r,n,i){var o,a,s,u,f;for(o=Ge[t.db[0]>>>2],a=Ge[2048-t.db[0]>>>2],s=a+Ge[t.db[1]>>>2],u=a+Ge[2048-t.db[1]>>>2],f=0,f=0;8>f;++f){if(f>=r)return;n[i+f]=o+pe(t.Vb[e],f)}for(;16>f;++f){if(f>=r)return;n[i+f]=s+pe(t.Wb[e],f-8)}for(;r>f;++f)n[i+f]=u+pe(t.ic,f-8-8)}function Vt(t,e,r,n){Gt(t,e,r,n),0==--t.sc[n]&&(Zt(t,n,t.rb,t.Cc,272*n),t.sc[n]=t.rb)}function $t(t){return Ht(t),t.Cc=[],t.sc=[],t}function Qt(t,e,r){return t.Cc[272*r+e]}function Kt(t,e){for(var r=0;e>r;++r)Zt(t,r,t.rb,t.Cc,272*r),t.sc[r]=t.rb}function Xt(t,e,r){var i,o;if(null==t.V||t.u!=r||t.I!=e)for(t.I=e,t.qc=(1<i;++i)t.V[i]=ie({})}function te(t,e,r){return t.V[((e&t.qc)<>>8-t.u)]}function ee(t){var e,r=1<e;++e)Ee(t.V[e].tb)}function re(t,e,r){var n,i,o=1;for(i=7;i>=0;--i)n=r>>i&1,xe(e,t.tb,o,n),o=o<<1|n}function ne(t,e,r,n){var i,o,a,s,u=1,f=1;for(o=7;o>=0;--o)i=n>>o&1,s=f,u&&(a=r>>o&1,s+=1+a<<8,u=a==i),xe(e,t.tb,s,i),f=f<<1|i}function ie(t){return t.tb=n(768),t}function oe(t,e,r,n){var i,o,a=1,s=7,u=0;if(e)for(;s>=0;--s)if(o=r>>s&1,i=n>>s&1,u+=Be(t.tb[(1+o<<8)+a],i),a=a<<1|i,o!=i){--s;break}for(;s>=0;--s)i=n>>s&1,u+=Be(t.tb[a],i),a=a<<1|i;return u}function ae(t){t.j=-1,t.t=0}function se(t){t.j=0,t.t=0}function ue(t,e){return t.F=e,t.G=n(1<n;++n)r=we(e,t.G,i),i<<=1,i+=r,o|=r<o;++o)i=we(r,t,e+a),a<<=1,a+=i,s|=i<>>i&1,xe(e,t.G,o,n),o=o<<1|n}function pe(t,e){var r,n,i=1,o=0;for(n=t.F;0!=n;)--n,r=e>>>n&1,o+=Be(t.G[i],r),i=(i<<1)+r;return o}function be(t,e,r){var n,i,o=1;for(i=0;t.F>i;++i)n=1&r,xe(e,t.G,o,n),o=o<<1|n,r>>=1}function ge(t,e){var r,n,i=1,o=0;for(n=t.F;0!=n;--n)r=1&e,e>>>=1,o+=Be(t.G[i],r),i=i<<1|r;return o}function ye(t,e,r,n,i){var o,a,s=1;for(a=0;n>a;++a)o=1&i,xe(r,t,e+s,o),s=s<<1|o,i>>=1}function ve(t,e,r,n){var i,o,a=1,s=0;for(o=r;0!=o;--o)i=1&n,n>>>=1,s+=Ge[(2047&(t[e+a]-i^-i))>>>2],a=a<<1|i;return s}function we(t,e,r){var n,i=e[r];return n=(t.E>>>11)*i,(-2147483648^n)>(-2147483648^t.Bb)?(t.E=n,e[r]=i+(2048-i>>>5)<<16>>16,-16777216&t.E||(t.Bb=t.Bb<<8|v(t.Ab),t.E<<=8),0):(t.E-=n,t.Bb-=n,e[r]=i-(i>>>5)<<16>>16,-16777216&t.E||(t.Bb=t.Bb<<8|v(t.Ab),t.E<<=8),1)}function me(t,e){var r,n,i=0;for(r=e;0!=r;--r)t.E>>>=1,n=t.Bb-t.E>>>31,t.Bb-=t.E&n-1,i=i<<1|1-n,-16777216&t.E||(t.Bb=t.Bb<<8|v(t.Ab),t.E<<=8);return i}function _e(t){t.Bb=0,t.E=-1;for(var e=0;5>e;++e)t.Bb=t.Bb<<8|v(t.Ab)}function Ee(t){for(var e=t.length-1;e>=0;--e)t[e]=1024}function xe(t,e,r,n){var a,s=e[r];a=(t.E>>>11)*s,n?(t.xc=i(t.xc,o(f(a),[4294967295,0])),t.E-=a,e[r]=s-(s>>>5)<<16>>16):(t.E=a,e[r]=s+(2048-s>>>5)<<16>>16),-16777216&t.E||(t.E<<=8,Re(t))}function Se(t,e,r){for(var n=r-1;n>=0;--n)t.E>>>=1,1==(e>>>n&1)&&(t.xc=i(t.xc,f(t.E))),-16777216&t.E||(t.E<<=8,Re(t))}function ke(t){return i(i(f(t.Jb),t.mc),[4,0])}function Me(t){t.mc=Fe,t.xc=Fe,t.E=-1,t.Jb=1,t.Oc=0}function Re(t){var e,r=c(b(t.xc,32));if(0!=r||a(t.xc,[4278190080,0])<0){t.mc=i(t.mc,f(t.Jb)),e=t.Oc;do{E(t.Ab,e+r),e=255}while(0!=--t.Jb);t.Oc=c(t.xc)>>>24}++t.Jb,t.xc=d(o(t.xc,[16777215,0]),8)}function Be(t,e){return Ge[(2047&(t-e^-e))>>>2]}function Te(t){for(var e,r,n,i=0,o=0,a=t.length,s=[],u=[];a>i;++i,++o){if(128&(e=255&t[i]))if(192==(224&e)){if(i+1>=a)return t;if(128!=(192&(r=255&t[++i])))return t;u[o]=(31&e)<<6|63&r}else{if(224!=(240&e))return t;if(i+2>=a)return t;if(128!=(192&(r=255&t[++i])))return t;if(128!=(192&(n=255&t[++i])))return t;u[o]=(15&e)<<12|(63&r)<<6|63&n}else{if(!e)return t;u[o]=e}16383==o&&(s.push(String.fromCharCode.apply(String,u)),o=-1)}return o>0&&(u.length=o,s.push(String.fromCharCode.apply(String,u))),s.join("")}function Ae(t){var e,r,n,i=[],o=0,a=t.length;if("object"==typeof t)return t;for(S(t,0,a,i,0),n=0;a>n;++n)e=i[n],e>=1&&127>=e?++o:o+=!e||e>=128&&2047>=e?2:3;for(r=[],o=0,n=0;a>n;++n)e=i[n],e>=1&&127>=e?r[o++]=e<<24>>24:!e||e>=128&&2047>=e?(r[o++]=(192|e>>6&31)<<24>>24,r[o++]=(128|63&e)<<24>>24):(r[o++]=(224|e>>12&15)<<24>>24,r[o++]=(128|e>>6&63)<<24>>24,r[o++]=(128|63&e)<<24>>24);return r}function Ue(t){return t[1]+t[0]}function je(t,e,n,i){function o(){try{for(var t,e=(new Date).getTime();rt(u.c.yb);)if(a=Ue(u.c.yb.Pb)/Ue(u.c.Tb),(new Date).getTime()-e>200)return i(a),Pe(o,0),0;i(1),t=_(u.c.Nb),Pe(n.bind(null,t),0)}catch(t){n(null,t)}}var a,s,u={},f=void 0===n&&void 0===i;if("function"!=typeof n&&(s=n,n=i=0),i=i||function(t){return void 0!==s?r(t,s):void 0},n=n||function(t,e){return void 0!==s?postMessage({action:Ie,cbn:s,result:t,error:e}):void 0},f){for(u.c=B({},Ae(t),He(e));rt(u.c.yb););return _(u.c.Nb)}try{u.c=B({},Ae(t),He(e)),i(0)}catch(t){return n(null,t)}Pe(o,0)}function Le(t,e,n){function i(){try{for(var t,r=0,a=(new Date).getTime();rt(f.d.yb);)if(++r%1e3==0&&(new Date).getTime()-a>200)return s&&(o=Ue(f.d.yb.Z.g)/u,n(o)),Pe(i,0),0;n(1),t=Te(_(f.d.Nb)),Pe(e.bind(null,t),0)}catch(t){e(null,t)}}var o,a,s,u,f={},c=void 0===e&&void 0===n;if("function"!=typeof e&&(a=e,e=n=0),n=n||function(t){return void 0!==a?r(s?t:-1,a):void 0},e=e||function(t,e){return void 0!==a?postMessage({action:Oe,cbn:a,result:t,error:e}):void 0},c){for(f.d=A({},t);rt(f.d.yb););return Te(_(f.d.Nb))}try{f.d=A({},t),u=Ue(f.d.Tb),s=u>-1,n(0)}catch(t){return e(null,t)}Pe(i,0)}var Ie=1,Oe=2,Ce=3,Pe="function"==typeof t?t:setTimeout,De=4294967296,qe=[4294967295,-De],ze=[0,-0x8000000000000000],Fe=[0,0],We=[1,0],Ne=function(){var t,e,r,n=[];for(t=0;256>t;++t){for(r=t,e=0;8>e;++e)0!=(1&r)?r=r>>>1^-306674912:r>>>=1;n[t]=r}return n}(),Ye=function(){var t,e,r,n=2,i=[0,1];for(r=2;22>r;++r)for(e=1<<(r>>1)-1,t=0;e>t;++t,++n)i[n]=r<<24>>24;return i}(),Ge=function(){var t,e,r,n,i=[];for(e=8;e>=0;--e)for(n=1<<9-e-1,t=1<<9-e,r=n;t>r;++r)i[r]=(e<<6)+(t-r<<6>>>9-e-1);return i}(),He=function(){var t=[{s:16,f:64,m:0},{s:20,f:64,m:0},{s:19,f:64,m:1},{s:20,f:64,m:1},{s:21,f:128,m:1},{s:22,f:128,m:1},{s:23,f:128,m:1},{s:24,f:255,m:1},{s:25,f:255,m:1}];return function(e){return t[e-1]||t[6]}}();return"undefined"==typeof onmessage||"undefined"!=typeof window&&void 0!==window.document||function(){onmessage=function(t){t&&t.gc&&(t.gc.action==Oe?e.decompress(t.gc.gc,t.gc.cbn):t.gc.action==Ie&&e.compress(t.gc.gc,t.gc.Rc,t.gc.cbn))}}(),{compress:je,decompress:Le}}();this.LZMA=this.LZMA_WORKER=e}).call(e,r(18).setImmediate)},function(t,e,r){var n,i=function(){function t(t,e){if(!i[t]){i[t]={};for(var r=0;r>>8,r[2*n+1]=a%256}return r},decompressFromUint8Array:function(t){if(null===t||void 0===t)return o.decompress(t);for(var r=new Array(t.length/2),n=0,i=r.length;n>=1}else{for(i=1,n=0;n>=1}l--,0==l&&(l=Math.pow(2,d),d++),delete s[c]}else for(i=a[c],n=0;n>=1;l--,0==l&&(l=Math.pow(2,d),d++),a[f]=h++,c=String(u)}if(""!==c){if(Object.prototype.hasOwnProperty.call(s,c)){if(c.charCodeAt(0)<256){for(n=0;n>=1}else{for(i=1,n=0;n>=1}l--,0==l&&(l=Math.pow(2,d),d++),delete s[c]}else for(i=a[c],n=0;n>=1;l--,0==l&&(l=Math.pow(2,d),d++)}for(i=2,n=0;n>=1;for(;;){if(b<<=1,g==e-1){p.push(r(b));break}g++}return p.join("")},decompress:function(t){return null==t?"":""==t?null:o._decompress(t.length,32768,function(e){return t.charCodeAt(e)})},_decompress:function(t,r,n){var i,o,a,s,u,f,c,l=[],h=4,d=4,p=3,b="",g=[],y={val:n(0),position:r,index:1};for(i=0;i<3;i+=1)l[i]=i;for(a=0,u=Math.pow(2,2),f=1;f!=u;)s=y.val&y.position,y.position>>=1,0==y.position&&(y.position=r,y.val=n(y.index++)),a|=(s>0?1:0)*f,f<<=1;switch(a){case 0:for(a=0,u=Math.pow(2,8),f=1;f!=u;)s=y.val&y.position,y.position>>=1,0==y.position&&(y.position=r,y.val=n(y.index++)),a|=(s>0?1:0)*f,f<<=1;c=e(a);break;case 1:for(a=0,u=Math.pow(2,16),f=1;f!=u;)s=y.val&y.position,y.position>>=1,0==y.position&&(y.position=r,y.val=n(y.index++)),a|=(s>0?1:0)*f,f<<=1;c=e(a);break;case 2:return""}for(l[3]=c,o=c,g.push(c);;){if(y.index>t)return"";for(a=0,u=Math.pow(2,p),f=1;f!=u;)s=y.val&y.position,y.position>>=1,0==y.position&&(y.position=r,y.val=n(y.index++)),a|=(s>0?1:0)*f,f<<=1;switch(c=a){case 0:for(a=0,u=Math.pow(2,8),f=1;f!=u;)s=y.val&y.position,y.position>>=1,0==y.position&&(y.position=r,y.val=n(y.index++)),a|=(s>0?1:0)*f,f<<=1;l[d++]=e(a),c=d-1,h--;break;case 1:for(a=0,u=Math.pow(2,16),f=1;f!=u;)s=y.val&y.position,y.position>>=1,0==y.position&&(y.position=r,y.val=n(y.index++)),a|=(s>0?1:0)*f,f<<=1;l[d++]=e(a),c=d-1,h--;break;case 2:return g.join("")}if(0==h&&(h=Math.pow(2,p),p++),l[c])b=l[c];else{if(c!==d)return null;b=o+o.charAt(0)}g.push(b),l[d++]=o+b.charAt(0),h--,o=b,0==h&&(h=Math.pow(2,p),p++)}}};return o}();void 0!==(n=function(){return i}.call(e,r,e,t))&&(t.exports=n)},function(t,e,r){"use strict";var n=function(){};n.prototype.encode=function(t){for(var e,r={},n=(t+"").split(""),i=[],o=n[0],a=256,s=1;s1?r[o]:o.charCodeAt(0)),r[o+e]=a,a++,o=e);i.push(o.length>1?r[o]:o.charCodeAt(0));for(var s=0;s