update build, dependencies, and version number for npm

master
Evan Wallace 11 years ago
parent 649da9a3e5
commit 7e9bcdcba0

@ -84,16 +84,17 @@ Run compiled.js using node (notice how the stack trace uses original.js instead
$ node compiled.js
original.js:1
throw new Error("test"); // This is the original code
throw new Error('test'); // This is the original code
^
Error: test
at Object.<anonymous> (original.js:1:7)
at Module._compile (module.js:449:26)
at Object.Module._extensions..js (module.js:467:10)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.runMain (module.js:492:10)
at process.startup.processNextTick.process._tickCallback (node.js:244:9)
at Function.Module.runMain (module.js:497:10)
at startup (node.js:119:16)
at node.js:901:3
#### TypeScript Demo
@ -113,19 +114,20 @@ Compile and run the file using the TypeScript compiler from the terminal:
$ node_modules/typescript/bin/tsc -sourcemap demo.ts
$ node demo.js
demo.ts:6
demo.ts:5
bar() { throw new Error('this is a demo'); }
^
^
Error: this is a demo
at Foo.bar (demo.ts:6:16)
at new Foo (demo.ts:5:23)
at Object.<anonymous> (demo.ts:8)
at Module._compile (module.js:449:26)
at Object.Module._extensions..js (module.js:467:10)
at Foo.bar (demo.ts:5:17)
at new Foo (demo.ts:4:24)
at Object.<anonymous> (demo.ts:7:1)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.runMain (module.js:492:10)
at process.startup.processNextTick.process._tickCallback (node.js:244:9)
at Function.Module.runMain (module.js:497:10)
at startup (node.js:119:16)
at node.js:901:3
#### CoffeeScript Demo
@ -143,20 +145,20 @@ Compile and run the file using the CoffeeScript compiler from the terminal:
$ node_modules/coffee-script/bin/coffee --map --compile demo.coffee
$ node demo.js
demo.coffee:4
demo.coffee:3
bar = -> throw new Error 'this is a demo'
^
^
Error: this is a demo
at bar (demo.coffee:4:21)
at foo (demo.coffee:5:3)
at Object.<anonymous> (demo.coffee:6)
at Object.<anonymous> (demo.coffee:2)
at Module._compile (module.js:449:26)
at Object.Module._extensions..js (module.js:467:10)
at bar (demo.coffee:3:22)
at foo (demo.coffee:4:3)
at Object.<anonymous> (demo.coffee:5:1)
at Object.<anonymous> (demo.coffee:1:1)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.runMain (module.js:492:10)
at process.startup.processNextTick.process._tickCallback (node.js:244:9)
at Function.Module.runMain (module.js:497:10)
at startup (node.js:119:16)
## License

@ -2,118 +2,86 @@
* Support for source maps in V8 stack traces
* https://github.com/evanw/node-source-map-support
*/
(this.define||function(M,N){this.sourceMapSupport=N()})("browser-source-map-support",function(M){(function k(y,g,v){function C(b,m){if(!g[b]){if(!y[b]){var f="function"==typeof require&&require;if(!m&&f)return f(b,!0);if(E)return E(b,!0);throw Error("Cannot find module '"+b+"'");}f=g[b]={exports:{}};y[b][0].call(f.exports,function(e){var a=y[b][1][e];return C(a?a:e)},f,f.exports,k,y,g,v)}return g[b].exports}for(var E="function"==typeof require&&require,p=0;p<v.length;p++)C(v[p]);return C})({1:[function(k,
y,g){M=k("./source-map-support")},{"./source-map-support":18}],2:[function(k,y,g){function v(a){return"[object Array]"===f.call(a)}function C(a,d){var b;if(null===a)b={__proto__:null};else{if("object"!==typeof a)throw new TypeError("typeof prototype["+typeof a+"] != 'object'");b=function(){};b.prototype=a;b=new b;b.__proto__=a}"undefined"!==typeof d&&Object.defineProperties&&Object.defineProperties(b,d);return b}function E(a){return"object"!=typeof a&&"function"!=typeof a||null===a}function p(a){if(E(a))throw new TypeError("Object.keys called on a non-object");
var b=[],d;for(d in a)e.call(a,d)&&b.push(d);return b}function b(a){if(E(a))throw new TypeError("Object.getOwnPropertyNames called on a non-object");var b=p(a);g.isArray(a)&&-1===g.indexOf(a,"length")&&b.push("length");return b}function m(a,b){return{value:a[b]}}var f=Object.prototype.toString,e=Object.prototype.hasOwnProperty;g.isArray="function"===typeof Array.isArray?Array.isArray:v;g.indexOf=function(a,b){if(a.indexOf)return a.indexOf(b);for(var d=0;d<a.length;d++)if(b===a[d])return d;return-1};
g.filter=function(a,b){if(a.filter)return a.filter(b);for(var d=[],e=0;e<a.length;e++)b(a[e],e,a)&&d.push(a[e]);return d};g.forEach=function(a,b,d){if(a.forEach)return a.forEach(b,d);for(var e=0;e<a.length;e++)b.call(d,a[e],e,a)};g.map=function(a,b){if(a.map)return a.map(b);for(var d=Array(a.length),e=0;e<a.length;e++)d[e]=b(a[e],e,a);return d};g.reduce=function(a,b,d){if(a.reduce)return a.reduce(b,d);var e,r=!1;2<arguments.length&&(e=d,r=!0);for(var h=0,c=a.length;c>h;++h)a.hasOwnProperty(h)&&(r?
e=b(e,a[h],h,a):(e=a[h],r=!0));return e};"b"!=="ab".substr(-1)?g.substr=function(a,b,d){0>b&&(b=a.length+b);return a.substr(b,d)}:g.substr=function(a,b,d){return a.substr(b,d)};g.trim=function(a){return a.trim?a.trim():a.replace(/^\s+|\s+$/g,"")};g.bind=function(){var a=Array.prototype.slice.call(arguments),b=a.shift();if(b.bind)return b.bind.apply(b,a);var d=a.shift();return function(){b.apply(d,a.concat([Array.prototype.slice.call(arguments)]))}};g.create="function"===typeof Object.create?Object.create:
C;var a="function"===typeof Object.keys?Object.keys:p,d="function"===typeof Object.getOwnPropertyNames?Object.getOwnPropertyNames:b;if(Error().hasOwnProperty("description")){var n=function(a,b){"[object Error]"===f.call(a)&&(b=g.filter(b,function(a){return"description"!==a&&"number"!==a&&"message"!==a}));return b};g.keys=function(b){return n(b,a(b))};g.getOwnPropertyNames=function(a){return n(a,d(a))}}else g.keys=a,g.getOwnPropertyNames=d;if("function"===typeof Object.getOwnPropertyDescriptor)try{Object.getOwnPropertyDescriptor({a:1},
"a"),g.getOwnPropertyDescriptor=Object.getOwnPropertyDescriptor}catch(l){g.getOwnPropertyDescriptor=function(a,b){try{return Object.getOwnPropertyDescriptor(a,b)}catch(d){return m(a,b)}}}else g.getOwnPropertyDescriptor=m},{}],3:[function(k,y,g){},{}],4:[function(k,y,g){function v(b,f){for(var e=0,a=b.length-1;0<=a;a--){var d=b[a];"."===d?b.splice(a,1):".."===d?(b.splice(a,1),e++):e&&(b.splice(a,1),e--)}if(f)for(;e--;e)b.unshift("..");return b}var C=k("__browserify_process"),E=k("util"),p=k("_shims"),
b=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/;g.resolve=function(){for(var b="",f=!1,e=arguments.length-1;-1<=e&&!f;e--){var a=0<=e?arguments[e]:C.cwd();if(!E.isString(a))throw new TypeError("Arguments to path.resolve must be strings");a&&(b=a+"/"+b,f="/"===a.charAt(0))}b=v(p.filter(b.split("/"),function(a){return!!a}),!f).join("/");return(f?"/":"")+b||"."};g.normalize=function(b){var f=g.isAbsolute(b),e="/"===p.substr(b,-1);(b=v(p.filter(b.split("/"),function(a){return!!a}),!f).join("/"))||
f||(b=".");b&&e&&(b+="/");return(f?"/":"")+b};g.isAbsolute=function(b){return"/"===b.charAt(0)};g.join=function(){var b=Array.prototype.slice.call(arguments,0);return g.normalize(p.filter(b,function(b,e){if(!E.isString(b))throw new TypeError("Arguments to path.join must be strings");return b}).join("/"))};g.relative=function(b,f){function e(a){for(var b=0;b<a.length&&""===a[b];b++);for(var d=a.length-1;0<=d&&""===a[d];d--);return b>d?[]:a.slice(b,d-b+1)}b=g.resolve(b).substr(1);f=g.resolve(f).substr(1);
for(var a=e(b.split("/")),d=e(f.split("/")),n=Math.min(a.length,d.length),l=n,w=0;w<n;w++)if(a[w]!==d[w]){l=w;break}n=[];for(w=l;w<a.length;w++)n.push("..");n=n.concat(d.slice(l));return n.join("/")};g.sep="/";g.delimiter=":";g.dirname=function(m){var f=b.exec(m).slice(1);m=f[0];f=f[1];if(!m&&!f)return".";f&&(f=f.substr(0,f.length-1));return m+f};g.basename=function(m,f){var e=b.exec(m).slice(1)[2];f&&e.substr(-1*f.length)===f&&(e=e.substr(0,e.length-f.length));return e};g.extname=function(m){return b.exec(m).slice(1)[3]}},
{__browserify_process:7,_shims:2,util:5}],5:[function(k,y,g){function v(c,a){var d={seen:[],stylize:E};3<=arguments.length&&(d.depth=arguments[2]);4<=arguments.length&&(d.colors=arguments[3]);n(a)?d.showHidden=a:a&&g._extend(d,a);u(d.showHidden)&&(d.showHidden=!1);u(d.depth)&&(d.depth=2);u(d.colors)&&(d.colors=!1);u(d.customInspect)&&(d.customInspect=!0);d.colors&&(d.stylize=C);return b(d,c,d.depth)}function C(c,a){var b=v.styles[a];return b?"\u001b["+v.colors[b][0]+"m"+c+"\u001b["+v.colors[b][1]+
"m":c}function E(c,a){return c}function p(c){var a={};D.forEach(c,function(c,b){a[c]=!0});return a}function b(t,l,n){if(t.customInspect&&l&&c(l.inspect)&&l.inspect!==g.inspect&&(!l.constructor||l.constructor.prototype!==l)){var q=l.inspect(n);w(q)||(q=b(t,q,n));return q}if(q=m(t,l))return q;var s=D.keys(l),z=p(s);t.showHidden&&(s=D.getOwnPropertyNames(l));if(0===s.length){if(c(l))return t.stylize("[Function"+(l.name?": "+l.name:"")+"]","special");if(A(l))return t.stylize(RegExp.prototype.toString.call(l),
"regexp");if(r(l))return t.stylize(Date.prototype.toString.call(l),"date");if(h(l))return"["+Error.prototype.toString.call(l)+"]"}var q="",x=!1,B=["{","}"];d(l)&&(x=!0,B=["[","]"]);c(l)&&(q=" [Function"+(l.name?": "+l.name:"")+"]");A(l)&&(q=" "+RegExp.prototype.toString.call(l));r(l)&&(q=" "+Date.prototype.toUTCString.call(l));h(l)&&(q=" "+("["+Error.prototype.toString.call(l)+"]"));if(0===s.length&&(!x||0==l.length))return B[0]+q+B[1];if(0>n)return A(l)?t.stylize(RegExp.prototype.toString.call(l),
"regexp"):t.stylize("[Object]","special");t.seen.push(l);s=x?f(t,l,n,z,s):s.map(function(c){return e(t,l,n,z,c,x)});t.seen.pop();return a(s,q,B)}function m(c,a){if(u(a))return c.stylize("undefined","undefined");if(w(a)){var b="'"+JSON.stringify(a).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return c.stylize(b,"string")}if(l(a))return c.stylize(""+a,"number");if(n(a))return c.stylize(""+a,"boolean");if(null===a)return c.stylize("null","null")}function f(c,a,b,d,h){for(var z=[],
x=0,B=a.length;x<B;++x)Object.prototype.hasOwnProperty.call(a,String(x))?z.push(e(c,a,b,d,String(x),!0)):z.push("");D.forEach(h,function(x){x.match(/^\d+$/)||z.push(e(c,a,b,d,x,!0))});return z}function e(c,a,d,h,e,z){var x,B;a=D.getOwnPropertyDescriptor(a,e)||{value:a[e]};a.get?B=a.set?c.stylize("[Getter/Setter]","special"):c.stylize("[Getter]","special"):a.set&&(B=c.stylize("[Setter]","special"));Object.prototype.hasOwnProperty.call(h,e)||(x="["+e+"]");B||(0>D.indexOf(c.seen,a.value)?(B=null===d?
b(c,a.value,null):b(c,a.value,d-1),-1<B.indexOf("\n")&&(B=z?B.split("\n").map(function(z){return" "+z}).join("\n").substr(2):"\n"+B.split("\n").map(function(z){return" "+z}).join("\n"))):B=c.stylize("[Circular]","special"));if(u(x)){if(z&&e.match(/^\d+$/))return B;x=JSON.stringify(""+e);x.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(x=x.substr(1,x.length-2),x=c.stylize(x,"name")):(x=x.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),x=c.stylize(x,"string"))}return x+": "+B}function a(c,
a,b){var d=0;return 60<D.reduce(c,function(c,z){d++;0<=z.indexOf("\n")&&d++;return c+z.replace(/\u001b\[\d\d?m/g,"").length+1},0)?b[0]+(""===a?"":a+"\n ")+" "+c.join(",\n ")+" "+b[1]:b[0]+a+" "+c.join(", ")+" "+b[1]}function d(c){return D.isArray(c)}function n(c){return"boolean"===typeof c}function l(c){return"number"===typeof c}function w(c){return"string"===typeof c}function u(c){return void 0===c}function A(c){return q(c)&&"[object RegExp]"===Object.prototype.toString.call(c)}function q(c){return"object"===
typeof c&&c}function r(c){return q(c)&&"[object Date]"===Object.prototype.toString.call(c)}function h(c){return q(c)&&"[object Error]"===Object.prototype.toString.call(c)}function c(c){return"function"===typeof c}function t(c){return 10>c?"0"+c.toString(10):c.toString(10)}function G(){var c=new Date,a=[t(c.getHours()),t(c.getMinutes()),t(c.getSeconds())].join(":");return[c.getDate(),H[c.getMonth()],a].join(" ")}var D=k("_shims"),I=/%[sdj%]/g;g.format=function(c){if(!w(c)){for(var a=[],b=0;b<arguments.length;b++)a.push(v(arguments[b]));
return a.join(" ")}for(var b=1,d=arguments,h=d.length,a=String(c).replace(I,function(z){if("%%"===z)return"%";if(b>=h)return z;switch(z){case "%s":return String(d[b++]);case "%d":return Number(d[b++]);case "%j":try{return JSON.stringify(d[b++])}catch(c){return"[Circular]"}default:return z}}),z=d[b];b<h;z=d[++b])a=null!==z&&q(z)?a+(" "+v(z)):a+(" "+z);return a};g.inspect=v;v.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,
39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]};v.styles={special:"cyan",number:"yellow","boolean":"yellow",undefined:"grey","null":"bold",string:"green",date:"magenta",regexp:"red"};g.isArray=d;g.isBoolean=n;g.isNull=function(c){return null===c};g.isNullOrUndefined=function(c){return null==c};g.isNumber=l;g.isString=w;g.isSymbol=function(c){return"symbol"===typeof c};g.isUndefined=u;g.isRegExp=A;g.isObject=q;g.isDate=r;g.isError=h;g.isFunction=c;g.isPrimitive=function(c){return null===
c||"boolean"===typeof c||"number"===typeof c||"string"===typeof c||"symbol"===typeof c||"undefined"===typeof c};g.isBuffer=function(c){return c&&"object"===typeof c&&"function"===typeof c.copy&&"function"===typeof c.fill&&"function"===typeof c.binarySlice};var H="Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" ");g.log=function(){console.log("%s - %s",G(),g.format.apply(g,arguments))};g.inherits=function(c,a){c.super_=a;c.prototype=D.create(a.prototype,{constructor:{value:c,enumerable:!1,
writable:!0,configurable:!0}})};g._extend=function(c,a){if(!a||!q(a))return c;for(var b=D.keys(a),d=b.length;d--;)c[b[d]]=a[b[d]];return c}},{_shims:2}],6:[function(k,y,g){k=function C(g,p,b){function m(a,d){if(!p[a]){if(!g[a]){var e="function"==typeof k&&k;if(!d&&e)return e(a,!0);if(f)return f(a,!0);throw Error("Cannot find module '"+a+"'");}e=p[a]={exports:{}};g[a][0].call(e.exports,function(b){var d=g[a][1][b];return m(d?d:b)},e,e.exports,C,g,p,b)}return p[a].exports}for(var f="function"==typeof k&&
k,e=0;e<b.length;e++)m(b[e]);return m}({1:[function(g,k,p){p.readIEEE754=function(b,m,f,e,a){var d;d=8*a-e-1;var n=(1<<d)-1,l=n>>1,w=-7;a=f?0:a-1;var u=f?1:-1,g=b[m+a];a+=u;f=g&(1<<-w)-1;g>>=-w;for(w+=d;0<w;f=256*f+b[m+a],a+=u,w-=8);d=f&(1<<-w)-1;f>>=-w;for(w+=e;0<w;d=256*d+b[m+a],a+=u,w-=8);if(0===f)f=1-l;else{if(f===n)return d?NaN:Infinity*(g?-1:1);d+=Math.pow(2,e);f-=l}return(g?-1:1)*d*Math.pow(2,f-e)};p.writeIEEE754=function(b,m,f,e,a,d){var n,l=8*d-a-1,w=(1<<l)-1,u=w>>1,g=23===a?Math.pow(2,-24)-
Math.pow(2,-77):0;d=e?d-1:0;var q=e?-1:1,r=0>m||0===m&&0>1/m?1:0;m=Math.abs(m);isNaN(m)||Infinity===m?(m=isNaN(m)?1:0,e=w):(e=Math.floor(Math.log(m)/Math.LN2),1>m*(n=Math.pow(2,-e))&&(e--,n*=2),m=1<=e+u?m+g/n:m+g*Math.pow(2,1-u),2<=m*n&&(e++,n/=2),e+u>=w?(m=0,e=w):1<=e+u?(m=(m*n-1)*Math.pow(2,a),e+=u):(m=m*Math.pow(2,u-1)*Math.pow(2,a),e=0));for(;8<=a;b[f+d]=m&255,d+=q,m/=256,a-=8);e=e<<a|m;for(l+=a;0<l;b[f+d]=e&255,d+=q,e/=256,l-=8);b[f+d-q]|=128*r}},{}],q9TxCC:[function(g,k,p){function b(c,x,a){s||
(s=g("assert"));if(!(this instanceof b))return new b(c,x,a);this.parent=this;this.offset=0;if("base64"==x&&"string"==typeof c)for(c=c.trim?c.trim():c.replace(/^\s+|\s+$/g,"");0!=c.length%4;)c+="=";if("number"===typeof a)for(this.length=f(x),x=0;x<this.length;x++)this[x]=c.get(x+a);else{switch(a=typeof c){case "number":this.length=f(c);break;case "string":this.length=b.byteLength(c,x);break;case "object":this.length=f(c.length);break;default:throw Error("First argument needs to be a number, array or string.");
}var d=c;if(e(d)||b.isBuffer(d)||d&&"object"===typeof d&&"number"===typeof d.length)for(x=0;x<this.length;x++)this[x]=c instanceof b?c.readUInt8(x):c[x];else if("string"==a)this.length=this.write(c,0,x);else if("number"===a)for(x=0;x<this.length;x++)this[x]=0}}function m(c,a,b){if("number"!==typeof c)return b;c=~~c;if(c>=a)return a;if(0<=c)return c;c+=a;return 0<=c?c:0}function f(c){c=~~Math.ceil(+c);return 0>c?0:c}function e(c){return(Array.isArray||function(c){return"[object Array]"=={}.toString.apply(c)})(c)}
function a(c){return 16>c?"0"+c.toString(16):c.toString(16)}function d(c){for(var a=[],b=0;b<c.length;b++)if(127>=c.charCodeAt(b))a.push(c.charCodeAt(b));else for(var d=encodeURIComponent(c.charAt(b)).substr(1).split("%"),h=0;h<d.length;h++)a.push(parseInt(d[h],16));return a}function n(c){return g("base64-js").toByteArray(c)}function l(c,a,b,d){for(var h=0;h<d&&!(h+b>=a.length||h>=c.length);)a[h+b]=c[h],h++;return h}function w(c){try{return decodeURIComponent(c)}catch(a){return String.fromCharCode(65533)}}
function u(c,a,b,d){var h=0;d||(s.ok("boolean"===typeof b,"missing or invalid endian"),s.ok(void 0!==a&&null!==a,"missing offset"),s.ok(a+1<c.length,"Trying to read beyond buffer length"));if(a>=c.length)return 0;b?(h=c[a]<<8,a+1<c.length&&(h|=c[a+1])):(h=c[a],a+1<c.length&&(h|=c[a+1]<<8));return h}function A(c,a,b,d){var h=0;d||(s.ok("boolean"===typeof b,"missing or invalid endian"),s.ok(void 0!==a&&null!==a,"missing offset"),s.ok(a+3<c.length,"Trying to read beyond buffer length"));if(a>=c.length)return 0;
b?(a+1<c.length&&(h=c[a+1]<<16),a+2<c.length&&(h|=c[a+2]<<8),a+3<c.length&&(h|=c[a+3]),h+=c[a]<<24>>>0):(a+2<c.length&&(h=c[a+2]<<16),a+1<c.length&&(h|=c[a+1]<<8),h|=c[a],a+3<c.length&&(h+=c[a+3]<<24>>>0));return h}function q(c,a,b,d){d||(s.ok("boolean"===typeof b,"missing or invalid endian"),s.ok(void 0!==a&&null!==a,"missing offset"),s.ok(a+1<c.length,"Trying to read beyond buffer length"));c=u(c,a,b,d);return c&32768?-1*(65535-c+1):c}function r(c,a,b,d){d||(s.ok("boolean"===typeof b,"missing or invalid endian"),
s.ok(void 0!==a&&null!==a,"missing offset"),s.ok(a+3<c.length,"Trying to read beyond buffer length"));c=A(c,a,b,d);return c&2147483648?-1*(4294967295-c+1):c}function h(c,a,b,d){d||(s.ok("boolean"===typeof b,"missing or invalid endian"),s.ok(a+3<c.length,"Trying to read beyond buffer length"));return g("./buffer_ieee754").readIEEE754(c,a,b,23,4)}function c(c,a,b,d){d||(s.ok("boolean"===typeof b,"missing or invalid endian"),s.ok(a+7<c.length,"Trying to read beyond buffer length"));return g("./buffer_ieee754").readIEEE754(c,
a,b,52,8)}function t(c,a){s.ok("number"==typeof c,"cannot write a non-number as a number");s.ok(0<=c,"specified a negative value for writing an unsigned value");s.ok(c<=a,"value is larger than maximum value for type");s.ok(Math.floor(c)===c,"value has a fractional component")}function G(c,a,b,d,h){h||(s.ok(void 0!==a&&null!==a,"missing value"),s.ok("boolean"===typeof d,"missing or invalid endian"),s.ok(void 0!==b&&null!==b,"missing offset"),s.ok(b+1<c.length,"trying to write beyond buffer length"),
t(a,65535));for(h=0;h<Math.min(c.length-b,2);h++)c[b+h]=(a&255<<8*(d?1-h:h))>>>8*(d?1-h:h)}function D(c,a,b,d,h){h||(s.ok(void 0!==a&&null!==a,"missing value"),s.ok("boolean"===typeof d,"missing or invalid endian"),s.ok(void 0!==b&&null!==b,"missing offset"),s.ok(b+3<c.length,"trying to write beyond buffer length"),t(a,4294967295));for(h=0;h<Math.min(c.length-b,4);h++)c[b+h]=a>>>8*(d?3-h:h)&255}function y(c,a,b){s.ok("number"==typeof c,"cannot write a non-number as a number");s.ok(c<=a,"value larger than maximum allowed value");
s.ok(c>=b,"value smaller than minimum allowed value");s.ok(Math.floor(c)===c,"value has a fractional component")}function H(c,a,b){s.ok("number"==typeof c,"cannot write a non-number as a number");s.ok(c<=a,"value larger than maximum allowed value");s.ok(c>=b,"value smaller than minimum allowed value")}function J(c,a,b,d,h){h||(s.ok(void 0!==a&&null!==a,"missing value"),s.ok("boolean"===typeof d,"missing or invalid endian"),s.ok(void 0!==b&&null!==b,"missing offset"),s.ok(b+1<c.length,"Trying to write beyond buffer length"),
y(a,32767,-32768));0<=a?G(c,a,b,d,h):G(c,65535+a+1,b,d,h)}function F(c,a,b,d,h){h||(s.ok(void 0!==a&&null!==a,"missing value"),s.ok("boolean"===typeof d,"missing or invalid endian"),s.ok(void 0!==b&&null!==b,"missing offset"),s.ok(b+3<c.length,"Trying to write beyond buffer length"),y(a,2147483647,-2147483648));0<=a?D(c,a,b,d,h):D(c,4294967295+a+1,b,d,h)}function K(c,a,b,d,h){h||(s.ok(void 0!==a&&null!==a,"missing value"),s.ok("boolean"===typeof d,"missing or invalid endian"),s.ok(void 0!==b&&null!==
b,"missing offset"),s.ok(b+3<c.length,"Trying to write beyond buffer length"),H(a,3.4028234663852886E38,-3.4028234663852886E38));g("./buffer_ieee754").writeIEEE754(c,a,b,d,23,4)}function L(c,a,b,d,h){h||(s.ok(void 0!==a&&null!==a,"missing value"),s.ok("boolean"===typeof d,"missing or invalid endian"),s.ok(void 0!==b&&null!==b,"missing offset"),s.ok(b+7<c.length,"Trying to write beyond buffer length"),H(a,1.7976931348623157E308,-1.7976931348623157E308));g("./buffer_ieee754").writeIEEE754(c,a,b,d,52,
8)}var s;p.Buffer=b;p.SlowBuffer=b;b.poolSize=8192;p.INSPECT_MAX_BYTES=50;b.prototype.get=function(c){if(0>c||c>=this.length)throw Error("oob");return this[c]};b.prototype.set=function(c,a){if(0>c||c>=this.length)throw Error("oob");return this[c]=a};b.byteLength=function(c,a){switch(a||"utf8"){case "hex":return c.length/2;case "utf8":case "utf-8":return d(c).length;case "ascii":case "binary":return c.length;case "base64":return n(c).length;default:throw Error("Unknown encoding");}};b.prototype.utf8Write=
function(c,a,h){return b._charsWritten=l(d(c),this,a,h)};b.prototype.asciiWrite=function(c,a,d){for(var h=b,e=[],r=0;r<c.length;r++)e.push(c.charCodeAt(r)&255);return h._charsWritten=l(e,this,a,d)};b.prototype.binaryWrite=b.prototype.asciiWrite;b.prototype.base64Write=function(c,a,d){return b._charsWritten=l(n(c),this,a,d)};b.prototype.base64Slice=function(c,a){var b=Array.prototype.slice.apply(this,arguments);return g("base64-js").fromByteArray(b)};b.prototype.utf8Slice=function(){for(var c=Array.prototype.slice.apply(this,
arguments),a="",b="",d=0;d<c.length;)127>=c[d]?(a+=w(b)+String.fromCharCode(c[d]),b=""):b+="%"+c[d].toString(16),d++;return a+w(b)};b.prototype.asciiSlice=function(){for(var c=Array.prototype.slice.apply(this,arguments),a="",b=0;b<c.length;b++)a+=String.fromCharCode(c[b]);return a};b.prototype.binarySlice=b.prototype.asciiSlice;b.prototype.inspect=function(){for(var c=[],b=this.length,d=0;d<b;d++)if(c[d]=a(this[d]),d==p.INSPECT_MAX_BYTES){c[d+1]="...";break}return"<Buffer "+c.join(" ")+">"};b.prototype.hexSlice=
function(c,b){var d=this.length;if(!c||0>c)c=0;if(!b||0>b||b>d)b=d;for(var d="",h=c;h<b;h++)d+=a(this[h]);return d};b.prototype.toString=function(c,a,b){c=String(c||"utf8").toLowerCase();a=+a||0;"undefined"==typeof b&&(b=this.length);if(+b==a)return"";switch(c){case "hex":return this.hexSlice(a,b);case "utf8":case "utf-8":return this.utf8Slice(a,b);case "ascii":return this.asciiSlice(a,b);case "binary":return this.binarySlice(a,b);case "base64":return this.base64Slice(a,b);case "ucs2":case "ucs-2":return this.ucs2Slice(a,
b);default:throw Error("Unknown encoding");}};b.prototype.hexWrite=function(c,a,d){a=+a||0;var h=this.length-a;d?(d=+d,d>h&&(d=h)):d=h;h=c.length;if(h%2)throw Error("Invalid hex string");d>h/2&&(d=h/2);for(h=0;h<d;h++){var e=parseInt(c.substr(2*h,2),16);if(isNaN(e))throw Error("Invalid hex string");this[a+h]=e}b._charsWritten=2*h;return h};b.prototype.write=function(c,a,b,d){if(isFinite(a))isFinite(b)||(d=b,b=void 0);else{var h=d;d=a;a=b;b=h}a=+a||0;h=this.length-a;b?(b=+b,b>h&&(b=h)):b=h;d=String(d||
"utf8").toLowerCase();switch(d){case "hex":return this.hexWrite(c,a,b);case "utf8":case "utf-8":return this.utf8Write(c,a,b);case "ascii":return this.asciiWrite(c,a,b);case "binary":return this.binaryWrite(c,a,b);case "base64":return this.base64Write(c,a,b);case "ucs2":case "ucs-2":return this.ucs2Write(c,a,b);default:throw Error("Unknown encoding");}};b.prototype.slice=function(c,a){var d=this.length;c=m(c,d,0);a=m(a,d,d);return new b(this,a-c,+c)};b.prototype.copy=function(c,a,b,d){b||(b=0);if(void 0===
d||isNaN(d))d=this.length;a||(a=0);if(d<b)throw Error("sourceEnd < sourceStart");if(d===b||0==c.length||0==this.length)return 0;if(0>a||a>=c.length)throw Error("targetStart out of bounds");if(0>b||b>=this.length)throw Error("sourceStart out of bounds");if(0>d||d>this.length)throw Error("sourceEnd out of bounds");d>this.length&&(d=this.length);c.length-a<d-b&&(d=c.length-a+b);for(var h=[];b<d;b++)s.ok("undefined"!==typeof this[b],"copying undefined buffer bytes!"),h.push(this[b]);for(b=a;b<a+h.length;b++)c[b]=
h[b-a]};b.prototype.fill=function(c,a,b){c||(c=0);a||(a=0);b||(b=this.length);"string"===typeof c&&(c=c.charCodeAt(0));if("number"!==typeof c||isNaN(c))throw Error("value is not a number");if(b<a)throw Error("end < start");if(b===a||0==this.length)return 0;if(0>a||a>=this.length)throw Error("start out of bounds");if(0>b||b>this.length)throw Error("end out of bounds");for(;a<b;a++)this[a]=c};b.isBuffer=function(c){return c instanceof b||c instanceof b};b.concat=function(c,a){if(!e(c))throw Error("Usage: Buffer.concat(list, [totalLength])\n list should be an Array.");
if(0===c.length)return new b(0);if(1===c.length)return c[0];if("number"!==typeof a)for(var d=a=0;d<c.length;d++){var h=c[d];a+=h.length}for(var r=new b(a),t=0,d=0;d<c.length;d++)h=c[d],h.copy(r,t),t+=h.length;return r};b.isEncoding=function(c){switch((c+"").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}};b.prototype.readUInt8=function(c,a){a||(s.ok(void 0!==c&&
null!==c,"missing offset"),s.ok(c<this.length,"Trying to read beyond buffer length"));if(!(c>=this.length))return this[c]};b.prototype.readUInt16LE=function(c,a){return u(this,c,!1,a)};b.prototype.readUInt16BE=function(c,a){return u(this,c,!0,a)};b.prototype.readUInt32LE=function(c,a){return A(this,c,!1,a)};b.prototype.readUInt32BE=function(c,a){return A(this,c,!0,a)};b.prototype.readInt8=function(c,a){var b;a||(s.ok(void 0!==c&&null!==c,"missing offset"),s.ok(c<this.length,"Trying to read beyond buffer length"));
if(!(c>=this.length))return(b=this[c]&128)?-1*(255-this[c]+1):this[c]};b.prototype.readInt16LE=function(c,a){return q(this,c,!1,a)};b.prototype.readInt16BE=function(c,a){return q(this,c,!0,a)};b.prototype.readInt32LE=function(c,a){return r(this,c,!1,a)};b.prototype.readInt32BE=function(c,a){return r(this,c,!0,a)};b.prototype.readFloatLE=function(c,a){return h(this,c,!1,a)};b.prototype.readFloatBE=function(c,a){return h(this,c,!0,a)};b.prototype.readDoubleLE=function(a,b){return c(this,a,!1,b)};b.prototype.readDoubleBE=
function(a,b){return c(this,a,!0,b)};b.prototype.writeUInt8=function(c,a,b){b||(s.ok(void 0!==c&&null!==c,"missing value"),s.ok(void 0!==a&&null!==a,"missing offset"),s.ok(a<this.length,"trying to write beyond buffer length"),t(c,255));a<this.length&&(this[a]=c)};b.prototype.writeUInt16LE=function(c,a,b){G(this,c,a,!1,b)};b.prototype.writeUInt16BE=function(c,a,b){G(this,c,a,!0,b)};b.prototype.writeUInt32LE=function(c,a,b){D(this,c,a,!1,b)};b.prototype.writeUInt32BE=function(c,a,b){D(this,c,a,!0,b)};
b.prototype.writeInt8=function(c,a,b){b||(s.ok(void 0!==c&&null!==c,"missing value"),s.ok(void 0!==a&&null!==a,"missing offset"),s.ok(a<this.length,"Trying to write beyond buffer length"),y(c,127,-128));0<=c?this.writeUInt8(c,a,b):this.writeUInt8(255+c+1,a,b)};b.prototype.writeInt16LE=function(c,a,b){J(this,c,a,!1,b)};b.prototype.writeInt16BE=function(c,a,b){J(this,c,a,!0,b)};b.prototype.writeInt32LE=function(c,a,b){F(this,c,a,!1,b)};b.prototype.writeInt32BE=function(c,a,b){F(this,c,a,!0,b)};b.prototype.writeFloatLE=
function(c,a,b){K(this,c,a,!1,b)};b.prototype.writeFloatBE=function(c,a,b){K(this,c,a,!0,b)};b.prototype.writeDoubleLE=function(c,a,b){L(this,c,a,!1,b)};b.prototype.writeDoubleBE=function(c,a,b){L(this,c,a,!0,b)}},{"./buffer_ieee754":1,assert:6,"base64-js":4}],"buffer-browserify":[function(g,k,p){k.exports=g("q9TxCC")},{}],4:[function(g,k,p){(function(b){k.exports.toByteArray=function(b){var f,e,a,d,n;if(0<b.length%4)throw"Invalid string. Length must be a multiple of 4";d=b.indexOf("=");d=0<d?b.length-
d:0;n=[];e=0<d?b.length-4:b.length;for(f=0;f<e;f+=4)a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".indexOf(b[f])<<18|"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".indexOf(b[f+1])<<12|"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".indexOf(b[f+2])<<6|"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".indexOf(b[f+3]),n.push((a&16711680)>>16),n.push((a&65280)>>8),n.push(a&255);2===d?(a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".indexOf(b[f])<<
2|"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".indexOf(b[f+1])>>4,n.push(a&255)):1===d&&(a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".indexOf(b[f])<<10|"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".indexOf(b[f+1])<<4|"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".indexOf(b[f+2])>>2,n.push(a>>8&255),n.push(a&255));return n};k.exports.fromByteArray=function(b){var f,e=b.length%3,a="",d,n;f=0;for(n=b.length-e;f<n;f+=
3)d=(b[f]<<16)+(b[f+1]<<8)+b[f+2],a+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[d>>18&63]+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[d>>12&63]+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[d>>6&63]+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[d&63];switch(e){case 1:d=b[b.length-1];a+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[d>>2];a+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[d<<
4&63];a+="==";break;case 2:d=(b[b.length-2]<<8)+b[b.length-1],a+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[d>>10],a+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[d>>4&63],a+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[d<<2&63],a+="="}return a}})()},{}],5:[function(g,k,p){function b(a){return"[object Array]"===n.call(a)}function m(a,b){var c;if(null===a)c={__proto__:null};else{if("object"!==typeof a)throw new TypeError("typeof prototype["+
typeof a+"] != 'object'");c=function(){};c.prototype=a;c=new c;c.__proto__=a}"undefined"!==typeof b&&Object.defineProperties&&Object.defineProperties(c,b);return c}function f(a){return"object"!=typeof a&&"function"!=typeof a||null===a}function e(a){if(f(a))throw new TypeError("Object.keys called on a non-object");var b=[],c;for(c in a)l.call(a,c)&&b.push(c);return b}function a(a){if(f(a))throw new TypeError("Object.getOwnPropertyNames called on a non-object");var b=e(a);p.isArray(a)&&-1===p.indexOf(a,
"length")&&b.push("length");return b}function d(a,b){return{value:a[b]}}var n=Object.prototype.toString,l=Object.prototype.hasOwnProperty;p.isArray="function"===typeof Array.isArray?Array.isArray:b;p.indexOf=function(a,b){if(a.indexOf)return a.indexOf(b);for(var c=0;c<a.length;c++)if(b===a[c])return c;return-1};p.filter=function(a,b){if(a.filter)return a.filter(b);for(var c=[],d=0;d<a.length;d++)b(a[d],d,a)&&c.push(a[d]);return c};p.forEach=function(a,b,c){if(a.forEach)return a.forEach(b,c);for(var d=
0;d<a.length;d++)b.call(c,a[d],d,a)};p.map=function(a,b){if(a.map)return a.map(b);for(var c=Array(a.length),d=0;d<a.length;d++)c[d]=b(a[d],d,a);return c};p.reduce=function(a,b,c){if(a.reduce)return a.reduce(b,c);var d,e=!1;2<arguments.length&&(d=c,e=!0);for(var l=0,f=a.length;f>l;++l)a.hasOwnProperty(l)&&(e?d=b(d,a[l],l,a):(d=a[l],e=!0));return d};"b"!=="ab".substr(-1)?p.substr=function(a,b,c){0>b&&(b=a.length+b);return a.substr(b,c)}:p.substr=function(a,b,c){return a.substr(b,c)};p.trim=function(a){return a.trim?
a.trim():a.replace(/^\s+|\s+$/g,"")};p.bind=function(){var a=Array.prototype.slice.call(arguments),b=a.shift();if(b.bind)return b.bind.apply(b,a);var c=a.shift();return function(){b.apply(c,a.concat([Array.prototype.slice.call(arguments)]))}};p.create="function"===typeof Object.create?Object.create:m;var w="function"===typeof Object.keys?Object.keys:e,u="function"===typeof Object.getOwnPropertyNames?Object.getOwnPropertyNames:a;if(Error().hasOwnProperty("description")){var A=function(a,b){"[object Error]"===
n.call(a)&&(b=p.filter(b,function(c){return"description"!==c&&"number"!==c&&"message"!==c}));return b};p.keys=function(a){return A(a,w(a))};p.getOwnPropertyNames=function(a){return A(a,u(a))}}else p.keys=w,p.getOwnPropertyNames=u;if("function"===typeof Object.getOwnPropertyDescriptor)try{Object.getOwnPropertyDescriptor({a:1},"a"),p.getOwnPropertyDescriptor=Object.getOwnPropertyDescriptor}catch(q){p.getOwnPropertyDescriptor=function(a,b){try{return Object.getOwnPropertyDescriptor(a,b)}catch(c){return d(a,
b)}}}else p.getOwnPropertyDescriptor=d},{}],6:[function(g,k,p){function b(a,c){return u.isUndefined(c)?""+c:u.isNumber(c)&&(isNaN(c)||!isFinite(c))||u.isFunction(c)||u.isRegExp(c)?c.toString():c}function m(a,c){return u.isString(a)?a.length<c?a:a.slice(0,c):a}function f(a,c,b,d,e){throw new r.AssertionError({message:b,actual:a,expected:c,operator:d,stackStartFunction:e});}function e(a,c){a||f(a,!0,c,"==",r.ok)}function a(a,c){if(a===c)return!0;if(u.isBuffer(a)&&u.isBuffer(c)){if(a.length!=c.length)return!1;
for(var b=0;b<a.length;b++)if(a[b]!==c[b])return!1;return!0}return u.isDate(a)&&u.isDate(c)?a.getTime()===c.getTime():u.isRegExp(a)&&u.isRegExp(c)?a.source===c.source&&a.global===c.global&&a.multiline===c.multiline&&a.lastIndex===c.lastIndex&&a.ignoreCase===c.ignoreCase:u.isObject(a)||u.isObject(c)?n(a,c):a==c}function d(a){return"[object Arguments]"==Object.prototype.toString.call(a)}function n(b,c){if(u.isNullOrUndefined(b)||u.isNullOrUndefined(c)||b.prototype!==c.prototype)return!1;if(d(b)){if(!d(c))return!1;
b=q.call(b);c=q.call(c);return a(b,c)}try{var e=A.keys(b),l=A.keys(c),f}catch(n){return!1}if(e.length!=l.length)return!1;e.sort();l.sort();for(f=e.length-1;0<=f;f--)if(e[f]!=l[f])return!1;for(f=e.length-1;0<=f;f--)if(l=e[f],!a(b[l],c[l]))return!1;return!0}function l(a,c){return a&&c?"[object RegExp]"==Object.prototype.toString.call(c)?c.test(a):a instanceof c||!0===c.call({},a)?!0:!1:!1}function w(a,c,b,d){var e;u.isString(b)&&(d=b,b=null);try{c()}catch(n){e=n}d=(b&&b.name?" ("+b.name+").":".")+(d?
" "+d:".");a&&!e&&f(e,b,"Missing expected exception"+d);!a&&l(e,b)&&f(e,b,"Got unwanted exception"+d);if(a&&e&&b&&!l(e,b)||!a&&e)throw e;}var u=g("util"),A=g("_shims"),q=Array.prototype.slice,r=k.exports=e;r.AssertionError=function(a){this.name="AssertionError";this.actual=a.actual;this.expected=a.expected;this.operator=a.operator;this.message=a.message||m(JSON.stringify(this.actual,b),128)+" "+this.operator+" "+m(JSON.stringify(this.expected,b),128)};u.inherits(r.AssertionError,Error);r.fail=f;r.ok=
e;r.equal=function(a,c,b){a!=c&&f(a,c,b,"==",r.equal)};r.notEqual=function(a,c,b){a==c&&f(a,c,b,"!=",r.notEqual)};r.deepEqual=function(b,c,d){a(b,c)||f(b,c,d,"deepEqual",r.deepEqual)};r.notDeepEqual=function(b,c,d){a(b,c)&&f(b,c,d,"notDeepEqual",r.notDeepEqual)};r.strictEqual=function(a,c,b){a!==c&&f(a,c,b,"===",r.strictEqual)};r.notStrictEqual=function(a,c,b){a===c&&f(a,c,b,"!==",r.notStrictEqual)};r["throws"]=function(a,c,b){w.apply(this,[!0].concat(q.call(arguments)))};r.doesNotThrow=function(a,
c){w.apply(this,[!1].concat(q.call(arguments)))};r.ifError=function(a){if(a)throw a;}},{_shims:5,util:7}],7:[function(g,k,p){function b(c,b){var d={seen:[],stylize:f};3<=arguments.length&&(d.depth=arguments[2]);4<=arguments.length&&(d.colors=arguments[3]);A(b)?d.showHidden=b:b&&p._extend(d,b);h(d.showHidden)&&(d.showHidden=!1);h(d.depth)&&(d.depth=2);h(d.colors)&&(d.colors=!1);h(d.customInspect)&&(d.customInspect=!0);d.colors&&(d.stylize=m);return a(d,c,d.depth)}function m(a,c){var d=b.styles[c];
return d?"\u001b["+b.colors[d][0]+"m"+a+"\u001b["+b.colors[d][1]+"m":a}function f(a,c){return a}function e(a){var c={};F.forEach(a,function(a,b){c[a]=!0});return c}function a(b,h,f){if(b.customInspect&&h&&I(h.inspect)&&h.inspect!==p.inspect&&(!h.constructor||h.constructor.prototype!==h)){var q=h.inspect(f);r(q)||(q=a(b,q,f));return q}if(q=d(b,h))return q;var t=F.keys(h),m=e(t);b.showHidden&&(t=F.getOwnPropertyNames(h));if(0===t.length){if(I(h))return b.stylize("[Function"+(h.name?": "+h.name:"")+
"]","special");if(c(h))return b.stylize(RegExp.prototype.toString.call(h),"regexp");if(G(h))return b.stylize(Date.prototype.toString.call(h),"date");if(y(h))return"["+Error.prototype.toString.call(h)+"]"}var q="",g=!1,k=["{","}"];u(h)&&(g=!0,k=["[","]"]);I(h)&&(q=" [Function"+(h.name?": "+h.name:"")+"]");c(h)&&(q=" "+RegExp.prototype.toString.call(h));G(h)&&(q=" "+Date.prototype.toUTCString.call(h));y(h)&&(q=" "+("["+Error.prototype.toString.call(h)+"]"));if(0===t.length&&(!g||0==h.length))return k[0]+
q+k[1];if(0>f)return c(h)?b.stylize(RegExp.prototype.toString.call(h),"regexp"):b.stylize("[Object]","special");b.seen.push(h);t=g?n(b,h,f,m,t):t.map(function(a){return l(b,h,f,m,a,g)});b.seen.pop();return w(t,q,k)}function d(a,c){if(h(c))return a.stylize("undefined","undefined");if(r(c)){var b="'"+JSON.stringify(c).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return a.stylize(b,"string")}if(q(c))return a.stylize(""+c,"number");if(A(c))return a.stylize(""+c,"boolean");if(null===
c)return a.stylize("null","null")}function n(a,c,b,d,e){for(var h=[],f=0,q=c.length;f<q;++f)Object.prototype.hasOwnProperty.call(c,String(f))?h.push(l(a,c,b,d,String(f),!0)):h.push("");F.forEach(e,function(e){e.match(/^\d+$/)||h.push(l(a,c,b,d,e,!0))});return h}function l(c,b,d,e,l,f){var q,n;b=F.getOwnPropertyDescriptor(b,l)||{value:b[l]};b.get?n=b.set?c.stylize("[Getter/Setter]","special"):c.stylize("[Getter]","special"):b.set&&(n=c.stylize("[Setter]","special"));Object.prototype.hasOwnProperty.call(e,
l)||(q="["+l+"]");n||(0>F.indexOf(c.seen,b.value)?(n=null===d?a(c,b.value,null):a(c,b.value,d-1),-1<n.indexOf("\n")&&(n=f?n.split("\n").map(function(a){return" "+a}).join("\n").substr(2):"\n"+n.split("\n").map(function(a){return" "+a}).join("\n"))):n=c.stylize("[Circular]","special"));if(h(q)){if(f&&l.match(/^\d+$/))return n;q=JSON.stringify(""+l);q.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(q=q.substr(1,q.length-2),q=c.stylize(q,"name")):(q=q.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,
"'"),q=c.stylize(q,"string"))}return q+": "+n}function w(a,c,b){var d=0;return 60<F.reduce(a,function(a,c){d++;0<=c.indexOf("\n")&&d++;return a+c.replace(/\u001b\[\d\d?m/g,"").length+1},0)?b[0]+(""===c?"":c+"\n ")+" "+a.join(",\n ")+" "+b[1]:b[0]+c+" "+a.join(", ")+" "+b[1]}function u(a){return F.isArray(a)}function A(a){return"boolean"===typeof a}function q(a){return"number"===typeof a}function r(a){return"string"===typeof a}function h(a){return void 0===a}function c(a){return t(a)&&"[object RegExp]"===
Object.prototype.toString.call(a)}function t(a){return"object"===typeof a&&a}function G(a){return t(a)&&"[object Date]"===Object.prototype.toString.call(a)}function y(a){return t(a)&&"[object Error]"===Object.prototype.toString.call(a)}function I(a){return"function"===typeof a}function H(a){return 10>a?"0"+a.toString(10):a.toString(10)}function J(){var a=new Date,c=[H(a.getHours()),H(a.getMinutes()),H(a.getSeconds())].join(":");return[a.getDate(),L[a.getMonth()],c].join(" ")}var F=g("_shims"),K=/%[sdj%]/g;
p.format=function(a){if(!r(a)){for(var c=[],d=0;d<arguments.length;d++)c.push(b(arguments[d]));return c.join(" ")}for(var d=1,e=arguments,h=e.length,c=String(a).replace(K,function(a){if("%%"===a)return"%";if(d>=h)return a;switch(a){case "%s":return String(e[d++]);case "%d":return Number(e[d++]);case "%j":try{return JSON.stringify(e[d++])}catch(c){return"[Circular]"}default:return a}}),l=e[d];d<h;l=e[++d])c=null!==l&&t(l)?c+(" "+b(l)):c+(" "+l);return c};p.inspect=b;b.colors={bold:[1,22],italic:[3,
23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]};b.styles={special:"cyan",number:"yellow","boolean":"yellow",undefined:"grey","null":"bold",string:"green",date:"magenta",regexp:"red"};p.isArray=u;p.isBoolean=A;p.isNull=function(a){return null===a};p.isNullOrUndefined=function(a){return null==a};p.isNumber=q;p.isString=r;p.isSymbol=function(a){return"symbol"===typeof a};p.isUndefined=h;p.isRegExp=
c;p.isObject=t;p.isDate=G;p.isError=y;p.isFunction=I;p.isPrimitive=function(a){return null===a||"boolean"===typeof a||"number"===typeof a||"string"===typeof a||"symbol"===typeof a||"undefined"===typeof a};p.isBuffer=function(a){return a instanceof Buffer};var L="Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" ");p.log=function(){console.log("%s - %s",J(),p.format.apply(p,arguments))};p.inherits=function(a,c){a.super_=c;a.prototype=F.create(c.prototype,{constructor:{value:a,enumerable:!1,
writable:!0,configurable:!0}})};p._extend=function(a,c){if(!c||!t(c))return a;for(var b=F.keys(c),d=b.length;d--;)a[b[d]]=c[b[d]];return a}},{_shims:5}]},{},[]);y.exports=k("buffer-browserify")},{}],7:[function(k,y,g){k=y.exports={};k.nextTick=function(){if("undefined"!==typeof window&&window.setImmediate)return function(g){return window.setImmediate(g)};if("undefined"!==typeof window&&window.postMessage&&window.addEventListener){var g=[];window.addEventListener("message",function(k){k.source===window&&
"process-tick"===k.data&&(k.stopPropagation(),0<g.length&&g.shift()())},!0);return function(k){g.push(k);window.postMessage("process-tick","*")}}return function(g){setTimeout(g,0)}}();k.title="browser";k.browser=!0;k.env={};k.argv=[];k.binding=function(g){throw Error("process.binding is not supported");};k.cwd=function(){return"/"};k.chdir=function(g){throw Error("process.chdir is not supported");}},{}],8:[function(k,y,g){g.SourceMapGenerator=k("./source-map/source-map-generator").SourceMapGenerator;
g.SourceMapConsumer=k("./source-map/source-map-consumer").SourceMapConsumer;g.SourceNode=k("./source-map/source-node").SourceNode},{"./source-map/source-map-consumer":13,"./source-map/source-map-generator":14,"./source-map/source-node":15}],9:[function(k,y,g){if("function"!==typeof v)var v=k("amdefine")(y,k);v(function(g,k,p){function b(){this._array=[];this._set={}}var m=g("./util");b.fromArray=function(f,e){for(var a=new b,d=0,n=f.length;d<n;d++)a.add(f[d],e);return a};b.prototype.add=function(b,
e){var a=this.has(b),d=this._array.length;a&&!e||this._array.push(b);a||(this._set[m.toSetString(b)]=d)};b.prototype.has=function(b){return Object.prototype.hasOwnProperty.call(this._set,m.toSetString(b))};b.prototype.indexOf=function(b){if(this.has(b))return this._set[m.toSetString(b)];throw Error('"'+b+'" is not in the set.');};b.prototype.at=function(b){if(0<=b&&b<this._array.length)return this._array[b];throw Error("No element indexed by "+b);};b.prototype.toArray=function(){return this._array.slice()};
k.ArraySet=b})},{"./util":16,amdefine:17}],10:[function(k,y,g){if("function"!==typeof v)var v=k("amdefine")(y,k);v(function(g,k,p){var b=g("./base64");k.encode=function(g){var f="",e=0>g?(-g<<1)+1:(g<<1)+0;do g=e&31,e>>>=5,0<e&&(g|=32),f+=b.encode(g);while(0<e);return f};k.decode=function(g){var f=0,e=g.length,a=0,d=0,n,l;do{if(f>=e)throw Error("Expected more digits in base 64 VLQ value.");l=b.decode(g.charAt(f++));n=!!(l&32);l&=31;a+=l<<d;d+=5}while(n);e=a>>1;return{value:1===(a&1)?-e:e,rest:g.slice(f)}}})},
{"./base64":11,amdefine:17}],11:[function(k,y,g){if("function"!==typeof v)var v=k("amdefine")(y,k);v(function(g,k,p){var b={},m={};"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("").forEach(function(f,e){b[f]=e;m[e]=f});k.encode=function(b){if(b in m)return m[b];throw new TypeError("Must be between 0 and 63: "+b);};k.decode=function(f){if(f in b)return b[f];throw new TypeError("Not a valid base 64 digit: "+f);}})},{amdefine:17}],12:[function(k,y,g){if("function"!==typeof v)var v=
k("amdefine")(y,k);v(function(g,k,p){function b(g,f,e,a,d){var n=Math.floor((f-g)/2)+g,l=d(e,a[n]);return 0===l?a[n]:0<l?1<f-n?b(n,f,e,a,d):a[n]:1<n-g?b(g,n,e,a,d):0>g?null:a[g]}k.search=function(g,f,e){return 0<f.length?b(-1,f.length,g,f,e):null}})},{amdefine:17}],13:[function(k,y,g){if("function"!==typeof v)var v=k("amdefine")(y,k);v(function(g,k,p){function b(a){var b=a;"string"===typeof a&&(b=JSON.parse(a.replace(/^\)\]\}'/,"")));a=m.getArg(b,"version");var l=m.getArg(b,"sources"),f=m.getArg(b,
"names"),g=m.getArg(b,"sourceRoot",null),k=m.getArg(b,"sourcesContent",null),q=m.getArg(b,"mappings"),b=m.getArg(b,"file",null);if(a!==this._version)throw Error("Unsupported version: "+a);this._names=e.fromArray(f,!0);this._sources=e.fromArray(l,!0);this.sourceRoot=g;this.sourcesContent=k;this.file=b;this._generatedMappings=[];this._originalMappings=[];this._parseMappings(q,g)}var m=g("./util"),f=g("./binary-search"),e=g("./array-set").ArraySet,a=g("./base64-vlq");b.prototype._version=3;Object.defineProperty(b.prototype,
"sources",{get:function(){return this._sources.toArray().map(function(a){return this.sourceRoot?m.join(this.sourceRoot,a):a},this)}});b.prototype._parseMappings=function(b,e){for(var l=1,f=0,g=0,m=0,q=0,r=0,h=/^[,;]/,c=b,t;0<c.length;)if(";"===c.charAt(0))l++,c=c.slice(1),f=0;else if(","===c.charAt(0))c=c.slice(1);else{t={};t.generatedLine=l;c=a.decode(c);t.generatedColumn=f+c.value;f=t.generatedColumn;c=c.rest;if(0<c.length&&!h.test(c.charAt(0))){c=a.decode(c);t.source=this._sources.at(q+c.value);
q+=c.value;c=c.rest;if(0===c.length||h.test(c.charAt(0)))throw Error("Found a source, but no line and column");c=a.decode(c);t.originalLine=g+c.value;g=t.originalLine;t.originalLine+=1;c=c.rest;if(0===c.length||h.test(c.charAt(0)))throw Error("Found a source and line, but no column");c=a.decode(c);t.originalColumn=m+c.value;m=t.originalColumn;c=c.rest;0<c.length&&!h.test(c.charAt(0))&&(c=a.decode(c),t.name=this._names.at(r+c.value),r+=c.value,c=c.rest)}this._generatedMappings.push(t);"number"===typeof t.originalLine&&
this._originalMappings.push(t)}this._originalMappings.sort(this._compareOriginalPositions)};b.prototype._compareOriginalPositions=function(a,b){if(a.source>b.source)return 1;if(a.source<b.source)return-1;var e=a.originalLine-b.originalLine;return 0===e?a.originalColumn-b.originalColumn:e};b.prototype._compareGeneratedPositions=function(a,b){var e=a.generatedLine-b.generatedLine;return 0===e?a.generatedColumn-b.generatedColumn:e};b.prototype._findMapping=function(a,b,e,g,m){if(0>=a[e])throw new TypeError("Line must be greater than or equal to 1, got "+
a[e]);if(0>a[g])throw new TypeError("Column must be greater than or equal to 0, got "+a[g]);return f.search(a,b,m)};b.prototype.originalPositionFor=function(a){a={generatedLine:m.getArg(a,"line"),generatedColumn:m.getArg(a,"column")};if(a=this._findMapping(a,this._generatedMappings,"generatedLine","generatedColumn",this._compareGeneratedPositions)){var b=m.getArg(a,"source",null);b&&this.sourceRoot&&(b=m.join(this.sourceRoot,b));return{source:b,line:m.getArg(a,"originalLine",null),column:m.getArg(a,
"originalColumn",null),name:m.getArg(a,"name",null)}}return{source:null,line:null,column:null,name:null}};b.prototype.sourceContentFor=function(a){if(!this.sourcesContent)return null;this.sourceRoot&&(a=m.relative(this.sourceRoot,a));if(this._sources.has(a))return this.sourcesContent[this._sources.indexOf(a)];var b;if(this.sourceRoot&&(b=m.urlParse(this.sourceRoot))){var e=a.replace(/^file:\/\//,"");if("file"==b.scheme&&this._sources.has(e))return this.sourcesContent[this._sources.indexOf(e)];if((!b.path||
"/"==b.path)&&this._sources.has("/"+a))return this.sourcesContent[this._sources.indexOf("/"+a)]}throw Error('"'+a+'" is not in the SourceMap.');};b.prototype.generatedPositionFor=function(a){a={source:m.getArg(a,"source"),originalLine:m.getArg(a,"line"),originalColumn:m.getArg(a,"column")};this.sourceRoot&&(a.source=m.relative(this.sourceRoot,a.source));return(a=this._findMapping(a,this._originalMappings,"originalLine","originalColumn",this._compareOriginalPositions))?{line:m.getArg(a,"generatedLine",
null),column:m.getArg(a,"generatedColumn",null)}:{line:null,column:null}};b.GENERATED_ORDER=1;b.ORIGINAL_ORDER=2;b.prototype.eachMapping=function(a,e,l){e=e||null;switch(l||b.GENERATED_ORDER){case b.GENERATED_ORDER:l=this._generatedMappings;break;case b.ORIGINAL_ORDER:l=this._originalMappings;break;default:throw Error("Unknown order of iteration.");}var f=this.sourceRoot;l.map(function(a){var b=a.source;b&&f&&(b=m.join(f,b));return{source:b,generatedLine:a.generatedLine,generatedColumn:a.generatedColumn,
originalLine:a.originalLine,originalColumn:a.originalColumn,name:a.name}}).forEach(a,e)};k.SourceMapConsumer=b})},{"./array-set":9,"./base64-vlq":10,"./binary-search":12,"./util":16,amdefine:17}],14:[function(k,y,g){if("function"!==typeof v)var v=k("amdefine")(y,k);v(function(g,k,p){function b(a){this._file=d.getArg(a,"file");this._sourceRoot=d.getArg(a,"sourceRoot",null);this._sources=new n;this._names=new n;this._mappings=[];this._sourcesContents=null}function m(a,b){var d=(a&&a.line)-(b&&b.line);
return d?d:(a&&a.column)-(b&&b.column)}function f(a,b){a=a||"";b=b||"";return(a>b)-(a<b)}function e(a,b){return m(a.generated,b.generated)||m(a.original,b.original)||f(a.source,b.source)||f(a.name,b.name)}var a=g("./base64-vlq"),d=g("./util"),n=g("./array-set").ArraySet;b.prototype._version=3;b.fromSourceMap=function(a){var e=a.sourceRoot,f=new b({file:a.file,sourceRoot:e});a.eachMapping(function(a){var b={generated:{line:a.generatedLine,column:a.generatedColumn}};a.source&&(b.source=a.source,e&&
(b.source=d.relative(e,b.source)),b.original={line:a.originalLine,column:a.originalColumn},a.name&&(b.name=a.name));f.addMapping(b)});a.sources.forEach(function(b){var d=a.sourceContentFor(b);d&&f.setSourceContent(b,d)});return f};b.prototype.addMapping=function(a){var b=d.getArg(a,"generated"),e=d.getArg(a,"original",null),f=d.getArg(a,"source",null);a=d.getArg(a,"name",null);this._validateMapping(b,e,f,a);f&&!this._sources.has(f)&&this._sources.add(f);a&&!this._names.has(a)&&this._names.add(a);
this._mappings.push({generated:b,original:e,source:f,name:a})};b.prototype.setSourceContent=function(a,b){var e=a;this._sourceRoot&&(e=d.relative(this._sourceRoot,e));null!==b?(this._sourcesContents||(this._sourcesContents={}),this._sourcesContents[d.toSetString(e)]=b):(delete this._sourcesContents[d.toSetString(e)],0===Object.keys(this._sourcesContents).length&&(this._sourcesContents=null))};b.prototype.applySourceMap=function(a,b){b||(b=a.file);var e=this._sourceRoot;e&&(b=d.relative(e,b));var f=
new n,g=new n;this._mappings.forEach(function(r){if(r.source===b&&r.original){var h=a.originalPositionFor({line:r.original.line,column:r.original.column});null!==h.source&&(r.source=e?d.relative(e,h.source):h.source,r.original.line=h.line,r.original.column=h.column,null!==h.name&&null!==r.name&&(r.name=h.name))}(h=r.source)&&!f.has(h)&&f.add(h);(r=r.name)&&!g.has(r)&&g.add(r)},this);this._sources=f;this._names=g;a.sources.forEach(function(b){var h=a.sourceContentFor(b);h&&(e&&(b=d.relative(e,b)),
this.setSourceContent(b,h))},this)};b.prototype._validateMapping=function(a,b,d,e){if(!(a&&"line"in a&&"column"in a&&0<a.line&&0<=a.column&&!b&&!d&&!e||a&&"line"in a&&"column"in a&&b&&"line"in b&&"column"in b&&0<a.line&&0<=a.column&&0<b.line&&0<=b.column&&d))throw Error("Invalid mapping.");};b.prototype._serializeMappings=function(){var b=0,d=1,f=0,g=0,q=0,r=0,h="",c;this._mappings.sort(e);for(var t=0,n=this._mappings.length;t<n;t++){c=this._mappings[t];if(c.generated.line!==d)for(b=0;c.generated.line!==
d;)h+=";",d++;else if(0<t){if(!e(c,this._mappings[t-1]))continue;h+=","}h+=a.encode(c.generated.column-b);b=c.generated.column;c.source&&c.original&&(h+=a.encode(this._sources.indexOf(c.source)-r),r=this._sources.indexOf(c.source),h+=a.encode(c.original.line-1-g),g=c.original.line-1,h+=a.encode(c.original.column-f),f=c.original.column,c.name&&(h+=a.encode(this._names.indexOf(c.name)-q),q=this._names.indexOf(c.name)))}return h};b.prototype.toJSON=function(){var a={version:this._version,file:this._file,
sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};this._sourceRoot&&(a.sourceRoot=this._sourceRoot);this._sourcesContents&&(a.sourcesContent=a.sources.map(function(b){a.sourceRoot&&(b=d.relative(a.sourceRoot,b));return Object.prototype.hasOwnProperty.call(this._sourcesContents,d.toSetString(b))?this._sourcesContents[d.toSetString(b)]:null},this));return a};b.prototype.toString=function(){return JSON.stringify(this)};k.SourceMapGenerator=b})},{"./array-set":9,
"./base64-vlq":10,"./util":16,amdefine:17}],15:[function(k,y,g){if("function"!==typeof v)var v=k("amdefine")(y,k);v(function(g,k,p){function b(b,a,d,f,g){this.children=[];this.sourceContents={};this.line=void 0===b?null:b;this.column=void 0===a?null:a;this.source=void 0===d?null:d;this.name=void 0===g?null:g;null!=f&&this.add(f)}var m=g("./source-map-generator").SourceMapGenerator,f=g("./util");b.fromStringWithSourceMap=function(e,a){function d(a,d){null===a||void 0===a.source?f.add(d):f.add(new b(a.originalLine,
a.originalColumn,a.source,d,a.name))}var f=new b,g=e.split("\n"),m=1,k=0,p=null;a.eachMapping(function(a){if(null===p){for(;m<a.generatedLine;)f.add(g.shift()+"\n"),m++;if(k<a.generatedColumn){var b=g[0];f.add(b.substr(0,a.generatedColumn));g[0]=b.substr(a.generatedColumn);k=a.generatedColumn}}else{if(m<a.generatedLine){var e="";do e+=g.shift()+"\n",m++,k=0;while(m<a.generatedLine);k<a.generatedColumn&&(b=g[0],e+=b.substr(0,a.generatedColumn),g[0]=b.substr(a.generatedColumn),k=a.generatedColumn)}else b=
g[0],e=b.substr(0,a.generatedColumn-k),g[0]=b.substr(a.generatedColumn-k),k=a.generatedColumn;d(p,e)}p=a},this);d(p,g.join("\n"));a.sources.forEach(function(b){var d=a.sourceContentFor(b);d&&f.setSourceContent(b,d)});return f};b.prototype.add=function(e){if(Array.isArray(e))e.forEach(function(a){this.add(a)},this);else if(e instanceof b||"string"===typeof e)e&&this.children.push(e);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);return this};
b.prototype.prepend=function(e){if(Array.isArray(e))for(var a=e.length-1;0<=a;a--)this.prepend(e[a]);else if(e instanceof b||"string"===typeof e)this.children.unshift(e);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);return this};b.prototype.walk=function(e){this.children.forEach(function(a){a instanceof b?a.walk(e):""!==a&&e(a,{source:this.source,line:this.line,column:this.column,name:this.name})},this)};b.prototype.join=function(b){var a,
d,f=this.children.length;if(0<f){a=[];for(d=0;d<f-1;d++)a.push(this.children[d]),a.push(b);a.push(this.children[d]);this.children=a}return this};b.prototype.replaceRight=function(e,a){var d=this.children[this.children.length-1];d instanceof b?d.replaceRight(e,a):"string"===typeof d?this.children[this.children.length-1]=d.replace(e,a):this.children.push("".replace(e,a));return this};b.prototype.setSourceContent=function(b,a){this.sourceContents[f.toSetString(b)]=a};b.prototype.walkSourceContents=function(e){this.children.forEach(function(a){a instanceof
b&&a.walkSourceContents(e)},this);Object.keys(this.sourceContents).forEach(function(a){e(f.fromSetString(a),this.sourceContents[a])},this)};b.prototype.toString=function(){var b="";this.walk(function(a){b+=a});return b};b.prototype.toStringWithSourceMap=function(b){var a="",d=1,f=0,g=new m(b),k=!1,p=null,v=null,q=null,r=null;this.walk(function(b,c){a+=b;null!==c.source&&null!==c.line&&null!==c.column?(p===c.source&&v===c.line&&q===c.column&&r===c.name||g.addMapping({source:c.source,original:{line:c.line,
column:c.column},generated:{line:d,column:f},name:c.name}),p=c.source,v=c.line,q=c.column,r=c.name,k=!0):k&&(g.addMapping({generated:{line:d,column:f}}),p=null,k=!1);b.split("").forEach(function(a){"\n"===a?(d++,f=0):f++})});this.walkSourceContents(function(a,b){g.setSourceContent(a,b)});return{code:a,map:g}};k.SourceNode=b})},{"./source-map-generator":14,"./util":16,amdefine:17}],16:[function(k,y,g){if("function"!==typeof v)var v=k("amdefine")(y,k);v(function(g,k,p){function b(b){return(b=b.match(f))?
{scheme:b[1],auth:b[3],host:b[4],port:b[6],path:b[7]}:null}function m(b){var a=b.scheme+"://";b.auth&&(a+=b.auth+"@");b.host&&(a+=b.host);b.port&&(a+=":"+b.port);b.path&&(a+=b.path);return a}k.getArg=function(b,a,d){if(a in b)return b[a];if(3===arguments.length)return d;throw Error('"'+a+'" is a required argument.');};var f=/([\w+\-.]+):\/\/((\w+:\w+)@)?([\w.]+)?(:(\d+))?(\S+)?/;k.urlParse=b;k.urlGenerate=m;k.join=function(e,a){var d;return a.match(f)?a:"/"===a.charAt(0)&&(d=b(e))?(d.path=a,m(d)):
e.replace(/\/$/,"")+"/"+a};k.toSetString=function(b){return"$"+b};k.fromSetString=function(b){return b.substr(1)};k.relative=function(e,a){e=e.replace(/\/$/,"");var d=b(e);return"/"==a.charAt(0)&&d&&"/"==d.path?a.slice(1):0===a.indexOf(e+"/")?a.substr(e.length+1):a}})},{amdefine:17}],17:[function(k,y,g){var v=k("__browserify_process"),C="/node_modules/source-map/node_modules/amdefine/amdefine.js";"use strict";y.exports=function(g,p){function b(a,b){var d;if(a&&"."===a.charAt(0)&&b){d=b.split("/");
d=d.slice(0,d.length-1);var c=d=d.concat(a.split("/")),e,f;for(e=0;c[e];e+=1)if(f=c[e],"."===f)c.splice(e,1),e-=1;else if(".."===f)if(1!==e||".."!==c[2]&&".."!==c[0])0<e&&(c.splice(e-1,2),e-=2);else break;a=d.join("/")}return a}function m(a){return function(d){return b(d,a)}}function f(a){function b(d){n[a]=d}b.fromText=function(a,b){throw Error("amdefine does not implement load.fromText");};return b}function e(a,b,d){var c,e,f;if(a)e=n[a]={},f={id:a,uri:C,exports:e},c=u(p,e,f,a);else{if(l)throw Error("amdefine with no module ID cannot be called more than once per file.");
l=!0;e=g.exports;f=g;c=u(p,e,f,g.id)}b&&(b=b.map(function(a){return c(a)}));b="function"===typeof d?d.apply(f.exports,b):d;void 0!==b&&(f.exports=b,a&&(n[a]=f.exports))}function a(a,b,f){Array.isArray(a)?(f=b,b=a,a=void 0):"string"!==typeof a&&(f=a,a=b=void 0);b&&!Array.isArray(b)&&(f=b,b=void 0);b||(b=["require","exports","module"]);a?d[a]=[a,b,f]:e(a,b,f)}var d={},n={},l=!1,w=k("path"),u,y;u=function(a,d,e,c){function f(b,g){if("string"===typeof b)return y(a,d,e,b,c);b=b.map(function(b){return y(a,
d,e,b,c)});v.nextTick(function(){g.apply(null,b)})}f.toUrl=function(a){return 0===a.indexOf(".")?b(a,w.dirname(e.filename)):a};return f};p=p||function(){return g.require.apply(g,arguments)};y=function(a,g,h,c,k){var l=c.indexOf("!"),p=c;if(-1===l){c=b(c,k);if("require"===c)return u(a,g,h,k);if("exports"===c)return g;if("module"===c)return h;if(n.hasOwnProperty(c))return n[c];if(d[c])return e.apply(null,d[c]),n[c];if(a)return a(p);throw Error("No module with ID: "+c);}p=c.substring(0,l);c=c.substring(l+
1,c.length);l=y(a,g,h,p,k);c=l.normalize?l.normalize(c,m(k)):b(c,k);n[c]||l.load(c,u(a,g,h,k),f(c),{});return n[c]};a.require=function(a){if(n[a])return n[a];if(d[a])return e.apply(null,d[a]),n[a]};a.amd={};return a}},{__browserify_process:7,path:4}],18:[function(k,y,g){function v(a){if(a in u)return u[a];try{if("undefined"!==typeof window){var b=new XMLHttpRequest;b.open("GET",a,!1);b.send(null);var d=4===b.readyState?b.responseText:null}else d=n.readFileSync(a,"utf8")}catch(e){d=null}return u[a]=
d}function C(a,b){var e=/^\w+:\/\/[^\/]*/.exec(a),e=e?e[0]:"";return e+d.resolve(a.slice(e.length),b)}function E(a){var b=/^eval at ([^(]+) \((.+):(\d+):(\d+)\)$/.exec(a);return b?(a=r({source:b[2],line:b[3],column:b[4]}),"eval at "+b[1]+" ("+a.source+":"+a.line+":"+a.column+")"):(b=/^eval at ([^(]+) \((.+)\)$/.exec(a))?"eval at "+b[1]+" ("+E(b[2])+")":a}function p(a){var b=a.getFileName()||a.getScriptNameOrSourceURL();if(b){var d=r({source:b,line:a.getLineNumber(),column:a.getColumnNumber()});return{__proto__:a,
getFileName:function(){return d.source},getLineNumber:function(){return d.line},getColumnNumber:function(){return d.column},getScriptNameOrSourceURL:function(){return d.source}}}var e=a.isEval()&&a.getEvalOrigin();return e?(e=E(e),{__proto__:a,getEvalOrigin:function(){return e}}):a}function b(a,b){w&&(u={},A={});return a+b.map(function(a){return"\n at "+p(a)}).join("")}function m(a){if(a&&a.stack){var b=h(a);null!==b&&console.log(b);console.log(a.stack)}else console.log("Uncaught exception:",a);
f.exit(1)}var f=k("__browserify_process"),e=k("__browserify_Buffer").Buffer,a=k("source-map").SourceMapConsumer,d=k("path"),n=k("fs"),l=!1,w=!1,u={},A={},q=function(a){var b=v(a),b=/\/\/[#@]\s*sourceMappingURL=(.*)\s*$/m.exec(b);if(!b)return null;b=b[1];"data:application/json;base64,"==b.slice(0,29).toLowerCase()?a=(new e(b.slice(29),"base64")).toString():(a=d.dirname(a),b=C(a,b),a=v(b,"utf8"));return a?{url:b,map:a}:null},r=g.mapSourcePosition=function(b){var e=A[b.source];if(!e){var f=q(b.source);
f&&(e=A[b.source]={url:f.url,map:new a(f.map)})}return e&&(f=e.map.originalPositionFor(b),null!==f.source)?(e.url&&(f.source=C(d.dirname(e.url),f.source)),f):b},h=g.getErrorSource=function(a){if(a=/\n at [^(]+ \((.*):(\d+):(\d+)\)/.exec(a.stack))if(a=r({source:a[1],line:a[2],column:a[3]}),n.existsSync(a.source)){var b=n.readFileSync(a.source,"utf8").split(/(?:\r\n|\r|\n)/)[a.line-1];if(b)return"\n"+a.source+":"+a.line+"\n"+b+"\n"+Array(+a.column).join(" ")+"^"}return null};g.install=function(a){if(!l){l=
!0;Error.prepareStackTrace=b;a=a||{};var d="handleUncaughtExceptions"in a?a.handleUncaughtExceptions:!0;w="emptyCacheBetweenOperations"in a?a.emptyCacheBetweenOperations:!1;a.retrieveSourceMap&&(q=a.retrieveSourceMap);if(d&&"undefined"===typeof window)f.on("uncaughtException",m)}}},{__browserify_Buffer:6,__browserify_process:7,fs:3,path:4,"source-map":8}]},{},[1]);return M});
(this.define||function(H,N){this.sourceMapSupport=N()})("browser-source-map-support",function(H){(function k(s,p,e){function r(h,c){if(!p[h]){if(!s[h]){var g="function"==typeof require&&require;if(!c&&g)return g(h,!0);if(u)return u(h,!0);throw Error("Cannot find module '"+h+"'");}g=p[h]={exports:{}};s[h][0].call(g.exports,function(c){var a=s[h][1][c];return r(a?a:c)},g,g.exports,k,s,p,e)}return p[h].exports}for(var u="function"==typeof require&&require,A=0;A<e.length;A++)r(e[A]);return r})({1:[function(k,
s,p){H=k("./source-map-support")},{"./source-map-support":18}],2:[function(k,s,p){},{}],3:[function(k,s,p){function e(f,n,K){if(!(this instanceof e))return new e(f,n,K);var b=typeof f;if("base64"===n&&"string"===b)for(f=f.trim?f.trim():f.replace(/^\s+|\s+$/g,"");0!==f.length%4;)f+="=";var a;if("number"===b)a=v(f);else if("string"===b)a=e.byteLength(f,n);else if("object"===b)a=v(f.length);else throw Error("First argument needs to be a number, array or string.");var d;e._useTypedArrays?d=e._augment(new Uint8Array(a)):
(d=this,d.length=a,d._isBuffer=!0);if(e._useTypedArrays&&"number"===typeof f.byteLength)d._set(f);else{var l=f;if(x(l)||e.isBuffer(l)||l&&"object"===typeof l&&"number"===typeof l.length)for(n=0;n<a;n++)e.isBuffer(f)?d[n]=f.readUInt8(n):d[n]=f[n];else if("string"===b)d.write(f,0,n);else if("number"===b&&!e._useTypedArrays&&!K)for(n=0;n<a;n++)d[n]=0}return d}function r(f,n,b){var a="";for(b=Math.min(f.length,b);n<b;n++)a+=String.fromCharCode(f[n]);return a}function u(f,n,b,a){a||(q("boolean"===typeof b,
"missing or invalid endian"),q(void 0!==n&&null!==n,"missing offset"),q(n+1<f.length,"Trying to read beyond buffer length"));a=f.length;if(!(n>=a))return b?(b=f[n],n+1<a&&(b|=f[n+1]<<8)):(b=f[n]<<8,n+1<a&&(b|=f[n+1])),b}function A(f,n,b,a){a||(q("boolean"===typeof b,"missing or invalid endian"),q(void 0!==n&&null!==n,"missing offset"),q(n+3<f.length,"Trying to read beyond buffer length"));a=f.length;if(!(n>=a)){var d;b?(n+2<a&&(d=f[n+2]<<16),n+1<a&&(d|=f[n+1]<<8),d|=f[n],n+3<a&&(d+=f[n+3]<<24>>>0)):
(n+1<a&&(d=f[n+1]<<16),n+2<a&&(d|=f[n+2]<<8),n+3<a&&(d|=f[n+3]),d+=f[n]<<24>>>0);return d}}function h(f,n,b,a){a||(q("boolean"===typeof b,"missing or invalid endian"),q(void 0!==n&&null!==n,"missing offset"),q(n+1<f.length,"Trying to read beyond buffer length"));if(!(n>=f.length))return f=u(f,n,b,!0),f&32768?-1*(65535-f+1):f}function c(f,n,b,a){a||(q("boolean"===typeof b,"missing or invalid endian"),q(void 0!==n&&null!==n,"missing offset"),q(n+3<f.length,"Trying to read beyond buffer length"));if(!(n>=
f.length))return f=A(f,n,b,!0),f&2147483648?-1*(4294967295-f+1):f}function g(f,n,b,a){a||(q("boolean"===typeof b,"missing or invalid endian"),q(n+3<f.length,"Trying to read beyond buffer length"));return F.read(f,n,b,23,4)}function m(f,n,b,a){a||(q("boolean"===typeof b,"missing or invalid endian"),q(n+7<f.length,"Trying to read beyond buffer length"));return F.read(f,n,b,52,8)}function a(f,n,b,a,d){d||(q(void 0!==n&&null!==n,"missing value"),q("boolean"===typeof a,"missing or invalid endian"),q(void 0!==
b&&null!==b,"missing offset"),q(b+1<f.length,"trying to write beyond buffer length"),I(n,65535));var l=f.length;if(!(b>=l))for(d=0,l=Math.min(l-b,2);d<l;d++)f[b+d]=(n&255<<8*(a?d:1-d))>>>8*(a?d:1-d)}function b(f,n,b,a,d){d||(q(void 0!==n&&null!==n,"missing value"),q("boolean"===typeof a,"missing or invalid endian"),q(void 0!==b&&null!==b,"missing offset"),q(b+3<f.length,"trying to write beyond buffer length"),I(n,4294967295));var l=f.length;if(!(b>=l))for(d=0,l=Math.min(l-b,4);d<l;d++)f[b+d]=n>>>
8*(a?d:3-d)&255}function d(f,n,b,d,l){l||(q(void 0!==n&&null!==n,"missing value"),q("boolean"===typeof d,"missing or invalid endian"),q(void 0!==b&&null!==b,"missing offset"),q(b+1<f.length,"Trying to write beyond buffer length"),J(n,32767,-32768));b>=f.length||(0<=n?a(f,n,b,d,l):a(f,65535+n+1,b,d,l))}function y(f,n,a,d,l){l||(q(void 0!==n&&null!==n,"missing value"),q("boolean"===typeof d,"missing or invalid endian"),q(void 0!==a&&null!==a,"missing offset"),q(a+3<f.length,"Trying to write beyond buffer length"),
J(n,2147483647,-2147483648));a>=f.length||(0<=n?b(f,n,a,d,l):b(f,4294967295+n+1,a,d,l))}function C(f,b,a,d,l){l||(q(void 0!==b&&null!==b,"missing value"),q("boolean"===typeof d,"missing or invalid endian"),q(void 0!==a&&null!==a,"missing offset"),q(a+3<f.length,"Trying to write beyond buffer length"),L(b,3.4028234663852886E38,-3.4028234663852886E38));a>=f.length||F.write(f,b,a,d,23,4)}function z(f,b,a,d,l){l||(q(void 0!==b&&null!==b,"missing value"),q("boolean"===typeof d,"missing or invalid endian"),
q(void 0!==a&&null!==a,"missing offset"),q(a+7<f.length,"Trying to write beyond buffer length"),L(b,1.7976931348623157E308,-1.7976931348623157E308));a>=f.length||F.write(f,b,a,d,52,8)}function B(f,b,a){if("number"!==typeof f)return a;f=~~f;if(f>=b)return b;if(0<=f)return f;f+=b;return 0<=f?f:0}function v(f){f=~~Math.ceil(+f);return 0>f?0:f}function x(f){return(Array.isArray||function(f){return"[object Array]"===Object.prototype.toString.call(f)})(f)}function D(f){return 16>f?"0"+f.toString(16):f.toString(16)}
function l(f){for(var b=[],a=0;a<f.length;a++){var d=f.charCodeAt(a);if(127>=d)b.push(f.charCodeAt(a));else{var l=a;55296<=d&&57343>=d&&a++;d=encodeURIComponent(f.slice(l,a+1)).substr(1).split("%");for(l=0;l<d.length;l++)b.push(parseInt(d[l],16))}}return b}function w(f){for(var b=[],a=0;a<f.length;a++)b.push(f.charCodeAt(a)&255);return b}function E(f,b,a,d){for(var l=0;l<d&&!(l+a>=b.length||l>=f.length);l++)b[l+a]=f[l];return l}function M(f){try{return decodeURIComponent(f)}catch(b){return String.fromCharCode(65533)}}
function I(f,b){q("number"===typeof f,"cannot write a non-number as a number");q(0<=f,"specified a negative value for writing an unsigned value");q(f<=b,"value is larger than maximum value for type");q(Math.floor(f)===f,"value has a fractional component")}function J(f,b,a){q("number"===typeof f,"cannot write a non-number as a number");q(f<=b,"value larger than maximum allowed value");q(f>=a,"value smaller than minimum allowed value");q(Math.floor(f)===f,"value has a fractional component")}function L(f,
b,a){q("number"===typeof f,"cannot write a non-number as a number");q(f<=b,"value larger than maximum allowed value");q(f>=a,"value smaller than minimum allowed value")}function q(f,b){if(!f)throw Error(b||"Failed assertion");}var G=k("base64-js"),F=k("ieee754");p.Buffer=e;p.SlowBuffer=e;p.INSPECT_MAX_BYTES=50;e.poolSize=8192;e._useTypedArrays=function(){try{var f=new ArrayBuffer(0),b=new Uint8Array(f);b.foo=function(){return 42};return 42===b.foo()&&"function"===typeof b.subarray}catch(a){return!1}}();
e.isEncoding=function(f){switch(String(f).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}};e.isBuffer=function(f){return!(null===f||void 0===f||!f._isBuffer)};e.byteLength=function(f,b){var a;f+="";switch(b||"utf8"){case "hex":a=f.length/2;break;case "utf8":case "utf-8":a=l(f).length;break;case "ascii":case "binary":case "raw":a=f.length;break;case "base64":a=G.toByteArray(f).length;
break;case "ucs2":case "ucs-2":case "utf16le":case "utf-16le":a=2*f.length;break;default:throw Error("Unknown encoding");}return a};e.concat=function(f,b){q(x(f),"Usage: Buffer.concat(list, [totalLength])\nlist should be an Array.");if(0===f.length)return new e(0);if(1===f.length)return f[0];var a;if("number"!==typeof b)for(a=b=0;a<f.length;a++)b+=f[a].length;var d=new e(b),l=0;for(a=0;a<f.length;a++){var c=f[a];c.copy(d,l);l+=c.length}return d};e.prototype.write=function(f,b,a,d){if(isFinite(b))isFinite(a)||
(d=a,a=void 0);else{var c=d;d=b;b=a;a=c}b=Number(b)||0;c=this.length-b;a?(a=Number(a),a>c&&(a=c)):a=c;d=String(d||"utf8").toLowerCase();switch(d){case "hex":b=Number(b)||0;d=this.length-b;a?(a=Number(a),a>d&&(a=d)):a=d;d=f.length;q(0===d%2,"Invalid hex string");a>d/2&&(a=d/2);for(d=0;d<a;d++)c=parseInt(f.substr(2*d,2),16),q(!isNaN(c),"Invalid hex string"),this[b+d]=c;e._charsWritten=2*d;f=d;break;case "utf8":case "utf-8":f=e._charsWritten=E(l(f),this,b,a);break;case "ascii":f=e._charsWritten=E(w(f),
this,b,a);break;case "binary":f=e._charsWritten=E(w(f),this,b,a);break;case "base64":f=e._charsWritten=E(G.toByteArray(f),this,b,a);break;case "ucs2":case "ucs-2":case "utf16le":case "utf-16le":d=e;for(var g,m=[],h=0;h<f.length;h++)g=f.charCodeAt(h),c=g>>8,g%=256,m.push(g),m.push(c);f=d._charsWritten=E(m,this,b,a);break;default:throw Error("Unknown encoding");}return f};e.prototype.toString=function(f,b,a){f=String(f||"utf8").toLowerCase();b=Number(b)||0;a=void 0!==a?Number(a):a=this.length;if(a===
b)return"";switch(f){case "hex":f=b;b=this.length;if(!f||0>f)f=0;if(!a||0>a||a>b)a=b;for(b="";f<a;f++)b+=D(this[f]);a=b;break;case "utf8":case "utf-8":var d=b;b=f="";for(a=Math.min(this.length,a);d<a;d++)127>=this[d]?(f+=M(b)+String.fromCharCode(this[d]),b=""):b+="%"+this[d].toString(16);a=f+M(b);break;case "ascii":a=r(this,b,a);break;case "binary":a=r(this,b,a);break;case "base64":f=b;a=0===f&&a===this.length?G.fromByteArray(this):G.fromByteArray(this.slice(f,a));break;case "ucs2":case "ucs-2":case "utf16le":case "utf-16le":a=
this.slice(b,a);f="";for(b=0;b<a.length;b+=2)f+=String.fromCharCode(a[b]+256*a[b+1]);a=f;break;default:throw Error("Unknown encoding");}return a};e.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};e.prototype.copy=function(a,b,d,l){d||(d=0);l||0===l||(l=this.length);b||(b=0);if(l!==d&&0!==a.length&&0!==this.length)if(q(l>=d,"sourceEnd < sourceStart"),q(0<=b&&b<a.length,"targetStart out of bounds"),q(0<=d&&d<this.length,"sourceStart out of bounds"),
q(0<=l&&l<=this.length,"sourceEnd out of bounds"),l>this.length&&(l=this.length),a.length-b<l-d&&(l=a.length-b+d),l-=d,100>l||!e._useTypedArrays)for(var c=0;c<l;c++)a[c+b]=this[c+d];else a._set(this.subarray(d,d+l),b)};e.prototype.slice=function(b,a){var d=this.length;b=B(b,d,0);a=B(a,d,d);if(e._useTypedArrays)return e._augment(this.subarray(b,a));for(var d=a-b,l=new e(d,void 0,!0),c=0;c<d;c++)l[c]=this[c+b];return l};e.prototype.get=function(b){console.log(".get() is deprecated. Access using array indexes instead.");
return this.readUInt8(b)};e.prototype.set=function(b,a){console.log(".set() is deprecated. Access using array indexes instead.");return this.writeUInt8(b,a)};e.prototype.readUInt8=function(b,a){a||(q(void 0!==b&&null!==b,"missing offset"),q(b<this.length,"Trying to read beyond buffer length"));if(!(b>=this.length))return this[b]};e.prototype.readUInt16LE=function(b,a){return u(this,b,!0,a)};e.prototype.readUInt16BE=function(b,a){return u(this,b,!1,a)};e.prototype.readUInt32LE=function(b,a){return A(this,
b,!0,a)};e.prototype.readUInt32BE=function(b,a){return A(this,b,!1,a)};e.prototype.readInt8=function(b,a){a||(q(void 0!==b&&null!==b,"missing offset"),q(b<this.length,"Trying to read beyond buffer length"));if(!(b>=this.length))return this[b]&128?-1*(255-this[b]+1):this[b]};e.prototype.readInt16LE=function(b,a){return h(this,b,!0,a)};e.prototype.readInt16BE=function(b,a){return h(this,b,!1,a)};e.prototype.readInt32LE=function(b,a){return c(this,b,!0,a)};e.prototype.readInt32BE=function(b,a){return c(this,
b,!1,a)};e.prototype.readFloatLE=function(b,a){return g(this,b,!0,a)};e.prototype.readFloatBE=function(b,a){return g(this,b,!1,a)};e.prototype.readDoubleLE=function(b,a){return m(this,b,!0,a)};e.prototype.readDoubleBE=function(b,a){return m(this,b,!1,a)};e.prototype.writeUInt8=function(b,a,d){d||(q(void 0!==b&&null!==b,"missing value"),q(void 0!==a&&null!==a,"missing offset"),q(a<this.length,"trying to write beyond buffer length"),I(b,255));a>=this.length||(this[a]=b)};e.prototype.writeUInt16LE=function(b,
d,l){a(this,b,d,!0,l)};e.prototype.writeUInt16BE=function(b,d,l){a(this,b,d,!1,l)};e.prototype.writeUInt32LE=function(a,d,l){b(this,a,d,!0,l)};e.prototype.writeUInt32BE=function(a,d,l){b(this,a,d,!1,l)};e.prototype.writeInt8=function(b,a,d){d||(q(void 0!==b&&null!==b,"missing value"),q(void 0!==a&&null!==a,"missing offset"),q(a<this.length,"Trying to write beyond buffer length"),J(b,127,-128));a>=this.length||(0<=b?this.writeUInt8(b,a,d):this.writeUInt8(255+b+1,a,d))};e.prototype.writeInt16LE=function(b,
a,l){d(this,b,a,!0,l)};e.prototype.writeInt16BE=function(b,a,l){d(this,b,a,!1,l)};e.prototype.writeInt32LE=function(b,a,d){y(this,b,a,!0,d)};e.prototype.writeInt32BE=function(b,a,d){y(this,b,a,!1,d)};e.prototype.writeFloatLE=function(b,a,d){C(this,b,a,!0,d)};e.prototype.writeFloatBE=function(b,a,d){C(this,b,a,!1,d)};e.prototype.writeDoubleLE=function(b,a,d){z(this,b,a,!0,d)};e.prototype.writeDoubleBE=function(b,a,d){z(this,b,a,!1,d)};e.prototype.fill=function(b,a,d){b||(b=0);a||(a=0);d||(d=this.length);
"string"===typeof b&&(b=b.charCodeAt(0));q("number"===typeof b&&!isNaN(b),"value is not a number");q(d>=a,"end < start");if(d!==a&&0!==this.length)for(q(0<=a&&a<this.length,"start out of bounds"),q(0<=d&&d<=this.length,"end out of bounds");a<d;a++)this[a]=b};e.prototype.inspect=function(){for(var b=[],a=this.length,d=0;d<a;d++)if(b[d]=D(this[d]),d===p.INSPECT_MAX_BYTES){b[d+1]="...";break}return"<Buffer "+b.join(" ")+">"};e.prototype.toArrayBuffer=function(){if("undefined"!==typeof Uint8Array){if(e._useTypedArrays)return(new e(this)).buffer;
for(var b=new Uint8Array(this.length),a=0,d=b.length;a<d;a+=1)b[a]=this[a];return b.buffer}throw Error("Buffer.toArrayBuffer not supported in this browser");};var t=e.prototype;e._augment=function(b){b._isBuffer=!0;b._get=b.get;b._set=b.set;b.get=t.get;b.set=t.set;b.write=t.write;b.toString=t.toString;b.toLocaleString=t.toString;b.toJSON=t.toJSON;b.copy=t.copy;b.slice=t.slice;b.readUInt8=t.readUInt8;b.readUInt16LE=t.readUInt16LE;b.readUInt16BE=t.readUInt16BE;b.readUInt32LE=t.readUInt32LE;b.readUInt32BE=
t.readUInt32BE;b.readInt8=t.readInt8;b.readInt16LE=t.readInt16LE;b.readInt16BE=t.readInt16BE;b.readInt32LE=t.readInt32LE;b.readInt32BE=t.readInt32BE;b.readFloatLE=t.readFloatLE;b.readFloatBE=t.readFloatBE;b.readDoubleLE=t.readDoubleLE;b.readDoubleBE=t.readDoubleBE;b.writeUInt8=t.writeUInt8;b.writeUInt16LE=t.writeUInt16LE;b.writeUInt16BE=t.writeUInt16BE;b.writeUInt32LE=t.writeUInt32LE;b.writeUInt32BE=t.writeUInt32BE;b.writeInt8=t.writeInt8;b.writeInt16LE=t.writeInt16LE;b.writeInt16BE=t.writeInt16BE;
b.writeInt32LE=t.writeInt32LE;b.writeInt32BE=t.writeInt32BE;b.writeFloatLE=t.writeFloatLE;b.writeFloatBE=t.writeFloatBE;b.writeDoubleLE=t.writeDoubleLE;b.writeDoubleBE=t.writeDoubleBE;b.fill=t.fill;b.inspect=t.inspect;b.toArrayBuffer=t.toArrayBuffer;return b}},{"base64-js":4,ieee754:5}],4:[function(k,s,p){(function(e){function r(a){a=a.charCodeAt(0);if(a===k)return 62;if(a===h)return 63;if(a<c)return-1;if(a<c+10)return a-c+52;if(a<m+26)return a-m;if(a<g+26)return a-g+26}var u="undefined"!==typeof Uint8Array?
Uint8Array:Array,k=43,h=47,c=48,g=97,m=65;s.exports.toByteArray=function(a){function b(b){h[e++]=b}var d,c,g,m,h;if(0<a.length%4)throw Error("Invalid string. Length must be a multiple of 4");d=a.length;m="="===a.charAt(d-2)?2:"="===a.charAt(d-1)?1:0;h=new u(3*a.length/4-m);c=0<m?a.length-4:a.length;var e=0;for(d=0;d<c;d+=4)g=r(a.charAt(d))<<18|r(a.charAt(d+1))<<12|r(a.charAt(d+2))<<6|r(a.charAt(d+3)),b((g&16711680)>>16),b((g&65280)>>8),b(g&255);2===m?(g=r(a.charAt(d))<<2|r(a.charAt(d+1))>>4,b(g&255)):
1===m&&(g=r(a.charAt(d))<<10|r(a.charAt(d+1))<<4|r(a.charAt(d+2))>>2,b(g>>8&255),b(g&255));return h};s.exports.fromByteArray=function(a){var b,d=a.length%3,c="",g,m;b=0;for(m=a.length-d;b<m;b+=3)g=(a[b]<<16)+(a[b+1]<<8)+a[b+2],g="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(g>>18&63)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(g>>12&63)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(g>>6&63)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(g&
63),c+=g;switch(d){case 1:g=a[a.length-1];c+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(g>>2);c+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(g<<4&63);c+="==";break;case 2:g=(a[a.length-2]<<8)+a[a.length-1],c+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(g>>10),c+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(g>>4&63),c+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(g<<
2&63),c+="="}return c}})()},{}],5:[function(k,s,p){p.read=function(e,r,u,k,h){var c;c=8*h-k-1;var g=(1<<c)-1,m=g>>1,a=-7;h=u?h-1:0;var b=u?-1:1,d=e[r+h];h+=b;u=d&(1<<-a)-1;d>>=-a;for(a+=c;0<a;u=256*u+e[r+h],h+=b,a-=8);c=u&(1<<-a)-1;u>>=-a;for(a+=k;0<a;c=256*c+e[r+h],h+=b,a-=8);if(0===u)u=1-m;else{if(u===g)return c?NaN:Infinity*(d?-1:1);c+=Math.pow(2,k);u-=m}return(d?-1:1)*c*Math.pow(2,u-k)};p.write=function(e,r,u,k,h,c){var g,m=8*c-h-1,a=(1<<m)-1,b=a>>1,d=23===h?Math.pow(2,-24)-Math.pow(2,-77):0;
c=k?0:c-1;var y=k?1:-1,C=0>r||0===r&&0>1/r?1:0;r=Math.abs(r);isNaN(r)||Infinity===r?(r=isNaN(r)?1:0,k=a):(k=Math.floor(Math.log(r)/Math.LN2),1>r*(g=Math.pow(2,-k))&&(k--,g*=2),r=1<=k+b?r+d/g:r+d*Math.pow(2,1-b),2<=r*g&&(k++,g/=2),k+b>=a?(r=0,k=a):1<=k+b?(r=(r*g-1)*Math.pow(2,h),k+=b):(r=r*Math.pow(2,b-1)*Math.pow(2,h),k=0));for(;8<=h;e[u+c]=r&255,c+=y,r/=256,h-=8);k=k<<h|r;for(m+=h;0<m;e[u+c]=k&255,c+=y,k/=256,m-=8);e[u+c-y]|=128*C}},{}],6:[function(k,s,p){function e(){}k=s.exports={};k.nextTick=
function(){if("undefined"!==typeof window&&window.setImmediate)return function(e){return window.setImmediate(e)};if("undefined"!==typeof window&&window.postMessage&&window.addEventListener){var e=[];window.addEventListener("message",function(k){var p=k.source;p!==window&&null!==p||"process-tick"!==k.data||(k.stopPropagation(),0<e.length&&e.shift()())},!0);return function(k){e.push(k);window.postMessage("process-tick","*")}}return function(e){setTimeout(e,0)}}();k.title="browser";k.browser=!0;k.env=
{};k.argv=[];k.on=e;k.once=e;k.off=e;k.emit=e;k.binding=function(e){throw Error("process.binding is not supported");};k.cwd=function(){return"/"};k.chdir=function(e){throw Error("process.chdir is not supported");}},{}],7:[function(k,s,p){(function(e){function k(c,g){for(var m=0,a=c.length-1;0<=a;a--){var b=c[a];"."===b?c.splice(a,1):".."===b?(c.splice(a,1),m++):m&&(c.splice(a,1),m--)}if(g)for(;m--;m)c.unshift("..");return c}function u(c,g){if(c.filter)return c.filter(g);for(var m=[],a=0;a<c.length;a++)g(c[a],
a,c)&&m.push(c[a]);return m}var s=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/;p.resolve=function(){for(var c="",g=!1,m=arguments.length-1;-1<=m&&!g;m--){var a=0<=m?arguments[m]:e.cwd();if("string"!==typeof a)throw new TypeError("Arguments to path.resolve must be strings");a&&(c=a+"/"+c,g="/"===a.charAt(0))}c=k(u(c.split("/"),function(b){return!!b}),!g).join("/");return(g?"/":"")+c||"."};p.normalize=function(c){var g=p.isAbsolute(c),m="/"===h(c,-1);(c=k(u(c.split("/"),function(a){return!!a}),
!g).join("/"))||g||(c=".");c&&m&&(c+="/");return(g?"/":"")+c};p.isAbsolute=function(c){return"/"===c.charAt(0)};p.join=function(){var c=Array.prototype.slice.call(arguments,0);return p.normalize(u(c,function(c,m){if("string"!==typeof c)throw new TypeError("Arguments to path.join must be strings");return c}).join("/"))};p.relative=function(c,g){function m(b){for(var a=0;a<b.length&&""===b[a];a++);for(var d=b.length-1;0<=d&&""===b[d];d--);return a>d?[]:b.slice(a,d-a+1)}c=p.resolve(c).substr(1);g=p.resolve(g).substr(1);
for(var a=m(c.split("/")),b=m(g.split("/")),d=Math.min(a.length,b.length),e=d,h=0;h<d;h++)if(a[h]!==b[h]){e=h;break}d=[];for(h=e;h<a.length;h++)d.push("..");d=d.concat(b.slice(e));return d.join("/")};p.sep="/";p.delimiter=":";p.dirname=function(c){var g=s.exec(c).slice(1);c=g[0];g=g[1];if(!c&&!g)return".";g&&(g=g.substr(0,g.length-1));return c+g};p.basename=function(c,g){var m=s.exec(c).slice(1)[2];g&&m.substr(-1*g.length)===g&&(m=m.substr(0,m.length-g.length));return m};p.extname=function(c){return s.exec(c).slice(1)[3]};
var h="b"==="ab".substr(-1)?function(c,g,m){return c.substr(g,m)}:function(c,g,m){0>g&&(g=c.length+g);return c.substr(g,m)}}).call(this,k("node_modules/browserify/node_modules/insert-module-globals/node_modules/process/browser.js"))},{"node_modules/browserify/node_modules/insert-module-globals/node_modules/process/browser.js":6}],8:[function(k,s,p){p.SourceMapGenerator=k("./source-map/source-map-generator").SourceMapGenerator;p.SourceMapConsumer=k("./source-map/source-map-consumer").SourceMapConsumer;
p.SourceNode=k("./source-map/source-node").SourceNode},{"./source-map/source-map-consumer":13,"./source-map/source-map-generator":14,"./source-map/source-node":15}],9:[function(k,s,p){if("function"!==typeof e)var e=k("amdefine")(s,k);e(function(e,k,p){function h(){this._array=[];this._set={}}var c=e("./util");h.fromArray=function(c,m){for(var a=new h,b=0,d=c.length;b<d;b++)a.add(c[b],m);return a};h.prototype.add=function(g,m){var a=this.has(g),b=this._array.length;a&&!m||this._array.push(g);a||(this._set[c.toSetString(g)]=
b)};h.prototype.has=function(g){return Object.prototype.hasOwnProperty.call(this._set,c.toSetString(g))};h.prototype.indexOf=function(g){if(this.has(g))return this._set[c.toSetString(g)];throw Error('"'+g+'" is not in the set.');};h.prototype.at=function(c){if(0<=c&&c<this._array.length)return this._array[c];throw Error("No element indexed by "+c);};h.prototype.toArray=function(){return this._array.slice()};k.ArraySet=h})},{"./util":16,amdefine:17}],10:[function(k,s,p){if("function"!==typeof e)var e=
k("amdefine")(s,k);e(function(e,k,p){var h=e("./base64");k.encode=function(c){var g="",m=0>c?(-c<<1)+1:(c<<1)+0;do c=m&31,m>>>=5,0<m&&(c|=32),g+=h.encode(c);while(0<m);return g};k.decode=function(c){var g=0,m=c.length,a=0,b=0,d,e;do{if(g>=m)throw Error("Expected more digits in base 64 VLQ value.");e=h.decode(c.charAt(g++));d=!!(e&32);e&=31;a+=e<<b;b+=5}while(d);m=a>>1;return{value:1===(a&1)?-m:m,rest:c.slice(g)}}})},{"./base64":11,amdefine:17}],11:[function(k,s,p){if("function"!==typeof e)var e=k("amdefine")(s,
k);e(function(e,k,p){var h={},c={};"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("").forEach(function(g,e){h[g]=e;c[e]=g});k.encode=function(g){if(g in c)return c[g];throw new TypeError("Must be between 0 and 63: "+g);};k.decode=function(c){if(c in h)return h[c];throw new TypeError("Not a valid base 64 digit: "+c);}})},{amdefine:17}],12:[function(k,s,p){if("function"!==typeof e)var e=k("amdefine")(s,k);e(function(e,k,p){function h(c,g,e,a,b){var d=Math.floor((g-c)/2)+c,
k=b(e,a[d],!0);return 0===k?a[d]:0<k?1<g-d?h(d,g,e,a,b):a[d]:1<d-c?h(c,d,e,a,b):0>c?null:a[c]}k.search=function(c,g,e){return 0<g.length?h(-1,g.length,c,g,e):null}})},{amdefine:17}],13:[function(k,s,p){if("function"!==typeof e)var e=k("amdefine")(s,k);e(function(e,k,p){function h(b){var a=b;"string"===typeof b&&(a=JSON.parse(b.replace(/^\)\]\}'/,"")));b=c.getArg(a,"version");var e=c.getArg(a,"sources"),g=c.getArg(a,"names",[]),h=c.getArg(a,"sourceRoot",null),k=c.getArg(a,"sourcesContent",null),v=
c.getArg(a,"mappings"),a=c.getArg(a,"file",null);if(b!=this._version)throw Error("Unsupported version: "+b);this._names=m.fromArray(g,!0);this._sources=m.fromArray(e,!0);this.sourceRoot=h;this.sourcesContent=k;this._mappings=v;this.file=a}var c=e("./util"),g=e("./binary-search"),m=e("./array-set").ArraySet,a=e("./base64-vlq");h.fromSourceMap=function(b){var a=Object.create(h.prototype);a._names=m.fromArray(b._names.toArray(),!0);a._sources=m.fromArray(b._sources.toArray(),!0);a.sourceRoot=b._sourceRoot;
a.sourcesContent=b._generateSourcesContent(a._sources.toArray(),a.sourceRoot);a.file=b._file;a.__generatedMappings=b._mappings.slice().sort(c.compareByGeneratedPositions);a.__originalMappings=b._mappings.slice().sort(c.compareByOriginalPositions);return a};h.prototype._version=3;Object.defineProperty(h.prototype,"sources",{get:function(){return this._sources.toArray().map(function(b){return this.sourceRoot?c.join(this.sourceRoot,b):b},this)}});h.prototype.__generatedMappings=null;Object.defineProperty(h.prototype,
"_generatedMappings",{get:function(){this.__generatedMappings||(this.__generatedMappings=[],this.__originalMappings=[],this._parseMappings(this._mappings,this.sourceRoot));return this.__generatedMappings}});h.prototype.__originalMappings=null;Object.defineProperty(h.prototype,"_originalMappings",{get:function(){this.__originalMappings||(this.__generatedMappings=[],this.__originalMappings=[],this._parseMappings(this._mappings,this.sourceRoot));return this.__originalMappings}});h.prototype._parseMappings=
function(b,d){for(var e=1,g=0,h=0,m=0,k=0,x=0,p=/^[,;]/,l=b,w;0<l.length;)if(";"===l.charAt(0))e++,l=l.slice(1),g=0;else if(","===l.charAt(0))l=l.slice(1);else{w={};w.generatedLine=e;l=a.decode(l);w.generatedColumn=g+l.value;g=w.generatedColumn;l=l.rest;if(0<l.length&&!p.test(l.charAt(0))){l=a.decode(l);w.source=this._sources.at(k+l.value);k+=l.value;l=l.rest;if(0===l.length||p.test(l.charAt(0)))throw Error("Found a source, but no line and column");l=a.decode(l);w.originalLine=h+l.value;h=w.originalLine;
w.originalLine+=1;l=l.rest;if(0===l.length||p.test(l.charAt(0)))throw Error("Found a source and line, but no column");l=a.decode(l);w.originalColumn=m+l.value;m=w.originalColumn;l=l.rest;0<l.length&&!p.test(l.charAt(0))&&(l=a.decode(l),w.name=this._names.at(x+l.value),x+=l.value,l=l.rest)}this.__generatedMappings.push(w);"number"===typeof w.originalLine&&this.__originalMappings.push(w)}this.__generatedMappings.sort(c.compareByGeneratedPositions);this.__originalMappings.sort(c.compareByOriginalPositions)};
h.prototype._findMapping=function(b,a,c,e,h){if(0>=b[c])throw new TypeError("Line must be greater than or equal to 1, got "+b[c]);if(0>b[e])throw new TypeError("Column must be greater than or equal to 0, got "+b[e]);return g.search(b,a,h)};h.prototype.originalPositionFor=function(b){b={generatedLine:c.getArg(b,"line"),generatedColumn:c.getArg(b,"column")};if(b=this._findMapping(b,this._generatedMappings,"generatedLine","generatedColumn",c.compareByGeneratedPositions)){var a=c.getArg(b,"source",null);
a&&this.sourceRoot&&(a=c.join(this.sourceRoot,a));return{source:a,line:c.getArg(b,"originalLine",null),column:c.getArg(b,"originalColumn",null),name:c.getArg(b,"name",null)}}return{source:null,line:null,column:null,name:null}};h.prototype.sourceContentFor=function(b){if(!this.sourcesContent)return null;this.sourceRoot&&(b=c.relative(this.sourceRoot,b));if(this._sources.has(b))return this.sourcesContent[this._sources.indexOf(b)];var a;if(this.sourceRoot&&(a=c.urlParse(this.sourceRoot))){var e=b.replace(/^file:\/\//,
"");if("file"==a.scheme&&this._sources.has(e))return this.sourcesContent[this._sources.indexOf(e)];if((!a.path||"/"==a.path)&&this._sources.has("/"+b))return this.sourcesContent[this._sources.indexOf("/"+b)]}throw Error('"'+b+'" is not in the SourceMap.');};h.prototype.generatedPositionFor=function(b){b={source:c.getArg(b,"source"),originalLine:c.getArg(b,"line"),originalColumn:c.getArg(b,"column")};this.sourceRoot&&(b.source=c.relative(this.sourceRoot,b.source));return(b=this._findMapping(b,this._originalMappings,
"originalLine","originalColumn",c.compareByOriginalPositions))?{line:c.getArg(b,"generatedLine",null),column:c.getArg(b,"generatedColumn",null)}:{line:null,column:null}};h.GENERATED_ORDER=1;h.ORIGINAL_ORDER=2;h.prototype.eachMapping=function(b,a,e){a=a||null;switch(e||h.GENERATED_ORDER){case h.GENERATED_ORDER:e=this._generatedMappings;break;case h.ORIGINAL_ORDER:e=this._originalMappings;break;default:throw Error("Unknown order of iteration.");}var g=this.sourceRoot;e.map(function(b){var a=b.source;
a&&g&&(a=c.join(g,a));return{source:a,generatedLine:b.generatedLine,generatedColumn:b.generatedColumn,originalLine:b.originalLine,originalColumn:b.originalColumn,name:b.name}}).forEach(b,a)};k.SourceMapConsumer=h})},{"./array-set":9,"./base64-vlq":10,"./binary-search":12,"./util":16,amdefine:17}],14:[function(k,s,p){if("function"!==typeof e)var e=k("amdefine")(s,k);e(function(e,k,p){function h(a){this._file=g.getArg(a,"file");this._sourceRoot=g.getArg(a,"sourceRoot",null);this._sources=new m;this._names=
new m;this._mappings=[];this._sourcesContents=null}var c=e("./base64-vlq"),g=e("./util"),m=e("./array-set").ArraySet;h.prototype._version=3;h.fromSourceMap=function(a){var b=a.sourceRoot,d=new h({file:a.file,sourceRoot:b});a.eachMapping(function(a){var c={generated:{line:a.generatedLine,column:a.generatedColumn}};a.source&&(c.source=a.source,b&&(c.source=g.relative(b,c.source)),c.original={line:a.originalLine,column:a.originalColumn},a.name&&(c.name=a.name));d.addMapping(c)});a.sources.forEach(function(b){var c=
a.sourceContentFor(b);c&&d.setSourceContent(b,c)});return d};h.prototype.addMapping=function(a){var b=g.getArg(a,"generated"),d=g.getArg(a,"original",null),c=g.getArg(a,"source",null);a=g.getArg(a,"name",null);this._validateMapping(b,d,c,a);c&&!this._sources.has(c)&&this._sources.add(c);a&&!this._names.has(a)&&this._names.add(a);this._mappings.push({generatedLine:b.line,generatedColumn:b.column,originalLine:null!=d&&d.line,originalColumn:null!=d&&d.column,source:c,name:a})};h.prototype.setSourceContent=
function(a,b){var d=a;this._sourceRoot&&(d=g.relative(this._sourceRoot,d));null!==b?(this._sourcesContents||(this._sourcesContents={}),this._sourcesContents[g.toSetString(d)]=b):(delete this._sourcesContents[g.toSetString(d)],0===Object.keys(this._sourcesContents).length&&(this._sourcesContents=null))};h.prototype.applySourceMap=function(a,b){b||(b=a.file);var d=this._sourceRoot;d&&(b=g.relative(d,b));var c=new m,e=new m;this._mappings.forEach(function(h){if(h.source===b&&h.originalLine){var m=a.originalPositionFor({line:h.originalLine,
column:h.originalColumn});null!==m.source&&(h.source=d?g.relative(d,m.source):m.source,h.originalLine=m.line,h.originalColumn=m.column,null!==m.name&&null!==h.name&&(h.name=m.name))}(m=h.source)&&!c.has(m)&&c.add(m);(h=h.name)&&!e.has(h)&&e.add(h)},this);this._sources=c;this._names=e;a.sources.forEach(function(b){var c=a.sourceContentFor(b);c&&(d&&(b=g.relative(d,b)),this.setSourceContent(b,c))},this)};h.prototype._validateMapping=function(a,b,d,c){if(!(a&&"line"in a&&"column"in a&&0<a.line&&0<=a.column&&
!b&&!d&&!c||a&&"line"in a&&"column"in a&&b&&"line"in b&&"column"in b&&0<a.line&&0<=a.column&&0<b.line&&0<=b.column&&d))throw Error("Invalid mapping: "+JSON.stringify({generated:a,source:d,original:b,name:c}));};h.prototype._serializeMappings=function(){var a=0,b=1,d=0,e=0,h=0,m=0,k="",v;this._mappings.sort(g.compareByGeneratedPositions);for(var x=0,p=this._mappings.length;x<p;x++){v=this._mappings[x];if(v.generatedLine!==b)for(a=0;v.generatedLine!==b;)k+=";",b++;else if(0<x){if(!g.compareByGeneratedPositions(v,
this._mappings[x-1]))continue;k+=","}k+=c.encode(v.generatedColumn-a);a=v.generatedColumn;v.source&&(k+=c.encode(this._sources.indexOf(v.source)-m),m=this._sources.indexOf(v.source),k+=c.encode(v.originalLine-1-e),e=v.originalLine-1,k+=c.encode(v.originalColumn-d),d=v.originalColumn,v.name&&(k+=c.encode(this._names.indexOf(v.name)-h),h=this._names.indexOf(v.name)))}return k};h.prototype._generateSourcesContent=function(a,b){return a.map(function(a){if(!this._sourcesContents)return null;b&&(a=g.relative(b,
a));a=g.toSetString(a);return Object.prototype.hasOwnProperty.call(this._sourcesContents,a)?this._sourcesContents[a]:null},this)};h.prototype.toJSON=function(){var a={version:this._version,file:this._file,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};this._sourceRoot&&(a.sourceRoot=this._sourceRoot);this._sourcesContents&&(a.sourcesContent=this._generateSourcesContent(a.sources,a.sourceRoot));return a};h.prototype.toString=function(){return JSON.stringify(this)};
k.SourceMapGenerator=h})},{"./array-set":9,"./base64-vlq":10,"./util":16,amdefine:17}],15:[function(k,s,p){if("function"!==typeof e)var e=k("amdefine")(s,k);e(function(e,k,p){function h(c,a,b,d,e){this.children=[];this.sourceContents={};this.line=void 0===c?null:c;this.column=void 0===a?null:a;this.source=void 0===b?null:b;this.name=void 0===e?null:e;null!=d&&this.add(d)}var c=e("./source-map-generator").SourceMapGenerator,g=e("./util");h.fromStringWithSourceMap=function(c,a){function b(b,a){null===
b||void 0===b.source?d.add(a):d.add(new h(b.originalLine,b.originalColumn,b.source,a,b.name))}var d=new h,e=c.split("\n"),g=1,k=0,p=null;a.eachMapping(function(a){if(null===p){for(;g<a.generatedLine;)d.add(e.shift()+"\n"),g++;if(k<a.generatedColumn){var c=e[0];d.add(c.substr(0,a.generatedColumn));e[0]=c.substr(a.generatedColumn);k=a.generatedColumn}}else{if(g<a.generatedLine){var h="";do h+=e.shift()+"\n",g++,k=0;while(g<a.generatedLine);k<a.generatedColumn&&(c=e[0],h+=c.substr(0,a.generatedColumn),
e[0]=c.substr(a.generatedColumn),k=a.generatedColumn)}else c=e[0],h=c.substr(0,a.generatedColumn-k),e[0]=c.substr(a.generatedColumn-k),k=a.generatedColumn;b(p,h)}p=a},this);b(p,e.join("\n"));a.sources.forEach(function(b){var c=a.sourceContentFor(b);c&&d.setSourceContent(b,c)});return d};h.prototype.add=function(c){if(Array.isArray(c))c.forEach(function(a){this.add(a)},this);else if(c instanceof h||"string"===typeof c)c&&this.children.push(c);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+
c);return this};h.prototype.prepend=function(c){if(Array.isArray(c))for(var a=c.length-1;0<=a;a--)this.prepend(c[a]);else if(c instanceof h||"string"===typeof c)this.children.unshift(c);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+c);return this};h.prototype.walk=function(c){for(var a,b=0,d=this.children.length;b<d;b++)a=this.children[b],a instanceof h?a.walk(c):""!==a&&c(a,{source:this.source,line:this.line,column:this.column,name:this.name})};
h.prototype.join=function(c){var a,b,d=this.children.length;if(0<d){a=[];for(b=0;b<d-1;b++)a.push(this.children[b]),a.push(c);a.push(this.children[b]);this.children=a}return this};h.prototype.replaceRight=function(c,a){var b=this.children[this.children.length-1];b instanceof h?b.replaceRight(c,a):"string"===typeof b?this.children[this.children.length-1]=b.replace(c,a):this.children.push("".replace(c,a));return this};h.prototype.setSourceContent=function(c,a){this.sourceContents[g.toSetString(c)]=
a};h.prototype.walkSourceContents=function(c){for(var a=0,b=this.children.length;a<b;a++)this.children[a]instanceof h&&this.children[a].walkSourceContents(c);for(var d=Object.keys(this.sourceContents),a=0,b=d.length;a<b;a++)c(g.fromSetString(d[a]),this.sourceContents[d[a]])};h.prototype.toString=function(){var c="";this.walk(function(a){c+=a});return c};h.prototype.toStringWithSourceMap=function(e){var a="",b=1,d=0,g=new c(e),h=!1,k=null,p=null,v=null,x=null;this.walk(function(c,l){a+=c;null!==l.source&&
null!==l.line&&null!==l.column?(k===l.source&&p===l.line&&v===l.column&&x===l.name||g.addMapping({source:l.source,original:{line:l.line,column:l.column},generated:{line:b,column:d},name:l.name}),k=l.source,p=l.line,v=l.column,x=l.name,h=!0):h&&(g.addMapping({generated:{line:b,column:d}}),k=null,h=!1);c.split("").forEach(function(a){"\n"===a?(b++,d=0):d++})});this.walkSourceContents(function(b,a){g.setSourceContent(b,a)});return{code:a,map:g}};k.SourceNode=h})},{"./source-map-generator":14,"./util":16,
amdefine:17}],16:[function(k,s,p){if("function"!==typeof e)var e=k("amdefine")(s,k);e(function(e,k,p){function h(b){return(b=b.match(m))?{scheme:b[1],auth:b[3],host:b[4],port:b[6],path:b[7]}:null}function c(b){var a=b.scheme+"://";b.auth&&(a+=b.auth+"@");b.host&&(a+=b.host);b.port&&(a+=":"+b.port);b.path&&(a+=b.path);return a}function g(a,d){var c=a||"",e=d||"";return(c>e)-(c<e)}k.getArg=function(a,d,c){if(d in a)return a[d];if(3===arguments.length)return c;throw Error('"'+d+'" is a required argument.');
};var m=/([\w+\-.]+):\/\/((\w+:\w+)@)?([\w.]+)?(:(\d+))?(\S+)?/,a=/^data:.+\,.+/;k.urlParse=h;k.urlGenerate=c;k.join=function(b,d){var e;return d.match(m)||d.match(a)?d:"/"===d.charAt(0)&&(e=h(b))?(e.path=d,c(e)):b.replace(/\/$/,"")+"/"+d};k.toSetString=function(a){return"$"+a};k.fromSetString=function(a){return a.substr(1)};k.relative=function(a,d){a=a.replace(/\/$/,"");var c=h(a);return"/"==d.charAt(0)&&c&&"/"==c.path?d.slice(1):0===d.indexOf(a+"/")?d.substr(a.length+1):d};k.compareByOriginalPositions=
function(a,d,c){var e;return(e=g(a.source,d.source))||(e=a.originalLine-d.originalLine)||(e=a.originalColumn-d.originalColumn)||c||(e=g(a.name,d.name))?e:(e=a.generatedLine-d.generatedLine)?e:a.generatedColumn-d.generatedColumn};k.compareByGeneratedPositions=function(a,d,c){var e;return(e=a.generatedLine-d.generatedLine)||(e=a.generatedColumn-d.generatedColumn)||c||(e=g(a.source,d.source))||(e=a.originalLine-d.originalLine)?e:(e=a.originalColumn-d.originalColumn)?e:g(a.name,d.name)}})},{amdefine:17}],
17:[function(k,s,p){(function(e,p){s.exports=function(u,s){function h(a,b){var d;if(a&&"."===a.charAt(0)&&b){d=b.split("/");d=d.slice(0,d.length-1);var c=d=d.concat(a.split("/")),e,g;for(e=0;c[e];e+=1)if(g=c[e],"."===g)c.splice(e,1),e-=1;else if(".."===g)if(1!==e||".."!==c[2]&&".."!==c[0])0<e&&(c.splice(e-1,2),e-=2);else break;a=d.join("/")}return a}function c(a){return function(b){return h(b,a)}}function g(a){function b(c){d[a]=c}b.fromText=function(a,b){throw Error("amdefine does not implement load.fromText");
};return b}function m(a,b,c){var e,g,h;if(a)g=d[a]={},h={id:a,uri:p,exports:g},e=z(s,g,h,a);else{if(y)throw Error("amdefine with no module ID cannot be called more than once per file.");y=!0;g=u.exports;h=u;e=z(s,g,h,u.id)}b&&(b=b.map(function(a){return e(a)}));b="function"===typeof c?c.apply(h.exports,b):c;void 0!==b&&(h.exports=b,a&&(d[a]=h.exports))}function a(a,c,d){Array.isArray(a)?(d=c,c=a,a=void 0):"string"!==typeof a&&(d=a,a=c=void 0);c&&!Array.isArray(c)&&(d=c,c=void 0);c||(c=["require",
"exports","module"]);a?b[a]=[a,c,d]:m(a,c,d)}var b={},d={},y=!1,C=k("path"),z,B;z=function(a,b,c,d){function g(h,k){if("string"===typeof h)return B(a,b,c,h,d);h=h.map(function(e){return B(a,b,c,e,d)});e.nextTick(function(){k.apply(null,h)})}g.toUrl=function(a){return 0===a.indexOf(".")?h(a,C.dirname(c.filename)):a};return g};s=s||function(){return u.require.apply(u,arguments)};B=function(a,e,k,l,w){var p=l.indexOf("!"),r=l;if(-1===p){l=h(l,w);if("require"===l)return z(a,e,k,w);if("exports"===l)return e;
if("module"===l)return k;if(d.hasOwnProperty(l))return d[l];if(b[l])return m.apply(null,b[l]),d[l];if(a)return a(r);throw Error("No module with ID: "+l);}r=l.substring(0,p);l=l.substring(p+1,l.length);p=B(a,e,k,r,w);l=p.normalize?p.normalize(l,c(w)):h(l,w);d[l]||p.load(l,z(a,e,k,w),g(l),{});return d[l]};a.require=function(a){if(d[a])return d[a];if(b[a])return m.apply(null,b[a]),d[a]};a.amd={};return a}}).call(this,k("node_modules/browserify/node_modules/insert-module-globals/node_modules/process/browser.js"),
"/node_modules/source-map/node_modules/amdefine/amdefine.js")},{"node_modules/browserify/node_modules/insert-module-globals/node_modules/process/browser.js":6,path:7}],18:[function(k,s,p){(function(e,r){function s(a){if(a in x)return x[a];try{if("undefined"!==typeof window){var b=new XMLHttpRequest;b.open("GET",a,!1);b.send(null);var c=4===b.readyState?b.responseText:null}else c=z.readFileSync(a,"utf8")}catch(d){c=null}return x[a]=c}function A(a,b){if(!a)return b;var c=C.dirname(a),d=/^\w+:\/\/[^\/]*/.exec(c),
d=d?d[0]:"";return d+C.resolve(c.slice(d.length),b)}function h(a){var b=s(a),b=/\/\/[#@]\s*sourceMappingURL=(.*)\s*$/m.exec(b);if(!b)return null;b=b[1];"data:application/json;base64,"==b.slice(0,29).toLowerCase()?(a=(new r(b.slice(29),"base64")).toString(),b=null):(b=A(a,b),a=s(b,"utf8"));return a?{url:b,map:a}:null}function c(a){var b=D[a.source];if(!b){var c=h(a.source);c&&(b=D[a.source]={url:c.url,map:new y(c.map)},b.map.sourcesContent&&b.map.sources.forEach(function(a,c){var d=b.map.sourcesContent[c];
if(d){var e=A(b.url,a);x[e]=d}}))}return b&&(c=b.map.originalPositionFor(a),null!==c.source)?(c.source=A(b.url,c.source),c):a}function g(a){var b=/^eval at ([^(]+) \((.+):(\d+):(\d+)\)$/.exec(a);return b?(a=c({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]+" ("+g(b[2])+")":a}function m(a){var b=a.getFileName()||a.getScriptNameOrSourceURL();if(b){var d=c({source:b,line:a.getLineNumber(),column:a.getColumnNumber()-
1});return{__proto__:a,getFileName:function(){return d.source},getLineNumber:function(){return d.line},getColumnNumber:function(){return d.column+1},getScriptNameOrSourceURL:function(){return d.source}}}var e=a.isEval()&&a.getEvalOrigin();return e?(e=g(e),{__proto__:a,getEvalOrigin:function(){return e}}):a}function a(a,b){v&&(x={},D={});return a+b.map(function(a){return"\n at "+m(a)}).join("")}function b(a){var b=/\n at [^(]+ \((.*):(\d+):(\d+)\)/.exec(a.stack);if(b){a=b[1];var c=+b[2],b=+b[3],
d=x[a];!d&&z.existsSync(a)&&(d=z.readFileSync(a,"utf8"));if(d&&(d=d.split(/(?:\r\n|\r|\n)/)[c-1]))return"\n"+a+":"+c+"\n"+d+"\n"+Array(b).join(" ")+"^"}return null}function d(a){if(a&&a.stack){var c=b(a);null!==c&&console.log(c);console.log(a.stack)}else console.log("Uncaught exception:",a);e.exit(1)}var y=k("source-map").SourceMapConsumer,C=k("path"),z=k("fs"),B=!1,v=!1,x={},D={};p.wrapCallSite=m;p.getErrorSource=b;p.mapSourcePosition=c;p.retrieveSourceMap=h;p.install=function(b){if(!B){B=!0;Error.prepareStackTrace=
a;b=b||{};var c="handleUncaughtExceptions"in b?b.handleUncaughtExceptions:!0;v="emptyCacheBetweenOperations"in b?b.emptyCacheBetweenOperations:!1;b.retrieveFile&&(s=b.retrieveFile);b.retrieveSourceMap&&(h=b.retrieveSourceMap);if(c&&"undefined"===typeof window)e.on("uncaughtException",d)}}}).call(this,k("node_modules/browserify/node_modules/insert-module-globals/node_modules/process/browser.js"),k("buffer").Buffer)},{"node_modules/browserify/node_modules/insert-module-globals/node_modules/process/browser.js":6,
buffer:3,fs:2,path:7,"source-map":8}]},{},[1]);return H});

