This repository has been archived by the owner on Dec 15, 2022. It is now read-only.
forked from evanw/node-source-map-support
-
Notifications
You must be signed in to change notification settings - Fork 7
/
browser-source-map-support.js
109 lines (108 loc) · 49.4 KB
/
browser-source-map-support.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
/*
* Support for source maps in V8 stack traces
* https://github.com/evanw/node-source-map-support
*/
/*
The buffer module from node.js, for the browser.
@author Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
license MIT
*/
(this.define||function(N,O){this.sourceMapSupport=O()})("browser-source-map-support",function(N){(function m(v,l,a){function e(d,c){if(!l[d]){if(!v[d]){var h="function"==typeof require&&require;if(!c&&h)return h(d,!0);if(k)return k(d,!0);throw Error("Cannot find module '"+d+"'");}h=l[d]={exports:{}};v[d][0].call(h.exports,function(c){var a=v[d][1][c];return e(a?a:c)},h,h.exports,m,v,l,a)}return l[d].exports}for(var k="function"==typeof require&&require,n=0;n<a.length;n++)e(a[n]);return e})({1:[function(m,
v,l){N=m("./source-map-support")},{"./source-map-support":19}],2:[function(m,v,l){(function(a){function e(a){a=a.charCodeAt(0);if(43===a||45===a)return 62;if(47===a||95===a)return 63;if(48>a)return-1;if(58>a)return a-48+52;if(91>a)return a-65;if(123>a)return a-97+26}var k="undefined"!==typeof Uint8Array?Uint8Array:Array;a.toByteArray=function(a){function d(c){t[b++]=c}if(0<a.length%4)throw Error("Invalid string. Length must be a multiple of 4");var c=a.length;var h="="===a.charAt(c-2)?2:"="===a.charAt(c-
1)?1:0;var t=new k(3*a.length/4-h);var q=0<h?a.length-4:a.length;var b=0;for(c=0;c<q;c+=4){var f=e(a.charAt(c))<<18|e(a.charAt(c+1))<<12|e(a.charAt(c+2))<<6|e(a.charAt(c+3));d((f&16711680)>>16);d((f&65280)>>8);d(f&255)}2===h?(f=e(a.charAt(c))<<2|e(a.charAt(c+1))>>4,d(f&255)):1===h&&(f=e(a.charAt(c))<<10|e(a.charAt(c+1))<<4|e(a.charAt(c+2))>>2,d(f>>8&255),d(f&255));return t};a.fromByteArray=function(a){var d=a.length%3,c="",h;var e=0;for(h=a.length-d;e<h;e+=3){var q=(a[e]<<16)+(a[e+1]<<8)+a[e+2];q=
"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(q>>18&63)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(q>>12&63)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(q>>6&63)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(q&63);c+=q}switch(d){case 1:q=a[a.length-1];c+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(q>>2);c+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(q<<
4&63);c+="==";break;case 2:q=(a[a.length-2]<<8)+a[a.length-1],c+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(q>>10),c+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(q>>4&63),c+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(q<<2&63),c+="="}return c}})("undefined"===typeof l?this.base64js={}:l)},{}],3:[function(m,v,l){},{}],4:[function(m,v,l){function a(g,u,b){if(!(this instanceof a))return new a(g,u,b);var c=typeof g;
if("base64"===u&&"string"===c)for(g=g.trim?g.trim():g.replace(/^\s+|\s+$/g,"");0!==g.length%4;)g+="=";if("number"===c)var I=D(g);else if("string"===c)I=a.byteLength(g,u);else if("object"===c)I=D(g.length);else throw Error("First argument needs to be a number, array or string.");if(a._useTypedArrays)var f=a._augment(new Uint8Array(I));else f=this,f.length=I,f._isBuffer=!0;if(a._useTypedArrays&&"number"===typeof g.byteLength)f._set(g);else{var d=g;if(L(d)||a.isBuffer(d)||d&&"object"===typeof d&&"number"===
typeof d.length)for(u=0;u<I;u++)a.isBuffer(g)?f[u]=g.readUInt8(u):f[u]=g[u];else if("string"===c)f.write(g,0,u);else if("number"===c&&!a._useTypedArrays&&!b)for(u=0;u<I;u++)f[u]=0}return f}function e(g,b,c){var u="";for(c=Math.min(g.length,c);b<c;b++)u+=String.fromCharCode(g[b]);return u}function k(g,b,c,a){a||(p("boolean"===typeof c,"missing or invalid endian"),p(void 0!==b&&null!==b,"missing offset"),p(b+1<g.length,"Trying to read beyond buffer length"));a=g.length;if(!(b>=a))return c?(c=g[b],b+
1<a&&(c|=g[b+1]<<8)):(c=g[b]<<8,b+1<a&&(c|=g[b+1])),c}function n(g,b,c,a){a||(p("boolean"===typeof c,"missing or invalid endian"),p(void 0!==b&&null!==b,"missing offset"),p(b+3<g.length,"Trying to read beyond buffer length"));a=g.length;if(!(b>=a)){var u;c?(b+2<a&&(u=g[b+2]<<16),b+1<a&&(u|=g[b+1]<<8),u|=g[b],b+3<a&&(u+=g[b+3]<<24>>>0)):(b+1<a&&(u=g[b+1]<<16),b+2<a&&(u|=g[b+2]<<8),b+3<a&&(u|=g[b+3]),u+=g[b]<<24>>>0);return u}}function d(g,b,c,a){a||(p("boolean"===typeof c,"missing or invalid endian"),
p(void 0!==b&&null!==b,"missing offset"),p(b+1<g.length,"Trying to read beyond buffer length"));if(!(b>=g.length))return g=k(g,b,c,!0),g&32768?-1*(65535-g+1):g}function c(g,b,c,a){a||(p("boolean"===typeof c,"missing or invalid endian"),p(void 0!==b&&null!==b,"missing offset"),p(b+3<g.length,"Trying to read beyond buffer length"));if(!(b>=g.length))return g=n(g,b,c,!0),g&2147483648?-1*(4294967295-g+1):g}function h(g,b,c,a){a||(p("boolean"===typeof c,"missing or invalid endian"),p(b+3<g.length,"Trying to read beyond buffer length"));
return J.read(g,b,c,23,4)}function t(g,b,c,a){a||(p("boolean"===typeof c,"missing or invalid endian"),p(b+7<g.length,"Trying to read beyond buffer length"));return J.read(g,b,c,52,8)}function q(g,b,c,a,f){f||(p(void 0!==b&&null!==b,"missing value"),p("boolean"===typeof a,"missing or invalid endian"),p(void 0!==c&&null!==c,"missing offset"),p(c+1<g.length,"trying to write beyond buffer length"),E(b,65535));var u=g.length;if(!(c>=u))for(f=0,u=Math.min(u-c,2);f<u;f++)g[c+f]=(b&255<<8*(a?f:1-f))>>>8*
(a?f:1-f)}function b(g,b,c,a,f){f||(p(void 0!==b&&null!==b,"missing value"),p("boolean"===typeof a,"missing or invalid endian"),p(void 0!==c&&null!==c,"missing offset"),p(c+3<g.length,"trying to write beyond buffer length"),E(b,4294967295));var u=g.length;if(!(c>=u))for(f=0,u=Math.min(u-c,4);f<u;f++)g[c+f]=b>>>8*(a?f:3-f)&255}function f(g,b,c,a,f){f||(p(void 0!==b&&null!==b,"missing value"),p("boolean"===typeof a,"missing or invalid endian"),p(void 0!==c&&null!==c,"missing offset"),p(c+1<g.length,
"Trying to write beyond buffer length"),y(b,32767,-32768));c>=g.length||(0<=b?q(g,b,c,a,f):q(g,65535+b+1,c,a,f))}function H(g,c,a,f,d){d||(p(void 0!==c&&null!==c,"missing value"),p("boolean"===typeof f,"missing or invalid endian"),p(void 0!==a&&null!==a,"missing offset"),p(a+3<g.length,"Trying to write beyond buffer length"),y(c,2147483647,-2147483648));a>=g.length||(0<=c?b(g,c,a,f,d):b(g,4294967295+c+1,a,f,d))}function r(g,b,c,a,f){f||(p(void 0!==b&&null!==b,"missing value"),p("boolean"===typeof a,
"missing or invalid endian"),p(void 0!==c&&null!==c,"missing offset"),p(c+3<g.length,"Trying to write beyond buffer length"),K(b,3.4028234663852886E38,-3.4028234663852886E38));c>=g.length||J.write(g,b,c,a,23,4)}function M(g,b,c,a,f){f||(p(void 0!==b&&null!==b,"missing value"),p("boolean"===typeof a,"missing or invalid endian"),p(void 0!==c&&null!==c,"missing offset"),p(c+7<g.length,"Trying to write beyond buffer length"),K(b,1.7976931348623157E308,-1.7976931348623157E308));c>=g.length||J.write(g,
b,c,a,52,8)}function F(b,c,a){if("number"!==typeof b)return a;b=~~b;if(b>=c)return c;if(0<=b)return b;b+=c;return 0<=b?b:0}function D(b){b=~~Math.ceil(+b);return 0>b?0:b}function L(b){return(Array.isArray||function(b){return"[object Array]"===Object.prototype.toString.call(b)})(b)}function z(b){return 16>b?"0"+b.toString(16):b.toString(16)}function x(b){for(var g=[],c=0;c<b.length;c++){var a=b.charCodeAt(c);if(127>=a)g.push(b.charCodeAt(c));else{var f=c;55296<=a&&57343>=a&&c++;a=encodeURIComponent(b.slice(f,
c+1)).substr(1).split("%");for(f=0;f<a.length;f++)g.push(parseInt(a[f],16))}}return g}function G(b){for(var c=[],g=0;g<b.length;g++)c.push(b.charCodeAt(g)&255);return c}function A(b,c,a,f){for(var g=0;g<f&&!(g+a>=c.length||g>=b.length);g++)c[g+a]=b[g];return g}function C(b){try{return decodeURIComponent(b)}catch(u){return String.fromCharCode(65533)}}function E(b,c){p("number"===typeof b,"cannot write a non-number as a number");p(0<=b,"specified a negative value for writing an unsigned value");p(b<=
c,"value is larger than maximum value for type");p(Math.floor(b)===b,"value has a fractional component")}function y(b,c,a){p("number"===typeof b,"cannot write a non-number as a number");p(b<=c,"value larger than maximum allowed value");p(b>=a,"value smaller than minimum allowed value");p(Math.floor(b)===b,"value has a fractional component")}function K(b,c,a){p("number"===typeof b,"cannot write a non-number as a number");p(b<=c,"value larger than maximum allowed value");p(b>=a,"value smaller than minimum allowed value")}
function p(b,c){if(!b)throw Error(c||"Failed assertion");}var B=m("base64-js"),J=m("ieee754");l.Buffer=a;l.SlowBuffer=a;l.INSPECT_MAX_BYTES=50;a.poolSize=8192;a._useTypedArrays=function(){try{var b=new ArrayBuffer(0),c=new Uint8Array(b);c.foo=function(){return 42};return 42===c.foo()&&"function"===typeof c.subarray}catch(I){return!1}}();a.isEncoding=function(b){switch(String(b).toLowerCase()){case "hex":case "utf8":case "utf-8":case "ascii":case "binary":case "base64":case "raw":case "ucs2":case "ucs-2":case "utf16le":case "utf-16le":return!0;
default:return!1}};a.isBuffer=function(b){return!(null===b||void 0===b||!b._isBuffer)};a.byteLength=function(b,c){b+="";switch(c||"utf8"){case "hex":var g=b.length/2;break;case "utf8":case "utf-8":g=x(b).length;break;case "ascii":case "binary":case "raw":g=b.length;break;case "base64":g=B.toByteArray(b).length;break;case "ucs2":case "ucs-2":case "utf16le":case "utf-16le":g=2*b.length;break;default:throw Error("Unknown encoding");}return g};a.concat=function(b,c){p(L(b),"Usage: Buffer.concat(list, [totalLength])\nlist should be an Array.");
if(0===b.length)return new a(0);if(1===b.length)return b[0];var g;if("number"!==typeof c)for(g=c=0;g<b.length;g++)c+=b[g].length;var f=new a(c),d=0;for(g=0;g<b.length;g++){var u=b[g];u.copy(f,d);d+=u.length}return f};a.prototype.write=function(b,c,f,d){if(isFinite(c))isFinite(f)||(d=f,f=void 0);else{var g=d;d=c;c=f;f=g}c=Number(c)||0;g=this.length-c;f?(f=Number(f),f>g&&(f=g)):f=g;d=String(d||"utf8").toLowerCase();switch(d){case "hex":c=Number(c)||0;d=this.length-c;f?(f=Number(f),f>d&&(f=d)):f=d;d=
b.length;p(0===d%2,"Invalid hex string");f>d/2&&(f=d/2);for(d=0;d<f;d++)g=parseInt(b.substr(2*d,2),16),p(!isNaN(g),"Invalid hex string"),this[c+d]=g;a._charsWritten=2*d;b=d;break;case "utf8":case "utf-8":b=a._charsWritten=A(x(b),this,c,f);break;case "ascii":b=a._charsWritten=A(G(b),this,c,f);break;case "binary":b=a._charsWritten=A(G(b),this,c,f);break;case "base64":b=a._charsWritten=A(B.toByteArray(b),this,c,f);break;case "ucs2":case "ucs-2":case "utf16le":case "utf-16le":for(var h,g=[],u=0;u<b.length;u++)h=
b.charCodeAt(u),d=h>>8,h%=256,g.push(h),g.push(d);b=a._charsWritten=A(g,this,c,f);break;default:throw Error("Unknown encoding");}return b};a.prototype.toString=function(b,c,a){b=String(b||"utf8").toLowerCase();c=Number(c)||0;a=void 0!==a?Number(a):a=this.length;if(a===c)return"";switch(b){case "hex":b=this.length;if(!c||0>c)c=0;if(!a||0>a||a>b)a=b;for(b="";c<a;c++)b+=z(this[c]);a=b;break;case "utf8":case "utf-8":var f=b="";for(a=Math.min(this.length,a);c<a;c++)127>=this[c]?(b+=C(f)+String.fromCharCode(this[c]),
f=""):f+="%"+this[c].toString(16);a=b+C(f);break;case "ascii":a=e(this,c,a);break;case "binary":a=e(this,c,a);break;case "base64":a=0===c&&a===this.length?B.fromByteArray(this):B.fromByteArray(this.slice(c,a));break;case "ucs2":case "ucs-2":case "utf16le":case "utf-16le":a=this.slice(c,a);c="";for(b=0;b<a.length;b+=2)c+=String.fromCharCode(a[b]+256*a[b+1]);a=c;break;default:throw Error("Unknown encoding");}return a};a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||
this,0)}};a.prototype.copy=function(b,c,f,d){f||(f=0);d||0===d||(d=this.length);c||(c=0);if(d!==f&&0!==b.length&&0!==this.length)if(p(d>=f,"sourceEnd < sourceStart"),p(0<=c&&c<b.length,"targetStart out of bounds"),p(0<=f&&f<this.length,"sourceStart out of bounds"),p(0<=d&&d<=this.length,"sourceEnd out of bounds"),d>this.length&&(d=this.length),b.length-c<d-f&&(d=b.length-c+f),d-=f,100>d||!a._useTypedArrays)for(var g=0;g<d;g++)b[g+c]=this[g+f];else b._set(this.subarray(f,f+d),c)};a.prototype.slice=
function(b,c){var f=this.length;b=F(b,f,0);c=F(c,f,f);if(a._useTypedArrays)return a._augment(this.subarray(b,c));for(var f=c-b,g=new a(f,void 0,!0),d=0;d<f;d++)g[d]=this[d+b];return g};a.prototype.get=function(b){console.log(".get() is deprecated. Access using array indexes instead.");return this.readUInt8(b)};a.prototype.set=function(b,c){console.log(".set() is deprecated. Access using array indexes instead.");return this.writeUInt8(b,c)};a.prototype.readUInt8=function(b,c){c||(p(void 0!==b&&null!==
b,"missing offset"),p(b<this.length,"Trying to read beyond buffer length"));if(!(b>=this.length))return this[b]};a.prototype.readUInt16LE=function(b,c){return k(this,b,!0,c)};a.prototype.readUInt16BE=function(b,c){return k(this,b,!1,c)};a.prototype.readUInt32LE=function(b,c){return n(this,b,!0,c)};a.prototype.readUInt32BE=function(b,c){return n(this,b,!1,c)};a.prototype.readInt8=function(b,c){c||(p(void 0!==b&&null!==b,"missing offset"),p(b<this.length,"Trying to read beyond buffer length"));if(!(b>=
this.length))return this[b]&128?-1*(255-this[b]+1):this[b]};a.prototype.readInt16LE=function(b,c){return d(this,b,!0,c)};a.prototype.readInt16BE=function(b,c){return d(this,b,!1,c)};a.prototype.readInt32LE=function(b,a){return c(this,b,!0,a)};a.prototype.readInt32BE=function(b,a){return c(this,b,!1,a)};a.prototype.readFloatLE=function(b,c){return h(this,b,!0,c)};a.prototype.readFloatBE=function(b,c){return h(this,b,!1,c)};a.prototype.readDoubleLE=function(b,c){return t(this,b,!0,c)};a.prototype.readDoubleBE=
function(b,c){return t(this,b,!1,c)};a.prototype.writeUInt8=function(b,c,a){a||(p(void 0!==b&&null!==b,"missing value"),p(void 0!==c&&null!==c,"missing offset"),p(c<this.length,"trying to write beyond buffer length"),E(b,255));c>=this.length||(this[c]=b)};a.prototype.writeUInt16LE=function(b,c,a){q(this,b,c,!0,a)};a.prototype.writeUInt16BE=function(b,c,a){q(this,b,c,!1,a)};a.prototype.writeUInt32LE=function(c,a,f){b(this,c,a,!0,f)};a.prototype.writeUInt32BE=function(c,a,f){b(this,c,a,!1,f)};a.prototype.writeInt8=
function(b,c,a){a||(p(void 0!==b&&null!==b,"missing value"),p(void 0!==c&&null!==c,"missing offset"),p(c<this.length,"Trying to write beyond buffer length"),y(b,127,-128));c>=this.length||(0<=b?this.writeUInt8(b,c,a):this.writeUInt8(255+b+1,c,a))};a.prototype.writeInt16LE=function(b,c,a){f(this,b,c,!0,a)};a.prototype.writeInt16BE=function(b,c,a){f(this,b,c,!1,a)};a.prototype.writeInt32LE=function(b,c,a){H(this,b,c,!0,a)};a.prototype.writeInt32BE=function(b,c,a){H(this,b,c,!1,a)};a.prototype.writeFloatLE=
function(b,c,a){r(this,b,c,!0,a)};a.prototype.writeFloatBE=function(b,c,a){r(this,b,c,!1,a)};a.prototype.writeDoubleLE=function(b,c,a){M(this,b,c,!0,a)};a.prototype.writeDoubleBE=function(b,c,a){M(this,b,c,!1,a)};a.prototype.fill=function(b,c,a){b||(b=0);c||(c=0);a||(a=this.length);"string"===typeof b&&(b=b.charCodeAt(0));p("number"===typeof b&&!isNaN(b),"value is not a number");p(a>=c,"end < start");if(a!==c&&0!==this.length)for(p(0<=c&&c<this.length,"start out of bounds"),p(0<=a&&a<=this.length,
"end out of bounds");c<a;c++)this[c]=b};a.prototype.inspect=function(){for(var b=[],c=this.length,a=0;a<c;a++)if(b[a]=z(this[a]),a===l.INSPECT_MAX_BYTES){b[a+1]="...";break}return"<Buffer "+b.join(" ")+">"};a.prototype.toArrayBuffer=function(){if("undefined"!==typeof Uint8Array){if(a._useTypedArrays)return(new a(this)).buffer;for(var b=new Uint8Array(this.length),c=0,f=b.length;c<f;c+=1)b[c]=this[c];return b.buffer}throw Error("Buffer.toArrayBuffer not supported in this browser");};var w=a.prototype;
a._augment=function(b){b._isBuffer=!0;b._get=b.get;b._set=b.set;b.get=w.get;b.set=w.set;b.write=w.write;b.toString=w.toString;b.toLocaleString=w.toString;b.toJSON=w.toJSON;b.copy=w.copy;b.slice=w.slice;b.readUInt8=w.readUInt8;b.readUInt16LE=w.readUInt16LE;b.readUInt16BE=w.readUInt16BE;b.readUInt32LE=w.readUInt32LE;b.readUInt32BE=w.readUInt32BE;b.readInt8=w.readInt8;b.readInt16LE=w.readInt16LE;b.readInt16BE=w.readInt16BE;b.readInt32LE=w.readInt32LE;b.readInt32BE=w.readInt32BE;b.readFloatLE=w.readFloatLE;
b.readFloatBE=w.readFloatBE;b.readDoubleLE=w.readDoubleLE;b.readDoubleBE=w.readDoubleBE;b.writeUInt8=w.writeUInt8;b.writeUInt16LE=w.writeUInt16LE;b.writeUInt16BE=w.writeUInt16BE;b.writeUInt32LE=w.writeUInt32LE;b.writeUInt32BE=w.writeUInt32BE;b.writeInt8=w.writeInt8;b.writeInt16LE=w.writeInt16LE;b.writeInt16BE=w.writeInt16BE;b.writeInt32LE=w.writeInt32LE;b.writeInt32BE=w.writeInt32BE;b.writeFloatLE=w.writeFloatLE;b.writeFloatBE=w.writeFloatBE;b.writeDoubleLE=w.writeDoubleLE;b.writeDoubleBE=w.writeDoubleBE;
b.fill=w.fill;b.inspect=w.inspect;b.toArrayBuffer=w.toArrayBuffer;return b}},{"base64-js":2,ieee754:5}],5:[function(m,v,l){l.read=function(a,e,k,n,d){var c=8*d-n-1;var h=(1<<c)-1,t=h>>1,q=-7;d=k?d-1:0;var b=k?-1:1,f=a[e+d];d+=b;k=f&(1<<-q)-1;f>>=-q;for(q+=c;0<q;k=256*k+a[e+d],d+=b,q-=8);c=k&(1<<-q)-1;k>>=-q;for(q+=n;0<q;c=256*c+a[e+d],d+=b,q-=8);if(0===k)k=1-t;else{if(k===h)return c?NaN:Infinity*(f?-1:1);c+=Math.pow(2,n);k-=t}return(f?-1:1)*c*Math.pow(2,k-n)};l.write=function(a,e,k,n,d,c){var h,t=
8*c-d-1,q=(1<<t)-1,b=q>>1,f=23===d?Math.pow(2,-24)-Math.pow(2,-77):0;c=n?0:c-1;var H=n?1:-1,r=0>e||0===e&&0>1/e?1:0;e=Math.abs(e);isNaN(e)||Infinity===e?(e=isNaN(e)?1:0,n=q):(n=Math.floor(Math.log(e)/Math.LN2),1>e*(h=Math.pow(2,-n))&&(n--,h*=2),e=1<=n+b?e+f/h:e+f*Math.pow(2,1-b),2<=e*h&&(n++,h/=2),n+b>=q?(e=0,n=q):1<=n+b?(e=(e*h-1)*Math.pow(2,d),n+=b):(e=e*Math.pow(2,b-1)*Math.pow(2,d),n=0));for(;8<=d;a[k+c]=e&255,c+=H,e/=256,d-=8);n=n<<d|e;for(t+=d;0<t;a[k+c]=n&255,c+=H,n/=256,t-=8);a[k+c-H]|=128*
r}},{}],6:[function(m,v,l){(function(a){function e(c,a){for(var d=0,h=c.length-1;0<=h;h--){var b=c[h];"."===b?c.splice(h,1):".."===b?(c.splice(h,1),d++):d&&(c.splice(h,1),d--)}if(a)for(;d--;d)c.unshift("..");return c}function k(c,a){if(c.filter)return c.filter(a);for(var d=[],h=0;h<c.length;h++)a(c[h],h,c)&&d.push(c[h]);return d}var n=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/;l.resolve=function(){for(var c="",d=!1,t=arguments.length-1;-1<=t&&!d;t--){var q=0<=t?arguments[t]:a.cwd();
if("string"!==typeof q)throw new TypeError("Arguments to path.resolve must be strings");q&&(c=q+"/"+c,d="/"===q.charAt(0))}c=e(k(c.split("/"),function(b){return!!b}),!d).join("/");return(d?"/":"")+c||"."};l.normalize=function(c){var a=l.isAbsolute(c),t="/"===d(c,-1);(c=e(k(c.split("/"),function(c){return!!c}),!a).join("/"))||a||(c=".");c&&t&&(c+="/");return(a?"/":"")+c};l.isAbsolute=function(c){return"/"===c.charAt(0)};l.join=function(){var c=Array.prototype.slice.call(arguments,0);return l.normalize(k(c,
function(c,a){if("string"!==typeof c)throw new TypeError("Arguments to path.join must be strings");return c}).join("/"))};l.relative=function(c,a){function d(b){for(var c=0;c<b.length&&""===b[c];c++);for(var a=b.length-1;0<=a&&""===b[a];a--);return c>a?[]:b.slice(c,a-c+1)}c=l.resolve(c).substr(1);a=l.resolve(a).substr(1);for(var h=d(c.split("/")),b=d(a.split("/")),f=Math.min(h.length,b.length),e=f,r=0;r<f;r++)if(h[r]!==b[r]){e=r;break}f=[];for(r=e;r<h.length;r++)f.push("..");f=f.concat(b.slice(e));
return f.join("/")};l.sep="/";l.delimiter=":";l.dirname=function(c){var a=n.exec(c).slice(1);c=a[0];a=a[1];if(!c&&!a)return".";a&&(a=a.substr(0,a.length-1));return c+a};l.basename=function(c,a){var d=n.exec(c).slice(1)[2];a&&d.substr(-1*a.length)===a&&(d=d.substr(0,d.length-a.length));return d};l.extname=function(c){return n.exec(c).slice(1)[3]};var d="b"==="ab".substr(-1)?function(c,a,d){return c.substr(a,d)}:function(c,a,d){0>a&&(a=c.length+a);return c.substr(a,d)}}).call(this,m("node_modules/process/browser.js"))},
{"node_modules/process/browser.js":7}],7:[function(m,v,l){function a(){}m=v.exports={};m.nextTick=function(){if("undefined"!==typeof window&&window.setImmediate)return function(a){return window.setImmediate(a)};if("undefined"!==typeof window&&window.postMessage&&window.addEventListener){var a=[];window.addEventListener("message",function(e){var k=e.source;k!==window&&null!==k||"process-tick"!==e.data||(e.stopPropagation(),0<a.length&&a.shift()())},!0);return function(e){a.push(e);window.postMessage("process-tick",
"*")}}return function(a){setTimeout(a,0)}}();m.title="browser";m.browser=!0;m.env={};m.argv=[];m.on=a;m.once=a;m.off=a;m.emit=a;m.binding=function(a){throw Error("process.binding is not supported");};m.cwd=function(){return"/"};m.chdir=function(a){throw Error("process.chdir is not supported");}},{}],8:[function(m,v,l){function a(){this._array=[];this._set=Object.create(null)}var e=m("./util"),k=Object.prototype.hasOwnProperty;a.fromArray=function(e,d){for(var c=new a,h=0,k=e.length;h<k;h++)c.add(e[h],
d);return c};a.prototype.size=function(){return Object.getOwnPropertyNames(this._set).length};a.prototype.add=function(a,d){var c=e.toSetString(a),h=k.call(this._set,c),t=this._array.length;h&&!d||this._array.push(a);h||(this._set[c]=t)};a.prototype.has=function(a){a=e.toSetString(a);return k.call(this._set,a)};a.prototype.indexOf=function(a){var d=e.toSetString(a);if(k.call(this._set,d))return this._set[d];throw Error('"'+a+'" is not in the set.');};a.prototype.at=function(a){if(0<=a&&a<this._array.length)return this._array[a];
throw Error("No element indexed by "+a);};a.prototype.toArray=function(){return this._array.slice()};l.ArraySet=a},{"./util":17}],9:[function(m,v,l){var a=m("./base64");l.encode=function(e){var k="",n=0>e?(-e<<1)+1:(e<<1)+0;do e=n&31,n>>>=5,0<n&&(e|=32),k+=a.encode(e);while(0<n);return k};l.decode=function(e,k,n){var d=e.length,c=0,h=0;do{if(k>=d)throw Error("Expected more digits in base 64 VLQ value.");var t=a.decode(e.charCodeAt(k++));if(-1===t)throw Error("Invalid base64 digit: "+e.charAt(k-1));
var q=!!(t&32);t&=31;c+=t<<h;h+=5}while(q);e=c>>1;n.value=1===(c&1)?-e:e;n.rest=k}},{"./base64":10}],10:[function(m,v,l){var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");l.encode=function(e){if(0<=e&&e<a.length)return a[e];throw new TypeError("Must be between 0 and 63: "+e);};l.decode=function(a){return 65<=a&&90>=a?a-65:97<=a&&122>=a?a-97+26:48<=a&&57>=a?a-48+52:43==a?62:47==a?63:-1}},{}],11:[function(m,v,l){function a(e,k,n,d,c,h){var t=Math.floor((k-e)/2)+e,q=
c(n,d[t],!0);return 0===q?t:0<q?1<k-t?a(t,k,n,d,c,h):h==l.LEAST_UPPER_BOUND?k<d.length?k:-1:t:1<t-e?a(e,t,n,d,c,h):h==l.LEAST_UPPER_BOUND?t:0>e?-1:e}l.GREATEST_LOWER_BOUND=1;l.LEAST_UPPER_BOUND=2;l.search=function(e,k,n,d){if(0===k.length)return-1;e=a(-1,k.length,e,k,n,d||l.GREATEST_LOWER_BOUND);if(0>e)return-1;for(;0<=e-1&&0===n(k[e],k[e-1],!0);)--e;return e}},{}],12:[function(m,v,l){function a(){this._array=[];this._sorted=!0;this._last={generatedLine:-1,generatedColumn:0}}var e=m("./util");a.prototype.unsortedForEach=
function(a,e){this._array.forEach(a,e)};a.prototype.add=function(a){var k=this._last,d=k.generatedLine,c=a.generatedLine,h=k.generatedColumn,t=a.generatedColumn;c>d||c==d&&t>=h||0>=e.compareByGeneratedPositionsInflated(k,a)?this._last=a:this._sorted=!1;this._array.push(a)};a.prototype.toArray=function(){this._sorted||(this._array.sort(e.compareByGeneratedPositionsInflated),this._sorted=!0);return this._array};l.MappingList=a},{"./util":17}],13:[function(m,v,l){function a(a,e,d){var c=a[e];a[e]=a[d];
a[d]=c}function e(k,l,d,c){if(d<c){var h=d-1;a(k,Math.round(d+Math.random()*(c-d)),c);for(var t=k[c],q=d;q<c;q++)0>=l(k[q],t)&&(h+=1,a(k,h,q));a(k,h+1,q);h+=1;e(k,l,d,h-1);e(k,l,h+1,c)}}l.quickSort=function(a,l){e(a,l,0,a.length-1)}},{}],14:[function(m,v,l){function a(b){var c=b;"string"===typeof b&&(c=JSON.parse(b.replace(/^\)\]\}'/,"")));return null!=c.sections?new n(c):new e(c)}function e(b){var c=b;"string"===typeof b&&(c=JSON.parse(b.replace(/^\)\]\}'/,"")));b=d.getArg(c,"version");var a=d.getArg(c,
"sources"),r=d.getArg(c,"names",[]),e=d.getArg(c,"sourceRoot",null),q=d.getArg(c,"sourcesContent",null),k=d.getArg(c,"mappings"),c=d.getArg(c,"file",null);if(b!=this._version)throw Error("Unsupported version: "+b);a=a.map(String).map(d.normalize).map(function(b){return e&&d.isAbsolute(e)&&d.isAbsolute(b)?d.relative(e,b):b});this._names=h.fromArray(r.map(String),!0);this._sources=h.fromArray(a,!0);this.sourceRoot=e;this.sourcesContent=q;this._mappings=k;this.file=c}function k(){this.generatedColumn=
this.generatedLine=0;this.name=this.originalColumn=this.originalLine=this.source=null}function n(b){var c=b;"string"===typeof b&&(c=JSON.parse(b.replace(/^\)\]\}'/,"")));b=d.getArg(c,"version");c=d.getArg(c,"sections");if(b!=this._version)throw Error("Unsupported version: "+b);this._sources=new h;this._names=new h;var e={line:-1,column:0};this._sections=c.map(function(b){if(b.url)throw Error("Support for url field in sections not implemented.");var c=d.getArg(b,"offset"),f=d.getArg(c,"line"),r=d.getArg(c,
"column");if(f<e.line||f===e.line&&r<e.column)throw Error("Section offsets must be ordered and non-overlapping.");e=c;return{generatedOffset:{generatedLine:f+1,generatedColumn:r+1},consumer:new a(d.getArg(b,"map"))}})}var d=m("./util"),c=m("./binary-search"),h=m("./array-set").ArraySet,t=m("./base64-vlq"),q=m("./quick-sort").quickSort;a.fromSourceMap=function(b){return e.fromSourceMap(b)};a.prototype._version=3;a.prototype.__generatedMappings=null;Object.defineProperty(a.prototype,"_generatedMappings",
{get:function(){this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot);return this.__generatedMappings}});a.prototype.__originalMappings=null;Object.defineProperty(a.prototype,"_originalMappings",{get:function(){this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot);return this.__originalMappings}});a.prototype._charIsMappingSeparator=function(b,c){var a=b.charAt(c);return";"===a||","===a};a.prototype._parseMappings=function(b,c){throw Error("Subclasses must implement _parseMappings");
};a.GENERATED_ORDER=1;a.ORIGINAL_ORDER=2;a.GREATEST_LOWER_BOUND=1;a.LEAST_UPPER_BOUND=2;a.prototype.eachMapping=function(b,c,e){c=c||null;switch(e||a.GENERATED_ORDER){case a.GENERATED_ORDER:e=this._generatedMappings;break;case a.ORIGINAL_ORDER:e=this._originalMappings;break;default:throw Error("Unknown order of iteration.");}var f=this.sourceRoot;e.map(function(b){var c=null===b.source?null:this._sources.at(b.source);null!=c&&null!=f&&(c=d.join(f,c));return{source:c,generatedLine:b.generatedLine,
generatedColumn:b.generatedColumn,originalLine:b.originalLine,originalColumn:b.originalColumn,name:null===b.name?null:this._names.at(b.name)}},this).forEach(b,c)};a.prototype.allGeneratedPositionsFor=function(b){var a=d.getArg(b,"line"),e={source:d.getArg(b,"source"),originalLine:a,originalColumn:d.getArg(b,"column",0)};null!=this.sourceRoot&&(e.source=d.relative(this.sourceRoot,e.source));if(!this._sources.has(e.source))return[];e.source=this._sources.indexOf(e.source);var r=[],e=this._findMapping(e,
this._originalMappings,"originalLine","originalColumn",d.compareByOriginalPositions,c.LEAST_UPPER_BOUND);if(0<=e){var h=this._originalMappings[e];if(void 0===b.column)for(a=h.originalLine;h&&h.originalLine===a;)r.push({line:d.getArg(h,"generatedLine",null),column:d.getArg(h,"generatedColumn",null),lastColumn:d.getArg(h,"lastGeneratedColumn",null)}),h=this._originalMappings[++e];else for(b=h.originalColumn;h&&h.originalLine===a&&h.originalColumn==b;)r.push({line:d.getArg(h,"generatedLine",null),column:d.getArg(h,
"generatedColumn",null),lastColumn:d.getArg(h,"lastGeneratedColumn",null)}),h=this._originalMappings[++e]}return r};l.SourceMapConsumer=a;e.prototype=Object.create(a.prototype);e.prototype.consumer=a;e.fromSourceMap=function(b){var c=Object.create(e.prototype),a=c._names=h.fromArray(b._names.toArray(),!0),r=c._sources=h.fromArray(b._sources.toArray(),!0);c.sourceRoot=b._sourceRoot;c.sourcesContent=b._generateSourcesContent(c._sources.toArray(),c.sourceRoot);c.file=b._file;b=b._mappings.toArray().slice();
for(var t=c.__generatedMappings=[],l=c.__originalMappings=[],n=0,m=b.length;n<m;n++){var z=b[n],x=new k;x.generatedLine=z.generatedLine;x.generatedColumn=z.generatedColumn;z.source&&(x.source=r.indexOf(z.source),x.originalLine=z.originalLine,x.originalColumn=z.originalColumn,z.name&&(x.name=a.indexOf(z.name)),l.push(x));t.push(x)}q(c.__originalMappings,d.compareByOriginalPositions);return c};e.prototype._version=3;Object.defineProperty(e.prototype,"sources",{get:function(){return this._sources.toArray().map(function(b){return null!=
this.sourceRoot?d.join(this.sourceRoot,b):b},this)}});e.prototype._parseMappings=function(b,c){for(var a=1,f=0,e=0,h=0,l=0,n=0,m=b.length,x=0,v={},A={},C=[],E=[],y,K,p,B,J;x<m;)if(";"===b.charAt(x))a++,x++,f=0;else if(","===b.charAt(x))x++;else{y=new k;y.generatedLine=a;for(B=x;B<m&&!this._charIsMappingSeparator(b,B);B++);K=b.slice(x,B);if(p=v[K])x+=K.length;else{for(p=[];x<B;)t.decode(b,x,A),J=A.value,x=A.rest,p.push(J);if(2===p.length)throw Error("Found a source, but no line and column");if(3===
p.length)throw Error("Found a source and line, but no column");v[K]=p}y.generatedColumn=f+p[0];f=y.generatedColumn;1<p.length&&(y.source=l+p[1],l+=p[1],y.originalLine=e+p[2],e=y.originalLine,y.originalLine+=1,y.originalColumn=h+p[3],h=y.originalColumn,4<p.length&&(y.name=n+p[4],n+=p[4]));E.push(y);"number"===typeof y.originalLine&&C.push(y)}q(E,d.compareByGeneratedPositionsDeflated);this.__generatedMappings=E;q(C,d.compareByOriginalPositions);this.__originalMappings=C};e.prototype._findMapping=function(b,
a,d,e,h,q){if(0>=b[d])throw new TypeError("Line must be greater than or equal to 1, got "+b[d]);if(0>b[e])throw new TypeError("Column must be greater than or equal to 0, got "+b[e]);return c.search(b,a,h,q)};e.prototype.computeColumnSpans=function(){for(var b=0;b<this._generatedMappings.length;++b){var c=this._generatedMappings[b];if(b+1<this._generatedMappings.length){var a=this._generatedMappings[b+1];if(c.generatedLine===a.generatedLine){c.lastGeneratedColumn=a.generatedColumn-1;continue}}c.lastGeneratedColumn=
Infinity}};e.prototype.originalPositionFor=function(b){var c={generatedLine:d.getArg(b,"line"),generatedColumn:d.getArg(b,"column")};b=this._findMapping(c,this._generatedMappings,"generatedLine","generatedColumn",d.compareByGeneratedPositionsDeflated,d.getArg(b,"bias",a.GREATEST_LOWER_BOUND));if(0<=b&&(b=this._generatedMappings[b],b.generatedLine===c.generatedLine)){c=d.getArg(b,"source",null);null!==c&&(c=this._sources.at(c),null!=this.sourceRoot&&(c=d.join(this.sourceRoot,c)));var e=d.getArg(b,
"name",null);null!==e&&(e=this._names.at(e));return{source:c,line:d.getArg(b,"originalLine",null),column:d.getArg(b,"originalColumn",null),name:e}}return{source:null,line:null,column:null,name:null}};e.prototype.hasContentsOfAllSources=function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(b){return null==b}):!1};e.prototype.sourceContentFor=function(b,c){if(!this.sourcesContent)return null;null!=this.sourceRoot&&(b=d.relative(this.sourceRoot,
b));if(this._sources.has(b))return this.sourcesContent[this._sources.indexOf(b)];var a;if(null!=this.sourceRoot&&(a=d.urlParse(this.sourceRoot))){var f=b.replace(/^file:\/\//,"");if("file"==a.scheme&&this._sources.has(f))return this.sourcesContent[this._sources.indexOf(f)];if((!a.path||"/"==a.path)&&this._sources.has("/"+b))return this.sourcesContent[this._sources.indexOf("/"+b)]}if(c)return null;throw Error('"'+b+'" is not in the SourceMap.');};e.prototype.generatedPositionFor=function(b){var c=
d.getArg(b,"source");null!=this.sourceRoot&&(c=d.relative(this.sourceRoot,c));if(!this._sources.has(c))return{line:null,column:null,lastColumn:null};c=this._sources.indexOf(c);c={source:c,originalLine:d.getArg(b,"line"),originalColumn:d.getArg(b,"column")};b=this._findMapping(c,this._originalMappings,"originalLine","originalColumn",d.compareByOriginalPositions,d.getArg(b,"bias",a.GREATEST_LOWER_BOUND));return 0<=b&&(b=this._originalMappings[b],b.source===c.source)?{line:d.getArg(b,"generatedLine",
null),column:d.getArg(b,"generatedColumn",null),lastColumn:d.getArg(b,"lastGeneratedColumn",null)}:{line:null,column:null,lastColumn:null}};l.BasicSourceMapConsumer=e;n.prototype=Object.create(a.prototype);n.prototype.constructor=a;n.prototype._version=3;Object.defineProperty(n.prototype,"sources",{get:function(){for(var b=[],c=0;c<this._sections.length;c++)for(var a=0;a<this._sections[c].consumer.sources.length;a++)b.push(this._sections[c].consumer.sources[a]);return b}});n.prototype.originalPositionFor=
function(b){var a={generatedLine:d.getArg(b,"line"),generatedColumn:d.getArg(b,"column")},e=c.search(a,this._sections,function(b,c){var a=b.generatedLine-c.generatedOffset.generatedLine;return a?a:b.generatedColumn-c.generatedOffset.generatedColumn});return(e=this._sections[e])?e.consumer.originalPositionFor({line:a.generatedLine-(e.generatedOffset.generatedLine-1),column:a.generatedColumn-(e.generatedOffset.generatedLine===a.generatedLine?e.generatedOffset.generatedColumn-1:0),bias:b.bias}):{source:null,
line:null,column:null,name:null}};n.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(b){return b.consumer.hasContentsOfAllSources()})};n.prototype.sourceContentFor=function(b,c){for(var a=0;a<this._sections.length;a++){var d=this._sections[a].consumer.sourceContentFor(b,!0);if(d)return d}if(c)return null;throw Error('"'+b+'" is not in the SourceMap.');};n.prototype.generatedPositionFor=function(b){for(var c=0;c<this._sections.length;c++){var a=this._sections[c];if(-1!==
a.consumer.sources.indexOf(d.getArg(b,"source"))){var e=a.consumer.generatedPositionFor(b);if(e)return{line:e.line+(a.generatedOffset.generatedLine-1),column:e.column+(a.generatedOffset.generatedLine===e.line?a.generatedOffset.generatedColumn-1:0)}}}return{line:null,column:null}};n.prototype._parseMappings=function(b,c){this.__generatedMappings=[];this.__originalMappings=[];for(var a=0;a<this._sections.length;a++)for(var f=this._sections[a],e=f.consumer._generatedMappings,h=0;h<e.length;h++){var k=
e[h],t=f.consumer._sources.at(k.source);null!==f.consumer.sourceRoot&&(t=d.join(f.consumer.sourceRoot,t));this._sources.add(t);var t=this._sources.indexOf(t),l=f.consumer._names.at(k.name);this._names.add(l);l=this._names.indexOf(l);k={source:t,generatedLine:k.generatedLine+(f.generatedOffset.generatedLine-1),generatedColumn:k.generatedColumn+(f.generatedOffset.generatedLine===k.generatedLine?f.generatedOffset.generatedColumn-1:0),originalLine:k.originalLine,originalColumn:k.originalColumn,name:l};
this.__generatedMappings.push(k);"number"===typeof k.originalLine&&this.__originalMappings.push(k)}q(this.__generatedMappings,d.compareByGeneratedPositionsDeflated);q(this.__originalMappings,d.compareByOriginalPositions)};l.IndexedSourceMapConsumer=n},{"./array-set":8,"./base64-vlq":9,"./binary-search":11,"./quick-sort":13,"./util":17}],15:[function(m,v,l){function a(c){c||(c={});this._file=k.getArg(c,"file",null);this._sourceRoot=k.getArg(c,"sourceRoot",null);this._skipValidation=k.getArg(c,"skipValidation",
!1);this._sources=new n;this._names=new n;this._mappings=new d;this._sourcesContents=null}var e=m("./base64-vlq"),k=m("./util"),n=m("./array-set").ArraySet,d=m("./mapping-list").MappingList;a.prototype._version=3;a.fromSourceMap=function(c){var d=c.sourceRoot,e=new a({file:c.file,sourceRoot:d});c.eachMapping(function(c){var b={generated:{line:c.generatedLine,column:c.generatedColumn}};null!=c.source&&(b.source=c.source,null!=d&&(b.source=k.relative(d,b.source)),b.original={line:c.originalLine,column:c.originalColumn},
null!=c.name&&(b.name=c.name));e.addMapping(b)});c.sources.forEach(function(a){var b=c.sourceContentFor(a);null!=b&&e.setSourceContent(a,b)});return e};a.prototype.addMapping=function(c){var a=k.getArg(c,"generated"),d=k.getArg(c,"original",null),e=k.getArg(c,"source",null);c=k.getArg(c,"name",null);this._skipValidation||this._validateMapping(a,d,e,c);null!=e&&(e=String(e),this._sources.has(e)||this._sources.add(e));null!=c&&(c=String(c),this._names.has(c)||this._names.add(c));this._mappings.add({generatedLine:a.line,
generatedColumn:a.column,originalLine:null!=d&&d.line,originalColumn:null!=d&&d.column,source:e,name:c})};a.prototype.setSourceContent=function(c,a){var d=c;null!=this._sourceRoot&&(d=k.relative(this._sourceRoot,d));null!=a?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[k.toSetString(d)]=a):this._sourcesContents&&(delete this._sourcesContents[k.toSetString(d)],0===Object.keys(this._sourcesContents).length&&(this._sourcesContents=null))};a.prototype.applySourceMap=
function(c,a,d){var e=a;if(null==a){if(null==c.file)throw Error('SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map\'s "file" property. Both were omitted.');e=c.file}var b=this._sourceRoot;null!=b&&(e=k.relative(b,e));var f=new n,h=new n;this._mappings.unsortedForEach(function(a){if(a.source===e&&null!=a.originalLine){var r=c.originalPositionFor({line:a.originalLine,column:a.originalColumn});null!=r.source&&(a.source=r.source,null!=d&&(a.source=
k.join(d,a.source)),null!=b&&(a.source=k.relative(b,a.source)),a.originalLine=r.line,a.originalColumn=r.column,null!=r.name&&(a.name=r.name))}r=a.source;null==r||f.has(r)||f.add(r);a=a.name;null==a||h.has(a)||h.add(a)},this);this._sources=f;this._names=h;c.sources.forEach(function(a){var f=c.sourceContentFor(a);null!=f&&(null!=d&&(a=k.join(d,a)),null!=b&&(a=k.relative(b,a)),this.setSourceContent(a,f))},this)};a.prototype._validateMapping=function(c,a,d,e){if(!(c&&"line"in c&&"column"in c&&0<c.line&&
0<=c.column&&!a&&!d&&!e||c&&"line"in c&&"column"in c&&a&&"line"in a&&"column"in a&&0<c.line&&0<=c.column&&0<a.line&&0<=a.column&&d))throw Error("Invalid mapping: "+JSON.stringify({generated:c,source:d,original:a,name:e}));};a.prototype._serializeMappings=function(){for(var c=0,a=1,d=0,l=0,b=0,f=0,n="",r,m,F,D=this._mappings.toArray(),v=0,z=D.length;v<z;v++){m=D[v];r="";if(m.generatedLine!==a)for(c=0;m.generatedLine!==a;)r+=";",a++;else if(0<v){if(!k.compareByGeneratedPositionsInflated(m,D[v-1]))continue;
r+=","}r+=e.encode(m.generatedColumn-c);c=m.generatedColumn;null!=m.source&&(F=this._sources.indexOf(m.source),r+=e.encode(F-f),f=F,r+=e.encode(m.originalLine-1-l),l=m.originalLine-1,r+=e.encode(m.originalColumn-d),d=m.originalColumn,null!=m.name&&(m=this._names.indexOf(m.name),r+=e.encode(m-b),b=m));n+=r}return n};a.prototype._generateSourcesContent=function(c,a){return c.map(function(c){if(!this._sourcesContents)return null;null!=a&&(c=k.relative(a,c));c=k.toSetString(c);return Object.prototype.hasOwnProperty.call(this._sourcesContents,
c)?this._sourcesContents[c]:null},this)};a.prototype.toJSON=function(){var c={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};null!=this._file&&(c.file=this._file);null!=this._sourceRoot&&(c.sourceRoot=this._sourceRoot);this._sourcesContents&&(c.sourcesContent=this._generateSourcesContent(c.sources,c.sourceRoot));return c};a.prototype.toString=function(){return JSON.stringify(this.toJSON())};l.SourceMapGenerator=a},{"./array-set":8,
"./base64-vlq":9,"./mapping-list":12,"./util":17}],16:[function(m,v,l){function a(a,c,e,k,l){this.children=[];this.sourceContents={};this.line=null==a?null:a;this.column=null==c?null:c;this.source=null==e?null:e;this.name=null==l?null:l;this.$$$isSourceNode$$$=!0;null!=k&&this.add(k)}var e=m("./source-map-generator").SourceMapGenerator,k=m("./util"),n=/(\r?\n)/;a.fromStringWithSourceMap=function(d,c,e){function h(b,c){if(null===b||void 0===b.source)l.add(c);else{var d=e?k.join(e,b.source):b.source;
l.add(new a(b.originalLine,b.originalColumn,d,c,b.name))}}var l=new a,b=d.split(n),f=function(){var c=b.shift(),a=b.shift()||"";return c+a},m=1,r=0,v=null;c.eachMapping(function(c){if(null!==v)if(m<c.generatedLine)h(v,f()),m++,r=0;else{var a=b[0];var d=a.substr(0,c.generatedColumn-r);b[0]=a.substr(c.generatedColumn-r);r=c.generatedColumn;h(v,d);v=c;return}for(;m<c.generatedLine;)l.add(f()),m++;r<c.generatedColumn&&(a=b[0],l.add(a.substr(0,c.generatedColumn)),b[0]=a.substr(c.generatedColumn),r=c.generatedColumn);
v=c},this);0<b.length&&(v&&h(v,f()),l.add(b.join("")));c.sources.forEach(function(b){var a=c.sourceContentFor(b);null!=a&&(null!=e&&(b=k.join(e,b)),l.setSourceContent(b,a))});return l};a.prototype.add=function(a){if(Array.isArray(a))a.forEach(function(c){this.add(c)},this);else if(a.$$$isSourceNode$$$||"string"===typeof a)a&&this.children.push(a);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+a);return this};a.prototype.prepend=function(a){if(Array.isArray(a))for(var c=
a.length-1;0<=c;c--)this.prepend(a[c]);else if(a.$$$isSourceNode$$$||"string"===typeof a)this.children.unshift(a);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+a);return this};a.prototype.walk=function(a){for(var c,d=0,e=this.children.length;d<e;d++)c=this.children[d],c.$$$isSourceNode$$$?c.walk(a):""!==c&&a(c,{source:this.source,line:this.line,column:this.column,name:this.name})};a.prototype.join=function(a){var c,d=this.children.length;if(0<
d){var e=[];for(c=0;c<d-1;c++)e.push(this.children[c]),e.push(a);e.push(this.children[c]);this.children=e}return this};a.prototype.replaceRight=function(a,c){var d=this.children[this.children.length-1];d.$$$isSourceNode$$$?d.replaceRight(a,c):"string"===typeof d?this.children[this.children.length-1]=d.replace(a,c):this.children.push("".replace(a,c));return this};a.prototype.setSourceContent=function(a,c){this.sourceContents[k.toSetString(a)]=c};a.prototype.walkSourceContents=function(a){for(var c=
0,d=this.children.length;c<d;c++)this.children[c].$$$isSourceNode$$$&&this.children[c].walkSourceContents(a);for(var e=Object.keys(this.sourceContents),c=0,d=e.length;c<d;c++)a(k.fromSetString(e[c]),this.sourceContents[e[c]])};a.prototype.toString=function(){var a="";this.walk(function(c){a+=c});return a};a.prototype.toStringWithSourceMap=function(a){var c="",d=1,k=0,l=new e(a),b=!1,f=null,m=null,r=null,n=null;this.walk(function(a,e){c+=a;null!==e.source&&null!==e.line&&null!==e.column?(f===e.source&&
m===e.line&&r===e.column&&n===e.name||l.addMapping({source:e.source,original:{line:e.line,column:e.column},generated:{line:d,column:k},name:e.name}),f=e.source,m=e.line,r=e.column,n=e.name,b=!0):b&&(l.addMapping({generated:{line:d,column:k}}),f=null,b=!1);for(var h=0,q=a.length;h<q;h++)10===a.charCodeAt(h)?(d++,k=0,h+1===q?(f=null,b=!1):b&&l.addMapping({source:e.source,original:{line:e.line,column:e.column},generated:{line:d,column:k},name:e.name})):k++});this.walkSourceContents(function(b,a){l.setSourceContent(b,
a)});return{code:c,map:l}};l.SourceNode=a},{"./source-map-generator":15,"./util":17}],17:[function(m,v,l){function a(b){return(b=b.match(t))?{scheme:b[1],auth:b[2],host:b[3],port:b[4],path:b[5]}:null}function e(b){var a="";b.scheme&&(a+=b.scheme+":");a+="//";b.auth&&(a+=b.auth+"@");b.host&&(a+=b.host);b.port&&(a+=":"+b.port);b.path&&(a+=b.path);return a}function k(b){var c=b,d=a(b);if(d){if(!d.path)return b;c=d.path}b=l.isAbsolute(c);for(var c=c.split(/\/+/),k,h=0,m=c.length-1;0<=m;m--)k=c[m],"."===
k?c.splice(m,1):".."===k?h++:0<h&&(""===k?(c.splice(m+1,h),h=0):(c.splice(m,2),h--));c=c.join("/");""===c&&(c=b?"/":".");return d?(d.path=c,e(d)):c}function n(b){return b}function d(b){return h(b)?"$"+b:b}function c(b){return h(b)?b.slice(1):b}function h(b){if(!b)return!1;var a=b.length;if(9>a||95!==b.charCodeAt(a-1)||95!==b.charCodeAt(a-2)||111!==b.charCodeAt(a-3)||116!==b.charCodeAt(a-4)||111!==b.charCodeAt(a-5)||114!==b.charCodeAt(a-6)||112!==b.charCodeAt(a-7)||95!==b.charCodeAt(a-8)||95!==b.charCodeAt(a-
9))return!1;for(a-=10;0<=a;a--)if(36!==b.charCodeAt(a))return!1;return!0}l.getArg=function(b,a,c){if(a in b)return b[a];if(3===arguments.length)return c;throw Error('"'+a+'" is a required argument.');};var t=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.]*)(?::(\d+))?(\S*)$/,q=/^data:.+\,.+$/;l.urlParse=a;l.urlGenerate=e;l.normalize=k;l.join=function(b,c){""===b&&(b=".");""===c&&(c=".");var d=a(c),f=a(b);f&&(b=f.path||"/");if(d&&!d.scheme)return f&&(d.scheme=f.scheme),e(d);if(d||c.match(q))return c;
if(f&&!f.host&&!f.path)return f.host=c,e(f);d="/"===c.charAt(0)?c:k(b.replace(/\/+$/,"")+"/"+c);return f?(f.path=d,e(f)):d};l.isAbsolute=function(a){return"/"===a.charAt(0)||!!a.match(t)};l.relative=function(a,c){""===a&&(a=".");a=a.replace(/\/$/,"");for(var b=0;0!==c.indexOf(a+"/");){var d=a.lastIndexOf("/");if(0>d)return c;a=a.slice(0,d);if(a.match(/^([^\/]+:\/)?\/*$/))return c;++b}return Array(b+1).join("../")+c.substr(a.length+1)};m=!("__proto__"in Object.create(null));l.toSetString=m?n:d;l.fromSetString=
m?n:c;l.compareByOriginalPositions=function(a,c,d){var b=a.source-c.source;if(0!==b)return b;b=a.originalLine-c.originalLine;if(0!==b)return b;b=a.originalColumn-c.originalColumn;if(0!==b||d)return b;b=a.generatedColumn-c.generatedColumn;if(0!==b)return b;b=a.generatedLine-c.generatedLine;return 0!==b?b:a.name-c.name};l.compareByGeneratedPositionsDeflated=function(a,c,d){var b=a.generatedLine-c.generatedLine;if(0!==b)return b;b=a.generatedColumn-c.generatedColumn;if(0!==b||d)return b;b=a.source-c.source;
if(0!==b)return b;b=a.originalLine-c.originalLine;if(0!==b)return b;b=a.originalColumn-c.originalColumn;return 0!==b?b:a.name-c.name};l.compareByGeneratedPositionsInflated=function(a,c){var b=a.generatedLine-c.generatedLine;if(0!==b)return b;b=a.generatedColumn-c.generatedColumn;if(0!==b)return b;var b=a.source,d=c.source,b=b===d?0:b>d?1:-1;if(0!==b)return b;b=a.originalLine-c.originalLine;if(0!==b)return b;b=a.originalColumn-c.originalColumn;0===b&&(b=a.name,d=c.name,b=b===d?0:b>d?1:-1);return b}},
{}],18:[function(m,v,l){l.SourceMapGenerator=m("./lib/source-map-generator").SourceMapGenerator;l.SourceMapConsumer=m("./lib/source-map-consumer").SourceMapConsumer;l.SourceNode=m("./lib/source-node").SourceNode},{"./lib/source-map-consumer":14,"./lib/source-map-generator":15,"./lib/source-node":16}],19:[function(m,v,l){(function(a,e){function k(){return"browser"===G?!0:"node"===G?!1:"undefined"!==typeof window&&"function"===typeof XMLHttpRequest}function n(a){a=a.trim();if(a in A)return A[a];try{if(k()){var c=
new XMLHttpRequest;c.open("GET",a,!1);c.send(null);var b=null;4===c.readyState&&200===c.status&&(b=c.responseText)}else b=L.readFileSync(a,"utf8")}catch(B){b=null}return A[a]=b}function d(a,c){if(!a)return c;var b=D.dirname(a),d=/^\w+:\/\/[^\/]*/.exec(b),d=d?d[0]:"";return d+D.resolve(b.slice(d.length),c)}function c(a){a:{if(k()){var c=new XMLHttpRequest;c.open("GET",a,!1);c.send(null);if(c=c.getResponseHeader("SourceMap")||c.getResponseHeader("X-SourceMap")){var b=c;break a}}c=n(a);for(var f=/(?:\/\/[@#][ \t]+sourceMappingURL=([^\s'"]+?)[ \t]*$)|(?:\/\*[@#][ \t]+sourceMappingURL=([^\*]+?)[ \t]*(?:\*\/)[ \t]*$)/mg,
h;h=f.exec(c);)b=h;b=b?b[1]:null}if(!b)return null;E.test(b)?(a=b.slice(b.indexOf(",")+1),a=(new e(a,"base64")).toString(),b=null):(b=d(a,b),a=n(b));return a?{url:b,map:a}:null}function h(a){var b=C[a.source];if(!b){var e=c(a.source);if(e){var f=e.map instanceof F?e.map:new F(e.map);b=C[a.source]={url:e.url,map:f};b.map.sourcesContent&&b.map.sources.forEach(function(a,c){var e=b.map.sourcesContent[c];if(e){var f=d(b.url,a);A[f]=e}})}else b=C[a.source]={url:null,map:null}}return b&&b.map&&(e=b.map.originalPositionFor(a),
null!==e.source)?(e.source=d(b.url,e.source),e):a}function t(a){var b=/^eval at ([^(]+) \((.+):(\d+):(\d+)\)$/.exec(a);return b?(a=h({source:b[2],line:b[3],column:b[4]-1}),"eval at "+b[1]+" ("+a.source+":"+a.line+":"+(a.column+1)+")"):(b=/^eval at ([^(]+) \((.+)\)$/.exec(a))?"eval at "+b[1]+" ("+t(b[2])+")":a}function q(){var a="";if(this.isNative())a="native";else{var b=this.getScriptNameOrSourceURL();!b&&this.isEval()&&(a=this.getEvalOrigin(),a+=", ");a=b?a+b:a+"<anonymous>";b=this.getLineNumber();
null!=b&&(a+=":"+b,(b=this.getColumnNumber())&&(a+=":"+b))}b="";var c=this.getFunctionName(),d=!0,e=this.isConstructor();if(this.isToplevel()||e)e?b+="new "+(c||"<anonymous>"):c?b+=c:(b+=a,d=!1);else{var e=this.getTypeName(),f=this.getMethodName();c?(e&&0!=c.indexOf(e)&&(b+=e+"."),b+=c,f&&c.indexOf("."+f)!=c.length-f.length-1&&(b+=" [as "+f+"]")):b+=e+"."+(f||"<anonymous>")}d&&(b+=" ("+a+")");return b}function b(a){var b={};Object.getOwnPropertyNames(Object.getPrototypeOf(a)).forEach(function(c){b[c]=
/^(?:is|get)/.test(c)?function(){return a[c].call(a)}:a[c]});b.toString=q;return b}function f(a){var c=a.getFileName()||a.getScriptNameOrSourceURL();if(c){var d=a.getLineNumber(),e=a.getColumnNumber()-1;1!==d||k()||a.isEval()||(e-=62);var f=h({source:c,line:d,column:e});a=b(a);a.getFileName=function(){return f.source};a.getLineNumber=function(){return f.line};a.getColumnNumber=function(){return f.column+1};a.getScriptNameOrSourceURL=function(){return f.source};return a}var l=a.isEval()&&a.getEvalOrigin();
l&&(l=t(l),a=b(a),a.getEvalOrigin=function(){return l});return a}function v(a,b){x&&(A={},C={});return a+b.map(function(a){return"\n at "+f(a)}).join("")}function r(a){var b=/\n at [^(]+ \((.*):(\d+):(\d+)\)/.exec(a.stack);if(b){a=b[1];var c=+b[2],b=+b[3],d=A[a];!d&&L.existsSync(a)&&(d=L.readFileSync(a,"utf8"));if(d&&(d=d.split(/(?:\r\n|\r|\n)/)[c-1]))return a+":"+c+"\n"+d+"\n"+Array(b).join(" ")+"^"}return null}function M(){var b=a.emit;a.emit=function(c){if("uncaughtException"===c){var d=
arguments[1]&&arguments[1].stack,e=0<this.listeners(c).length;if(d&&!e){d=arguments[1];if(e=r(d))console.error(),console.error(e);console.error(d.stack);a.exit(1);return}}return b.apply(this,arguments)}}var F=m("source-map").SourceMapConsumer,D=m("path"),L=m("fs"),z=!1,x=!1,G="auto",A={},C={},E=/^data:application\/json[^,]+base64,/;l.wrapCallSite=f;l.getErrorSource=r;l.mapSourcePosition=h;l.retrieveSourceMap=c;l.install=function(b){if(!z){z=!0;Error.prepareStackTrace=v;b=b||{};var d="handleUncaughtExceptions"in
b?b.handleUncaughtExceptions:!0;x="emptyCacheBetweenOperations"in b?b.emptyCacheBetweenOperations:!1;if(b.environment&&(G=b.environment,-1===["node","browser","auto"].indexOf(G)))throw Error("environment "+G+" was unknown. Available options are {auto, browser, node}");b.retrieveFile&&(n=b.retrieveFile);b.retrieveSourceMap&&(c=b.retrieveSourceMap);d&&"object"===typeof a&&null!==a&&"function"===typeof a.on&&M()}}}).call(this,m("node_modules/process/browser.js"),m("buffer").Buffer)},{"node_modules/process/browser.js":7,
buffer:4,fs:3,path:6,"source-map":18}]},{},[1]);return N});