You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

1 line
110 KiB

  1. !function(t){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).LessPass=t()}}(function(){return function t(e,r,n){function i(s,a){if(!r[s]){if(!e[s]){var u="function"==typeof require&&require;if(!a&&u)return u(s,!0);if(o)return o(s,!0);var h=new Error("Cannot find module '"+s+"'");throw h.code="MODULE_NOT_FOUND",h}var f=r[s]={exports:{}};e[s][0].call(f.exports,function(t){var r=e[s][1][t];return i(r||t)},f,f.exports,t,e,r,n)}return r[s].exports}for(var o="function"==typeof require&&require,s=0;s<n.length;s++)i(n[s]);return i}({1:[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,s,a,u=t.length;s=n(t),a=new l(3*u/4-s),i=s>0?u-4:u;var h=0;for(e=0,r=0;e<i;e+=4,r+=3)o=f[t.charCodeAt(e)]<<18|f[t.charCodeAt(e+1)]<<12|f[t.charCodeAt(e+2)]<<6|f[t.charCodeAt(e+3)],a[h++]=o>>16&255,a[h++]=o>>8&255,a[h++]=255&o;return 2===s?(o=f[t.charCodeAt(e)]<<2|f[t.charCodeAt(e+1)]>>4,a[h++]=255&o):1===s&&(o=f[t.charCodeAt(e)]<<10|f[t.charCodeAt(e+1)]<<4|f[t.charCodeAt(e+2)]>>2,a[h++]=o>>8&255,a[h++]=255&o),a}function s(t){return h[t>>18&63]+h[t>>12&63]+h[t>>6&63]+h[63&t]}function a(t,e,r){for(var n,i=[],o=e;o<r;o+=3)n=(t[o]<<16)+(t[o+1]<<8)+t[o+2],i.push(s(n));return i.join("")}function u(t){for(var e,r=t.length,n=r%3,i="",o=[],s=0,u=r-n;s<u;s+=16383)o.push(a(t,s,s+16383>u?u:s+16383));return 1===n?(e=t[r-1],i+=h[e>>2],i+=h[e<<4&63],i+="=="):2===n&&(e=(t[r-2]<<8)+t[r-1],i+=h[e>>10],i+=h[e>>4&63],i+=h[e<<2&63],i+="="),o.push(i),o.join("")}r.byteLength=i,r.toByteArray=o,r.fromByteArray=u;for(var h=[],f=[],l="undefined"!=typeof Uint8Array?Uint8Array:Array,c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",p=0,d=c.length;p<d;++p)h[p]=c[p],f[c.charCodeAt(p)]=p;f["-".charCodeAt(0)]=62,f["_".charCodeAt(0)]=63},{}],2:[function(t,e,r){var n=function(t){"use strict";function e(t,r){return void 0===t?e[0]:void 0!==r?10==+r?W(t):tt(t,r):W(t)}function r(t,e){this.value=t,this.sign=e,this.isSmall=!1}function i(t){this.value=t,this.sign=t<0,this.isSmall=!0}function o(t){return-Y<t&&t<Y}function s(t){return t<1e7?[t]:t<1e14?[t%1e7,Math.floor(t/1e7)]:[t%1e7,Math.floor(t/1e7)%1e7,Math.floor(t/1e14)]}function a(t){u(t);var e=t.length;if(e<4&&M(t,K)<0)switch(e){case 0:return 0;case 1:return t[0];case 2:return t[0]+t[1]*Z;default:return t[0]+(t[1]+t[2]*Z)*Z}return t}function u(t){for(var e=t.length;0===t[--e];);t.length=e+1}function h(t){for(var e=new Array(t),r=-1;++r<t;)e[r]=0;return e}function f(t){return t>0?Math.floor(t):Math.ceil(t)}function l(t,e){var r,n,i=t.length,o=e.length,s=new Array(i),a=0,u=Z;for(n=0;n<o;n++)a=(r=t[n]+e[n]+a)>=u?1:0,s[n]=r-a*u;for(;n<i;)a=(r=t[n]+a)===u?1:0,s[n++]=r-a*u;return a>0&&s.push(a),s}function c(t,e){return t.length>=e.length?l(t,e):l(e,t)}function p(t,e){var r,n,i=t.length,o=new Array(i),s=Z;for(n=0;n<i;n++)r=t[n]-s+e,e=Math.floor(r/s),o[n]=r-e*s,e+=1;for(;e>0;)o[n++]=e%s,e=Math.floor(e/s);return o}function d(t,e){var r,n,i=t.length,o=e.length,s=new Array(i),a=0,h=Z;for(r=0;r<o;r++)(n=t[r]-a-e[r])<0?(n+=h,a=1):a=0,s[r]=n;for(r=o;r<i;r++){if(!((n=t[r]-a)<0)){s[r++]=n;break}n+=h,s[r]=n}for(;r<i;r++)s[r]=t[r];return u(s),s}function g(t,e,n){var o;return M(t,e)>=0?o=d(t,e):(o=d(e,t),n=!n),o=a(o),"number"==typeof o?(n&&(o=-o),new i(o)):new r(o,n)}function v(t,e,n){var o,s,u=t.length,h=new Array(u),f=-e,l=Z;for(o=0;o<u;o++)s=t[o]+f,f=Math.floor(s/l),s%=l,h[o]=s<0?s+l:s;return h=a(h),"number"==typeof h?(n&&(h=-h),new i(h)):new r(h,n)}function y(t,e){var r,n,i,o,s=t.length,a=e.length,f=h(s+a),l=Z;for(i=0;i<s;++i){o=t[i];for(var c=0;c<a;++c)r=o*e[c]+f[i+c],n=Math.floor(r/l),f[i+c]=r-n*l,f[i+c+1]+=n}return u(f),f}function w(t,e){var r,n,i=t.length,o=new Array(i),s=Z,a=0;for(n=0;n<i;n++)r=t[n]*e+a,a=Math.floor(r/s),o[n]=r-a*s;for(;a>0;)o[n++]=a%s,a=Math.floor(a/s);return o}function b(t,e){for(var r=[];e-- >0;)r.push(0);return r.concat(t)}function _(t,e){var r=Math.max(t.length,e.length);if(r<=30)return y(t,e);r=Math.ceil(r/2);var n=t.slice(r),i=t.slice(0,r),o=e.slice(r),s=e.slice(0,r),a=_(i,s),h=_(n,o),f=c(c(a,b(d(d(_(c(i,n),c(s,o)),a),h),r)),b(h,2*r));return u(f),f}function m(t,e){return-.012*t-.012*e+15e-6*t*e>0}function E(t,e,n){return t<Z?new r(w(e,t),n):new r(y(e,s(t)),n)}function S(t){var e,r,n,i,o=t.length,s=h(o+o),a=Z;for(n=0;n<o;n++){i=t[n];for(var f=0;f<o;f++)e=i*t[f]+s[n+f],r=Math.floor(e/a),s[n+f]=e-r*a,s[n+f+1]+=r}return u(s),s}function x(t,e){var r,n,i,o,s,u,f,l=t.length,c=e.length,p=Z,d=h(e.length),g=e[c-1],v=Math.ceil(p/(2*g)),y=w(t,v),b=w(e,v);for(y.length<=l&&y.push(0),b.push(0),g=b[c-1],n=l-c;n>=0;n--){for(r=p-1,y[n+c]!==g&&(r=Math.floor((y[n+c]*p+y[n+c-1])/g)),i=0,o=0,u=b.length,s=0;s<u;s++)i+=r*b[s],f=Math.floor(i/p),o+=y[n+s]-(i-f*p),i=f,o<0?(y[n+s]=o+p,o=-1):(y[n+s]=o,o=0);for(;0!==o;){for(r-=1,i=0,s=0;s<u;s++)(i+=y[n+s]-p+b[s])<0?(y[n+s]=i+p,i=0):(y[n+s]=i,i=1);o+=i}d[n]=r}return y=A(y,v)[0],[a(d),a(y)]}function B(t,e){for(var r,n,i,o,s,h=t.length,f=e.length,l=[],c=[],p=Z;h;)if(c.unshift(t[--h]),u(c),M(c,e)<0)l.push(0);else{i=c[(n=c.length)-1]*p+c[n-2],o=e[f-1]*p+e[f-2],n>f&&(i=(i+1)*p),r=Math.ceil(i/o);do{if(s=w(e,r),M(s,c)<=0)break;r--}while(r);l.push(r),c=d(c,s)}return l.reverse(),[a(l),a(c)]}function A(t,e){var r,n,i,o,s=t.length,a=h(s),u=Z;for(i=0,r=s-1;r>=0;--r)i=(o=i*u+t[r])-(n=f(o/e))*e,a[r]=0|n;return[a,0|i]}function k(t,n){var o,u,h=W(n),l=t.value,c=h.value;if(0===c)throw new Error("Cannot divide by zero");if(t.isSmall)return h.isSmall?[new i(f(l/c)),new i(l%c)]:[e[0],t];if(h.isSmall){if(1===c)return[t,e[0]];if(-1==c)return[t.negate(),e[0]];var p=Math.abs(c);if(p<Z){u=a((o=A(l,p))[0]);var d=o[1];return t.sign&&(d=-d),"number"==typeof u?(t.sign!==h.sign&&(u=-u),[new i(u),new i(d)]):[new r(u,t.sign!==h.sign),new i(d)]}c=s(p)}var g=M(l,c);if(-1===g)return[e[0],t];if(0===g)return[e[t.sign===h.sign?1:-1],e[0]];u=(o=l.length+c.length<=200?x(l,c):B(l,c))[0];var v=t.sign!==h.sign,y=o[1],w=t.sign;return"number"==typeof u?(v&&(u=-u),u=new i(u)):u=new r(u,v),"number"==typeof y?(w&&(y=-y),y=new i(y)):y=new r(y,w),[u,y]}function M(t,e){if(t.length!==e.length)return t.length>e.length?1:-1;for(var r=t.length-1;r>=0;r--)if(t[r]!==e[r])return t[r]>e[r]?1:-1;return 0}function L(t){var e=t.abs();return!e.isUnit()&&(!!(e.equals(2)||e.equals(3)||e.equals(5))||!(e.isEven()||e.isDivisibleBy(3)||e.isDivisibleBy(5))&&(!!e.lesser(25)||void 0))}function C(t){return("number"==typeof t||"string"==typeof t)&&+Math.abs(t)<=Z||t instanceof r&&t.value.length<=1}function T(t,e,r){e=W(e);for(var i=t.isNegative(),o=e.isNegative(),s=i?t.not():t,a=o?e.not():e,u=[],h=[],f=!1,l=!1;!f||!l;)s.isZero()?(f=!0,u.push(i?1:0)):i?u.push(s.isEven()?1:0):u.push(s.isEven()?0:1),a.isZero()?(l=!0,h.push(o?1:0)):o?h.push(a.isEven()?1:0):h.push(a.isEven()?0:1),s=s.over(2),a=a.over(2);for(var c=[],p=0;p<u.length;p++)c.push(r(u[p],h[p]));for(var d=n(c.pop()).negate().times(n(2).pow(c.length));c.length;)d=d.add(n(c.pop()).times(n(2).pow(c.length)));return d}function j(t){var e=t.value,r="number"==typeof e?e|Q:e[0]+e[1]*Z|$;return r&-r}function R(t,e){return t=W(t),e=W(e),t.greater(e)?t:e}function I(t,e){return t=W(t),e=W(e),t.lesser(e)?t:e}function O(t,r){if(t=W(t).abs(),r=W(r).abs(),t.equals(r))return t;if(t.isZero())return r;if(r.isZero())return t;for(var n,i,o=e[1];t.isEven()&&r.isEven();)n=Math.min(j(t),j(r)),t=t.divide(n),r=r.divide(n),o=o.multiply(n);for(;t.isEven();)t=t.divide(j(t));do{for(;r.isEven();)r=r.divide(j(r));t.greater(r)&&(i=r,r=t,t=i),r=r.subtract(t)}while(!r.isZero());return o.isUnit()?t:t.multiply(o)}function q(t,e){return t=W(t).abs(),e=W(e).abs(),t.divide(O(t,e)).multiply(e)}function P(t,e){var n=I(t=W(t),e=W(e)),o=R(t,e).subtract(n);if(o.isSmall)return n.add(Math.round(Math.random()*o));for(var s=[],u=!0,h=o.value.length-1;h>=0;h--){var l=u?o.value[h]:Z,c=f(Math.random()*l);s.unshift(c),c<l&&(u=!1)}return s=a(s),n.add("number"==typeof s?new i(s):new r(s,!1))}function U(t,r,n){var i,o=e[0],s=e[1];for(i=t.length-1;i>=0;i--)o=o.add(t[i].times(s)),s=s.times(r);return n?o.negate():o}function N(t){var e=t.value;return"number"==typeof e&&(e=[e]),1===e.length&&e[0]<=35?"0123456789abcdefghijklmnopqrstuvwxyz".charAt(e[0]):"<"+e+">"}function D(t,e){if((e=n(e)).isZero()){if(t.isZero())return"0";throw new Error("Cannot convert nonzero numbers to base 0.")}if(e.equals(-1))return t.isZero()?"0":t.isNegative()?new Array(1-t).join("10"):"1"+new Array(+t).join("01");var r="";if(t.isNegative()&&e.isPositive()&&(r="-",t=t.abs()),e.equals(1))return t.isZero()?"0":r+new Array(+t+1).join(1);for(var i,o=[],s=t;s.isNegative()||s.compareAbs(e)>=0;){s=(i=s.divmod(e)).quotient;var a=i.remainder;a.isNegative()&&(a=e.minus(a).abs(),s=s.next()),o.push(N(a))}return o.push(N(s)),r+o.reverse().join("")}function z(t){if(o(+t)){var e=+t;if(e===f(e))return new i(e);throw"Invalid integer: "+t}var n="-"===t[0];n&&(t=t.slice(1));var s=t.split(/e/i);if(s.length>2)throw new Error("Invalid integer: "+s.join("e"));if(2===s.length){var a=s[1];if("+"===a[0]&&(a=a.slice(1)),(a=+a)!==f(a)||!o(a))throw new Error("Invalid integer: "+a+" is not a valid exponent.");var h=s[0],l=h.indexOf(".");if(l>=0&&(a-=h.length-l-1,h=h.slice(0,l)+h.slice(l+1)),a<0)throw new Error("Cannot include negative exponent part for integers");t=h+=new Array(a+1).join("0")}if(!/^([0-9][0-9]*)$/.test(t))throw new Error("Invalid integer: "+t);for(var c=[],p=t.length,d=H,g=p-d;p>0;)c.push(+t.slice(g,p)),(g-=d)<0&&(g=0),p-=d;return u(c),new r(c,n)}function F(t){if(o(t)){if(t!==f(t))throw new Error(t+" is not an integer.");return new i(t)}return z(t.toString())}function W(t){return"number"==typeof t?F(t):"string"==typeof t?z(t):t}var Z=1e7,H=7,Y=9007199254740992,K=s(Y),V=Math.log(Y);r.prototype=Object.create(e.prototype),i.prototype=Object.create(e.prototype),r.prototype.add=function(t){var e=W(t);if(this.sign!==e.sign)return this.subtract(e.negate());var n=this.value,i=e.value;return e.isSmall?new r(p(n,Math.abs(i)),this.sign):new r(c(n,i),this.sign)},r.prototype.plus=r.prototype.add,i.prototype.add=function(t){var e=W(t),n=this.value;if(n<0!==e.sign)return this.subtract(e.negate());var a=e.value;if(e.isSmall){if(o(n+a))return new i(n+a);a=s(Math.abs(a))}return new r(p(a,Math.abs(n)),n<0)},i.prototype.plus=i.prototype.add,r.prototype.subtract=function(t){var e=W(t);if(this.sign!==e.sign)return this.add(e.negate());var r=this.value,n=e.value;return e.isSmall?v(r,Math.abs(n),this.sign):g(r,n,this.sign)},r.prototype.minus=r.prototype.subtract,i.prototype.subtract=function(t){var e=W(t),r=this.value;if(r<0!==e.sign)return this.add(e.negate());var n=e.value;return e.isSmall?new i(r-n):v(n,Math.abs(r),r>=0)},i.prototype.minus=i.prototype.subtract,r.prototype.negate=function(){return new r(this.value,!this.sign)},i.prototype.negate=function(){var t=this.sign,e=new i(-this.value);return e.sign=!t,e},r.prototype.abs=function(){return new r(this.value,!1)},i.prototype.abs=function(){return new i(Math.abs(this.value))},r.prototype.multiply=function(t){var n,i=W(t),o=this.value,a=i.value,u=this.sign!==i.sign;if(i.isSmall){if(0===a)return e[0];if(1===a)return this;if(-1===a)return this.negate();if((n=Math.abs(a))<Z)return new r(w(o,n),u);a=s(n)}return m(o.length,a.length)?new r(_(o,a),u):new r(y(o,a),u)},r.prototype.times=r.prototype.multiply,i.prototype._multiplyBySmall=function(t){return o(t.value*this.value)?new i(t.value*this.value):E(Math.abs(t.value),s(Math.abs(this.value)),this.sign!==t.sign)},r.prototype._multiplyBySmall=function(t){return 0===t.value?e[0]:1===t.value?this:-1===t.value?this.negate():E(Math.abs(t.value),this.value,this.sign!==t.sign)},i.prototype.multiply=function(t){return W(t)._multiplyBySmall(this)},i.prototype.times=i.prototype.multiply,r.prototype.square=function(){return new r(S(this.value),!1)},i.prototype.square=function(){var t=this.value*this.value;return o(t)?new i(t):new r(S(s(Math.abs(this.value))),!1)},r.prototype.divmod=function(t){var e=k(this,t);return{quotient:e[0],remainder:e[1]}},i.prototype.divmod=r.prototype.divmod,r.prototype.divide=function(t){return k(this,t)[0]},i.prototype.over=i.prototype.divide=r.prototype.over=r.prototype.divide,r.prototype.mod=function(t){return k(this,t)[1]},i.prototype.remainder=i.prototype.mod=r.prototype.remainder=r.prototype.mod,r.prototype.pow=function(t){var r,n,s,a=W(t),u=this.value,h=a.value;if(0===h)return e[1];if(0===u)return e[0];if(1===u)return e[1];if(-1===u)return a.isEven()?e[1]:e[-1];if(a.sign)return e[0];if(!a.isSmall)throw new Error("The exponent "+a.toString()+" is too large.");if(this.isSmall&&o(r=Math.pow(u,h)))return new i(f(r));for(n=this,s=e[1];;){if(!0&h&&(s=s.times(n),--h),0===h)break;h/=2,n=n.square()}return s},i.prototype.pow=r.prototype.pow,r.prototype.modPow=function(t,r){if(t=W(t),(r=W(r)).isZero())throw new Error("Cannot take modPow with modulus 0");for(var n=e[1],i=this.mod(r);t.isPositive();){if(i.isZero())return e[0];t.isOdd()&&(n=n.multiply(i).mod(r)),t=t.divide(2),i=i.square().mod(r)}return n},i.prototype.modPow=r.prototype.modPow,r.prototype.compareAbs=function(t){var e=W(t),r=this.value,n=e.value;return e.isSmall?1:M(r,n)},i.prototype.compareAbs=function(t){var e=W(t),r=Math.abs(this.value),n=e.value;return e.isSmall?(n=Math.abs(n),r===n?0:r>n?1:-1):-1},r.prototype.compare=function(t){if(t===1/0)return-1;if(t===-1/0)return 1;var e=W(t),r=this.value,n=e.value;return this.sign!==e.sign?e.sign?1:-1:e.isSmall?this.sign?-1:1:M(r,n)*(this.sign?-1:1)},r.prototype.compareTo=r.prototype.compare,i.prototype.compare=function(t){if(t===1/0)return-1;if(t===-1/0)return 1;var e=W(t),r=this.value,n=e.value;return e.isSmall?r==n?0:r>n?1:-1:r<0!==e.sign?r<0?-1:1:r<0?1:-1},i.prototype.compareTo=i.prototype.compare,r.prototype.equals=function(t){return 0===this.compare(t)},i.prototype.eq=i.prototype.equals=r.prototype.eq=r.prototype.equals,r.prototype.notEquals=function(t){return 0!==this.compare(t)},i.prototype.neq=i.prototype.notEquals=r.prototype.neq=r.prototype.notEquals,r.prototype.greater=function(t){return this.compare(t)>0},i.prototype.gt=i.prototype.greater=r.prototype.gt=r.prototype.greater,r.prototype.lesser=function(t){return this.compare(t)<0},i.prototype.lt=i.prototype.lesser=r.prototype.lt=r.prototype.lesser,r.prototype.greaterOrEquals=function(t){return this.compare(t)>=0},i.prototype.geq=i.prototype.greaterOrEquals=r.prototype.geq=r.prototype.greaterOrEquals,r.prototype.lesserOrEquals=function(t){return this.compare(t)<=0},i.prototype.leq=i.prototype.lesserOrEquals=r.prototype.leq=r.prototype.lesserOrEquals,r.prototype.isEven=function(){return 0==(1&this.value[0])},i.prototype.isEven=function(){return 0==(1&this.value)},r.prototype.isOdd=function(){return 1==(1&this.value[0])},i.prototype.isOdd=function(){return 1==(1&this.value)},r.prototype.isPositive=function(){return!this.sign},i.prototype.isPositive=function(){return this.value>0},r.prototype.isNegative=function(){return this.sign},i.prototype.isNegative=function(){return this.value<0},r.prototype.isUnit=function(){return!1},i.prototype.isUnit=function(){return 1===Math.abs(this.value)},r.prototype.isZero=function(){return!1},i.prototype.isZero=function(){return 0===this.value},r.prototype.isDivisibleBy=function(t){var r=W(t),n=r.value;return 0!==n&&(1===n||(2===n?this.isEven():this.mod(r).equals(e[0])))},i.prototype.isDivisibleBy=r.prototype.isDivisibleBy,r.prototype.isPrime=function(){var t=L(this);if(void 0!==t)return t;for(var r,i,o,s,a=this.abs(),u=a.prev(),h=[2,3,5,7,11,13,17,19],f=u;f.isEven();)f=f.divide(2);for(o=0;o<h.length;o++)if(!(s=n(h[o]).modPow(f,a)).equals(e[1])&&!s.equals(u)){for(i=!0,r=f;i&&r.lesser(u);r=r.multiply(2))(s=s.square().mod(a)).equals(u)&&(i=!1);if(i)return!1}return!0},i.prototype.isPrime=r.prototype.isPrime,r.prototype.isProbablePrime=function(t){var e=L(this);if(void 0!==e)return e;for(var r=this.abs(),i=void 0===t?5:t,o=0;o<i;o++)if(!n.randBetween(2,r.minus(2)).modPow(r.prev(),r).isUnit())return!1;return!0},i.prototype.isProbablePrime=r.prototype.isProbablePrime,r.prototype.modInv=function(t){for(var e,r,i,o=n.zero,s=n.one,a=W(t),u=this.abs();!u.equals(n.zero);)e=a.divide(u),r=o,i=a,o=s,a=u,s=r.subtract(e.multiply(s)),u=i.subtract(e.multiply(u));if(!a.equals(1))throw new Error(this.toString()+" and "+t.toString()+" are not co-prime");return-1===o.compare(0)&&(o=o.add(t)),this.isNegative()?o.negate():o},i.prototype.modInv=r.prototype.modInv,r.prototype.next=function(){var t=this.value;return this.sign?v(t,1,this.sign):new r(p(t,1),this.sign)},i.prototype.next=function(){var t=this.value;return t+1<Y?new i(t+1):new r(K,!1)},r.prototype.prev=function(){var t=this.value;return this.sign?new r(p(t,1),!0):v(t,1,this.sign)},i.prototype.prev=function(){var t=this.value;return t-1>-Y?new i(t-1):new r(K,!0)};for(var J=[1];J[J.length-1]<=Z;)J.push(2*J[J.length-1]);var X=J.length,G=J[X-1];r.prototype.shiftLeft=function(t){if(!C(t))throw new Error(String(t)+" is too large for shifting.");if((t=+t)<0)return this.shiftRight(-t);for(var e=this;t>=X;)e=e.multiply(G),t-=X-1;return e.multiply(J[t])},i.prototype.shiftLeft=r.prototype.shiftLeft,r.prototype.shiftRight=function(t){var e;if(!C(t))throw new Error(String(t)+" is too large for shifting.");if((t=+t)<0)return this.shiftLeft(-t);for(var r=this;t>=X;){if(r.isZero())return r;r=(e=k(r,G))[1].isNegative()?e[0].prev():e[0],t-=X-1}return e=k(r,J[t]),e[1].isNegative()?e[0].prev():e[0]},i.prototype.shiftRight=r.prototype.shiftRight,r.prototype.not=function(){return this.negate().prev()},i.prototype.not=r.prototype.not,r.prototype.and=function(t){return T(this,t,function(t,e){return t&e})},i.prototype.and=r.prototype.and,r.prototype.or=function(t){return T(this,t,function(t,e){return t|e})},i.prototype.or=r.prototype.or,r.prototype.xor=function(t){return T(this,t,function(t,e){return t^e})},i.prototype.xor=r.prototype.xor;var Q=1<<30,$=(Z&-Z)*(Z&-Z)|Q,tt=function(t,e){var r=t.length;if(2<=e&&e<=36&&r<=V/Math.log(e))return new i(parseInt(t,e));e=W(e);var n,o=[],s="-"===t[0];for(n=s?1:0;n<t.length;n++){var a=t[n].toLowerCase(),u=a.charCodeAt(0);if(48<=u&&u<=57)o.push(W(a));else if(97<=u&&u<=122)o.push(W(a.charCodeAt(0)-87));else{if("<"!==a)throw new Error(a+" is not a valid character");var h=n;do{n++}while(">"!==t[n]);o.push(W(t.slice(h+1,n)))}}return U(o,e,s)};r.prototype.toString=function(t){if(void 0===t&&(t=10),10!==t)return D(this,t);for(var e,r=this.value,n=r.length,i=String(r[--n]);--n>=0;)e=String(r[n]),i+="0000000".slice(e.length)+e;return(this.sign?"-":"")+i},i.prototype.toString=function(t){return void 0===t&&(t=10),10!=t?D(this,t):String(this.value)},r.prototype.valueOf=function(){return+this.toString()},r.prototype.toJSNumber=r.prototype.valueOf,i.prototype.valueOf=function(){return this.value},i.prototype.toJSNumber=i.prototype.valueOf;for(var et=0;et<1e3;et++)e[et]=new i(et),et>0&&(e[-et]=new i(-et));return e.one=e[1],e.zero=e[0],e.minusOne=e[-1],e.max=R,e.min=I,e.gcd=O,e.lcm=q,e.isInstance=function(t){return t instanceof r||t instanceof i},e.randBetween=P,e.fromArray=function(t,e,r){return U(t.map(W),W(e||10),r)},e}();void 0!==e&&e.hasOwnProperty("exports")&&(e.exports=n)},{}],3:[function(t,e,r){},{}],4:[function(t,e,r){(function(e){"use strict";var n=t("buffer"),i=n.Buffer,o=n.SlowBuffer,s=n.kMaxLength||2147483647;r.alloc=function(t,e,r){if("function"==typeof i.alloc)return i.alloc(t,e,r);if("number"==typeof r)throw new TypeError("encoding must not be number");if("number"!=typeof t)throw new TypeError("size must be a number");if(t>s)throw new RangeError("size is too large");var n=r,o=e;void 0===o&&(n=void 0,o=0);var a=new i(t);if("string"==typeof o)for(var u=new i(o,n),h=u.length,f=-1;++f<t;)a[f]=u[f%h];else a.fill(o);return a},r.allocUnsafe=function(t){if("function"==typeof i.allocUnsafe)return i.allocUnsafe(t);if("number"!=typeof t)throw new TypeError("size must be a number");if(t>s)throw new RangeError("size is too large");return new i(t)},r.from=function(t,r,n){if("function"==typeof i.from&&(!e.Uint8Array||Uint8Array.from!==i.from))return i.from(t,r,n);if("number"==typeof t)throw new TypeError('"value" argument must not be a number');if("string"==typeof t)return new i(t,r);if("undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer){var o=r;if(1===arguments.length)return new i(t);void 0===o&&(o=0);var s=n;if(void 0===s&&(s=t.byteLength-o),o>=t.byteLength)throw new RangeError("'offset' is out of bounds");if(s>t.byteLength-o)throw new RangeError("'length' is out of bounds");return new i(t.slice(o,o+s))}if(i.isBuffer(t)){var a=new i(t.length);return t.copy(a,0,0,t.length),a}if(t){if(Array.isArray(t)||"undefined"!=typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return new i(t);if("Buffer"===t.type&&Array.isArray(t.data))return new i(t.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")},r.allocUnsafeSlow=function(t){if("function"==typeof i.allocUnsafeSlow)return i.allocUnsafeSlow(t);if("number"!=typeof t)throw new TypeError("size must be a number");if(t>=s)throw new RangeError("size is too large");return new o(t)}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{buffer:5}],5:[function(t,e,r){"use strict";function n(t){if(t>J)throw new RangeError("Invalid typed array length");var e=new Uint8Array(t);return e.__proto__=i.prototype,e}function i(t,e,r){if("number"==typeof t){if("string"==typeof e)throw new Error("If encoding is specified then the first argument must be a string");return u(t)}return o(t,e,r)}function o(t,e,r){if("number"==typeof t)throw new TypeError('"value" argument must not be a number');return t instanceof ArrayBuffer?l(t,e,r):"string"==typeof t?h(t,e):c(t)}function s(t){if("number"!=typeof t)throw new TypeError('"size" argument must be a number');if(t<0)throw new RangeError('"size" argument must not be negative')}function a(t,e,r){return s(t),t<=0?n(t):void 0!==e?"string"==typeof r?n(t).fill(e,r):n(t).fill(e):n(t)}function u(t){return s(t),n(t<0?0:0|p(t))}function h(t,e){if("string"==typeof e&&""!==e||(e="utf8"),!i.isEncoding(e))throw new TypeError('"encoding" must be a valid string encoding');var r=0|g(t,e),o=n(r),s=o.write(t,e);return s!==r&&(o=o.slice(0,s)),o}function f(t){for(var e=t.length<0?0:0|p(t.length),r=n(e),i=0;i<e;i+=1)r[i]=255&t[i];return r}function l(t,e,r){if(e<0||t.byteLength<e)throw new RangeError("'offset' is out of bounds");if(t.byteLength<e+(r||0))throw new RangeError("'length' is out of bounds");var n;return n=void 0===e&&void 0===r?new Uint8Array(t):void 0===r?new Uint8Array(t,e):new Uint8Array(t,e,r),n.__proto__=i.prototype,n}function c(t){if(i.isBuffer(t)){var e=0|p(t.length),r=n(e);return 0===r.length?r:(t.copy(r,0,0,e),r)}if(t){if(H(t)||"length"in t)return"number"!=typeof t.length||Y(t.length)?n(0):f(t);if("Buffer"===t.type&&Array.isArray(t.data))return f(t.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function p(t){if(t>=J)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+J.toString(16)+" bytes");return 0|t}function d(t){return+t!=t&&(t=0),i.alloc(+t)}function g(t,e){if(i.isBuffer(t))return t.length;if(H(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 D(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return W(t).length;default:if(n)return D(t).length;e=(""+e).toLowerCase(),n=!0}}function v(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 T(this,e,r);case"utf8":case"utf-8":return k(this,e,r);case"ascii":return L(this,e,r);case"latin1":case"binary":return C(this,e,r);case"base64":return A(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return j(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}function y(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}function w(t,e,r,n,o){if(0===t.length)return-1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,Y(r)&&(r=o?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(o)return-1;r=t.length-1}else if(r<0){if(!o)return-1;r=0}if("string"==typeof e&&(e=i.from(e,n)),i.isBuffer(e))return 0===e.length?-1:b(t,e,r,n,o);if("number"==typeof e)return e&=255,"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):b(t,[e],r,n,o);throw new TypeError("val must be string, number or Buffer")}function b(t,e,r,n,i){function o(t,e){return 1===s?t[e]:t.readUInt16BE(e*s)}var s=1,a=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;s=2,a/=2,u/=2,r/=2}var h;if(i){var f=-1;for(h=r;h<a;h++)if(o(t,h)===o(e,-1===f?0:h-f)){if(-1===f&&(f=h),h-f+1===u)return f*s}else-1!==f&&(h-=h-f),f=-1}else for(r+u>a&&(r=a-u),h=r;h>=0;h--){for(var l=!0,c=0;c<u;c++)if(o(t,h+c)!==o(e,c)){l=!1;break}if(l)return h}return-1}function _(t,e,r,n){r=Number(r)||0;var i=t.length-r;n?(n=Number(n))>i&&(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 s=0;s<n;++s){var a=parseInt(e.substr(2*s,2),16);if(Y(a))return s;t[r+s]=a}return s}function m(t,e,r,n){return Z(D(e,t.length-r),t,r,n)}function E(t,e,r,n){return Z(z(e),t,r,n)}function S(t,e,r,n){return E(t,e,r,n)}function x(t,e,r,n){return Z(W(e),t,r,n)}function B(t,e,r,n){return Z(F(e,t.length-r),t,r,n)}function A(t,e,r){return 0===e&&r===t.length?K.fromByteArray(t):K.fromByteArray(t.slice(e,r))}function k(t,e,r){r=Math.min(t.length,r);for(var n=[],i=e;i<r;){var o=t[i],s=null,a=o>239?4:o>223?3:o>191?2:1;if(i+a<=r){var u,h,f,l;switch(a){case 1:o<128&&(s=o);break;case 2:128==(192&(u=t[i+1]))&&(l=(31&o)<<6|63&u)>127&&(s=l);break;case 3:u=t[i+1],h=t[i+2],128==(192&u)&&128==(192&h)&&(l=(15&o)<<12|(63&u)<<6|63&h)>2047&&(l<55296||l>57343)&&(s=l);break;case 4:u=t[i+1],h=t[i+2],f=t[i+3],128==(192&u)&&128==(192&h)&&128==(192&f)&&(l=(15&o)<<18|(63&u)<<12|(63&h)<<6|63&f)>65535&&l<1114112&&(s=l)}}null===s?(s=65533,a=1):s>65535&&(s-=65536,n.push(s>>>10&1023|55296),s=56320|1023&s),n.push(s),i+=a}return M(n)}function M(t){var e=t.length;if(e<=X)return String.fromCharCode.apply(String,t);for(var r="",n=0;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=X));return r}function L(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(127&t[i]);return n}function C(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(t[i]);return n}function T(t,e,r){var n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);for(var i="",o=e;o<r;++o)i+=N(t[o]);return i}function j(t,e,r){for(var n=t.slice(e,r),i="",o=0;o<n.length;o+=2)i+=String.fromCharCode(n[o]+256*n[o+1]);return i}function R(t,e,r){if(t%1!=0||t<0)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}function I(t,e,r,n,o,s){if(!i.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>o||e<s)throw new RangeError('"value" argument is out of bounds');if(r+n>t.length)throw new RangeError("Index out of range")}function O(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 e=+e,r>>>=0,i||O(t,e,r,4,3.4028234663852886e38,-3.4028234663852886e38),V.write(t,e,r,n,23,4),r+4}function P(t,e,r,n,i){return e=+e,r>>>=0,i||O(t,e,r,8,1.7976931348623157e308,-1.7976931348623157e308),V.write(t,e,r,n,52,8),r+8}function U(t){if((t=t.trim().replace(G,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}function N(t){return t<16?"0"+t.toString(16):t.toString(16)}function D(t,e){e=e||1/0;for(var r,n=t.length,i=null,o=[],s=0;s<n;++s){if((r=t.charCodeAt(s))>55295&&r<57344){if(!i){if(r>56319){(e-=3)>-1&&o.push(239,191,189);continue}if(s+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 z(t){for(var e=[],r=0;r<t.length;++r)e.push(255&t.charCodeAt(r));return e}function F(t,e){for(var r,n,i,o=[],s=0;s<t.length&&!((e-=2)<0);++s)n=(r=t.charCodeAt(s))>>8,i=r%256,o.push(i),o.push(n);return o}function W(t){return K.toByteArray(U(t))}function Z(t,e,r,n){for(var i=0;i<n&&!(i+r>=e.length||i>=t.length);++i)e[i+r]=t[i];return i}function H(t){return"function"==typeof ArrayBuffer.isView&&ArrayBuffer.isView(t)}function Y(t){return t!==t}var K=t("base64-js"),V=t("ieee754");r.Buffer=i,r.SlowBuffer=d,r.INSPECT_MAX_BYTES=50;var J=2147483647;r.kMaxLength=J,i.TYPED_ARRAY_SUPPORT=function(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===t.foo()}catch(t){return!1}}(),i.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),"undefined"!=typeof Symbol&&Symbol.species&&i[Symbol.species]===i&&Object.defineProperty(i,Symbol.species,{value:null,configurable:!0,enumerable:!1,writable:!1}),i.poolSize=8192,i.from=function(t,e,r){return o(t,e,r)},i.prototype.__proto__=Uint8Array.prototype,i.__proto__=Uint8Array,i.alloc=function(t,e,r){return a(t,e,r)},i.allocUnsafe=function(t){return u(t)},i.allocUnsafeSlow=function(t){return u(t)},i.isBuffer=function(t){return null!=t&&!0===t._isBuffer},i.compare=function(t,e){if(!i.isBuffer(t)||!i.isBuffer(e))throw new TypeError("Arguments must be Buffers");if(t===e)return 0;for(var r=t.length,n=e.length,o=0,s=Math.min(r,n);o<s;++o)if(t[o]!==e[o]){r=t[o],n=e[o];break}return r<n?-1:n<r?1:0},i.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},i.concat=function(t,e){if(!Array.isArray(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return i.alloc(0);var r;if(void 0===e)for(e=0,r=0;r<t.length;++r)e+=t[r].length;var n=i.allocUnsafe(e),o=0;for(r=0;r<t.length;++r){var s=t[r];if(!i.isBuffer(s))throw new TypeError('"list" argument must be an Array of Buffers');s.copy(n,o),o+=s.length}return n},i.byteLength=g,i.prototype._isBuffer=!0,i.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<t;e+=2)y(this,e,e+1);return this},i.prototype.swap32=function(){var t=this.length;if(t%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<t;e+=4)y(this,e,e+3),y(this,e+1,e+2);return this},i.prototype.swap64=function(){var t=this.length;if(t%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<t;e+=8)y(this,e,e+7),y(this,e+1,e+6),y(this,e+2,e+5),y(this,e+3,e+4);return this},i.prototype.toString=function(){var t=this.length;return 0===t?"":0===arguments.length?k(this,0,t):v.apply(this,arguments)},i.prototype.equals=function(t){if(!i.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t||0===i.compare(this,t)},i.prototype.inspect=function(){var t="",e=r.INSPECT_MAX_BYTES;return this.length>0&&(t=this.toString("hex",0,e).match(/.{2}/g).join(" "),this.length>e&&(t+=" ... ")),"<Buffer "+t+">"},i.prototype.compare=function(t,e,r,n,o){if(!i.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===o&&(o=this.length),e<0||r>t.length||n<0||o>this.length)throw new RangeError("out of range index");if(n>=o&&e>=r)return 0;if(n>=o)return-1;if(e>=r)return 1;if(e>>>=0,r>>>=0,n>>>=0,o>>>=0,this===t)return 0;for(var s=o-n,a=r-e,u=Math.min(s,a),h=this.slice(n,o),f=t.slice(e,r),l=0;l<u;++l)if(h[l]!==f[l]){s=h[l],a=f[l];break}return s<a?-1:a<s?1:0},i.prototype.includes=function(t,e,r){return-1!==this.indexOf(t,e,r)},i.prototype.indexOf=function(t,e,r){return w(this,t,e,r,!0)},i.prototype.lastIndexOf=function(t,e,r){return w(this,t,e,r,!1)},i.prototype.write=function(t,e,r,n){if(void 0===e)n="utf8",r=this.length,e=0;else if(void 0===r&&"string"==typeof e)n=e,r=this.length,e=0;else{if(!isFinite(e))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");e>>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}var i=this.length-e;if((void 0===r||r>i)&&(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 m(this,t,e,r);case"ascii":return E(this,t,e,r);case"latin1":case"binary":return S(this,t,e,r);case"base64":return x(this,t,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return B(this,t,e,r);default:if(o)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),o=!0}},i.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var X=4096;i.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),e<t&&(e=t);var n=this.subarray(t,e);return n.__proto__=i.prototype,n},i.prototype.readUIntLE=function(t,e,r){t>>>=0,e>>>=0,r||R(t,e,this.length);for(var n=this[t],i=1,o=0;++o<e&&(i*=256);)n+=this[t+o]*i;return n},i.prototype.readUIntBE=function(t,e,r){t>>>=0,e>>>=0,r||R(t,e,this.length);for(var n=this[t+--e],i=1;e>0&&(i*=256);)n+=this[t+--e]*i;return n},i.prototype.readUInt8=function(t,e){return t>>>=0,e||R(t,1,this.length),this[t]},i.prototype.readUInt16LE=function(t,e){return t>>>=0,e||R(t,2,this.length),this[t]|this[t+1]<<8},i.prototype.readUInt16BE=function(t,e){return t>>>=0,e||R(t,2,this.length),this[t]<<8|this[t+1]},i.prototype.readUInt32LE=function(t,e){return t>>>=0,e||R(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},i.prototype.readUInt32BE=function(t,e){return t>>>=0,e||R(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},i.prototype.readIntLE=function(t,e,r){t>>>=0,e>>>=0,r||R(t,e,this.length);for(var n=this[t],i=1,o=0;++o<e&&(i*=256);)n+=this[t+o]*i;return i*=128,n>=i&&(n-=Math.pow(2,8*e)),n},i.prototype.readIntBE=function(t,e,r){t>>>=0,e>>>=0,r||R(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},i.prototype.readInt8=function(t,e){return t>>>=0,e||R(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},i.prototype.readInt16LE=function(t,e){t>>>=0,e||R(t,2,this.length);var r=this[t]|this[t+1]<<8;return 32768&r?4294901760|r:r},i.prototype.readInt16BE=function(t,e){t>>>=0,e||R(t,2,this.length);var r=this[t+1]|this[t]<<8;return 32768&r?4294901760|r:r},i.prototype.readInt32LE=function(t,e){return t>>>=0,e||R(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},i.prototype.readInt32BE=function(t,e){return t>>>=0,e||R(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},i.prototype.readFloatLE=function(t,e){return t>>>=0,e||R(t,4,this.length),V.read(this,t,!0,23,4)},i.prototype.readFloatBE=function(t,e){return t>>>=0,e||R(t,4,this.length),V.read(this,t,!1,23,4)},i.prototype.readDoubleLE=function(t,e){return t>>>=0,e||R(t,8,this.length),V.read(this,t,!0,52,8)},i.prototype.readDoubleBE=function(t,e){return t>>>=0,e||R(t,8,this.length),V.read(this,t,!1,52,8)},i.prototype.writeUIntLE=function(t,e,r,n){t=+t,e>>>=0,r>>>=0,n||I(this,t,e,r,Math.pow(2,8*r)-1,0);var i=1,o=0;for(this[e]=255&t;++o<r&&(i*=256);)this[e+o]=t/i&255;return e+r},i.prototype.writeUIntBE=function(t,e,r,n){t=+t,e>>>=0,r>>>=0,n||I(this,t,e,r,Math.pow(2,8*r)-1,0);var i=r-1,o=1;for(this[e+i]=255&t;--i>=0&&(o*=256);)this[e+i]=t/o&255;return e+r},i.prototype.writeUInt8=function(t,e,r){return t=+t,e>>>=0,r||I(this,t,e,1,255,0),this[e]=255&t,e+1},i.prototype.writeUInt16LE=function(t,e,r){return t=+t,e>>>=0,r||I(this,t,e,2,65535,0),this[e]=255&t,this[e+1]=t>>>8,e+2},i.prototype.writeUInt16BE=function(t,e,r){return t=+t,e>>>=0,r||I(this,t,e,2,65535,0),this[e]=t>>>8,this[e+1]=255&t,e+2},i.prototype.writeUInt32LE=function(t,e,r){return t=+t,e>>>=0,r||I(this,t,e,4,4294967295,0),this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t,e+4},i.prototype.writeUInt32BE=function(t,e,r){return t=+t,e>>>=0,r||I(this,t,e,4,4294967295,0),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},i.prototype.writeIntLE=function(t,e,r,n){if(t=+t,e>>>=0,!n){var i=Math.pow(2,8*r-1);I(this,t,e,r,i-1,-i)}var o=0,s=1,a=0;for(this[e]=255&t;++o<r&&(s*=256);)t<0&&0===a&&0!==this[e+o-1]&&(a=1),this[e+o]=(t/s>>0)-a&255;return e+r},i.prototype.writeIntBE=function(t,e,r,n){if(t=+t,e>>>=0,!n){var i=Math.pow(2,8*r-1);I(this,t,e,r,i-1,-i)}var o=r-1,s=1,a=0;for(this[e+o]=255&t;--o>=0&&(s*=256);)t<0&&0===a&&0!==this[e+o+1]&&(a=1),this[e+o]=(t/s>>0)-a&255;return e+r},i.prototype.writeInt8=function(t,e,r){return t=+t,e>>>=0,r||I(this,t,e,1,127,-128),t<0&&(t=255+t+1),this[e]=255&t,e+1},i.prototype.writeInt16LE=function(t,e,r){return t=+t,e>>>=0,r||I(this,t,e,2,32767,-32768),this[e]=255&t,this[e+1]=t>>>8,e+2},i.prototype.writeInt16BE=function(t,e,r){return t=+t,e>>>=0,r||I(this,t,e,2,32767,-32768),this[e]=t>>>8,this[e+1]=255&t,e+2},i.prototype.writeInt32LE=function(t,e,r){return t=+t,e>>>=0,r||I(this,t,e,4,2147483647,-2147483648),this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24,e+4},i.prototype.writeInt32BE=function(t,e,r){return t=+t,e>>>=0,r||I(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},i.prototype.writeFloatLE=function(t,e,r){return q(this,t,e,!0,r)},i.prototype.writeFloatBE=function(t,e,r){return q(this,t,e,!1,r)},i.prototype.writeDoubleLE=function(t,e,r){return P(this,t,e,!0,r)},i.prototype.writeDoubleBE=function(t,e,r){return P(this,t,e,!1,r)},i.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<r&&(n=r),n===r)return 0;if(0===t.length||0===this.length)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=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<n-r&&(n=t.length-e+r);var i,o=n-r;if(this===t&&r<e&&e<n)for(i=o-1;i>=0;--i)t[i+e]=this[i+r];else if(o<1e3)for(i=0;i<o;++i)t[i+e]=this[i+r];else Uint8Array.prototype.set.call(t,this.subarray(r,r+o),e);return o},i.prototype.fill=function(t,e,r,n){if("string"==typeof t){if("string"==typeof e?(n=e,e=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),1===t.length){var o=t.charCodeAt(0);o<256&&(t=o)}if(void 0!==n&&"string"!=typeof n)throw new TypeError("encoding must be a string");if("string"==typeof n&&!i.isEncoding(n))throw new TypeError("Unknown encoding: "+n)}else"number"==typeof t&&(t&=255);if(e<0||this.length<e||this.length<r)throw new RangeError("Out of range index");if(r<=e)return this;e>>>=0,r=void 0===r?this.length:r>>>0,t||(t=0);var s;if("number"==typeof t)for(s=e;s<r;++s)this[s]=t;else{var a=i.isBuffer(t)?t:new i(t,n),u=a.length;for(s=0;s<r-e;++s)this[s+e]=a[s%u]}return this};var G=/[^+\/0-9A-Za-z-_]/g},{"base64-js":1,ieee754:14}],6:[function(t,e,r){(function(r){function n(t){i.call(this),this.hashMode="string"==typeof t,this.hashMode?this[t]=this._finalOrDigest:this.final=this._finalOrDigest,this._decoder=null,this._encoding=null}var i=t("stream").Transform,o=t("inherits"),s=t("string_decoder").StringDecoder;e.exports=n,o(n,i),n.prototype.update=function(t,e,n){"string"==typeof t&&(t=new r(t,e));var i=this._update(t);return this.hashMode?this:(n&&(i=this._toString(i,n)),i)},n.prototype.setAutoPadding=function(){},n.prototype.getAuthTag=function(){throw new Error("trying to get auth tag in unsupported state")},n.prototype.setAuthTag=function(){throw new Error("trying to set auth tag in unsupported state")},n.prototype.setAAD=function(){throw new Error("trying to set aad in unsupported state")},n.prototype._transform=function(t,e,r){var n;try{this.hashMode?this._update(t):this.push(this._update(t))}catch(t){n=t}finally{r(n)}},n.prototype._flush=function(t){var e;try{this.push(this._final())}catch(t){e=t}finally{t(e)}},n.prototype._finalOrDigest=function(t){var e=this._final()||new r("");return t&&(e=this._toString(e,t,!0)),e},n.prototype._toString=function(t,e,r){if(this._decoder||(this._decoder=new s(e),this._encoding=e),this._encoding!==e)throw new Error("can't switch encodings");var n=this._decoder.write(t);return r&&(n+=this._decoder.end()),n}}).call(this,t("buffer").Buffer)},{buffer:5,inherits:15,stream:45,string_decoder:46}],7:[function(t,e,r){(function(t){function e(t){return Array.isArray?Array.isArray(t):"[object Array]"===v(t)}function n(t){return"boolean"==typeof t}function i(t){return null===t}function o(t){return null==t}function s(t){return"number"==typeof t}function a(t){return"string"==typeof t}function u(t){return"symbol"==typeof t}function h(t){return void 0===t}function f(t){return"[object RegExp]"===v(t)}function l(t){return"object"==typeof t&&null!==t}function c(t){return"[object Date]"===v(t)}function p(t){return"[object Error]"===v(t)||t instanceof Error}function d(t){return"function"==typeof t}function g(t){return null===t||"boolean"==typeof t||"number"==typeof t||"string"==typeof t||"symbol"==typeof t||void 0===t}function v(t){return Object.prototype.toString.call(t)}r.isArray=e,r.isBoolean=n,r.isNull=i,r.isNullOrUndefined=o,r.isNumber=s,r.isString=a,r.isSymbol=u,r.isUndefined=h,r.isRegExp=f,r.isObject=l,r.isDate=c,r.isError=p,r.isFunction=d,r.isPrimitive=g,r.isBuffer=t.isBuffer}).call(this,{isBuffer:t("../../is-buffer/index.js")})},{"../../is-buffer/index.js":16}],8:[function(t,e,r){(function(r){"use strict";function n(t){h.call(this,"digest"),this._hash=t,this.buffers=[]}function i(t){h.call(this,"digest"),this._hash=t}var o=t("inherits"),s=t("./md5"),a=t("ripemd160"),u=t("sha.js"),h=t("cipher-base");o(n,h),n.prototype._update=function(t){this.buffers.push(t)},n.prototype._final=function(){var t=r.concat(this.buffers),e=this._hash(t);return this.buffers=null,e},o(i,h),i.prototype._update=function(t){this._hash.update(t)},i.prototype._final=function(){return this._hash.digest()},e.exports=function(t){return t=t.toLowerCase(),"md5"===t?new n(s):"rmd160"===t||"ripemd160"===t?new n(a):new i(u(t))}}).call(this,t("buffer").Buffer)},{"./md5":10,buffer:5,"cipher-base":6,inherits:15,ripemd160:36,"sha.js":38}],9:[function(t,e,r){(function(t){"use strict";function e(e,r){if(e.length%o!=0){var n=e.length+(o-e.length%o);e=t.concat([e,s],n)}for(var i=[],a=r?e.readInt32BE:e.readInt32LE,u=0;u<e.length;u+=o)i.push(a.call(e,u));return i}function n(e,r,n){for(var i=new t(r),o=n?i.writeInt32BE:i.writeInt32LE,s=0;s<e.length;s++)o.call(i,e[s],4*s,!0);return i}function i(r,i,o,s){return t.isBuffer(r)||(r=new t(r)),n(i(e(r,s),r.length*a),o,s)}var o=4,s=new t(o);s.fill(0);var a=8;r.hash=i}).call(this,t("buffer").Buffer)},{buffer:5}],10:[function(t,e,r){"use strict";function n(t,e){t[e>>5]|=128<<e%32,t[14+(e+64>>>9<<4)]=e;for(var r=1732584193,n=-271733879,i=-1732584194,f=271733878,l=0;l<t.length;l+=16){var c=r,p=n,d=i,g=f;n=u(n=u(n=u(n=u(n=a(n=a(n=a(n=a(n=s(n=s(n=s(n=s(n=o(n=o(n=o(n=o(n,i=o(i,f=o(f,r=o(r,n,i,f,t[l+0],7,-680876936),n,i,t[l+1],12,-389564586),r,n,t[l+2],17,606105819),f,r,t[l+3],22,-1044525330),i=o(i,f=o(f,r=o(r,n,i,f,t[l+4],7,-176418897),n,i,t[l+5],12,1200080426),r,n,t[l+6],17,-1473231341),f,r,t[l+7],22,-45705983),i=o(i,f=o(f,r=o(r,n,i,f,t[l+8],7,1770035416),n,i,t[l+9],12,-1958414417),r,n,t[l+10],17,-42063),f,r,t[l+11],22,-1990404162),i=o(i,f=o(f,r=o(r,n,i,f,t[l+12],7,1804603682),n,i,t[l+13],12,-40341101),r,n,t[l+14],17,-1502002290),f,r,t[l+15],22,1236535329),i=s(i,f=s(f,r=s(r,n,i,f,t[l+1],5,-165796510),n,i,t[l+6],9,-1069501632),r,n,t[l+11],14,643717713),f,r,t[l+0],20,-373897302),i=s(i,f=s(f,r=s(r,n,i,f,t[l+5],5,-701558691),n,i,t[l+10],9,38016083),r,n,t[l+15],14,-660478335),f,r,t[l+4],20,-405537848),i=s(i,f=s(f,r=s(r,n,i,f,t[l+9],5,568446438),n,i,t[l+14],9,-1019803690),r,n,t[l+3],14,-187363961),f,r,t[l+8],20,1163531501),i=s(i,f=s(f,r=s(r,n,i,f,t[l+13],5,-1444681467),n,i,t[l+2],9,-51403784),r,n,t[l+7],14,1735328473),f,r,t[l+12],20,-1926607734),i=a(i,f=a(f,r=a(r,n,i,f,t[l+5],4,-378558),n,i,t[l+8],11,-2022574463),r,n,t[l+11],16,1839030562),f,r,t[l+14],23,-35309556),i=a(i,f=a(f,r=a(r,n,i,f,t[l+1],4,-1530992060),n,i,t[l+4],11,1272893353),r,n,t[l+7],16,-155497632),f,r,t[l+10],23,-1094730640),i=a(i,f=a(f,r=a(r,n,i,f,t[l+13],4,681279174),n,i,t[l+0],11,-358537222),r,n,t[l+3],16,-722521979),f,r,t[l+6],23,76029189),i=a(i,f=a(f,r=a(r,n,i,f,t[l+9],4,-640364487),n,i,t[l+12],11,-421815835),r,n,t[l+15],16,530742520),f,r,t[l+2],23,-995338651),i=u(i,f=u(f,r=u(r,n,i,f,t[l+0],6,-198630844),n,i,t[l+7],10,1126891415),r,n,t[l+14],15,-1416354905),f,r,t[l+5],21,-57434055),i=u(i,f=u(f,r=u(r,n,i,f,t[l+12],6,1700485571),n,i,t[l+3],10,-1894986606),r,n,t[l+10],15,-1051523),f,r,t[l+1],21,-2054922799),i=u(i,f=u(f,r=u(r,n,i,f,t[l+8],6,1873313359),n,i,t[l+15],10,-30611744),r,n,t[l+6],15,-1560198380),f,r,t[l+13],21,1309151649),i=u(i,f=u(f,r=u(r,n,i,f,t[l+4],6,-145523070),n,i,t[l+11],10,-1120210379),r,n,t[l+2],15,718787259),f,r,t[l+9],21,-343485551),r=h(r,c),n=h(n,p),i=h(i,d),f=h(f,g)}return Array(r,n,i,f)}function i(t,e,r,n,i,o){return h(f(h(h(e,t),h(n,o)),i),r)}function o(t,e,r,n,o,s,a){return i(e&r|~e&n,t,e,o,s,a)}function s(t,e,r,n,o,s,a){return i(e&n|r&~n,t,e,o,s,a)}function a(t,e,r,n,o,s,a){return i(e^r^n,t,e,o,s,a)}function u(t,e,r,n,o,s,a){return i(r^(e|~n),t,e,o,s,a)}function h(t,e){var r=(65535&t)+(65535&e);return(t>>16)+(e>>16)+(r>>16)<<16|65535&r}function f(t,e){return t<<e|t>>>32-e}var l=t("./helpers");e.exports=function(t){return l.hash(t,n,16)}},{"./helpers":9}],11:[function(t,e,r){(function(r){"use strict";function n(t,e){s.call(this),t=t.toLowerCase(),"string"==typeof e&&(e=new r(e));var n="sha512"===t||"sha384"===t?128:64;this._alg=t,this._key=e,e.length>n?e=i(t).update(e).digest():e.length<n&&(e=r.concat([e,a],n));for(var o=this._ipad=new r(n),u=this._opad=new r(n),h=0;h<n;h++)o[h]=54^e[h],u[h]=92^e[h];this._hash=i(t).update(o)}var i=t("create-hash/browser"),o=t("inherits"),s=t("stream").Transform,a=new r(128);a.fill(0),o(n,s),n.prototype.update=function(t,e){return this._hash.update(t,e),this},n.prototype._transform=function(t,e,r){this._hash.update(t),r()},n.prototype._flush=function(t){this.push(this.digest()),t()},n.prototype.digest=function(t){var e=this._hash.digest();return i(this._alg).update(this._opad).update(e).digest(t)},e.exports=function(t,e){return new n(t,e)}}).call(this,t("buffer").Buffer)},{buffer:5,"create-hash/browser":8,inherits:15,stream:45}],12:[function(t,e,r){(function(n,i){!function(t,n){"object"==typeof r&&void 0!==e?e.exports=n():t.ES6Promise=n()}(this,function(){"use strict";function e(t){return"function"==typeof t||"object"==typeof t&&null!==t}function r(t){return"function"==typeof t}function o(t){H=t}function s(t){Y=t}function a(){return void 0!==Z?function(){Z(h)}:u()}function u(){var t=setTimeout;return function(){return t(h,1)}}function h(){for(var t=0;t<W;t+=2)(0,Q[t])(Q[t+1]),Q[t]=void 0,Q[t+1]=void 0;W=0}function f(t,e){var r=arguments,n=this,i=new this.constructor(c);void 0===i[tt]&&T(i);var o=n._state;return o?function(){var t=r[o-1];Y(function(){return M(o,i,t,n._result)})}():x(n,i,t,e),i}function l(t){var e=this;if(t&&"object"==typeof t&&t.constructor===e)return t;var r=new e(c);return _(r,t),r}function c(){}function p(){return new TypeError("You cannot resolve a promise with itself")}function d(){return new TypeError("A promises callback cannot return that same promise.")}function g(t){try{return t.then}catch(t){return it.error=t,it}}function v(t,e,r,n){try{t.call(e,r,n)}catch(t){return t}}function y(t,e,r){Y(function(t){var n=!1,i=v(r,e,function(r){n||(n=!0,e!==r?_(t,r):E(t,r))},function(e){n||(n=!0,S(t,e))},"Settle: "+(t._label||" unknown promise"));!n&&i&&(n=!0,S(t,i))},t)}function w(t,e){e._state===rt?E(t,e._result):e._state===nt?S(t,e._result):x(e,void 0,function(e){return _(t,e)},function(e){return S(t,e)})}function b(t,e,n){e.constructor===t.constructor&&n===f&&e.constructor.resolve===l?w(t,e):n===it?(S(t,it.error),it.error=null):void 0===n?E(t,e):r(n)?y(t,e,n):E(t,e)}function _(t,r){t===r?S(t,p()):e(r)?b(t,r,g(r)):E(t,r)}function m(t){t._onerror&&t._onerror(t._result),B(t)}function E(t,e){t._state===et&&(t._result=e,t._state=rt,0!==t._subscribers.length&&Y(B,t))}function S(t,e){t._state===et&&(t._state=nt,t._result=e,Y(m,t))}function x(t,e,r,n){var i=t._subscribers,o=i.length;t._onerror=null,i[o]=e,i[o+rt]=r,i[o+nt]=n,0===o&&t._state&&Y(B,t)}function B(t){var e=t._subscribers,r=t._state;if(0!==e.length){for(var n=void 0,i=void 0,o=t._result,s=0;s<e.length;s+=3)n=e[s],i=e[s+r],n?M(r,n,i,o):i(o);t._subscribers.length=0}}function A(){this.error=null}function k(t,e){try{return t(e)}catch(t){return ot.error=t,ot}}function M(t,e,n,i){var o=r(n),s=void 0,a=void 0,u=void 0,h=void 0;if(o){if(s=k(n,i),s===ot?(h=!0,a=s.error,s.error=null):u=!0,e===s)return void S(e,d())}else s=i,u=!0;e._state!==et||(o&&u?_(e,s):h?S(e,a):t===rt?E(e,s):t===nt&&S(e,s))}function L(t,e){try{e(function(e){_(t,e)},function(e){S(t,e)})}catch(e){S(t,e)}}function C(){return st++}function T(t){t[tt]=st++,t._state=void 0,t._result=void 0,t._subscribers=[]}function j(t,e){this._instanceConstructor=t,this.promise=new t(c),this.promise[tt]||T(this.promise),F(e)?(this._input=e,this.length=e.length,this._remaining=e.length,this._result=new Array(this.length),0===this.length?E(this.promise,this._result):(this.length=this.length||0,this._enumerate(),0===this._remaining&&E(this.promise,this._result))):S(this.promise,R())}function R(){return new Error("Array Methods must be provided an Array")}function I(t){return new j(this,t).promise}function O(t){var e=this;return new e(F(t)?function(r,n){for(var i=t.length,o=0;o<i;o++)e.resolve(t[o]).then(r,n)}:function(t,e){return e(new TypeError("You must pass an array to race."))})}function q(t){var e=new this(c);return S(e,t),e}function P(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function U(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}function N(t){this[tt]=C(),this._result=this._state=void 0,this._subscribers=[],c!==t&&("function"!=typeof t&&P(),this instanceof N?L(this,t):U())}function D(){var t=void 0;if(void 0!==i)t=i;else if("undefined"!=typeof self)t=self;else try{t=Function("return this")()}catch(t){throw new Error("polyfill failed because global object is unavailable in this environment")}var e=t.Promise;if(e){var r=null;try{r=Object.prototype.toString.call(e.resolve())}catch(t){}if("[object Promise]"===r&&!e.cast)return}t.Promise=N}var z=void 0,F=z=Array.isArray?Array.isArray:function(t){return"[object Array]"===Object.prototype.toString.call(t)},W=0,Z=void 0,H=void 0,Y=function(t,e){Q[W]=t,Q[W+1]=e,2===(W+=2)&&(H?H(h):$())},K="undefined"!=typeof window?window:void 0,V=K||{},J=V.MutationObserver||V.WebKitMutationObserver,X="undefined"==typeof self&&void 0!==n&&"[object process]"==={}.toString.call(n),G="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel,Q=new Array(1e3),$=void 0;$=X?function(){return function(){return n.nextTick(h)}}():J?function(){var t=0,e=new J(h),r=document.createTextNode("");return e.observe(r,{characterData:!0}),function(){r.data=t=++t%2}}():G?function(){var t=new MessageChannel;return t.port1.onmessage=h,function(){return t.port2.postMessage(0)}}():void 0===K&&"function"==typeof t?function(){try{var e=t("vertx");return Z=e.runOnLoop||e.runOnContext,a()}catch(t){return u()}}():u();var tt=Math.random().toString(36).substring(16),et=void 0,rt=1,nt=2,it=new A,ot=new A,st=0;return j.prototype._enumerate=function(){for(var t=this.length,e=this._input,r=0;this._state===et&&r<t;r++)this._eachEntry(e[r],r)},j.prototype._eachEntry=function(t,e){var r=this._instanceConstructor,n=r.resolve;if(n===l){var i=g(t);if(i===f&&t._state!==et)this._settledAt(t._state,e,t._result);else if("function"!=typeof i)this._remaining--,this._result[e]=t;else if(r===N){var o=new r(c);b(o,t,i),this._willSettleAt(o,e)}else this._willSettleAt(new r(function(e){return e(t)}),e)}else this._willSettleAt(n(t),e)},j.prototype._settledAt=function(t,e,r){var n=this.promise;n._state===et&&(this._remaining--,t===nt?S(n,r):this._result[e]=r),0===this._remaining&&E(n,this._result)},j.prototype._willSettleAt=function(t,e){var r=this;x(t,void 0,function(t){return r._settledAt(rt,e,t)},function(t){return r._settledAt(nt,e,t)})},N.all=I,N.race=O,N.resolve=l,N.reject=q,N._setScheduler=o,N._setAsap=s,N._asap=Y,N.prototype={constructor:N,then:f,catch:function(t){return this.then(null,t)}},N.polyfill=D,N.Promise=N,N})}).call(this,t("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{_process:22}],13:[function(t,e,r){function n(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}function i(t){return"function"==typeof t}function o(t){return"number"==typeof t}function s(t){return"object"==typeof t&&null!==t}function a(t){return void 0===t}e.exports=n,n.EventEmitter=n,n.prototype._events=void 0,n.prototype._maxListeners=void 0,n.defaultMaxListeners=10,n.prototype.setMaxListeners=function(t){if(!o(t)||t<0||isNaN(t))throw TypeError("n must be a positive number");return this._maxListeners=t,this},n.prototype.emit=function(t){var e,r,n,o,u,h;if(this._events||(this._events={}),"error"===t&&(!this._events.error||s(this._events.error)&&!this._events.error.length)){if((e=arguments[1])instanceof Error)throw e;var f=new Error('Uncaught, unspecified "error" event. ('+e+")");throw f.context=e,f}if(r=this._events[t],a(r))return!1;if(i(r))switch(arguments.length){case 1:r.call(this);break;case 2:r.call(this,arguments[1]);break;case 3:r.call(this,arguments[1],arguments[2]);break;default:o=Array.prototype.slice.call(arguments,1),r.apply(this,o)}else if(s(r))for(o=Array.prototype.slice.call(arguments,1),n=(h=r.slice()).length,u=0;u<n;u++)h[u].apply(this,o);return!0},n.prototype.addListener=function(t,e){var r;if(!i(e))throw TypeError("listener must be a function");return this._events||(this._events={}),this._events.newListener&&this.emit("newListener",t,i(e.listener)?e.listener:e),this._events[t]?s(this._events[t])?this._events[t].push(e):this._events[t]=[this._events[t],e]:this._events[t]=e,s(this._events[t])&&!this._events[t].warned&&(r=a(this._maxListeners)?n.defaultMaxListeners:this._maxListeners)&&r>0&&this._events[t].length>r&&(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},n.prototype.on=n.prototype.addListener,n.prototype.once=function(t,e){function r(){this.removeListener(t,r),n||(n=!0,e.apply(this,arguments))}if(!i(e))throw TypeError("listener must be a function");var n=!1;return r.listener=e,this.on(t,r),this},n.prototype.removeListener=function(t,e){var r,n,o,a;if(!i(e))throw TypeError("listener must be a function");if(!this._events||!this._events[t])return this;if(r=this._events[t],o=r.length,n=-1,r===e||i(r.listener)&&r.listener===e)delete this._events[t],this._events.removeListener&&this.emit("removeListener",t,e);else if(s(r)){for(a=o;a-- >0;)if(r[a]===e||r[a].listener&&r[a].listener===e){n=a;break}if(n<0)return this;1===r.length?(r.length=0,delete this._events[t]):r.splice(n,1),this._events.removeListener&&this.emit("removeListener",t,e)}return this},n.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],i(r))this.removeListener(t,r);else if(r)for(;r.length;)this.removeListener(t,r[r.length-1]);return delete this._events[t],this},n.prototype.listeners=function(t){return this._events&&this._events[t]?i(this._events[t])?[this._events[t]]:this._events[t].slice():[]},n.prototype.listenerCount=function(t){if(this._events){var e=this._events[t];if(i(e))return 1;if(e)return e.length}return 0},n.listenerCount=function(t,e){return t.listenerCount(e)}},{}],14:[function(t,e,r){r.read=function(t,e,r,n,i){var o,s,a=8*i-n-1,u=(1<<a)-1,h=u>>1,f=-7,l=r?i-1:0,c=r?-1:1,p=t[e+l];for(l+=c,o=p&(1<<-f)-1,p>>=-f,f+=a;f>0;o=256*o+t[e+l],l+=c,f-=8);for(s=o&(1<<-f)-1,o>>=-f,f+=n;f>0;s=256*s+t[e+l],l+=c,f-=8);if(0===o)o=1-h;else{if(o===u)return s?NaN:1/0*(p?-1:1);s+=Math.pow(2,n),o-=h}return(p?-1:1)*s*Math.pow(2,o-n)},r.write=function(t,e,r,n,i,o){var s,a,u,h=8*o-i-1,f=(1<<h)-1,l=f>>1,c=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,p=n?0:o-1,d=n?1:-1,g=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(a=isNaN(e)?1:0,s=f):(s=Math.floor(Math.log(e)/Math.LN2),e*(u=Math.pow(2,-s))<1&&(s--,u*=2),(e+=s+l>=1?c/u:c*Math.pow(2,1-l))*u>=2&&(s++,u/=2),s+l>=f?(a=0,s=f):s+l>=1?(a=(e*u-1)*Math.pow(2,i),s+=l):(a=e*Math.pow(2,l-1)*Math.pow(2,i),s=0));i>=8;t[r+p]=255&a,p+=d,a/=256,i-=8);for(s=s<<i|a,h+=i;h>0;t[r+p]=255&s,p+=d,s/=256,h-=8);t[r+p-d]|=128*g}},{}],15:[function(t,e,r){"function"==typeof Object.create?e.exports=function(t,e){t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}})}:e.exports=function(t,e){t.super_=e;var r=function(){};r.prototype=e.prototype,t.prototype=new r,t.prototype.constructor=t}},{}],16:[function(t,e,r){function n(t){return!!t.constructor&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}function i(t){return"function"==typeof t.readFloatLE&&"function"==typeof t.slice&&n(t.slice(0,0))}e.exports=function(t){return null!=t&&(n(t)||i(t)||!!t._isBuffer)}},{}],17:[function(t,e,r){var n={}.toString;e.exports=Array.isArray||function(t){return"[object Array]"==n.call(t)}},{}],18:[function(t,e,r){function n(t,e,r){switch(r.length){case 0:return t.call(e);case 1:return t.call(e,r[0]);case 2:return t.call(e,r[0],r[1]);case 3:return t.call(e,r[0],r[1],r[2])}return t.apply(e,r)}function i(t,e){for(var r=-1,n=Array(t);++r<t;)n[r]=e(r);return n}function o(t,e){var r=I(t)||d(t)?i(t.length,String):[],n=r.length,o=!!n;for(var s in t)!e&&!M.call(t,s)||o&&("length"==s||f(s,n))||r.push(s);return r}function s(t,e,r){var n=t[e];M.call(t,e)&&p(n,r)&&(void 0!==r||e in t)||(t[e]=r)}function a(t){if(!c(t))return T(t);var e=[];for(var r in Object(t))M.call(t,r)&&"constructor"!=r&&e.push(r);return e}function u(t,e){return e=j(void 0===e?t.length-1:e,0),function(){for(var r=arguments,i=-1,o=j(r.length-e,0),s=Array(o);++i<o;)s[i]=r[e+i];i=-1;for(var a=Array(e+1);++i<e;)a[i]=r[i];return a[e]=s,n(t,this,a)}}function h(t,e,r,n){r||(r={});for(var i=-1,o=e.length;++i<o;){var a=e[i],u=n?n(r[a],t[a],a,r,t):void 0;s(r,a,void 0===u?t[a]:u)}return r}function f(t,e){return!!(e=null==e?E:e)&&("number"==typeof t||A.test(t))&&t>-1&&t%1==0&&t<e}function l(t,e,r){if(!b(r))return!1;var n=typeof e;return!!("number"==n?g(r)&&f(e,r.length):"string"==n&&e in r)&&p(r[e],t)}function c(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||k)}function p(t,e){return t===e||t!==t&&e!==e}function d(t){return v(t)&&M.call(t,"callee")&&(!C.call(t,"callee")||L.call(t)==S)}function g(t){return null!=t&&w(t.length)&&!y(t)}function v(t){return _(t)&&g(t)}function y(t){var e=b(t)?L.call(t):"";return e==x||e==B}function w(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=E}function b(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function _(t){return!!t&&"object"==typeof t}function m(t){return g(t)?o(t):a(t)}var E=9007199254740991,S="[object Arguments]",x="[object Function]",B="[object GeneratorFunction]",A=/^(?:0|[1-9]\d*)$/,k=Object.prototype,M=k.hasOwnProperty,L=k.toString,C=k.propertyIsEnumerable,T=function(t,e){return function(r){return t(e(r))}}(Object.keys,Object),j=Math.max,R=!C.call({valueOf:1},"valueOf"),I=Array.isArray,O=function(t){return u(function(e,r){var n=-1,i=r.length,o=i>1?r[i-1]:void 0,s=i>2?r[2]:void 0;for(o=t.length>3&&"function"==typeof o?(i--,o):void 0,s&&l(r[0],r[1],s)&&(o=i<3?void 0:o,i=1),e=Object(e);++n<i;){var a=r[n];a&&t(e,a,n,o)}return e})}(function(t,e){if(R||c(e)||g(e))return void h(e,m(e),t);for(var r in e)M.call(e,r)&&s(t,r,e[r])});e.exports=O},{}],19:[function(t,e,r){(function(e,n){var i=t("create-hmac"),o=t("./precondition");r.pbkdf2=function(t,e,n,i,s,a){if("function"==typeof s&&(a=s,s=void 0),o(n,i),"function"!=typeof a)throw new Error("No callback provided to pbkdf2");setTimeout(function(){a(null,r.pbkdf2Sync(t,e,n,i,s))})};var s;if(e.browser)s="utf-8";else{var a=parseInt(e.version.split(".")[0].slice(1),10);s=a>=6?"utf-8":"binary"}r.pbkdf2Sync=function(t,e,r,a,u){n.isBuffer(t)||(t=new n(t,s)),n.isBuffer(e)||(e=new n(e,s)),o(r,a),u=u||"sha1";var h,f=1,l=new n(a),c=new n(e.length+4);e.copy(c,0,0,e.length);for(var p,d,g=1;g<=f;g++){c.writeUInt32BE(g,e.length);var v=i(u,t).update(c).digest();h||(h=v.length,d=new n(h),p=a-((f=Math.ceil(a/h))-1)*h),v.copy(d,0,0,h);for(var y=1;y<r;y++){v=i(u,t).update(v).digest();for(var w=0;w<h;w++)d[w]^=v[w]}var b=(g-1)*h,_=g===f?p:h;d.copy(l,b,0,_)}return l}}).call(this,t("_process"),t("buffer").Buffer)},{"./precondition":20,_process:22,buffer:5,"create-hmac":11}],20:[function(t,e,r){var n=Math.pow(2,30)-1;e.exports=function(t,e){if("number"!=typeof t)throw new TypeError("Iterations not a number");if(t<0)throw new TypeError("Bad iterations");if("number"!=typeof e)throw new TypeError("Key length not a number");if(e<0||e>n||e!==e)throw new TypeError("Bad key length")}},{}],21:[function(t,e,r){(function(t){"use strict";function r(e,r,n,i){if("function"!=typeof e)throw new TypeError('"callback" argument must be a function');var o,s,a=arguments.length;switch(a){case 0:case 1:return t.nextTick(e);case 2:return t.nextTick(function(){e.call(null,r)});case 3:return t.nextTick(function(){e.call(null,r,n)});case 4:return t.nextTick(function(){e.call(null,r,n,i)});default:for(o=new Array(a-1),s=0;s<o.length;)o[s++]=arguments[s];return t.nextTick(function(){e.apply(null,o)})}}!t.version||0===t.version.indexOf("v0.")||0===t.version.indexOf("v1.")&&0!==t.version.indexOf("v1.8.")?e.exports=r:e.exports=t.nextTick}).call(this,t("_process"))},{_process:22}],22:[function(t,e,r){function n(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function o(t){if(l===setTimeout)return setTimeout(t,0);if((l===n||!l)&&setTimeout)return l=setTimeout,setTimeout(t,0);try{return l(t,0)}catch(e){try{return l.call(null,t,0)}catch(e){return l.call(this,t,0)}}}function s(t){if(c===clearTimeout)return clearTimeout(t);if((c===i||!c)&&clearTimeout)return c=clearTimeout,clearTimeout(t);try{return c(t)}catch(e){try{return c.call(null,t)}catch(e){return c.call(this,t)}}}function a(){v&&d&&(v=!1,d.length?g=d.concat(g):y=-1,g.length&&u())}function u(){if(!v){var t=o(a);v=!0;for(var e=g.length;e;){for(d=g,g=[];++y<e;)d&&d[y].run();y=-1,e=g.length}d=null,v=!1,s(t)}}function h(t,e){this.fun=t,this.array=e}function f(){}var l,c,p=e.exports={};!function(){try{l="function"==typeof setTimeout?setTimeout:n}catch(t){l=n}try{c="function"==typeof clearTimeout?clearTimeout:i}catch(t){c=i}}();var d,g=[],v=!1,y=-1;p.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];g.push(new h(t,e)),1!==g.length||v||o(u)},h.prototype.run=function(){this.fun.apply(null,this.array)},p.title="browser",p.browser=!0,p.env={},p.argv=[],p.version="",p.versions={},p.on=f,p.addListener=f,p.once=f,p.off=f,p.removeListener=f,p.removeAllListeners=f,p.emit=f,p.prependListener=f,p.prependOnceListener=f,p.listeners=function(t){return[]},p.binding=function(t){throw new Error("process.binding is not supported")},p.cwd=function(){return"/"},p.chdir=function(t){throw new Error("process.chdir is not supported")},p.umask=function(){return 0}},{}],23:[function(t,e,r){e.exports=t("./lib/_stream_duplex.js")},{"./lib/_stream_duplex.js":24}],24:[function(t,e,r){"use strict";function n(t){if(!(this instanceof n))return new n(t);h.call(this,t),f.call(this,t),t&&!1===t.readable&&(this.readable=!1),t&&!1===t.writable&&(this.writable=!1),this.allowHalfOpen=!0,t&&!1===t.allowHalfOpen&&(this.allowHalfOpen=!1),this.once("end",i)}function i(){this.allowHalfOpen||this._writableState.ended||a(o,this)}function o(t){t.end()}var s=Object.keys||function(t){var e=[];for(var r in t)e.push(r);return e};e.exports=n;var a=t("process-nextick-args"),u=t("core-util-is");u.inherits=t("inherits");var h=t("./_stream_readable"),f=t("./_stream_writable");u.inherits(n,h);for(var l=s(f.prototype),c=0;c<l.length;c++){var p=l[c];n.prototype[p]||(n.prototype[p]=f.prototype[p])}},{"./_stream_readable":26,"./_stream_writable":28,"core-util-is":7,inherits:15,"process-nextick-args":21}],25:[function(t,e,r){"use strict";function n(t){if(!(this instanceof n))return new n(t);i.call(this,t)}e.exports=n;var i=t("./_stream_transform"),o=t("core-util-is");o.inherits=t("inherits"),o.inherits(n,i),n.prototype._transform=function(t,e,r){r(null,t)}},{"./_stream_transform":27,"core-util-is":7,inherits:15}],26:[function(t,e,r){(function(r){"use strict";function n(t,e,r){if("function"==typeof t.prependListener)return t.prependListener(e,r);t._events&&t._events[e]?C(t._events[e])?t._events[e].unshift(r):t._events[e]=[r,t._events[e]]:t.on(e,r)}function i(e,r){M=M||t("./_stream_duplex"),e=e||{},this.objectMode=!!e.objectMode,r instanceof M&&(this.objectMode=this.objectMode||!!e.readableObjectMode);var n=e.highWaterMark,i=this.objectMode?16:16384;this.highWaterMark=n||0===n?n:i,this.highWaterMark=~~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.defaultEncoding=e.defaultEncoding||"utf8",this.ranOut=!1,this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(U||(U=t("string_decoder/").StringDecoder),this.decoder=new U(e.encoding),this.encoding=e.encoding)}function o(e){if(M=M||t("./_stream_duplex"),!(this instanceof o))return new o(e);this._readableState=new i(e,this),this.readable=!0,e&&"function"==typeof e.read&&(this._read=e.read),j.call(this)}function s(t,e,r,n,i){var o=f(e,r);if(o)t.emit("error",o);else if(null===r)e.reading=!1,l(t,e);else if(e.objectMode||r&&r.length>0)if(e.ended&&!i){var s=new Error("stream.push() after EOF");t.emit("error",s)}else if(e.endEmitted&&i){var u=new Error("stream.unshift() after end event");t.emit("error",u)}else{var h;!e.decoder||i||n||(r=e.decoder.write(r),h=!e.objectMode&&0===r.length),i||(e.reading=!1),h||(e.flowing&&0===e.length&&!e.sync?(t.emit("data",r),t.read(0)):(e.length+=e.objectMode?1:r.length,i?e.buffer.unshift(r):e.buffer.push(r),e.needReadable&&c(t))),d(t,e)}else i||(e.reading=!1);return a(e)}function a(t){return!t.ended&&(t.needReadable||t.length<t.highWaterMark||0===t.length)}function u(t){return t>=z?t=z:(t--,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,t|=t>>>16,t++),t}function h(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=u(t)),t<=e.length?t:e.ended?e.length:(e.needReadable=!0,0))}function f(t,e){var r=null;return R.isBuffer(e)||"string"==typeof e||null===e||void 0===e||t.objectMode||(r=new TypeError("Invalid non-string/buffer chunk")),r}function l(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,c(t)}}function c(t){var e=t._readableState;e.needReadable=!1,e.emittedReadable||(P("emitReadable",e.flowing),e.emittedReadable=!0,e.sync?L(p,t):p(t))}function p(t){P("emit readable"),t.emit("readable"),_(t)}function d(t,e){e.readingMore||(e.readingMore=!0,L(g,t,e))}function g(t,e){for(var r=e.length;!e.reading&&!e.flowing&&!e.ended&&e.length<e.highWaterMark&&(P("maybeReadMore read 0"),t.read(0),r!==e.length);)r=e.length;e.readingMore=!1}function v(t){return function(){var e=t._readableState;P("pipeOnDrain",e.awaitDrain),e.awaitDrain&&e.awaitDrain--,0===e.awaitDrain&&T(t,"data")&&(e.flowing=!0,_(t))}}function y(t){P("readable nexttick read 0"),t.read(0)}function w(t,e){e.resumeScheduled||(e.resumeScheduled=!0,L(b,t,e))}function b(t,e){e.reading||(P("resume read 0"),t.read(0)),e.resumeScheduled=!1,e.awaitDrain=0,t.emit("resume"),_(t),e.flowing&&!e.reading&&t.read(0)}function _(t){var e=t._readableState;for(P("flow",e.flowing);e.flowing&&null!==t.read(););}function m(t,e){if(0===e.length)return null;var r;return e.objectMode?r=e.buffer.shift():!t||t>=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=E(t,e.buffer,e.decoder),r}function E(t,e,r){var n;return t<e.head.data.length?(n=e.head.data.slice(0,t),e.head.data=e.head.data.slice(t)):n=t===e.head.data.length?e.shift():r?S(t,e):x(t,e),n}function S(t,e){var r=e.head,n=1,i=r.data;for(t-=i.length;r=r.next;){var o=r.data,s=t>o.length?o.length:t;if(s===o.length?i+=o:i+=o.slice(0,t),0===(t-=s)){s===o.length?(++n,r.next?e.head=r.next:e.head=e.tail=null):(e.head=r,r.data=o.slice(s));break}++n}return e.length-=n,i}function x(t,e){var r=I.allocUnsafe(t),n=e.head,i=1;for(n.data.copy(r),t-=n.data.length;n=n.next;){var o=n.data,s=t>o.length?o.length:t;if(o.copy(r,r.length-t,0,s),0===(t-=s)){s===o.length?(++i,n.next?e.head=n.next:e.head=e.tail=null):(e.head=n,n.data=o.slice(s));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,L(A,e,t))}function A(t,e){t.endEmitted||0!==t.length||(t.endEmitted=!0,e.readable=!1,e.emit("end"))}function k(t,e){for(var r=0,n=t.length;r<n;r++)if(t[r]===e)return r;return-1}e.exports=o;var M,L=t("process-nextick-args"),C=t("isarray");o.ReadableState=i;t("events").EventEmitter;var T=function(t,e){return t.listeners(e).length},j=t("./internal/streams/stream"),R=t("buffer").Buffer,I=t("buffer-shims"),O=t("core-util-is");O.inherits=t("inherits");var q=t("util"),P=void 0;P=q&&q.debuglog?q.debuglog("stream"):function(){};var U,N=t("./internal/streams/BufferList");O.inherits(o,j);var D=["error","close","destroy","pause","resume"];o.prototype.push=function(t,e){var r=this._readableState;return r.objectMode||"string"!=typeof t||(e=e||r.defaultEncoding)!==r.encoding&&(t=I.from(t,e),e=""),s(this,r,t,e,!1)},o.prototype.unshift=function(t){return s(this,this._readableState,t,"",!0)},o.prototype.isPaused=function(){return!1===this._readableState.flowing},o.prototype.setEncoding=function(e){return U||(U=t("string_decoder/").StringDecoder),this._readableState.decoder=new U(e),this._readableState.encoding=e,this};var z=8388608;o.prototype.read=function(t){P("read",t),t=parseInt(t,10);var e=this._readableState,r=t;if(0!==t&&(e.emittedReadable=!1),0===t&&e.needReadable&&(e.length>=e.highWaterMark||e.ended))return P("read: emitReadable",e.length,e.ended),0===e.length&&e.ended?B(this):c(this),null;if(0===(t=h(t,e))&&e.ended)return 0===e.length&&B(this),null;var n=e.needReadable;P("need readable",n),(0===e.length||e.length-t<e.highWaterMark)&&P("length less than watermark",n=!0),e.ended||e.reading?P("reading or ended",n=!1):n&&(P("do read"),e.reading=!0,e.sync=!0,0===e.length&&(e.needReadable=!0),this._read(e.highWaterMark),e.sync=!1,e.reading||(t=h(r,e)));var i;return i=t>0?m(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},o.prototype._read=function(t){this.emit("error",new Error("_read() is not implemented"))},o.prototype.pipe=function(t,e){function i(t){P("onunpipe"),t===c&&s()}function o(){P("onend"),t.end()}function s(){P("cleanup"),t.removeListener("close",h),t.removeListener("finish",f),t.removeListener("drain",g),t.removeListener("error",u),t.removeListener("unpipe",i),c.removeListener("end",o),c.removeListener("end",s),c.removeListener("data",a),y=!0,!p.awaitDrain||t._writableState&&!t._writableState.needDrain||g()}function a(e){P("ondata"),w=!1,!1!==t.write(e)||w||((1===p.pipesCount&&p.pipes===t||p.pipesCount>1&&-1!==k(p.pipes,t))&&!y&&(P("false write response, pause",c._readableState.awaitDrain),c._readableState.awaitDrain++,w=!0),c.pause())}function u(e){P("onerror",e),l(),t.removeListener("error",u),0===T(t,"error")&&t.emit("error",e)}function h(){t.removeListener("finish",f),l()}function f(){P("onfinish"),t.removeListener("close",h),l()}function l(){P("unpipe"),c.unpipe(t)}var c=this,p=this._readableState;switch(p.pipesCount){case 0:p.pipes=t;break;case 1:p.pipes=[p.pipes,t];break;default:p.pipes.push(t)}p.pipesCount+=1,P("pipe count=%d opts=%j",p.pipesCount,e);var d=(!e||!1!==e.end)&&t!==r.stdout&&t!==r.stderr?o:s;p.endEmitted?L(d):c.once("end",d),t.on("unpipe",i);var g=v(c);t.on("drain",g);var y=!1,w=!1;return c.on("data",a),n(t,"error",u),t.once("close",h),t.once("finish",f),t.emit("pipe",c),p.flowing||(P("pipe resume"),c.resume()),t},o.prototype.unpipe=function(t){var e=this._readableState;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),this);if(!t){var r=e.pipes,n=e.pipesCount;e.pipes=null,e.pipesCount=0,e.flowing=!1;for(var i=0;i<n;i++)r[i].emit("unpipe",this);return this}var o=k(e.pipes,t);return-1===o?this:(e.pipes.splice(o,1),e.pipesCount-=1,1===e.pipesCount&&(e.pipes=e.pipes[0]),t.emit("unpipe",this),this)},o.prototype.on=function(t,e){var r=j.prototype.on.call(this,t,e);if("data"===t)!1!==this._readableState.flowing&&this.resume();else if("readable"===t){var n=this._readableState;n.endEmitted||n.readableListening||(n.readableListening=n.needReadable=!0,n.emittedReadable=!1,n.reading?n.length&&c(this):L(y,this))}return r},o.prototype.addListener=o.prototype.on,o.prototype.resume=function(){var t=this._readableState;return t.flowing||(P("resume"),t.flowing=!0,w(this,t)),this},o.prototype.pause=function(){return P("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(P("pause"),this._readableState.flowing=!1,this.emit("pause")),this},o.prototype.wrap=function(t){var e=this._readableState,r=!1,n=this;t.on("end",function(){if(P("wrapped end"),e.decoder&&!e.ended){var t=e.decoder.end();t&&t.length&&n.push(t)}n.push(null)}),t.on("data",function(i){P("wrapped data"),e.decoder&&(i=e.decoder.write(i)),(!e.objectMode||null!==i&&void 0!==i)&&(e.objectMode||i&&i.length)&&(n.push(i)||(r=!0,t.pause()))});for(var i in t)void 0===this[i]&&"function"==typeof t[i]&&(this[i]=function(e){return function(){return t[e].apply(t,arguments)}}(i));for(var o=0;o<D.length;o++)t.on(D[o],n.emit.bind(n,D[o]));return n._read=function(e){P("wrapped _read",e),r&&(r=!1,t.resume())},n},o._fromList=m}).call(this,t("_process"))},{"./_stream_duplex":24,"./internal/streams/BufferList":29,"./internal/streams/stream":30,_process:22,buffer:5,"buffer-shims":4,"core-util-is":7,events:13,inherits:15,isarray:17,"process-nextick-args":21,"string_decoder/":31,util:3}],27:[function(t,e,r){"use strict";function n(t){this.afterTransform=function(e,r){return i(t,e,r)},this.needTransform=!1,this.transforming=!1,this.writecb=null,this.writechunk=null,this.writeencoding=null}function i(t,e,r){var n=t._transformState;n.transforming=!1;var i=n.writecb;if(!i)return t.emit("error",new Error("no writecb in Transform class"));n.writechunk=null,n.writecb=null,null!==r&&void 0!==r&&t.push(r),i(e);var o=t._readableState;o.reading=!1,(o.needReadable||o.length<o.highWaterMark)&&t._read(o.highWaterMark)}function o(t){if(!(this instanceof o))return new o(t);a.call(this,t),this._transformState=new n(this);var e=this;this._readableState.needReadable=!0,this._readableState.sync=!1,t&&("function"==typeof t.transform&&(this._transform=t.transform),"function"==typeof t.flush&&(this._flush=t.flush)),this.once("prefinish",function(){"function"==typeof this._flush?this._flush(function(t,r){s(e,t,r)}):s(e)})}function s(t,e,r){if(e)return t.emit("error",e);null!==r&&void 0!==r&&t.push(r);var n=t._writableState,i=t._transformState;if(n.length)throw new Error("Calling transform done when ws.length != 0");if(i.transforming)throw new Error("Calling transform done when still transforming");return t.push(null)}e.exports=o;var a=t("./_stream_duplex"),u=t("core-util-is");u.inherits=t("inherits"),u.inherits(o,a),o.prototype.push=function(t,e){return this._transformState.needTransform=!1,a.prototype.push.call(this,t,e)},o.prototype._transform=function(t,e,r){throw new Error("_transform() is not implemented")},o.prototype._write=function(t,e,r){var n=this._transformState;if(n.writecb=r,n.writechunk=t,n.writeencoding=e,!n.transforming){var i=this._readableState;(n.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},o.prototype._read=function(t){var e=this._transformState;null!==e.writechunk&&e.writecb&&!e.transforming?(e.transforming=!0,this._transform(e.writechunk,e.writeencoding,e.afterTransform)):e.needTransform=!0}},{"./_stream_duplex":24,"core-util-is":7,inherits:15}],28:[function(t,e,r){(function(r){"use strict";function n(){}function i(t,e,r){this.chunk=t,this.encoding=e,this.callback=r,this.next=null}function o(e,r){S=S||t("./_stream_duplex"),e=e||{},this.objectMode=!!e.objectMode,r instanceof S&&(this.objectMode=this.objectMode||!!e.writableObjectMode);var n=e.highWaterMark,i=this.objectMode?16:16384;this.highWaterMark=n||0===n?n:i,this.highWaterMark=~~this.highWaterMark,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1;var o=!1===e.decodeStrings;this.decodeStrings=!o,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(t){d(r,t)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new E(this)}function s(e){if(S=S||t("./_stream_duplex"),!(T.call(s,this)||this instanceof S))return new s(e);this._writableState=new o(e,this),this.writable=!0,e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev)),M.call(this)}function a(t,e){var r=new Error("write after end");t.emit("error",r),x(e,r)}function u(t,e,r,n){var i=!0,o=!1;return null===r?o=new TypeError("May not write null values to stream"):"string"==typeof r||void 0===r||e.objectMode||(o=new TypeError("Invalid non-string/buffer chunk")),o&&(t.emit("error",o),x(n,o),i=!1),i}function h(t,e,r){return t.objectMode||!1===t.decodeStrings||"string"!=typeof e||(e=C.from(e,r)),e}function f(t,e,r,n,o,s){r||(n=h(e,n,o),L.isBuffer(n)&&(o="buffer"));var a=e.objectMode?1:n.length;e.length+=a;var u=e.length<e.highWaterMark;if(u||(e.needDrain=!0),e.writing||e.corked){var f=e.lastBufferedRequest;e.lastBufferedRequest=new i(n,o,s),f?f.next=e.lastBufferedRequest:e.bufferedRequest=e.lastBufferedRequest,e.bufferedRequestCount+=1}else l(t,e,!1,a,n,o,s);return u}function l(t,e,r,n,i,o,s){e.writelen=n,e.writecb=s,e.writing=!0,e.sync=!0,r?t._writev(i,e.onwrite):t._write(i,o,e.onwrite),e.sync=!1}function c(t,e,r,n,i){--e.pendingcb,r?x(i,n):i(n),t._writableState.errorEmitted=!0,t.emit("error",n)}function p(t){t.writing=!1,t.writecb=null,t.length-=t.writelen,t.writelen=0}function d(t,e){var r=t._writableState,n=r.sync,i=r.writecb;if(p(r),e)c(t,r,n,e,i);else{var o=w(r);o||r.corked||r.bufferProcessing||!r.bufferedRequest||y(t,r),n?B(g,t,r,o,i):g(t,r,o,i)}}function g(t,e,r,n){r||v(t,e),e.pendingcb--,n(),_(t,e)}function v(t,e){0===e.length&&e.needDrain&&(e.needDrain=!1,t.emit("drain"))}function y(t,e){e.bufferProcessing=!0;var r=e.bufferedRequest;if(t._writev&&r&&r.next){var n=e.bufferedRequestCount,i=new Array(n),o=e.corkedRequestsFree;o.entry=r;for(var s=0;r;)i[s]=r,r=r.next,s+=1;l(t,e,!0,e.length,i,"",o.finish),e.pendingcb++,e.lastBufferedRequest=null,o.next?(e.corkedRequestsFree=o.next,o.next=null):e.corkedRequestsFree=new E(e)}else{for(;r;){var a=r.chunk,u=r.encoding,h=r.callback;if(l(t,e,!1,e.objectMode?1:a.length,a,u,h),r=r.next,e.writing)break}null===r&&(e.lastBufferedRequest=null)}e.bufferedRequestCount=0,e.bufferedRequest=r,e.bufferProcessing=!1}function w(t){return t.ending&&0===t.length&&null===t.bufferedRequest&&!t.finished&&!t.writing}function b(t,e){e.prefinished||(e.prefinished=!0,t.emit("prefinish"))}function _(t,e){var r=w(e);return r&&(0===e.pendingcb?(b(t,e),e.finished=!0,t.emit("finish")):b(t,e)),r}function m(t,e,r){e.ending=!0,_(t,e),r&&(e.finished?x(r):t.once("finish",r)),e.ended=!0,t.writable=!1}function E(t){var e=this;this.next=null,this.entry=null,this.finish=function(r){var n=e.entry;for(e.entry=null;n;){var i=n.callback;t.pendingcb--,i(r),n=n.next}t.corkedRequestsFree?t.corkedRequestsFree.next=e:t.corkedRequestsFree=e}}e.exports=s;var S,x=t("process-nextick-args"),B=!r.browser&&["v0.10","v0.9."].indexOf(r.version.slice(0,5))>-1?setImmediate:x;s.WritableState=o;var A=t("core-util-is");A.inherits=t("inherits");var k={deprecate:t("util-deprecate")},M=t("./internal/streams/stream"),L=t("buffer").Buffer,C=t("buffer-shims");A.inherits(s,M),o.prototype.getBuffer=function(){for(var t=this.bufferedRequest,e=[];t;)e.push(t),t=t.next;return e},function(){try{Object.defineProperty(o.prototype,"buffer",{get:k.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.")})}catch(t){}}();var T;"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(T=Function.prototype[Symbol.hasInstance],Object.defineProperty(s,Symbol.hasInstance,{value:function(t){return!!T.call(this,t)||t&&t._writableState instanceof o}})):T=function(t){return t instanceof this},s.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},s.prototype.write=function(t,e,r){var i=this._writableState,o=!1,s=L.isBuffer(t);return"function"==typeof e&&(r=e,e=null),s?e="buffer":e||(e=i.defaultEncoding),"function"!=typeof r&&(r=n),i.ended?a(this,r):(s||u(this,i,t,r))&&(i.pendingcb++,o=f(this,i,s,t,e,r)),o},s.prototype.cork=function(){this._writableState.corked++},s.prototype.uncork=function(){var t=this._writableState;t.corked&&(t.corked--,t.writing||t.corked||t.finished||t.bufferProcessing||!t.bufferedRequest||y(this,t))},s.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},s.prototype._write=function(t,e,r){r(new Error("_write() is not implemented"))},s.prototype._writev=null,s.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)}}).call(this,t("_process"))},{"./_stream_duplex":24,"./internal/streams/stream":30,_process:22,buffer:5,"buffer-shims":4,"core-util-is":7,inherits:15,"process-nextick-args":21,"util-deprecate":47}],29:[function(t,e,r){"use strict";function n(){this.head=null,this.tail=null,this.length=0}t("buffer").Buffer;var i=t("buffer-shims");e.exports=n,n.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},n.prototype.unshift=function(t){var e={data:t,next:this.head};0===this.length&&(this.tail=e),this.head=e,++this.length},n.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}},n.prototype.clear=function(){this.head=this.tail=null,this.length=0},n.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},n.prototype.concat=function(t){if(0===this.length)return i.alloc(0);if(1===this.length)return this.head.data;for(var e=i.allocUnsafe(t>>>0),r=this.head,n=0;r;)r.data.copy(e,n),n+=r.data.length,r=r.next;return e}},{buffer:5,"buffer-shims":4}],30:[function(t,e,r){e.exports=t("events").EventEmitter},{events:13}],31:[function(t,e,r){"use strict";function n(t){if(!t)return"utf8";for(var e;;)switch(t){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return t;default:if(e)return;t=(""+t).toLowerCase(),e=!0}}function i(t){var e=n(t);if("string"!=typeof e&&(w.isEncoding===_||!_(t)))throw new Error("Unknown encoding: "+t);return e||t}function o(t){this.encoding=i(t);var e;switch(this.encoding){case"utf16le":this.text=c,this.end=p,e=4;break;case"utf8":this.fillLast=h,e=4;break;case"base64":this.text=d,this.end=g,e=3;break;default:return this.write=v,void(this.end=y)}this.lastNeed=0,this.lastTotal=0,this.lastChar=b.allocUnsafe(e)}function s(t){return t<=127?0:t>>5==6?2:t>>4==14?3:t>>3==30?4:-1}function a(t,e,r){var n=e.length-1;if(n<r)return 0;var i=s(e[n]);return i>=0?(i>0&&(t.lastNeed=i-1),i):--n<r?0:(i=s(e[n]))>=0?(i>0&&(t.lastNeed=i-2),i):--n<r?0:(i=s(e[n]),i>=0?(i>0&&(2===i?i=0:t.lastNeed=i-3),i):0)}function u(t,e,r){if(128!=(192&e[0]))return t.lastNeed=0,"�".repeat(r);if(t.lastNeed>1&&e.length>1){if(128!=(192&e[1]))return t.lastNeed=1,"�".repeat(r+1);if(t.lastNeed>2&&e.length>2&&128!=(192&e[2]))return t.lastNeed=2,"�".repeat(r+2)}}function h(t){var e=this.lastTotal-this.lastNeed,r=u(this,t,e);return void 0!==r?r:this.lastNeed<=t.length?(t.copy(this.lastChar,e,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(t.copy(this.lastChar,e,0,t.length),void(this.lastNeed-=t.length))}function f(t,e){var r=a(this,t,e);if(!this.lastNeed)return t.toString("utf8",e);this.lastTotal=r;var n=t.length-(r-this.lastNeed);return t.copy(this.lastChar,0,n),t.toString("utf8",e,n)}function l(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+"�".repeat(this.lastTotal-this.lastNeed):e}function c(t,e){if((t.length-e)%2==0){var r=t.toString("utf16le",e);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=t[t.length-1],t.toString("utf16le",e,t.length-1)}function p(t){var e=t&&t.length?this.write(t):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return e+this.lastChar.toString("utf16le",0,r)}return e}function d(t,e){var r=(t.length-e)%3;return 0===r?t.toString("base64",e):(this.lastNeed=3-r,this.lastTotal=3,1===r?this.lastChar[0]=t[t.length-1]:(this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1]),t.toString("base64",e,t.length-r))}function g(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+this.lastChar.toString("base64",0,3-this.lastNeed):e}function v(t){return t.toString(this.encoding)}function y(t){return t&&t.length?this.write(t):""}var w=t("buffer").Buffer,b=t("buffer-shims"),_=w.isEncoding||function(t){switch((t=""+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}};r.StringDecoder=o,o.prototype.write=function(t){if(0===t.length)return"";var e,r;if(this.lastNeed){if(void 0===(e=this.fillLast(t)))return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r<t.length?e?e+this.text(t,r):this.text(t,r):e||""},o.prototype.end=l,o.prototype.text=f,o.prototype.fillLast=function(t){if(this.lastNeed<=t.length)return t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,t.length),this.lastNeed-=t.length}},{buffer:5,"buffer-shims":4}],32:[function(t,e,r){e.exports=t("./readable").PassThrough},{"./readable":33}],33:[function(t,e,r){(r=e.exports=t("./lib/_stream_readable.js")).Stream=r,r.Readable=r,r.Writable=t("./lib/_stream_writable.js"),r.Duplex=t("./lib/_stream_duplex.js"),r.Transform=t("./lib/_stream_transform.js"),r.PassThrough=t("./lib/_stream_passthrough.js")},{"./lib/_stream_duplex.js":24,"./lib/_stream_passthrough.js":25,"./lib/_stream_readable.js":26,"./lib/_stream_transform.js":27,"./lib/_stream_writable.js":28}],34:[function(t,e,r){e.exports=t("./readable").Transform},{"./readable":33}],35:[function(t,e,r){e.exports=t("./lib/_stream_writable.js")},{"./lib/_stream_writable.js":28}],36:[function(t,e,r){(function(t){function r(t){for(var e=[],r=0,n=0;r<t.length;r++,n+=8)e[n>>>5]|=t[r]<<24-n%32;return e}function n(t){for(var e=[],r=0;r<32*t.length;r+=8)e.push(t[r>>>5]>>>24-r%32&255);return e}function i(t,e,r){for(var n=0;n<16;n++){var i=r+n,l=e[i];e[i]=16711935&(l<<8|l>>>24)|4278255360&(l<<24|l>>>8)}var w,b,_,m,E,S,x,B,A,k;S=w=t[0],x=b=t[1],B=_=t[2],A=m=t[3],k=E=t[4];var M;for(n=0;n<80;n+=1)M=w+e[r+c[n]]|0,M+=n<16?o(b,_,m)+v[0]:n<32?s(b,_,m)+v[1]:n<48?a(b,_,m)+v[2]:n<64?u(b,_,m)+v[3]:h(b,_,m)+v[4],M=(M=f(M|=0,d[n]))+E|0,w=E,E=m,m=f(_,10),_=b,b=M,M=S+e[r+p[n]]|0,M+=n<16?h(x,B,A)+y[0]:n<32?u(x,B,A)+y[1]:n<48?a(x,B,A)+y[2]:n<64?s(x,B,A)+y[3]:o(x,B,A)+y[4],M=(M=f(M|=0,g[n]))+k|0,S=k,k=A,A=f(B,10),B=x,x=M;M=t[1]+_+A|0,t[1]=t[2]+m+k|0,t[2]=t[3]+E+S|0,t[3]=t[4]+w+x|0,t[4]=t[0]+b+B|0,t[0]=M}function o(t,e,r){return t^e^r}function s(t,e,r){return t&e|~t&r}function a(t,e,r){return(t|~e)^r}function u(t,e,r){return t&r|e&~r}function h(t,e,r){return t^(e|~r)}function f(t,e){return t<<e|t>>>32-e}function l(e){var o=[1732584193,4023233417,2562383102,271733878,3285377520];"string"==typeof e&&(e=new t(e,"utf8"));var s=r(e),a=8*e.length,u=8*e.length;s[a>>>5]|=128<<24-a%32,s[14+(a+64>>>9<<4)]=16711935&(u<<8|u>>>24)|4278255360&(u<<24|u>>>8);for(var h=0;h<s.length;h+=16)i(o,s,h);for(h=0;h<5;h++){var f=o[h];o[h]=16711935&(f<<8|f>>>24)|4278255360&(f<<24|f>>>8)}var l=n(o);return new t(l)}var c=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],p=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],d=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],g=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11],v=[0,1518500249,1859775393,2400959708,2840853838],y=[1352829926,1548603684,1836072691,2053994217,0];e.exports=l}).call(this,t("buffer").Buffer)},{buffer:5}],37:[function(t,e,r){(function(t){function r(e,r){this._block=new t(e),this._finalSize=r,this._blockSize=e,this._len=0,this._s=0}r.prototype.update=function(e,r){"string"==typeof e&&(e=new t(e,r=r||"utf8"));for(var n=this._len+=e.length,i=this._s||0,o=0,s=this._block;i<n;){for(var a=Math.min(e.length,o+this._blockSize-i%this._blockSize)-o,u=0;u<a;u++)s[i%this._blockSize+u]=e[u+o];o+=a,(i+=a)%this._blockSize==0&&this._update(s)}return this._s=i,this},r.prototype.digest=function(t){var e=8*this._len;this._block[this._len%this._blockSize]=128,this._block.fill(0,this._len%this._blockSize+1),e%(8*this._blockSize)>=8*this._finalSize&&(this._update(this._block),this._block.fill(0)),this._block.writeInt32BE(e,this._blockSize-4);var r=this._update(this._block)||this._hash();return t?r.toString(t):r},r.prototype._update=function(){throw new Error("_update must be implemented by subclass")},e.exports=r}).call(this,t("buffer").Buffer)},{buffer:5}],38:[function(t,e,r){(r=e.exports=function(t){t=t.toLowerCase();var e=r[t];if(!e)throw new Error(t+" is not supported (we accept pull requests)");return new e}).sha=t("./sha"),r.sha1=t("./sha1"),r.sha224=t("./sha224"),r.sha256=t("./sha256"),r.sha384=t("./sha384"),r.sha512=t("./sha512")},{"./sha":39,"./sha1":40,"./sha224":41,"./sha256":42,"./sha384":43,"./sha512":44}],39:[function(t,e,r){(function(r){function n(){this.init(),this._w=f,u.call(this,64,56)}function i(t){return t<<5|t>>>27}function o(t){return t<<30|t>>>2}function s(t,e,r,n){return 0===t?e&r|~e&n:2===t?e&r|e&n|r&n:e^r^n}var a=t("inherits"),u=t("./hash"),h=[1518500249,1859775393,-1894007588,-899497514],f=new Array(80);a(n,u),n.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},n.prototype._update=function(t){for(var e=this._w,r=0|this._a,n=0|this._b,a=0|this._c,u=0|this._d,f=0|this._e,l=0;l<16;++l)e[l]=t.readInt32BE(4*l);for(;l<80;++l)e[l]=e[l-3]^e[l-8]^e[l-14]^e[l-16];for(var c=0;c<80;++c){var p=~~(c/20),d=i(r)+s(p,n,a,u)+f+e[c]+h[p]|0;f=u,u=a,a=o(n),n=r,r=d}this._a=r+this._a|0,this._b=n+this._b|0,this._c=a+this._c|0,this._d=u+this._d|0,this._e=f+this._e|0},n.prototype._hash=function(){var t=new r(20);return t.writeInt32BE(0|this._a,0),t.writeInt32BE(0|this._b,4),t.writeInt32BE(0|this._c,8),t.writeInt32BE(0|this._d,12),t.writeInt32BE(0|this._e,16),t},e.exports=n}).call(this,t("buffer").Buffer)},{"./hash":37,buffer:5,inherits:15}],40:[function(t,e,r){(function(r){function n(){this.init(),this._w=l,h.call(this,64,56)}function i(t){return t<<1|t>>>31}function o(t){return t<<5|t>>>27}function s(t){return t<<30|t>>>2}function a(t,e,r,n){return 0===t?e&r|~e&n:2===t?e&r|e&n|r&n:e^r^n}var u=t("inherits"),h=t("./hash"),f=[1518500249,1859775393,-1894007588,-899497514],l=new Array(80);u(n,h),n.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},n.prototype._update=function(t){for(var e=this._w,r=0|this._a,n=0|this._b,u=0|this._c,h=0|this._d,l=0|this._e,c=0;c<16;++c)e[c]=t.readInt32BE(4*c);for(;c<80;++c)e[c]=i(e[c-3]^e[c-8]^e[c-14]^e[c-16]);for(var p=0;p<80;++p){var d=~~(p/20),g=o(r)+a(d,n,u,h)+l+e[p]+f[d]|0;l=h,h=u,u=s(n),n=r,r=g}this._a=r+this._a|0,this._b=n+this._b|0,this._c=u+this._c|0,this._d=h+this._d|0,this._e=l+this._e|0},n.prototype._hash=function(){var t=new r(20);return t.writeInt32BE(0|this._a,0),t.writeInt32BE(0|this._b,4),t.writeInt32BE(0|this._c,8),t.writeInt32BE(0|this._d,12),t.writeInt32BE(0|this._e,16),t},e.exports=n}).call(this,t("buffer").Buffer)},{"./hash":37,buffer:5,inherits:15}],41:[function(t,e,r){(function(r){function n(){this.init(),this._w=a,s.call(this,64,56)}var i=t("inherits"),o=t("./sha256"),s=t("./hash"),a=new Array(64);i(n,o),n.prototype.init=function(){return this._a=3238371032,this._b=914150663,this._c=812702999,this._d=4144912697,this._e=4290775857,this._f=1750603025,this._g=1694076839,this._h=3204075428,this},n.prototype._hash=function(){var t=new r(28);return t.writeInt32BE(this._a,0),t.writeInt32BE(this._b,4),t.writeInt32BE(this._c,8),t.writeInt32BE(this._d,12),t.writeInt32BE(this._e,16),t.writeInt32BE(this._f,20),t.writeInt32BE(this._g,24),t},e.exports=n}).call(this,t("buffer").Buffer)},{"./hash":37,"./sha256":42,buffer:5,inherits:15}],42:[function(t,e,r){(function(r){function n(){this.init(),this._w=p,l.call(this,64,56)}function i(t,e,r){return r^t&(e^r)}function o(t,e,r){return t&e|r&(t|e)}function s(t){return(t>>>2|t<<30)^(t>>>13|t<<19)^(t>>>22|t<<10)}function a(t){return(t>>>6|t<<26)^(t>>>11|t<<21)^(t>>>25|t<<7)}function u(t){return(t>>>7|t<<25)^(t>>>18|t<<14)^t>>>3}function h(t){return(t>>>17|t<<15)^(t>>>19|t<<13)^t>>>10}var f=t("inherits"),l=t("./hash"),c=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],p=new Array(64);f(n,l),n.prototype.init=function(){return this._a=1779033703,this._b=3144134277,this._c=1013904242,this._d=2773480762,this._e=1359893119,this._f=2600822924,this._g=528734635,this._h=1541459225,this},n.prototype._update=function(t){for(var e=this._w,r=0|this._a,n=0|this._b,f=0|this._c,l=0|this._d,p=0|this._e,d=0|this._f,g=0|this._g,v=0|this._h,y=0;y<16;++y)e[y]=t.readInt32BE(4*y);for(;y<64;++y)e[y]=h(e[y-2])+e[y-7]+u(e[y-15])+e[y-16]|0;for(var w=0;w<64;++w){var b=v+a(p)+i(p,d,g)+c[w]+e[w]|0,_=s(r)+o(r,n,f)|0;v=g,g=d,d=p,p=l+b|0,l=f,f=n,n=r,r=b+_|0}this._a=r+this._a|0,this._b=n+this._b|0,this._c=f+this._c|0,this._d=l+this._d|0,this._e=p+this._e|0,this._f=d+this._f|0,this._g=g+this._g|0,this._h=v+this._h|0},n.prototype._hash=function(){var t=new r(32);return t.writeInt32BE(this._a,0),t.writeInt32BE(this._b,4),t.writeInt32BE(this._c,8),t.writeInt32BE(this._d,12),t.writeInt32BE(this._e,16),t.writeInt32BE(this._f,20),t.writeInt32BE(this._g,24),t.writeInt32BE(this._h,28),t},e.exports=n}).call(this,t("buffer").Buffer)},{"./hash":37,buffer:5,inherits:15}],43:[function(t,e,r){(function(r){function n(){this.init(),this._w=a,s.call(this,128,112)}var i=t("inherits"),o=t("./sha512"),s=t("./hash"),a=new Array(160);i(n,o),n.prototype.init=function(){return this._ah=3418070365,this._bh=1654270250,this._ch=2438529370,this._dh=355462360,this._eh=1731405415,this._fh=2394180231,this._gh=3675008525,this._hh=1203062813,this._al=3238371032,this._bl=914150663,this._cl=812702999,this._dl=4144912697,this._el=4290775857,this._fl=1750603025,this._gl=1694076839,this._hl=3204075428,this},n.prototype._hash=function(){function t(t,r,n){e.writeInt32BE(t,n),e.writeInt32BE(r,n+4)}var e=new r(48);return t(this._ah,this._al,0),t(this._bh,this._bl,8),t(this._ch,this._cl,16),t(this._dh,this._dl,24),t(this._eh,this._el,32),t(this._fh,this._fl,40),e},e.exports=n}).call(this,t("buffer").Buffer)},{"./hash":37,"./sha512":44,buffer:5,inherits:15}],44:[function(t,e,r){(function(r){function n(){this.init(),this._w=v,d.call(this,128,112)}function i(t,e,r){return r^t&(e^r)}function o(t,e,r){return t&e|r&(t|e)}function s(t,e){return(t>>>28|e<<4)^(e>>>2|t<<30)^(e>>>7|t<<25)}function a(t,e){return(t>>>14|e<<18)^(t>>>18|e<<14)^(e>>>9|t<<23)}function u(t,e){return(t>>>1|e<<31)^(t>>>8|e<<24)^t>>>7}function h(t,e){return(t>>>1|e<<31)^(t>>>8|e<<24)^(t>>>7|e<<25)}function f(t,e){return(t>>>19|e<<13)^(e>>>29|t<<3)^t>>>6}function l(t,e){return(t>>>19|e<<13)^(e>>>29|t<<3)^(t>>>6|e<<26)}function c(t,e){return t>>>0<e>>>0?1:0}var p=t("inherits"),d=t("./hash"),g=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],v=new Array(160);p(n,d),n.prototype.init=function(){return this._ah=1779033703,this._bh=3144134277,this._ch=1013904242,this._dh=2773480762,this._eh=1359893119,this._fh=2600822924,this._gh=528734635,this._hh=1541459225,this._al=4089235720,this._bl=2227873595,this._cl=4271175723,this._dl=1595750129,this._el=2917565137,this._fl=725511199,this._gl=4215389547,this._hl=327033209,this},n.prototype._update=function(t){for(var e=this._w,r=0|this._ah,n=0|this._bh,p=0|this._ch,d=0|this._dh,v=0|this._eh,y=0|this._fh,w=0|this._gh,b=0|this._hh,_=0|this._al,m=0|this._bl,E=0|this._cl,S=0|this._dl,x=0|this._el,B=0|this._fl,A=0|this._gl,k=0|this._hl,M=0;M<32;M+=2)e[M]=t.readInt32BE(4*M),e[M+1]=t.readInt32BE(4*M+4);for(;M<160;M+=2){var L=e[M-30],C=e[M-30+1],T=u(L,C),j=h(C,L),R=f(L=e[M-4],C=e[M-4+1]),I=l(C,L),O=e[M-14],q=e[M-14+1],P=e[M-32],U=e[M-32+1],N=j+q|0,D=T+O+c(N,j)|0;D=(D=D+R+c(N=N+I|0,I)|0)+P+c(N=N+U|0,U)|0,e[M]=D,e[M+1]=N}for(var z=0;z<160;z+=2){D=e[z],N=e[z+1];var F=o(r,n,p),W=o(_,m,E),Z=s(r,_),H=s(_,r),Y=a(v,x),K=a(x,v),V=g[z],J=g[z+1],X=i(v,y,w),G=i(x,B,A),Q=k+K|0,$=b+Y+c(Q,k)|0;$=($=($=$+X+c(Q=Q+G|0,G)|0)+V+c(Q=Q+J|0,J)|0)+D+c(Q=Q+N|0,N)|0;var tt=H+W|0,et=Z+F+c(tt,H)|0;b=w,k=A,w=y,A=B,y=v,B=x,v=d+$+c(x=S+Q|0,S)|0,d=p,S=E,p=n,E=m,n=r,m=_,r=$+et+c(_=Q+tt|0,Q)|0}this._al=this._al+_|0,this._bl=this._bl+m|0,this._cl=this._cl+E|0,this._dl=this._dl+S|0,this._el=this._el+x|0,this._fl=this._fl+B|0,this._gl=this._gl+A|0,this._hl=this._hl+k|0,this._ah=this._ah+r+c(this._al,_)|0,this._bh=this._bh+n+c(this._bl,m)|0,this._ch=this._ch+p+c(this._cl,E)|0,this._dh=this._dh+d+c(this._dl,S)|0,this._eh=this._eh+v+c(this._el,x)|0,this._fh=this._fh+y+c(this._fl,B)|0,this._gh=this._gh+w+c(this._gl,A)|0,this._hh=this._hh+b+c(this._hl,k)|0},n.prototype._hash=function(){function t(t,r,n){e.writeInt32BE(t,n),e.writeInt32BE(r,n+4)}var e=new r(64);return t(this._ah,this._al,0),t(this._bh,this._bl,8),t(this._ch,this._cl,16),t(this._dh,this._dl,24),t(this._eh,this._el,32),t(this._fh,this._fl,40),t(this._gh,this._gl,48),t(this._hh,this._hl,56),e},e.exports=n}).call(this,t("buffer").Buffer)},{"./hash":37,buffer:5,inherits:15}],45:[function(t,e,r){function n(){i.call(this)}e.exports=n;var i=t("events").EventEmitter;t("inherits")(n,i),n.Readable=t("readable-stream/readable.js"),n.Writable=t("readable-stream/writable.js"),n.Duplex=t("readable-stream/duplex.js"),n.Transform=t("readable-stream/transform.js"),n.PassThrough=t("readable-stream/passthrough.js"),n.Stream=n,n.prototype.pipe=function(t,e){function r(e){t.writable&&!1===t.write(e)&&h.pause&&h.pause()}function n(){h.readable&&h.resume&&h.resume()}function o(){f||(f=!0,t.end())}function s(){f||(f=!0,"function"==typeof t.destroy&&t.destroy())}function a(t){if(u(),0===i.listenerCount(this,"error"))throw t}function u(){h.removeListener("data",r),t.removeListener("drain",n),h.removeListener("end",o),h.removeListener("close",s),h.removeListener("error",a),t.removeListener("error",a),h.removeListener("end",u),h.removeListener("close",u),t.removeListener("close",u)}var h=this;h.on("data",r),t.on("drain",n),t._isStdio||e&&!1===e.end||(h.on("end",o),h.on("close",s));var f=!1;return h.on("error",a),t.on("error",a),h.on("end",u),h.on("close",u),t.on("close",u),t.emit("pipe",h),t}},{events:13,inherits:15,"readable-stream/duplex.js":23,"readable-stream/passthrough.js":32,"readable-stream/readable.js":33,"readable-stream/transform.js":34,"readable-stream/writable.js":35}],46:[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 s(t){this.charReceived=t.length%3,this.charLength=this.charReceived?3:0}var a=t("buffer").Buffer,u=a.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}},h=r.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=s;break;default:return void(this.write=i)}this.charBuffer=new a(6),this.charReceived=0,this.charLength=0};h.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<this.charLength)return"";if(t=t.slice(r,t.length),!((i=(e=this.charBuffer.slice(0,this.charLength).toString(this.encoding)).charCodeAt(e.length-1))>=55296&&i<=56319)){if(this.charReceived=this.charLength=0,0===t.length)return e;break}this.charLength+=this.surrogateSize,e=""}this.detectIncompleteChar(t);n=t.length;this.charLength&&(t.copy(this.charBuffer,0,t.length-this.charReceived,n),n-=this.charReceived);var n=(e+=t.toString(this.encoding,0,n)).length-1,i=e.charCodeAt(n);if(i>=55296&&i<=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,n)}return e},h.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},h.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}},{buffer:5}],47:[function(t,e,r){(function(t){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(e){try{if(!t.localStorage)return!1}catch(t){return!1}var r=t.localStorage[e];return null!=r&&"true"===String(r).toLowerCase()}e.exports=r}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],48:[function(t,e,r){var n=t("./v1"),i=t("./v2"),o=t("create-hmac"),s=t("buffer/").Buffer,a=t("es6-promise").Promise;e.exports={generatePassword:function(t,e,r,o){return void 0!==o&&1===o.version?n.generatePassword(t,e,r,o):i.generatePassword(t,e,r,o)},createFingerprint:function(t){return new a(function(e){e(o("sha256",new s(t)).digest("hex"))})}}},{"./v1":50,"./v2":51,"buffer/":5,"create-hmac":11,"es6-promise":12}],49:[function(t,e,r){function n(t,e,r,n,i){var o={sha1:"SHA-1","sha-1":"SHA-1",sha256:"SHA-256","sha-256":"SHA-256",sha512:"SHA-512","sha-512":"SHA-512"};return window.crypto.subtle.importKey("raw",new s(t),"PBKDF2",!1,["deriveKey"]).then(function(t){var a={name:"PBKDF2",salt:new s(e),iterations:r,hash:o[i.toLowerCase()]};return window.crypto.subtle.deriveKey(a,t,{name:"AES-CTR",length:8*n},!0,["encrypt","decrypt"])}).then(function(t){return window.crypto.subtle.exportKey("raw",t).then(function(t){return new s(t).toString("hex")})})}function i(t,e,r,n,i){return new a(function(s,a){o.pbkdf2(t,e,r,n,i,function(t,e){t?a("error in pbkdf2"):s(e.toString("hex"))})})}var o=t("pbkdf2"),s=t("buffer/").Buffer,a=t("es6-promise").Promise;e.exports=function(){return!("undefined"==typeof window||!window.crypto||!window.crypto.subtle)}()?n:i},{"buffer/":5,"es6-promise":12,pbkdf2:19}],50:[function(t,e,r){(function(r){function n(t,e,r,n){var o=p({},g,n);return c(r,e,o.iterations,o.keylen,"sha256").then(function(e){return i(e,t,o).then(function(t){return t})})}function i(t,e,r){return s(t,e,r).then(function(t){return u(t,r.template||a(r))})}function o(t,e){return new Promise(function(n){n(d("sha256",new r(t)).update(e).digest("hex"))})}function s(t,e,r){var n=void 0!==r?r:{},i=n.length||12;return o(t,e+(n.counter||1).toString()).then(function(t){return t.substring(0,i)})}function a(t){var e={lowercase:"vc",uppercase:"VC",numbers:"n",symbols:"s"},r="";return Object.keys(e).forEach(function(n){t.hasOwnProperty(n)&&t[n]&&(r+=e[n])}),r}function u(t,e){var r="";return h(t).forEach(function(t,n){var i=f(e,n);r+=l(i,t)}),r}function h(t){for(var e=[],r=0;r<t.length;r++)e.push(t.charCodeAt(r));return e}function f(t,e){return t[e%t.length]}function l(t,e){var r={V:"AEIOUY",C:"BCDFGHJKLMNPQRSTVWXZ",v:"aeiouy",c:"bcdfghjklmnpqrstvwxz",A:"AEIOUYBCDFGHJKLMNPQRSTVWXZ",a:"AEIOUYaeiouyBCDFGHJKLMNPQRSTVWXZbcdfghjklmnpqrstvwxz",n:"0123456789",s:"@&%?,=[]_:-+*$#!'^~;()/.",x:"AEIOUYaeiouyBCDFGHJKLMNPQRSTVWXZbcdfghjklmnpqrstvwxz0123456789@&%?,=[]_:-+*$#!'^~;()/."}[t];return r[e%r.length]}var c=t("./pbkdf2"),p=t("lodash.assign"),d=t("create-hmac");e.exports={generatePassword:n,_renderPassword:i,_createHmac:o,_deriveEncryptedLogin:s,_getPasswordTemplate:a,_prettyPrint:u,_string2charCodes:h,_getCharType:f,_getPasswordChar:l};var g={version:1,lowercase:!0,numbers:!0,uppercase:!0,symbols:!0,keylen:32,digest:"sha256",length:12,counter:1,iterations:8192}}).call(this,t("buffer").Buffer)},{"./pbkdf2":49,buffer:5,"create-hmac":11,"lodash.assign":18}],51:[function(t,e,r){function n(t,e,r,n){var o=p({},d,n);return i(t,e,r,o).then(function(t){return f(t,o)})}function i(t,e,r,n){var i=t+e+n.counter.toString(16);return l(r,i,n.iterations,n.keylen,n.digest)}function o(t){if(void 0===t)return g.lowercase+g.uppercase+g.numbers+g.symbols;var e="";return t.forEach(function(t){e+=g[t]}),e}function s(t,e,r,n){if(t.length>=n)return{value:t,entropy:e};var i=e.divmod(r.length);return t+=r[i.remainder],s(t,i.quotient,r,n)}function a(t,e,r){for(var n=0;n<r.length;n++){var i=e.divmod(t.length);t=t.slice(0,i.remainder)+r[n]+t.slice(i.remainder),e=i.quotient}return t}function u(t,e){var r="";return e.forEach(function(e){var n=s("",t,g[e],1);r+=n.value,t=n.entropy}),{value:r,entropy:t}}function h(t){return["lowercase","uppercase","numbers","symbols"].filter(function(e){return t[e]})}function f(t,e){var r=h(e),n=o(r),i=s("",c(t,16),n,e.length-r.length),f=u(i.entropy,r);return a(i.value,f.entropy,f.value)}var l=t("./pbkdf2"),c=t("big-integer"),p=t("lodash.assign");e.exports={generatePassword:n,_calcEntropy:i,_consumeEntropy:s,_getSetOfCharacters:o,_getConfiguredRules:h,_insertStringPseudoRandomly:a,_getOneCharPerRule:u,_renderPassword:f};var d={version:2,lowercase:!0,numbers:!0,uppercase:!0,symbols:!0,keylen:32,digest:"sha256",length:16,counter:1,iterations:1e5},g={lowercase:"abcdefghijklmnopqrstuvwxyz",uppercase:"ABCDEFGHIJKLMNOPQRSTUVWXYZ",numbers:"0123456789",symbols:"!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~"}},{"./pbkdf2":49,"big-integer":2,"lodash.assign":18}]},{},[48])(48)});