@ -1,4 +1,4 @@
// Generated by CoffeeScript 1.6.3
// Generated by CoffeeScript 1.7.1
(function() {
var e, foo;
@ -22,6 +22,4 @@
}).call(this);
/*
//@ sourceMappingURL=script.map
*/
//# sourceMappingURL=script.map

@ -6,5 +6,5 @@
"browser-test/script.coffee"
],
"names": [],
"mappings": ";AAAA;CAAA,KAAA;;CAAA,CAAA,KAAA,SAAgB;;CAAhB,CAEA,CAAA,MAAM;CAAG,GAAU,CAAA,KAAA;CAFnB,EAEM;;CAEN;CACE,EAAA,CAAA;IADF,EAAA;CAGE,GADI,EACJ;CAAA,GAAA,CAAG,eAAoB;CACrB,GAAa,EAAb,EAAQ,GAAR,EAA0B,CAAA;MAD5B;CAGE,GAAa,EAAb,EAAQ,GAAR,EAA0B,CAAA;CAA1B,EACA,EAAA,CAAA,CAAO;MAPX;IAJA;CAAA"
"mappings": ";AAAA;AAAA,MAAA,MAAA;;AAAA,EAAA,gBAAgB,CAAC,OAAjB,CAAA,CAAA,CAAA;;AAAA,EAEA,GAAA,GAAM,SAAA,GAAA;AAAG,UAAU,IAAA,KAAA,CAAM,KAAN,CAAV,CAAH;EAAA,CAFN,CAAA;;AAIA;AACE,IAAA,GAAA,CAAA,CAAA,CADF;GAAA,cAAA;AAGE,IADI,UACJ,CAAA;AAAA,IAAA,IAAG,oBAAoB,CAAC,IAArB,CAA0B,CAAC,CAAC,KAA5B,CAAH;AACE,MAAA,QAAQ,CAAC,IAAI,CAAC,WAAd,CAA0B,QAAQ,CAAC,cAAT,CAAwB,aAAxB,CAA1B,CAAA,CADF;KAAA,MAAA;AAGE,MAAA,QAAQ,CAAC,IAAI,CAAC,WAAd,CAA0B,QAAQ,CAAC,cAAT,CAAwB,aAAxB,CAA1B,CAAA,CAAA;AAAA,MACA,OAAO,CAAC,GAAR,CAAY,CAAC,CAAC,KAAd,CADA,CAHF;KAHF;GAJA;AAAA"
}

@ -18,7 +18,7 @@ child_process.exec('node_modules/browserify/bin/cmd.js .temp.js', function(error
].join('\n');
var code = [
'(this["define"] || function(name, callback) { this["sourceMapSupport"] = callback(); })("browser-source-map-support", function(sourceMapSupport) {',
stdout.replace(/\bbyte\b/g, 'bite').replace(/@license/g, 'license'),
stdout.replace(/\bbyte\b/g, 'bite').replace(new RegExp(__dirname + '/', 'g'), '').replace(/@license/g, 'license'),
'return sourceMapSupport});',
].join('\n');

@ -1,18 +1,18 @@
{
"name": "source-map-support",
"description": "Fixes stack traces for files with source maps",
"version": "0.2.5",
"version": "0.2.6",
"main": "./source-map-support.js",
"scripts": {
"test": "node_modules/mocha/bin/mocha"
},
"dependencies": {
"source-map": "0.1.29"
"source-map": "0.1.32"
},
"devDependencies": {
"coffee-script": "1.6.3",
"browserify": "2.35.2",
"mocha": "1.8.1"
"coffee-script": "1.7.1",
"browserify": "3.44.2",
"mocha": "1.18.2"
},
"repository": {
"type": "git",

Loading…
Cancel
Save