text: webpackJsonp([1],{"+3/4":function(e,t,r){"use strict";r.d(t,"a",function(){return o});var n=r("TToO"),o=function(e){function t(t){e.call(this),this.scheduler=t}return Object(n.b)(t,e),t.create=function(e){return new t(e)},t.dispatch=function(e){e.subscriber.complete()},t.prototype._subscribe=function(e){var r=this.scheduler;if(r)return r.schedule(t.dispatch,0,{subscriber:e});e.complete()},t}(r("YaPU").a)},"+CnV":function(e,t,r){"use strict";r.d(t,"a",function(){return n});var n=function(e){var t,n=r("AMGY").a.Symbol;return"function"==typeof n?n.observable?t=n.observable:(t=n("observable"),n.observable=t):t="@@observable",t}()},"/iUD":function(e,t,r){"use strict";t.a=function(e){return"function"==typeof e}},"/nXB":function(e,t,r){"use strict";var n=r("YaPU"),o=r("TToO"),s=function(e){function t(t,r){e.call(this),this.value=t,this.scheduler=r,this._isScalar=!0,r&&(this._isScalar=!1)}return Object(o.b)(t,e),t.create=function(e,r){return new t(e,r)},t.dispatch=function(e){var t=e.value,r=e.subscriber;e.done?r.complete():(r.next(t),r.closed||(e.done=!0,this.schedule(e)))},t.prototype._subscribe=function(e){var r=this.value,n=this.scheduler;if(n)return n.schedule(t.dispatch,0,{done:!1,value:r,subscriber:e});e.next(r),e.closed||e.complete()},t}(n.a),i=r("+3/4");function a(e){return e&&"function"==typeof e.schedule}var u=function(e){function t(t,r){e.call(this),this.array=t,this.scheduler=r,r||1!==t.length||(this._isScalar=!0,this.value=t[0])}return Object(o.b)(t,e),t.create=function(e,r){return new t(e,r)},t.of=function(){for(var e=[],r=0;r<arguments.length;r++)e[r-0]=arguments[r];var n=e[e.length-1];a(n)?e.pop():n=null;var o=e.length;return o>1?new t(e,n):1===o?new s(e[0],n):new i.a(n)},t.dispatch=function(e){var t=e.array,r=e.index,n=e.subscriber;r>=e.count?n.complete():(n.next(t[r]),n.closed||(e.index=r+1,this.schedule(e)))},t.prototype._subscribe=function(e){var r=this.array,n=r.length,o=this.scheduler;if(o)return o.schedule(t.dispatch,0,{array:r,index:0,count:n,subscriber:e});for(var s=0;s<n&&!e.closed;s++)e.next(r[s]);e.complete()},t}(n.a),d=r("PIsA"),l=r("tZ2B"),c=function(){function e(e,t,r){void 0===r&&(r=Number.POSITIVE_INFINITY),this.project=e,this.resultSelector=t,this.concurrent=r}return e.prototype.call=function(e,t){return t.subscribe(new f(e,this.project,this.resultSelector,this.concurrent))},e}(),f=function(e){function t(t,r,n,o){void 0===o&&(o=Number.POSITIVE_INFINITY),e.call(this,t),this.project=r,this.resultSelector=n,this.concurrent=o,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}return Object(o.b)(t,e),t.prototype._next=function(e){this.active<this.concurrent?this._tryNext(e):this.buffer.push(e)},t.prototype._tryNext=function(e){var t,r=this.index++;try{t=this.project(e,r)}catch(e){return void this.destination.error(e)}this.active++,this._innerSub(t,e,r)},t.prototype._innerSub=function(e,t,r){this.add(Object(d.a)(this,e,t,r))},t.prototype._complete=function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete()},t.prototype.notifyNext=function(e,t,r,n,o){this.resultSelector?this._notifyResultSelector(e,t,r,n):this.destination.next(t)},t.prototype._notifyResultSelector=function(e,t,r,n){var o;try{o=this.resultSelector(e,t,r,n)}catch(e){return void this.destination.error(e)}this.destination.next(o)},t.prototype.notifyComplete=function(e){var t=this.buffer;this.remove(e),this.active--,t.length>0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},t}(l.a);function h(e){return e}t.a=function(){for(var e=[],t=0;t<arguments.length;t++)e[t-0]=arguments[t];var r=Number.POSITIVE_INFINITY,o=null,s=e[e.length-1];return a(s)?(o=e.pop(),e.length>1&&"number"==typeof e[e.length-1]&&(r=e.pop())):"number"==typeof s&&(r=e.pop()),null===o&&1===e.length&&e[0]instanceof n.a?e[0]:function(e){return void 0===e&&(e=Number.POSITIVE_INFINITY),function(e,t,r){return void 0===r&&(r=Number.POSITIVE_INFINITY),function(n){return"number"==typeof t&&(r=t,t=null),n.lift(new c(e,t,r))}}(h,null,e)}(r)(new u(e,o))}},"/zIR":function(module,exports,__webpack_require__){(function(global){var require,require,f;f=function(){var define,module,exports;return function e(t,r,n){function o(i,a){if(!r[i]){if(!t[i]){if(!a&&"function"==typeof require&&require)return require(i,!0);if(s)return s(i,!0);var u=new Error("Cannot find module '"+i+"'");throw u.code="MODULE_NOT_FOUND",u}var d=r[i]={exports:{}};t[i][0].call(d.exports,function(e){return o(t[i][1][e]||e)},d,d.exports,e,t,r,n)}return r[i].exports}for(var s="function"==typeof require&&require,i=0;i<n.length;i++)o(n[i]);return o}({"/Users/jnordberg/Development/dsteem/lib/version.js":[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default="0.8.7"},{}],"/Users/jnordberg/Development/dsteem/node_modules/asn1.js/lib/asn1.js":[function(e,t,r){var n=r;n.bignum=e("bn.js"),n.define=e("./asn1/api").define,n.base=e("./asn1/base"),n.constants=e("./asn1/constants"),n.decoders=e("./asn1/decoders"),n.encoders=e("./asn1/encoders")},{"./asn1/api":"/Users/jnordberg/Development/dsteem/node_modules/asn1.js/lib/asn1/api.js","./asn1/base":"/Users/jnordberg/Development/dsteem/node_modules/asn1.js/lib/asn1/base/index.js","./asn1/constants":"/Users/jnordberg/Development/dsteem/node_modules/asn1.js/lib/asn1/constants/index.js","./asn1/decoders":"/Users/jnordberg/Development/dsteem/node_modules/asn1.js/lib/asn1/decoders/index.js","./asn1/encoders":"/Users/jnordberg/Development/dsteem/node_modules/asn1.js/lib/asn1/encoders/index.js","bn.js":"/Users/jnordberg/Development/dsteem/node_modules/bn.js/lib/bn.js"}],"/Users/jnordberg/Development/dsteem/node_modules/asn1.js/lib/asn1/api.js":[function(e,t,r){var n=e("../asn1"),o=e("inherits");function s(e,t){this.name=e,this.body=t,this.decoders={},this.encoders={}}r.define=function(e,t){return new s(e,t)},s.prototype._createNamed=function(t){var r;try{r=e("vm").runInThisContext("(function "+this.name+"(entity) {\n  this._initNamed(entity);\n})")}catch(e){r=function(e){this._initNamed(e)}}return o(r,t),r.prototype._initNamed=function(e){t.call(this,e)},new r(this)},s.prototype._getDecoder=function(e){return this.decoders.hasOwnProperty(e=e||"der")||(this.decoders[e]=this._createNamed(n.decoders[e])),this.decoders[e]},s.prototype.decode=function(e,t,r){return this._getDecoder(t).decode(e,r)},s.prototype._getEncoder=function(e){return this.encoders.hasOwnProperty(e=e||"der")||(this.encoders[e]=this._createNamed(n.encoders[e])),this.encoders[e]},s.prototype.encode=function(e,t,r){return this._getEncoder(t).encode(e,r)}},{"../asn1":"/Users/jnordberg/Development/dsteem/node_modules/asn1.js/lib/asn1.js",inherits:"/Users/jnordberg/Development/dsteem/node_modules/inherits/inherits_browser.js",vm:"/Users/jnordberg/Development/dsteem/node_modules/vm-browserify/index.js"}],"/Users/jnordberg/Development/dsteem/node_modules/asn1.js/lib/asn1/base/buffer.js":[function(e,t,r){var n=e("inherits"),o=e("../base").Reporter,s=e("buffer").Buffer;function i(e,t){o.call(this,t),s.isBuffer(e)?(this.base=e,this.offset=0,this.length=e.length):this.error("Input not Buffer")}function a(e,t){if(Array.isArray(e))this.length=0,this.value=e.map(function(e){return e instanceof a||(e=new a(e,t)),this.length+=e.length,e},this);else if("number"==typeof e){if(!(0<=e&&e<=255))return t.error("non-byte EncoderBuffer value");this.value=e,this.length=1}else if("string"==typeof e)this.value=e,this.length=s.byteLength(e);else{if(!s.isBuffer(e))return t.error("Unsupported type: "+typeof e);this.value=e,this.length=e.length}}n(i,o),r.DecoderBuffer=i,i.prototype.save=function(){return{offset:this.offset,reporter:o.prototype.save.call(this)}},i.prototype.restore=function(e){var t=new i(this.base);return t.offset=e.offset,t.length=this.offset,this.offset=e.offset,o.prototype.restore.call(this,e.reporter),t},i.prototype.isEmpty=function(){return this.offset===this.length},i.prototype.readUInt8=function(e){return this.offset+1<=this.length?this.base.readUInt8(this.offset++,!0):this.error(e||"DecoderBuffer overrun")},i.prototype.skip=function(e,t){if(!(this.offset+e<=this.length))return this.error(t||"DecoderBuffer overrun");var r=new i(this.base);return r._reporterState=this._reporterState,r.offset=this.offset,r.length=this.offset+e,this.offset+=e,r},i.prototype.raw=function(e){return this.base.slice(e?e.offset:this.offset,this.length)},r.EncoderBuffer=a,a.prototype.join=function(e,t){return e||(e=new s(this.length)),t||(t=0),0===this.length?e:(Array.isArray(this.value)?this.value.forEach(function(r){r.join(e,t),t+=r.length}):("number"==typeof this.value?e[t]=this.value:"string"==typeof this.value?e.write(this.value,t):s.isBuffer(this.value)&&this.value.copy(e,t),t+=this.length),e)}},{"../base":"/Users/jnordberg/Development/dsteem/node_modules/asn1.js/lib/asn1/base/index.js",buffer:"/Users/jnordberg/Development/dsteem/node_modules/buffer/index.js",inherits:"/Users/jnordberg/Development/dsteem/node_modules/inherits/inherits_browser.js"}],"/Users/jnordberg/Development/dsteem/node_modules/asn1.js/lib/asn1/base/index.js":[function(e,t,r){var n=r;n.Reporter=e("./reporter").Reporter,n.DecoderBuffer=e("./buffer").DecoderBuffer,n.EncoderBuffer=e("./buffer").EncoderBuffer,n.Node=e("./node")},{"./buffer":"/Users/jnordberg/Development/dsteem/node_modules/asn1.js/lib/asn1/base/buffer.js","./node":"/Users/jnordberg/Development/dsteem/node_modules/asn1.js/lib/asn1/base/node.js","./reporter":"/Users/jnordberg/Development/dsteem/node_modules/asn1.js/lib/asn1/base/reporter.js"}],"/Users/jnordberg/Development/dsteem/node_modules/asn1.js/lib/asn1/base/node.js":[function(e,t,r){var n=e("../base").Reporter,o=e("../base").EncoderBuffer,s=e("../base").DecoderBuffer,i=e("minimalistic-assert"),a=["seq","seqof","set","setof","objid","bool","gentime","utctime","null_","enum","int","objDesc","bitstr","bmpstr","charstr","genstr","graphstr","ia5str","iso646str","numstr","octstr","printstr","t61str","unistr","utf8str","videostr"],u=["key","obj","use","optional","explicit","implicit","def","choice","any","contains"].concat(a);function d(e,t){var r={};this._baseState=r,r.enc=e,r.parent=t||null,r.children=null,r.tag=null,r.args=null,r.reverseArgs=null,r.choice=null,r.optional=!1,r.any=!1,r.obj=!1,r.use=null,r.useDecoder=null,r.key=null,r.default=null,r.explicit=null,r.implicit=null,r.contains=null,r.parent||(r.children=[],this._wrap())}t.exports=d;var l=["enc","parent","children","tag","args","reverseArgs","choice","optional","any","obj","use","alteredUse","key","default","explicit","implicit","contains"];d.prototype.clone=function(){var e=this._baseState,t={};l.forEach(function(r){t[r]=e[r]});var r=new this.constructor(t.parent);return r._baseState=t,r},d.prototype._wrap=function(){var e=this._baseState;u.forEach(function(t){this[t]=function(){var r=new this.constructor(this);return e.children.push(r),r[t].apply(r,arguments)}},this)},d.prototype._init=function(e){var t=this._baseState;i(null===t.parent),e.call(this),t.children=t.children.filter(function(e){return e._baseState.parent===this},this),i.equal(t.children.length,1,"Root node can have only one child")},d.prototype._useArgs=function(e){var t=this._baseState,r=e.filter(function(e){return e instanceof this.constructor},this);e=e.filter(function(e){return!(e instanceof this.constructor)},this),0!==r.length&&(i(null===t.children),t.children=r,r.forEach(function(e){e._baseState.parent=this},this)),0!==e.length&&(i(null===t.args),t.args=e,t.reverseArgs=e.map(function(e){if("object"!=typeof e||e.constructor!==Object)return e;var t={};return Object.keys(e).forEach(function(r){r==(0|r)&&(r|=0),t[e[r]]=r}),t}))},["_peekTag","_decodeTag","_use","_decodeStr","_decodeObjid","_decodeTime","_decodeNull","_decodeInt","_decodeBool","_decodeList","_encodeComposite","_encodeStr","_encodeObjid","_encodeTime","_encodeNull","_encodeInt","_encodeBool"].forEach(function(e){d.prototype[e]=function(){throw new Error(e+" not implemented for encoding: "+this._baseState.enc)}}),a.forEach(function(e){d.prototype[e]=function(){var t=this._baseState,r=Array.prototype.slice.call(arguments);return i(null===t.tag),t.tag=e,this._useArgs(r),this}}),d.prototype.use=function(e){i(e);var t=this._baseState;return i(null===t.use),t.use=e,this},d.prototype.optional=function(){return this._baseState.optional=!0,this},d.prototype.def=function(e){var t=this._baseState;return i(null===t.default),t.default=e,t.optional=!0,this},d.prototype.explicit=function(e){var t=this._baseState;return i(null===t.explicit&&null===t.implicit),t.explicit=e,this},d.prototype.implicit=function(e){var t=this._baseState;return i(null===t.explicit&&null===t.implicit),t.implicit=e,this},d.prototype.obj=function(){var e=this._baseState,t=Array.prototype.slice.call(arguments);return e.obj=!0,0!==t.length&&this._useArgs(t),this},d.prototype.key=function(e){var t=this._baseState;return i(null===t.key),t.key=e,this},d.prototype.any=function(){return this._baseState.any=!0,this},d.prototype.choice=function(e){var t=this._baseState;return i(null===t.choice),t.choice=e,this._useArgs(Object.keys(e).map(function(t){return e[t]})),this},d.prototype.contains=function(e){var t=this._baseState;return i(null===t.use),t.contains=e,this},d.prototype._decode=function(e,t){var r=this._baseState;if(null===r.parent)return e.wrapResult(r.children[0]._decode(e,t));var n,o=r.default,i=!0,a=null;if(null!==r.key&&(a=e.enterKey(r.key)),r.optional){var u=null;if(null!==r.explicit?u=r.explicit:null!==r.implicit?u=r.implicit:null!==r.tag&&(u=r.tag),null!==u||r.any){if(i=this._peekTag(e,u,r.any),e.isError(i))return i}else{var d=e.save();try{null===r.choice?this._decodeGeneric(r.tag,e,t):this._decodeChoice(e,t),i=!0}catch(e){i=!1}e.restore(d)}}if(r.obj&&i&&(n=e.enterObject()),i){if(null!==r.explicit){var l=this._decodeTag(e,r.explicit);if(e.isError(l))return l;e=l}var c=e.offset;if(null===r.use&&null===r.choice){r.any&&(d=e.save());var f=this._decodeTag(e,null!==r.implicit?r.implicit:r.tag,r.any);if(e.isError(f))return f;r.any?o=e.raw(d):e=f}if(t&&t.track&&null!==r.tag&&t.track(e.path(),c,e.length,"tagged"),t&&t.track&&null!==r.tag&&t.track(e.path(),e.offset,e.length,"content"),o=r.any?o:null===r.choice?this._decodeGeneric(r.tag,e,t):this._decodeChoice(e,t),e.isError(o))return o;if(r.any||null!==r.choice||null===r.children||r.children.forEach(function(r){r._decode(e,t)}),r.contains&&("octstr"===r.tag||"bitstr"===r.tag)){var h=new s(o);o=this._getUse(r.contains,e._reporterState.obj)._decode(h,t)}}return r.obj&&i&&(o=e.leaveObject(n)),null===r.key||null===o&&!0!==i?null!==a&&e.exitKey(a):e.leaveKey(a,r.key,o),o},d.prototype._decodeGeneric=function(e,t,r){var n=this._baseState;return"seq"===e||"set"===e?null:"seqof"===e||"setof"===e?this._decodeList(t,e,n.args[0],r):/str$/.test(e)?this._decodeStr(t,e,r):"objid"===e&&n.args?this._decodeObjid(t,n.args[0],n.args[1],r):"objid"===e?this._decodeObjid(t,null,null,r):"gentime"===e||"utctime"===e?this._decodeTime(t,e,r):"null_"===e?this._decodeNull(t,r):"bool"===e?this._decodeBool(t,r):"objDesc"===e?this._decodeStr(t,e,r):"int"===e||"enum"===e?this._decodeInt(t,n.args&&n.args[0],r):null!==n.use?this._getUse(n.use,t._reporterState.obj)._decode(t,r):t.error("unknown tag: "+e)},d.prototype._getUse=function(e,t){var r=this._baseState;return r.useDecoder=this._use(e,t),i(null===r.useDecoder._baseState.parent),r.useDecoder=r.useDecoder._baseState.children[0],r.implicit!==r.useDecoder._baseState.implicit&&(r.useDecoder=r.useDecoder.clone(),r.useDecoder._baseState.implicit=r.implicit),r.useDecoder},d.prototype._decodeChoice=function(e,t){var r=this._baseState,n=null,o=!1;return Object.keys(r.choice).some(function(s){var i=e.save(),a=r.choice[s];try{var u=a._decode(e,t);if(e.isError(u))return!1;n={type:s,value:u},o=!0}catch(t){return e.restore(i),!1}return!0},this),o?n:e.error("Choice not matched")},d.prototype._createEncoderBuffer=function(e){return new o(e,this.reporter)},d.prototype._encode=function(e,t,r){var n=this._baseState;if(null===n.default||n.default!==e){var o=this._encodeValue(e,t,r);if(void 0!==o&&!this._skipDefault(o,t,r))return o}},d.prototype._encodeValue=function(e,t,r){var o=this._baseState;if(null===o.parent)return o.children[0]._encode(e,t||new n);var s=null;if(this.reporter=t,o.optional&&void 0===e){if(null===o.default)return;e=o.default}var i=null,a=!1;if(o.any)s=this._createEncoderBuffer(e);else if(o.choice)s=this._encodeChoice(e,t);else if(o.contains)i=this._getUse(o.contains,r)._encode(e,t),a=!0;else if(o.children)i=o.children.map(function(r){if("null_"===r._baseState.tag)return r._encode(null,t,e);if(null===r._baseState.key)return t.error("Child should have a key");var n=t.enterKey(r._baseState.key);if("object"!=typeof e)return t.error("Child expected, but input is not object");var o=r._encode(e[r._baseState.key],t,e);return t.leaveKey(n),o},this).filter(function(e){return e}),i=this._createEncoderBuffer(i);else if("seqof"===o.tag||"setof"===o.tag){if(!o.args||1!==o.args.length)return t.error("Too many args for : "+o.tag);if(!Array.isArray(e))return t.error("seqof/setof, but data is not Array");var u=this.clone();u._baseState.implicit=null,i=this._createEncoderBuffer(e.map(function(r){return this._getUse(this._baseState.args[0],e)._encode(r,t)},u))}else null!==o.use?s=this._getUse(o.use,r)._encode(e,t):(i=this._encodePrimitive(o.tag,e),a=!0);if(!o.any&&null===o.choice){var d=null!==o.implicit?o.implicit:o.tag,l=null===o.implicit?"universal":"context";null===d?null===o.use&&t.error("Tag could be omitted only for .use()"):null===o.use&&(s=this._encodeComposite(d,a,l,i))}return null!==o.explicit&&(s=this._encodeComposite(o.explicit,!1,"context",s)),s},d.prototype._encodeChoice=function(e,t){var r=this._baseState,n=r.choice[e.type];return n||i(!1,e.type+" not found in "+JSON.stringify(Object.keys(r.choice))),n._encode(e.value,t)},d.prototype._encodePrimitive=function(e,t){var r=this._baseState;if(/str$/.test(e))return this._encodeStr(t,e);if("objid"===e&&r.args)return this._encodeObjid(t,r.reverseArgs[0],r.args[1]);if("objid"===e)return this._encodeObjid(t,null,null);if("gentime"===e||"utctime"===e)return this._encodeTime(t,e);if("null_"===e)return this._encodeNull();if("int"===e||"enum"===e)return this._encodeInt(t,r.args&&r.reverseArgs[0]);if("bool"===e)return this._encodeBool(t);if("objDesc"===e)return this._encodeStr(t,e);throw new Error("Unsupported tag: "+e)},d.prototype._isNumstr=function(e){return/^[0-9 ]*$/.test(e)},d.prototype._isPrintstr=function(e){return/^[A-Za-z0-9 '\(\)\+,\-\.\/:=\?]*$/.test(e)}},{"../base":"/Users/jnordberg/Development/dsteem/node_modules/asn1.js/lib/asn1/base/index.js","minimalistic-assert":"/Users/jnordberg/Development/dsteem/node_modules/minimalistic-assert/index.js"}],"/Users/jnordberg/Development/dsteem/node_modules/asn1.js/lib/asn1/base/reporter.js":[function(e,t,r){var n=e("inherits");function o(e){this._reporterState={obj:null,path:[],options:e||{},errors:[]}}function s(e,t){this.path=e,this.rethrow(t)}r.Reporter=o,o.prototype.isError=function(e){return e instanceof s},o.prototype.save=function(){var e=this._reporterState;return{obj:e.obj,pathLen:e.path.length}},o.prototype.restore=function(e){var t=this._reporterState;t.obj=e.obj,t.path=t.path.slice(0,e.pathLen)},o.prototype.enterKey=function(e){return this._reporterState.path.push(e)},o.prototype.exitKey=function(e){var t=this._reporterState;t.path=t.path.slice(0,e-1)},o.prototype.leaveKey=function(e,t,r){var n=this._reporterState;this.exitKey(e),null!==n.obj&&(n.obj[t]=r)},o.prototype.path=function(){return this._reporterState.path.join("/")},o.prototype.enterObject=function(){var e=this._reporterState,t=e.obj;return e.obj={},t},o.prototype.leaveObject=function(e){var t=this._reporterState,r=t.obj;return t.obj=e,r},o.prototype.error=function(e){var t,r=this._reporterState,n=e instanceof s;if(t=n?e:new s(r.path.map(function(e){return"["+JSON.stringify(e)+"]"}).join(""),e.message||e,e.stack),!r.options.partial)throw t;return n||r.errors.push(t),t},o.prototype.wrapResult=function(e){var t=this._reporterState;return t.options.partial?{result:this.isError(e)?null:e,errors:t.errors}:e},n(s,Error),s.prototype.rethrow=function(e){if(this.message=e+" at: "+(this.path||"(shallow)"),Error.captureStackTrace&&Error.captureStackTrace(this,s),!this.stack)try{throw new Error(this.message)}catch(e){this.stack=e.stack}return this}},{inherits:"/Users/jnordberg/Development/dsteem/node_modules/inherits/inherits_browser.js"}],"/Users/jnordberg/Development/dsteem/node_modules/asn1.js/lib/asn1/constants/der.js":[function(e,t,r){var n=e("../constants");r.tagClass={0:"universal",1:"application",2:"context",3:"private"},r.tagClassByName=n._reverse(r.tagClass),r.tag={0:"end",1:"bool",2:"int",3:"bitstr",4:"octstr",5:"null_",6:"objid",7:"objDesc",8:"external",9:"real",10:"enum",11:"embed",12:"utf8str",13:"relativeOid",16:"seq",17:"set",18:"numstr",19:"printstr",20:"t61str",21:"videostr",22:"ia5str",23:"utctime",24:"gentime",25:"graphstr",26:"iso646str",27:"genstr",28:"unistr",29:"charstr",30:"bmpstr"},r.tagByName=n._reverse(r.tag)},{"../constants":"/Users/jnordberg/Development/dsteem/node_modules/asn1.js/lib/asn1/constants/index.js"}],"/Users/jnordberg/Development/dsteem/node_modules/asn1.js/lib/asn1/constants/index.js":[function(e,t,r){var n=r;n._reverse=function(e){var t={};return Object.keys(e).forEach(function(r){(0|r)==r&&(r|=0),t[e[r]]=r}),t},n.der=e("./der")},{"./der":"/Users/jnordberg/Development/dsteem/node_modules/asn1.js/lib/asn1/constants/der.js"}],"/Users/jnordberg/Development/dsteem/node_modules/asn1.js/lib/asn1/decoders/der.js":[function(e,t,r){var n=e("inherits"),o=e("../../asn1"),s=o.base,i=o.bignum,a=o.constants.der;function u(e){this.enc="der",this.name=e.name,this.entity=e,this.tree=new d,this.tree._init(e.body)}function d(e){s.Node.call(this,"der",e)}function l(e,t){var r=e.readUInt8(t);if(e.isError(r))return r;var n=a.tagClass[r>>6],o=0==(32&r);if(31==(31&r)){var s=r;for(r=0;128==(128&s);){if(s=e.readUInt8(t),e.isError(s))return s;r<<=7,r|=127&s}}else r&=31;return{cls:n,primitive:o,tag:r,tagStr:a.tag[r]}}function c(e,t,r){var n=e.readUInt8(r);if(e.isError(n))return n;if(!t&&128===n)return null;if(0==(128&n))return n;var o=127&n;if(o>4)return e.error("length octect is too long");n=0;for(var s=0;s<o;s++){n<<=8;var i=e.readUInt8(r);if(e.isError(i))return i;n|=i}return n}t.exports=u,u.prototype.decode=function(e,t){return e instanceof s.DecoderBuffer||(e=new s.DecoderBuffer(e,t)),this.tree._decode(e,t)},n(d,s.Node),d.prototype._peekTag=function(e,t,r){if(e.isEmpty())return!1;var n=e.save(),o=l(e,'Failed to peek tag: "'+t+'"');return e.isError(o)?o:(e.restore(n),o.tag===t||o.tagStr===t||o.tagStr+"of"===t||r)},d.prototype._decodeTag=function(e,t,r){var n=l(e,'Failed to decode tag of "'+t+'"');if(e.isError(n))return n;var o=c(e,n.primitive,'Failed to get length of "'+t+'"');if(e.isError(o))return o;if(!r&&n.tag!==t&&n.tagStr!==t&&n.tagStr+"of"!==t)return e.error('Failed to match tag: "'+t+'"');if(n.primitive||null!==o)return e.skip(o,'Failed to match body of: "'+t+'"');var s=e.save(),i=this._skipUntilEnd(e,'Failed to skip indefinite length body: "'+this.tag+'"');return e.isError(i)?i:(o=e.offset-s.offset,e.restore(s),e.skip(o,'Failed to match body of: "'+t+'"'))},d.prototype._skipUntilEnd=function(e,t){for(;;){var r=l(e,t);if(e.isError(r))return r;var n,o=c(e,r.primitive,t);if(e.isError(o))return o;if(n=r.primitive||null!==o?e.skip(o):this._skipUntilEnd(e,t),e.isError(n))return n;if("end"===r.tagStr)break}},d.prototype._decodeList=function(e,t,r,n){for(var o=[];!e.isEmpty();){var s=this._peekTag(e,"end");if(e.isError(s))return s;var i=r.decode(e,"der",n);if(e.isError(i)&&s)break;o.push(i)}return o},d.prototype._decodeStr=function(e,t){if("bitstr"===t){var r=e.readUInt8();return e.isError(r)?r:{unused:r,data:e.raw()}}if("bmpstr"===t){var n=e.raw();if(n.length%2==1)return e.error("Decoding of string type: bmpstr length mismatch");for(var o="",s=0;s<n.length/2;s++)o+=String.fromCharCode(n.readUInt16BE(2*s));return o}if("numstr"===t){var i=e.raw().toString("ascii");return this._isNumstr(i)?i:e.error("Decoding of string type: numstr unsupported characters")}if("octstr"===t)return e.raw();if("objDesc"===t)return e.raw();if("printstr"===t){var a=e.raw().toString("ascii");return this._isPrintstr(a)?a:e.error("Decoding of string type: printstr unsupported characters")}return/str$/.test(t)?e.raw().toString():e.error("Decoding of string type: "+t+" unsupported")},d.prototype._decodeObjid=function(e,t,r){for(var n,o=[],s=0;!e.isEmpty();){var i=e.readUInt8();s<<=7,s|=127&i,0==(128&i)&&(o.push(s),s=0)}if(128&i&&o.push(s),n=r?o:[o[0]/40|0,o[0]%40].concat(o.slice(1)),t){var a=t[n.join(" ")];void 0===a&&(a=t[n.join(".")]),void 0!==a&&(n=a)}return n},d.prototype._decodeTime=function(e,t){var r=e.raw().toString();if("gentime"===t)var n=0|r.slice(0,4),o=0|r.slice(4,6),s=0|r.slice(6,8),i=0|r.slice(8,10),a=0|r.slice(10,12),u=0|r.slice(12,14);else{if("utctime"!==t)return e.error("Decoding "+t+" time is not supported yet");n=0|r.slice(0,2),o=0|r.slice(2,4),s=0|r.slice(4,6),i=0|r.slice(6,8),a=0|r.slice(8,10),u=0|r.slice(10,12),n=n<70?2e3+n:1900+n}return Date.UTC(n,o-1,s,i,a,u,0)},d.prototype._decodeNull=function(e){return null},d.prototype._decodeBool=function(e){var t=e.readUInt8();return e.isError(t)?t:0!==t},d.prototype._decodeInt=function(e,t){var r=e.raw(),n=new i(r);return t&&(n=t[n.toString(10)]||n),n},d.prototype._use=function(e,t){return"function"==typeof e&&(e=e(t)),e._getDecoder("der").tree}},{"../../asn1":"/Users/jnordberg/Development/dsteem/node_modules/asn1.js/lib/asn1.js",inherits:"/Users/jnordberg/Development/dsteem/node_modules/inherits/inherits_browser.js"}],"/Users/jnordberg/Development/dsteem/node_modules/asn1.js/lib/asn1/decoders/index.js":[function(e,t,r){var n=r;n.der=e("./der"),n.pem=e("./pem")},{"./der":"/Users/jnordberg/Development/dsteem/node_modules/asn1.js/lib/asn1/decoders/der.js","./pem":"/Users/jnordberg/Development/dsteem/node_modules/asn1.js/lib/asn1/decoders/pem.js"}],"/Users/jnordberg/Development/dsteem/node_modules/asn1.js/lib/asn1/decoders/pem.js":[function(e,t,r){var n=e("inherits"),o=e("buffer").Buffer,s=e("./der");function i(e){s.call(this,e),this.enc="pem"}n(i,s),t.exports=i,i.prototype.decode=function(e,t){for(var r=e.toString().split(/[\r\n]+/g),n=t.label.toUpperCase(),i=/^-----(BEGIN|END) ([^-]+)-----$/,a=-1,u=-1,d=0;d<r.length;d++){var l=r[d].match(i);if(null!==l&&l[2]===n){if(-1!==a){if("END"!==l[1])break;u=d;break}if("BEGIN"!==l[1])break;a=d}}if(-1===a||-1===u)throw new Error("PEM section not found for: "+n);var c=r.slice(a+1,u).join("");c.replace(/[^a-z0-9\+\/=]+/gi,"");var f=new o(c,"base64");return s.prototype.decode.call(this,f,t)}},{"./der":"/Users/jnordberg/Development/dsteem/node_modules/asn1.js/lib/asn1/decoders/der.js",buffer:"/Users/jnordberg/Development/dsteem/node_modules/buffer/index.js",inherits:"/Users/jnordberg/Development/dsteem/node_modules/inherits/inherits_browser.js"}],"/Users/jnordberg/Development/dsteem/node_modules/asn1.js/lib/asn1/encoders/der.js":[function(e,t,r){var n=e("inherits"),o=e("buffer").Buffer,s=e("../../asn1"),i=s.base,a=s.constants.der;function u(e){this.enc="der",this.name=e.name,this.entity=e,this.tree=new d,this.tree._init(e.body)}function d(e){i.Node.call(this,"der",e)}function l(e){return e<10?"0"+e:e}t.exports=u,u.prototype.encode=function(e,t){return this.tree._encode(e,t).join()},n(d,i.Node),d.prototype._encodeComposite=function(e,t,r,n){var s,i=function(e,t,r,n){var o;if("seqof"===e?e="seq":"setof"===e&&(e="set"),a.tagByName.hasOwnProperty(e))o=a.tagByName[e];else{if("number"!=typeof e||(0|e)!==e)return n.error("Unknown tag: "+e);o=e}return o>=31?n.error("Multi-octet tag encoding unsupported"):(t||(o|=32),o|a.tagClassByName[r||"universal"]<<6)}(e,t,r,this.reporter);if(n.length<128)return(s=new o(2))[0]=i,s[1]=n.length,this._createEncoderBuffer([s,n]);for(var u=1,d=n.length;d>=256;d>>=8)u++;(s=new o(2+u))[0]=i,s[1]=128|u,d=1+u;for(var l=n.length;l>0;d--,l>>=8)s[d]=255&l;return this._createEncoderBuffer([s,n])},d.prototype._encodeStr=function(e,t){if("bitstr"===t)return this._createEncoderBuffer([0|e.unused,e.data]);if("bmpstr"===t){for(var r=new o(2*e.length),n=0;n<e.length;n++)r.writeUInt16BE(e.charCodeAt(n),2*n);return this._createEncoderBuffer(r)}return"numstr"===t?this._isNumstr(e)?this._createEncoderBuffer(e):this.reporter.error("Encoding of string type: numstr supports only digits and space"):"printstr"===t?this._isPrintstr(e)?this._createEncoderBuffer(e):this.reporter.error("Encoding of string type: printstr supports only latin upper and lower case letters, digits, space, apostrophe, left and rigth parenthesis, plus sign, comma, hyphen, dot, slash, colon, equal sign, question mark"):/str$/.test(t)?this._createEncoderBuffer(e):"objDesc"===t?this._createEncoderBuffer(e):this.reporter.error("Encoding of string type: "+t+" unsupported")},d.prototype._encodeObjid=function(e,t,r){if("string"==typeof e){if(!t)return this.reporter.error("string objid given, but no values map found");if(!t.hasOwnProperty(e))return this.reporter.error("objid not found in values map");e=t[e].split(/[\s\.]+/g);for(var n=0;n<e.length;n++)e[n]|=0}else if(Array.isArray(e))for(e=e.slice(),n=0;n<e.length;n++)e[n]|=0;if(!Array.isArray(e))return this.reporter.error("objid() should be either array or string, got: "+JSON.stringify(e));if(!r){if(e[1]>=40)return this.reporter.error("Second objid identifier OOB");e.splice(0,2,40*e[0]+e[1])}var s=0;for(n=0;n<e.length;n++){var i=e[n];for(s++;i>=128;i>>=7)s++}var a=new o(s),u=a.length-1;for(n=e.length-1;n>=0;n--)for(a[u--]=127&(i=e[n]);(i>>=7)>0;)a[u--]=128|127&i;return this._createEncoderBuffer(a)},d.prototype._encodeTime=function(e,t){var r,n=new Date(e);return"gentime"===t?r=[l(n.getFullYear()),l(n.getUTCMonth()+1),l(n.getUTCDate()),l(n.getUTCHours()),l(n.getUTCMinutes()),l(n.getUTCSeconds()),"Z"].join(""):"utctime"===t?r=[l(n.getFullYear()%100),l(n.getUTCMonth()+1),l(n.getUTCDate()),l(n.getUTCHours()),l(n.getUTCMinutes()),l(n.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+t+" time is not supported yet"),this._encodeStr(r,"octstr")},d.prototype._encodeNull=function(){return this._createEncoderBuffer("")},d.prototype._encodeInt=function(e,t){if("string"==typeof e){if(!t)return this.reporter.error("String int or enum given, but no values map");if(!t.hasOwnProperty(e))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(e));e=t[e]}if("number"!=typeof e&&!o.isBuffer(e)){var r=e.toArray();!e.sign&&128&r[0]&&r.unshift(0),e=new o(r)}if(o.isBuffer(e)){var n=e.length;0===e.length&&n++;var s=new o(n);return e.copy(s),0===e.length&&(s[0]=0),this._createEncoderBuffer(s)}if(e<128)return this._createEncoderBuffer(e);if(e<256)return this._createEncoderBuffer([0,e]);n=1;for(var i=e;i>=256;i>>=8)n++;for(i=(s=new Array(n)).length-1;i>=0;i--)s[i]=255&e,e>>=8;return 128&s[0]&&s.unshift(0),this._createEncoderBuffer(new o(s))},d.prototype._encodeBool=function(e){return this._createEncoderBuffer(e?255:0)},d.prototype._use=function(e,t){return"function"==typeof e&&(e=e(t)),e._getEncoder("der").tree},d.prototype._skipDefault=function(e,t,r){var n,o=this._baseState;if(null===o.default)return!1;var s=e.join();if(void 0===o.defaultBuffer&&(o.defaultBuffer=this._encodeValue(o.default,t,r).join()),s.length!==o.defaultBuffer.length)return!1;for(n=0;n<s.length;n++)if(s[n]!==o.defaultBuffer[n])return!1;return!0}},{"../../asn1":"/Users/jnordberg/Development/dsteem/node_modules/asn1.js/lib/asn1.js",buffer:"/Users/jnordberg/Development/dsteem/node_modules/buffer/index.js",inherits:"/Users/jnordberg/Development/dsteem/node_modules/inherits/inherits_browser.js"}],"/Users/jnordberg/Development/dsteem/node_modules/asn1.js/lib/asn1/encoders/index.js":[function(e,t,r){var n=r;n.der=e("./der"),n.pem=e("./pem")},{"./der":"/Users/jnordberg/Development/dsteem/node_modules/asn1.js/lib/asn1/encoders/der.js","./pem":"/Users/jnordberg/Development/dsteem/node_modules/asn1.js/lib/asn1/encoders/pem.js"}],"/Users/jnordberg/Development/dsteem/node_modules/asn1.js/lib/asn1/encoders/pem.js":[function(e,t,r){var n=e("inherits"),o=e("./der");function s(e){o.call(this,e),this.enc="pem"}n(s,o),t.exports=s,s.prototype.encode=function(e,t){for(var r=o.prototype.encode.call(this,e).toString("base64"),n=["-----BEGIN "+t.label+"-----"],s=0;s<r.length;s+=64)n.push(r.slice(s,s+64));return n.push("-----END "+t.label+"-----"),n.join("\n")}},{"./der":"/Users/jnordberg/Development/dsteem/node_modules/asn1.js/lib/asn1/encoders/der.js",inherits:"/Users/jnordberg/Development/dsteem/node_modules/inherits/inherits_browser.js"}],"/Users/jnordberg/Development/dsteem/node_modules/assert-plus/assert.js":[function(e,t,r){(function(r,n){var o=e("assert"),s=e("stream").Stream,i=e("util"),a=/^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$/;function u(e){return e.charAt(0).toUpperCase()+e.slice(1)}function d(e,t,r,n,s){throw new o.AssertionError({message:i.format("%s (%s) is required",e,t),actual:void 0===s?typeof n:s(n),expected:t,operator:r||"===",stackStartFunction:d.caller})}function l(e){return Object.prototype.toString.call(e).slice(8,-1)}function c(){}var f={bool:{check:function(e){return"boolean"==typeof e}},func:{check:function(e){return"function"==typeof e}},string:{check:function(e){return"string"==typeof e}},object:{check:function(e){return"object"==typeof e&&null!==e}},number:{check:function(e){return"number"==typeof e&&!isNaN(e)}},finite:{check:function(e){return"number"==typeof e&&!isNaN(e)&&isFinite(e)}},buffer:{check:function(e){return r.isBuffer(e)},operator:"Buffer.isBuffer"},array:{check:function(e){return Array.isArray(e)},operator:"Array.isArray"},stream:{check:function(e){return e instanceof s},operator:"instanceof",actual:l},date:{check:function(e){return e instanceof Date},operator:"instanceof",actual:l},regexp:{check:function(e){return e instanceof RegExp},operator:"instanceof",actual:l},uuid:{check:function(e){return"string"==typeof e&&a.test(e)},operator:"isUUID"}};t.exports=function e(t){var r,s=Object.keys(f);return r=n.env.NODE_NDEBUG?c:function(e,t){e||d(t,"true",e)},s.forEach(function(e){if(t)r[e]=c;else{var n=f[e];r[e]=function(t,r){n.check(t)||d(r,e,n.operator,t,n.actual)}}}),s.forEach(function(e){var n="optional"+u(e);if(t)r[n]=c;else{var o=f[e];r[n]=function(t,r){void 0!==t&&null!==t&&(o.check(t)||d(r,e,o.operator,t,o.actual))}}}),s.forEach(function(e){var n="arrayOf"+u(e);if(t)r[n]=c;else{var o=f[e],s="["+e+"]";r[n]=function(e,t){var r;for(Array.isArray(e)||d(t,s,o.operator,e,o.actual),r=0;r<e.length;r++)o.check(e[r])||d(t,s,o.operator,e,o.actual)}}}),s.forEach(function(e){var n="optionalArrayOf"+u(e);if(t)r[n]=c;else{var o=f[e],s="["+e+"]";r[n]=function(e,t){var r;if(void 0!==e&&null!==e)for(Array.isArray(e)||d(t,s,o.operator,e,o.actual),r=0;r<e.length;r++)o.check(e[r])||d(t,s,o.operator,e,o.actual)}}}),Object.keys(o).forEach(function(e){r[e]="AssertionError"!==e&&t?c:o[e]}),r._setExports=e,r}(n.env.NODE_NDEBUG)}).call(this,{isBuffer:e("../is-buffer/index.js")},e("_process"))},{"../is-buffer/index.js":"/Users/jnordberg/Development/dsteem/node_modules/is-buffer/index.js",_process:"/Users/jnordberg/Development/dsteem/node_modules/process/browser.js",assert:"/Users/jnordberg/Development/dsteem/node_modules/assert/assert.js",stream:"/Users/jnordberg/Development/dsteem/node_modules/stream-browserify/index.js",util:"/Users/jnordberg/Development/dsteem/node_modules/util/util.js"}],"/Users/jnordberg/Development/dsteem/node_modules/assert/assert.js":[function(e,t,r){(function(r){"use strict";function n(e,t){if(e===t)return 0;for(var r=e.length,n=t.length,o=0,s=Math.min(r,n);o<s;++o)if(e[o]!==t[o]){r=e[o],n=t[o];break}return r<n?-1:n<r?1:0}function o(e){return r.Buffer&&"function"==typeof r.Buffer.isBuffer?r.Buffer.isBuffer(e):!(null==e||!e._isBuffer)}var s=e("util/"),i=Object.prototype.hasOwnProperty,a=Array.prototype.slice,u="foo"===(function(){}).name;function d(e){return Object.prototype.toString.call(e)}function l(e){return!o(e)&&"function"==typeof r.ArrayBuffer&&("function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(e):!!e&&(e instanceof DataView||!!(e.buffer&&e.buffer instanceof ArrayBuffer)))}var c=t.exports=g,f=/\s*function\s+([^\(\s]*)\s*/;function h(e){if(s.isFunction(e)){if(u)return e.name;var t=e.toString().match(f);return t&&t[1]}}function p(e,t){return"string"==typeof e?e.length<t?e:e.slice(0,t):e}function m(e){if(u||!s.isFunction(e))return s.inspect(e);var t=h(e);return"[Function"+(t?": "+t:"")+"]"}function b(e,t,r,n,o){throw new c.AssertionError({message:r,actual:e,expected:t,operator:n,stackStartFunction:o})}function g(e,t){e||b(e,!0,t,"==",c.ok)}function v(e,t,r,i){if(e===t)return!0;if(o(e)&&o(t))return 0===n(e,t);if(s.isDate(e)&&s.isDate(t))return e.getTime()===t.getTime();if(s.isRegExp(e)&&s.isRegExp(t))return e.source===t.source&&e.global===t.global&&e.multiline===t.multiline&&e.lastIndex===t.lastIndex&&e.ignoreCase===t.ignoreCase;if(null!==e&&"object"==typeof e||null!==t&&"object"==typeof t){if(l(e)&&l(t)&&d(e)===d(t)&&!(e instanceof Float32Array||e instanceof Float64Array))return 0===n(new Uint8Array(e.buffer),new Uint8Array(t.buffer));if(o(e)!==o(t))return!1;var u=(i=i||{actual:[],expected:[]}).actual.indexOf(e);return-1!==u&&u===i.expected.indexOf(t)||(i.actual.push(e),i.expected.push(t),function(e,t,r,n){if(null===e||void 0===e||null===t||void 0===t)return!1;if(s.isPrimitive(e)||s.isPrimitive(t))return e===t;if(r&&Object.getPrototypeOf(e)!==Object.getPrototypeOf(t))return!1;var o=_(e),i=_(t);if(o&&!i||!o&&i)return!1;if(o)return v(e=a.call(e),t=a.call(t),r);var u,d,l=j(e),c=j(t);if(l.length!==c.length)return!1;for(l.sort(),c.sort(),d=l.length-1;d>=0;d--)if(l[d]!==c[d])return!1;for(d=l.length-1;d>=0;d--)if(!v(e[u=l[d]],t[u],r,n))return!1;return!0}(e,t,r,i))}return r?e===t:e==t}function _(e){return"[object Arguments]"==Object.prototype.toString.call(e)}function y(e,t){if(!e||!t)return!1;if("[object RegExp]"==Object.prototype.toString.call(t))return t.test(e);try{if(e instanceof t)return!0}catch(e){}return!Error.isPrototypeOf(t)&&!0===t.call({},e)}function w(e,t,r,n){var o;if("function"!=typeof t)throw new TypeError('"block" argument must be a function');"string"==typeof r&&(n=r,r=null),o=function(e){var t;try{e()}catch(e){t=e}return t}(t),n=(r&&r.name?" ("+r.name+").":".")+(n?" "+n:"."),e&&!o&&b(o,r,"Missing expected exception"+n);var i="string"==typeof n,a=!e&&s.isError(o),u=!e&&o&&!r;if((a&&i&&y(o,r)||u)&&b(o,r,"Got unwanted exception"+n),e&&o&&r&&!y(o,r)||!e&&o)throw o}c.AssertionError=function(e){var t;this.name="AssertionError",this.actual=e.actual,this.expected=e.expected,this.operator=e.operator,e.message?(this.message=e.message,this.generatedMessage=!1):(this.message=p(m((t=this).actual),128)+" "+t.operator+" "+p(m(t.expected),128),this.generatedMessage=!0);var r=e.stackStartFunction||b;if(Error.captureStackTrace)Error.captureStackTrace(this,r);else{var n=new Error;if(n.stack){var o=n.stack,s=h(r),i=o.indexOf("\n"+s);if(i>=0){var a=o.indexOf("\n",i+1);o=o.substring(a+1)}this.stack=o}}},s.inherits(c.AssertionError,Error),c.fail=b,c.ok=g,c.equal=function(e,t,r){e!=t&&b(e,t,r,"==",c.equal)},c.notEqual=function(e,t,r){e==t&&b(e,t,r,"!=",c.notEqual)},c.deepEqual=function(e,t,r){v(e,t,!1)||b(e,t,r,"deepEqual",c.deepEqual)},c.deepStrictEqual=function(e,t,r){v(e,t,!0)||b(e,t,r,"deepStrictEqual",c.deepStrictEqual)},c.notDeepEqual=function(e,t,r){v(e,t,!1)&&b(e,t,r,"notDeepEqual",c.notDeepEqual)},c.notDeepStrictEqual=function e(t,r,n){v(t,r,!0)&&b(t,r,n,"notDeepStrictEqual",e)},c.strictEqual=function(e,t,r){e!==t&&b(e,t,r,"===",c.strictEqual)},c.notStrictEqual=function(e,t,r){e===t&&b(e,t,r,"!==",c.notStrictEqual)},c.throws=function(e,t,r){w(!0,e,t,r)},c.doesNotThrow=function(e,t,r){w(!1,e,t,r)},c.ifError=function(e){if(e)throw e};var j=Object.keys||function(e){var t=[];for(var r in e)i.call(e,r)&&t.push(r);return t}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"util/":"/Users/jnordberg/Development/dsteem/node_modules/util/util.js"}],"/Users/jnordberg/Development/dsteem/node_modules/base-x/index.js":[function(e,t,r){var n=e("safe-buffer").Buffer;t.exports=function(e){for(var t={},r=e.length,o=e.charAt(0),s=0;s<e.length;s++){var i=e.charAt(s);if(void 0!==t[i])throw new TypeError(i+" is ambiguous");t[i]=s}function a(e){if("string"!=typeof e)throw new TypeError("Expected String");if(0===e.length)return n.allocUnsafe(0);for(var s=[0],i=0;i<e.length;i++){var a=t[e[i]];if(void 0===a)return;for(var u=0,d=a;u<s.length;++u)s[u]=255&(d+=s[u]*r),d>>=8;for(;d>0;)s.push(255&d),d>>=8}for(var l=0;e[l]===o&&l<e.length-1;++l)s.push(0);return n.from(s.reverse())}return{encode:function(t){if(0===t.length)return"";for(var n=[0],s=0;s<t.length;++s){for(var i=0,a=t[s];i<n.length;++i)n[i]=(a+=n[i]<<8)%r,a=a/r|0;for(;a>0;)n.push(a%r),a=a/r|0}for(var u="",d=0;0===t[d]&&d<t.length-1;++d)u+=o;for(var l=n.length-1;l>=0;--l)u+=e[n[l]];return u},decodeUnsafe:a,decode:function(e){var t=a(e);if(t)return t;throw new Error("Non-base"+r+" character")}}}},{"safe-buffer":"/Users/jnordberg/Development/dsteem/node_modules/safe-buffer/index.js"}],"/Users/jnordberg/Development/dsteem/node_modules/base64-js/index.js":[function(e,t,r){"use strict";r.byteLength=function(e){return 3*e.length/4-d(e)},r.toByteArray=function(e){var t,r,n,i,a,u=e.length;i=d(e),a=new s(3*u/4-i),r=i>0?u-4:u;var l=0;for(t=0;t<r;t+=4)n=o[e.charCodeAt(t)]<<18|o[e.charCodeAt(t+1)]<<12|o[e.charCodeAt(t+2)]<<6|o[e.charCodeAt(t+3)],a[l++]=n>>16&255,a[l++]=n>>8&255,a[l++]=255&n;return 2===i?(n=o[e.charCodeAt(t)]<<2|o[e.charCodeAt(t+1)]>>4,a[l++]=255&n):1===i&&(n=o[e.charCodeAt(t)]<<10|o[e.charCodeAt(t+1)]<<4|o[e.charCodeAt(t+2)]>>2,a[l++]=n>>8&255,a[l++]=255&n),a},r.fromByteArray=function(e){for(var t,r=e.length,o=r%3,s="",i=[],a=0,u=r-o;a<u;a+=16383)i.push(l(e,a,a+16383>u?u:a+16383));return 1===o?(s+=n[(t=e[r-1])>>2],s+=n[t<<4&63],s+="=="):2===o&&(s+=n[(t=(e[r-2]<<8)+e[r-1])>>10],s+=n[t>>4&63],s+=n[t<<2&63],s+="="),i.push(s),i.join("")};for(var n=[],o=[],s="undefined"!=typeof Uint8Array?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,u=i.length;a<u;++a)n[a]=i[a],o[i.charCodeAt(a)]=a;function d(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");return"="===e[t-2]?2:"="===e[t-1]?1:0}function l(e,t,r){for(var o,s=[],i=t;i<r;i+=3)s.push(n[(o=(e[i]<<16)+(e[i+1]<<8)+e[i+2])>>18&63]+n[o>>12&63]+n[o>>6&63]+n[63&o]);return s.join("")}o["-".charCodeAt(0)]=62,o["_".charCodeAt(0)]=63},{}],"/Users/jnordberg/Development/dsteem/node_modules/bip66/index.js":[function(e,t,r){var n=e("safe-buffer").Buffer;t.exports={check:function(e){if(e.length<8)return!1;if(e.length>72)return!1;if(48!==e[0])return!1;if(e[1]!==e.length-2)return!1;if(2!==e[2])return!1;var t=e[3];if(0===t)return!1;if(5+t>=e.length)return!1;if(2!==e[4+t])return!1;var r=e[5+t];return!(0===r||6+t+r!==e.length||128&e[4]||t>1&&0===e[4]&&!(128&e[5])||128&e[t+6]||r>1&&0===e[t+6]&&!(128&e[t+7]))},decode:function(e){if(e.length<8)throw new Error("DER sequence length is too short");if(e.length>72)throw new Error("DER sequence length is too long");if(48!==e[0])throw new Error("Expected DER sequence");if(e[1]!==e.length-2)throw new Error("DER sequence length is invalid");if(2!==e[2])throw new Error("Expected DER integer");var t=e[3];if(0===t)throw new Error("R length is zero");if(5+t>=e.length)throw new Error("R length is too long");if(2!==e[4+t])throw new Error("Expected DER integer (2)");var r=e[5+t];if(0===r)throw new Error("S length is zero");if(6+t+r!==e.length)throw new Error("S length is invalid");if(128&e[4])throw new Error("R value is negative");if(t>1&&0===e[4]&&!(128&e[5]))throw new Error("R value excessively padded");if(128&e[t+6])throw new Error("S value is negative");if(r>1&&0===e[t+6]&&!(128&e[t+7]))throw new Error("S value excessively padded");return{r:e.slice(4,4+t),s:e.slice(6+t)}},encode:function(e,t){var r=e.length,o=t.length;if(0===r)throw new Error("R length is zero");if(0===o)throw new Error("S length is zero");if(r>33)throw new Error("R length is too long");if(o>33)throw new Error("S length is too long");if(128&e[0])throw new Error("R value is negative");if(128&t[0])throw new Error("S value is negative");if(r>1&&0===e[0]&&!(128&e[1]))throw new Error("R value excessively padded");if(o>1&&0===t[0]&&!(128&t[1]))throw new Error("S value excessively padded");var s=n.allocUnsafe(6+r+o);return s[0]=48,s[1]=s.length-2,s[2]=2,s[3]=e.length,e.copy(s,4),s[4+r]=2,s[5+r]=t.length,t.copy(s,6+r),s}}},{"safe-buffer":"/Users/jnordberg/Development/dsteem/node_modules/safe-buffer/index.js"}],"/Users/jnordberg/Development/dsteem/node_modules/bn.js/lib/bn.js":[function(e,t,r){!function(t,r){"use strict";function n(e,t){if(!e)throw new Error(t||"Assertion failed")}function o(e,t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}function s(e,t,r){if(s.isBN(e))return e;this.negative=0,this.words=null,this.length=0,this.red=null,null!==e&&("le"!==t&&"be"!==t||(r=t,t=10),this._init(e||0,t||10,r||"be"))}var i;"object"==typeof t?t.exports=s:r.BN=s,s.BN=s,s.wordSize=26;try{i=e("buffer").Buffer}catch(e){}function a(e,t,r){for(var n=0,o=Math.min(e.length,r),s=t;s<o;s++){var i=e.charCodeAt(s)-48;n<<=4,n|=i>=49&&i<=54?i-49+10:i>=17&&i<=22?i-17+10:15&i}return n}function u(e,t,r,n){for(var o=0,s=Math.min(e.length,r),i=t;i<s;i++){var a=e.charCodeAt(i)-48;o*=n,o+=a>=49?a-49+10:a>=17?a-17+10:a}return o}s.isBN=function(e){return e instanceof s||null!==e&&"object"==typeof e&&e.constructor.wordSize===s.wordSize&&Array.isArray(e.words)},s.max=function(e,t){return e.cmp(t)>0?e:t},s.min=function(e,t){return e.cmp(t)<0?e:t},s.prototype._init=function(e,t,r){if("number"==typeof e)return this._initNumber(e,t,r);if("object"==typeof e)return this._initArray(e,t,r);"hex"===t&&(t=16),n(t===(0|t)&&t>=2&&t<=36);var o=0;"-"===(e=e.toString().replace(/\s+/g,""))[0]&&o++,16===t?this._parseHex(e,o):this._parseBase(e,t,o),"-"===e[0]&&(this.negative=1),this.strip(),"le"===r&&this._initArray(this.toArray(),t,r)},s.prototype._initNumber=function(e,t,r){e<0&&(this.negative=1,e=-e),e<67108864?(this.words=[67108863&e],this.length=1):e<4503599627370496?(this.words=[67108863&e,e/67108864&67108863],this.length=2):(n(e<9007199254740992),this.words=[67108863&e,e/67108864&67108863,1],this.length=3),"le"===r&&this._initArray(this.toArray(),t,r)},s.prototype._initArray=function(e,t,r){if(n("number"==typeof e.length),e.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(e.length/3),this.words=new Array(this.length);for(var o=0;o<this.length;o++)this.words[o]=0;var s,i,a=0;if("be"===r)for(o=e.length-1,s=0;o>=0;o-=3)this.words[s]|=(i=e[o]|e[o-1]<<8|e[o-2]<<16)<<a&67108863,this.words[s+1]=i>>>26-a&67108863,(a+=24)>=26&&(a-=26,s++);else if("le"===r)for(o=0,s=0;o<e.length;o+=3)this.words[s]|=(i=e[o]|e[o+1]<<8|e[o+2]<<16)<<a&67108863,this.words[s+1]=i>>>26-a&67108863,(a+=24)>=26&&(a-=26,s++);return this.strip()},s.prototype._parseHex=function(e,t){this.length=Math.ceil((e.length-t)/6),this.words=new Array(this.length);for(var r=0;r<this.length;r++)this.words[r]=0;var n,o,s=0;for(r=e.length-6,n=0;r>=t;r-=6)o=a(e,r,r+6),this.words[n]|=o<<s&67108863,this.words[n+1]|=o>>>26-s&4194303,(s+=24)>=26&&(s-=26,n++);r+6!==t&&(o=a(e,t,r+6),this.words[n]|=o<<s&67108863,this.words[n+1]|=o>>>26-s&4194303),this.strip()},s.prototype._parseBase=function(e,t,r){this.words=[0],this.length=1;for(var n=0,o=1;o<=67108863;o*=t)n++;o=o/t|0;for(var s=e.length-r,i=s%--n,a=Math.min(s,s-i)+r,d=0,l=r;l<a;l+=n)d=u(e,l,l+n,t),this.imuln(o),this.words[0]+d<67108864?this.words[0]+=d:this._iaddn(d);if(0!==i){var c=1;for(d=u(e,l,e.length,t),l=0;l<i;l++)c*=t;this.imuln(c),this.words[0]+d<67108864?this.words[0]+=d:this._iaddn(d)}},s.prototype.copy=function(e){e.words=new Array(this.length);for(var t=0;t<this.length;t++)e.words[t]=this.words[t];e.length=this.length,e.negative=this.negative,e.red=this.red},s.prototype.clone=function(){var e=new s(null);return this.copy(e),e},s.prototype._expand=function(e){for(;this.length<e;)this.words[this.length++]=0;return this},s.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},s.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},s.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var d=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],l=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],c=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function f(e,t,r){r.negative=t.negative^e.negative;var n=e.length+t.length|0;r.length=n,n=n-1|0;var o=0|e.words[0],s=0|t.words[0],i=o*s,a=i/67108864|0;r.words[0]=67108863&i;for(var u=1;u<n;u++){for(var d=a>>>26,l=67108863&a,c=Math.min(u,t.length-1),f=Math.max(0,u-e.length+1);f<=c;f++)d+=(i=(o=0|e.words[u-f|0])*(s=0|t.words[f])+l)/67108864|0,l=67108863&i;r.words[u]=0|l,a=0|d}return 0!==a?r.words[u]=0|a:r.length--,r.strip()}s.prototype.toString=function(e,t){var r;if(e=e||10,t=0|t||1,16===e||"hex"===e){r="";for(var o=0,s=0,i=0;i<this.length;i++){var a=this.words[i],u=(16777215&(a<<o|s)).toString(16);r=0!=(s=a>>>24-o&16777215)||i!==this.length-1?d[6-u.length]+u+r:u+r,(o+=2)>=26&&(o-=26,i--)}for(0!==s&&(r=s.toString(16)+r);r.length%t!=0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}if(e===(0|e)&&e>=2&&e<=36){var f=l[e],h=c[e];r="";var p=this.clone();for(p.negative=0;!p.isZero();){var m=p.modn(h).toString(e);r=(p=p.idivn(h)).isZero()?m+r:d[f-m.length]+m+r}for(this.isZero()&&(r="0"+r);r.length%t!=0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}n(!1,"Base should be between 2 and 36")},s.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=67108864*this.words[1]:3===this.length&&1===this.words[2]?e+=4503599627370496+67108864*this.words[1]:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},s.prototype.toJSON=function(){return this.toString(16)},s.prototype.toBuffer=function(e,t){return n(void 0!==i),this.toArrayLike(i,e,t)},s.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)},s.prototype.toArrayLike=function(e,t,r){var o=this.byteLength(),s=r||Math.max(1,o);n(o<=s,"byte array longer than desired length"),n(s>0,"Requested array length <= 0"),this.strip();var i,a,u="le"===t,d=new e(s),l=this.clone();if(u){for(a=0;!l.isZero();a++)i=l.andln(255),l.iushrn(8),d[a]=i;for(;a<s;a++)d[a]=0}else{for(a=0;a<s-o;a++)d[a]=0;for(a=0;!l.isZero();a++)i=l.andln(255),l.iushrn(8),d[s-a-1]=i}return d},s.prototype._countBits=Math.clz32?function(e){return 32-Math.clz32(e)}:function(e){var t=e,r=0;return t>=4096&&(r+=13,t>>>=13),t>=64&&(r+=7,t>>>=7),t>=8&&(r+=4,t>>>=4),t>=2&&(r+=2,t>>>=2),r+t},s.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,r=0;return 0==(8191&t)&&(r+=13,t>>>=13),0==(127&t)&&(r+=7,t>>>=7),0==(15&t)&&(r+=4,t>>>=4),0==(3&t)&&(r+=2,t>>>=2),0==(1&t)&&r++,r},s.prototype.bitLength=function(){var e=this._countBits(this.words[this.length-1]);return 26*(this.length-1)+e},s.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;t<this.length;t++){var r=this._zeroBits(this.words[t]);if(e+=r,26!==r)break}return e},s.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},s.prototype.toTwos=function(e){return 0!==this.negative?this.abs().inotn(e).iaddn(1):this.clone()},s.prototype.fromTwos=function(e){return this.testn(e-1)?this.notn(e).iaddn(1).ineg():this.clone()},s.prototype.isNeg=function(){return 0!==this.negative},s.prototype.neg=function(){return this.clone().ineg()},s.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},s.prototype.iuor=function(e){for(;this.length<e.length;)this.words[this.length++]=0;for(var t=0;t<e.length;t++)this.words[t]=this.words[t]|e.words[t];return this.strip()},s.prototype.ior=function(e){return n(0==(this.negative|e.negative)),this.iuor(e)},s.prototype.or=function(e){return this.length>e.length?this.clone().ior(e):e.clone().ior(this)},s.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},s.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var r=0;r<t.length;r++)this.words[r]=this.words[r]&e.words[r];return this.length=t.length,this.strip()},s.prototype.iand=function(e){return n(0==(this.negative|e.negative)),this.iuand(e)},s.prototype.and=function(e){return this.length>e.length?this.clone().iand(e):e.clone().iand(this)},s.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},s.prototype.iuxor=function(e){var t,r;this.length>e.length?(t=this,r=e):(t=e,r=this);for(var n=0;n<r.length;n++)this.words[n]=t.words[n]^r.words[n];if(this!==t)for(;n<t.length;n++)this.words[n]=t.words[n];return this.length=t.length,this.strip()},s.prototype.ixor=function(e){return n(0==(this.negative|e.negative)),this.iuxor(e)},s.prototype.xor=function(e){return this.length>e.length?this.clone().ixor(e):e.clone().ixor(this)},s.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},s.prototype.inotn=function(e){n("number"==typeof e&&e>=0);var t=0|Math.ceil(e/26),r=e%26;this._expand(t),r>0&&t--;for(var o=0;o<t;o++)this.words[o]=67108863&~this.words[o];return r>0&&(this.words[o]=~this.words[o]&67108863>>26-r),this.strip()},s.prototype.notn=function(e){return this.clone().inotn(e)},s.prototype.setn=function(e,t){n("number"==typeof e&&e>=0);var r=e/26|0,o=e%26;return this._expand(r+1),this.words[r]=t?this.words[r]|1<<o:this.words[r]&~(1<<o),this.strip()},s.prototype.iadd=function(e){var t,r,n;if(0!==this.negative&&0===e.negative)return this.negative=0,t=this.isub(e),this.negative^=1,this._normSign();if(0===this.negative&&0!==e.negative)return e.negative=0,t=this.isub(e),e.negative=1,t._normSign();this.length>e.length?(r=this,n=e):(r=e,n=this);for(var o=0,s=0;s<n.length;s++)this.words[s]=67108863&(t=(0|r.words[s])+(0|n.words[s])+o),o=t>>>26;for(;0!==o&&s<r.length;s++)this.words[s]=67108863&(t=(0|r.words[s])+o),o=t>>>26;if(this.length=r.length,0!==o)this.words[this.length]=o,this.length++;else if(r!==this)for(;s<r.length;s++)this.words[s]=r.words[s];return this},s.prototype.add=function(e){var t;return 0!==e.negative&&0===this.negative?(e.negative=0,t=this.sub(e),e.negative^=1,t):0===e.negative&&0!==this.negative?(this.negative=0,t=e.sub(this),this.negative=1,t):this.length>e.length?this.clone().iadd(e):e.clone().iadd(this)},s.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t=this.iadd(e);return e.negative=1,t._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var r,n,o=this.cmp(e);if(0===o)return this.negative=0,this.length=1,this.words[0]=0,this;o>0?(r=this,n=e):(r=e,n=this);for(var s=0,i=0;i<n.length;i++)s=(t=(0|r.words[i])-(0|n.words[i])+s)>>26,this.words[i]=67108863&t;for(;0!==s&&i<r.length;i++)s=(t=(0|r.words[i])+s)>>26,this.words[i]=67108863&t;if(0===s&&i<r.length&&r!==this)for(;i<r.length;i++)this.words[i]=r.words[i];return this.length=Math.max(this.length,i),r!==this&&(this.negative=1),this.strip()},s.prototype.sub=function(e){return this.clone().isub(e)};var h=function(e,t,r){var n,o,s,i=e.words,a=t.words,u=r.words,d=0,l=0|i[0],c=8191&l,f=l>>>13,h=0|i[1],p=8191&h,m=h>>>13,b=0|i[2],g=8191&b,v=b>>>13,_=0|i[3],y=8191&_,w=_>>>13,j=0|i[4],E=8191&j,D=j>>>13,x=0|i[5],S=8191&x,U=x>>>13,k=0|i[6],A=8191&k,I=k>>>13,C=0|i[7],T=8191&C,M=C>>>13,O=0|i[8],P=8191&O,N=O>>>13,R=0|i[9],L=8191&R,B=R>>>13,V=0|a[0],F=8191&V,z=V>>>13,q=0|a[1],H=8191&q,K=q>>>13,G=0|a[2],Y=8191&G,W=G>>>13,Z=0|a[3],X=8191&Z,J=Z>>>13,Q=0|a[4],$=8191&Q,ee=Q>>>13,te=0|a[5],re=8191&te,ne=te>>>13,oe=0|a[6],se=8191&oe,ie=oe>>>13,ae=0|a[7],ue=8191&ae,de=ae>>>13,le=0|a[8],ce=8191&le,fe=le>>>13,he=0|a[9],pe=8191&he,me=he>>>13;r.negative=e.negative^t.negative,r.length=19;var be=(d+(n=Math.imul(c,F))|0)+((8191&(o=(o=Math.imul(c,z))+Math.imul(f,F)|0))<<13)|0;d=((s=Math.imul(f,z))+(o>>>13)|0)+(be>>>26)|0,be&=67108863,n=Math.imul(p,F),o=(o=Math.imul(p,z))+Math.imul(m,F)|0,s=Math.imul(m,z);var ge=(d+(n=n+Math.imul(c,H)|0)|0)+((8191&(o=(o=o+Math.imul(c,K)|0)+Math.imul(f,H)|0))<<13)|0;d=((s=s+Math.imul(f,K)|0)+(o>>>13)|0)+(ge>>>26)|0,ge&=67108863,n=Math.imul(g,F),o=(o=Math.imul(g,z))+Math.imul(v,F)|0,s=Math.imul(v,z),n=n+Math.imul(p,H)|0,o=(o=o+Math.imul(p,K)|0)+Math.imul(m,H)|0,s=s+Math.imul(m,K)|0;var ve=(d+(n=n+Math.imul(c,Y)|0)|0)+((8191&(o=(o=o+Math.imul(c,W)|0)+Math.imul(f,Y)|0))<<13)|0;d=((s=s+Math.imul(f,W)|0)+(o>>>13)|0)+(ve>>>26)|0,ve&=67108863,n=Math.imul(y,F),o=(o=Math.imul(y,z))+Math.imul(w,F)|0,s=Math.imul(w,z),n=n+Math.imul(g,H)|0,o=(o=o+Math.imul(g,K)|0)+Math.imul(v,H)|0,s=s+Math.imul(v,K)|0,n=n+Math.imul(p,Y)|0,o=(o=o+Math.imul(p,W)|0)+Math.imul(m,Y)|0,s=s+Math.imul(m,W)|0;var _e=(d+(n=n+Math.imul(c,X)|0)|0)+((8191&(o=(o=o+Math.imul(c,J)|0)+Math.imul(f,X)|0))<<13)|0;d=((s=s+Math.imul(f,J)|0)+(o>>>13)|0)+(_e>>>26)|0,_e&=67108863,n=Math.imul(E,F),o=(o=Math.imul(E,z))+Math.imul(D,F)|0,s=Math.imul(D,z),n=n+Math.imul(y,H)|0,o=(o=o+Math.imul(y,K)|0)+Math.imul(w,H)|0,s=s+Math.imul(w,K)|0,n=n+Math.imul(g,Y)|0,o=(o=o+Math.imul(g,W)|0)+Math.imul(v,Y)|0,s=s+Math.imul(v,W)|0,n=n+Math.imul(p,X)|0,o=(o=o+Math.imul(p,J)|0)+Math.imul(m,X)|0,s=s+Math.imul(m,J)|0;var ye=(d+(n=n+Math.imul(c,$)|0)|0)+((8191&(o=(o=o+Math.imul(c,ee)|0)+Math.imul(f,$)|0))<<13)|0;d=((s=s+Math.imul(f,ee)|0)+(o>>>13)|0)+(ye>>>26)|0,ye&=67108863,n=Math.imul(S,F),o=(o=Math.imul(S,z))+Math.imul(U,F)|0,s=Math.imul(U,z),n=n+Math.imul(E,H)|0,o=(o=o+Math.imul(E,K)|0)+Math.imul(D,H)|0,s=s+Math.imul(D,K)|0,n=n+Math.imul(y,Y)|0,o=(o=o+Math.imul(y,W)|0)+Math.imul(w,Y)|0,s=s+Math.imul(w,W)|0,n=n+Math.imul(g,X)|0,o=(o=o+Math.imul(g,J)|0)+Math.imul(v,X)|0,s=s+Math.imul(v,J)|0,n=n+Math.imul(p,$)|0,o=(o=o+Math.imul(p,ee)|0)+Math.imul(m,$)|0,s=s+Math.imul(m,ee)|0;var we=(d+(n=n+Math.imul(c,re)|0)|0)+((8191&(o=(o=o+Math.imul(c,ne)|0)+Math.imul(f,re)|0))<<13)|0;d=((s=s+Math.imul(f,ne)|0)+(o>>>13)|0)+(we>>>26)|0,we&=67108863,n=Math.imul(A,F),o=(o=Math.imul(A,z))+Math.imul(I,F)|0,s=Math.imul(I,z),n=n+Math.imul(S,H)|0,o=(o=o+Math.imul(S,K)|0)+Math.imul(U,H)|0,s=s+Math.imul(U,K)|0,n=n+Math.imul(E,Y)|0,o=(o=o+Math.imul(E,W)|0)+Math.imul(D,Y)|0,s=s+Math.imul(D,W)|0,n=n+Math.imul(y,X)|0,o=(o=o+Math.imul(y,J)|0)+Math.imul(w,X)|0,s=s+Math.imul(w,J)|0,n=n+Math.imul(g,$)|0,o=(o=o+Math.imul(g,ee)|0)+Math.imul(v,$)|0,s=s+Math.imul(v,ee)|0,n=n+Math.imul(p,re)|0,o=(o=o+Math.imul(p,ne)|0)+Math.imul(m,re)|0,s=s+Math.imul(m,ne)|0;var je=(d+(n=n+Math.imul(c,se)|0)|0)+((8191&(o=(o=o+Math.imul(c,ie)|0)+Math.imul(f,se)|0))<<13)|0;d=((s=s+Math.imul(f,ie)|0)+(o>>>13)|0)+(je>>>26)|0,je&=67108863,n=Math.imul(T,F),o=(o=Math.imul(T,z))+Math.imul(M,F)|0,s=Math.imul(M,z),n=n+Math.imul(A,H)|0,o=(o=o+Math.imul(A,K)|0)+Math.imul(I,H)|0,s=s+Math.imul(I,K)|0,n=n+Math.imul(S,Y)|0,o=(o=o+Math.imul(S,W)|0)+Math.imul(U,Y)|0,s=s+Math.imul(U,W)|0,n=n+Math.imul(E,X)|0,o=(o=o+Math.imul(E,J)|0)+Math.imul(D,X)|0,s=s+Math.imul(D,J)|0,n=n+Math.imul(y,$)|0,o=(o=o+Math.imul(y,ee)|0)+Math.imul(w,$)|0,s=s+Math.imul(w,ee)|0,n=n+Math.imul(g,re)|0,o=(o=o+Math.imul(g,ne)|0)+Math.imul(v,re)|0,s=s+Math.imul(v,ne)|0,n=n+Math.imul(p,se)|0,o=(o=o+Math.imul(p,ie)|0)+Math.imul(m,se)|0,s=s+Math.imul(m,ie)|0;var Ee=(d+(n=n+Math.imul(c,ue)|0)|0)+((8191&(o=(o=o+Math.imul(c,de)|0)+Math.imul(f,ue)|0))<<13)|0;d=((s=s+Math.imul(f,de)|0)+(o>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,n=Math.imul(P,F),o=(o=Math.imul(P,z))+Math.imul(N,F)|0,s=Math.imul(N,z),n=n+Math.imul(T,H)|0,o=(o=o+Math.imul(T,K)|0)+Math.imul(M,H)|0,s=s+Math.imul(M,K)|0,n=n+Math.imul(A,Y)|0,o=(o=o+Math.imul(A,W)|0)+Math.imul(I,Y)|0,s=s+Math.imul(I,W)|0,n=n+Math.imul(S,X)|0,o=(o=o+Math.imul(S,J)|0)+Math.imul(U,X)|0,s=s+Math.imul(U,J)|0,n=n+Math.imul(E,$)|0,o=(o=o+Math.imul(E,ee)|0)+Math.imul(D,$)|0,s=s+Math.imul(D,ee)|0,n=n+Math.imul(y,re)|0,o=(o=o+Math.imul(y,ne)|0)+Math.imul(w,re)|0,s=s+Math.imul(w,ne)|0,n=n+Math.imul(g,se)|0,o=(o=o+Math.imul(g,ie)|0)+Math.imul(v,se)|0,s=s+Math.imul(v,ie)|0,n=n+Math.imul(p,ue)|0,o=(o=o+Math.imul(p,de)|0)+Math.imul(m,ue)|0,s=s+Math.imul(m,de)|0;var De=(d+(n=n+Math.imul(c,ce)|0)|0)+((8191&(o=(o=o+Math.imul(c,fe)|0)+Math.imul(f,ce)|0))<<13)|0;d=((s=s+Math.imul(f,fe)|0)+(o>>>13)|0)+(De>>>26)|0,De&=67108863,n=Math.imul(L,F),o=(o=Math.imul(L,z))+Math.imul(B,F)|0,s=Math.imul(B,z),n=n+Math.imul(P,H)|0,o=(o=o+Math.imul(P,K)|0)+Math.imul(N,H)|0,s=s+Math.imul(N,K)|0,n=n+Math.imul(T,Y)|0,o=(o=o+Math.imul(T,W)|0)+Math.imul(M,Y)|0,s=s+Math.imul(M,W)|0,n=n+Math.imul(A,X)|0,o=(o=o+Math.imul(A,J)|0)+Math.imul(I,X)|0,s=s+Math.imul(I,J)|0,n=n+Math.imul(S,$)|0,o=(o=o+Math.imul(S,ee)|0)+Math.imul(U,$)|0,s=s+Math.imul(U,ee)|0,n=n+Math.imul(E,re)|0,o=(o=o+Math.imul(E,ne)|0)+Math.imul(D,re)|0,s=s+Math.imul(D,ne)|0,n=n+Math.imul(y,se)|0,o=(o=o+Math.imul(y,ie)|0)+Math.imul(w,se)|0,s=s+Math.imul(w,ie)|0,n=n+Math.imul(g,ue)|0,o=(o=o+Math.imul(g,de)|0)+Math.imul(v,ue)|0,s=s+Math.imul(v,de)|0,n=n+Math.imul(p,ce)|0,o=(o=o+Math.imul(p,fe)|0)+Math.imul(m,ce)|0,s=s+Math.imul(m,fe)|0;var xe=(d+(n=n+Math.imul(c,pe)|0)|0)+((8191&(o=(o=o+Math.imul(c,me)|0)+Math.imul(f,pe)|0))<<13)|0;d=((s=s+Math.imul(f,me)|0)+(o>>>13)|0)+(xe>>>26)|0,xe&=67108863,n=Math.imul(L,H),o=(o=Math.imul(L,K))+Math.imul(B,H)|0,s=Math.imul(B,K),n=n+Math.imul(P,Y)|0,o=(o=o+Math.imul(P,W)|0)+Math.imul(N,Y)|0,s=s+Math.imul(N,W)|0,n=n+Math.imul(T,X)|0,o=(o=o+Math.imul(T,J)|0)+Math.imul(M,X)|0,s=s+Math.imul(M,J)|0,n=n+Math.imul(A,$)|0,o=(o=o+Math.imul(A,ee)|0)+Math.imul(I,$)|0,s=s+Math.imul(I,ee)|0,n=n+Math.imul(S,re)|0,o=(o=o+Math.imul(S,ne)|0)+Math.imul(U,re)|0,s=s+Math.imul(U,ne)|0,n=n+Math.imul(E,se)|0,o=(o=o+Math.imul(E,ie)|0)+Math.imul(D,se)|0,s=s+Math.imul(D,ie)|0,n=n+Math.imul(y,ue)|0,o=(o=o+Math.imul(y,de)|0)+Math.imul(w,ue)|0,s=s+Math.imul(w,de)|0,n=n+Math.imul(g,ce)|0,o=(o=o+Math.imul(g,fe)|0)+Math.imul(v,ce)|0,s=s+Math.imul(v,fe)|0;var Se=(d+(n=n+Math.imul(p,pe)|0)|0)+((8191&(o=(o=o+Math.imul(p,me)|0)+Math.imul(m,pe)|0))<<13)|0;d=((s=s+Math.imul(m,me)|0)+(o>>>13)|0)+(Se>>>26)|0,Se&=67108863,n=Math.imul(L,Y),o=(o=Math.imul(L,W))+Math.imul(B,Y)|0,s=Math.imul(B,W),n=n+Math.imul(P,X)|0,o=(o=o+Math.imul(P,J)|0)+Math.imul(N,X)|0,s=s+Math.imul(N,J)|0,n=n+Math.imul(T,$)|0,o=(o=o+Math.imul(T,ee)|0)+Math.imul(M,$)|0,s=s+Math.imul(M,ee)|0,n=n+Math.imul(A,re)|0,o=(o=o+Math.imul(A,ne)|0)+Math.imul(I,re)|0,s=s+Math.imul(I,ne)|0,n=n+Math.imul(S,se)|0,o=(o=o+Math.imul(S,ie)|0)+Math.imul(U,se)|0,s=s+Math.imul(U,ie)|0,n=n+Math.imul(E,ue)|0,o=(o=o+Math.imul(E,de)|0)+Math.imul(D,ue)|0,s=s+Math.imul(D,de)|0,n=n+Math.imul(y,ce)|0,o=(o=o+Math.imul(y,fe)|0)+Math.imul(w,ce)|0,s=s+Math.imul(w,fe)|0;var Ue=(d+(n=n+Math.imul(g,pe)|0)|0)+((8191&(o=(o=o+Math.imul(g,me)|0)+Math.imul(v,pe)|0))<<13)|0;d=((s=s+Math.imul(v,me)|0)+(o>>>13)|0)+(Ue>>>26)|0,Ue&=67108863,n=Math.imul(L,X),o=(o=Math.imul(L,J))+Math.imul(B,X)|0,s=Math.imul(B,J),n=n+Math.imul(P,$)|0,o=(o=o+Math.imul(P,ee)|0)+Math.imul(N,$)|0,s=s+Math.imul(N,ee)|0,n=n+Math.imul(T,re)|0,o=(o=o+Math.imul(T,ne)|0)+Math.imul(M,re)|0,s=s+Math.imul(M,ne)|0,n=n+Math.imul(A,se)|0,o=(o=o+Math.imul(A,ie)|0)+Math.imul(I,se)|0,s=s+Math.imul(I,ie)|0,n=n+Math.imul(S,ue)|0,o=(o=o+Math.imul(S,de)|0)+Math.imul(U,ue)|0,s=s+Math.imul(U,de)|0,n=n+Math.imul(E,ce)|0,o=(o=o+Math.imul(E,fe)|0)+Math.imul(D,ce)|0,s=s+Math.imul(D,fe)|0;var ke=(d+(n=n+Math.imul(y,pe)|0)|0)+((8191&(o=(o=o+Math.imul(y,me)|0)+Math.imul(w,pe)|0))<<13)|0;d=((s=s+Math.imul(w,me)|0)+(o>>>13)|0)+(ke>>>26)|0,ke&=67108863,n=Math.imul(L,$),o=(o=Math.imul(L,ee))+Math.imul(B,$)|0,s=Math.imul(B,ee),n=n+Math.imul(P,re)|0,o=(o=o+Math.imul(P,ne)|0)+Math.imul(N,re)|0,s=s+Math.imul(N,ne)|0,n=n+Math.imul(T,se)|0,o=(o=o+Math.imul(T,ie)|0)+Math.imul(M,se)|0,s=s+Math.imul(M,ie)|0,n=n+Math.imul(A,ue)|0,o=(o=o+Math.imul(A,de)|0)+Math.imul(I,ue)|0,s=s+Math.imul(I,de)|0,n=n+Math.imul(S,ce)|0,o=(o=o+Math.imul(S,fe)|0)+Math.imul(U,ce)|0,s=s+Math.imul(U,fe)|0;var Ae=(d+(n=n+Math.imul(E,pe)|0)|0)+((8191&(o=(o=o+Math.imul(E,me)|0)+Math.imul(D,pe)|0))<<13)|0;d=((s=s+Math.imul(D,me)|0)+(o>>>13)|0)+(Ae>>>26)|0,Ae&=67108863,n=Math.imul(L,re),o=(o=Math.imul(L,ne))+Math.imul(B,re)|0,s=Math.imul(B,ne),n=n+Math.imul(P,se)|0,o=(o=o+Math.imul(P,ie)|0)+Math.imul(N,se)|0,s=s+Math.imul(N,ie)|0,n=n+Math.imul(T,ue)|0,o=(o=o+Math.imul(T,de)|0)+Math.imul(M,ue)|0,s=s+Math.imul(M,de)|0,n=n+Math.imul(A,ce)|0,o=(o=o+Math.imul(A,fe)|0)+Math.imul(I,ce)|0,s=s+Math.imul(I,fe)|0;var Ie=(d+(n=n+Math.imul(S,pe)|0)|0)+((8191&(o=(o=o+Math.imul(S,me)|0)+Math.imul(U,pe)|0))<<13)|0;d=((s=s+Math.imul(U,me)|0)+(o>>>13)|0)+(Ie>>>26)|0,Ie&=67108863,n=Math.imul(L,se),o=(o=Math.imul(L,ie))+Math.imul(B,se)|0,s=Math.imul(B,ie),n=n+Math.imul(P,ue)|0,o=(o=o+Math.imul(P,de)|0)+Math.imul(N,ue)|0,s=s+Math.imul(N,de)|0,n=n+Math.imul(T,ce)|0,o=(o=o+Math.imul(T,fe)|0)+Math.imul(M,ce)|0,s=s+Math.imul(M,fe)|0;var Ce=(d+(n=n+Math.imul(A,pe)|0)|0)+((8191&(o=(o=o+Math.imul(A,me)|0)+Math.imul(I,pe)|0))<<13)|0;d=((s=s+Math.imul(I,me)|0)+(o>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,n=Math.imul(L,ue),o=(o=Math.imul(L,de))+Math.imul(B,ue)|0,s=Math.imul(B,de),n=n+Math.imul(P,ce)|0,o=(o=o+Math.imul(P,fe)|0)+Math.imul(N,ce)|0,s=s+Math.imul(N,fe)|0;var Te=(d+(n=n+Math.imul(T,pe)|0)|0)+((8191&(o=(o=o+Math.imul(T,me)|0)+Math.imul(M,pe)|0))<<13)|0;d=((s=s+Math.imul(M,me)|0)+(o>>>13)|0)+(Te>>>26)|0,Te&=67108863,n=Math.imul(L,ce),o=(o=Math.imul(L,fe))+Math.imul(B,ce)|0,s=Math.imul(B,fe);var Me=(d+(n=n+Math.imul(P,pe)|0)|0)+((8191&(o=(o=o+Math.imul(P,me)|0)+Math.imul(N,pe)|0))<<13)|0;d=((s=s+Math.imul(N,me)|0)+(o>>>13)|0)+(Me>>>26)|0,Me&=67108863;var Oe=(d+(n=Math.imul(L,pe))|0)+((8191&(o=(o=Math.imul(L,me))+Math.imul(B,pe)|0))<<13)|0;return d=((s=Math.imul(B,me))+(o>>>13)|0)+(Oe>>>26)|0,Oe&=67108863,u[0]=be,u[1]=ge,u[2]=ve,u[3]=_e,u[4]=ye,u[5]=we,u[6]=je,u[7]=Ee,u[8]=De,u[9]=xe,u[10]=Se,u[11]=Ue,u[12]=ke,u[13]=Ae,u[14]=Ie,u[15]=Ce,u[16]=Te,u[17]=Me,u[18]=Oe,0!==d&&(u[19]=d,r.length++),r};function p(e,t,r){return(new m).mulp(e,t,r)}function m(e,t){this.x=e,this.y=t}Math.imul||(h=f),s.prototype.mulTo=function(e,t){var r=this.length+e.length;return 10===this.length&&10===e.length?h(this,e,t):r<63?f(this,e,t):r<1024?function(e,t,r){r.negative=t.negative^e.negative,r.length=e.length+t.length;for(var n=0,o=0,s=0;s<r.length-1;s++){var i=o;o=0;for(var a=67108863&n,u=Math.min(s,t.length-1),d=Math.max(0,s-e.length+1);d<=u;d++){var l=(0|e.words[s-d])*(0|t.words[d]),c=67108863&l;a=67108863&(c=c+a|0),o+=(i=(i=i+(l/67108864|0)|0)+(c>>>26)|0)>>>26,i&=67108863}r.words[s]=a,n=i,i=o}return 0!==n?r.words[s]=n:r.length--,r.strip()}(this,e,t):p(this,e,t)},m.prototype.makeRBT=function(e){for(var t=new Array(e),r=s.prototype._countBits(e)-1,n=0;n<e;n++)t[n]=this.revBin(n,r,e);return t},m.prototype.revBin=function(e,t,r){if(0===e||e===r-1)return e;for(var n=0,o=0;o<t;o++)n|=(1&e)<<t-o-1,e>>=1;return n},m.prototype.permute=function(e,t,r,n,o,s){for(var i=0;i<s;i++)n[i]=t[e[i]],o[i]=r[e[i]]},m.prototype.transform=function(e,t,r,n,o,s){this.permute(s,e,t,r,n,o);for(var i=1;i<o;i<<=1)for(var a=i<<1,u=Math.cos(2*Math.PI/a),d=Math.sin(2*Math.PI/a),l=0;l<o;l+=a)for(var c=u,f=d,h=0;h<i;h++){var p=r[l+h],m=n[l+h],b=r[l+h+i],g=n[l+h+i],v=c*b-f*g;g=c*g+f*b,r[l+h]=p+(b=v),n[l+h]=m+g,r[l+h+i]=p-b,n[l+h+i]=m-g,h!==a&&(v=u*c-d*f,f=u*f+d*c,c=v)}},m.prototype.guessLen13b=function(e,t){var r=1|Math.max(t,e),n=1&r,o=0;for(r=r/2|0;r;r>>>=1)o++;return 1<<o+1+n},m.prototype.conjugate=function(e,t,r){if(!(r<=1))for(var n=0;n<r/2;n++){var o=e[n];e[n]=e[r-n-1],e[r-n-1]=o,o=t[n],t[n]=-t[r-n-1],t[r-n-1]=-o}},m.prototype.normalize13b=function(e,t){for(var r=0,n=0;n<t/2;n++){var o=8192*Math.round(e[2*n+1]/t)+Math.round(e[2*n]/t)+r;e[n]=67108863&o,r=o<67108864?0:o/67108864|0}return e},m.prototype.convert13b=function(e,t,r,o){for(var s=0,i=0;i<t;i++)r[2*i]=8191&(s+=0|e[i]),r[2*i+1]=8191&(s>>>=13),s>>>=13;for(i=2*t;i<o;++i)r[i]=0;n(0===s),n(0==(-8192&s))},m.prototype.stub=function(e){for(var t=new Array(e),r=0;r<e;r++)t[r]=0;return t},m.prototype.mulp=function(e,t,r){var n=2*this.guessLen13b(e.length,t.length),o=this.makeRBT(n),s=this.stub(n),i=new Array(n),a=new Array(n),u=new Array(n),d=new Array(n),l=new Array(n),c=new Array(n),f=r.words;f.length=n,this.convert13b(e.words,e.length,i,n),this.convert13b(t.words,t.length,d,n),this.transform(i,s,a,u,n,o),this.transform(d,s,l,c,n,o);for(var h=0;h<n;h++){var p=a[h]*l[h]-u[h]*c[h];u[h]=a[h]*c[h]+u[h]*l[h],a[h]=p}return this.conjugate(a,u,n),this.transform(a,u,f,s,n,o),this.conjugate(f,s,n),this.normalize13b(f,n),r.negative=e.negative^t.negative,r.length=e.length+t.length,r.strip()},s.prototype.mul=function(e){var t=new s(null);return t.words=new Array(this.length+e.length),this.mulTo(e,t)},s.prototype.mulf=function(e){var t=new s(null);return t.words=new Array(this.length+e.length),p(this,e,t)},s.prototype.imul=function(e){return this.clone().mulTo(e,this)},s.prototype.imuln=function(e){n("number"==typeof e),n(e<67108864);for(var t=0,r=0;r<this.length;r++){var o=(0|this.words[r])*e,s=(67108863&o)+(67108863&t);t>>=26,t+=o/67108864|0,t+=s>>>26,this.words[r]=67108863&s}return 0!==t&&(this.words[r]=t,this.length++),this},s.prototype.muln=function(e){return this.clone().imuln(e)},s.prototype.sqr=function(){return this.mul(this)},s.prototype.isqr=function(){return this.imul(this.clone())},s.prototype.pow=function(e){var t=function(e){for(var t=new Array(e.bitLength()),r=0;r<t.length;r++){var n=r%26;t[r]=(e.words[r/26|0]&1<<n)>>>n}return t}(e);if(0===t.length)return new s(1);for(var r=this,n=0;n<t.length&&0===t[n];n++,r=r.sqr());if(++n<t.length)for(var o=r.sqr();n<t.length;n++,o=o.sqr())0!==t[n]&&(r=r.mul(o));return r},s.prototype.iushln=function(e){n("number"==typeof e&&e>=0);var t,r=e%26,o=(e-r)/26,s=67108863>>>26-r<<26-r;if(0!==r){var i=0;for(t=0;t<this.length;t++){var a=this.words[t]&s;this.words[t]=(0|this.words[t])-a<<r|i,i=a>>>26-r}i&&(this.words[t]=i,this.length++)}if(0!==o){for(t=this.length-1;t>=0;t--)this.words[t+o]=this.words[t];for(t=0;t<o;t++)this.words[t]=0;this.length+=o}return this.strip()},s.prototype.ishln=function(e){return n(0===this.negative),this.iushln(e)},s.prototype.iushrn=function(e,t,r){var o;n("number"==typeof e&&e>=0),o=t?(t-t%26)/26:0;var s=e%26,i=Math.min((e-s)/26,this.length),a=67108863^67108863>>>s<<s,u=r;if(o-=i,o=Math.max(0,o),u){for(var d=0;d<i;d++)u.words[d]=this.words[d];u.length=i}if(0===i);else if(this.length>i)for(this.length-=i,d=0;d<this.length;d++)this.words[d]=this.words[d+i];else this.words[0]=0,this.length=1;var l=0;for(d=this.length-1;d>=0&&(0!==l||d>=o);d--){var c=0|this.words[d];this.words[d]=l<<26-s|c>>>s,l=c&a}return u&&0!==l&&(u.words[u.length++]=l),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},s.prototype.ishrn=function(e,t,r){return n(0===this.negative),this.iushrn(e,t,r)},s.prototype.shln=function(e){return this.clone().ishln(e)},s.prototype.ushln=function(e){return this.clone().iushln(e)},s.prototype.shrn=function(e){return this.clone().ishrn(e)},s.prototype.ushrn=function(e){return this.clone().iushrn(e)},s.prototype.testn=function(e){n("number"==typeof e&&e>=0);var t=e%26,r=(e-t)/26;return!(this.length<=r||!(this.words[r]&1<<t))},s.prototype.imaskn=function(e){n("number"==typeof e&&e>=0);var t=e%26,r=(e-t)/26;return n(0===this.negative,"imaskn works only with positive numbers"),this.length<=r?this:(0!==t&&r++,this.length=Math.min(r,this.length),0!==t&&(this.words[this.length-1]&=67108863^67108863>>>t<<t),this.strip())},s.prototype.maskn=function(e){return this.clone().imaskn(e)},s.prototype.iaddn=function(e){return n("number"==typeof e),n(e<67108864),e<0?this.isubn(-e):0!==this.negative?1===this.length&&(0|this.words[0])<e?(this.words[0]=e-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(e),this.negative=1,this):this._iaddn(e)},s.prototype._iaddn=function(e){this.words[0]+=e;for(var t=0;t<this.length&&this.words[t]>=67108864;t++)this.words[t]-=67108864,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},s.prototype.isubn=function(e){if(n("number"==typeof e),n(e<67108864),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t<this.length&&this.words[t]<0;t++)this.words[t]+=67108864,this.words[t+1]-=1;return this.strip()},s.prototype.addn=function(e){return this.clone().iaddn(e)},s.prototype.subn=function(e){return this.clone().isubn(e)},s.prototype.iabs=function(){return this.negative=0,this},s.prototype.abs=function(){return this.clone().iabs()},s.prototype._ishlnsubmul=function(e,t,r){var o,s;this._expand(e.length+r);var i=0;for(o=0;o<e.length;o++){s=(0|this.words[o+r])+i;var a=(0|e.words[o])*t;i=((s-=67108863&a)>>26)-(a/67108864|0),this.words[o+r]=67108863&s}for(;o<this.length-r;o++)i=(s=(0|this.words[o+r])+i)>>26,this.words[o+r]=67108863&s;if(0===i)return this.strip();for(n(-1===i),i=0,o=0;o<this.length;o++)i=(s=-(0|this.words[o])+i)>>26,this.words[o]=67108863&s;return this.negative=1,this.strip()},s.prototype._wordDiv=function(e,t){var r,n=this.clone(),o=e,i=0|o.words[o.length-1];0!=(r=26-this._countBits(i))&&(o=o.ushln(r),n.iushln(r),i=0|o.words[o.length-1]);var a,u=n.length-o.length;if("mod"!==t){(a=new s(null)).length=u+1,a.words=new Array(a.length);for(var d=0;d<a.length;d++)a.words[d]=0}var l=n.clone()._ishlnsubmul(o,1,u);0===l.negative&&(n=l,a&&(a.words[u]=1));for(var c=u-1;c>=0;c--){var f=67108864*(0|n.words[o.length+c])+(0|n.words[o.length+c-1]);for(f=Math.min(f/i|0,67108863),n._ishlnsubmul(o,f,c);0!==n.negative;)f--,n.negative=0,n._ishlnsubmul(o,1,c),n.isZero()||(n.negative^=1);a&&(a.words[c]=f)}return a&&a.strip(),n.strip(),"div"!==t&&0!==r&&n.iushrn(r),{div:a||null,mod:n}},s.prototype.divmod=function(e,t,r){return n(!e.isZero()),this.isZero()?{div:new s(0),mod:new s(0)}:0!==this.negative&&0===e.negative?(a=this.neg().divmod(e,t),"mod"!==t&&(o=a.div.neg()),"div"!==t&&(i=a.mod.neg(),r&&0!==i.negative&&i.iadd(e)),{div:o,mod:i}):0===this.negative&&0!==e.negative?(a=this.divmod(e.neg(),t),"mod"!==t&&(o=a.div.neg()),{div:o,mod:a.mod}):0!=(this.negative&e.negative)?(a=this.neg().divmod(e.neg(),t),"div"!==t&&(i=a.mod.neg(),r&&0!==i.negative&&i.isub(e)),{div:a.div,mod:i}):e.length>this.length||this.cmp(e)<0?{div:new s(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new s(this.modn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new s(this.modn(e.words[0]))}:this._wordDiv(e,t);var o,i,a},s.prototype.div=function(e){return this.divmod(e,"div",!1).div},s.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},s.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},s.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var r=0!==t.div.negative?t.mod.isub(e):t.mod,n=e.ushrn(1),o=e.andln(1),s=r.cmp(n);return s<0||1===o&&0===s?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},s.prototype.modn=function(e){n(e<=67108863);for(var t=(1<<26)%e,r=0,o=this.length-1;o>=0;o--)r=(t*r+(0|this.words[o]))%e;return r},s.prototype.idivn=function(e){n(e<=67108863);for(var t=0,r=this.length-1;r>=0;r--){var o=(0|this.words[r])+67108864*t;this.words[r]=o/e|0,t=o%e}return this.strip()},s.prototype.divn=function(e){return this.clone().idivn(e)},s.prototype.egcd=function(e){n(0===e.negative),n(!e.isZero());var t=this,r=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var o=new s(1),i=new s(0),a=new s(0),u=new s(1),d=0;t.isEven()&&r.isEven();)t.iushrn(1),r.iushrn(1),++d;for(var l=r.clone(),c=t.clone();!t.isZero();){for(var f=0,h=1;0==(t.words[0]&h)&&f<26;++f,h<<=1);if(f>0)for(t.iushrn(f);f-- >0;)(o.isOdd()||i.isOdd())&&(o.iadd(l),i.isub(c)),o.iushrn(1),i.iushrn(1);for(var p=0,m=1;0==(r.words[0]&m)&&p<26;++p,m<<=1);if(p>0)for(r.iushrn(p);p-- >0;)(a.isOdd()||u.isOdd())&&(a.iadd(l),u.isub(c)),a.iushrn(1),u.iushrn(1);t.cmp(r)>=0?(t.isub(r),o.isub(a),i.isub(u)):(r.isub(t),a.isub(o),u.isub(i))}return{a:a,b:u,gcd:r.iushln(d)}},s.prototype._invmp=function(e){n(0===e.negative),n(!e.isZero());var t=this,r=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var o,i=new s(1),a=new s(0),u=r.clone();t.cmpn(1)>0&&r.cmpn(1)>0;){for(var d=0,l=1;0==(t.words[0]&l)&&d<26;++d,l<<=1);if(d>0)for(t.iushrn(d);d-- >0;)i.isOdd()&&i.iadd(u),i.iushrn(1);for(var c=0,f=1;0==(r.words[0]&f)&&c<26;++c,f<<=1);if(c>0)for(r.iushrn(c);c-- >0;)a.isOdd()&&a.iadd(u),a.iushrn(1);t.cmp(r)>=0?(t.isub(r),i.isub(a)):(r.isub(t),a.isub(i))}return(o=0===t.cmpn(1)?i:a).cmpn(0)<0&&o.iadd(e),o},s.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),r=e.clone();t.negative=0,r.negative=0;for(var n=0;t.isEven()&&r.isEven();n++)t.iushrn(1),r.iushrn(1);for(;;){for(;t.isEven();)t.iushrn(1);for(;r.isEven();)r.iushrn(1);var o=t.cmp(r);if(o<0){var s=t;t=r,r=s}else if(0===o||0===r.cmpn(1))break;t.isub(r)}return r.iushln(n)},s.prototype.invm=function(e){return this.egcd(e).a.umod(e)},s.prototype.isEven=function(){return 0==(1&this.words[0])},s.prototype.isOdd=function(){return 1==(1&this.words[0])},s.prototype.andln=function(e){return this.words[0]&e},s.prototype.bincn=function(e){n("number"==typeof e);var t=e%26,r=(e-t)/26,o=1<<t;if(this.length<=r)return this._expand(r+1),this.words[r]|=o,this;for(var s=o,i=r;0!==s&&i<this.length;i++){var a=0|this.words[i];s=(a+=s)>>>26,this.words[i]=a&=67108863}return 0!==s&&(this.words[i]=s,this.length++),this},s.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},s.prototype.cmpn=function(e){var t,r=e<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this.strip(),this.length>1)t=1;else{r&&(e=-e),n(e<=67108863,"Number is too big");var o=0|this.words[0];t=o===e?0:o<e?-1:1}return 0!==this.negative?0|-t:t},s.prototype.cmp=function(e){if(0!==this.negative&&0===e.negative)return-1;if(0===this.negative&&0!==e.negative)return 1;var t=this.ucmp(e);return 0!==this.negative?0|-t:t},s.prototype.ucmp=function(e){if(this.length>e.length)return 1;if(this.length<e.length)return-1;for(var t=0,r=this.length-1;r>=0;r--){var n=0|this.words[r],o=0|e.words[r];if(n!==o){n<o?t=-1:n>o&&(t=1);break}}return t},s.prototype.gtn=function(e){return 1===this.cmpn(e)},s.prototype.gt=function(e){return 1===this.cmp(e)},s.prototype.gten=function(e){return this.cmpn(e)>=0},s.prototype.gte=function(e){return this.cmp(e)>=0},s.prototype.ltn=function(e){return-1===this.cmpn(e)},s.prototype.lt=function(e){return-1===this.cmp(e)},s.prototype.lten=function(e){return this.cmpn(e)<=0},s.prototype.lte=function(e){return this.cmp(e)<=0},s.prototype.eqn=function(e){return 0===this.cmpn(e)},s.prototype.eq=function(e){return 0===this.cmp(e)},s.red=function(e){return new j(e)},s.prototype.toRed=function(e){return n(!this.red,"Already a number in reduction context"),n(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},s.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},s.prototype._forceRed=function(e){return this.red=e,this},s.prototype.forceRed=function(e){return n(!this.red,"Already a number in reduction context"),this._forceRed(e)},s.prototype.redAdd=function(e){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},s.prototype.redIAdd=function(e){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},s.prototype.redSub=function(e){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},s.prototype.redISub=function(e){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},s.prototype.redShl=function(e){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},s.prototype.redMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},s.prototype.redIMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},s.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},s.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},s.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},s.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},s.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},s.prototype.redPow=function(e){return n(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var b={k256:null,p224:null,p192:null,p25519:null};function g(e,t){this.name=e,this.p=new s(t,16),this.n=this.p.bitLength(),this.k=new s(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function v(){g.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function _(){g.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function y(){g.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function w(){g.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function j(e){if("string"==typeof e){var t=s._prime(e);this.m=t.p,this.prime=t}else n(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function E(e){j.call(this,e),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new s(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}g.prototype._tmp=function(){var e=new s(null);return e.words=new Array(Math.ceil(this.n/13)),e},g.prototype.ireduce=function(e){var t,r=e;do{this.split(r,this.tmp),t=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(t>this.n);var n=t<this.n?-1:r.ucmp(this.p);return 0===n?(r.words[0]=0,r.length=1):n>0?r.isub(this.p):r.strip(),r},g.prototype.split=function(e,t){e.iushrn(this.n,0,t)},g.prototype.imulK=function(e){return e.imul(this.k)},o(v,g),v.prototype.split=function(e,t){for(var r=Math.min(e.length,9),n=0;n<r;n++)t.words[n]=e.words[n];if(t.length=r,e.length<=9)return e.words[0]=0,void(e.length=1);var o=e.words[9];for(t.words[t.length++]=4194303&o,n=10;n<e.length;n++){var s=0|e.words[n];e.words[n-10]=(4194303&s)<<4|o>>>22,o=s}e.words[n-10]=o>>>=22,e.length-=0===o&&e.length>10?10:9},v.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,r=0;r<e.length;r++){var n=0|e.words[r];e.words[r]=67108863&(t+=977*n),t=64*n+(t/67108864|0)}return 0===e.words[e.length-1]&&(e.length--,0===e.words[e.length-1]&&e.length--),e},o(_,g),o(y,g),o(w,g),w.prototype.imulK=function(e){for(var t=0,r=0;r<e.length;r++){var n=19*(0|e.words[r])+t,o=67108863&n;n>>>=26,e.words[r]=o,t=n}return 0!==t&&(e.words[e.length++]=t),e},s._prime=function(e){if(b[e])return b[e];var t;if("k256"===e)t=new v;else if("p224"===e)t=new _;else if("p192"===e)t=new y;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new w}return b[e]=t,t},j.prototype._verify1=function(e){n(0===e.negative,"red works only with positives"),n(e.red,"red works only with red numbers")},j.prototype._verify2=function(e,t){n(0==(e.negative|t.negative),"red works only with positives"),n(e.red&&e.red===t.red,"red works only with red numbers")},j.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):e.umod(this.m)._forceRed(this)},j.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},j.prototype.add=function(e,t){this._verify2(e,t);var r=e.add(t);return r.cmp(this.m)>=0&&r.isub(this.m),r._forceRed(this)},j.prototype.iadd=function(e,t){this._verify2(e,t);var r=e.iadd(t);return r.cmp(this.m)>=0&&r.isub(this.m),r},j.prototype.sub=function(e,t){this._verify2(e,t);var r=e.sub(t);return r.cmpn(0)<0&&r.iadd(this.m),r._forceRed(this)},j.prototype.isub=function(e,t){this._verify2(e,t);var r=e.isub(t);return r.cmpn(0)<0&&r.iadd(this.m),r},j.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},j.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},j.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},j.prototype.isqr=function(e){return this.imul(e,e.clone())},j.prototype.sqr=function(e){return this.mul(e,e)},j.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(n(t%2==1),3===t){var r=this.m.add(new s(1)).iushrn(2);return this.pow(e,r)}for(var o=this.m.subn(1),i=0;!o.isZero()&&0===o.andln(1);)i++,o.iushrn(1);n(!o.isZero());var a=new s(1).toRed(this),u=a.redNeg(),d=this.m.subn(1).iushrn(1),l=this.m.bitLength();for(l=new s(2*l*l).toRed(this);0!==this.pow(l,d).cmp(u);)l.redIAdd(u);for(var c=this.pow(l,o),f=this.pow(e,o.addn(1).iushrn(1)),h=this.pow(e,o),p=i;0!==h.cmp(a);){for(var m=h,b=0;0!==m.cmp(a);b++)m=m.redSqr();n(b<p);var g=this.pow(c,new s(1).iushln(p-b-1));f=f.redMul(g),c=g.redSqr(),h=h.redMul(c),p=b}return f},j.prototype.invm=function(e){var t=e._invmp(this.m);return 0!==t.negative?(t.negative=0,this.imod(t).redNeg()):this.imod(t)},j.prototype.pow=function(e,t){if(t.isZero())return new s(1).toRed(this);if(0===t.cmpn(1))return e.clone();var r=new Array(16);r[0]=new s(1).toRed(this),r[1]=e;for(var n=2;n<r.length;n++)r[n]=this.mul(r[n-1],e);var o=r[0],i=0,a=0,u=t.bitLength()%26;for(0===u&&(u=26),n=t.length-1;n>=0;n--){for(var d=t.words[n],l=u-1;l>=0;l--){var c=d>>l&1;o!==r[0]&&(o=this.sqr(o)),0!==c||0!==i?(i<<=1,i|=c,(4==++a||0===n&&0===l)&&(o=this.mul(o,r[i]),a=0,i=0)):a=0}u=26}return o},j.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},j.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},s.mont=function(e){return new E(e)},o(E,j),E.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},E.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},E.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var r=e.imul(t),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),o=r.isub(n).iushrn(this.shift),s=o;return o.cmp(this.m)>=0?s=o.isub(this.m):o.cmpn(0)<0&&(s=o.iadd(this.m)),s._forceRed(this)},E.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new s(0)._forceRed(this);var r=e.mul(t),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),o=r.isub(n).iushrn(this.shift),i=o;return o.cmp(this.m)>=0?i=o.isub(this.m):o.cmpn(0)<0&&(i=o.iadd(this.m)),i._forceRed(this)},E.prototype.invm=function(e){return this.imod(e._invmp(this.m).mul(this.r2))._forceRed(this)}}(void 0===t||t,this)},{buffer:"/Users/jnordberg/Development/dsteem/node_modules/browser-resolve/empty.js"}],"/Users/jnordberg/Development/dsteem/node_modules/brorand/index.js":[function(e,t,r){var n;function o(e){this.rand=e}if(t.exports=function(e){return n||(n=new o(null)),n.generate(e)},t.exports.Rand=o,o.prototype.generate=function(e){return this._rand(e)},o.prototype._rand=function(e){if(this.rand.getBytes)return this.rand.getBytes(e);for(var t=new Uint8Array(e),r=0;r<t.length;r++)t[r]=this.rand.getByte();return t},"object"==typeof self)self.crypto&&self.crypto.getRandomValues?o.prototype._rand=function(e){var t=new Uint8Array(e);return self.crypto.getRandomValues(t),t}:self.msCrypto&&self.msCrypto.getRandomValues?o.prototype._rand=function(e){var t=new Uint8Array(e);return self.msCrypto.getRandomValues(t),t}:"object"==typeof window&&(o.prototype._rand=function(){throw new Error("Not implemented yet")});else try{var s=e("crypto");if("function"!=typeof s.randomBytes)throw new Error("Not supported");o.prototype._rand=function(e){return s.randomBytes(e)}}catch(e){}},{crypto:"/Users/jnordberg/Development/dsteem/node_modules/browser-resolve/empty.js"}],"/Users/jnordberg/Development/dsteem/node_modules/browser-resolve/empty.js":[function(e,t,r){},{}],"/Users/jnordberg/Development/dsteem/node_modules/browserify-aes/aes.js":[function(e,t,r){var n=e("safe-buffer").Buffer;function o(e){n.isBuffer(e)||(e=n.from(e));for(var t=e.length/4|0,r=new Array(t),o=0;o<t;o++)r[o]=e.readUInt32BE(4*o);return r}function s(e){for(;0<e.length;e++)e[0]=0}function i(e,t,r,n,o){for(var s,i,a,u,d=r[0],l=r[1],c=r[2],f=r[3],h=e[0]^t[0],p=e[1]^t[1],m=e[2]^t[2],b=e[3]^t[3],g=4,v=1;v<o;v++)s=d[h>>>24]^l[p>>>16&255]^c[m>>>8&255]^f[255&b]^t[g++],i=d[p>>>24]^l[m>>>16&255]^c[b>>>8&255]^f[255&h]^t[g++],a=d[m>>>24]^l[b>>>16&255]^c[h>>>8&255]^f[255&p]^t[g++],u=d[b>>>24]^l[h>>>16&255]^c[p>>>8&255]^f[255&m]^t[g++],h=s,p=i,m=a,b=u;return s=(n[h>>>24]<<24|n[p>>>16&255]<<16|n[m>>>8&255]<<8|n[255&b])^t[g++],i=(n[p>>>24]<<24|n[m>>>16&255]<<16|n[b>>>8&255]<<8|n[255&h])^t[g++],a=(n[m>>>24]<<24|n[b>>>16&255]<<16|n[h>>>8&255]<<8|n[255&p])^t[g++],u=(n[b>>>24]<<24|n[h>>>16&255]<<16|n[p>>>8&255]<<8|n[255&m])^t[g++],[s>>>=0,i>>>=0,a>>>=0,u>>>=0]}var a=[0,1,2,4,8,16,32,64,128,27,54],u=function(){for(var e=new Array(256),t=0;t<256;t++)e[t]=t<128?t<<1:t<<1^283;for(var r=[],n=[],o=[[],[],[],[]],s=[[],[],[],[]],i=0,a=0,u=0;u<256;++u){var d=a^a<<1^a<<2^a<<3^a<<4;r[i]=d=d>>>8^255&d^99,n[d]=i;var l=e[i],c=e[l],f=e[c],h=257*e[d]^16843008*d;o[0][i]=h<<24|h>>>8,o[1][i]=h<<16|h>>>16,o[2][i]=h<<8|h>>>24,o[3][i]=h,s[0][d]=(h=16843009*f^65537*c^257*l^16843008*i)<<24|h>>>8,s[1][d]=h<<16|h>>>16,s[2][d]=h<<8|h>>>24,s[3][d]=h,0===i?i=a=1:(i=l^e[e[e[f^l]]],a^=e[e[a]])}return{SBOX:r,INV_SBOX:n,SUB_MIX:o,INV_SUB_MIX:s}}();function d(e){this._key=o(e),this._reset()}d.blockSize=16,d.keySize=32,d.prototype.blockSize=d.blockSize,d.prototype.keySize=d.keySize,d.prototype._reset=function(){for(var e=this._key,t=e.length,r=t+6,n=4*(r+1),o=[],s=0;s<t;s++)o[s]=e[s];for(s=t;s<n;s++){var i=o[s-1];s%t==0?(i=u.SBOX[(i=i<<8|i>>>24)>>>24]<<24|u.SBOX[i>>>16&255]<<16|u.SBOX[i>>>8&255]<<8|u.SBOX[255&i],i^=a[s/t|0]<<24):t>6&&s%t==4&&(i=u.SBOX[i>>>24]<<24|u.SBOX[i>>>16&255]<<16|u.SBOX[i>>>8&255]<<8|u.SBOX[255&i]),o[s]=o[s-t]^i}for(var d=[],l=0;l<n;l++){var c=n-l,f=o[c-(l%4?0:4)];d[l]=l<4||c<=4?f:u.INV_SUB_MIX[0][u.SBOX[f>>>24]]^u.INV_SUB_MIX[1][u.SBOX[f>>>16&255]]^u.INV_SUB_MIX[2][u.SBOX[f>>>8&255]]^u.INV_SUB_MIX[3][u.SBOX[255&f]]}this._nRounds=r,this._keySchedule=o,this._invKeySchedule=d},d.prototype.encryptBlockRaw=function(e){return i(e=o(e),this._keySchedule,u.SUB_MIX,u.SBOX,this._nRounds)},d.prototype.encryptBlock=function(e){var t=this.encryptBlockRaw(e),r=n.allocUnsafe(16);return r.writeUInt32BE(t[0],0),r.writeUInt32BE(t[1],4),r.writeUInt32BE(t[2],8),r.writeUInt32BE(t[3],12),r},d.prototype.decryptBlock=function(e){var t=(e=o(e))[1];e[1]=e[3],e[3]=t;var r=i(e,this._invKeySchedule,u.INV_SUB_MIX,u.INV_SBOX,this._nRounds),s=n.allocUnsafe(16);return s.writeUInt32BE(r[0],0),s.writeUInt32BE(r[3],4),s.writeUInt32BE(r[2],8),s.writeUInt32BE(r[1],12),s},d.prototype.scrub=function(){s(this._keySchedule),s(this._invKeySchedule),s(this._key)},t.exports.AES=d},{"safe-buffer":"/Users/jnordberg/Development/dsteem/node_modules/safe-buffer/index.js"}],"/Users/jnordberg/Development/dsteem/node_modules/browserify-aes/authCipher.js":[function(e,t,r){var n=e("./aes"),o=e("safe-buffer").Buffer,s=e("cipher-base"),i=e("inherits"),a=e("./ghash"),u=e("buffer-xor"),d=e("./incr32");function l(e,t,r,i){s.call(this);var u=o.alloc(4,0);this._cipher=new n.AES(t);var l=this._cipher.encryptBlock(u);this._ghash=new a(l),r=function(e,t,r){if(12===t.length)return e._finID=o.concat([t,o.from([0,0,0,1])]),o.concat([t,o.from([0,0,0,2])]);var n=new a(r),s=t.length,i=s%16;n.update(t),i&&n.update(o.alloc(i=16-i,0)),n.update(o.alloc(8,0));var u=8*s,l=o.alloc(8);l.writeUIntBE(u,0,8),n.update(l),e._finID=n.state;var c=o.from(e._finID);return d(c),c}(this,r,l),this._prev=o.from(r),this._cache=o.allocUnsafe(0),this._secCache=o.allocUnsafe(0),this._decrypt=i,this._alen=0,this._len=0,this._mode=e,this._authTag=null,this._called=!1}i(l,s),l.prototype._update=function(e){if(!this._called&&this._alen){var t=16-this._alen%16;t<16&&(t=o.alloc(t,0),this._ghash.update(t))}this._called=!0;var r=this._mode.encrypt(this,e);return this._ghash.update(this._decrypt?e:r),this._len+=e.length,r},l.prototype._final=function(){if(this._decrypt&&!this._authTag)throw new Error("Unsupported state or unable to authenticate data");var e=u(this._ghash.final(8*this._alen,8*this._len),this._cipher.encryptBlock(this._finID));if(this._decrypt&&function(e,t){var r=0;e.length!==t.length&&r++;for(var n=Math.min(e.length,t.length),o=0;o<n;++o)r+=e[o]^t[o];return r}(e,this._authTag))throw new Error("Unsupported state or unable to authenticate data");this._authTag=e,this._cipher.scrub()},l.prototype.getAuthTag=function(){if(this._decrypt||!o.isBuffer(this._authTag))throw new Error("Attempting to get auth tag in unsupported state");return this._authTag},l.prototype.setAuthTag=function(e){if(!this._decrypt)throw new Error("Attempting to set auth tag in unsupported state");this._authTag=e},l.prototype.setAAD=function(e){if(this._called)throw new Error("Attempting to set AAD in unsupported state");this._ghash.update(e),this._alen+=e.length},t.exports=l},{"./aes":"/Users/jnordberg/Development/dsteem/node_modules/browserify-aes/aes.js","./ghash":"/Users/jnordberg/Development/dsteem/node_modules/browserify-aes/ghash.js","./incr32":"/Users/jnordberg/Development/dsteem/node_modules/browserify-aes/incr32.js","buffer-xor":"/Users/jnordberg/Development/dsteem/node_modules/buffer-xor/index.js","cipher-base":"/Users/jnordberg/Development/dsteem/node_modules/cipher-base/index.js",inherits:"/Users/jnordberg/Development/dsteem/node_modules/inherits/inherits_browser.js","safe-buffer":"/Users/jnordberg/Development/dsteem/node_modules/safe-buffer/index.js"}],"/Users/jnordberg/Development/dsteem/node_modules/browserify-aes/browser.js":[function(e,t,r){var n=e("./encrypter"),o=e("./decrypter"),s=e("./modes/list.json");r.createCipher=r.Cipher=n.createCipher,r.createCipheriv=r.Cipheriv=n.createCipheriv,r.createDecipher=r.Decipher=o.createDecipher,r.createDecipheriv=r.Decipheriv=o.createDecipheriv,r.listCiphers=r.getCiphers=function(){return Object.keys(s)}},{"./decrypter":"/Users/jnordberg/Development/dsteem/node_modules/browserify-aes/decrypter.js","./encrypter":"/Users/jnordberg/Development/dsteem/node_modules/browserify-aes/encrypter.js","./modes/list.json":"/Users/jnordberg/Development/dsteem/node_modules/browserify-aes/modes/list.json"}],"/Users/jnordberg/Development/dsteem/node_modules/browserify-aes/decrypter.js":[function(e,t,r){var n=e("./authCipher"),o=e("safe-buffer").Buffer,s=e("./modes"),i=e("./streamCipher"),a=e("cipher-base"),u=e("./aes"),d=e("evp_bytestokey");function l(e,t,r){a.call(this),this._cache=new c,this._last=void 0,this._cipher=new u.AES(t),this._prev=o.from(r),this._mode=e,this._autopadding=!0}function c(){this.cache=o.allocUnsafe(0)}function f(e,t,r){var a=s[e.toLowerCase()];if(!a)throw new TypeError("invalid suite type");if("string"==typeof r&&(r=o.from(r)),"GCM"!==a.mode&&r.length!==a.iv)throw new TypeError("invalid iv length "+r.length);if("string"==typeof t&&(t=o.from(t)),t.length!==a.key/8)throw new TypeError("invalid key length "+t.length);return"stream"===a.type?new i(a.module,t,r,!0):"auth"===a.type?new n(a.module,t,r,!0):new l(a.module,t,r)}e("inherits")(l,a),l.prototype._update=function(e){var t,r;this._cache.add(e);for(var n=[];t=this._cache.get(this._autopadding);)r=this._mode.decrypt(this,t),n.push(r);return o.concat(n)},l.prototype._final=function(){var e=this._cache.flush();if(this._autopadding)return function(e){for(var t=e[15],r=-1;++r<t;)if(e[r+(16-t)]!==t)throw new Error("unable to decrypt data");if(16!==t)return e.slice(0,16-t)}(this._mode.decrypt(this,e));if(e)throw new Error("data not multiple of block length")},l.prototype.setAutoPadding=function(e){return this._autopadding=!!e,this},c.prototype.add=function(e){this.cache=o.concat([this.cache,e])},c.prototype.get=function(e){var t;if(e){if(this.cache.length>16)return t=this.cache.slice(0,16),this.cache=this.cache.slice(16),t}else if(this.cache.length>=16)return t=this.cache.slice(0,16),this.cache=this.cache.slice(16),t;return null},c.prototype.flush=function(){if(this.cache.length)return this.cache},r.createDecipher=function(e,t){var r=s[e.toLowerCase()];if(!r)throw new TypeError("invalid suite type");var n=d(t,!1,r.key,r.iv);return f(e,n.key,n.iv)},r.createDecipheriv=f},{"./aes":"/Users/jnordberg/Development/dsteem/node_modules/browserify-aes/aes.js","./authCipher":"/Users/jnordberg/Development/dsteem/node_modules/browserify-aes/authCipher.js","./modes":"/Users/jnordberg/Development/dsteem/node_modules/browserify-aes/modes/index.js","./streamCipher":"/Users/jnordberg/Development/dsteem/node_modules/browserify-aes/streamCipher.js","cipher-base":"/Users/jnordberg/Development/dsteem/node_modules/cipher-base/index.js",evp_bytestokey:"/Users/jnordberg/Development/dsteem/node_modules/evp_bytestokey/index.js",inherits:"/Users/jnordberg/Development/dsteem/node_modules/inherits/inherits_browser.js","safe-buffer":"/Users/jnordberg/Development/dsteem/node_modules/safe-buffer/index.js"}],"/Users/jnordberg/Development/dsteem/node_modules/browserify-aes/encrypter.js":[function(e,t,r){var n=e("./modes"),o=e("./authCipher"),s=e("safe-buffer").Buffer,i=e("./streamCipher"),a=e("cipher-base"),u=e("./aes"),d=e("evp_bytestokey");function l(e,t,r){a.call(this),this._cache=new f,this._cipher=new u.AES(t),this._prev=s.from(r),this._mode=e,this._autopadding=!0}e("inherits")(l,a),l.prototype._update=function(e){var t,r;this._cache.add(e);for(var n=[];t=this._cache.get();)r=this._mode.encrypt(this,t),n.push(r);return s.concat(n)};var c=s.alloc(16,16);function f(){this.cache=s.allocUnsafe(0)}function h(e,t,r){var a=n[e.toLowerCase()];if(!a)throw new TypeError("invalid suite type");if("string"==typeof t&&(t=s.from(t)),t.length!==a.key/8)throw new TypeError("invalid key length "+t.length);if("string"==typeof r&&(r=s.from(r)),"GCM"!==a.mode&&r.length!==a.iv)throw new TypeError("invalid iv length "+r.length);return"stream"===a.type?new i(a.module,t,r):"auth"===a.type?new o(a.module,t,r):new l(a.module,t,r)}l.prototype._final=function(){var e=this._cache.flush();if(this._autopadding)return e=this._mode.encrypt(this,e),this._cipher.scrub(),e;if(!e.equals(c))throw this._cipher.scrub(),new Error("data not multiple of block length")},l.prototype.setAutoPadding=function(e){return this._autopadding=!!e,this},f.prototype.add=function(e){this.cache=s.concat([this.cache,e])},f.prototype.get=function(){if(this.cache.length>15){var e=this.cache.slice(0,16);return this.cache=this.cache.slice(16),e}return null},f.prototype.flush=function(){for(var e=16-this.cache.length,t=s.allocUnsafe(e),r=-1;++r<e;)t.writeUInt8(e,r);return s.concat([this.cache,t])},r.createCipheriv=h,r.createCipher=function(e,t){var r=n[e.toLowerCase()];if(!r)throw new TypeError("invalid suite type");var o=d(t,!1,r.key,r.iv);return h(e,o.key,o.iv)}},{"./aes":"/Users/jnordberg/Development/dsteem/node_modules/browserify-aes/aes.js","./authCipher":"/Users/jnordberg/Development/dsteem/node_modules/browserify-aes/authCipher.js","./modes":"/Users/jnordberg/Development/dsteem/node_modules/browserify-aes/modes/index.js","./streamCipher":"/Users/jnordberg/Development/dsteem/node_modules/browserify-aes/streamCipher.js","cipher-base":"/Users/jnordberg/Development/dsteem/node_modules/cipher-base/index.js",evp_bytestokey:"/Users/jnordberg/Development/dsteem/node_modules/evp_bytestokey/index.js",inherits:"/Users/jnordberg/Development/dsteem/node_modules/inherits/inherits_browser.js","safe-buffer":"/Users/jnordberg/Development/dsteem/node_modules/safe-buffer/index.js"}],"/Users/jnordberg/Development/dsteem/node_modules/browserify-aes/ghash.js":[function(e,t,r){var n=e("safe-buffer").Buffer,o=n.alloc(16,0);function s(e){var t=n.allocUnsafe(16);return t.writeUInt32BE(e[0]>>>0,0),t.writeUInt32BE(e[1]>>>0,4),t.writeUInt32BE(e[2]>>>0,8),t.writeUInt32BE(e[3]>>>0,12),t}function i(e){this.h=e,this.state=n.alloc(16,0),this.cache=n.allocUnsafe(0)}i.prototype.ghash=function(e){for(var t=-1;++t<e.length;)this.state[t]^=e[t];this._multiply()},i.prototype._multiply=function(){for(var e,t,r,n=[(e=this.h).readUInt32BE(0),e.readUInt32BE(4),e.readUInt32BE(8),e.readUInt32BE(12)],o=[0,0,0,0],i=-1;++i<128;){for(0!=(this.state[~~(i/8)]&1<<7-i%8)&&(o[0]^=n[0],o[1]^=n[1],o[2]^=n[2],o[3]^=n[3]),r=0!=(1&n[3]),t=3;t>0;t--)n[t]=n[t]>>>1|(1&n[t-1])<<31;n[0]=n[0]>>>1,r&&(n[0]=n[0]^225<<24)}this.state=s(o)},i.prototype.update=function(e){var t;for(this.cache=n.concat([this.cache,e]);this.cache.length>=16;)t=this.cache.slice(0,16),this.cache=this.cache.slice(16),this.ghash(t)},i.prototype.final=function(e,t){return this.cache.length&&this.ghash(n.concat([this.cache,o],16)),this.ghash(s([0,e,0,t])),this.state},t.exports=i},{"safe-buffer":"/Users/jnordberg/Development/dsteem/node_modules/safe-buffer/index.js"}],"/Users/jnordberg/Development/dsteem/node_modules/browserify-aes/incr32.js":[function(e,t,r){t.exports=function(e){for(var t,r=e.length;r--;){if(255!==(t=e.readUInt8(r))){e.writeUInt8(++t,r);break}e.writeUInt8(0,r)}}},{}],"/Users/jnordberg/Development/dsteem/node_modules/browserify-aes/modes/cbc.js":[function(e,t,r){var n=e("buffer-xor");r.encrypt=function(e,t){var r=n(t,e._prev);return e._prev=e._cipher.encryptBlock(r),e._prev},r.decrypt=function(e,t){var r=e._prev;e._prev=t;var o=e._cipher.decryptBlock(t);return n(o,r)}},{"buffer-xor":"/Users/jnordberg/Development/dsteem/node_modules/buffer-xor/index.js"}],"/Users/jnordberg/Development/dsteem/node_modules/browserify-aes/modes/cfb.js":[function(e,t,r){var n=e("safe-buffer").Buffer,o=e("buffer-xor");function s(e,t,r){var s=t.length,i=o(t,e._cache);return e._cache=e._cache.slice(s),e._prev=n.concat([e._prev,r?t:i]),i}r.encrypt=function(e,t,r){for(var o,i=n.allocUnsafe(0);t.length;){if(0===e._cache.length&&(e._cache=e._cipher.encryptBlock(e._prev),e._prev=n.allocUnsafe(0)),!(e._cache.length<=t.length)){i=n.concat([i,s(e,t,r)]);break}i=n.concat([i,s(e,t.slice(0,o=e._cache.length),r)]),t=t.slice(o)}return i}},{"buffer-xor":"/Users/jnordberg/Development/dsteem/node_modules/buffer-xor/index.js","safe-buffer":"/Users/jnordberg/Development/dsteem/node_modules/safe-buffer/index.js"}],"/Users/jnordberg/Development/dsteem/node_modules/browserify-aes/modes/cfb1.js":[function(e,t,r){var n=e("safe-buffer").Buffer;function o(e,t,r){for(var n,o,i=-1,a=0;++i<8;)a+=(128&(o=e._cipher.encryptBlock(e._prev)[0]^(n=t&1<<7-i?128:0)))>>i%8,e._prev=s(e._prev,r?n:o);return a}function s(e,t){var r=e.length,o=-1,s=n.allocUnsafe(e.length);for(e=n.concat([e,n.from([t])]);++o<r;)s[o]=e[o]<<1|e[o+1]>>7;return s}r.encrypt=function(e,t,r){for(var s=t.length,i=n.allocUnsafe(s),a=-1;++a<s;)i[a]=o(e,t[a],r);return i}},{"safe-buffer":"/Users/jnordberg/Development/dsteem/node_modules/safe-buffer/index.js"}],"/Users/jnordberg/Development/dsteem/node_modules/browserify-aes/modes/cfb8.js":[function(e,t,r){var n=e("safe-buffer").Buffer;function o(e,t,r){var o=e._cipher.encryptBlock(e._prev)[0]^t;return e._prev=n.concat([e._prev.slice(1),n.from([r?t:o])]),o}r.encrypt=function(e,t,r){for(var s=t.length,i=n.allocUnsafe(s),a=-1;++a<s;)i[a]=o(e,t[a],r);return i}},{"safe-buffer":"/Users/jnordberg/Development/dsteem/node_modules/safe-buffer/index.js"}],"/Users/jnordberg/Development/dsteem/node_modules/browserify-aes/modes/ctr.js":[function(e,t,r){var n=e("buffer-xor"),o=e("safe-buffer").Buffer,s=e("../incr32");function i(e){var t=e._cipher.encryptBlockRaw(e._prev);return s(e._prev),t}r.encrypt=function(e,t){var r=Math.ceil(t.length/16),s=e._cache.length;e._cache=o.concat([e._cache,o.allocUnsafe(16*r)]);for(var a=0;a<r;a++){var u=i(e),d=s+16*a;e._cache.writeUInt32BE(u[0],d+0),e._cache.writeUInt32BE(u[1],d+4),e._cache.writeUInt32BE(u[2],d+8),e._cache.writeUInt32BE(u[3],d+12)}var l=e._cache.slice(0,t.length);return e._cache=e._cache.slice(t.length),n(t,l)}},{"../incr32":"/Users/jnordberg/Development/dsteem/node_modules/browserify-aes/incr32.js","buffer-xor":"/Users/jnordberg/Development/dsteem/node_modules/buffer-xor/index.js","safe-buffer":"/Users/jnordberg/Development/dsteem/node_modules/safe-buffer/index.js"}],"/Users/jnordberg/Development/dsteem/node_modules/browserify-aes/modes/ecb.js":[function(e,t,r){r.encrypt=function(e,t){return e._cipher.encryptBlock(t)},r.decrypt=function(e,t){return e._cipher.decryptBlock(t)}},{}],"/Users/jnordberg/Development/dsteem/node_modules/browserify-aes/modes/index.js":[function(e,t,r){var n={ECB:e("./ecb"),CBC:e("./cbc"),CFB:e("./cfb"),CFB8:e("./cfb8"),CFB1:e("./cfb1"),OFB:e("./ofb"),CTR:e("./ctr"),GCM:e("./ctr")},o=e("./list.json");for(var s in o)o[s].module=n[o[s].mode];t.exports=o},{"./cbc":"/Users/jnordberg/Development/dsteem/node_modules/browserify-aes/modes/cbc.js","./cfb":"/Users/jnordberg/Development/dsteem/node_modules/browserify-aes/modes/cfb.js","./cfb1":"/Users/jnordberg/Development/dsteem/node_modules/browserify-aes/modes/cfb1.js","./cfb8":"/Users/jnordberg/Development/dsteem/node_modules/browserify-aes/modes/cfb8.js","./ctr":"/Users/jnordberg/Development/dsteem/node_modules/browserify-aes/modes/ctr.js","./ecb":"/Users/jnordberg/Development/dsteem/node_modules/browserify-aes/modes/ecb.js","./list.json":"/Users/jnordberg/Development/dsteem/node_modules/browserify-aes/modes/list.json","./ofb":"/Users/jnordberg/Development/dsteem/node_modules/browserify-aes/modes/ofb.js"}],"/Users/jnordberg/Development/dsteem/node_modules/browserify-aes/modes/list.json":[function(e,t,r){t.exports={"aes-128-ecb":{cipher:"AES",key:128,iv:0,mode:"ECB",type:"block"},"aes-192-ecb":{cipher:"AES",key:192,iv:0,mode:"ECB",type:"block"},"aes-256-ecb":{cipher:"AES",key:256,iv:0,mode:"ECB",type:"block"},"aes-128-cbc":{cipher:"AES",key:128,iv:16,mode:"CBC",type:"block"},"aes-192-cbc":{cipher:"AES",key:192,iv:16,mode:"CBC",type:"block"},"aes-256-cbc":{cipher:"AES",key:256,iv:16,mode:"CBC",type:"block"},aes128:{cipher:"AES",key:128,iv:16,mode:"CBC",type:"block"},aes192:{cipher:"AES",key:192,iv:16,mode:"CBC",type:"block"},aes256:{cipher:"AES",key:256,iv:16,mode:"CBC",type:"block"},"aes-128-cfb":{cipher:"AES",key:128,iv:16,mode:"CFB",type:"stream"},"aes-192-cfb":{cipher:"AES",key:192,iv:16,mode:"CFB",type:"stream"},"aes-256-cfb":{cipher:"AES",key:256,iv:16,mode:"CFB",type:"stream"},"aes-128-cfb8":{cipher:"AES",key:128,iv:16,mode:"CFB8",type:"stream"},"aes-192-cfb8":{cipher:"AES",key:192,iv:16,mode:"CFB8",type:"stream"},"aes-256-cfb8":{cipher:"AES",key:256,iv:16,mode:"CFB8",type:"stream"},"aes-128-cfb1":{cipher:"AES",key:128,iv:16,mode:"CFB1",type:"stream"},"aes-192-cfb1":{cipher:"AES",key:192,iv:16,mode:"CFB1",type:"stream"},"aes-256-cfb1":{cipher:"AES",key:256,iv:16,mode:"CFB1",type:"stream"},"aes-128-ofb":{cipher:"AES",key:128,iv:16,mode:"OFB",type:"stream"},"aes-192-ofb":{cipher:"AES",key:192,iv:16,mode:"OFB",type:"stream"},"aes-256-ofb":{cipher:"AES",key:256,iv:16,mode:"OFB",type:"stream"},"aes-128-ctr":{cipher:"AES",key:128,iv:16,mode:"CTR",type:"stream"},"aes-192-ctr":{cipher:"AES",key:192,iv:16,mode:"CTR",type:"stream"},"aes-256-ctr":{cipher:"AES",key:256,iv:16,mode:"CTR",type:"stream"},"aes-128-gcm":{cipher:"AES",key:128,iv:12,mode:"GCM",type:"auth"},"aes-192-gcm":{cipher:"AES",key:192,iv:12,mode:"GCM",type:"auth"},"aes-256-gcm":{cipher:"AES",key:256,iv:12,mode:"GCM",type:"auth"}}},{}],"/Users/jnordberg/Development/dsteem/node_modules/browserify-aes/modes/ofb.js":[function(e,t,r){(function(t){var n=e("buffer-xor");function o(e){return e._prev=e._cipher.encryptBlock(e._prev),e._prev}r.encrypt=function(e,r){for(;e._cache.length<r.length;)e._cache=t.concat([e._cache,o(e)]);var s=e._cache.slice(0,r.length);return e._cache=e._cache.slice(r.length),n(r,s)}}).call(this,e("buffer").Buffer)},{buffer:"/Users/jnordberg/Development/dsteem/node_modules/buffer/index.js","buffer-xor":"/Users/jnordberg/Development/dsteem/node_modules/buffer-xor/index.js"}],"/Users/jnordberg/Development/dsteem/node_modules/browserify-aes/streamCipher.js":[function(e,t,r){var n=e("./aes"),o=e("safe-buffer").Buffer,s=e("cipher-base");function i(e,t,r,i){s.call(this),this._cipher=new n.AES(t),this._prev=o.from(r),this._cache=o.allocUnsafe(0),this._secCache=o.allocUnsafe(0),this._decrypt=i,this._mode=e}e("inherits")(i,s),i.prototype._update=function(e){return this._mode.encrypt(this,e,this._decrypt)},i.prototype._final=function(){this._cipher.scrub()},t.exports=i},{"./aes":"/Users/jnordberg/Development/dsteem/node_modules/browserify-aes/aes.js","cipher-base":"/Users/jnordberg/Development/dsteem/node_modules/cipher-base/index.js",inherits:"/Users/jnordberg/Development/dsteem/node_modules/inherits/inherits_browser.js","safe-buffer":"/Users/jnordberg/Development/dsteem/node_modules/safe-buffer/index.js"}],"/Users/jnordberg/Development/dsteem/node_modules/browserify-cipher/browser.js":[function(e,t,r){var n=e("evp_bytestokey"),o=e("browserify-aes/browser"),s=e("browserify-des"),i=e("browserify-des/modes"),a=e("browserify-aes/modes");function u(e,t,r){if(e=e.toLowerCase(),a[e])return o.createCipheriv(e,t,r);if(i[e])return new s({key:t,iv:r,mode:e});throw new TypeError("invalid suite type")}function d(e,t,r){if(e=e.toLowerCase(),a[e])return o.createDecipheriv(e,t,r);if(i[e])return new s({key:t,iv:r,mode:e,decrypt:!0});throw new TypeError("invalid suite type")}r.createCipher=r.Cipher=function(e,t){var r,o;if(e=e.toLowerCase(),a[e])r=a[e].key,o=a[e].iv;else{if(!i[e])throw new TypeError("invalid suite type");r=8*i[e].key,o=i[e].iv}var s=n(t,!1,r,o);return u(e,s.key,s.iv)},r.createCipheriv=r.Cipheriv=u,r.createDecipher=r.Decipher=function(e,t){var r,o;if(e=e.toLowerCase(),a[e])r=a[e].key,o=a[e].iv;else{if(!i[e])throw new TypeError("invalid suite type");r=8*i[e].key,o=i[e].iv}var s=n(t,!1,r,o);return d(e,s.key,s.iv)},r.createDecipheriv=r.Decipheriv=d,r.listCiphers=r.getCiphers=function(){return Object.keys(i).concat(o.getCiphers())}},{"browserify-aes/browser":"/Users/jnordberg/Development/dsteem/node_modules/browserify-aes/browser.js","browserify-aes/modes":"/Users/jnordberg/Development/dsteem/node_modules/browserify-aes/modes/index.js","browserify-des":"/Users/jnordberg/Development/dsteem/node_modules/browserify-des/index.js","browserify-des/modes":"/Users/jnordberg/Development/dsteem/node_modules/browserify-des/modes.js",evp_bytestokey:"/Users/jnordberg/Development/dsteem/node_modules/evp_bytestokey/index.js"}],"/Users/jnordberg/Development/dsteem/node_modules/browserify-des/index.js":[function(e,t,r){(function(r){var n=e("cipher-base"),o=e("des.js"),s=e("inherits"),i={"des-ede3-cbc":o.CBC.instantiate(o.EDE),"des-ede3":o.EDE,"des-ede-cbc":o.CBC.instantiate(o.EDE),"des-ede":o.EDE,"des-cbc":o.CBC.instantiate(o.DES),"des-ecb":o.DES};function a(e){n.call(this);var t,o=e.mode.toLowerCase(),s=i[o];t=e.decrypt?"decrypt":"encrypt";var a=e.key;"des-ede"!==o&&"des-ede-cbc"!==o||(a=r.concat([a,a.slice(0,8)])),this._des=s.create({key:a,iv:e.iv,type:t})}i.des=i["des-cbc"],i.des3=i["des-ede3-cbc"],t.exports=a,s(a,n),a.prototype._update=function(e){return new r(this._des.update(e))},a.prototype._final=function(){return new r(this._des.final())}}).call(this,e("buffer").Buffer)},{buffer:"/Users/jnordberg/Development/dsteem/node_modules/buffer/index.js","cipher-base":"/Users/jnordberg/Development/dsteem/node_modules/cipher-base/index.js","des.js":"/Users/jnordberg/Development/dsteem/node_modules/des.js/lib/des.js",inherits:"/Users/jnordberg/Development/dsteem/node_modules/inherits/inherits_browser.js"}],"/Users/jnordberg/Development/dsteem/node_modules/browserify-des/modes.js":[function(e,t,r){r["des-ecb"]={key:8,iv:0},r["des-cbc"]=r.des={key:8,iv:8},r["des-ede3-cbc"]=r.des3={key:24,iv:8},r["des-ede3"]={key:24,iv:0},r["des-ede-cbc"]={key:16,iv:8},r["des-ede"]={key:16,iv:0}},{}],"/Users/jnordberg/Development/dsteem/node_modules/browserify-rsa/index.js":[function(e,t,r){(function(r){var n=e("bn.js"),o=e("randombytes");function s(e,t){var o=function(e){var t=i(e);return{blinder:t.toRed(n.mont(e.modulus)).redPow(new n(e.publicExponent)).fromRed(),unblinder:t.invm(e.modulus)}}(t),s=t.modulus.byteLength(),a=(n.mont(t.modulus),new n(e).mul(o.blinder).umod(t.modulus)),u=a.toRed(n.mont(t.prime1)),d=a.toRed(n.mont(t.prime2)),l=t.coefficient,c=t.prime1,f=t.prime2,h=u.redPow(t.exponent1),p=d.redPow(t.exponent2);h=h.fromRed(),p=p.fromRed();var m=h.isub(p).imul(l).umod(c);return m.imul(f),p.iadd(m),new r(p.imul(o.unblinder).umod(t.modulus).toArray(!1,s))}function i(e){for(var t=e.modulus.byteLength(),r=new n(o(t));r.cmp(e.modulus)>=0||!r.umod(e.prime1)||!r.umod(e.prime2);)r=new n(o(t));return r}t.exports=s,s.getr=i}).call(this,e("buffer").Buffer)},{"bn.js":"/Users/jnordberg/Development/dsteem/node_modules/bn.js/lib/bn.js",buffer:"/Users/jnordberg/Development/dsteem/node_modules/buffer/index.js",randombytes:"/Users/jnordberg/Development/dsteem/node_modules/randombytes/browser.js"}],"/Users/jnordberg/Development/dsteem/node_modules/browserify-sign/algos.js":[function(e,t,r){t.exports=e("./browser/algorithms.json")},{"./browser/algorithms.json":"/Users/jnordberg/Development/dsteem/node_modules/browserify-sign/browser/algorithms.json"}],"/Users/jnordberg/Development/dsteem/node_modules/browserify-sign/browser/algorithms.json":[function(e,t,r){t.exports={sha224WithRSAEncryption:{sign:"rsa",hash:"sha224",id:"302d300d06096086480165030402040500041c"},"RSA-SHA224":{sign:"ecdsa/rsa",hash:"sha224",id:"302d300d06096086480165030402040500041c"},sha256WithRSAEncryption:{sign:"rsa",hash:"sha256",id:"3031300d060960864801650304020105000420"},"RSA-SHA256":{sign:"ecdsa/rsa",hash:"sha256",id:"3031300d060960864801650304020105000420"},sha384WithRSAEncryption:{sign:"rsa",hash:"sha384",id:"3041300d060960864801650304020205000430"},"RSA-SHA384":{sign:"ecdsa/rsa",hash:"sha384",id:"3041300d060960864801650304020205000430"},sha512WithRSAEncryption:{sign:"rsa",hash:"sha512",id:"3051300d060960864801650304020305000440"},"RSA-SHA512":{sign:"ecdsa/rsa",hash:"sha512",id:"3051300d060960864801650304020305000440"},"RSA-SHA1":{sign:"rsa",hash:"sha1",id:"3021300906052b0e03021a05000414"},"ecdsa-with-SHA1":{sign:"ecdsa",hash:"sha1",id:""},sha256:{sign:"ecdsa",hash:"sha256",id:""},sha224:{sign:"ecdsa",hash:"sha224",id:""},sha384:{sign:"ecdsa",hash:"sha384",id:""},sha512:{sign:"ecdsa",hash:"sha512",id:""},"DSA-SHA":{sign:"dsa",hash:"sha1",id:""},"DSA-SHA1":{sign:"dsa",hash:"sha1",id:""},DSA:{sign:"dsa",hash:"sha1",id:""},"DSA-WITH-SHA224":{sign:"dsa",hash:"sha224",id:""},"DSA-SHA224":{sign:"dsa",hash:"sha224",id:""},"DSA-WITH-SHA256":{sign:"dsa",hash:"sha256",id:""},"DSA-SHA256":{sign:"dsa",hash:"sha256",id:""},"DSA-WITH-SHA384":{sign:"dsa",hash:"sha384",id:""},"DSA-SHA384":{sign:"dsa",hash:"sha384",id:""},"DSA-WITH-SHA512":{sign:"dsa",hash:"sha512",id:""},"DSA-SHA512":{sign:"dsa",hash:"sha512",id:""},"DSA-RIPEMD160":{sign:"dsa",hash:"rmd160",id:""},ripemd160WithRSA:{sign:"rsa",hash:"rmd160",id:"3021300906052b2403020105000414"},"RSA-RIPEMD160":{sign:"rsa",hash:"rmd160",id:"3021300906052b2403020105000414"},md5WithRSAEncryption:{sign:"rsa",hash:"md5",id:"3020300c06082a864886f70d020505000410"},"RSA-MD5":{sign:"rsa",hash:"md5",id:"3020300c06082a864886f70d020505000410"}}},{}],"/Users/jnordberg/Development/dsteem/node_modules/browserify-sign/browser/curves.json":[function(e,t,r){t.exports={"1.3.132.0.10":"secp256k1","1.3.132.0.33":"p224","1.2.840.10045.3.1.1":"p192","1.2.840.10045.3.1.7":"p256","1.3.132.0.34":"p384","1.3.132.0.35":"p521"}},{}],"/Users/jnordberg/Development/dsteem/node_modules/browserify-sign/browser/index.js":[function(e,t,r){(function(r){var n=e("create-hash"),o=e("stream"),s=e("inherits"),i=e("./sign"),a=e("./verify"),u=e("./algorithms.json");function d(e){o.Writable.call(this);var t=u[e];if(!t)throw new Error("Unknown message digest");this._hashType=t.hash,this._hash=n(t.hash),this._tag=t.id,this._signType=t.sign}function l(e){o.Writable.call(this);var t=u[e];if(!t)throw new Error("Unknown message digest");this._hash=n(t.hash),this._tag=t.id,this._signType=t.sign}function c(e){return new d(e)}function f(e){return new l(e)}Object.keys(u).forEach(function(e){u[e].id=new r(u[e].id,"hex"),u[e.toLowerCase()]=u[e]}),s(d,o.Writable),d.prototype._write=function(e,t,r){this._hash.update(e),r()},d.prototype.update=function(e,t){return"string"==typeof e&&(e=new r(e,t)),this._hash.update(e),this},d.prototype.sign=function(e,t){this.end();var r=this._hash.digest(),n=i(r,e,this._hashType,this._signType,this._tag);return t?n.toString(t):n},s(l,o.Writable),l.prototype._write=function(e,t,r){this._hash.update(e),r()},l.prototype.update=function(e,t){return"string"==typeof e&&(e=new r(e,t)),this._hash.update(e),this},l.prototype.verify=function(e,t,n){"string"==typeof t&&(t=new r(t,n)),this.end();var o=this._hash.digest();return a(t,o,e,this._signType,this._tag)},t.exports={Sign:c,Verify:f,createSign:c,createVerify:f}}).call(this,e("buffer").Buffer)},{"./algorithms.json":"/Users/jnordberg/Development/dsteem/node_modules/browserify-sign/browser/algorithms.json","./sign":"/Users/jnordberg/Development/dsteem/node_modules/browserify-sign/browser/sign.js","./verify":"/Users/jnordberg/Development/dsteem/node_modules/browserify-sign/browser/verify.js",buffer:"/Users/jnordberg/Development/dsteem/node_modules/buffer/index.js","create-hash":"/Users/jnordberg/Development/dsteem/node_modules/create-hash/browser.js",inherits:"/Users/jnordberg/Development/dsteem/node_modules/inherits/inherits_browser.js",stream:"/Users/jnordberg/Development/dsteem/node_modules/stream-browserify/index.js"}],"/Users/jnordberg/Development/dsteem/node_modules/browserify-sign/browser/sign.js":[function(e,t,r){(function(r){var n=e("create-hmac"),o=e("browserify-rsa"),s=e("elliptic").ec,i=e("bn.js"),a=e("parse-asn1"),u=e("./curves.json");function d(e,t,o,s){if((e=new r(e.toArray())).length<t.byteLength()){var i=new r(t.byteLength()-e.length);i.fill(0),e=r.concat([i,e])}var a=o.length,u=function(e,t){e=(e=l(e,t)).mod(t);var n=new r(e.toArray());if(n.length<t.byteLength()){var o=new r(t.byteLength()-n.length);o.fill(0),n=r.concat([o,n])}return n}(o,t),d=new r(a);d.fill(1);var c=new r(a);return c.fill(0),c=n(s,c).update(d).update(new r([0])).update(e).update(u).digest(),d=n(s,c).update(d).digest(),{k:c=n(s,c).update(d).update(new r([1])).update(e).update(u).digest(),v:d=n(s,c).update(d).digest()}}function l(e,t){var r=new i(e),n=(e.length<<3)-t.bitLength();return n>0&&r.ishrn(n),r}function c(e,t,o){var s,i;do{for(s=new r(0);8*s.length<e.bitLength();)t.v=n(o,t.k).update(t.v).digest(),s=r.concat([s,t.v]);i=l(s,e),t.k=n(o,t.k).update(t.v).update(new r([0])).digest(),t.v=n(o,t.k).update(t.v).digest()}while(-1!==i.cmp(e));return i}function f(e,t,r,n){return e.toRed(i.mont(r)).redPow(t).fromRed().mod(n)}t.exports=function(e,t,n,h,p){var m=a(t);if(m.curve){if("ecdsa"!==h&&"ecdsa/rsa"!==h)throw new Error("wrong private key type");return function(e,t){var n=u[t.curve.join(".")];if(!n)throw new Error("unknown curve "+t.curve.join("."));var o=new s(n).keyFromPrivate(t.privateKey).sign(e);return new r(o.toDER())}(e,m)}if("dsa"===m.type){if("dsa"!==h)throw new Error("wrong private key type");return function(e,t,n){for(var o,s=t.params.priv_key,a=t.params.p,u=t.params.q,h=t.params.g,p=new i(0),m=l(e,u).mod(u),b=!1,g=d(s,u,e,n);!1===b;)p=f(h,o=c(u,g,n),a,u),0===(b=o.invm(u).imul(m.add(s.mul(p))).mod(u)).cmpn(0)&&(b=!1,p=new i(0));return function(e,t){e=e.toArray(),t=t.toArray(),128&e[0]&&(e=[0].concat(e)),128&t[0]&&(t=[0].concat(t));var n=[48,e.length+t.length+4,2,e.length];return n=n.concat(e,[2,t.length],t),new r(n)}(p,b)}(e,m,n)}if("rsa"!==h&&"ecdsa/rsa"!==h)throw new Error("wrong private key type");e=r.concat([p,e]);for(var b=m.modulus.byteLength(),g=[0,1];e.length+g.length+1<b;)g.push(255);g.push(0);for(var v=-1;++v<e.length;)g.push(e[v]);return o(g,m)},t.exports.getKey=d,t.exports.makeKey=c}).call(this,e("buffer").Buffer)},{"./curves.json":"/Users/jnordberg/Development/dsteem/node_modules/browserify-sign/browser/curves.json","bn.js":"/Users/jnordberg/Development/dsteem/node_modules/bn.js/lib/bn.js","browserify-rsa":"/Users/jnordberg/Development/dsteem/node_modules/browserify-rsa/index.js",buffer:"/Users/jnordberg/Development/dsteem/node_modules/buffer/index.js","create-hmac":"/Users/jnordberg/Development/dsteem/node_modules/create-hmac/browser.js",elliptic:"/Users/jnordberg/Development/dsteem/node_modules/elliptic/lib/elliptic.js","parse-asn1":"/Users/jnordberg/Development/dsteem/node_modules/parse-asn1/index.js"}],"/Users/jnordberg/Development/dsteem/node_modules/browserify-sign/browser/verify.js":[function(e,t,r){(function(r){var n=e("bn.js"),o=e("elliptic").ec,s=e("parse-asn1"),i=e("./curves.json");function a(e,t){if(e.cmpn(0)<=0)throw new Error("invalid sig");if(e.cmp(t)>=t)throw new Error("invalid sig")}t.exports=function(e,t,u,d,l){var c=s(u);if("ec"===c.type){if("ecdsa"!==d&&"ecdsa/rsa"!==d)throw new Error("wrong public key type");return function(e,t,r){var n=i[r.data.algorithm.curve.join(".")];if(!n)throw new Error("unknown curve "+r.data.algorithm.curve.join("."));return new o(n).verify(t,e,r.data.subjectPrivateKey.data)}(e,t,c)}if("dsa"===c.type){if("dsa"!==d)throw new Error("wrong public key type");return function(e,t,r){var o=r.data.p,i=r.data.q,u=r.data.g,d=r.data.pub_key,l=s.signature.decode(e,"der"),c=l.s,f=l.r;a(c,i),a(f,i);var h=n.mont(o),p=c.invm(i);return 0===u.toRed(h).redPow(new n(t).mul(p).mod(i)).fromRed().mul(d.toRed(h).redPow(f.mul(p).mod(i)).fromRed()).mod(o).mod(i).cmp(f)}(e,t,c)}if("rsa"!==d&&"ecdsa/rsa"!==d)throw new Error("wrong public key type");t=r.concat([l,t]);for(var f=c.modulus.byteLength(),h=[1],p=0;t.length+h.length+2<f;)h.push(255),p++;h.push(0);for(var m=-1;++m<t.length;)h.push(t[m]);h=new r(h);var b=n.mont(c.modulus);e=(e=new n(e).toRed(b)).redPow(new n(c.publicExponent)),e=new r(e.fromRed().toArray());var g=p<8?1:0;for(f=Math.min(e.length,h.length),e.length!==h.length&&(g=1),m=-1;++m<f;)g|=e[m]^h[m];return 0===g}}).call(this,e("buffer").Buffer)},{"./curves.json":"/Users/jnordberg/Development/dsteem/node_modules/browserify-sign/browser/curves.json","bn.js":"/Users/jnordberg/Development/dsteem/node_modules/bn.js/lib/bn.js",buffer:"/Users/jnordberg/Development/dsteem/node_modules/buffer/index.js",elliptic:"/Users/jnordberg/Development/dsteem/node_modules/elliptic/lib/elliptic.js","parse-asn1":"/Users/jnordberg/Development/dsteem/node_modules/parse-asn1/index.js"}],"/Users/jnordberg/Development/dsteem/node_modules/browserify/node_modules/string_decoder/lib/string_decoder.js":[function(e,t,r){"use strict";var n=e("safe-buffer").Buffer,o=n.isEncoding||function(e){switch((e=""+e)&&e.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}};function s(e){var t;switch(this.encoding=function(e){var t=function(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(e);if("string"!=typeof t&&(n.isEncoding===o||!o(e)))throw new Error("Unknown encoding: "+e);return t||e}(e),this.encoding){case"utf16le":this.text=u,this.end=d,t=4;break;case"utf8":this.fillLast=a,t=4;break;case"base64":this.text=l,this.end=c,t=3;break;default:return this.write=f,void(this.end=h)}this.lastNeed=0,this.lastTotal=0,this.lastChar=n.allocUnsafe(t)}function i(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:-1}function a(e){var t=this.lastTotal-this.lastNeed,r=function(e,t,r){if(128!=(192&t[0]))return e.lastNeed=0,"\ufffd".repeat(r);if(e.lastNeed>1&&t.length>1){if(128!=(192&t[1]))return e.lastNeed=1,"\ufffd".repeat(r+1);if(e.lastNeed>2&&t.length>2&&128!=(192&t[2]))return e.lastNeed=2,"\ufffd".repeat(r+2)}}(this,e,t);return void 0!==r?r:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function u(e,t){if((e.length-t)%2==0){var r=e.toString("utf16le",t);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function d(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("utf16le",0,this.lastTotal-this.lastNeed):t}function l(e,t){var r=(e.length-t)%3;return 0===r?e.toString("base64",t):(this.lastNeed=3-r,this.lastTotal=3,1===r?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-r))}function c(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function f(e){return e.toString(this.encoding)}function h(e){return e&&e.length?this.write(e):""}r.StringDecoder=s,s.prototype.write=function(e){if(0===e.length)return"";var t,r;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r<e.length?t?t+this.text(e,r):this.text(e,r):t||""},s.prototype.end=function(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"\ufffd".repeat(this.lastTotal-this.lastNeed):t},s.prototype.text=function(e,t){var r=function(e,t,r){var n=t.length-1;if(n<r)return 0;var o=i(t[n]);return o>=0?(o>0&&(e.lastNeed=o-1),o):--n<r?0:(o=i(t[n]))>=0?(o>0&&(e.lastNeed=o-2),o):--n<r?0:(o=i(t[n]))>=0?(o>0&&(2===o?o=0:e.lastNeed=o-3),o):0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=r;var n=e.length-(r-this.lastNeed);return e.copy(this.lastChar,0,n),e.toString("utf8",t,n)},s.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},{"safe-buffer":"/Users/jnordberg/Development/dsteem/node_modules/safe-buffer/index.js"}],"/Users/jnordberg/Development/dsteem/node_modules/bs58/index.js":[function(e,t,r){var n=e("base-x");t.exports=n("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz")},{"base-x":"/Users/jnordberg/Development/dsteem/node_modules/base-x/index.js"}],"/Users/jnordberg/Development/dsteem/node_modules/buffer-xor/index.js":[function(e,t,r){(function(e){t.exports=function(t,r){for(var n=Math.min(t.length,r.length),o=new e(n),s=0;s<n;++s)o[s]=t[s]^r[s];return o}}).call(this,e("buffer").Buffer)},{buffer:"/Users/jnordberg/Development/dsteem/node_modules/buffer/index.js"}],"/Users/jnordberg/Development/dsteem/node_modules/buffer/index.js":[function(e,t,r){"use strict";var n=e("base64-js"),o=e("ieee754");r.Buffer=a,r.SlowBuffer=function(e){return+e!=e&&(e=0),a.alloc(+e)},r.INSPECT_MAX_BYTES=50;var s=2147483647;function i(e){if(e>s)throw new RangeError("Invalid typed array length");var t=new Uint8Array(e);return t.__proto__=a.prototype,t}function a(e,t,r){if("number"==typeof e){if("string"==typeof t)throw new Error("If encoding is specified then the first argument must be a string");return l(e)}return u(e,t,r)}function u(e,t,r){if("number"==typeof e)throw new TypeError('"value" argument must not be a number');return B(e)?function(e,t,r){if(t<0||e.byteLength<t)throw new RangeError("'offset' is out of bounds");if(e.byteLength<t+(r||0))throw new RangeError("'length' is out of bounds");var n;return(n=void 0===t&&void 0===r?new Uint8Array(e):void 0===r?new Uint8Array(e,t):new Uint8Array(e,t,r)).__proto__=a.prototype,n}(e,t,r):"string"==typeof e?function(e,t){if("string"==typeof t&&""!==t||(t="utf8"),!a.isEncoding(t))throw new TypeError('"encoding" must be a valid string encoding');var r=0|h(e,t),n=i(r),o=n.write(e,t);return o!==r&&(n=n.slice(0,o)),n}(e,t):function(e){if(a.isBuffer(e)){var t=0|f(e.length),r=i(t);return 0===r.length?r:(e.copy(r,0,0,t),r)}if(e){if(V(e)||"length"in e)return"number"!=typeof e.length||F(e.length)?i(0):c(e);if("Buffer"===e.type&&Array.isArray(e.data))return c(e.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e)}function d(e){if("number"!=typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function l(e){return d(e),i(e<0?0:0|f(e))}function c(e){for(var t=e.length<0?0:0|f(e.length),r=i(t),n=0;n<t;n+=1)r[n]=255&e[n];return r}function f(e){if(e>=s)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s.toString(16)+" bytes");return 0|e}function h(e,t){if(a.isBuffer(e))return e.length;if(V(e)||B(e))return e.byteLength;"string"!=typeof e&&(e=""+e);var r=e.length;if(0===r)return 0;for(var n=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return N(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return R(e).length;default:if(n)return N(e).length;t=(""+t).toLowerCase(),n=!0}}function p(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function m(e,t,r,n,o){if(0===e.length)return-1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),F(r=+r)&&(r=o?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(o)return-1;r=e.length-1}else if(r<0){if(!o)return-1;r=0}if("string"==typeof t&&(t=a.from(t,n)),a.isBuffer(t))return 0===t.length?-1:b(e,t,r,n,o);if("number"==typeof t)return t&=255,"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):b(e,[t],r,n,o);throw new TypeError("val must be string, number or Buffer")}function b(e,t,r,n,o){var s,i=1,a=e.length,u=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return-1;i=2,a/=2,u/=2,r/=2}function d(e,t){return 1===i?e[t]:e.readUInt16BE(t*i)}if(o){var l=-1;for(s=r;s<a;s++)if(d(e,s)===d(t,-1===l?0:s-l)){if(-1===l&&(l=s),s-l+1===u)return l*i}else-1!==l&&(s-=s-l),l=-1}else for(r+u>a&&(r=a-u),s=r;s>=0;s--){for(var c=!0,f=0;f<u;f++)if(d(e,s+f)!==d(t,f)){c=!1;break}if(c)return s}return-1}function g(e,t,r,n){r=Number(r)||0;var o=e.length-r;n?(n=Number(n))>o&&(n=o):n=o;var s=t.length;if(s%2!=0)throw new TypeError("Invalid hex string");n>s/2&&(n=s/2);for(var i=0;i<n;++i){var a=parseInt(t.substr(2*i,2),16);if(F(a))return i;e[r+i]=a}return i}function v(e,t,r,n){return L(N(t,e.length-r),e,r,n)}function _(e,t,r,n){return L(function(e){for(var t=[],r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}(t),e,r,n)}function y(e,t,r,n){return _(e,t,r,n)}function w(e,t,r,n){return L(R(t),e,r,n)}function j(e,t,r,n){return L(function(e,t){for(var r,n,o=[],s=0;s<e.length&&!((t-=2)<0);++s)n=(r=e.charCodeAt(s))>>8,o.push(r%256),o.push(n);return o}(t,e.length-r),e,r,n)}function E(e,t,r){return n.fromByteArray(0===t&&r===e.length?e:e.slice(t,r))}function D(e,t,r){r=Math.min(e.length,r);for(var n=[],o=t;o<r;){var s,i,a,u,d=e[o],l=null,c=d>239?4:d>223?3:d>191?2:1;if(o+c<=r)switch(c){case 1:d<128&&(l=d);break;case 2:128==(192&(s=e[o+1]))&&(u=(31&d)<<6|63&s)>127&&(l=u);break;case 3:i=e[o+2],128==(192&(s=e[o+1]))&&128==(192&i)&&(u=(15&d)<<12|(63&s)<<6|63&i)>2047&&(u<55296||u>57343)&&(l=u);break;case 4:i=e[o+2],a=e[o+3],128==(192&(s=e[o+1]))&&128==(192&i)&&128==(192&a)&&(u=(15&d)<<18|(63&s)<<12|(63&i)<<6|63&a)>65535&&u<1114112&&(l=u)}null===l?(l=65533,c=1):l>65535&&(n.push((l-=65536)>>>10&1023|55296),l=56320|1023&l),n.push(l),o+=c}return function(e){var t=e.length;if(t<=x)return String.fromCharCode.apply(String,e);for(var r="",n=0;n<t;)r+=String.fromCharCode.apply(String,e.slice(n,n+=x));return r}(n)}r.kMaxLength=s,!(a.TYPED_ARRAY_SUPPORT=function(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()}catch(e){return!1}}())&&"undefined"!=typeof console&&console,"undefined"!=typeof Symbol&&Symbol.species&&a[Symbol.species]===a&&Object.defineProperty(a,Symbol.species,{value:null,configurable:!0,enumerable:!1,writable:!1}),a.poolSize=8192,a.from=function(e,t,r){return u(e,t,r)},a.prototype.__proto__=Uint8Array.prototype,a.__proto__=Uint8Array,a.alloc=function(e,t,r){return function(e,t,r){return d(e),e<=0?i(e):void 0!==t?"string"==typeof r?i(e).fill(t,r):i(e).fill(t):i(e)}(e,t,r)},a.allocUnsafe=function(e){return l(e)},a.allocUnsafeSlow=function(e){return l(e)},a.isBuffer=function(e){return null!=e&&!0===e._isBuffer},a.compare=function(e,t){if(!a.isBuffer(e)||!a.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var r=e.length,n=t.length,o=0,s=Math.min(r,n);o<s;++o)if(e[o]!==t[o]){r=e[o],n=t[o];break}return r<n?-1:n<r?1:0},a.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},a.concat=function(e,t){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return a.alloc(0);var r;if(void 0===t)for(t=0,r=0;r<e.length;++r)t+=e[r].length;var n=a.allocUnsafe(t),o=0;for(r=0;r<e.length;++r){var s=e[r];if(!a.isBuffer(s))throw new TypeError('"list" argument must be an Array of Buffers');s.copy(n,o),o+=s.length}return n},a.byteLength=h,a.prototype._isBuffer=!0,a.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)p(this,t,t+1);return this},a.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)p(this,t,t+3),p(this,t+1,t+2);return this},a.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)p(this,t,t+7),p(this,t+1,t+6),p(this,t+2,t+5),p(this,t+3,t+4);return this},a.prototype.toString=function(){var e=this.length;return 0===e?"":0===arguments.length?D(this,0,e):(function(e,t,r){var n=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return k(this,t,r);case"utf8":case"utf-8":return D(this,t,r);case"ascii":return S(this,t,r);case"latin1":case"binary":return U(this,t,r);case"base64":return E(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return A(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}).apply(this,arguments)},a.prototype.equals=function(e){if(!a.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===a.compare(this,e)},a.prototype.inspect=function(){var e="",t=r.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,t).match(/.{2}/g).join(" "),this.length>t&&(e+=" ... ")),"<Buffer "+e+">"},a.prototype.compare=function(e,t,r,n,o){if(!a.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===o&&(o=this.length),t<0||r>e.length||n<0||o>this.length)throw new RangeError("out of range index");if(n>=o&&t>=r)return 0;if(n>=o)return-1;if(t>=r)return 1;if(t>>>=0,r>>>=0,n>>>=0,o>>>=0,this===e)return 0;for(var s=o-n,i=r-t,u=Math.min(s,i),d=this.slice(n,o),l=e.slice(t,r),c=0;c<u;++c)if(d[c]!==l[c]){s=d[c],i=l[c];break}return s<i?-1:i<s?1:0},a.prototype.includes=function(e,t,r){return-1!==this.indexOf(e,t,r)},a.prototype.indexOf=function(e,t,r){return m(this,e,t,r,!0)},a.prototype.lastIndexOf=function(e,t,r){return m(this,e,t,r,!1)},a.prototype.write=function(e,t,r,n){if(void 0===t)n="utf8",r=this.length,t=0;else if(void 0===r&&"string"==typeof t)n=t,r=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t>>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}var o=this.length-t;if((void 0===r||r>o)&&(r=o),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var s=!1;;)switch(n){case"hex":return g(this,e,t,r);case"utf8":case"utf-8":return v(this,e,t,r);case"ascii":return _(this,e,t,r);case"latin1":case"binary":return y(this,e,t,r);case"base64":return w(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return j(this,e,t,r);default:if(s)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),s=!0}},a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var x=4096;function S(e,t,r){var n="";r=Math.min(e.length,r);for(var o=t;o<r;++o)n+=String.fromCharCode(127&e[o]);return n}function U(e,t,r){var n="";r=Math.min(e.length,r);for(var o=t;o<r;++o)n+=String.fromCharCode(e[o]);return n}function k(e,t,r){var n,o=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>o)&&(r=o);for(var s="",i=t;i<r;++i)s+=(n=e[i])<16?"0"+n.toString(16):n.toString(16);return s}function A(e,t,r){for(var n=e.slice(t,r),o="",s=0;s<n.length;s+=2)o+=String.fromCharCode(n[s]+256*n[s+1]);return o}function I(e,t,r){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>r)throw new RangeError("Trying to access beyond buffer length")}function C(e,t,r,n,o,s){if(!a.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>o||t<s)throw new RangeError('"value" argument is out of bounds');if(r+n>e.length)throw new RangeError("Index out of range")}function T(e,t,r,n,o,s){if(r+n>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function M(e,t,r,n,s){return t=+t,r>>>=0,s||T(e,0,r,4),o.write(e,t,r,n,23,4),r+4}function O(e,t,r,n,s){return t=+t,r>>>=0,s||T(e,0,r,8),o.write(e,t,r,n,52,8),r+8}a.prototype.slice=function(e,t){var r=this.length;e=~~e,t=void 0===t?r:~~t,e<0?(e+=r)<0&&(e=0):e>r&&(e=r),t<0?(t+=r)<0&&(t=0):t>r&&(t=r),t<e&&(t=e);var n=this.subarray(e,t);return n.__proto__=a.prototype,n},a.prototype.readUIntLE=function(e,t,r){e>>>=0,t>>>=0,r||I(e,t,this.length);for(var n=this[e],o=1,s=0;++s<t&&(o*=256);)n+=this[e+s]*o;return n},a.prototype.readUIntBE=function(e,t,r){e>>>=0,t>>>=0,r||I(e,t,this.length);for(var n=this[e+--t],o=1;t>0&&(o*=256);)n+=this[e+--t]*o;return n},a.prototype.readUInt8=function(e,t){return e>>>=0,t||I(e,1,this.length),this[e]},a.prototype.readUInt16LE=function(e,t){return e>>>=0,t||I(e,2,this.length),this[e]|this[e+1]<<8},a.prototype.readUInt16BE=function(e,t){return e>>>=0,t||I(e,2,this.length),this[e]<<8|this[e+1]},a.prototype.readUInt32LE=function(e,t){return e>>>=0,t||I(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},a.prototype.readUInt32BE=function(e,t){return e>>>=0,t||I(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},a.prototype.readIntLE=function(e,t,r){e>>>=0,t>>>=0,r||I(e,t,this.length);for(var n=this[e],o=1,s=0;++s<t&&(o*=256);)n+=this[e+s]*o;return n>=(o*=128)&&(n-=Math.pow(2,8*t)),n},a.prototype.readIntBE=function(e,t,r){e>>>=0,t>>>=0,r||I(e,t,this.length);for(var n=t,o=1,s=this[e+--n];n>0&&(o*=256);)s+=this[e+--n]*o;return s>=(o*=128)&&(s-=Math.pow(2,8*t)),s},a.prototype.readInt8=function(e,t){return e>>>=0,t||I(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},a.prototype.readInt16LE=function(e,t){e>>>=0,t||I(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},a.prototype.readInt16BE=function(e,t){e>>>=0,t||I(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},a.prototype.readInt32LE=function(e,t){return e>>>=0,t||I(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},a.prototype.readInt32BE=function(e,t){return e>>>=0,t||I(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},a.prototype.readFloatLE=function(e,t){return e>>>=0,t||I(e,4,this.length),o.read(this,e,!0,23,4)},a.prototype.readFloatBE=function(e,t){return e>>>=0,t||I(e,4,this.length),o.read(this,e,!1,23,4)},a.prototype.readDoubleLE=function(e,t){return e>>>=0,t||I(e,8,this.length),o.read(this,e,!0,52,8)},a.prototype.readDoubleBE=function(e,t){return e>>>=0,t||I(e,8,this.length),o.read(this,e,!1,52,8)},a.prototype.writeUIntLE=function(e,t,r,n){e=+e,t>>>=0,r>>>=0,n||C(this,e,t,r,Math.pow(2,8*r)-1,0);var o=1,s=0;for(this[t]=255&e;++s<r&&(o*=256);)this[t+s]=e/o&255;return t+r},a.prototype.writeUIntBE=function(e,t,r,n){e=+e,t>>>=0,r>>>=0,n||C(this,e,t,r,Math.pow(2,8*r)-1,0);var o=r-1,s=1;for(this[t+o]=255&e;--o>=0&&(s*=256);)this[t+o]=e/s&255;return t+r},a.prototype.writeUInt8=function(e,t,r){return e=+e,t>>>=0,r||C(this,e,t,1,255,0),this[t]=255&e,t+1},a.prototype.writeUInt16LE=function(e,t,r){return e=+e,t>>>=0,r||C(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},a.prototype.writeUInt16BE=function(e,t,r){return e=+e,t>>>=0,r||C(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},a.prototype.writeUInt32LE=function(e,t,r){return e=+e,t>>>=0,r||C(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},a.prototype.writeUInt32BE=function(e,t,r){return e=+e,t>>>=0,r||C(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},a.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t>>>=0,!n){var o=Math.pow(2,8*r-1);C(this,e,t,r,o-1,-o)}var s=0,i=1,a=0;for(this[t]=255&e;++s<r&&(i*=256);)e<0&&0===a&&0!==this[t+s-1]&&(a=1),this[t+s]=(e/i>>0)-a&255;return t+r},a.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t>>>=0,!n){var o=Math.pow(2,8*r-1);C(this,e,t,r,o-1,-o)}var s=r-1,i=1,a=0;for(this[t+s]=255&e;--s>=0&&(i*=256);)e<0&&0===a&&0!==this[t+s+1]&&(a=1),this[t+s]=(e/i>>0)-a&255;return t+r},a.prototype.writeInt8=function(e,t,r){return e=+e,t>>>=0,r||C(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},a.prototype.writeInt16LE=function(e,t,r){return e=+e,t>>>=0,r||C(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},a.prototype.writeInt16BE=function(e,t,r){return e=+e,t>>>=0,r||C(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},a.prototype.writeInt32LE=function(e,t,r){return e=+e,t>>>=0,r||C(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},a.prototype.writeInt32BE=function(e,t,r){return e=+e,t>>>=0,r||C(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},a.prototype.writeFloatLE=function(e,t,r){return M(this,e,t,!0,r)},a.prototype.writeFloatBE=function(e,t,r){return M(this,e,t,!1,r)},a.prototype.writeDoubleLE=function(e,t,r){return O(this,e,t,!0,r)},a.prototype.writeDoubleBE=function(e,t,r){return O(this,e,t,!1,r)},a.prototype.copy=function(e,t,r,n){if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n<r&&(n=r),n===r)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t<n-r&&(n=e.length-t+r);var o,s=n-r;if(this===e&&r<t&&t<n)for(o=s-1;o>=0;--o)e[o+t]=this[o+r];else if(s<1e3)for(o=0;o<s;++o)e[o+t]=this[o+r];else Uint8Array.prototype.set.call(e,this.subarray(r,r+s),t);return s},a.prototype.fill=function(e,t,r,n){if("string"==typeof e){if("string"==typeof t?(n=t,t=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),1===e.length){var o=e.charCodeAt(0);o<256&&(e=o)}if(void 0!==n&&"string"!=typeof n)throw new TypeError("encoding must be a string");if("string"==typeof n&&!a.isEncoding(n))throw new TypeError("Unknown encoding: "+n)}else"number"==typeof e&&(e&=255);if(t<0||this.length<t||this.length<r)throw new RangeError("Out of range index");if(r<=t)return this;var s;if(t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(s=t;s<r;++s)this[s]=e;else{var i=a.isBuffer(e)?e:new a(e,n),u=i.length;for(s=0;s<r-t;++s)this[s+t]=i[s%u]}return this};var P=/[^+/0-9A-Za-z-_]/g;function N(e,t){var r;t=t||1/0;for(var n=e.length,o=null,s=[],i=0;i<n;++i){if((r=e.charCodeAt(i))>55295&&r<57344){if(!o){if(r>56319){(t-=3)>-1&&s.push(239,191,189);continue}if(i+1===n){(t-=3)>-1&&s.push(239,191,189);continue}o=r;continue}if(r<56320){(t-=3)>-1&&s.push(239,191,189),o=r;continue}r=65536+(o-55296<<10|r-56320)}else o&&(t-=3)>-1&&s.push(239,191,189);if(o=null,r<128){if((t-=1)<0)break;s.push(r)}else if(r<2048){if((t-=2)<0)break;s.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;s.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;s.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return s}function R(e){return n.toByteArray(function(e){if((e=e.trim().replace(P,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function L(e,t,r,n){for(var o=0;o<n&&!(o+r>=t.length||o>=e.length);++o)t[o+r]=e[o];return o}function B(e){return e instanceof ArrayBuffer||null!=e&&null!=e.constructor&&"ArrayBuffer"===e.constructor.name&&"number"==typeof e.byteLength}function V(e){return"function"==typeof ArrayBuffer.isView&&ArrayBuffer.isView(e)}function F(e){return e!=e}},{"base64-js":"/Users/jnordberg/Development/dsteem/node_modules/base64-js/index.js",ieee754:"/Users/jnordberg/Development/dsteem/node_modules/ieee754/index.js"}],"/Users/jnordberg/Development/dsteem/node_modules/bytebuffer/dist/bytebuffer.js":[function(e,t,r){var n;n=function(e){"use strict";var t=function(e,r,o){if(void 0===e&&(e=t.DEFAULT_CAPACITY),void 0===r&&(r=t.DEFAULT_ENDIAN),void 0===o&&(o=t.DEFAULT_NOASSERT),!o){if((e|=0)<0)throw RangeError("Illegal capacity");r=!!r,o=!!o}this.buffer=0===e?n:new ArrayBuffer(e),this.view=0===e?null:new Uint8Array(this.buffer),this.offset=0,this.markedOffset=-1,this.limit=e,this.littleEndian=r,this.noAssert=o};t.VERSION="5.0.1",t.LITTLE_ENDIAN=!0,t.BIG_ENDIAN=!1,t.DEFAULT_CAPACITY=16,t.DEFAULT_ENDIAN=t.BIG_ENDIAN,t.DEFAULT_NOASSERT=!1,t.Long=e||null;var r=t.prototype;Object.defineProperty(r,"__isByteBuffer__",{value:!0,enumerable:!1,configurable:!1});var n=new ArrayBuffer(0),o=String.fromCharCode;function s(e){var t=0;return function(){return t<e.length?e.charCodeAt(t++):null}}function i(){var e=[],t=[];return function(){if(0===arguments.length)return t.join("")+o.apply(String,e);e.length+arguments.length>1024&&(t.push(o.apply(String,e)),e.length=0),Array.prototype.push.apply(e,arguments)}}function a(e,t,r,n,o){var s,i,a=8*o-n-1,u=(1<<a)-1,d=u>>1,l=-7,c=r?o-1:0,f=r?-1:1,h=e[t+c];for(c+=f,s=h&(1<<-l)-1,h>>=-l,l+=a;l>0;s=256*s+e[t+c],c+=f,l-=8);for(i=s&(1<<-l)-1,s>>=-l,l+=n;l>0;i=256*i+e[t+c],c+=f,l-=8);if(0===s)s=1-d;else{if(s===u)return i?NaN:1/0*(h?-1:1);i+=Math.pow(2,n),s-=d}return(h?-1:1)*i*Math.pow(2,s-n)}function u(e,t,r,n,o,s){var i,a,u,d=8*s-o-1,l=(1<<d)-1,c=l>>1,f=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,h=n?0:s-1,p=n?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||1/0===t?(a=isNaN(t)?1:0,i=l):(i=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-i))<1&&(i--,u*=2),(t+=i+c>=1?f/u:f*Math.pow(2,1-c))*u>=2&&(i++,u/=2),i+c>=l?(a=0,i=l):i+c>=1?(a=(t*u-1)*Math.pow(2,o),i+=c):(a=t*Math.pow(2,c-1)*Math.pow(2,o),i=0));o>=8;e[r+h]=255&a,h+=p,a/=256,o-=8);for(i=i<<o|a,d+=o;d>0;e[r+h]=255&i,h+=p,i/=256,d-=8);e[r+h-p]|=128*m}t.accessor=function(){return Uint8Array},t.allocate=function(e,r,n){return new t(e,r,n)},t.concat=function(e,r,n,o){"boolean"!=typeof r&&"string"==typeof r||(o=n,n=r,r=void 0);for(var s,i=0,a=0,u=e.length;a<u;++a)t.isByteBuffer(e[a])||(e[a]=t.wrap(e[a],r)),(s=e[a].limit-e[a].offset)>0&&(i+=s);if(0===i)return new t(0,n,o);var d,l=new t(i,n,o);for(a=0;a<u;)(s=(d=e[a++]).limit-d.offset)<=0||(l.view.set(d.view.subarray(d.offset,d.limit),l.offset),l.offset+=s);return l.limit=l.offset,l.offset=0,l},t.isByteBuffer=function(e){return!0===(e&&e.__isByteBuffer__)},t.type=function(){return ArrayBuffer},t.wrap=function(e,n,o,s){if("string"!=typeof n&&(s=o,o=n,n=void 0),"string"==typeof e)switch(void 0===n&&(n="utf8"),n){case"base64":return t.fromBase64(e,o);case"hex":return t.fromHex(e,o);case"binary":return t.fromBinary(e,o);case"utf8":return t.fromUTF8(e,o);case"debug":return t.fromDebug(e,o);default:throw Error("Unsupported encoding: "+n)}if(null===e||"object"!=typeof e)throw TypeError("Illegal buffer");var i;if(t.isByteBuffer(e))return(i=r.clone.call(e)).markedOffset=-1,i;if(e instanceof Uint8Array)i=new t(0,o,s),e.length>0&&(i.buffer=e.buffer,i.offset=e.byteOffset,i.limit=e.byteOffset+e.byteLength,i.view=new Uint8Array(e.buffer));else if(e instanceof ArrayBuffer)i=new t(0,o,s),e.byteLength>0&&(i.buffer=e,i.offset=0,i.limit=e.byteLength,i.view=e.byteLength>0?new Uint8Array(e):null);else{if("[object Array]"!==Object.prototype.toString.call(e))throw TypeError("Illegal buffer");(i=new t(e.length,o,s)).limit=e.length;for(var a=0;a<e.length;++a)i.view[a]=e[a]}return i},r.writeBitSet=function(e,t){var r=void 0===t;if(r&&(t=this.offset),!this.noAssert){if(!(e instanceof Array))throw TypeError("Illegal BitSet: Not an array");if("number"!=typeof t||t%1!=0)throw TypeError("Illegal offset: "+t+" (not an integer)");if((t>>>=0)<0||t+0>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+t+" (+0) <= "+this.buffer.byteLength)}var n,o=t,s=e.length,i=s>>3,a=0;for(t+=this.writeVarint32(s,t);i--;)n=1&!!e[a++]|(1&!!e[a++])<<1|(1&!!e[a++])<<2|(1&!!e[a++])<<3|(1&!!e[a++])<<4|(1&!!e[a++])<<5|(1&!!e[a++])<<6|(1&!!e[a++])<<7,this.writeByte(n,t++);if(a<s){var u=0;for(n=0;a<s;)n|=(1&!!e[a++])<<u++;this.writeByte(n,t++)}return r?(this.offset=t,this):t-o},r.readBitSet=function(e){var t=void 0===e;t&&(e=this.offset);var r,n=this.readVarint32(e),o=n.value,s=o>>3,i=0,a=[];for(e+=n.length;s--;)r=this.readByte(e++),a[i++]=!!(1&r),a[i++]=!!(2&r),a[i++]=!!(4&r),a[i++]=!!(8&r),a[i++]=!!(16&r),a[i++]=!!(32&r),a[i++]=!!(64&r),a[i++]=!!(128&r);if(i<o){var u=0;for(r=this.readByte(e++);i<o;)a[i++]=!!(r>>u++&1)}return t&&(this.offset=e),a},r.readBytes=function(e,t){var r=void 0===t;if(r&&(t=this.offset),!this.noAssert){if("number"!=typeof t||t%1!=0)throw TypeError("Illegal offset: "+t+" (not an integer)");if((t>>>=0)<0||t+e>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+t+" (+"+e+") <= "+this.buffer.byteLength)}var n=this.slice(t,t+e);return r&&(this.offset+=e),n},r.writeBytes=r.append,r.writeInt8=function(e,t){var r=void 0===t;if(r&&(t=this.offset),!this.noAssert){if("number"!=typeof e||e%1!=0)throw TypeError("Illegal value: "+e+" (not an integer)");if(e|=0,"number"!=typeof t||t%1!=0)throw TypeError("Illegal offset: "+t+" (not an integer)");if((t>>>=0)<0||t+0>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+t+" (+0) <= "+this.buffer.byteLength)}var n=this.buffer.byteLength;return(t+=1)>n&&this.resize((n*=2)>t?n:t),this.view[t-=1]=e,r&&(this.offset+=1),this},r.writeByte=r.writeInt8,r.readInt8=function(e){var t=void 0===e;if(t&&(e=this.offset),!this.noAssert){if("number"!=typeof e||e%1!=0)throw TypeError("Illegal offset: "+e+" (not an integer)");if((e>>>=0)<0||e+1>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+e+" (+1) <= "+this.buffer.byteLength)}var r=this.view[e];return 128==(128&r)&&(r=-(255-r+1)),t&&(this.offset+=1),r},r.readByte=r.readInt8,r.writeUint8=function(e,t){var r=void 0===t;if(r&&(t=this.offset),!this.noAssert){if("number"!=typeof e||e%1!=0)throw TypeError("Illegal value: "+e+" (not an integer)");if(e>>>=0,"number"!=typeof t||t%1!=0)throw TypeError("Illegal offset: "+t+" (not an integer)");if((t>>>=0)<0||t+0>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+t+" (+0) <= "+this.buffer.byteLength)}var n=this.buffer.byteLength;return(t+=1)>n&&this.resize((n*=2)>t?n:t),this.view[t-=1]=e,r&&(this.offset+=1),this},r.writeUInt8=r.writeUint8,r.readUint8=function(e){var t=void 0===e;if(t&&(e=this.offset),!this.noAssert){if("number"!=typeof e||e%1!=0)throw TypeError("Illegal offset: "+e+" (not an integer)");if((e>>>=0)<0||e+1>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+e+" (+1) <= "+this.buffer.byteLength)}var r=this.view[e];return t&&(this.offset+=1),r},r.readUInt8=r.readUint8,r.writeInt16=function(e,t){var r=void 0===t;if(r&&(t=this.offset),!this.noAssert){if("number"!=typeof e||e%1!=0)throw TypeError("Illegal value: "+e+" (not an integer)");if(e|=0,"number"!=typeof t||t%1!=0)throw TypeError("Illegal offset: "+t+" (not an integer)");if((t>>>=0)<0||t+0>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+t+" (+0) <= "+this.buffer.byteLength)}var n=this.buffer.byteLength;return(t+=2)>n&&this.resize((n*=2)>t?n:t),t-=2,this.littleEndian?(this.view[t+1]=(65280&e)>>>8,this.view[t]=255&e):(this.view[t]=(65280&e)>>>8,this.view[t+1]=255&e),r&&(this.offset+=2),this},r.writeShort=r.writeInt16,r.readInt16=function(e){var t=void 0===e;if(t&&(e=this.offset),!this.noAssert){if("number"!=typeof e||e%1!=0)throw TypeError("Illegal offset: "+e+" (not an integer)");if((e>>>=0)<0||e+2>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+e+" (+2) <= "+this.buffer.byteLength)}var r=0;return this.littleEndian?(r=this.view[e],r|=this.view[e+1]<<8):(r=this.view[e]<<8,r|=this.view[e+1]),32768==(32768&r)&&(r=-(65535-r+1)),t&&(this.offset+=2),r},r.readShort=r.readInt16,r.writeUint16=function(e,t){var r=void 0===t;if(r&&(t=this.offset),!this.noAssert){if("number"!=typeof e||e%1!=0)throw TypeError("Illegal value: "+e+" (not an integer)");if(e>>>=0,"number"!=typeof t||t%1!=0)throw TypeError("Illegal offset: "+t+" (not an integer)");if((t>>>=0)<0||t+0>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+t+" (+0) <= "+this.buffer.byteLength)}var n=this.buffer.byteLength;return(t+=2)>n&&this.resize((n*=2)>t?n:t),t-=2,this.littleEndian?(this.view[t+1]=(65280&e)>>>8,this.view[t]=255&e):(this.view[t]=(65280&e)>>>8,this.view[t+1]=255&e),r&&(this.offset+=2),this},r.writeUInt16=r.writeUint16,r.readUint16=function(e){var t=void 0===e;if(t&&(e=this.offset),!this.noAssert){if("number"!=typeof e||e%1!=0)throw TypeError("Illegal offset: "+e+" (not an integer)");if((e>>>=0)<0||e+2>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+e+" (+2) <= "+this.buffer.byteLength)}var r=0;return this.littleEndian?(r=this.view[e],r|=this.view[e+1]<<8):(r=this.view[e]<<8,r|=this.view[e+1]),t&&(this.offset+=2),r},r.readUInt16=r.readUint16,r.writeInt32=function(e,t){var r=void 0===t;if(r&&(t=this.offset),!this.noAssert){if("number"!=typeof e||e%1!=0)throw TypeError("Illegal value: "+e+" (not an integer)");if(e|=0,"number"!=typeof t||t%1!=0)throw TypeError("Illegal offset: "+t+" (not an integer)");if((t>>>=0)<0||t+0>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+t+" (+0) <= "+this.buffer.byteLength)}var n=this.buffer.byteLength;return(t+=4)>n&&this.resize((n*=2)>t?n:t),t-=4,this.littleEndian?(this.view[t+3]=e>>>24&255,this.view[t+2]=e>>>16&255,this.view[t+1]=e>>>8&255,this.view[t]=255&e):(this.view[t]=e>>>24&255,this.view[t+1]=e>>>16&255,this.view[t+2]=e>>>8&255,this.view[t+3]=255&e),r&&(this.offset+=4),this},r.writeInt=r.writeInt32,r.readInt32=function(e){var t=void 0===e;if(t&&(e=this.offset),!this.noAssert){if("number"!=typeof e||e%1!=0)throw TypeError("Illegal offset: "+e+" (not an integer)");if((e>>>=0)<0||e+4>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+e+" (+4) <= "+this.buffer.byteLength)}var r=0;return this.littleEndian?(r=this.view[e+2]<<16,r|=this.view[e+1]<<8,r|=this.view[e],r+=this.view[e+3]<<24>>>0):(r=this.view[e+1]<<16,r|=this.view[e+2]<<8,r|=this.view[e+3],r+=this.view[e]<<24>>>0),r|=0,t&&(this.offset+=4),r},r.readInt=r.readInt32,r.writeUint32=function(e,t){var r=void 0===t;if(r&&(t=this.offset),!this.noAssert){if("number"!=typeof e||e%1!=0)throw TypeError("Illegal value: "+e+" (not an integer)");if(e>>>=0,"number"!=typeof t||t%1!=0)throw TypeError("Illegal offset: "+t+" (not an integer)");if((t>>>=0)<0||t+0>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+t+" (+0) <= "+this.buffer.byteLength)}var n=this.buffer.byteLength;return(t+=4)>n&&this.resize((n*=2)>t?n:t),t-=4,this.littleEndian?(this.view[t+3]=e>>>24&255,this.view[t+2]=e>>>16&255,this.view[t+1]=e>>>8&255,this.view[t]=255&e):(this.view[t]=e>>>24&255,this.view[t+1]=e>>>16&255,this.view[t+2]=e>>>8&255,this.view[t+3]=255&e),r&&(this.offset+=4),this},r.writeUInt32=r.writeUint32,r.readUint32=function(e){var t=void 0===e;if(t&&(e=this.offset),!this.noAssert){if("number"!=typeof e||e%1!=0)throw TypeError("Illegal offset: "+e+" (not an integer)");if((e>>>=0)<0||e+4>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+e+" (+4) <= "+this.buffer.byteLength)}var r=0;return this.littleEndian?(r=this.view[e+2]<<16,r|=this.view[e+1]<<8,r|=this.view[e],r+=this.view[e+3]<<24>>>0):(r=this.view[e+1]<<16,r|=this.view[e+2]<<8,r|=this.view[e+3],r+=this.view[e]<<24>>>0),t&&(this.offset+=4),r},r.readUInt32=r.readUint32,e&&(r.writeInt64=function(t,r){var n=void 0===r;if(n&&(r=this.offset),!this.noAssert){if("number"==typeof t)t=e.fromNumber(t);else if("string"==typeof t)t=e.fromString(t);else if(!(t&&t instanceof e))throw TypeError("Illegal value: "+t+" (not an integer or Long)");if("number"!=typeof r||r%1!=0)throw TypeError("Illegal offset: "+r+" (not an integer)");if((r>>>=0)<0||r+0>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+r+" (+0) <= "+this.buffer.byteLength)}"number"==typeof t?t=e.fromNumber(t):"string"==typeof t&&(t=e.fromString(t));var o=this.buffer.byteLength;(r+=8)>o&&this.resize((o*=2)>r?o:r),r-=8;var s=t.low,i=t.high;return this.littleEndian?(this.view[r+3]=s>>>24&255,this.view[r+2]=s>>>16&255,this.view[r+1]=s>>>8&255,this.view[r]=255&s,this.view[(r+=4)+3]=i>>>24&255,this.view[r+2]=i>>>16&255,this.view[r+1]=i>>>8&255,this.view[r]=255&i):(this.view[r]=i>>>24&255,this.view[r+1]=i>>>16&255,this.view[r+2]=i>>>8&255,this.view[r+3]=255&i,this.view[r+=4]=s>>>24&255,this.view[r+1]=s>>>16&255,this.view[r+2]=s>>>8&255,this.view[r+3]=255&s),n&&(this.offset+=8),this},r.writeLong=r.writeInt64,r.readInt64=function(t){var r=void 0===t;if(r&&(t=this.offset),!this.noAssert){if("number"!=typeof t||t%1!=0)throw TypeError("Illegal offset: "+t+" (not an integer)");if((t>>>=0)<0||t+8>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+t+" (+8) <= "+this.buffer.byteLength)}var n=0,o=0;this.littleEndian?(n=this.view[t+2]<<16,n|=this.view[t+1]<<8,n|=this.view[t],n+=this.view[t+3]<<24>>>0,o=this.view[(t+=4)+2]<<16,o|=this.view[t+1]<<8,o|=this.view[t],o+=this.view[t+3]<<24>>>0):(o=this.view[t+1]<<16,o|=this.view[t+2]<<8,o|=this.view[t+3],o+=this.view[t]<<24>>>0,n=this.view[(t+=4)+1]<<16,n|=this.view[t+2]<<8,n|=this.view[t+3],n+=this.view[t]<<24>>>0);var s=new e(n,o,!1);return r&&(this.offset+=8),s},r.readLong=r.readInt64,r.writeUint64=function(t,r){var n=void 0===r;if(n&&(r=this.offset),!this.noAssert){if("number"==typeof t)t=e.fromNumber(t);else if("string"==typeof t)t=e.fromString(t);else if(!(t&&t instanceof e))throw TypeError("Illegal value: "+t+" (not an integer or Long)");if("number"!=typeof r||r%1!=0)throw TypeError("Illegal offset: "+r+" (not an integer)");if((r>>>=0)<0||r+0>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+r+" (+0) <= "+this.buffer.byteLength)}"number"==typeof t?t=e.fromNumber(t):"string"==typeof t&&(t=e.fromString(t));var o=this.buffer.byteLength;(r+=8)>o&&this.resize((o*=2)>r?o:r),r-=8;var s=t.low,i=t.high;return this.littleEndian?(this.view[r+3]=s>>>24&255,this.view[r+2]=s>>>16&255,this.view[r+1]=s>>>8&255,this.view[r]=255&s,this.view[(r+=4)+3]=i>>>24&255,this.view[r+2]=i>>>16&255,this.view[r+1]=i>>>8&255,this.view[r]=255&i):(this.view[r]=i>>>24&255,this.view[r+1]=i>>>16&255,this.view[r+2]=i>>>8&255,this.view[r+3]=255&i,this.view[r+=4]=s>>>24&255,this.view[r+1]=s>>>16&255,this.view[r+2]=s>>>8&255,this.view[r+3]=255&s),n&&(this.offset+=8),this},r.writeUInt64=r.writeUint64,r.readUint64=function(t){var r=void 0===t;if(r&&(t=this.offset),!this.noAssert){if("number"!=typeof t||t%1!=0)throw TypeError("Illegal offset: "+t+" (not an integer)");if((t>>>=0)<0||t+8>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+t+" (+8) <= "+this.buffer.byteLength)}var n=0,o=0;this.littleEndian?(n=this.view[t+2]<<16,n|=this.view[t+1]<<8,n|=this.view[t],n+=this.view[t+3]<<24>>>0,o=this.view[(t+=4)+2]<<16,o|=this.view[t+1]<<8,o|=this.view[t],o+=this.view[t+3]<<24>>>0):(o=this.view[t+1]<<16,o|=this.view[t+2]<<8,o|=this.view[t+3],o+=this.view[t]<<24>>>0,n=this.view[(t+=4)+1]<<16,n|=this.view[t+2]<<8,n|=this.view[t+3],n+=this.view[t]<<24>>>0);var s=new e(n,o,!0);return r&&(this.offset+=8),s},r.readUInt64=r.readUint64),r.writeFloat32=function(e,t){var r=void 0===t;if(r&&(t=this.offset),!this.noAssert){if("number"!=typeof e)throw TypeError("Illegal value: "+e+" (not a number)");if("number"!=typeof t||t%1!=0)throw TypeError("Illegal offset: "+t+" (not an integer)");if((t>>>=0)<0||t+0>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+t+" (+0) <= "+this.buffer.byteLength)}var n=this.buffer.byteLength;return(t+=4)>n&&this.resize((n*=2)>t?n:t),u(this.view,e,t-=4,this.littleEndian,23,4),r&&(this.offset+=4),this},r.writeFloat=r.writeFloat32,r.readFloat32=function(e){var t=void 0===e;if(t&&(e=this.offset),!this.noAssert){if("number"!=typeof e||e%1!=0)throw TypeError("Illegal offset: "+e+" (not an integer)");if((e>>>=0)<0||e+4>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+e+" (+4) <= "+this.buffer.byteLength)}var r=a(this.view,e,this.littleEndian,23,4);return t&&(this.offset+=4),r},r.readFloat=r.readFloat32,r.writeFloat64=function(e,t){var r=void 0===t;if(r&&(t=this.offset),!this.noAssert){if("number"!=typeof e)throw TypeError("Illegal value: "+e+" (not a number)");if("number"!=typeof t||t%1!=0)throw TypeError("Illegal offset: "+t+" (not an integer)");if((t>>>=0)<0||t+0>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+t+" (+0) <= "+this.buffer.byteLength)}var n=this.buffer.byteLength;return(t+=8)>n&&this.resize((n*=2)>t?n:t),u(this.view,e,t-=8,this.littleEndian,52,8),r&&(this.offset+=8),this},r.writeDouble=r.writeFloat64,r.readFloat64=function(e){var t=void 0===e;if(t&&(e=this.offset),!this.noAssert){if("number"!=typeof e||e%1!=0)throw TypeError("Illegal offset: "+e+" (not an integer)");if((e>>>=0)<0||e+8>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+e+" (+8) <= "+this.buffer.byteLength)}var r=a(this.view,e,this.littleEndian,52,8);return t&&(this.offset+=8),r},r.readDouble=r.readFloat64,t.MAX_VARINT32_BYTES=5,t.calculateVarint32=function(e){return(e>>>=0)<128?1:e<16384?2:e<1<<21?3:e<1<<28?4:5},t.zigZagEncode32=function(e){return((e|=0)<<1^e>>31)>>>0},t.zigZagDecode32=function(e){return e>>>1^-(1&e)|0},r.writeVarint32=function(e,r){var n=void 0===r;if(n&&(r=this.offset),!this.noAssert){if("number"!=typeof e||e%1!=0)throw TypeError("Illegal value: "+e+" (not an integer)");if(e|=0,"number"!=typeof r||r%1!=0)throw TypeError("Illegal offset: "+r+" (not an integer)");if((r>>>=0)<0||r+0>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+r+" (+0) <= "+this.buffer.byteLength)}var o=t.calculateVarint32(e),s=this.buffer.byteLength;for((r+=o)>s&&this.resize((s*=2)>r?s:r),r-=o,e>>>=0;e>=128;)this.view[r++]=127&e|128,e>>>=7;return this.view[r++]=e,n?(this.offset=r,this):o},r.writeVarint32ZigZag=function(e,r){return this.writeVarint32(t.zigZagEncode32(e),r)},r.readVarint32=function(e){var t=void 0===e;if(t&&(e=this.offset),!this.noAssert){if("number"!=typeof e||e%1!=0)throw TypeError("Illegal offset: "+e+" (not an integer)");if((e>>>=0)<0||e+1>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+e+" (+1) <= "+this.buffer.byteLength)}var r,n=0,o=0;do{if(!this.noAssert&&e>this.limit){var s=Error("Truncated");throw s.truncated=!0,s}r=this.view[e++],n<5&&(o|=(127&r)<<7*n),++n}while(0!=(128&r));return o|=0,t?(this.offset=e,o):{value:o,length:n}},r.readVarint32ZigZag=function(e){var r=this.readVarint32(e);return"object"==typeof r?r.value=t.zigZagDecode32(r.value):r=t.zigZagDecode32(r),r},e&&(t.MAX_VARINT64_BYTES=10,t.calculateVarint64=function(t){"number"==typeof t?t=e.fromNumber(t):"string"==typeof t&&(t=e.fromString(t));var r=t.toInt()>>>0,n=t.shiftRightUnsigned(28).toInt()>>>0,o=t.shiftRightUnsigned(56).toInt()>>>0;return 0==o?0==n?r<16384?r<128?1:2:r<1<<21?3:4:n<16384?n<128?5:6:n<1<<21?7:8:o<128?9:10},t.zigZagEncode64=function(t){return"number"==typeof t?t=e.fromNumber(t,!1):"string"==typeof t?t=e.fromString(t,!1):!1!==t.unsigned&&(t=t.toSigned()),t.shiftLeft(1).xor(t.shiftRight(63)).toUnsigned()},t.zigZagDecode64=function(t){return"number"==typeof t?t=e.fromNumber(t,!1):"string"==typeof t?t=e.fromString(t,!1):!1!==t.unsigned&&(t=t.toSigned()),t.shiftRightUnsigned(1).xor(t.and(e.ONE).toSigned().negate()).toSigned()},r.writeVarint64=function(r,n){var o=void 0===n;if(o&&(n=this.offset),!this.noAssert){if("number"==typeof r)r=e.fromNumber(r);else if("string"==typeof r)r=e.fromString(r);else if(!(r&&r instanceof e))throw TypeError("Illegal value: "+r+" (not an integer or Long)");if("number"!=typeof n||n%1!=0)throw TypeError("Illegal offset: "+n+" (not an integer)");if((n>>>=0)<0||n+0>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+n+" (+0) <= "+this.buffer.byteLength)}"number"==typeof r?r=e.fromNumber(r,!1):"string"==typeof r?r=e.fromString(r,!1):!1!==r.unsigned&&(r=r.toSigned());var s=t.calculateVarint64(r),i=r.toInt()>>>0,a=r.shiftRightUnsigned(28).toInt()>>>0,u=r.shiftRightUnsigned(56).toInt()>>>0,d=this.buffer.byteLength;switch((n+=s)>d&&this.resize((d*=2)>n?d:n),n-=s,s){case 10:this.view[n+9]=u>>>7&1;case 9:this.view[n+8]=9!==s?128|u:127&u;case 8:this.view[n+7]=8!==s?a>>>21|128:a>>>21&127;case 7:this.view[n+6]=7!==s?a>>>14|128:a>>>14&127;case 6:this.view[n+5]=6!==s?a>>>7|128:a>>>7&127;case 5:this.view[n+4]=5!==s?128|a:127&a;case 4:this.view[n+3]=4!==s?i>>>21|128:i>>>21&127;case 3:this.view[n+2]=3!==s?i>>>14|128:i>>>14&127;case 2:this.view[n+1]=2!==s?i>>>7|128:i>>>7&127;case 1:this.view[n]=1!==s?128|i:127&i}return o?(this.offset+=s,this):s},r.writeVarint64ZigZag=function(e,r){return this.writeVarint64(t.zigZagEncode64(e),r)},r.readVarint64=function(t){var r=void 0===t;if(r&&(t=this.offset),!this.noAssert){if("number"!=typeof t||t%1!=0)throw TypeError("Illegal offset: "+t+" (not an integer)");if((t>>>=0)<0||t+1>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+t+" (+1) <= "+this.buffer.byteLength)}var n=t,o=0,s=0,i=0,a=0;if(o=127&(a=this.view[t++]),128&a&&(o|=(127&(a=this.view[t++]))<<7,(128&a||this.noAssert&&void 0===a)&&(o|=(127&(a=this.view[t++]))<<14,(128&a||this.noAssert&&void 0===a)&&(o|=(127&(a=this.view[t++]))<<21,(128&a||this.noAssert&&void 0===a)&&(s=127&(a=this.view[t++]),(128&a||this.noAssert&&void 0===a)&&(s|=(127&(a=this.view[t++]))<<7,(128&a||this.noAssert&&void 0===a)&&(s|=(127&(a=this.view[t++]))<<14,(128&a||this.noAssert&&void 0===a)&&(s|=(127&(a=this.view[t++]))<<21,(128&a||this.noAssert&&void 0===a)&&(i=127&(a=this.view[t++]),(128&a||this.noAssert&&void 0===a)&&(i|=(127&(a=this.view[t++]))<<7,128&a||this.noAssert&&void 0===a))))))))))throw Error("Buffer overrun");var u=e.fromBits(o|s<<28,s>>>4|i<<24,!1);return r?(this.offset=t,u):{value:u,length:t-n}},r.readVarint64ZigZag=function(r){var n=this.readVarint64(r);return n&&n.value instanceof e?n.value=t.zigZagDecode64(n.value):n=t.zigZagDecode64(n),n}),r.writeCString=function(e,t){var r=void 0===t;r&&(t=this.offset);var n,o=e.length;if(!this.noAssert){if("string"!=typeof e)throw TypeError("Illegal str: Not a string");for(n=0;n<o;++n)if(0===e.charCodeAt(n))throw RangeError("Illegal str: Contains NULL-characters");if("number"!=typeof t||t%1!=0)throw TypeError("Illegal offset: "+t+" (not an integer)");if((t>>>=0)<0||t+0>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+t+" (+0) <= "+this.buffer.byteLength)}o=l.calculateUTF16asUTF8(s(e))[1];var i=this.buffer.byteLength;return(t+=o+1)>i&&this.resize((i*=2)>t?i:t),t-=o+1,l.encodeUTF16toUTF8(s(e),(function(e){this.view[t++]=e}).bind(this)),this.view[t++]=0,r?(this.offset=t,this):o},r.readCString=function(e){var t=void 0===e;if(t&&(e=this.offset),!this.noAssert){if("number"!=typeof e||e%1!=0)throw TypeError("Illegal offset: "+e+" (not an integer)");if((e>>>=0)<0||e+1>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+e+" (+1) <= "+this.buffer.byteLength)}var r,n=e,o=-1;return l.decodeUTF8toUTF16((function(){if(0===o)return null;if(e>=this.limit)throw RangeError("Illegal range: Truncated data, "+e+" < "+this.limit);return 0===(o=this.view[e++])?null:o}).bind(this),r=i(),!0),t?(this.offset=e,r()):{string:r(),length:e-n}},r.writeIString=function(e,t){var r=void 0===t;if(r&&(t=this.offset),!this.noAssert){if("string"!=typeof e)throw TypeError("Illegal str: Not a string");if("number"!=typeof t||t%1!=0)throw TypeError("Illegal offset: "+t+" (not an integer)");if((t>>>=0)<0||t+0>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+t+" (+0) <= "+this.buffer.byteLength)}var n,o=t;n=l.calculateUTF16asUTF8(s(e),this.noAssert)[1];var i=this.buffer.byteLength;if((t+=4+n)>i&&this.resize((i*=2)>t?i:t),t-=4+n,this.littleEndian?(this.view[t+3]=n>>>24&255,this.view[t+2]=n>>>16&255,this.view[t+1]=n>>>8&255,this.view[t]=255&n):(this.view[t]=n>>>24&255,this.view[t+1]=n>>>16&255,this.view[t+2]=n>>>8&255,this.view[t+3]=255&n),t+=4,l.encodeUTF16toUTF8(s(e),(function(e){this.view[t++]=e}).bind(this)),t!==o+4+n)throw RangeError("Illegal range: Truncated data, "+t+" == "+(t+4+n));return r?(this.offset=t,this):t-o},r.readIString=function(e){var r=void 0===e;if(r&&(e=this.offset),!this.noAssert){if("number"!=typeof e||e%1!=0)throw TypeError("Illegal offset: "+e+" (not an integer)");if((e>>>=0)<0||e+4>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+e+" (+4) <= "+this.buffer.byteLength)}var n=e,o=this.readUint32(e),s=this.readUTF8String(o,t.METRICS_BYTES,e+=4);return e+=s.length,r?(this.offset=e,s.string):{string:s.string,length:e-n}},t.METRICS_CHARS="c",t.METRICS_BYTES="b",r.writeUTF8String=function(e,t){var r,n=void 0===t;if(n&&(t=this.offset),!this.noAssert){if("number"!=typeof t||t%1!=0)throw TypeError("Illegal offset: "+t+" (not an integer)");if((t>>>=0)<0||t+0>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+t+" (+0) <= "+this.buffer.byteLength)}var o=t;r=l.calculateUTF16asUTF8(s(e))[1];var i=this.buffer.byteLength;return(t+=r)>i&&this.resize((i*=2)>t?i:t),t-=r,l.encodeUTF16toUTF8(s(e),(function(e){this.view[t++]=e}).bind(this)),n?(this.offset=t,this):t-o},r.writeString=r.writeUTF8String,t.calculateUTF8Chars=function(e){return l.calculateUTF16asUTF8(s(e))[0]},t.calculateUTF8Bytes=function(e){return l.calculateUTF16asUTF8(s(e))[1]},t.calculateString=t.calculateUTF8Bytes,r.readUTF8String=function(e,r,n){"number"==typeof r&&(n=r,r=void 0);var o=void 0===n;if(o&&(n=this.offset),void 0===r&&(r=t.METRICS_CHARS),!this.noAssert){if("number"!=typeof e||e%1!=0)throw TypeError("Illegal length: "+e+" (not an integer)");if(e|=0,"number"!=typeof n||n%1!=0)throw TypeError("Illegal offset: "+n+" (not an integer)");if((n>>>=0)<0||n+0>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+n+" (+0) <= "+this.buffer.byteLength)}var s,a=0,u=n;if(r===t.METRICS_CHARS){if(s=i(),l.decodeUTF8((function(){return a<e&&n<this.limit?this.view[n++]:null}).bind(this),function(e){++a,l.UTF8toUTF16(e,s)}),a!==e)throw RangeError("Illegal range: Truncated data, "+a+" == "+e);return o?(this.offset=n,s()):{string:s(),length:n-u}}if(r===t.METRICS_BYTES){if(!this.noAssert){if("number"!=typeof n||n%1!=0)throw TypeError("Illegal offset: "+n+" (not an integer)");if((n>>>=0)<0||n+e>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+n+" (+"+e+") <= "+this.buffer.byteLength)}var d=n+e;if(l.decodeUTF8toUTF16((function(){return n<d?this.view[n++]:null}).bind(this),s=i(),this.noAssert),n!==d)throw RangeError("Illegal range: Truncated data, "+n+" == "+d);return o?(this.offset=n,s()):{string:s(),length:n-u}}throw TypeError("Unsupported metrics: "+r)},r.readString=r.readUTF8String,r.writeVString=function(e,r){var n=void 0===r;if(n&&(r=this.offset),!this.noAssert){if("string"!=typeof e)throw TypeError("Illegal str: Not a string");if("number"!=typeof r||r%1!=0)throw TypeError("Illegal offset: "+r+" (not an integer)");if((r>>>=0)<0||r+0>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+r+" (+0) <= "+this.buffer.byteLength)}var o,i,a=r;o=l.calculateUTF16asUTF8(s(e),this.noAssert)[1],i=t.calculateVarint32(o);var u=this.buffer.byteLength;if((r+=i+o)>u&&this.resize((u*=2)>r?u:r),r-=i+o,r+=this.writeVarint32(o,r),l.encodeUTF16toUTF8(s(e),(function(e){this.view[r++]=e}).bind(this)),r!==a+o+i)throw RangeError("Illegal range: Truncated data, "+r+" == "+(r+o+i));return n?(this.offset=r,this):r-a},r.readVString=function(e){var r=void 0===e;if(r&&(e=this.offset),!this.noAssert){if("number"!=typeof e||e%1!=0)throw TypeError("Illegal offset: "+e+" (not an integer)");if((e>>>=0)<0||e+1>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+e+" (+1) <= "+this.buffer.byteLength)}var n=e,o=this.readVarint32(e),s=this.readUTF8String(o.value,t.METRICS_BYTES,e+=o.length);return e+=s.length,r?(this.offset=e,s.string):{string:s.string,length:e-n}},r.append=function(e,r,n){"number"!=typeof r&&"string"==typeof r||(n=r,r=void 0);var o=void 0===n;if(o&&(n=this.offset),!this.noAssert){if("number"!=typeof n||n%1!=0)throw TypeError("Illegal offset: "+n+" (not an integer)");if((n>>>=0)<0||n+0>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+n+" (+0) <= "+this.buffer.byteLength)}e instanceof t||(e=t.wrap(e,r));var s=e.limit-e.offset;if(s<=0)return this;var i=this.buffer.byteLength;return(n+=s)>i&&this.resize((i*=2)>n?i:n),n-=s,this.view.set(e.view.subarray(e.offset,e.limit),n),e.offset+=s,o&&(this.offset+=s),this},r.appendTo=function(e,t){return e.append(this,t),this},r.assert=function(e){return this.noAssert=!e,this},r.capacity=function(){return this.buffer.byteLength},r.clear=function(){return this.offset=0,this.limit=this.buffer.byteLength,this.markedOffset=-1,this},r.clone=function(e){var r=new t(0,this.littleEndian,this.noAssert);return e?(r.buffer=new ArrayBuffer(this.buffer.byteLength),r.view=new Uint8Array(r.buffer)):(r.buffer=this.buffer,r.view=this.view),r.offset=this.offset,r.markedOffset=this.markedOffset,r.limit=this.limit,r},r.compact=function(e,t){if(void 0===e&&(e=this.offset),void 0===t&&(t=this.limit),!this.noAssert){if("number"!=typeof e||e%1!=0)throw TypeError("Illegal begin: Not an integer");if(e>>>=0,"number"!=typeof t||t%1!=0)throw TypeError("Illegal end: Not an integer");if(t>>>=0,e<0||e>t||t>this.buffer.byteLength)throw RangeError("Illegal range: 0 <= "+e+" <= "+t+" <= "+this.buffer.byteLength)}if(0===e&&t===this.buffer.byteLength)return this;var r=t-e;if(0===r)return this.buffer=n,this.view=null,this.markedOffset>=0&&(this.markedOffset-=e),this.offset=0,this.limit=0,this;var o=new ArrayBuffer(r),s=new Uint8Array(o);return s.set(this.view.subarray(e,t)),this.buffer=o,this.view=s,this.markedOffset>=0&&(this.markedOffset-=e),this.offset=0,this.limit=r,this},r.copy=function(e,r){if(void 0===e&&(e=this.offset),void 0===r&&(r=this.limit),!this.noAssert){if("number"!=typeof e||e%1!=0)throw TypeError("Illegal begin: Not an integer");if(e>>>=0,"number"!=typeof r||r%1!=0)throw TypeError("Illegal end: Not an integer");if(r>>>=0,e<0||e>r||r>this.buffer.byteLength)throw RangeError("Illegal range: 0 <= "+e+" <= "+r+" <= "+this.buffer.byteLength)}if(e===r)return new t(0,this.littleEndian,this.noAssert);var n=r-e,o=new t(n,this.littleEndian,this.noAssert);return o.offset=0,o.limit=n,o.markedOffset>=0&&(o.markedOffset-=e),this.copyTo(o,0,e,r),o},r.copyTo=function(e,r,n,o){var s,i;if(!this.noAssert&&!t.isByteBuffer(e))throw TypeError("Illegal target: Not a ByteBuffer");if(r=(i=void 0===r)?e.offset:0|r,n=(s=void 0===n)?this.offset:0|n,o=void 0===o?this.limit:0|o,r<0||r>e.buffer.byteLength)throw RangeError("Illegal target range: 0 <= "+r+" <= "+e.buffer.byteLength);if(n<0||o>this.buffer.byteLength)throw RangeError("Illegal source range: 0 <= "+n+" <= "+this.buffer.byteLength);var a=o-n;return 0===a?e:(e.ensureCapacity(r+a),e.view.set(this.view.subarray(n,o),r),s&&(this.offset+=a),i&&(e.offset+=a),this)},r.ensureCapacity=function(e){var t=this.buffer.byteLength;return t<e?this.resize((t*=2)>e?t:e):this},r.fill=function(e,t,r){var n=void 0===t;if(n&&(t=this.offset),"string"==typeof e&&e.length>0&&(e=e.charCodeAt(0)),void 0===t&&(t=this.offset),void 0===r&&(r=this.limit),!this.noAssert){if("number"!=typeof e||e%1!=0)throw TypeError("Illegal value: "+e+" (not an integer)");if(e|=0,"number"!=typeof t||t%1!=0)throw TypeError("Illegal begin: Not an integer");if(t>>>=0,"number"!=typeof r||r%1!=0)throw TypeError("Illegal end: Not an integer");if(r>>>=0,t<0||t>r||r>this.buffer.byteLength)throw RangeError("Illegal range: 0 <= "+t+" <= "+r+" <= "+this.buffer.byteLength)}if(t>=r)return this;for(;t<r;)this.view[t++]=e;return n&&(this.offset=t),this},r.flip=function(){return this.limit=this.offset,this.offset=0,this},r.mark=function(e){if(e=void 0===e?this.offset:e,!this.noAssert){if("number"!=typeof e||e%1!=0)throw TypeError("Illegal offset: "+e+" (not an integer)");if((e>>>=0)<0||e+0>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+e+" (+0) <= "+this.buffer.byteLength)}return this.markedOffset=e,this},r.order=function(e){if(!this.noAssert&&"boolean"!=typeof e)throw TypeError("Illegal littleEndian: Not a boolean");return this.littleEndian=!!e,this},r.LE=function(e){return this.littleEndian=void 0===e||!!e,this},r.BE=function(e){return this.littleEndian=void 0!==e&&!e,this},r.prepend=function(e,r,n){"number"!=typeof r&&"string"==typeof r||(n=r,r=void 0);var o=void 0===n;if(o&&(n=this.offset),!this.noAssert){if("number"!=typeof n||n%1!=0)throw TypeError("Illegal offset: "+n+" (not an integer)");if((n>>>=0)<0||n+0>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+n+" (+0) <= "+this.buffer.byteLength)}e instanceof t||(e=t.wrap(e,r));var s=e.limit-e.offset;if(s<=0)return this;var i=s-n;if(i>0){var a=new ArrayBuffer(this.buffer.byteLength+i),u=new Uint8Array(a);u.set(this.view.subarray(n,this.buffer.byteLength),s),this.buffer=a,this.view=u,this.offset+=i,this.markedOffset>=0&&(this.markedOffset+=i),this.limit+=i,n+=i}else new Uint8Array(this.buffer);return this.view.set(e.view.subarray(e.offset,e.limit),n-s),e.offset=e.limit,o&&(this.offset-=s),this},r.prependTo=function(e,t){return e.prepend(this,t),this},r.printDebug=function(e){"function"!=typeof e&&(e=void 0),e(this.toString()+"\n-------------------------------------------------------------------\n"+this.toDebug(!0))},r.remaining=function(){return this.limit-this.offset},r.reset=function(){return this.markedOffset>=0?(this.offset=this.markedOffset,this.markedOffset=-1):this.offset=0,this},r.resize=function(e){if(!this.noAssert){if("number"!=typeof e||e%1!=0)throw TypeError("Illegal capacity: "+e+" (not an integer)");if((e|=0)<0)throw RangeError("Illegal capacity: 0 <= "+e)}if(this.buffer.byteLength<e){var t=new ArrayBuffer(e),r=new Uint8Array(t);r.set(this.view),this.buffer=t,this.view=r}return this},r.reverse=function(e,t){if(void 0===e&&(e=this.offset),void 0===t&&(t=this.limit),!this.noAssert){if("number"!=typeof e||e%1!=0)throw TypeError("Illegal begin: Not an integer");if(e>>>=0,"number"!=typeof t||t%1!=0)throw TypeError("Illegal end: Not an integer");if(t>>>=0,e<0||e>t||t>this.buffer.byteLength)throw RangeError("Illegal range: 0 <= "+e+" <= "+t+" <= "+this.buffer.byteLength)}return e===t?this:(Array.prototype.reverse.call(this.view.subarray(e,t)),this)},r.skip=function(e){if(!this.noAssert){if("number"!=typeof e||e%1!=0)throw TypeError("Illegal length: "+e+" (not an integer)");e|=0}var t=this.offset+e;if(!this.noAssert&&(t<0||t>this.buffer.byteLength))throw RangeError("Illegal length: 0 <= "+this.offset+" + "+e+" <= "+this.buffer.byteLength);return this.offset=t,this},r.slice=function(e,t){if(void 0===e&&(e=this.offset),void 0===t&&(t=this.limit),!this.noAssert){if("number"!=typeof e||e%1!=0)throw TypeError("Illegal begin: Not an integer");if(e>>>=0,"number"!=typeof t||t%1!=0)throw TypeError("Illegal end: Not an integer");if(t>>>=0,e<0||e>t||t>this.buffer.byteLength)throw RangeError("Illegal range: 0 <= "+e+" <= "+t+" <= "+this.buffer.byteLength)}var r=this.clone();return r.offset=e,r.limit=t,r},r.toBuffer=function(e){var t=this.offset,r=this.limit;if(!this.noAssert){if("number"!=typeof t||t%1!=0)throw TypeError("Illegal offset: Not an integer");if(t>>>=0,"number"!=typeof r||r%1!=0)throw TypeError("Illegal limit: Not an integer");if(r>>>=0,t<0||t>r||r>this.buffer.byteLength)throw RangeError("Illegal range: 0 <= "+t+" <= "+r+" <= "+this.buffer.byteLength)}if(!e&&0===t&&r===this.buffer.byteLength)return this.buffer;if(t===r)return n;var o=new ArrayBuffer(r-t);return new Uint8Array(o).set(new Uint8Array(this.buffer).subarray(t,r),0),o},r.toArrayBuffer=r.toBuffer,r.toString=function(e,t,r){if(void 0===e)return"ByteBufferAB(offset="+this.offset+",markedOffset="+this.markedOffset+",limit="+this.limit+",capacity="+this.capacity()+")";switch("number"==typeof e&&(r=t=e="utf8"),e){case"utf8":return this.toUTF8(t,r);case"base64":return this.toBase64(t,r);case"hex":return this.toHex(t,r);case"binary":return this.toBinary(t,r);case"debug":return this.toDebug();case"columns":return this.toColumns();default:throw Error("Unsupported encoding: "+e)}};var d=function(){for(var e={},t=[65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,48,49,50,51,52,53,54,55,56,57,43,47],r=[],n=0,o=t.length;n<o;++n)r[t[n]]=n;return e.encode=function(e,r){for(var n,o;null!==(n=e());)r(t[n>>2&63]),o=(3&n)<<4,null!==(n=e())?(r(t[63&((o|=n>>4&15)|n>>4&15)]),o=(15&n)<<2,null!==(n=e())?(r(t[63&(o|n>>6&3)]),r(t[63&n])):(r(t[63&o]),r(61))):(r(t[63&o]),r(61),r(61))},e.decode=function(e,t){var n,o,s;function i(e){throw Error("Illegal character code: "+e)}for(;null!==(n=e());)if(void 0===(o=r[n])&&i(n),null!==(n=e())&&(void 0===(s=r[n])&&i(n),t(o<<2>>>0|(48&s)>>4),null!==(n=e()))){if(void 0===(o=r[n])){if(61===n)break;i(n)}if(t((15&s)<<4>>>0|(60&o)>>2),null!==(n=e())){if(void 0===(s=r[n])){if(61===n)break;i(n)}t((3&o)<<6>>>0|s)}}},e.test=function(e){return/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/.test(e)},e}();r.toBase64=function(e,t){if(void 0===e&&(e=this.offset),void 0===t&&(t=this.limit),t|=0,(e|=0)<0||t>this.capacity||e>t)throw RangeError("begin, end");var r;return d.encode((function(){return e<t?this.view[e++]:null}).bind(this),r=i()),r()},t.fromBase64=function(e,r){if("string"!=typeof e)throw TypeError("str");var n=new t(e.length/4*3,r),o=0;return d.decode(s(e),function(e){n.view[o++]=e}),n.limit=o,n},t.btoa=function(e){return t.fromBinary(e).toBase64()},t.atob=function(e){return t.fromBase64(e).toBinary()},r.toBinary=function(e,t){if(void 0===e&&(e=this.offset),void 0===t&&(t=this.limit),t|=0,(e|=0)<0||t>this.capacity()||e>t)throw RangeError("begin, end");if(e===t)return"";for(var r=[],n=[];e<t;)r.push(this.view[e++]),r.length>=1024&&(n.push(String.fromCharCode.apply(String,r)),r=[]);return n.join("")+String.fromCharCode.apply(String,r)},t.fromBinary=function(e,r){if("string"!=typeof e)throw TypeError("str");for(var n,o=0,s=e.length,i=new t(s,r);o<s;){if((n=e.charCodeAt(o))>255)throw RangeError("illegal char code: "+n);i.view[o++]=n}return i.limit=s,i},r.toDebug=function(e){for(var t,r=-1,n=this.buffer.byteLength,o="",s="",i="";r<n;){if(-1!==r&&(o+=(t=this.view[r])<16?"0"+t.toString(16).toUpperCase():t.toString(16).toUpperCase(),e&&(s+=t>32&&t<127?String.fromCharCode(t):".")),++r,e&&r>0&&r%16==0&&r!==n){for(;o.length<51;)o+=" ";i+=o+s+"\n",o=s=""}o+=r===this.offset&&r===this.limit?r===this.markedOffset?"!":"|":r===this.offset?r===this.markedOffset?"[":"<":r===this.limit?r===this.markedOffset?"]":">":r===this.markedOffset?"'":e||0!==r&&r!==n?" ":""}if(e&&" "!==o){for(;o.length<51;)o+=" ";i+=o+s+"\n"}return e?i:o},t.fromDebug=function(e,r,n){for(var o,s,i=e.length,a=new t((i+1)/3|0,r,n),u=0,d=0,l=!1,c=!1,f=!1,h=!1,p=!1;u<i;){switch(o=e.charAt(u++)){case"!":if(!n){if(c||f||h){p=!0;break}c=f=h=!0}a.offset=a.markedOffset=a.limit=d,l=!1;break;case"|":if(!n){if(c||h){p=!0;break}c=h=!0}a.offset=a.limit=d,l=!1;break;case"[":if(!n){if(c||f){p=!0;break}c=f=!0}a.offset=a.markedOffset=d,l=!1;break;case"<":if(!n){if(c){p=!0;break}c=!0}a.offset=d,l=!1;break;case"]":if(!n){if(h||f){p=!0;break}h=f=!0}a.limit=a.markedOffset=d,l=!1;break;case">":if(!n){if(h){p=!0;break}h=!0}a.limit=d,l=!1;break;case"'":if(!n){if(f){p=!0;break}f=!0}a.markedOffset=d,l=!1;break;case" ":l=!1;break;default:if(!n&&l){p=!0;break}if(s=parseInt(o+e.charAt(u++),16),!n&&(isNaN(s)||s<0||s>255))throw TypeError("Illegal str: Not a debug encoded string");a.view[d++]=s,l=!0}if(p)throw TypeError("Illegal str: Invalid symbol at "+u)}if(!n){if(!c||!h)throw TypeError("Illegal str: Missing offset or limit");if(d<a.buffer.byteLength)throw TypeError("Illegal str: Not a debug encoded string (is it hex?) "+d+" < "+i)}return a},r.toHex=function(e,t){if(e=void 0===e?this.offset:e,t=void 0===t?this.limit:t,!this.noAssert){if("number"!=typeof e||e%1!=0)throw TypeError("Illegal begin: Not an integer");if(e>>>=0,"number"!=typeof t||t%1!=0)throw TypeError("Illegal end: Not an integer");if(t>>>=0,e<0||e>t||t>this.buffer.byteLength)throw RangeError("Illegal range: 0 <= "+e+" <= "+t+" <= "+this.buffer.byteLength)}for(var r,n=new Array(t-e);e<t;)(r=this.view[e++])<16?n.push("0",r.toString(16)):n.push(r.toString(16));return n.join("")},t.fromHex=function(e,r,n){if(!n){if("string"!=typeof e)throw TypeError("Illegal str: Not a string");if(e.length%2!=0)throw TypeError("Illegal str: Length not a multiple of 2")}for(var o,s=e.length,i=new t(s/2|0,r),a=0,u=0;a<s;a+=2){if(o=parseInt(e.substring(a,a+2),16),!n&&(!isFinite(o)||o<0||o>255))throw TypeError("Illegal str: Contains non-hex characters");i.view[u++]=o}return i.limit=u,i};var l=function(){var e={MAX_CODEPOINT:1114111,encodeUTF8:function(e,t){var r=null;for("number"==typeof e&&(r=e,e=function(){return null});null!==r||null!==(r=e());)r<128?t(127&r):r<2048?(t(r>>6&31|192),t(63&r|128)):r<65536?(t(r>>12&15|224),t(r>>6&63|128),t(63&r|128)):(t(r>>18&7|240),t(r>>12&63|128),t(r>>6&63|128),t(63&r|128)),r=null},decodeUTF8:function(e,t){for(var r,n,o,s,i=function(e){e=e.slice(0,e.indexOf(null));var t=Error(e.toString());throw t.name="TruncatedError",t.bytes=e,t};null!==(r=e());)if(0==(128&r))t(r);else if(192==(224&r))null===(n=e())&&i([r,n]),t((31&r)<<6|63&n);else if(224==(240&r))(null===(n=e())||null===(o=e()))&&i([r,n,o]),t((15&r)<<12|(63&n)<<6|63&o);else{if(240!=(248&r))throw RangeError("Illegal starting byte: "+r);(null===(n=e())||null===(o=e())||null===(s=e()))&&i([r,n,o,s]),t((7&r)<<18|(63&n)<<12|(63&o)<<6|63&s)}},UTF16toUTF8:function(e,t){for(var r,n=null;null!==(r=null!==n?n:e());)r>=55296&&r<=57343&&null!==(n=e())&&n>=56320&&n<=57343?(t(1024*(r-55296)+n-56320+65536),n=null):t(r);null!==n&&t(n)},UTF8toUTF16:function(e,t){var r=null;for("number"==typeof e&&(r=e,e=function(){return null});null!==r||null!==(r=e());)r<=65535?t(r):(t(55296+((r-=65536)>>10)),t(r%1024+56320)),r=null},encodeUTF16toUTF8:function(t,r){e.UTF16toUTF8(t,function(t){e.encodeUTF8(t,r)})},decodeUTF8toUTF16:function(t,r){e.decodeUTF8(t,function(t){e.UTF8toUTF16(t,r)})},calculateCodePoint:function(e){return e<128?1:e<2048?2:e<65536?3:4},calculateUTF8:function(e){for(var t,r=0;null!==(t=e());)r+=t<128?1:t<2048?2:t<65536?3:4;return r},calculateUTF16asUTF8:function(t){var r=0,n=0;return e.UTF16toUTF8(t,function(e){++r,n+=e<128?1:e<2048?2:e<65536?3:4}),[r,n]}};return e}();return r.toUTF8=function(e,t){if(void 0===e&&(e=this.offset),void 0===t&&(t=this.limit),!this.noAssert){if("number"!=typeof e||e%1!=0)throw TypeError("Illegal begin: Not an integer");if(e>>>=0,"number"!=typeof t||t%1!=0)throw TypeError("Illegal end: Not an integer");if(t>>>=0,e<0||e>t||t>this.buffer.byteLength)throw RangeError("Illegal range: 0 <= "+e+" <= "+t+" <= "+this.buffer.byteLength)}var r;try{l.decodeUTF8toUTF16((function(){return e<t?this.view[e++]:null}).bind(this),r=i())}catch(r){if(e!==t)throw RangeError("Illegal range: Truncated data, "+e+" != "+t)}return r()},t.fromUTF8=function(e,r,n){if(!n&&"string"!=typeof e)throw TypeError("Illegal str: Not a string");var o=new t(l.calculateUTF16asUTF8(s(e),!0)[1],r,n),i=0;return l.encodeUTF16toUTF8(s(e),function(e){o.view[i++]=e}),o.limit=i,o},t},"function"==typeof define&&define.amd?define(["long"],n):"function"==typeof e&&"object"==typeof t&&t&&t.exports?t.exports=function(){var t;try{t=e("long")}catch(e){}return n(t)}():(this.dcodeIO=this.dcodeIO||{}).ByteBuffer=n(this.dcodeIO.Long)},{long:"/Users/jnordberg/Development/dsteem/node_modules/long/dist/long.js"}],"/Users/jnordberg/Development/dsteem/node_modules/cipher-base/index.js":[function(e,t,r){var n=e("safe-buffer").Buffer,o=e("stream").Transform,s=e("string_decoder").StringDecoder;function i(e){o.call(this),this.hashMode="string"==typeof e,this.hashMode?this[e]=this._finalOrDigest:this.final=this._finalOrDigest,this._final&&(this.__final=this._final,this._final=null),this._decoder=null,this._encoding=null}e("inherits")(i,o),i.prototype.update=function(e,t,r){"string"==typeof e&&(e=n.from(e,t));var o=this._update(e);return this.hashMode?this:(r&&(o=this._toString(o,r)),o)},i.prototype.setAutoPadding=function(){},i.prototype.getAuthTag=function(){throw new Error("trying to get auth tag in unsupported state")},i.prototype.setAuthTag=function(){throw new Error("trying to set auth tag in unsupported state")},i.prototype.setAAD=function(){throw new Error("trying to set aad in unsupported state")},i.prototype._transform=function(e,t,r){var n;try{this.hashMode?this._update(e):this.push(this._update(e))}catch(e){n=e}finally{r(n)}},i.prototype._flush=function(e){var t;try{this.push(this.__final())}catch(e){t=e}e(t)},i.prototype._finalOrDigest=function(e){var t=this.__final()||n.alloc(0);return e&&(t=this._toString(t,e,!0)),t},i.prototype._toString=function(e,t,r){if(this._decoder||(this._decoder=new s(t),this._encoding=t),this._encoding!==t)throw new Error("can't switch encodings");var n=this._decoder.write(e);return r&&(n+=this._decoder.end()),n},t.exports=i},{inherits:"/Users/jnordberg/Development/dsteem/node_modules/inherits/inherits_browser.js","safe-buffer":"/Users/jnordberg/Development/dsteem/node_modules/safe-buffer/index.js",stream:"/Users/jnordberg/Development/dsteem/node_modules/stream-browserify/index.js",string_decoder:"/Users/jnordberg/Development/dsteem/node_modules/browserify/node_modules/string_decoder/lib/string_decoder.js"}],"/Users/jnordberg/Development/dsteem/node_modules/core-js/es6/map.js":[function(e,t,r){e("../modules/es6.object.to-string"),e("../modules/es6.string.iterator"),e("../modules/web.dom.iterable"),e("../modules/es6.map"),t.exports=e("../modules/_core").Map},{"../modules/_core":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_core.js","../modules/es6.map":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/es6.map.js","../modules/es6.object.to-string":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/es6.object.to-string.js","../modules/es6.string.iterator":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/es6.string.iterator.js","../modules/web.dom.iterable":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/web.dom.iterable.js"}],"/Users/jnordberg/Development/dsteem/node_modules/core-js/es6/number.js":[function(e,t,r){e("../modules/es6.number.constructor"),e("../modules/es6.number.to-fixed"),e("../modules/es6.number.to-precision"),e("../modules/es6.number.epsilon"),e("../modules/es6.number.is-finite"),e("../modules/es6.number.is-integer"),e("../modules/es6.number.is-nan"),e("../modules/es6.number.is-safe-integer"),e("../modules/es6.number.max-safe-integer"),e("../modules/es6.number.min-safe-integer"),e("../modules/es6.number.parse-float"),e("../modules/es6.number.parse-int"),t.exports=e("../modules/_core").Number},{"../modules/_core":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_core.js","../modules/es6.number.constructor":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/es6.number.constructor.js","../modules/es6.number.epsilon":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/es6.number.epsilon.js","../modules/es6.number.is-finite":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/es6.number.is-finite.js","../modules/es6.number.is-integer":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/es6.number.is-integer.js","../modules/es6.number.is-nan":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/es6.number.is-nan.js","../modules/es6.number.is-safe-integer":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/es6.number.is-safe-integer.js","../modules/es6.number.max-safe-integer":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/es6.number.max-safe-integer.js","../modules/es6.number.min-safe-integer":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/es6.number.min-safe-integer.js","../modules/es6.number.parse-float":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/es6.number.parse-float.js","../modules/es6.number.parse-int":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/es6.number.parse-int.js","../modules/es6.number.to-fixed":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/es6.number.to-fixed.js","../modules/es6.number.to-precision":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/es6.number.to-precision.js"}],"/Users/jnordberg/Development/dsteem/node_modules/core-js/es6/promise.js":[function(e,t,r){e("../modules/es6.object.to-string"),e("../modules/es6.string.iterator"),e("../modules/web.dom.iterable"),e("../modules/es6.promise"),t.exports=e("../modules/_core").Promise},{"../modules/_core":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_core.js","../modules/es6.object.to-string":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/es6.object.to-string.js","../modules/es6.promise":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/es6.promise.js","../modules/es6.string.iterator":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/es6.string.iterator.js","../modules/web.dom.iterable":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/web.dom.iterable.js"}],"/Users/jnordberg/Development/dsteem/node_modules/core-js/es6/symbol.js":[function(e,t,r){e("../modules/es6.symbol"),e("../modules/es6.object.to-string"),t.exports=e("../modules/_core").Symbol},{"../modules/_core":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_core.js","../modules/es6.object.to-string":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/es6.object.to-string.js","../modules/es6.symbol":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/es6.symbol.js"}],"/Users/jnordberg/Development/dsteem/node_modules/core-js/fn/array/from.js":[function(e,t,r){e("../../modules/es6.string.iterator"),e("../../modules/es6.array.from"),t.exports=e("../../modules/_core").Array.from},{"../../modules/_core":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_core.js","../../modules/es6.array.from":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/es6.array.from.js","../../modules/es6.string.iterator":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/es6.string.iterator.js"}],"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_a-function.js":[function(e,t,r){t.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},{}],"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_a-number-value.js":[function(e,t,r){var n=e("./_cof");t.exports=function(e,t){if("number"!=typeof e&&"Number"!=n(e))throw TypeError(t);return+e}},{"./_cof":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_cof.js"}],"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_add-to-unscopables.js":[function(e,t,r){var n=e("./_wks")("unscopables"),o=Array.prototype;void 0==o[n]&&e("./_hide")(o,n,{}),t.exports=function(e){o[n][e]=!0}},{"./_hide":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_hide.js","./_wks":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_wks.js"}],"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_an-instance.js":[function(e,t,r){t.exports=function(e,t,r,n){if(!(e instanceof t)||void 0!==n&&n in e)throw TypeError(r+": incorrect invocation!");return e}},{}],"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_an-object.js":[function(e,t,r){var n=e("./_is-object");t.exports=function(e){if(!n(e))throw TypeError(e+" is not an object!");return e}},{"./_is-object":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_is-object.js"}],"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_array-includes.js":[function(e,t,r){var n=e("./_to-iobject"),o=e("./_to-length"),s=e("./_to-absolute-index");t.exports=function(e){return function(t,r,i){var a,u=n(t),d=o(u.length),l=s(i,d);if(e&&r!=r){for(;d>l;)if((a=u[l++])!=a)return!0}else for(;d>l;l++)if((e||l in u)&&u[l]===r)return e||l||0;return!e&&-1}}},{"./_to-absolute-index":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_to-absolute-index.js","./_to-iobject":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_to-iobject.js","./_to-length":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_to-length.js"}],"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_classof.js":[function(e,t,r){var n=e("./_cof"),o=e("./_wks")("toStringTag"),s="Arguments"==n(function(){return arguments}());t.exports=function(e){var t,r,i;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),o))?r:s?n(t):"Object"==(i=n(t))&&"function"==typeof t.callee?"Arguments":i}},{"./_cof":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_cof.js","./_wks":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_wks.js"}],"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_cof.js":[function(e,t,r){var n={}.toString;t.exports=function(e){return n.call(e).slice(8,-1)}},{}],"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_collection-strong.js":[function(e,t,r){"use strict";var n=e("./_object-dp").f,o=e("./_object-create"),s=e("./_redefine-all"),i=e("./_ctx"),a=e("./_an-instance"),u=e("./_for-of"),d=e("./_iter-define"),l=e("./_iter-step"),c=e("./_set-species"),f=e("./_descriptors"),h=e("./_meta").fastKey,p=e("./_validate-collection"),m=f?"_s":"size",b=function(e,t){var r,n=h(t);if("F"!==n)return e._i[n];for(r=e._f;r;r=r.n)if(r.k==t)return r};t.exports={getConstructor:function(e,t,r,d){var l=e(function(e,n){a(e,l,t,"_i"),e._t=t,e._i=o(null),e._f=void 0,e._l=void 0,e[m]=0,void 0!=n&&u(n,r,e[d],e)});return s(l.prototype,{clear:function(){for(var e=p(this,t),r=e._i,n=e._f;n;n=n.n)n.r=!0,n.p&&(n.p=n.p.n=void 0),delete r[n.i];e._f=e._l=void 0,e[m]=0},delete:function(e){var r=p(this,t),n=b(r,e);if(n){var o=n.n,s=n.p;delete r._i[n.i],n.r=!0,s&&(s.n=o),o&&(o.p=s),r._f==n&&(r._f=o),r._l==n&&(r._l=s),r[m]--}return!!n},forEach:function(e){p(this,t);for(var r,n=i(e,arguments.length>1?arguments[1]:void 0,3);r=r?r.n:this._f;)for(n(r.v,r.k,this);r&&r.r;)r=r.p},has:function(e){return!!b(p(this,t),e)}}),f&&n(l.prototype,"size",{get:function(){return p(this,t)[m]}}),l},def:function(e,t,r){var n,o,s=b(e,t);return s?s.v=r:(e._l=s={i:o=h(t,!0),k:t,v:r,p:n=e._l,n:void 0,r:!1},e._f||(e._f=s),n&&(n.n=s),e[m]++,"F"!==o&&(e._i[o]=s)),e},getEntry:b,setStrong:function(e,t,r){d(e,t,function(e,r){this._t=p(e,t),this._k=r,this._l=void 0},function(){for(var e=this._k,t=this._l;t&&t.r;)t=t.p;return this._t&&(this._l=t=t?t.n:this._t._f)?l(0,"keys"==e?t.k:"values"==e?t.v:[t.k,t.v]):(this._t=void 0,l(1))},r?"entries":"values",!r,!0),c(t)}}},{"./_an-instance":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_an-instance.js","./_ctx":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_ctx.js","./_descriptors":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_descriptors.js","./_for-of":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_for-of.js","./_iter-define":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_iter-define.js","./_iter-step":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_iter-step.js","./_meta":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_meta.js","./_object-create":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_object-create.js","./_object-dp":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_object-dp.js","./_redefine-all":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_redefine-all.js","./_set-species":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_set-species.js","./_validate-collection":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_validate-collection.js"}],"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_collection.js":[function(e,t,r){"use strict";var n=e("./_global"),o=e("./_export"),s=e("./_redefine"),i=e("./_redefine-all"),a=e("./_meta"),u=e("./_for-of"),d=e("./_an-instance"),l=e("./_is-object"),c=e("./_fails"),f=e("./_iter-detect"),h=e("./_set-to-string-tag"),p=e("./_inherit-if-required");t.exports=function(e,t,r,m,b,g){var v=n[e],_=v,y=b?"set":"add",w=_&&_.prototype,j={},E=function(e){var t=w[e];s(w,e,"delete"==e?function(e){return!(g&&!l(e))&&t.call(this,0===e?0:e)}:"has"==e?function(e){return!(g&&!l(e))&&t.call(this,0===e?0:e)}:"get"==e?function(e){return g&&!l(e)?void 0:t.call(this,0===e?0:e)}:"add"==e?function(e){return t.call(this,0===e?0:e),this}:function(e,r){return t.call(this,0===e?0:e,r),this})};if("function"==typeof _&&(g||w.forEach&&!c(function(){(new _).entries().next()}))){var D=new _,x=D[y](g?{}:-0,1)!=D,S=c(function(){D.has(1)}),U=f(function(e){new _(e)}),k=!g&&c(function(){for(var e=new _,t=5;t--;)e[y](t,t);return!e.has(-0)});U||((_=t(function(t,r){d(t,_,e);var n=p(new v,t,_);return void 0!=r&&u(r,b,n[y],n),n})).prototype=w,w.constructor=_),(S||k)&&(E("delete"),E("has"),b&&E("get")),(k||x)&&E(y),g&&w.clear&&delete w.clear}else _=m.getConstructor(t,e,b,y),i(_.prototype,r),a.NEED=!0;return h(_,e),j[e]=_,o(o.G+o.W+o.F*(_!=v),j),g||m.setStrong(_,e,b),_}},{"./_an-instance":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_an-instance.js","./_export":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_export.js","./_fails":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_fails.js","./_for-of":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_for-of.js","./_global":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_global.js","./_inherit-if-required":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_inherit-if-required.js","./_is-object":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_is-object.js","./_iter-detect":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_iter-detect.js","./_meta":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_meta.js","./_redefine":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_redefine.js","./_redefine-all":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_redefine-all.js","./_set-to-string-tag":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_set-to-string-tag.js"}],"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_core.js":[function(e,t,r){var n=t.exports={version:"2.5.3"};"number"==typeof __e&&(__e=n)},{}],"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_create-property.js":[function(e,t,r){"use strict";var n=e("./_object-dp"),o=e("./_property-desc");t.exports=function(e,t,r){t in e?n.f(e,t,o(0,r)):e[t]=r}},{"./_object-dp":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_object-dp.js","./_property-desc":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_property-desc.js"}],"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_ctx.js":[function(e,t,r){var n=e("./_a-function");t.exports=function(e,t,r){if(n(e),void 0===t)return e;switch(r){case 1:return function(r){return e.call(t,r)};case 2:return function(r,n){return e.call(t,r,n)};case 3:return function(r,n,o){return e.call(t,r,n,o)}}return function(){return e.apply(t,arguments)}}},{"./_a-function":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_a-function.js"}],"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_defined.js":[function(e,t,r){t.exports=function(e){if(void 0==e)throw TypeError("Can't call method on  "+e);return e}},{}],"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_descriptors.js":[function(e,t,r){t.exports=!e("./_fails")(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},{"./_fails":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_fails.js"}],"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_dom-create.js":[function(e,t,r){var n=e("./_is-object"),o=e("./_global").document,s=n(o)&&n(o.createElement);t.exports=function(e){return s?o.createElement(e):{}}},{"./_global":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_global.js","./_is-object":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_is-object.js"}],"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_enum-bug-keys.js":[function(e,t,r){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},{}],"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_enum-keys.js":[function(e,t,r){var n=e("./_object-keys"),o=e("./_object-gops"),s=e("./_object-pie");t.exports=function(e){var t=n(e),r=o.f;if(r)for(var i,a=r(e),u=s.f,d=0;a.length>d;)u.call(e,i=a[d++])&&t.push(i);return t}},{"./_object-gops":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_object-gops.js","./_object-keys":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_object-keys.js","./_object-pie":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_object-pie.js"}],"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_export.js":[function(e,t,r){var n=e("./_global"),o=e("./_core"),s=e("./_hide"),i=e("./_redefine"),a=e("./_ctx"),u=function(e,t,r){var d,l,c,f,h=e&u.F,p=e&u.G,m=e&u.P,b=e&u.B,g=p?n:e&u.S?n[t]||(n[t]={}):(n[t]||{}).prototype,v=p?o:o[t]||(o[t]={}),_=v.prototype||(v.prototype={});for(d in p&&(r=t),r)c=((l=!h&&g&&void 0!==g[d])?g:r)[d],f=b&&l?a(c,n):m&&"function"==typeof c?a(Function.call,c):c,g&&i(g,d,c,e&u.U),v[d]!=c&&s(v,d,f),m&&_[d]!=c&&(_[d]=c)};n.core=o,u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,t.exports=u},{"./_core":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_core.js","./_ctx":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_ctx.js","./_global":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_global.js","./_hide":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_hide.js","./_redefine":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_redefine.js"}],"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_fails.js":[function(e,t,r){t.exports=function(e){try{return!!e()}catch(e){return!0}}},{}],"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_for-of.js":[function(e,t,r){var n=e("./_ctx"),o=e("./_iter-call"),s=e("./_is-array-iter"),i=e("./_an-object"),a=e("./_to-length"),u=e("./core.get-iterator-method"),d={},l={};(r=t.exports=function(e,t,r,c,f){var h,p,m,b,g=f?function(){return e}:u(e),v=n(r,c,t?2:1),_=0;if("function"!=typeof g)throw TypeError(e+" is not iterable!");if(s(g)){for(h=a(e.length);h>_;_++)if((b=t?v(i(p=e[_])[0],p[1]):v(e[_]))===d||b===l)return b}else for(m=g.call(e);!(p=m.next()).done;)if((b=o(m,v,p.value,t))===d||b===l)return b}).BREAK=d,r.RETURN=l},{"./_an-object":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_an-object.js","./_ctx":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_ctx.js","./_is-array-iter":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_is-array-iter.js","./_iter-call":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_iter-call.js","./_to-length":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_to-length.js","./core.get-iterator-method":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/core.get-iterator-method.js"}],"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_global.js":[function(e,t,r){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},{}],"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_has.js":[function(e,t,r){var n={}.hasOwnProperty;t.exports=function(e,t){return n.call(e,t)}},{}],"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_hide.js":[function(e,t,r){var n=e("./_object-dp"),o=e("./_property-desc");t.exports=e("./_descriptors")?function(e,t,r){return n.f(e,t,o(1,r))}:function(e,t,r){return e[t]=r,e}},{"./_descriptors":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_descriptors.js","./_object-dp":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_object-dp.js","./_property-desc":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_property-desc.js"}],"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_html.js":[function(e,t,r){var n=e("./_global").document;t.exports=n&&n.documentElement},{"./_global":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_global.js"}],"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_ie8-dom-define.js":[function(e,t,r){t.exports=!e("./_descriptors")&&!e("./_fails")(function(){return 7!=Object.defineProperty(e("./_dom-create")("div"),"a",{get:function(){return 7}}).a})},{"./_descriptors":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_descriptors.js","./_dom-create":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_dom-create.js","./_fails":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_fails.js"}],"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_inherit-if-required.js":[function(e,t,r){var n=e("./_is-object"),o=e("./_set-proto").set;t.exports=function(e,t,r){var s,i=t.constructor;return i!==r&&"function"==typeof i&&(s=i.prototype)!==r.prototype&&n(s)&&o&&o(e,s),e}},{"./_is-object":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_is-object.js","./_set-proto":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_set-proto.js"}],"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_invoke.js":[function(e,t,r){t.exports=function(e,t,r){var n=void 0===r;switch(t.length){case 0:return n?e():e.call(r);case 1:return n?e(t[0]):e.call(r,t[0]);case 2:return n?e(t[0],t[1]):e.call(r,t[0],t[1]);case 3:return n?e(t[0],t[1],t[2]):e.call(r,t[0],t[1],t[2]);case 4:return n?e(t[0],t[1],t[2],t[3]):e.call(r,t[0],t[1],t[2],t[3])}return e.apply(r,t)}},{}],"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_iobject.js":[function(e,t,r){var n=e("./_cof");t.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==n(e)?e.split(""):Object(e)}},{"./_cof":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_cof.js"}],"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_is-array-iter.js":[function(e,t,r){var n=e("./_iterators"),o=e("./_wks")("iterator"),s=Array.prototype;t.exports=function(e){return void 0!==e&&(n.Array===e||s[o]===e)}},{"./_iterators":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_iterators.js","./_wks":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_wks.js"}],"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_is-array.js":[function(e,t,r){var n=e("./_cof");t.exports=Array.isArray||function(e){return"Array"==n(e)}},{"./_cof":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_cof.js"}],"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_is-integer.js":[function(e,t,r){var n=e("./_is-object"),o=Math.floor;t.exports=function(e){return!n(e)&&isFinite(e)&&o(e)===e}},{"./_is-object":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_is-object.js"}],"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_is-object.js":[function(e,t,r){t.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},{}],"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_iter-call.js":[function(e,t,r){var n=e("./_an-object");t.exports=function(e,t,r,o){try{return o?t(n(r)[0],r[1]):t(r)}catch(t){var s=e.return;throw void 0!==s&&n(s.call(e)),t}}},{"./_an-object":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_an-object.js"}],"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_iter-create.js":[function(e,t,r){"use strict";var n=e("./_object-create"),o=e("./_property-desc"),s=e("./_set-to-string-tag"),i={};e("./_hide")(i,e("./_wks")("iterator"),function(){return this}),t.exports=function(e,t,r){e.prototype=n(i,{next:o(1,r)}),s(e,t+" Iterator")}},{"./_hide":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_hide.js","./_object-create":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_object-create.js","./_property-desc":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_property-desc.js","./_set-to-string-tag":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_set-to-string-tag.js","./_wks":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_wks.js"}],"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_iter-define.js":[function(e,t,r){"use strict";var n=e("./_library"),o=e("./_export"),s=e("./_redefine"),i=e("./_hide"),a=e("./_has"),u=e("./_iterators"),d=e("./_iter-create"),l=e("./_set-to-string-tag"),c=e("./_object-gpo"),f=e("./_wks")("iterator"),h=!([].keys&&"next"in[].keys()),p=function(){return this};t.exports=function(e,t,r,m,b,g,v){d(r,t,m);var _,y,w,j=function(e){if(!h&&e in S)return S[e];switch(e){case"keys":case"values":return function(){return new r(this,e)}}return function(){return new r(this,e)}},E=t+" Iterator",D="values"==b,x=!1,S=e.prototype,U=S[f]||S["@@iterator"]||b&&S[b],k=!h&&U||j(b),A=b?D?j("entries"):k:void 0,I="Array"==t&&S.entries||U;if(I&&(w=c(I.call(new e)))!==Object.prototype&&w.next&&(l(w,E,!0),n||a(w,f)||i(w,f,p)),D&&U&&"values"!==U.name&&(x=!0,k=function(){return U.call(this)}),n&&!v||!h&&!x&&S[f]||i(S,f,k),u[t]=k,u[E]=p,b)if(_={values:D?k:j("values"),keys:g?k:j("keys"),entries:A},v)for(y in _)y in S||s(S,y,_[y]);else o(o.P+o.F*(h||x),t,_);return _}},{"./_export":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_export.js","./_has":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_has.js","./_hide":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_hide.js","./_iter-create":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_iter-create.js","./_iterators":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_iterators.js","./_library":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_library.js","./_object-gpo":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_object-gpo.js","./_redefine":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_redefine.js","./_set-to-string-tag":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_set-to-string-tag.js","./_wks":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_wks.js"}],"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_iter-detect.js":[function(e,t,r){var n=e("./_wks")("iterator"),o=!1;try{var s=[7][n]();s.return=function(){o=!0},Array.from(s,function(){throw 2})}catch(e){}t.exports=function(e,t){if(!t&&!o)return!1;var r=!1;try{var s=[7],i=s[n]();i.next=function(){return{done:r=!0}},s[n]=function(){return i},e(s)}catch(e){}return r}},{"./_wks":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_wks.js"}],"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_iter-step.js":[function(e,t,r){t.exports=function(e,t){return{value:t,done:!!e}}},{}],"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_iterators.js":[function(e,t,r){t.exports={}},{}],"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_library.js":[function(e,t,r){t.exports=!1},{}],"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_meta.js":[function(e,t,r){var n=e("./_uid")("meta"),o=e("./_is-object"),s=e("./_has"),i=e("./_object-dp").f,a=0,u=Object.isExtensible||function(){return!0},d=!e("./_fails")(function(){return u(Object.preventExtensions({}))}),l=function(e){i(e,n,{value:{i:"O"+ ++a,w:{}}})},c=t.exports={KEY:n,NEED:!1,fastKey:function(e,t){if(!o(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!s(e,n)){if(!u(e))return"F";if(!t)return"E";l(e)}return e[n].i},getWeak:function(e,t){if(!s(e,n)){if(!u(e))return!0;if(!t)return!1;l(e)}return e[n].w},onFreeze:function(e){return d&&c.NEED&&u(e)&&!s(e,n)&&l(e),e}}},{"./_fails":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_fails.js","./_has":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_has.js","./_is-object":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_is-object.js","./_object-dp":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_object-dp.js","./_uid":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_uid.js"}],"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_microtask.js":[function(e,t,r){var n=e("./_global"),o=e("./_task").set,s=n.MutationObserver||n.WebKitMutationObserver,i=n.process,a=n.Promise,u="process"==e("./_cof")(i);t.exports=function(){var e,t,r,d=function(){var n,o;for(u&&(n=i.domain)&&n.exit();e;){o=e.fn,e=e.next;try{o()}catch(n){throw e?r():t=void 0,n}}t=void 0,n&&n.enter()};if(u)r=function(){i.nextTick(d)};else if(!s||n.navigator&&n.navigator.standalone)if(a&&a.resolve){var l=a.resolve();r=function(){l.then(d)}}else r=function(){o.call(n,d)};else{var c=!0,f=document.createTextNode("");new s(d).observe(f,{characterData:!0}),r=function(){f.data=c=!c}}return function(n){var o={fn:n,next:void 0};t&&(t.next=o),e||(e=o,r()),t=o}}},{"./_cof":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_cof.js","./_global":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_global.js","./_task":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_task.js"}],"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_new-promise-capability.js":[function(e,t,r){"use strict";var n=e("./_a-function");t.exports.f=function(e){return new function(e){var t,r;this.promise=new e(function(e,n){if(void 0!==t||void 0!==r)throw TypeError("Bad Promise constructor");t=e,r=n}),this.resolve=n(t),this.reject=n(r)}(e)}},{"./_a-function":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_a-function.js"}],"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_object-create.js":[function(e,t,r){var n=e("./_an-object"),o=e("./_object-dps"),s=e("./_enum-bug-keys"),i=e("./_shared-key")("IE_PROTO"),a=function(){},u=function(){var t,r=e("./_dom-create")("iframe"),n=s.length;for(r.style.display="none",e("./_html").appendChild(r),r.src="javascript:",(t=r.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),u=t.F;n--;)delete u.prototype[s[n]];return u()};t.exports=Object.create||function(e,t){var r;return null!==e?(a.prototype=n(e),r=new a,a.prototype=null,r[i]=e):r=u(),void 0===t?r:o(r,t)}},{"./_an-object":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_an-object.js","./_dom-create":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_dom-create.js","./_enum-bug-keys":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_enum-bug-keys.js","./_html":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_html.js","./_object-dps":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_object-dps.js","./_shared-key":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_shared-key.js"}],"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_object-dp.js":[function(e,t,r){var n=e("./_an-object"),o=e("./_ie8-dom-define"),s=e("./_to-primitive"),i=Object.defineProperty;r.f=e("./_descriptors")?Object.defineProperty:function(e,t,r){if(n(e),t=s(t,!0),n(r),o)try{return i(e,t,r)}catch(e){}if("get"in r||"set"in r)throw TypeError("Accessors not supported!");return"value"in r&&(e[t]=r.value),e}},{"./_an-object":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_an-object.js","./_descriptors":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_descriptors.js","./_ie8-dom-define":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_ie8-dom-define.js","./_to-primitive":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_to-primitive.js"}],"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_object-dps.js":[function(e,t,r){var n=e("./_object-dp"),o=e("./_an-object"),s=e("./_object-keys");t.exports=e("./_descriptors")?Object.defineProperties:function(e,t){o(e);for(var r,i=s(t),a=i.length,u=0;a>u;)n.f(e,r=i[u++],t[r]);return e}},{"./_an-object":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_an-object.js","./_descriptors":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_descriptors.js","./_object-dp":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_object-dp.js","./_object-keys":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_object-keys.js"}],"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_object-gopd.js":[function(e,t,r){var n=e("./_object-pie"),o=e("./_property-desc"),s=e("./_to-iobject"),i=e("./_to-primitive"),a=e("./_has"),u=e("./_ie8-dom-define"),d=Object.getOwnPropertyDescriptor;r.f=e("./_descriptors")?d:function(e,t){if(e=s(e),t=i(t,!0),u)try{return d(e,t)}catch(e){}if(a(e,t))return o(!n.f.call(e,t),e[t])}},{"./_descriptors":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_descriptors.js","./_has":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_has.js","./_ie8-dom-define":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_ie8-dom-define.js","./_object-pie":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_object-pie.js","./_property-desc":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_property-desc.js","./_to-iobject":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_to-iobject.js","./_to-primitive":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_to-primitive.js"}],"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_object-gopn-ext.js":[function(e,t,r){var n=e("./_to-iobject"),o=e("./_object-gopn").f,s={}.toString,i="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(e){return i&&"[object Window]"==s.call(e)?function(e){try{return o(e)}catch(e){return i.slice()}}(e):o(n(e))}},{"./_object-gopn":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_object-gopn.js","./_to-iobject":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_to-iobject.js"}],"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_object-gopn.js":[function(e,t,r){var n=e("./_object-keys-internal"),o=e("./_enum-bug-keys").concat("length","prototype");r.f=Object.getOwnPropertyNames||function(e){return n(e,o)}},{"./_enum-bug-keys":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_enum-bug-keys.js","./_object-keys-internal":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_object-keys-internal.js"}],"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_object-gops.js":[function(e,t,r){r.f=Object.getOwnPropertySymbols},{}],"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_object-gpo.js":[function(e,t,r){var n=e("./_has"),o=e("./_to-object"),s=e("./_shared-key")("IE_PROTO"),i=Object.prototype;t.exports=Object.getPrototypeOf||function(e){return e=o(e),n(e,s)?e[s]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?i:null}},{"./_has":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_has.js","./_shared-key":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_shared-key.js","./_to-object":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_to-object.js"}],"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_object-keys-internal.js":[function(e,t,r){var n=e("./_has"),o=e("./_to-iobject"),s=e("./_array-includes")(!1),i=e("./_shared-key")("IE_PROTO");t.exports=function(e,t){var r,a=o(e),u=0,d=[];for(r in a)r!=i&&n(a,r)&&d.push(r);for(;t.length>u;)n(a,r=t[u++])&&(~s(d,r)||d.push(r));return d}},{"./_array-includes":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_array-includes.js","./_has":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_has.js","./_shared-key":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_shared-key.js","./_to-iobject":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_to-iobject.js"}],"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_object-keys.js":[function(e,t,r){var n=e("./_object-keys-internal"),o=e("./_enum-bug-keys");t.exports=Object.keys||function(e){return n(e,o)}},{"./_enum-bug-keys":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_enum-bug-keys.js","./_object-keys-internal":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_object-keys-internal.js"}],"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_object-pie.js":[function(e,t,r){r.f={}.propertyIsEnumerable},{}],"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_parse-float.js":[function(e,t,r){var n=e("./_global").parseFloat,o=e("./_string-trim").trim;t.exports=1/n(e("./_string-ws")+"-0")!=-1/0?function(e){var t=o(String(e),3),r=n(t);return 0===r&&"-"==t.charAt(0)?-0:r}:n},{"./_global":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_global.js","./_string-trim":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_string-trim.js","./_string-ws":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_string-ws.js"}],"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_parse-int.js":[function(e,t,r){var n=e("./_global").parseInt,o=e("./_string-trim").trim,s=e("./_string-ws"),i=/^[-+]?0[xX]/;t.exports=8!==n(s+"08")||22!==n(s+"0x16")?function(e,t){var r=o(String(e),3);return n(r,t>>>0||(i.test(r)?16:10))}:n},{"./_global":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_global.js","./_string-trim":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_string-trim.js","./_string-ws":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_string-ws.js"}],"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_perform.js":[function(e,t,r){t.exports=function(e){try{return{e:!1,v:e()}}catch(e){return{e:!0,v:e}}}},{}],"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_promise-resolve.js":[function(e,t,r){var n=e("./_an-object"),o=e("./_is-object"),s=e("./_new-promise-capability");t.exports=function(e,t){if(n(e),o(t)&&t.constructor===e)return t;var r=s.f(e);return(0,r.resolve)(t),r.promise}},{"./_an-object":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_an-object.js","./_is-object":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_is-object.js","./_new-promise-capability":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_new-promise-capability.js"}],"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_property-desc.js":[function(e,t,r){t.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},{}],"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_redefine-all.js":[function(e,t,r){var n=e("./_redefine");t.exports=function(e,t,r){for(var o in t)n(e,o,t[o],r);return e}},{"./_redefine":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_redefine.js"}],"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_redefine.js":[function(e,t,r){var n=e("./_global"),o=e("./_hide"),s=e("./_has"),i=e("./_uid")("src"),a=Function.toString,u=(""+a).split("toString");e("./_core").inspectSource=function(e){return a.call(e)},(t.exports=function(e,t,r,a){var d="function"==typeof r;d&&(s(r,"name")||o(r,"name",t)),e[t]!==r&&(d&&(s(r,i)||o(r,i,e[t]?""+e[t]:u.join(String(t)))),e===n?e[t]=r:a?e[t]?e[t]=r:o(e,t,r):(delete e[t],o(e,t,r)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[i]||a.call(this)})},{"./_core":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_core.js","./_global":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_global.js","./_has":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_has.js","./_hide":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_hide.js","./_uid":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_uid.js"}],"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_set-proto.js":[function(e,t,r){var n=e("./_is-object"),o=e("./_an-object"),s=function(e,t){if(o(e),!n(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,r,n){try{(n=e("./_ctx")(Function.call,e("./_object-gopd").f(Object.prototype,"__proto__").set,2))(t,[]),r=!(t instanceof Array)}catch(e){r=!0}return function(e,t){return s(e,t),r?e.__proto__=t:n(e,t),e}}({},!1):void 0),check:s}},{"./_an-object":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_an-object.js","./_ctx":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_ctx.js","./_is-object":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_is-object.js","./_object-gopd":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_object-gopd.js"}],"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_set-species.js":[function(e,t,r){"use strict";var n=e("./_global"),o=e("./_object-dp"),s=e("./_descriptors"),i=e("./_wks")("species");t.exports=function(e){var t=n[e];s&&t&&!t[i]&&o.f(t,i,{configurable:!0,get:function(){return this}})}},{"./_descriptors":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_descriptors.js","./_global":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_global.js","./_object-dp":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_object-dp.js","./_wks":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_wks.js"}],"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_set-to-string-tag.js":[function(e,t,r){var n=e("./_object-dp").f,o=e("./_has"),s=e("./_wks")("toStringTag");t.exports=function(e,t,r){e&&!o(e=r?e:e.prototype,s)&&n(e,s,{configurable:!0,value:t})}},{"./_has":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_has.js","./_object-dp":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_object-dp.js","./_wks":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_wks.js"}],"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_shared-key.js":[function(e,t,r){var n=e("./_shared")("keys"),o=e("./_uid");t.exports=function(e){return n[e]||(n[e]=o(e))}},{"./_shared":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_shared.js","./_uid":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_uid.js"}],"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_shared.js":[function(e,t,r){var n=e("./_global"),o=n["__core-js_shared__"]||(n["__core-js_shared__"]={});t.exports=function(e){return o[e]||(o[e]={})}},{"./_global":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_global.js"}],"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_species-constructor.js":[function(e,t,r){var n=e("./_an-object"),o=e("./_a-function"),s=e("./_wks")("species");t.exports=function(e,t){var r,i=n(e).constructor;return void 0===i||void 0==(r=n(i)[s])?t:o(r)}},{"./_a-function":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_a-function.js","./_an-object":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_an-object.js","./_wks":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_wks.js"}],"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_string-at.js":[function(e,t,r){var n=e("./_to-integer"),o=e("./_defined");t.exports=function(e){return function(t,r){var s,i,a=String(o(t)),u=n(r),d=a.length;return u<0||u>=d?e?"":void 0:(s=a.charCodeAt(u))<55296||s>56319||u+1===d||(i=a.charCodeAt(u+1))<56320||i>57343?e?a.charAt(u):s:e?a.slice(u,u+2):i-56320+(s-55296<<10)+65536}}},{"./_defined":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_defined.js","./_to-integer":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_to-integer.js"}],"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_string-repeat.js":[function(e,t,r){"use strict";var n=e("./_to-integer"),o=e("./_defined");t.exports=function(e){var t=String(o(this)),r="",s=n(e);if(s<0||1/0==s)throw RangeError("Count can't be negative");for(;s>0;(s>>>=1)&&(t+=t))1&s&&(r+=t);return r}},{"./_defined":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_defined.js","./_to-integer":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_to-integer.js"}],"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_string-trim.js":[function(e,t,r){var n=e("./_export"),o=e("./_defined"),s=e("./_fails"),i=e("./_string-ws"),a="["+i+"]",u=RegExp("^"+a+a+"*"),d=RegExp(a+a+"*$"),l=function(e,t,r){var o={},a=s(function(){return!!i[e]()||"\u200b\x85"!="\u200b\x85"[e]()}),u=o[e]=a?t(c):i[e];r&&(o[r]=u),n(n.P+n.F*a,"String",o)},c=l.trim=function(e,t){return e=String(o(e)),1&t&&(e=e.replace(u,"")),2&t&&(e=e.replace(d,"")),e};t.exports=l},{"./_defined":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_defined.js","./_export":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_export.js","./_fails":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_fails.js","./_string-ws":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_string-ws.js"}],"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_string-ws.js":[function(e,t,r){t.exports="\t\n\v\f\r \xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029\ufeff"},{}],"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_task.js":[function(e,t,r){var n,o,s,i=e("./_ctx"),a=e("./_invoke"),u=e("./_html"),d=e("./_dom-create"),l=e("./_global"),c=l.process,f=l.setImmediate,h=l.clearImmediate,p=l.MessageChannel,m=l.Dispatch,b=0,g={},v=function(){var e=+this;if(g.hasOwnProperty(e)){var t=g[e];delete g[e],t()}},_=function(e){v.call(e.data)};f&&h||(f=function(e){for(var t=[],r=1;arguments.length>r;)t.push(arguments[r++]);return g[++b]=function(){a("function"==typeof e?e:Function(e),t)},n(b),b},h=function(e){delete g[e]},"process"==e("./_cof")(c)?n=function(e){c.nextTick(i(v,e,1))}:m&&m.now?n=function(e){m.now(i(v,e,1))}:p?(s=(o=new p).port2,o.port1.onmessage=_,n=i(s.postMessage,s,1)):l.addEventListener&&"function"==typeof postMessage&&!l.importScripts?(n=function(e){l.postMessage(e+"","*")},l.addEventListener("message",_,!1)):n="onreadystatechange"in d("script")?function(e){u.appendChild(d("script")).onreadystatechange=function(){u.removeChild(this),v.call(e)}}:function(e){setTimeout(i(v,e,1),0)}),t.exports={set:f,clear:h}},{"./_cof":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_cof.js","./_ctx":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_ctx.js","./_dom-create":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_dom-create.js","./_global":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_global.js","./_html":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_html.js","./_invoke":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_invoke.js"}],"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_to-absolute-index.js":[function(e,t,r){var n=e("./_to-integer"),o=Math.max,s=Math.min;t.exports=function(e,t){return(e=n(e))<0?o(e+t,0):s(e,t)}},{"./_to-integer":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_to-integer.js"}],"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_to-integer.js":[function(e,t,r){var n=Math.ceil,o=Math.floor;t.exports=function(e){return isNaN(e=+e)?0:(e>0?o:n)(e)}},{}],"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_to-iobject.js":[function(e,t,r){var n=e("./_iobject"),o=e("./_defined");t.exports=function(e){return n(o(e))}},{"./_defined":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_defined.js","./_iobject":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_iobject.js"}],"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_to-length.js":[function(e,t,r){var n=e("./_to-integer"),o=Math.min;t.exports=function(e){return e>0?o(n(e),9007199254740991):0}},{"./_to-integer":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_to-integer.js"}],"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_to-object.js":[function(e,t,r){var n=e("./_defined");t.exports=function(e){return Object(n(e))}},{"./_defined":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_defined.js"}],"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_to-primitive.js":[function(e,t,r){var n=e("./_is-object");t.exports=function(e,t){if(!n(e))return e;var r,o;if(t&&"function"==typeof(r=e.toString)&&!n(o=r.call(e)))return o;if("function"==typeof(r=e.valueOf)&&!n(o=r.call(e)))return o;if(!t&&"function"==typeof(r=e.toString)&&!n(o=r.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},{"./_is-object":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_is-object.js"}],"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_uid.js":[function(e,t,r){var n=0,o=Math.random();t.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+o).toString(36))}},{}],"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_validate-collection.js":[function(e,t,r){var n=e("./_is-object");t.exports=function(e,t){if(!n(e)||e._t!==t)throw TypeError("Incompatible receiver, "+t+" required!");return e}},{"./_is-object":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_is-object.js"}],"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_wks-define.js":[function(e,t,r){var n=e("./_global"),o=e("./_core"),s=e("./_library"),i=e("./_wks-ext"),a=e("./_object-dp").f;t.exports=function(e){var t=o.Symbol||(o.Symbol=s?{}:n.Symbol||{});"_"==e.charAt(0)||e in t||a(t,e,{value:i.f(e)})}},{"./_core":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_core.js","./_global":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_global.js","./_library":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_library.js","./_object-dp":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_object-dp.js","./_wks-ext":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_wks-ext.js"}],"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_wks-ext.js":[function(e,t,r){r.f=e("./_wks")},{"./_wks":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_wks.js"}],"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_wks.js":[function(e,t,r){var n=e("./_shared")("wks"),o=e("./_uid"),s=e("./_global").Symbol,i="function"==typeof s;(t.exports=function(e){return n[e]||(n[e]=i&&s[e]||(i?s:o)("Symbol."+e))}).store=n},{"./_global":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_global.js","./_shared":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_shared.js","./_uid":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_uid.js"}],"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/core.get-iterator-method.js":[function(e,t,r){var n=e("./_classof"),o=e("./_wks")("iterator"),s=e("./_iterators");t.exports=e("./_core").getIteratorMethod=function(e){if(void 0!=e)return e[o]||e["@@iterator"]||s[n(e)]}},{"./_classof":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_classof.js","./_core":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_core.js","./_iterators":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_iterators.js","./_wks":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_wks.js"}],"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/es6.array.from.js":[function(e,t,r){"use strict";var n=e("./_ctx"),o=e("./_export"),s=e("./_to-object"),i=e("./_iter-call"),a=e("./_is-array-iter"),u=e("./_to-length"),d=e("./_create-property"),l=e("./core.get-iterator-method");o(o.S+o.F*!e("./_iter-detect")(function(e){Array.from(e)}),"Array",{from:function(e){var t,r,o,c,f=s(e),h="function"==typeof this?this:Array,p=arguments.length,m=p>1?arguments[1]:void 0,b=void 0!==m,g=0,v=l(f);if(b&&(m=n(m,p>2?arguments[2]:void 0,2)),void 0==v||h==Array&&a(v))for(r=new h(t=u(f.length));t>g;g++)d(r,g,b?m(f[g],g):f[g]);else for(c=v.call(f),r=new h;!(o=c.next()).done;g++)d(r,g,b?i(c,m,[o.value,g],!0):o.value);return r.length=g,r}})},{"./_create-property":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_create-property.js","./_ctx":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_ctx.js","./_export":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_export.js","./_is-array-iter":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_is-array-iter.js","./_iter-call":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_iter-call.js","./_iter-detect":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_iter-detect.js","./_to-length":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_to-length.js","./_to-object":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_to-object.js","./core.get-iterator-method":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/core.get-iterator-method.js"}],"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/es6.array.iterator.js":[function(e,t,r){"use strict";var n=e("./_add-to-unscopables"),o=e("./_iter-step"),s=e("./_iterators"),i=e("./_to-iobject");t.exports=e("./_iter-define")(Array,"Array",function(e,t){this._t=i(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,r=this._i++;return!e||r>=e.length?(this._t=void 0,o(1)):o(0,"keys"==t?r:"values"==t?e[r]:[r,e[r]])},"values"),s.Arguments=s.Array,n("keys"),n("values"),n("entries")},{"./_add-to-unscopables":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_add-to-unscopables.js","./_iter-define":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_iter-define.js","./_iter-step":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_iter-step.js","./_iterators":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_iterators.js","./_to-iobject":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_to-iobject.js"}],"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/es6.map.js":[function(e,t,r){"use strict";var n=e("./_collection-strong"),o=e("./_validate-collection");t.exports=e("./_collection")("Map",function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},{get:function(e){var t=n.getEntry(o(this,"Map"),e);return t&&t.v},set:function(e,t){return n.def(o(this,"Map"),0===e?0:e,t)}},n,!0)},{"./_collection":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_collection.js","./_collection-strong":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_collection-strong.js","./_validate-collection":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_validate-collection.js"}],"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/es6.number.constructor.js":[function(e,t,r){"use strict";var n=e("./_global"),o=e("./_has"),s=e("./_cof"),i=e("./_inherit-if-required"),a=e("./_to-primitive"),u=e("./_fails"),d=e("./_object-gopn").f,l=e("./_object-gopd").f,c=e("./_object-dp").f,f=e("./_string-trim").trim,h=n.Number,p=h,m=h.prototype,b="Number"==s(e("./_object-create")(m)),g="trim"in String.prototype,v=function(e){var t=a(e,!1);if("string"==typeof t&&t.length>2){var r,n,o,s=(t=g?t.trim():f(t,3)).charCodeAt(0);if(43===s||45===s){if(88===(r=t.charCodeAt(2))||120===r)return NaN}else if(48===s){switch(t.charCodeAt(1)){case 66:case 98:n=2,o=49;break;case 79:case 111:n=8,o=55;break;default:return+t}for(var i,u=t.slice(2),d=0,l=u.length;d<l;d++)if((i=u.charCodeAt(d))<48||i>o)return NaN;return parseInt(u,n)}}return+t};if(!h(" 0o1")||!h("0b1")||h("+0x1")){h=function(e){var t=arguments.length<1?0:e,r=this;return r instanceof h&&(b?u(function(){m.valueOf.call(r)}):"Number"!=s(r))?i(new p(v(t)),r,h):v(t)};for(var _,y=e("./_descriptors")?d(p):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),w=0;y.length>w;w++)o(p,_=y[w])&&!o(h,_)&&c(h,_,l(p,_));h.prototype=m,m.constructor=h,e("./_redefine")(n,"Number",h)}},{"./_cof":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_cof.js","./_descriptors":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_descriptors.js","./_fails":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_fails.js","./_global":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_global.js","./_has":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_has.js","./_inherit-if-required":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_inherit-if-required.js","./_object-create":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_object-create.js","./_object-dp":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_object-dp.js","./_object-gopd":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_object-gopd.js","./_object-gopn":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_object-gopn.js","./_redefine":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_redefine.js","./_string-trim":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_string-trim.js","./_to-primitive":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_to-primitive.js"}],"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/es6.number.epsilon.js":[function(e,t,r){var n=e("./_export");n(n.S,"Number",{EPSILON:Math.pow(2,-52)})},{"./_export":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_export.js"}],"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/es6.number.is-finite.js":[function(e,t,r){var n=e("./_export"),o=e("./_global").isFinite;n(n.S,"Number",{isFinite:function(e){return"number"==typeof e&&o(e)}})},{"./_export":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_export.js","./_global":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_global.js"}],"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/es6.number.is-integer.js":[function(e,t,r){var n=e("./_export");n(n.S,"Number",{isInteger:e("./_is-integer")})},{"./_export":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_export.js","./_is-integer":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_is-integer.js"}],"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/es6.number.is-nan.js":[function(e,t,r){var n=e("./_export");n(n.S,"Number",{isNaN:function(e){return e!=e}})},{"./_export":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_export.js"}],"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/es6.number.is-safe-integer.js":[function(e,t,r){var n=e("./_export"),o=e("./_is-integer"),s=Math.abs;n(n.S,"Number",{isSafeInteger:function(e){return o(e)&&s(e)<=9007199254740991}})},{"./_export":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_export.js","./_is-integer":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_is-integer.js"}],"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/es6.number.max-safe-integer.js":[function(e,t,r){var n=e("./_export");n(n.S,"Number",{MAX_SAFE_INTEGER:9007199254740991})},{"./_export":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_export.js"}],"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/es6.number.min-safe-integer.js":[function(e,t,r){var n=e("./_export");n(n.S,"Number",{MIN_SAFE_INTEGER:-9007199254740991})},{"./_export":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_export.js"}],"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/es6.number.parse-float.js":[function(e,t,r){var n=e("./_export"),o=e("./_parse-float");n(n.S+n.F*(Number.parseFloat!=o),"Number",{parseFloat:o})},{"./_export":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_export.js","./_parse-float":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_parse-float.js"}],"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/es6.number.parse-int.js":[function(e,t,r){var n=e("./_export"),o=e("./_parse-int");n(n.S+n.F*(Number.parseInt!=o),"Number",{parseInt:o})},{"./_export":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_export.js","./_parse-int":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_parse-int.js"}],"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/es6.number.to-fixed.js":[function(e,t,r){"use strict";var n=e("./_export"),o=e("./_to-integer"),s=e("./_a-number-value"),i=e("./_string-repeat"),a=1..toFixed,u=Math.floor,d=[0,0,0,0,0,0],l="Number.toFixed: incorrect invocation!",c=function(e,t){for(var r=-1,n=t;++r<6;)d[r]=(n+=e*d[r])%1e7,n=u(n/1e7)},f=function(e){for(var t=6,r=0;--t>=0;)d[t]=u((r+=d[t])/e),r=r%e*1e7},h=function(){for(var e=6,t="";--e>=0;)if(""!==t||0===e||0!==d[e]){var r=String(d[e]);t=""===t?r:t+i.call("0",7-r.length)+r}return t},p=function(e,t,r){return 0===t?r:t%2==1?p(e,t-1,r*e):p(e*e,t/2,r)};n(n.P+n.F*(!!a&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!e("./_fails")(function(){a.call({})})),"Number",{toFixed:function(e){var t,r,n,a,u=s(this,l),d=o(e),m="",b="0";if(d<0||d>20)throw RangeError(l);if(u!=u)return"NaN";if(u<=-1e21||u>=1e21)return String(u);if(u<0&&(m="-",u=-u),u>1e-21)if(r=(t=function(e){for(var t=0,r=e;r>=4096;)t+=12,r/=4096;for(;r>=2;)t+=1,r/=2;return t}(u*p(2,69,1))-69)<0?u*p(2,-t,1):u/p(2,t,1),r*=4503599627370496,(t=52-t)>0){for(c(0,r),n=d;n>=7;)c(1e7,0),n-=7;for(c(p(10,n,1),0),n=t-1;n>=23;)f(1<<23),n-=23;f(1<<n),c(1,1),f(2),b=h()}else c(0,r),c(1<<-t,0),b=h()+i.call("0",d);return d>0?m+((a=b.length)<=d?"0."+i.call("0",d-a)+b:b.slice(0,a-d)+"."+b.slice(a-d)):m+b}})},{"./_a-number-value":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_a-number-value.js","./_export":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_export.js","./_fails":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_fails.js","./_string-repeat":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_string-repeat.js","./_to-integer":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_to-integer.js"}],"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/es6.number.to-precision.js":[function(e,t,r){"use strict";var n=e("./_export"),o=e("./_fails"),s=e("./_a-number-value"),i=1..toPrecision;n(n.P+n.F*(o(function(){return"1"!==i.call(1,void 0)})||!o(function(){i.call({})})),"Number",{toPrecision:function(e){var t=s(this,"Number#toPrecision: incorrect invocation!");return void 0===e?i.call(t):i.call(t,e)}})},{"./_a-number-value":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_a-number-value.js","./_export":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_export.js","./_fails":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_fails.js"}],"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/es6.object.to-string.js":[function(e,t,r){"use strict";var n=e("./_classof"),o={};o[e("./_wks")("toStringTag")]="z",o+""!="[object z]"&&e("./_redefine")(Object.prototype,"toString",function(){return"[object "+n(this)+"]"},!0)},{"./_classof":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_classof.js","./_redefine":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_redefine.js","./_wks":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_wks.js"}],"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/es6.promise.js":[function(e,t,r){"use strict";var n,o,s,i,a=e("./_library"),u=e("./_global"),d=e("./_ctx"),l=e("./_classof"),c=e("./_export"),f=e("./_is-object"),h=e("./_a-function"),p=e("./_an-instance"),m=e("./_for-of"),b=e("./_species-constructor"),g=e("./_task").set,v=e("./_microtask")(),_=e("./_new-promise-capability"),y=e("./_perform"),w=e("./_promise-resolve"),j=u.TypeError,E=u.process,D=u.Promise,x="process"==l(E),S=function(){},U=o=_.f,k=!!function(){try{var t=D.resolve(1),r=(t.constructor={})[e("./_wks")("species")]=function(e){e(S,S)};return(x||"function"==typeof PromiseRejectionEvent)&&t.then(S)instanceof r}catch(e){}}(),A=function(e){var t;return!(!f(e)||"function"!=typeof(t=e.then))&&t},I=function(e,t){if(!e._n){e._n=!0;var r=e._c;v(function(){for(var n=e._v,o=1==e._s,s=0,i=function(t){var r,s,i=o?t.ok:t.fail,a=t.resolve,u=t.reject,d=t.domain;try{i?(o||(2==e._h&&M(e),e._h=1),!0===i?r=n:(d&&d.enter(),r=i(n),d&&d.exit()),r===t.promise?u(j("Promise-chain cycle")):(s=A(r))?s.call(r,a,u):a(r)):u(n)}catch(e){u(e)}};r.length>s;)i(r[s++]);e._c=[],e._n=!1,t&&!e._h&&C(e)})}},C=function(e){g.call(u,function(){var t,r,n,o=e._v,s=T(e);if(s&&(t=y(function(){x?E.emit("unhandledRejection",o,e):(r=u.onunhandledrejection)?r({promise:e,reason:o}):(n=u.console)&&n.error&&n.error("Unhandled promise rejection",o)}),e._h=x||T(e)?2:1),e._a=void 0,s&&t.e)throw t.v})},T=function(e){return 1!==e._h&&0===(e._a||e._c).length},M=function(e){g.call(u,function(){var t;x?E.emit("rejectionHandled",e):(t=u.onrejectionhandled)&&t({promise:e,reason:e._v})})},O=function(e){var t=this;t._d||(t._d=!0,(t=t._w||t)._v=e,t._s=2,t._a||(t._a=t._c.slice()),I(t,!0))},P=function(e){var t,r=this;if(!r._d){r._d=!0,r=r._w||r;try{if(r===e)throw j("Promise can't be resolved itself");(t=A(e))?v(function(){var n={_w:r,_d:!1};try{t.call(e,d(P,n,1),d(O,n,1))}catch(e){O.call(n,e)}}):(r._v=e,r._s=1,I(r,!1))}catch(e){O.call({_w:r,_d:!1},e)}}};k||(D=function(e){p(this,D,"Promise","_h"),h(e),n.call(this);try{e(d(P,this,1),d(O,this,1))}catch(e){O.call(this,e)}},(n=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=e("./_redefine-all")(D.prototype,{then:function(e,t){var r=U(b(this,D));return r.ok="function"!=typeof e||e,r.fail="function"==typeof t&&t,r.domain=x?E.domain:void 0,this._c.push(r),this._a&&this._a.push(r),this._s&&I(this,!1),r.promise},catch:function(e){return this.then(void 0,e)}}),s=function(){var e=new n;this.promise=e,this.resolve=d(P,e,1),this.reject=d(O,e,1)},_.f=U=function(e){return e===D||e===i?new s(e):o(e)}),c(c.G+c.W+c.F*!k,{Promise:D}),e("./_set-to-string-tag")(D,"Promise"),e("./_set-species")("Promise"),i=e("./_core").Promise,c(c.S+c.F*!k,"Promise",{reject:function(e){var t=U(this);return(0,t.reject)(e),t.promise}}),c(c.S+c.F*(a||!k),"Promise",{resolve:function(e){return w(a&&this===i?D:this,e)}}),c(c.S+c.F*!(k&&e("./_iter-detect")(function(e){D.all(e).catch(S)})),"Promise",{all:function(e){var t=this,r=U(t),n=r.resolve,o=r.reject,s=y(function(){var r=[],s=0,i=1;m(e,!1,function(e){var a=s++,u=!1;r.push(void 0),i++,t.resolve(e).then(function(e){u||(u=!0,r[a]=e,--i||n(r))},o)}),--i||n(r)});return s.e&&o(s.v),r.promise},race:function(e){var t=this,r=U(t),n=r.reject,o=y(function(){m(e,!1,function(e){t.resolve(e).then(r.resolve,n)})});return o.e&&n(o.v),r.promise}})},{"./_a-function":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_a-function.js","./_an-instance":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_an-instance.js","./_classof":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_classof.js","./_core":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_core.js","./_ctx":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_ctx.js","./_export":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_export.js","./_for-of":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_for-of.js","./_global":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_global.js","./_is-object":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_is-object.js","./_iter-detect":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_iter-detect.js","./_library":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_library.js","./_microtask":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_microtask.js","./_new-promise-capability":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_new-promise-capability.js","./_perform":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_perform.js","./_promise-resolve":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_promise-resolve.js","./_redefine-all":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_redefine-all.js","./_set-species":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_set-species.js","./_set-to-string-tag":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_set-to-string-tag.js","./_species-constructor":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_species-constructor.js","./_task":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_task.js","./_wks":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_wks.js"}],"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/es6.string.iterator.js":[function(e,t,r){"use strict";var n=e("./_string-at")(!0);e("./_iter-define")(String,"String",function(e){this._t=String(e),this._i=0},function(){var e,t=this._t,r=this._i;return r>=t.length?{value:void 0,done:!0}:(e=n(t,r),this._i+=e.length,{value:e,done:!1})})},{"./_iter-define":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_iter-define.js","./_string-at":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_string-at.js"}],"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/es6.symbol.js":[function(e,t,r){"use strict";var n=e("./_global"),o=e("./_has"),s=e("./_descriptors"),i=e("./_export"),a=e("./_redefine"),u=e("./_meta").KEY,d=e("./_fails"),l=e("./_shared"),c=e("./_set-to-string-tag"),f=e("./_uid"),h=e("./_wks"),p=e("./_wks-ext"),m=e("./_wks-define"),b=e("./_enum-keys"),g=e("./_is-array"),v=e("./_an-object"),_=e("./_is-object"),y=e("./_to-iobject"),w=e("./_to-primitive"),j=e("./_property-desc"),E=e("./_object-create"),D=e("./_object-gopn-ext"),x=e("./_object-gopd"),S=e("./_object-dp"),U=e("./_object-keys"),k=x.f,A=S.f,I=D.f,C=n.Symbol,T=n.JSON,M=T&&T.stringify,O=h("_hidden"),P=h("toPrimitive"),N={}.propertyIsEnumerable,R=l("symbol-registry"),L=l("symbols"),B=l("op-symbols"),V=Object.prototype,F="function"==typeof C,z=n.QObject,q=!z||!z.prototype||!z.prototype.findChild,H=s&&d(function(){return 7!=E(A({},"a",{get:function(){return A(this,"a",{value:7}).a}})).a})?function(e,t,r){var n=k(V,t);n&&delete V[t],A(e,t,r),n&&e!==V&&A(V,t,n)}:A,K=function(e){var t=L[e]=E(C.prototype);return t._k=e,t},G=F&&"symbol"==typeof C.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof C},Y=function(e,t,r){return e===V&&Y(B,t,r),v(e),t=w(t,!0),v(r),o(L,t)?(r.enumerable?(o(e,O)&&e[O][t]&&(e[O][t]=!1),r=E(r,{enumerable:j(0,!1)})):(o(e,O)||A(e,O,j(1,{})),e[O][t]=!0),H(e,t,r)):A(e,t,r)},W=function(e,t){v(e);for(var r,n=b(t=y(t)),o=0,s=n.length;s>o;)Y(e,r=n[o++],t[r]);return e},Z=function(e){var t=N.call(this,e=w(e,!0));return!(this===V&&o(L,e)&&!o(B,e))&&(!(t||!o(this,e)||!o(L,e)||o(this,O)&&this[O][e])||t)},X=function(e,t){if(e=y(e),t=w(t,!0),e!==V||!o(L,t)||o(B,t)){var r=k(e,t);return!r||!o(L,t)||o(e,O)&&e[O][t]||(r.enumerable=!0),r}},J=function(e){for(var t,r=I(y(e)),n=[],s=0;r.length>s;)o(L,t=r[s++])||t==O||t==u||n.push(t);return n},Q=function(e){for(var t,r=e===V,n=I(r?B:y(e)),s=[],i=0;n.length>i;)!o(L,t=n[i++])||r&&!o(V,t)||s.push(L[t]);return s};F||(a((C=function(){if(this instanceof C)throw TypeError("Symbol is not a constructor!");var e=f(arguments.length>0?arguments[0]:void 0),t=function(r){this===V&&t.call(B,r),o(this,O)&&o(this[O],e)&&(this[O][e]=!1),H(this,e,j(1,r))};return s&&q&&H(V,e,{configurable:!0,set:t}),K(e)}).prototype,"toString",function(){return this._k}),x.f=X,S.f=Y,e("./_object-gopn").f=D.f=J,e("./_object-pie").f=Z,e("./_object-gops").f=Q,s&&!e("./_library")&&a(V,"propertyIsEnumerable",Z,!0),p.f=function(e){return K(h(e))}),i(i.G+i.W+i.F*!F,{Symbol:C});for(var $="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ee=0;$.length>ee;)h($[ee++]);for(var te=U(h.store),re=0;te.length>re;)m(te[re++]);i(i.S+i.F*!F,"Symbol",{for:function(e){return o(R,e+="")?R[e]:R[e]=C(e)},keyFor:function(e){if(!G(e))throw TypeError(e+" is not a symbol!");for(var t in R)if(R[t]===e)return t},useSetter:function(){q=!0},useSimple:function(){q=!1}}),i(i.S+i.F*!F,"Object",{create:function(e,t){return void 0===t?E(e):W(E(e),t)},defineProperty:Y,defineProperties:W,getOwnPropertyDescriptor:X,getOwnPropertyNames:J,getOwnPropertySymbols:Q}),T&&i(i.S+i.F*(!F||d(function(){var e=C();return"[null]"!=M([e])||"{}"!=M({a:e})||"{}"!=M(Object(e))})),"JSON",{stringify:function(e){for(var t,r,n=[e],o=1;arguments.length>o;)n.push(arguments[o++]);if(r=t=n[1],(_(t)||void 0!==e)&&!G(e))return g(t)||(t=function(e,t){if("function"==typeof r&&(t=r.call(this,e,t)),!G(t))return t}),n[1]=t,M.apply(T,n)}}),C.prototype[P]||e("./_hide")(C.prototype,P,C.prototype.valueOf),c(C,"Symbol"),c(Math,"Math",!0),c(n.JSON,"JSON",!0)},{"./_an-object":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_an-object.js","./_descriptors":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_descriptors.js","./_enum-keys":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_enum-keys.js","./_export":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_export.js","./_fails":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_fails.js","./_global":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_global.js","./_has":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_has.js","./_hide":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_hide.js","./_is-array":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_is-array.js","./_is-object":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_is-object.js","./_library":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_library.js","./_meta":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_meta.js","./_object-create":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_object-create.js","./_object-dp":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_object-dp.js","./_object-gopd":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_object-gopd.js","./_object-gopn":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_object-gopn.js","./_object-gopn-ext":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_object-gopn-ext.js","./_object-gops":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_object-gops.js","./_object-keys":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_object-keys.js","./_object-pie":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_object-pie.js","./_property-desc":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_property-desc.js","./_redefine":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_redefine.js","./_set-to-string-tag":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_set-to-string-tag.js","./_shared":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_shared.js","./_to-iobject":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_to-iobject.js","./_to-primitive":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_to-primitive.js","./_uid":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_uid.js","./_wks":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_wks.js","./_wks-define":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_wks-define.js","./_wks-ext":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_wks-ext.js"}],"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/es7.symbol.async-iterator.js":[function(e,t,r){e("./_wks-define")("asyncIterator")},{"./_wks-define":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_wks-define.js"}],"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/web.dom.iterable.js":[function(e,t,r){for(var n=e("./es6.array.iterator"),o=e("./_object-keys"),s=e("./_redefine"),i=e("./_global"),a=e("./_hide"),u=e("./_iterators"),d=e("./_wks"),l=d("iterator"),c=d("toStringTag"),f=u.Array,h={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},p=o(h),m=0;m<p.length;m++){var b,g=p[m],v=h[g],_=i[g],y=_&&_.prototype;if(y&&(y[l]||a(y,l,f),y[c]||a(y,c,g),u[g]=f,v))for(b in n)y[b]||s(y,b,n[b],!0)}},{"./_global":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_global.js","./_hide":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_hide.js","./_iterators":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_iterators.js","./_object-keys":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_object-keys.js","./_redefine":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_redefine.js","./_wks":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/_wks.js","./es6.array.iterator":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/es6.array.iterator.js"}],"/Users/jnordberg/Development/dsteem/node_modules/core-util-is/lib/util.js":[function(e,t,r){(function(e){function t(e){return Object.prototype.toString.call(e)}r.isArray=function(e){return Array.isArray?Array.isArray(e):"[object Array]"===t(e)},r.isBoolean=function(e){return"boolean"==typeof e},r.isNull=function(e){return null===e},r.isNullOrUndefined=function(e){return null==e},r.isNumber=function(e){return"number"==typeof e},r.isString=function(e){return"string"==typeof e},r.isSymbol=function(e){return"symbol"==typeof e},r.isUndefined=function(e){return void 0===e},r.isRegExp=function(e){return"[object RegExp]"===t(e)},r.isObject=function(e){return"object"==typeof e&&null!==e},r.isDate=function(e){return"[object Date]"===t(e)},r.isError=function(e){return"[object Error]"===t(e)||e instanceof Error},r.isFunction=function(e){return"function"==typeof e},r.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},r.isBuffer=e.isBuffer}).call(this,{isBuffer:e("../../is-buffer/index.js")})},{"../../is-buffer/index.js":"/Users/jnordberg/Development/dsteem/node_modules/is-buffer/index.js"}],"/Users/jnordberg/Development/dsteem/node_modules/create-ecdh/browser.js":[function(e,t,r){(function(r){var n=e("elliptic"),o=e("bn.js");t.exports=function(e){return new i(e)};var s={secp256k1:{name:"secp256k1",byteLength:32},secp224r1:{name:"p224",byteLength:28},prime256v1:{name:"p256",byteLength:32},prime192v1:{name:"p192",byteLength:24},ed25519:{name:"ed25519",byteLength:32},secp384r1:{name:"p384",byteLength:48},secp521r1:{name:"p521",byteLength:66}};function i(e){this.curveType=s[e],this.curveType||(this.curveType={name:e}),this.curve=new n.ec(this.curveType.name),this.keys=void 0}function a(e,t,n){Array.isArray(e)||(e=e.toArray());var o=new r(e);if(n&&o.length<n){var s=new r(n-o.length);s.fill(0),o=r.concat([s,o])}return t?o.toString(t):o}s.p224=s.secp224r1,s.p256=s.secp256r1=s.prime256v1,s.p192=s.secp192r1=s.prime192v1,s.p384=s.secp384r1,s.p521=s.secp521r1,i.prototype.generateKeys=function(e,t){return this.keys=this.curve.genKeyPair(),this.getPublicKey(e,t)},i.prototype.computeSecret=function(e,t,n){return t=t||"utf8",r.isBuffer(e)||(e=new r(e,t)),a(this.curve.keyFromPublic(e).getPublic().mul(this.keys.getPrivate()).getX(),n,this.curveType.byteLength)},i.prototype.getPublicKey=function(e,t){var r=this.keys.getPublic("compressed"===t,!0);return"hybrid"===t&&(r[0]=r[r.length-1]%2?7:6),a(r,e)},i.prototype.getPrivateKey=function(e){return a(this.keys.getPrivate(),e)},i.prototype.setPublicKey=function(e,t){return t=t||"utf8",r.isBuffer(e)||(e=new r(e,t)),this.keys._importPublic(e),this},i.prototype.setPrivateKey=function(e,t){t=t||"utf8",r.isBuffer(e)||(e=new r(e,t));var n=new o(e);return n=n.toString(16),this.keys._importPrivate(n),this}}).call(this,e("buffer").Buffer)},{"bn.js":"/Users/jnordberg/Development/dsteem/node_modules/bn.js/lib/bn.js",buffer:"/Users/jnordberg/Development/dsteem/node_modules/buffer/index.js",elliptic:"/Users/jnordberg/Development/dsteem/node_modules/elliptic/lib/elliptic.js"}],"/Users/jnordberg/Development/dsteem/node_modules/create-hash/browser.js":[function(e,t,r){(function(r){"use strict";var n=e("inherits"),o=e("./md5"),s=e("ripemd160"),i=e("sha.js"),a=e("cipher-base");function u(e){a.call(this,"digest"),this._hash=e,this.buffers=[]}function d(e){a.call(this,"digest"),this._hash=e}n(u,a),u.prototype._update=function(e){this.buffers.push(e)},u.prototype._final=function(){var e=r.concat(this.buffers),t=this._hash(e);return this.buffers=null,t},n(d,a),d.prototype._update=function(e){this._hash.update(e)},d.prototype._final=function(){return this._hash.digest()},t.exports=function(e){return"md5"===(e=e.toLowerCase())?new u(o):new d("rmd160"===e||"ripemd160"===e?new s:i(e))}}).call(this,e("buffer").Buffer)},{"./md5":"/Users/jnordberg/Development/dsteem/node_modules/create-hash/md5.js",buffer:"/Users/jnordberg/Development/dsteem/node_modules/buffer/index.js","cipher-base":"/Users/jnordberg/Development/dsteem/node_modules/cipher-base/index.js",inherits:"/Users/jnordberg/Development/dsteem/node_modules/inherits/inherits_browser.js",ripemd160:"/Users/jnordberg/Development/dsteem/node_modules/ripemd160/index.js","sha.js":"/Users/jnordberg/Development/dsteem/node_modules/sha.js/index.js"}],"/Users/jnordberg/Development/dsteem/node_modules/create-hash/make-hash.js":[function(e,t,r){(function(e){"use strict";var r=new e(4);r.fill(0),t.exports=function(t,n){var o=n(function(t){t.length%4!=0&&(t=e.concat([t,r],t.length+(4-t.length%4)));for(var n=new Array(t.length>>>2),o=0,s=0;o<t.length;o+=4,s++)n[s]=t.readInt32LE(o);return n}(t),8*t.length);t=new e(16);for(var s=0;s<o.length;s++)t.writeInt32LE(o[s],s<<2,!0);return t}}).call(this,e("buffer").Buffer)},{buffer:"/Users/jnordberg/Development/dsteem/node_modules/buffer/index.js"}],"/Users/jnordberg/Development/dsteem/node_modules/create-hash/md5.js":[function(e,t,r){"use strict";var n=e("./make-hash");function o(e,t){e[t>>5]|=128<<t%32,e[14+(t+64>>>9<<4)]=t;for(var r=1732584193,n=-271733879,o=-1732584194,s=271733878,c=0;c<e.length;c+=16){var f=r,h=n,p=o,m=s;n=d(n=d(n=d(n=d(n=u(n=u(n=u(n=u(n=a(n=a(n=a(n=a(n=i(n=i(n=i(n=i(n,o=i(o,s=i(s,r=i(r,n,o,s,e[c+0],7,-680876936),n,o,e[c+1],12,-389564586),r,n,e[c+2],17,606105819),s,r,e[c+3],22,-1044525330),o=i(o,s=i(s,r=i(r,n,o,s,e[c+4],7,-176418897),n,o,e[c+5],12,1200080426),r,n,e[c+6],17,-1473231341),s,r,e[c+7],22,-45705983),o=i(o,s=i(s,r=i(r,n,o,s,e[c+8],7,1770035416),n,o,e[c+9],12,-1958414417),r,n,e[c+10],17,-42063),s,r,e[c+11],22,-1990404162),o=i(o,s=i(s,r=i(r,n,o,s,e[c+12],7,1804603682),n,o,e[c+13],12,-40341101),r,n,e[c+14],17,-1502002290),s,r,e[c+15],22,1236535329),o=a(o,s=a(s,r=a(r,n,o,s,e[c+1],5,-165796510),n,o,e[c+6],9,-1069501632),r,n,e[c+11],14,643717713),s,r,e[c+0],20,-373897302),o=a(o,s=a(s,r=a(r,n,o,s,e[c+5],5,-701558691),n,o,e[c+10],9,38016083),r,n,e[c+15],14,-660478335),s,r,e[c+4],20,-405537848),o=a(o,s=a(s,r=a(r,n,o,s,e[c+9],5,568446438),n,o,e[c+14],9,-1019803690),r,n,e[c+3],14,-187363961),s,r,e[c+8],20,1163531501),o=a(o,s=a(s,r=a(r,n,o,s,e[c+13],5,-1444681467),n,o,e[c+2],9,-51403784),r,n,e[c+7],14,1735328473),s,r,e[c+12],20,-1926607734),o=u(o,s=u(s,r=u(r,n,o,s,e[c+5],4,-378558),n,o,e[c+8],11,-2022574463),r,n,e[c+11],16,1839030562),s,r,e[c+14],23,-35309556),o=u(o,s=u(s,r=u(r,n,o,s,e[c+1],4,-1530992060),n,o,e[c+4],11,1272893353),r,n,e[c+7],16,-155497632),s,r,e[c+10],23,-1094730640),o=u(o,s=u(s,r=u(r,n,o,s,e[c+13],4,681279174),n,o,e[c+0],11,-358537222),r,n,e[c+3],16,-722521979),s,r,e[c+6],23,76029189),o=u(o,s=u(s,r=u(r,n,o,s,e[c+9],4,-640364487),n,o,e[c+12],11,-421815835),r,n,e[c+15],16,530742520),s,r,e[c+2],23,-995338651),o=d(o,s=d(s,r=d(r,n,o,s,e[c+0],6,-198630844),n,o,e[c+7],10,1126891415),r,n,e[c+14],15,-1416354905),s,r,e[c+5],21,-57434055),o=d(o,s=d(s,r=d(r,n,o,s,e[c+12],6,1700485571),n,o,e[c+3],10,-1894986606),r,n,e[c+10],15,-1051523),s,r,e[c+1],21,-2054922799),o=d(o,s=d(s,r=d(r,n,o,s,e[c+8],6,1873313359),n,o,e[c+15],10,-30611744),r,n,e[c+6],15,-1560198380),s,r,e[c+13],21,1309151649),o=d(o,s=d(s,r=d(r,n,o,s,e[c+4],6,-145523070),n,o,e[c+11],10,-1120210379),r,n,e[c+2],15,718787259),s,r,e[c+9],21,-343485551),r=l(r,f),n=l(n,h),o=l(o,p),s=l(s,m)}return[r,n,o,s]}function s(e,t,r,n,o,s){return l((i=l(l(t,e),l(n,s)))<<(a=o)|i>>>32-a,r);var i,a}function i(e,t,r,n,o,i,a){return s(t&r|~t&n,e,t,o,i,a)}function a(e,t,r,n,o,i,a){return s(t&n|r&~n,e,t,o,i,a)}function u(e,t,r,n,o,i,a){return s(t^r^n,e,t,o,i,a)}function d(e,t,r,n,o,i,a){return s(r^(t|~n),e,t,o,i,a)}function l(e,t){var r=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(r>>16)<<16|65535&r}t.exports=function(e){return n(e,o)}},{"./make-hash":"/Users/jnordberg/Development/dsteem/node_modules/create-hash/make-hash.js"}],"/Users/jnordberg/Development/dsteem/node_modules/create-hmac/browser.js":[function(e,t,r){"use strict";var n=e("inherits"),o=e("./legacy"),s=e("cipher-base"),i=e("safe-buffer").Buffer,a=e("create-hash/md5"),u=e("ripemd160"),d=e("sha.js"),l=i.alloc(128);function c(e,t){s.call(this,"digest"),"string"==typeof t&&(t=i.from(t));var r="sha512"===e||"sha384"===e?128:64;this._alg=e,this._key=t,t.length>r?t=("rmd160"===e?new u:d(e)).update(t).digest():t.length<r&&(t=i.concat([t,l],r));for(var n=this._ipad=i.allocUnsafe(r),o=this._opad=i.allocUnsafe(r),a=0;a<r;a++)n[a]=54^t[a],o[a]=92^t[a];this._hash="rmd160"===e?new u:d(e),this._hash.update(n)}n(c,s),c.prototype._update=function(e){this._hash.update(e)},c.prototype._final=function(){var e=this._hash.digest();return("rmd160"===this._alg?new u:d(this._alg)).update(this._opad).update(e).digest()},t.exports=function(e,t){return"rmd160"===(e=e.toLowerCase())||"ripemd160"===e?new c("rmd160",t):"md5"===e?new o(a,t):new c(e,t)}},{"./legacy":"/Users/jnordberg/Development/dsteem/node_modules/create-hmac/legacy.js","cipher-base":"/Users/jnordberg/Development/dsteem/node_modules/cipher-base/index.js","create-hash/md5":"/Users/jnordberg/Development/dsteem/node_modules/create-hash/md5.js",inherits:"/Users/jnordberg/Development/dsteem/node_modules/inherits/inherits_browser.js",ripemd160:"/Users/jnordberg/Development/dsteem/node_modules/ripemd160/index.js","safe-buffer":"/Users/jnordberg/Development/dsteem/node_modules/safe-buffer/index.js","sha.js":"/Users/jnordberg/Development/dsteem/node_modules/sha.js/index.js"}],"/Users/jnordberg/Development/dsteem/node_modules/create-hmac/legacy.js":[function(e,t,r){"use strict";var n=e("inherits"),o=e("safe-buffer").Buffer,s=e("cipher-base"),i=o.alloc(128),a=64;function u(e,t){s.call(this,"digest"),"string"==typeof t&&(t=o.from(t)),this._alg=e,this._key=t,t.length>a?t=e(t):t.length<a&&(t=o.concat([t,i],a));for(var r=this._ipad=o.allocUnsafe(a),n=this._opad=o.allocUnsafe(a),u=0;u<a;u++)r[u]=54^t[u],n[u]=92^t[u];this._hash=[r]}n(u,s),u.prototype._update=function(e){this._hash.push(e)},u.prototype._final=function(){var e=this._alg(o.concat(this._hash));return this._alg(o.concat([this._opad,e]))},t.exports=u},{"cipher-base":"/Users/jnordberg/Development/dsteem/node_modules/cipher-base/index.js",inherits:"/Users/jnordberg/Development/dsteem/node_modules/inherits/inherits_browser.js","safe-buffer":"/Users/jnordberg/Development/dsteem/node_modules/safe-buffer/index.js"}],"/Users/jnordberg/Development/dsteem/node_modules/crypto-browserify/index.js":[function(e,t,r){"use strict";r.randomBytes=r.rng=r.pseudoRandomBytes=r.prng=e("randombytes"),r.createHash=r.Hash=e("create-hash"),r.createHmac=r.Hmac=e("create-hmac");var n=e("browserify-sign/algos"),o=Object.keys(n),s=["sha1","sha224","sha256","sha384","sha512","md5","rmd160"].concat(o);r.getHashes=function(){return s};var i=e("pbkdf2");r.pbkdf2=i.pbkdf2,r.pbkdf2Sync=i.pbkdf2Sync;var a=e("browserify-cipher");r.Cipher=a.Cipher,r.createCipher=a.createCipher,r.Cipheriv=a.Cipheriv,r.createCipheriv=a.createCipheriv,r.Decipher=a.Decipher,r.createDecipher=a.createDecipher,r.Decipheriv=a.Decipheriv,r.createDecipheriv=a.createDecipheriv,r.getCiphers=a.getCiphers,r.listCiphers=a.listCiphers;var u=e("diffie-hellman");r.DiffieHellmanGroup=u.DiffieHellmanGroup,r.createDiffieHellmanGroup=u.createDiffieHellmanGroup,r.getDiffieHellman=u.getDiffieHellman,r.createDiffieHellman=u.createDiffieHellman,r.DiffieHellman=u.DiffieHellman;var d=e("browserify-sign");r.createSign=d.createSign,r.Sign=d.Sign,r.createVerify=d.createVerify,r.Verify=d.Verify,r.createECDH=e("create-ecdh");var l=e("public-encrypt");r.publicEncrypt=l.publicEncrypt,r.privateEncrypt=l.privateEncrypt,r.publicDecrypt=l.publicDecrypt,r.privateDecrypt=l.privateDecrypt;var c=e("randomfill");r.randomFill=c.randomFill,r.randomFillSync=c.randomFillSync,r.createCredentials=function(){throw new Error(["sorry, createCredentials is not implemented yet","we accept pull requests","https://github.com/crypto-browserify/crypto-browserify"].join("\n"))},r.constants={DH_CHECK_P_NOT_SAFE_PRIME:2,DH_CHECK_P_NOT_PRIME:1,DH_UNABLE_TO_CHECK_GENERATOR:4,DH_NOT_SUITABLE_GENERATOR:8,NPN_ENABLED:1,ALPN_ENABLED:1,RSA_PKCS1_PADDING:1,RSA_SSLV23_PADDING:2,RSA_NO_PADDING:3,RSA_PKCS1_OAEP_PADDING:4,RSA_X931_PADDING:5,RSA_PKCS1_PSS_PADDING:6,POINT_CONVERSION_COMPRESSED:2,POINT_CONVERSION_UNCOMPRESSED:4,POINT_CONVERSION_HYBRID:6}},{"browserify-cipher":"/Users/jnordberg/Development/dsteem/node_modules/browserify-cipher/browser.js","browserify-sign":"/Users/jnordberg/Development/dsteem/node_modules/browserify-sign/browser/index.js","browserify-sign/algos":"/Users/jnordberg/Development/dsteem/node_modules/browserify-sign/algos.js","create-ecdh":"/Users/jnordberg/Development/dsteem/node_modules/create-ecdh/browser.js","create-hash":"/Users/jnordberg/Development/dsteem/node_modules/create-hash/browser.js","create-hmac":"/Users/jnordberg/Development/dsteem/node_modules/create-hmac/browser.js","diffie-hellman":"/Users/jnordberg/Development/dsteem/node_modules/diffie-hellman/browser.js",pbkdf2:"/Users/jnordberg/Development/dsteem/node_modules/pbkdf2/browser.js","public-encrypt":"/Users/jnordberg/Development/dsteem/node_modules/public-encrypt/browser.js",randombytes:"/Users/jnordberg/Development/dsteem/node_modules/randombytes/browser.js",randomfill:"/Users/jnordberg/Development/dsteem/node_modules/randomfill/browser.js"}],"/Users/jnordberg/Development/dsteem/node_modules/des.js/lib/des.js":[function(e,t,r){"use strict";r.utils=e("./des/utils"),r.Cipher=e("./des/cipher"),r.DES=e("./des/des"),r.CBC=e("./des/cbc"),r.EDE=e("./des/ede")},{"./des/cbc":"/Users/jnordberg/Development/dsteem/node_modules/des.js/lib/des/cbc.js","./des/cipher":"/Users/jnordberg/Development/dsteem/node_modules/des.js/lib/des/cipher.js","./des/des":"/Users/jnordberg/Development/dsteem/node_modules/des.js/lib/des/des.js","./des/ede":"/Users/jnordberg/Development/dsteem/node_modules/des.js/lib/des/ede.js","./des/utils":"/Users/jnordberg/Development/dsteem/node_modules/des.js/lib/des/utils.js"}],"/Users/jnordberg/Development/dsteem/node_modules/des.js/lib/des/cbc.js":[function(e,t,r){"use strict";var n=e("minimalistic-assert"),o=e("inherits"),s={};r.instantiate=function(e){function t(t){e.call(this,t),this._cbcInit()}o(t,e);for(var r=Object.keys(s),n=0;n<r.length;n++){var i=r[n];t.prototype[i]=s[i]}return t.create=function(e){return new t(e)},t},s._cbcInit=function(){var e=new function(e){n.equal(e.length,8,"Invalid IV length"),this.iv=new Array(8);for(var t=0;t<this.iv.length;t++)this.iv[t]=e[t]}(this.options.iv);this._cbcState=e},s._update=function(e,t,r,n){var o=this.constructor.super_.prototype,s=this._cbcState.iv;if("encrypt"===this.type){for(var i=0;i<this.blockSize;i++)s[i]^=e[t+i];for(o._update.call(this,s,0,r,n),i=0;i<this.blockSize;i++)s[i]=r[n+i]}else{for(o._update.call(this,e,t,r,n),i=0;i<this.blockSize;i++)r[n+i]^=s[i];for(i=0;i<this.blockSize;i++)s[i]=e[t+i]}}},{inherits:"/Users/jnordberg/Development/dsteem/node_modules/inherits/inherits_browser.js","minimalistic-assert":"/Users/jnordberg/Development/dsteem/node_modules/minimalistic-assert/index.js"}],"/Users/jnordberg/Development/dsteem/node_modules/des.js/lib/des/cipher.js":[function(e,t,r){"use strict";var n=e("minimalistic-assert");function o(e){this.options=e,this.type=this.options.type,this.blockSize=8,this._init(),this.buffer=new Array(this.blockSize),this.bufferOff=0}t.exports=o,o.prototype._init=function(){},o.prototype.update=function(e){return 0===e.length?[]:"decrypt"===this.type?this._updateDecrypt(e):this._updateEncrypt(e)},o.prototype._buffer=function(e,t){for(var r=Math.min(this.buffer.length-this.bufferOff,e.length-t),n=0;n<r;n++)this.buffer[this.bufferOff+n]=e[t+n];return this.bufferOff+=r,r},o.prototype._flushBuffer=function(e,t){return this._update(this.buffer,0,e,t),this.bufferOff=0,this.blockSize},o.prototype._updateEncrypt=function(e){var t=0,r=0,n=new Array(((this.bufferOff+e.length)/this.blockSize|0)*this.blockSize);0!==this.bufferOff&&(t+=this._buffer(e,t),this.bufferOff===this.buffer.length&&(r+=this._flushBuffer(n,r)));for(var o=e.length-(e.length-t)%this.blockSize;t<o;t+=this.blockSize)this._update(e,t,n,r),r+=this.blockSize;for(;t<e.length;t++,this.bufferOff++)this.buffer[this.bufferOff]=e[t];return n},o.prototype._updateDecrypt=function(e){for(var t=0,r=0,n=Math.ceil((this.bufferOff+e.length)/this.blockSize)-1,o=new Array(n*this.blockSize);n>0;n--)t+=this._buffer(e,t),r+=this._flushBuffer(o,r);return t+=this._buffer(e,t),o},o.prototype.final=function(e){var t,r;return e&&(t=this.update(e)),r="encrypt"===this.type?this._finalEncrypt():this._finalDecrypt(),t?t.concat(r):r},o.prototype._pad=function(e,t){if(0===t)return!1;for(;t<e.length;)e[t++]=0;return!0},o.prototype._finalEncrypt=function(){if(!this._pad(this.buffer,this.bufferOff))return[];var e=new Array(this.blockSize);return this._update(this.buffer,0,e,0),e},o.prototype._unpad=function(e){return e},o.prototype._finalDecrypt=function(){n.equal(this.bufferOff,this.blockSize,"Not enough data to decrypt");var e=new Array(this.blockSize);return this._flushBuffer(e,0),this._unpad(e)}},{"minimalistic-assert":"/Users/jnordberg/Development/dsteem/node_modules/minimalistic-assert/index.js"}],"/Users/jnordberg/Development/dsteem/node_modules/des.js/lib/des/des.js":[function(e,t,r){"use strict";var n=e("minimalistic-assert"),o=e("inherits"),s=e("../des"),i=s.utils,a=s.Cipher;function u(e){a.call(this,e);var t=new function(){this.tmp=new Array(2),this.keys=null};this._desState=t,this.deriveKeys(t,e.key)}o(u,a),t.exports=u,u.create=function(e){return new u(e)};var d=[1,1,2,2,2,2,2,2,1,2,2,2,2,2,2,1];u.prototype.deriveKeys=function(e,t){e.keys=new Array(32),n.equal(t.length,this.blockSize,"Invalid key length");var r=i.readUInt32BE(t,0),o=i.readUInt32BE(t,4);i.pc1(r,o,e.tmp,0),r=e.tmp[0],o=e.tmp[1];for(var s=0;s<e.keys.length;s+=2){var a=d[s>>>1];r=i.r28shl(r,a),o=i.r28shl(o,a),i.pc2(r,o,e.keys,s)}},u.prototype._update=function(e,t,r,n){var o=this._desState,s=i.readUInt32BE(e,t),a=i.readUInt32BE(e,t+4);i.ip(s,a,o.tmp,0),s=o.tmp[0],a=o.tmp[1],"encrypt"===this.type?this._encrypt(o,s,a,o.tmp,0):this._decrypt(o,s,a,o.tmp,0),a=o.tmp[1],i.writeUInt32BE(r,s=o.tmp[0],n),i.writeUInt32BE(r,a,n+4)},u.prototype._pad=function(e,t){for(var r=e.length-t,n=t;n<e.length;n++)e[n]=r;return!0},u.prototype._unpad=function(e){for(var t=e[e.length-1],r=e.length-t;r<e.length;r++)n.equal(e[r],t);return e.slice(0,e.length-t)},u.prototype._encrypt=function(e,t,r,n,o){for(var s=t,a=r,u=0;u<e.keys.length;u+=2){var d=e.keys[u],l=e.keys[u+1];i.expand(a,e.tmp,0);var c=i.substitute(d^=e.tmp[0],l^=e.tmp[1]),f=a;a=(s^i.permute(c))>>>0,s=f}i.rip(a,s,n,o)},u.prototype._decrypt=function(e,t,r,n,o){for(var s=r,a=t,u=e.keys.length-2;u>=0;u-=2){var d=e.keys[u],l=e.keys[u+1];i.expand(s,e.tmp,0);var c=i.substitute(d^=e.tmp[0],l^=e.tmp[1]),f=s;s=(a^i.permute(c))>>>0,a=f}i.rip(s,a,n,o)}},{"../des":"/Users/jnordberg/Development/dsteem/node_modules/des.js/lib/des.js",inherits:"/Users/jnordberg/Development/dsteem/node_modules/inherits/inherits_browser.js","minimalistic-assert":"/Users/jnordberg/Development/dsteem/node_modules/minimalistic-assert/index.js"}],"/Users/jnordberg/Development/dsteem/node_modules/des.js/lib/des/ede.js":[function(e,t,r){"use strict";var n=e("minimalistic-assert"),o=e("inherits"),s=e("../des"),i=s.Cipher,a=s.DES;function u(e){i.call(this,e);var t=new function(e,t){n.equal(t.length,24,"Invalid key length");var r=t.slice(0,8),o=t.slice(8,16),s=t.slice(16,24);this.ciphers="encrypt"===e?[a.create({type:"encrypt",key:r}),a.create({type:"decrypt",key:o}),a.create({type:"encrypt",key:s})]:[a.create({type:"decrypt",key:s}),a.create({type:"encrypt",key:o}),a.create({type:"decrypt",key:r})]}(this.type,this.options.key);this._edeState=t}o(u,i),t.exports=u,u.create=function(e){return new u(e)},u.prototype._update=function(e,t,r,n){var o=this._edeState;o.ciphers[0]._update(e,t,r,n),o.ciphers[1]._update(r,n,r,n),o.ciphers[2]._update(r,n,r,n)},u.prototype._pad=a.prototype._pad,u.prototype._unpad=a.prototype._unpad},{"../des":"/Users/jnordberg/Development/dsteem/node_modules/des.js/lib/des.js",inherits:"/Users/jnordberg/Development/dsteem/node_modules/inherits/inherits_browser.js","minimalistic-assert":"/Users/jnordberg/Development/dsteem/node_modules/minimalistic-assert/index.js"}],"/Users/jnordberg/Development/dsteem/node_modules/des.js/lib/des/utils.js":[function(e,t,r){"use strict";r.readUInt32BE=function(e,t){return(e[0+t]<<24|e[1+t]<<16|e[2+t]<<8|e[3+t])>>>0},r.writeUInt32BE=function(e,t,r){e[0+r]=t>>>24,e[1+r]=t>>>16&255,e[2+r]=t>>>8&255,e[3+r]=255&t},r.ip=function(e,t,r,n){for(var o=0,s=0,i=6;i>=0;i-=2){for(var a=0;a<=24;a+=8)o<<=1,o|=t>>>a+i&1;for(a=0;a<=24;a+=8)o<<=1,o|=e>>>a+i&1}for(i=6;i>=0;i-=2){for(a=1;a<=25;a+=8)s<<=1,s|=t>>>a+i&1;for(a=1;a<=25;a+=8)s<<=1,s|=e>>>a+i&1}r[n+0]=o>>>0,r[n+1]=s>>>0},r.rip=function(e,t,r,n){for(var o=0,s=0,i=0;i<4;i++)for(var a=24;a>=0;a-=8)o<<=1,o|=t>>>a+i&1,o<<=1,o|=e>>>a+i&1;for(i=4;i<8;i++)for(a=24;a>=0;a-=8)s<<=1,s|=t>>>a+i&1,s<<=1,s|=e>>>a+i&1;r[n+0]=o>>>0,r[n+1]=s>>>0},r.pc1=function(e,t,r,n){for(var o=0,s=0,i=7;i>=5;i--){for(var a=0;a<=24;a+=8)o<<=1,o|=t>>a+i&1;for(a=0;a<=24;a+=8)o<<=1,o|=e>>a+i&1}for(a=0;a<=24;a+=8)o<<=1,o|=t>>a+i&1;for(i=1;i<=3;i++){for(a=0;a<=24;a+=8)s<<=1,s|=t>>a+i&1;for(a=0;a<=24;a+=8)s<<=1,s|=e>>a+i&1}for(a=0;a<=24;a+=8)s<<=1,s|=e>>a+i&1;r[n+0]=o>>>0,r[n+1]=s>>>0},r.r28shl=function(e,t){return e<<t&268435455|e>>>28-t};var n=[14,11,17,4,27,23,25,0,13,22,7,18,5,9,16,24,2,20,12,21,1,8,15,26,15,4,25,19,9,1,26,16,5,11,23,8,12,7,17,0,22,3,10,14,6,20,27,24];r.pc2=function(e,t,r,o){for(var s=0,i=0,a=n.length>>>1,u=0;u<a;u++)s<<=1,s|=e>>>n[u]&1;for(u=a;u<n.length;u++)i<<=1,i|=t>>>n[u]&1;r[o+0]=s>>>0,r[o+1]=i>>>0},r.expand=function(e,t,r){var n=0,o=0;n=(1&e)<<5|e>>>27;for(var s=23;s>=15;s-=4)n<<=6,n|=e>>>s&63;for(s=11;s>=3;s-=4)o|=e>>>s&63,o<<=6;o|=(31&e)<<1|e>>>31,t[r+0]=n>>>0,t[r+1]=o>>>0};var o=[14,0,4,15,13,7,1,4,2,14,15,2,11,13,8,1,3,10,10,6,6,12,12,11,5,9,9,5,0,3,7,8,4,15,1,12,14,8,8,2,13,4,6,9,2,1,11,7,15,5,12,11,9,3,7,14,3,10,10,0,5,6,0,13,15,3,1,13,8,4,14,7,6,15,11,2,3,8,4,14,9,12,7,0,2,1,13,10,12,6,0,9,5,11,10,5,0,13,14,8,7,10,11,1,10,3,4,15,13,4,1,2,5,11,8,6,12,7,6,12,9,0,3,5,2,14,15,9,10,13,0,7,9,0,14,9,6,3,3,4,15,6,5,10,1,2,13,8,12,5,7,14,11,12,4,11,2,15,8,1,13,1,6,10,4,13,9,0,8,6,15,9,3,8,0,7,11,4,1,15,2,14,12,3,5,11,10,5,14,2,7,12,7,13,13,8,14,11,3,5,0,6,6,15,9,0,10,3,1,4,2,7,8,2,5,12,11,1,12,10,4,14,15,9,10,3,6,15,9,0,0,6,12,10,11,1,7,13,13,8,15,9,1,4,3,5,14,11,5,12,2,7,8,2,4,14,2,14,12,11,4,2,1,12,7,4,10,7,11,13,6,1,8,5,5,0,3,15,15,10,13,3,0,9,14,8,9,6,4,11,2,8,1,12,11,7,10,1,13,14,7,2,8,13,15,6,9,15,12,0,5,9,6,10,3,4,0,5,14,3,12,10,1,15,10,4,15,2,9,7,2,12,6,9,8,5,0,6,13,1,3,13,4,14,14,0,7,11,5,3,11,8,9,4,14,3,15,2,5,12,2,9,8,5,12,15,3,10,7,11,0,14,4,1,10,7,1,6,13,0,11,8,6,13,4,13,11,0,2,11,14,7,15,4,0,9,8,1,13,10,3,14,12,3,9,5,7,12,5,2,10,15,6,8,1,6,1,6,4,11,11,13,13,8,12,1,3,4,7,10,14,7,10,9,15,5,6,0,8,15,0,14,5,2,9,3,2,12,13,1,2,15,8,13,4,8,6,10,15,3,11,7,1,4,10,12,9,5,3,6,14,11,5,0,0,14,12,9,7,2,7,2,11,1,4,14,1,7,9,4,12,10,14,8,2,13,0,15,6,12,10,9,13,0,15,3,3,5,5,6,8,11];r.substitute=function(e,t){for(var r=0,n=0;n<4;n++)r<<=4,r|=o[64*n+(e>>>18-6*n&63)];for(n=0;n<4;n++)r<<=4,r|=o[256+64*n+(t>>>18-6*n&63)];return r>>>0};var s=[16,25,12,11,3,20,4,15,31,17,9,6,27,14,1,22,30,24,8,18,0,5,29,23,13,19,2,26,10,21,28,7];r.permute=function(e){for(var t=0,r=0;r<s.length;r++)t<<=1,t|=e>>>s[r]&1;return t>>>0},r.padSplit=function(e,t,r){for(var n=e.toString(2);n.length<t;)n="0"+n;for(var o=[],s=0;s<t;s+=r)o.push(n.slice(s,s+r));return o.join(" ")}},{}],"/Users/jnordberg/Development/dsteem/node_modules/diffie-hellman/browser.js":[function(e,t,r){(function(t){var n=e("./lib/generatePrime"),o=e("./lib/primes.json"),s=e("./lib/dh"),i={binary:!0,hex:!0,base64:!0};r.DiffieHellmanGroup=r.createDiffieHellmanGroup=r.getDiffieHellman=function(e){var r=new t(o[e].prime,"hex"),n=new t(o[e].gen,"hex");return new s(r,n)},r.createDiffieHellman=r.DiffieHellman=function e(r,o,a,u){return t.isBuffer(o)||void 0===i[o]?e(r,"binary",o,a):(o=o||"binary",u=u||"binary",a=a||new t([2]),t.isBuffer(a)||(a=new t(a,u)),"number"==typeof r?new s(n(r,a),a,!0):(t.isBuffer(r)||(r=new t(r,o)),new s(r,a,!0)))}}).call(this,e("buffer").Buffer)},{"./lib/dh":"/Users/jnordberg/Development/dsteem/node_modules/diffie-hellman/lib/dh.js","./lib/generatePrime":"/Users/jnordberg/Development/dsteem/node_modules/diffie-hellman/lib/generatePrime.js","./lib/primes.json":"/Users/jnordberg/Development/dsteem/node_modules/diffie-hellman/lib/primes.json",buffer:"/Users/jnordberg/Development/dsteem/node_modules/buffer/index.js"}],"/Users/jnordberg/Development/dsteem/node_modules/diffie-hellman/lib/dh.js":[function(e,t,r){(function(r){var n=e("bn.js"),o=new(e("miller-rabin")),s=new n(24),i=new n(11),a=new n(10),u=new n(3),d=new n(7),l=e("./generatePrime"),c=e("randombytes");function f(e,t){return t=t||"utf8",r.isBuffer(e)||(e=new r(e,t)),this._pub=new n(e),this}function h(e,t){return t=t||"utf8",r.isBuffer(e)||(e=new r(e,t)),this._priv=new n(e),this}t.exports=m;var p={};function m(e,t,r){this.setGenerator(t),this.__prime=new n(e),this._prime=n.mont(this.__prime),this._primeLen=e.length,this._pub=void 0,this._priv=void 0,this._primeCode=void 0,r?(this.setPublicKey=f,this.setPrivateKey=h):this._primeCode=8}function b(e,t){var n=new r(e.toArray());return t?n.toString(t):n}Object.defineProperty(m.prototype,"verifyError",{enumerable:!0,get:function(){return"number"!=typeof this._primeCode&&(this._primeCode=function(e,t){var r=t.toString("hex"),n=[r,e.toString(16)].join("_");if(n in p)return p[n];var c,f=0;if(e.isEven()||!l.simpleSieve||!l.fermatTest(e)||!o.test(e))return f+=1,p[n]=f+="02"===r||"05"===r?8:4,f;switch(o.test(e.shrn(1))||(f+=2),r){case"02":e.mod(s).cmp(i)&&(f+=8);break;case"05":(c=e.mod(a)).cmp(u)&&c.cmp(d)&&(f+=8);break;default:f+=4}return p[n]=f,f}(this.__prime,this.__gen)),this._primeCode}}),m.prototype.generateKeys=function(){return this._priv||(this._priv=new n(c(this._primeLen))),this._pub=this._gen.toRed(this._prime).redPow(this._priv).fromRed(),this.getPublicKey()},m.prototype.computeSecret=function(e){var t=(e=(e=new n(e)).toRed(this._prime)).redPow(this._priv).fromRed(),o=new r(t.toArray()),s=this.getPrime();if(o.length<s.length){var i=new r(s.length-o.length);i.fill(0),o=r.concat([i,o])}return o},m.prototype.getPublicKey=function(e){return b(this._pub,e)},m.prototype.getPrivateKey=function(e){return b(this._priv,e)},m.prototype.getPrime=function(e){return b(this.__prime,e)},m.prototype.getGenerator=function(e){return b(this._gen,e)},m.prototype.setGenerator=function(e,t){return t=t||"utf8",r.isBuffer(e)||(e=new r(e,t)),this.__gen=e,this._gen=new n(e),this}}).call(this,e("buffer").Buffer)},{"./generatePrime":"/Users/jnordberg/Development/dsteem/node_modules/diffie-hellman/lib/generatePrime.js","bn.js":"/Users/jnordberg/Development/dsteem/node_modules/bn.js/lib/bn.js",buffer:"/Users/jnordberg/Development/dsteem/node_modules/buffer/index.js","miller-rabin":"/Users/jnordberg/Development/dsteem/node_modules/miller-rabin/lib/mr.js",randombytes:"/Users/jnordberg/Development/dsteem/node_modules/randombytes/browser.js"}],"/Users/jnordberg/Development/dsteem/node_modules/diffie-hellman/lib/generatePrime.js":[function(e,t,r){var n=e("randombytes");t.exports=v,v.simpleSieve=b,v.fermatTest=g;var o=e("bn.js"),s=new o(24),i=new(e("miller-rabin")),a=new o(1),u=new o(2),d=new o(5),l=(new o(16),new o(8),new o(10)),c=new o(3),f=(new o(7),new o(11)),h=new o(4),p=(new o(12),null);function m(){if(null!==p)return p;var e=[];e[0]=2;for(var t=1,r=3;r<1048576;r+=2){for(var n=Math.ceil(Math.sqrt(r)),o=0;o<t&&e[o]<=n&&r%e[o]!=0;o++);t!==o&&e[o]<=n||(e[t++]=r)}return p=e,e}function b(e){for(var t=m(),r=0;r<t.length;r++)if(0===e.modn(t[r]))return 0===e.cmpn(t[r]);return!0}function g(e){var t=o.mont(e);return 0===u.toRed(t).redPow(e.subn(1)).fromRed().cmpn(1)}function v(e,t){if(e<16)return new o(2===t||5===t?[140,123]:[140,39]);var r,p;for(t=new o(t);;){for(r=new o(n(Math.ceil(e/8)));r.bitLength()>e;)r.ishrn(1);if(r.isEven()&&r.iadd(a),r.testn(1)||r.iadd(u),t.cmp(u)){if(!t.cmp(d))for(;r.mod(l).cmp(c);)r.iadd(h)}else for(;r.mod(s).cmp(f);)r.iadd(h);if(b(p=r.shrn(1))&&b(r)&&g(p)&&g(r)&&i.test(p)&&i.test(r))return r}}},{"bn.js":"/Users/jnordberg/Development/dsteem/node_modules/bn.js/lib/bn.js","miller-rabin":"/Users/jnordberg/Development/dsteem/node_modules/miller-rabin/lib/mr.js",randombytes:"/Users/jnordberg/Development/dsteem/node_modules/randombytes/browser.js"}],"/Users/jnordberg/Development/dsteem/node_modules/diffie-hellman/lib/primes.json":[function(e,t,r){t.exports={modp1:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a63a3620ffffffffffffffff"},modp2:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece65381ffffffffffffffff"},modp5:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca237327ffffffffffffffff"},modp14:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aacaa68ffffffffffffffff"},modp15:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a93ad2caffffffffffffffff"},modp16:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c934063199ffffffffffffffff"},modp17:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dcc4024ffffffffffffffff"},modp18:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dbe115974a3926f12fee5e438777cb6a932df8cd8bec4d073b931ba3bc832b68d9dd300741fa7bf8afc47ed2576f6936ba424663aab639c5ae4f5683423b4742bf1c978238f16cbe39d652de3fdb8befc848ad922222e04a4037c0713eb57a81a23f0c73473fc646cea306b4bcbc8862f8385ddfa9d4b7fa2c087e879683303ed5bdd3a062b3cf5b3a278a66d2a13f83f44f82ddf310ee074ab6a364597e899a0255dc164f31cc50846851df9ab48195ded7ea1b1d510bd7ee74d73faf36bc31ecfa268359046f4eb879f924009438b481c6cd7889a002ed5ee382bc9190da6fc026e479558e4475677e9aa9e3050e2765694dfc81f56e880b96e7160c980dd98edd3dfffffffffffffffff"}}},{}],"/Users/jnordberg/Development/dsteem/node_modules/elliptic/lib/elliptic.js":[function(e,t,r){"use strict";var n=r;n.version=e("../package.json").version,n.utils=e("./elliptic/utils"),n.rand=e("brorand"),n.curve=e("./elliptic/curve"),n.curves=e("./elliptic/curves"),n.ec=e("./elliptic/ec"),n.eddsa=e("./elliptic/eddsa")},{"../package.json":"/Users/jnordberg/Development/dsteem/node_modules/elliptic/package.json","./elliptic/curve":"/Users/jnordberg/Development/dsteem/node_modules/elliptic/lib/elliptic/curve/index.js","./elliptic/curves":"/Users/jnordberg/Development/dsteem/node_modules/elliptic/lib/elliptic/curves.js","./elliptic/ec":"/Users/jnordberg/Development/dsteem/node_modules/elliptic/lib/elliptic/ec/index.js","./elliptic/eddsa":"/Users/jnordberg/Development/dsteem/node_modules/elliptic/lib/elliptic/eddsa/index.js","./elliptic/utils":"/Users/jnordberg/Development/dsteem/node_modules/elliptic/lib/elliptic/utils.js",brorand:"/Users/jnordberg/Development/dsteem/node_modules/brorand/index.js"}],"/Users/jnordberg/Development/dsteem/node_modules/elliptic/lib/elliptic/curve/base.js":[function(e,t,r){"use strict";var n=e("bn.js"),o=e("../../elliptic").utils,s=o.getNAF,i=o.getJSF,a=o.assert;function u(e,t){this.type=e,this.p=new n(t.p,16),this.red=t.prime?n.red(t.prime):n.mont(this.p),this.zero=new n(0).toRed(this.red),this.one=new n(1).toRed(this.red),this.two=new n(2).toRed(this.red),this.n=t.n&&new n(t.n,16),this.g=t.g&&this.pointFromJSON(t.g,t.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4);var r=this.n&&this.p.div(this.n);!r||r.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}function d(e,t){this.curve=e,this.type=t,this.precomputed=null}t.exports=u,u.prototype.point=function(){throw new Error("Not implemented")},u.prototype.validate=function(){throw new Error("Not implemented")},u.prototype._fixedNafMul=function(e,t){a(e.precomputed);var r=e._getDoubles(),n=s(t,1),o=(1<<r.step+1)-(r.step%2==0?2:1);o/=3;for(var i=[],u=0;u<n.length;u+=r.step){var d=0;for(t=u+r.step-1;t>=u;t--)d=(d<<1)+n[t];i.push(d)}for(var l=this.jpoint(null,null,null),c=this.jpoint(null,null,null),f=o;f>0;f--){for(u=0;u<i.length;u++)(d=i[u])===f?c=c.mixedAdd(r.points[u]):d===-f&&(c=c.mixedAdd(r.points[u].neg()));l=l.add(c)}return l.toP()},u.prototype._wnafMul=function(e,t){for(var r=4,n=e._getNAFPoints(r),o=n.points,i=s(t,r=n.wnd),u=this.jpoint(null,null,null),d=i.length-1;d>=0;d--){for(t=0;d>=0&&0===i[d];d--)t++;if(d>=0&&t++,u=u.dblp(t),d<0)break;var l=i[d];a(0!==l),u="affine"===e.type?u.mixedAdd(l>0?o[l-1>>1]:o[-l-1>>1].neg()):u.add(l>0?o[l-1>>1]:o[-l-1>>1].neg())}return"affine"===e.type?u.toP():u},u.prototype._wnafMulAdd=function(e,t,r,n,o){for(var a=this._wnafT1,u=this._wnafT2,d=this._wnafT3,l=0,c=0;c<n;c++){var f=(E=t[c])._getNAFPoints(e);a[c]=f.wnd,u[c]=f.points}for(c=n-1;c>=1;c-=2){var h=c-1,p=c;if(1===a[h]&&1===a[p]){var m=[t[h],null,null,t[p]];0===t[h].y.cmp(t[p].y)?(m[1]=t[h].add(t[p]),m[2]=t[h].toJ().mixedAdd(t[p].neg())):0===t[h].y.cmp(t[p].y.redNeg())?(m[1]=t[h].toJ().mixedAdd(t[p]),m[2]=t[h].add(t[p].neg())):(m[1]=t[h].toJ().mixedAdd(t[p]),m[2]=t[h].toJ().mixedAdd(t[p].neg()));var b=[-3,-1,-5,-7,0,7,5,1,3],g=i(r[h],r[p]);l=Math.max(g[0].length,l),d[h]=new Array(l),d[p]=new Array(l);for(var v=0;v<l;v++)d[h][v]=b[3*(1+(0|g[0][v]))+(1+(0|g[1][v]))],d[p][v]=0,u[h]=m}else d[h]=s(r[h],a[h]),d[p]=s(r[p],a[p]),l=Math.max(d[h].length,l),l=Math.max(d[p].length,l)}var _=this.jpoint(null,null,null),y=this._wnafT4;for(c=l;c>=0;c--){for(var w=0;c>=0;){var j=!0;for(v=0;v<n;v++)y[v]=0|d[v][c],0!==y[v]&&(j=!1);if(!j)break;w++,c--}if(c>=0&&w++,_=_.dblp(w),c<0)break;for(v=0;v<n;v++){var E,D=y[v];0!==D&&(D>0?E=u[v][D-1>>1]:D<0&&(E=u[v][-D-1>>1].neg()),_="affine"===E.type?_.mixedAdd(E):_.add(E))}}for(c=0;c<n;c++)u[c]=null;return o?_:_.toP()},u.BasePoint=d,d.prototype.eq=function(){throw new Error("Not implemented")},d.prototype.validate=function(){return this.curve.validate(this)},u.prototype.decodePoint=function(e,t){e=o.toArray(e,t);var r=this.p.byteLength();if((4===e[0]||6===e[0]||7===e[0])&&e.length-1==2*r)return 6===e[0]?a(e[e.length-1]%2==0):7===e[0]&&a(e[e.length-1]%2==1),this.point(e.slice(1,1+r),e.slice(1+r,1+2*r));if((2===e[0]||3===e[0])&&e.length-1===r)return this.pointFromX(e.slice(1,1+r),3===e[0]);throw new Error("Unknown point format")},d.prototype.encodeCompressed=function(e){return this.encode(e,!0)},d.prototype._encode=function(e){var t=this.curve.p.byteLength(),r=this.getX().toArray("be",t);return e?[this.getY().isEven()?2:3].concat(r):[4].concat(r,this.getY().toArray("be",t))},d.prototype.encode=function(e,t){return o.encode(this._encode(t),e)},d.prototype.precompute=function(e){if(this.precomputed)return this;var t={doubles:null,naf:null,beta:null};return t.naf=this._getNAFPoints(8),t.doubles=this._getDoubles(4,e),t.beta=this._getBeta(),this.precomputed=t,this},d.prototype._hasDoubles=function(e){if(!this.precomputed)return!1;var t=this.precomputed.doubles;return!!t&&t.points.length>=Math.ceil((e.bitLength()+1)/t.step)},d.prototype._getDoubles=function(e,t){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var r=[this],n=this,o=0;o<t;o+=e){for(var s=0;s<e;s++)n=n.dbl();r.push(n)}return{step:e,points:r}},d.prototype._getNAFPoints=function(e){if(this.precomputed&&this.precomputed.naf)return this.precomputed.naf;for(var t=[this],r=(1<<e)-1,n=1===r?null:this.dbl(),o=1;o<r;o++)t[o]=t[o-1].add(n);return{wnd:e,points:t}},d.prototype._getBeta=function(){return null},d.prototype.dblp=function(e){for(var t=this,r=0;r<e;r++)t=t.dbl();return t}},{"../../elliptic":"/Users/jnordberg/Development/dsteem/node_modules/elliptic/lib/elliptic.js","bn.js":"/Users/jnordberg/Development/dsteem/node_modules/bn.js/lib/bn.js"}],"/Users/jnordberg/Development/dsteem/node_modules/elliptic/lib/elliptic/curve/edwards.js":[function(e,t,r){"use strict";var n=e("../curve"),o=e("../../elliptic"),s=e("bn.js"),i=e("inherits"),a=n.base,u=o.utils.assert;function d(e){this.twisted=1!=(0|e.a),this.mOneA=this.twisted&&-1==(0|e.a),this.extended=this.mOneA,a.call(this,"edwards",e),this.a=new s(e.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new s(e.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new s(e.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),u(!this.twisted||0===this.c.fromRed().cmpn(1)),this.oneC=1==(0|e.c)}function l(e,t,r,n,o){a.BasePoint.call(this,e,"projective"),null===t&&null===r&&null===n?(this.x=this.curve.zero,this.y=this.curve.one,this.z=this.curve.one,this.t=this.curve.zero,this.zOne=!0):(this.x=new s(t,16),this.y=new s(r,16),this.z=n?new s(n,16):this.curve.one,this.t=o&&new s(o,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.t&&!this.t.red&&(this.t=this.t.toRed(this.curve.red)),this.zOne=this.z===this.curve.one,this.curve.extended&&!this.t&&(this.t=this.x.redMul(this.y),this.zOne||(this.t=this.t.redMul(this.z.redInvm()))))}i(d,a),t.exports=d,d.prototype._mulA=function(e){return this.mOneA?e.redNeg():this.a.redMul(e)},d.prototype._mulC=function(e){return this.oneC?e:this.c.redMul(e)},d.prototype.jpoint=function(e,t,r,n){return this.point(e,t,r,n)},d.prototype.pointFromX=function(e,t){(e=new s(e,16)).red||(e=e.toRed(this.red));var r=e.redSqr(),n=this.c2.redSub(this.a.redMul(r)),o=this.one.redSub(this.c2.redMul(this.d).redMul(r)),i=n.redMul(o.redInvm()),a=i.redSqrt();if(0!==a.redSqr().redSub(i).cmp(this.zero))throw new Error("invalid point");var u=a.fromRed().isOdd();return(t&&!u||!t&&u)&&(a=a.redNeg()),this.point(e,a)},d.prototype.pointFromY=function(e,t){(e=new s(e,16)).red||(e=e.toRed(this.red));var r=e.redSqr(),n=r.redSub(this.one),o=r.redMul(this.d).redAdd(this.one),i=n.redMul(o.redInvm());if(0===i.cmp(this.zero)){if(t)throw new Error("invalid point");return this.point(this.zero,e)}var a=i.redSqrt();if(0!==a.redSqr().redSub(i).cmp(this.zero))throw new Error("invalid point");return a.isOdd()!==t&&(a=a.redNeg()),this.point(a,e)},d.prototype.validate=function(e){if(e.isInfinity())return!0;e.normalize();var t=e.x.redSqr(),r=e.y.redSqr(),n=t.redMul(this.a).redAdd(r),o=this.c2.redMul(this.one.redAdd(this.d.redMul(t).redMul(r)));return 0===n.cmp(o)},i(l,a.BasePoint),d.prototype.pointFromJSON=function(e){return l.fromJSON(this,e)},d.prototype.point=function(e,t,r,n){return new l(this,e,t,r,n)},l.fromJSON=function(e,t){return new l(e,t[0],t[1],t[2])},l.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},l.prototype.isInfinity=function(){return 0===this.x.cmpn(0)&&0===this.y.cmp(this.z)},l.prototype._extDbl=function(){var e=this.x.redSqr(),t=this.y.redSqr(),r=this.z.redSqr();r=r.redIAdd(r);var n=this.curve._mulA(e),o=this.x.redAdd(this.y).redSqr().redISub(e).redISub(t),s=n.redAdd(t),i=s.redSub(r),a=n.redSub(t),u=o.redMul(i),d=s.redMul(a),l=o.redMul(a),c=i.redMul(s);return this.curve.point(u,d,c,l)},l.prototype._projDbl=function(){var e,t,r,n=this.x.redAdd(this.y).redSqr(),o=this.x.redSqr(),s=this.y.redSqr();if(this.curve.twisted){var i=(d=this.curve._mulA(o)).redAdd(s);if(this.zOne)e=n.redSub(o).redSub(s).redMul(i.redSub(this.curve.two)),t=i.redMul(d.redSub(s)),r=i.redSqr().redSub(i).redSub(i);else{var a=this.z.redSqr(),u=i.redSub(a).redISub(a);e=n.redSub(o).redISub(s).redMul(u),t=i.redMul(d.redSub(s)),r=i.redMul(u)}}else{var d=o.redAdd(s);a=this.curve._mulC(this.c.redMul(this.z)).redSqr(),u=d.redSub(a).redSub(a),e=this.curve._mulC(n.redISub(d)).redMul(u),t=this.curve._mulC(d).redMul(o.redISub(s)),r=d.redMul(u)}return this.curve.point(e,t,r)},l.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},l.prototype._extAdd=function(e){var t=this.y.redSub(this.x).redMul(e.y.redSub(e.x)),r=this.y.redAdd(this.x).redMul(e.y.redAdd(e.x)),n=this.t.redMul(this.curve.dd).redMul(e.t),o=this.z.redMul(e.z.redAdd(e.z)),s=r.redSub(t),i=o.redSub(n),a=o.redAdd(n),u=r.redAdd(t),d=s.redMul(i),l=a.redMul(u),c=s.redMul(u),f=i.redMul(a);return this.curve.point(d,l,f,c)},l.prototype._projAdd=function(e){var t,r,n=this.z.redMul(e.z),o=n.redSqr(),s=this.x.redMul(e.x),i=this.y.redMul(e.y),a=this.curve.d.redMul(s).redMul(i),u=o.redSub(a),d=o.redAdd(a),l=this.x.redAdd(this.y).redMul(e.x.redAdd(e.y)).redISub(s).redISub(i),c=n.redMul(u).redMul(l);return this.curve.twisted?(t=n.redMul(d).redMul(i.redSub(this.curve._mulA(s))),r=u.redMul(d)):(t=n.redMul(d).redMul(i.redSub(s)),r=this.curve._mulC(u).redMul(d)),this.curve.point(c,t,r)},l.prototype.add=function(e){return this.isInfinity()?e:e.isInfinity()?this:this.curve.extended?this._extAdd(e):this._projAdd(e)},l.prototype.mul=function(e){return this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve._wnafMul(this,e)},l.prototype.mulAdd=function(e,t,r){return this.curve._wnafMulAdd(1,[this,t],[e,r],2,!1)},l.prototype.jmulAdd=function(e,t,r){return this.curve._wnafMulAdd(1,[this,t],[e,r],2,!0)},l.prototype.normalize=function(){if(this.zOne)return this;var e=this.z.redInvm();return this.x=this.x.redMul(e),this.y=this.y.redMul(e),this.t&&(this.t=this.t.redMul(e)),this.z=this.curve.one,this.zOne=!0,this},l.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())},l.prototype.getX=function(){return this.normalize(),this.x.fromRed()},l.prototype.getY=function(){return this.normalize(),this.y.fromRed()},l.prototype.eq=function(e){return this===e||0===this.getX().cmp(e.getX())&&0===this.getY().cmp(e.getY())},l.prototype.eqXToP=function(e){var t=e.toRed(this.curve.red).redMul(this.z);if(0===this.x.cmp(t))return!0;for(var r=e.clone(),n=this.curve.redN.redMul(this.z);;){if(r.iadd(this.curve.n),r.cmp(this.curve.p)>=0)return!1;if(t.redIAdd(n),0===this.x.cmp(t))return!0}return!1},l.prototype.toP=l.prototype.normalize,l.prototype.mixedAdd=l.prototype.add},{"../../elliptic":"/Users/jnordberg/Development/dsteem/node_modules/elliptic/lib/elliptic.js","../curve":"/Users/jnordberg/Development/dsteem/node_modules/elliptic/lib/elliptic/curve/index.js","bn.js":"/Users/jnordberg/Development/dsteem/node_modules/bn.js/lib/bn.js",inherits:"/Users/jnordberg/Development/dsteem/node_modules/inherits/inherits_browser.js"}],"/Users/jnordberg/Development/dsteem/node_modules/elliptic/lib/elliptic/curve/index.js":[function(e,t,r){"use strict";var n=r;n.base=e("./base"),n.short=e("./short"),n.mont=e("./mont"),n.edwards=e("./edwards")},{"./base":"/Users/jnordberg/Development/dsteem/node_modules/elliptic/lib/elliptic/curve/base.js","./edwards":"/Users/jnordberg/Development/dsteem/node_modules/elliptic/lib/elliptic/curve/edwards.js","./mont":"/Users/jnordberg/Development/dsteem/node_modules/elliptic/lib/elliptic/curve/mont.js","./short":"/Users/jnordberg/Development/dsteem/node_modules/elliptic/lib/elliptic/curve/short.js"}],"/Users/jnordberg/Development/dsteem/node_modules/elliptic/lib/elliptic/curve/mont.js":[function(e,t,r){"use strict";var n=e("../curve"),o=e("bn.js"),s=e("inherits"),i=n.base,a=e("../../elliptic").utils;function u(e){i.call(this,"mont",e),this.a=new o(e.a,16).toRed(this.red),this.b=new o(e.b,16).toRed(this.red),this.i4=new o(4).toRed(this.red).redInvm(),this.two=new o(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}function d(e,t,r){i.BasePoint.call(this,e,"projective"),null===t&&null===r?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new o(t,16),this.z=new o(r,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}s(u,i),t.exports=u,u.prototype.validate=function(e){var t=e.normalize().x,r=t.redSqr(),n=r.redMul(t).redAdd(r.redMul(this.a)).redAdd(t);return 0===n.redSqrt().redSqr().cmp(n)},s(d,i.BasePoint),u.prototype.decodePoint=function(e,t){return this.point(a.toArray(e,t),1)},u.prototype.point=function(e,t){return new d(this,e,t)},u.prototype.pointFromJSON=function(e){return d.fromJSON(this,e)},d.prototype.precompute=function(){},d.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())},d.fromJSON=function(e,t){return new d(e,t[0],t[1]||e.one)},d.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},d.prototype.isInfinity=function(){return 0===this.z.cmpn(0)},d.prototype.dbl=function(){var e=this.x.redAdd(this.z).redSqr(),t=this.x.redSub(this.z).redSqr(),r=e.redSub(t),n=e.redMul(t),o=r.redMul(t.redAdd(this.curve.a24.redMul(r)));return this.curve.point(n,o)},d.prototype.add=function(){throw new Error("Not supported on Montgomery curve")},d.prototype.diffAdd=function(e,t){var r=this.x.redAdd(this.z),n=this.x.redSub(this.z),o=e.x.redAdd(e.z),s=e.x.redSub(e.z).redMul(r),i=o.redMul(n),a=t.z.redMul(s.redAdd(i).redSqr()),u=t.x.redMul(s.redISub(i).redSqr());return this.curve.point(a,u)},d.prototype.mul=function(e){for(var t=e.clone(),r=this,n=this.curve.point(null,null),o=[];0!==t.cmpn(0);t.iushrn(1))o.push(t.andln(1));for(var s=o.length-1;s>=0;s--)0===o[s]?(r=r.diffAdd(n,this),n=n.dbl()):(n=r.diffAdd(n,this),r=r.dbl());return n},d.prototype.mulAdd=function(){throw new Error("Not supported on Montgomery curve")},d.prototype.jumlAdd=function(){throw new Error("Not supported on Montgomery curve")},d.prototype.eq=function(e){return 0===this.getX().cmp(e.getX())},d.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this},d.prototype.getX=function(){return this.normalize(),this.x.fromRed()}},{"../../elliptic":"/Users/jnordberg/Development/dsteem/node_modules/elliptic/lib/elliptic.js","../curve":"/Users/jnordberg/Development/dsteem/node_modules/elliptic/lib/elliptic/curve/index.js","bn.js":"/Users/jnordberg/Development/dsteem/node_modules/bn.js/lib/bn.js",inherits:"/Users/jnordberg/Development/dsteem/node_modules/inherits/inherits_browser.js"}],"/Users/jnordberg/Development/dsteem/node_modules/elliptic/lib/elliptic/curve/short.js":[function(e,t,r){"use strict";var n=e("../curve"),o=e("../../elliptic"),s=e("bn.js"),i=e("inherits"),a=n.base,u=o.utils.assert;function d(e){a.call(this,"short",e),this.a=new s(e.a,16).toRed(this.red),this.b=new s(e.b,16).toRed(this.red),this.tinv=this.two.redInvm(),this.zeroA=0===this.a.fromRed().cmpn(0),this.threeA=0===this.a.fromRed().sub(this.p).cmpn(-3),this.endo=this._getEndomorphism(e),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}function l(e,t,r,n){a.BasePoint.call(this,e,"affine"),null===t&&null===r?(this.x=null,this.y=null,this.inf=!0):(this.x=new s(t,16),this.y=new s(r,16),n&&(this.x.forceRed(this.curve.red),this.y.forceRed(this.curve.red)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.inf=!1)}function c(e,t,r,n){a.BasePoint.call(this,e,"jacobian"),null===t&&null===r&&null===n?(this.x=this.curve.one,this.y=this.curve.one,this.z=new s(0)):(this.x=new s(t,16),this.y=new s(r,16),this.z=new s(n,16)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.zOne=this.z===this.curve.one}i(d,a),t.exports=d,d.prototype._getEndomorphism=function(e){if(this.zeroA&&this.g&&this.n&&1===this.p.modn(3)){var t,r;if(e.beta)t=new s(e.beta,16).toRed(this.red);else{var n=this._getEndoRoots(this.p);t=(t=n[0].cmp(n[1])<0?n[0]:n[1]).toRed(this.red)}if(e.lambda)r=new s(e.lambda,16);else{var o=this._getEndoRoots(this.n);0===this.g.mul(o[0]).x.cmp(this.g.x.redMul(t))?r=o[0]:u(0===this.g.mul(r=o[1]).x.cmp(this.g.x.redMul(t)))}return{beta:t,lambda:r,basis:e.basis?e.basis.map(function(e){return{a:new s(e.a,16),b:new s(e.b,16)}}):this._getEndoBasis(r)}}},d.prototype._getEndoRoots=function(e){var t=e===this.p?this.red:s.mont(e),r=new s(2).toRed(t).redInvm(),n=r.redNeg(),o=new s(3).toRed(t).redNeg().redSqrt().redMul(r);return[n.redAdd(o).fromRed(),n.redSub(o).fromRed()]},d.prototype._getEndoBasis=function(e){for(var t,r,n,o,i,a,u,d,l,c=this.n.ushrn(Math.floor(this.n.bitLength()/2)),f=e,h=this.n.clone(),p=new s(1),m=new s(0),b=new s(0),g=new s(1),v=0;0!==f.cmpn(0);){var _=h.div(f);d=h.sub(_.mul(f)),l=b.sub(_.mul(p));var y=g.sub(_.mul(m));if(!n&&d.cmp(c)<0)t=u.neg(),r=p,n=d.neg(),o=l;else if(n&&2==++v)break;u=d,h=f,f=d,b=p,p=l,g=m,m=y}i=d.neg(),a=l;var w=n.sqr().add(o.sqr());return i.sqr().add(a.sqr()).cmp(w)>=0&&(i=t,a=r),n.negative&&(n=n.neg(),o=o.neg()),i.negative&&(i=i.neg(),a=a.neg()),[{a:n,b:o},{a:i,b:a}]},d.prototype._endoSplit=function(e){var t=this.endo.basis,r=t[0],n=t[1],o=n.b.mul(e).divRound(this.n),s=r.b.neg().mul(e).divRound(this.n),i=o.mul(r.a),a=s.mul(n.a),u=o.mul(r.b),d=s.mul(n.b);return{k1:e.sub(i).sub(a),k2:u.add(d).neg()}},d.prototype.pointFromX=function(e,t){(e=new s(e,16)).red||(e=e.toRed(this.red));var r=e.redSqr().redMul(e).redIAdd(e.redMul(this.a)).redIAdd(this.b),n=r.redSqrt();if(0!==n.redSqr().redSub(r).cmp(this.zero))throw new Error("invalid point");var o=n.fromRed().isOdd();return(t&&!o||!t&&o)&&(n=n.redNeg()),this.point(e,n)},d.prototype.validate=function(e){if(e.inf)return!0;var t=e.x,r=e.y,n=this.a.redMul(t),o=t.redSqr().redMul(t).redIAdd(n).redIAdd(this.b);return 0===r.redSqr().redISub(o).cmpn(0)},d.prototype._endoWnafMulAdd=function(e,t,r){for(var n=this._endoWnafT1,o=this._endoWnafT2,s=0;s<e.length;s++){var i=this._endoSplit(t[s]),a=e[s],u=a._getBeta();i.k1.negative&&(i.k1.ineg(),a=a.neg(!0)),i.k2.negative&&(i.k2.ineg(),u=u.neg(!0)),n[2*s]=a,n[2*s+1]=u,o[2*s]=i.k1,o[2*s+1]=i.k2}for(var d=this._wnafMulAdd(1,n,o,2*s,r),l=0;l<2*s;l++)n[l]=null,o[l]=null;return d},i(l,a.BasePoint),d.prototype.point=function(e,t,r){return new l(this,e,t,r)},d.prototype.pointFromJSON=function(e,t){return l.fromJSON(this,e,t)},l.prototype._getBeta=function(){if(this.curve.endo){var e=this.precomputed;if(e&&e.beta)return e.beta;var t=this.curve.point(this.x.redMul(this.curve.endo.beta),this.y);if(e){var r=this.curve,n=function(e){return r.point(e.x.redMul(r.endo.beta),e.y)};e.beta=t,t.precomputed={beta:null,naf:e.naf&&{wnd:e.naf.wnd,points:e.naf.points.map(n)},doubles:e.doubles&&{step:e.doubles.step,points:e.doubles.points.map(n)}}}return t}},l.prototype.toJSON=function(){return this.precomputed?[this.x,this.y,this.precomputed&&{doubles:this.precomputed.doubles&&{step:this.precomputed.doubles.step,points:this.precomputed.doubles.points.slice(1)},naf:this.precomputed.naf&&{wnd:this.precomputed.naf.wnd,points:this.precomputed.naf.points.slice(1)}}]:[this.x,this.y]},l.fromJSON=function(e,t,r){"string"==typeof t&&(t=JSON.parse(t));var n=e.point(t[0],t[1],r);if(!t[2])return n;function o(t){return e.point(t[0],t[1],r)}var s=t[2];return n.precomputed={beta:null,doubles:s.doubles&&{step:s.doubles.step,points:[n].concat(s.doubles.points.map(o))},naf:s.naf&&{wnd:s.naf.wnd,points:[n].concat(s.naf.points.map(o))}},n},l.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+">"},l.prototype.isInfinity=function(){return this.inf},l.prototype.add=function(e){if(this.inf)return e;if(e.inf)return this;if(this.eq(e))return this.dbl();if(this.neg().eq(e))return this.curve.point(null,null);if(0===this.x.cmp(e.x))return this.curve.point(null,null);var t=this.y.redSub(e.y);0!==t.cmpn(0)&&(t=t.redMul(this.x.redSub(e.x).redInvm()));var r=t.redSqr().redISub(this.x).redISub(e.x),n=t.redMul(this.x.redSub(r)).redISub(this.y);return this.curve.point(r,n)},l.prototype.dbl=function(){if(this.inf)return this;var e=this.y.redAdd(this.y);if(0===e.cmpn(0))return this.curve.point(null,null);var t=this.curve.a,r=this.x.redSqr(),n=e.redInvm(),o=r.redAdd(r).redIAdd(r).redIAdd(t).redMul(n),s=o.redSqr().redISub(this.x.redAdd(this.x)),i=o.redMul(this.x.redSub(s)).redISub(this.y);return this.curve.point(s,i)},l.prototype.getX=function(){return this.x.fromRed()},l.prototype.getY=function(){return this.y.fromRed()},l.prototype.mul=function(e){return e=new s(e,16),this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve.endo?this.curve._endoWnafMulAdd([this],[e]):this.curve._wnafMul(this,e)},l.prototype.mulAdd=function(e,t,r){var n=[this,t],o=[e,r];return this.curve.endo?this.curve._endoWnafMulAdd(n,o):this.curve._wnafMulAdd(1,n,o,2)},l.prototype.jmulAdd=function(e,t,r){var n=[this,t],o=[e,r];return this.curve.endo?this.curve._endoWnafMulAdd(n,o,!0):this.curve._wnafMulAdd(1,n,o,2,!0)},l.prototype.eq=function(e){return this===e||this.inf===e.inf&&(this.inf||0===this.x.cmp(e.x)&&0===this.y.cmp(e.y))},l.prototype.neg=function(e){if(this.inf)return this;var t=this.curve.point(this.x,this.y.redNeg());if(e&&this.precomputed){var r=this.precomputed,n=function(e){return e.neg()};t.precomputed={naf:r.naf&&{wnd:r.naf.wnd,points:r.naf.points.map(n)},doubles:r.doubles&&{step:r.doubles.step,points:r.doubles.points.map(n)}}}return t},l.prototype.toJ=function(){return this.inf?this.curve.jpoint(null,null,null):this.curve.jpoint(this.x,this.y,this.curve.one)},i(c,a.BasePoint),d.prototype.jpoint=function(e,t,r){return new c(this,e,t,r)},c.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var e=this.z.redInvm(),t=e.redSqr(),r=this.x.redMul(t),n=this.y.redMul(t).redMul(e);return this.curve.point(r,n)},c.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},c.prototype.add=function(e){if(this.isInfinity())return e;if(e.isInfinity())return this;var t=e.z.redSqr(),r=this.z.redSqr(),n=this.x.redMul(t),o=e.x.redMul(r),s=this.y.redMul(t.redMul(e.z)),i=e.y.redMul(r.redMul(this.z)),a=n.redSub(o),u=s.redSub(i);if(0===a.cmpn(0))return 0!==u.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var d=a.redSqr(),l=d.redMul(a),c=n.redMul(d),f=u.redSqr().redIAdd(l).redISub(c).redISub(c),h=u.redMul(c.redISub(f)).redISub(s.redMul(l)),p=this.z.redMul(e.z).redMul(a);return this.curve.jpoint(f,h,p)},c.prototype.mixedAdd=function(e){if(this.isInfinity())return e.toJ();if(e.isInfinity())return this;var t=this.z.redSqr(),r=this.x,n=e.x.redMul(t),o=this.y,s=e.y.redMul(t).redMul(this.z),i=r.redSub(n),a=o.redSub(s);if(0===i.cmpn(0))return 0!==a.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var u=i.redSqr(),d=u.redMul(i),l=r.redMul(u),c=a.redSqr().redIAdd(d).redISub(l).redISub(l),f=a.redMul(l.redISub(c)).redISub(o.redMul(d)),h=this.z.redMul(i);return this.curve.jpoint(c,f,h)},c.prototype.dblp=function(e){if(0===e)return this;if(this.isInfinity())return this;if(!e)return this.dbl();if(this.curve.zeroA||this.curve.threeA){for(var t=this,r=0;r<e;r++)t=t.dbl();return t}var n=this.curve.a,o=this.curve.tinv,s=this.x,i=this.y,a=this.z,u=a.redSqr().redSqr(),d=i.redAdd(i);for(r=0;r<e;r++){var l=s.redSqr(),c=d.redSqr(),f=c.redSqr(),h=l.redAdd(l).redIAdd(l).redIAdd(n.redMul(u)),p=s.redMul(c),m=h.redSqr().redISub(p.redAdd(p)),b=p.redISub(m),g=h.redMul(b);g=g.redIAdd(g).redISub(f);var v=d.redMul(a);r+1<e&&(u=u.redMul(f)),s=m,a=v,d=g}return this.curve.jpoint(s,d.redMul(o),a)},c.prototype.dbl=function(){return this.isInfinity()?this:this.curve.zeroA?this._zeroDbl():this.curve.threeA?this._threeDbl():this._dbl()},c.prototype._zeroDbl=function(){var e,t,r;if(this.zOne){var n=this.x.redSqr(),o=this.y.redSqr(),s=o.redSqr(),i=this.x.redAdd(o).redSqr().redISub(n).redISub(s);i=i.redIAdd(i);var a=n.redAdd(n).redIAdd(n),u=a.redSqr().redISub(i).redISub(i),d=s.redIAdd(s);d=(d=d.redIAdd(d)).redIAdd(d),e=u,t=a.redMul(i.redISub(u)).redISub(d),r=this.y.redAdd(this.y)}else{var l=this.x.redSqr(),c=this.y.redSqr(),f=c.redSqr(),h=this.x.redAdd(c).redSqr().redISub(l).redISub(f);h=h.redIAdd(h);var p=l.redAdd(l).redIAdd(l),m=p.redSqr(),b=f.redIAdd(f);b=(b=b.redIAdd(b)).redIAdd(b),e=m.redISub(h).redISub(h),t=p.redMul(h.redISub(e)).redISub(b),r=(r=this.y.redMul(this.z)).redIAdd(r)}return this.curve.jpoint(e,t,r)},c.prototype._threeDbl=function(){var e,t,r;if(this.zOne){var n=this.x.redSqr(),o=this.y.redSqr(),s=o.redSqr(),i=this.x.redAdd(o).redSqr().redISub(n).redISub(s);i=i.redIAdd(i);var a=n.redAdd(n).redIAdd(n).redIAdd(this.curve.a),u=a.redSqr().redISub(i).redISub(i);e=u;var d=s.redIAdd(s);d=(d=d.redIAdd(d)).redIAdd(d),t=a.redMul(i.redISub(u)).redISub(d),r=this.y.redAdd(this.y)}else{var l=this.z.redSqr(),c=this.y.redSqr(),f=this.x.redMul(c),h=this.x.redSub(l).redMul(this.x.redAdd(l));h=h.redAdd(h).redIAdd(h);var p=f.redIAdd(f),m=(p=p.redIAdd(p)).redAdd(p);e=h.redSqr().redISub(m),r=this.y.redAdd(this.z).redSqr().redISub(c).redISub(l);var b=c.redSqr();b=(b=(b=b.redIAdd(b)).redIAdd(b)).redIAdd(b),t=h.redMul(p.redISub(e)).redISub(b)}return this.curve.jpoint(e,t,r)},c.prototype._dbl=function(){var e=this.curve.a,t=this.x,r=this.y,n=this.z,o=n.redSqr().redSqr(),s=t.redSqr(),i=r.redSqr(),a=s.redAdd(s).redIAdd(s).redIAdd(e.redMul(o)),u=t.redAdd(t),d=(u=u.redIAdd(u)).redMul(i),l=a.redSqr().redISub(d.redAdd(d)),c=d.redISub(l),f=i.redSqr();f=(f=(f=f.redIAdd(f)).redIAdd(f)).redIAdd(f);var h=a.redMul(c).redISub(f),p=r.redAdd(r).redMul(n);return this.curve.jpoint(l,h,p)},c.prototype.trpl=function(){if(!this.curve.zeroA)return this.dbl().add(this);var e=this.x.redSqr(),t=this.y.redSqr(),r=this.z.redSqr(),n=t.redSqr(),o=e.redAdd(e).redIAdd(e),s=o.redSqr(),i=this.x.redAdd(t).redSqr().redISub(e).redISub(n),a=(i=(i=(i=i.redIAdd(i)).redAdd(i).redIAdd(i)).redISub(s)).redSqr(),u=n.redIAdd(n);u=(u=(u=u.redIAdd(u)).redIAdd(u)).redIAdd(u);var d=o.redIAdd(i).redSqr().redISub(s).redISub(a).redISub(u),l=t.redMul(d);l=(l=l.redIAdd(l)).redIAdd(l);var c=this.x.redMul(a).redISub(l);c=(c=c.redIAdd(c)).redIAdd(c);var f=this.y.redMul(d.redMul(u.redISub(d)).redISub(i.redMul(a)));f=(f=(f=f.redIAdd(f)).redIAdd(f)).redIAdd(f);var h=this.z.redAdd(i).redSqr().redISub(r).redISub(a);return this.curve.jpoint(c,f,h)},c.prototype.mul=function(e,t){return e=new s(e,t),this.curve._wnafMul(this,e)},c.prototype.eq=function(e){if("affine"===e.type)return this.eq(e.toJ());if(this===e)return!0;var t=this.z.redSqr(),r=e.z.redSqr();if(0!==this.x.redMul(r).redISub(e.x.redMul(t)).cmpn(0))return!1;var n=t.redMul(this.z),o=r.redMul(e.z);return 0===this.y.redMul(o).redISub(e.y.redMul(n)).cmpn(0)},c.prototype.eqXToP=function(e){var t=this.z.redSqr(),r=e.toRed(this.curve.red).redMul(t);if(0===this.x.cmp(r))return!0;for(var n=e.clone(),o=this.curve.redN.redMul(t);;){if(n.iadd(this.curve.n),n.cmp(this.curve.p)>=0)return!1;if(r.redIAdd(o),0===this.x.cmp(r))return!0}return!1},c.prototype.inspect=function(){return this.isInfinity()?"<EC JPoint Infinity>":"<EC JPoint x: "+this.x.toString(16,2)+" y: "+this.y.toString(16,2)+" z: "+this.z.toString(16,2)+">"},c.prototype.isInfinity=function(){return 0===this.z.cmpn(0)}},{"../../elliptic":"/Users/jnordberg/Development/dsteem/node_modules/elliptic/lib/elliptic.js","../curve":"/Users/jnordberg/Development/dsteem/node_modules/elliptic/lib/elliptic/curve/index.js","bn.js":"/Users/jnordberg/Development/dsteem/node_modules/bn.js/lib/bn.js",inherits:"/Users/jnordberg/Development/dsteem/node_modules/inherits/inherits_browser.js"}],"/Users/jnordberg/Development/dsteem/node_modules/elliptic/lib/elliptic/curves.js":[function(e,t,r){"use strict";var n,o=r,s=e("hash.js"),i=e("../elliptic"),a=i.utils.assert;function u(e){this.curve="short"===e.type?new i.curve.short(e):"edwards"===e.type?new i.curve.edwards(e):new i.curve.mont(e),this.g=this.curve.g,this.n=this.curve.n,this.hash=e.hash,a(this.g.validate(),"Invalid curve"),a(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function d(e,t){Object.defineProperty(o,e,{configurable:!0,enumerable:!0,get:function(){var r=new u(t);return Object.defineProperty(o,e,{configurable:!0,enumerable:!0,value:r}),r}})}o.PresetCurve=u,d("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:s.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),d("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:s.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),d("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:s.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),d("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:s.sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]}),d("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:s.sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]}),d("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:s.sha256,gRed:!1,g:["9"]}),d("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:s.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});try{n=e("./precomputed/secp256k1")}catch(e){n=void 0}d("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:s.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",n]})},{"../elliptic":"/Users/jnordberg/Development/dsteem/node_modules/elliptic/lib/elliptic.js","./precomputed/secp256k1":"/Users/jnordberg/Development/dsteem/node_modules/elliptic/lib/elliptic/precomputed/secp256k1.js","hash.js":"/Users/jnordberg/Development/dsteem/node_modules/hash.js/lib/hash.js"}],"/Users/jnordberg/Development/dsteem/node_modules/elliptic/lib/elliptic/ec/index.js":[function(e,t,r){"use strict";var n=e("bn.js"),o=e("hmac-drbg"),s=e("../../elliptic"),i=s.utils.assert,a=e("./key"),u=e("./signature");function d(e){if(!(this instanceof d))return new d(e);"string"==typeof e&&(i(s.curves.hasOwnProperty(e),"Unknown curve "+e),e=s.curves[e]),e instanceof s.curves.PresetCurve&&(e={curve:e}),this.curve=e.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=e.curve.g,this.g.precompute(e.curve.n.bitLength()+1),this.hash=e.hash||e.curve.hash}t.exports=d,d.prototype.keyPair=function(e){return new a(this,e)},d.prototype.keyFromPrivate=function(e,t){return a.fromPrivate(this,e,t)},d.prototype.keyFromPublic=function(e,t){return a.fromPublic(this,e,t)},d.prototype.genKeyPair=function(e){e||(e={});for(var t=new o({hash:this.hash,pers:e.pers,persEnc:e.persEnc||"utf8",entropy:e.entropy||s.rand(this.hash.hmacStrength),entropyEnc:e.entropy&&e.entropyEnc||"utf8",nonce:this.n.toArray()}),r=this.n.byteLength(),i=this.n.sub(new n(2));;){var a=new n(t.generate(r));if(!(a.cmp(i)>0))return a.iaddn(1),this.keyFromPrivate(a)}},d.prototype._truncateToN=function(e,t){var r=8*e.byteLength()-this.n.bitLength();return r>0&&(e=e.ushrn(r)),!t&&e.cmp(this.n)>=0?e.sub(this.n):e},d.prototype.sign=function(e,t,r,s){"object"==typeof r&&(s=r,r=null),s||(s={}),t=this.keyFromPrivate(t,r),e=this._truncateToN(new n(e,16));for(var i=this.n.byteLength(),a=t.getPrivate().toArray("be",i),d=e.toArray("be",i),l=new o({hash:this.hash,entropy:a,nonce:d,pers:s.pers,persEnc:s.persEnc||"utf8"}),c=this.n.sub(new n(1)),f=0;;f++){var h=s.k?s.k(f):new n(l.generate(this.n.byteLength()));if(!((h=this._truncateToN(h,!0)).cmpn(1)<=0||h.cmp(c)>=0)){var p=this.g.mul(h);if(!p.isInfinity()){var m=p.getX(),b=m.umod(this.n);if(0!==b.cmpn(0)){var g=h.invm(this.n).mul(b.mul(t.getPrivate()).iadd(e));if(0!==(g=g.umod(this.n)).cmpn(0)){var v=(p.getY().isOdd()?1:0)|(0!==m.cmp(b)?2:0);return s.canonical&&g.cmp(this.nh)>0&&(g=this.n.sub(g),v^=1),new u({r:b,s:g,recoveryParam:v})}}}}}},d.prototype.verify=function(e,t,r,o){e=this._truncateToN(new n(e,16)),r=this.keyFromPublic(r,o);var s=(t=new u(t,"hex")).r,i=t.s;if(s.cmpn(1)<0||s.cmp(this.n)>=0)return!1;if(i.cmpn(1)<0||i.cmp(this.n)>=0)return!1;var a,d=i.invm(this.n),l=d.mul(e).umod(this.n),c=d.mul(s).umod(this.n);return this.curve._maxwellTrick?!(a=this.g.jmulAdd(l,r.getPublic(),c)).isInfinity()&&a.eqXToP(s):!(a=this.g.mulAdd(l,r.getPublic(),c)).isInfinity()&&0===a.getX().umod(this.n).cmp(s)},d.prototype.recoverPubKey=function(e,t,r,o){i((3&r)===r,"The recovery param is more than two bits"),t=new u(t,o);var s=this.n,a=new n(e),d=t.r,l=t.s,c=1&r,f=r>>1;if(d.cmp(this.curve.p.umod(this.curve.n))>=0&&f)throw new Error("Unable to find sencond key candinate");d=this.curve.pointFromX(f?d.add(this.curve.n):d,c);var h=t.r.invm(s),p=s.sub(a).mul(h).umod(s),m=l.mul(h).umod(s);return this.g.mulAdd(p,d,m)},d.prototype.getKeyRecoveryParam=function(e,t,r,n){if(null!==(t=new u(t,n)).recoveryParam)return t.recoveryParam;for(var o=0;o<4;o++){var s;try{s=this.recoverPubKey(e,t,o)}catch(e){continue}if(s.eq(r))return o}throw new Error("Unable to find valid recovery factor")}},{"../../elliptic":"/Users/jnordberg/Development/dsteem/node_modules/elliptic/lib/elliptic.js","./key":"/Users/jnordberg/Development/dsteem/node_modules/elliptic/lib/elliptic/ec/key.js","./signature":"/Users/jnordberg/Development/dsteem/node_modules/elliptic/lib/elliptic/ec/signature.js","bn.js":"/Users/jnordberg/Development/dsteem/node_modules/bn.js/lib/bn.js","hmac-drbg":"/Users/jnordberg/Development/dsteem/node_modules/hmac-drbg/lib/hmac-drbg.js"}],"/Users/jnordberg/Development/dsteem/node_modules/elliptic/lib/elliptic/ec/key.js":[function(e,t,r){"use strict";var n=e("bn.js"),o=e("../../elliptic").utils.assert;function s(e,t){this.ec=e,this.priv=null,this.pub=null,t.priv&&this._importPrivate(t.priv,t.privEnc),t.pub&&this._importPublic(t.pub,t.pubEnc)}t.exports=s,s.fromPublic=function(e,t,r){return t instanceof s?t:new s(e,{pub:t,pubEnc:r})},s.fromPrivate=function(e,t,r){return t instanceof s?t:new s(e,{priv:t,privEnc:r})},s.prototype.validate=function(){var e=this.getPublic();return e.isInfinity()?{result:!1,reason:"Invalid public key"}:e.validate()?e.mul(this.ec.curve.n).isInfinity()?{result:!0,reason:null}:{result:!1,reason:"Public key * N != O"}:{result:!1,reason:"Public key is not a point"}},s.prototype.getPublic=function(e,t){return"string"==typeof e&&(t=e,e=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),t?this.pub.encode(t,e):this.pub},s.prototype.getPrivate=function(e){return"hex"===e?this.priv.toString(16,2):this.priv},s.prototype._importPrivate=function(e,t){this.priv=new n(e,t||16),this.priv=this.priv.umod(this.ec.curve.n)},s.prototype._importPublic=function(e,t){if(e.x||e.y)return"mont"===this.ec.curve.type?o(e.x,"Need x coordinate"):"short"!==this.ec.curve.type&&"edwards"!==this.ec.curve.type||o(e.x&&e.y,"Need both x and y coordinate"),void(this.pub=this.ec.curve.point(e.x,e.y));this.pub=this.ec.curve.decodePoint(e,t)},s.prototype.derive=function(e){return e.mul(this.priv).getX()},s.prototype.sign=function(e,t,r){return this.ec.sign(e,this,t,r)},s.prototype.verify=function(e,t){return this.ec.verify(e,t,this)},s.prototype.inspect=function(){return"<Key priv: "+(this.priv&&this.priv.toString(16,2))+" pub: "+(this.pub&&this.pub.inspect())+" >"}},{"../../elliptic":"/Users/jnordberg/Development/dsteem/node_modules/elliptic/lib/elliptic.js","bn.js":"/Users/jnordberg/Development/dsteem/node_modules/bn.js/lib/bn.js"}],"/Users/jnordberg/Development/dsteem/node_modules/elliptic/lib/elliptic/ec/signature.js":[function(e,t,r){"use strict";var n=e("bn.js"),o=e("../../elliptic").utils,s=o.assert;function i(e,t){if(e instanceof i)return e;this._importDER(e,t)||(s(e.r&&e.s,"Signature without r or s"),this.r=new n(e.r,16),this.s=new n(e.s,16),this.recoveryParam=void 0===e.recoveryParam?null:e.recoveryParam)}function a(e,t){var r=e[t.place++];if(!(128&r))return r;for(var n=15&r,o=0,s=0,i=t.place;s<n;s++,i++)o<<=8,o|=e[i];return t.place=i,o}function u(e){for(var t=0,r=e.length-1;!e[t]&&!(128&e[t+1])&&t<r;)t++;return 0===t?e:e.slice(t)}function d(e,t){if(t<128)e.push(t);else{var r=1+(Math.log(t)/Math.LN2>>>3);for(e.push(128|r);--r;)e.push(t>>>(r<<3)&255);e.push(t)}}t.exports=i,i.prototype._importDER=function(e,t){e=o.toArray(e,t);var r=new function(){this.place=0};if(48!==e[r.place++])return!1;if(a(e,r)+r.place!==e.length)return!1;if(2!==e[r.place++])return!1;var s=a(e,r),i=e.slice(r.place,s+r.place);if(r.place+=s,2!==e[r.place++])return!1;var u=a(e,r);if(e.length!==u+r.place)return!1;var d=e.slice(r.place,u+r.place);return 0===i[0]&&128&i[1]&&(i=i.slice(1)),0===d[0]&&128&d[1]&&(d=d.slice(1)),this.r=new n(i),this.s=new n(d),this.recoveryParam=null,!0},i.prototype.toDER=function(e){var t=this.r.toArray(),r=this.s.toArray();for(128&t[0]&&(t=[0].concat(t)),128&r[0]&&(r=[0].concat(r)),t=u(t),r=u(r);!(r[0]||128&r[1]);)r=r.slice(1);var n=[2];d(n,t.length),(n=n.concat(t)).push(2),d(n,r.length);var s=n.concat(r),i=[48];return d(i,s.length),i=i.concat(s),o.encode(i,e)}},{"../../elliptic":"/Users/jnordberg/Development/dsteem/node_modules/elliptic/lib/elliptic.js","bn.js":"/Users/jnordberg/Development/dsteem/node_modules/bn.js/lib/bn.js"}],"/Users/jnordberg/Development/dsteem/node_modules/elliptic/lib/elliptic/eddsa/index.js":[function(e,t,r){"use strict";var n=e("hash.js"),o=e("../../elliptic"),s=o.utils,i=s.assert,a=s.parseBytes,u=e("./key"),d=e("./signature");function l(e){if(i("ed25519"===e,"only tested with ed25519 so far"),!(this instanceof l))return new l(e);this.curve=e=o.curves[e].curve,this.g=e.g,this.g.precompute(e.n.bitLength()+1),this.pointClass=e.point().constructor,this.encodingLength=Math.ceil(e.n.bitLength()/8),this.hash=n.sha512}t.exports=l,l.prototype.sign=function(e,t){e=a(e);var r=this.keyFromSecret(t),n=this.hashInt(r.messagePrefix(),e),o=this.g.mul(n),s=this.encodePoint(o),i=this.hashInt(s,r.pubBytes(),e).mul(r.priv()),u=n.add(i).umod(this.curve.n);return this.makeSignature({R:o,S:u,Rencoded:s})},l.prototype.verify=function(e,t,r){e=a(e),t=this.makeSignature(t);var n=this.keyFromPublic(r),o=this.hashInt(t.Rencoded(),n.pubBytes(),e),s=this.g.mul(t.S());return t.R().add(n.pub().mul(o)).eq(s)},l.prototype.hashInt=function(){for(var e=this.hash(),t=0;t<arguments.length;t++)e.update(arguments[t]);return s.intFromLE(e.digest()).umod(this.curve.n)},l.prototype.keyFromPublic=function(e){return u.fromPublic(this,e)},l.prototype.keyFromSecret=function(e){return u.fromSecret(this,e)},l.prototype.makeSignature=function(e){return e instanceof d?e:new d(this,e)},l.prototype.encodePoint=function(e){var t=e.getY().toArray("le",this.encodingLength);return t[this.encodingLength-1]|=e.getX().isOdd()?128:0,t},l.prototype.decodePoint=function(e){var t=(e=s.parseBytes(e)).length-1,r=e.slice(0,t).concat(-129&e[t]),n=0!=(128&e[t]),o=s.intFromLE(r);return this.curve.pointFromY(o,n)},l.prototype.encodeInt=function(e){return e.toArray("le",this.encodingLength)},l.prototype.decodeInt=function(e){return s.intFromLE(e)},l.prototype.isPoint=function(e){return e instanceof this.pointClass}},{"../../elliptic":"/Users/jnordberg/Development/dsteem/node_modules/elliptic/lib/elliptic.js","./key":"/Users/jnordberg/Development/dsteem/node_modules/elliptic/lib/elliptic/eddsa/key.js","./signature":"/Users/jnordberg/Development/dsteem/node_modules/elliptic/lib/elliptic/eddsa/signature.js","hash.js":"/Users/jnordberg/Development/dsteem/node_modules/hash.js/lib/hash.js"}],"/Users/jnordberg/Development/dsteem/node_modules/elliptic/lib/elliptic/eddsa/key.js":[function(e,t,r){"use strict";var n=e("../../elliptic").utils,o=n.assert,s=n.parseBytes,i=n.cachedProperty;function a(e,t){this.eddsa=e,this._secret=s(t.secret),e.isPoint(t.pub)?this._pub=t.pub:this._pubBytes=s(t.pub)}a.fromPublic=function(e,t){return t instanceof a?t:new a(e,{pub:t})},a.fromSecret=function(e,t){return t instanceof a?t:new a(e,{secret:t})},a.prototype.secret=function(){return this._secret},i(a,"pubBytes",function(){return this.eddsa.encodePoint(this.pub())}),i(a,"pub",function(){return this._pubBytes?this.eddsa.decodePoint(this._pubBytes):this.eddsa.g.mul(this.priv())}),i(a,"privBytes",function(){var e=this.eddsa,t=this.hash(),r=e.encodingLength-1,n=t.slice(0,e.encodingLength);return n[0]&=248,n[r]&=127,n[r]|=64,n}),i(a,"priv",function(){return this.eddsa.decodeInt(this.privBytes())}),i(a,"hash",function(){return this.eddsa.hash().update(this.secret()).digest()}),i(a,"messagePrefix",function(){return this.hash().slice(this.eddsa.encodingLength)}),a.prototype.sign=function(e){return o(this._secret,"KeyPair can only verify"),this.eddsa.sign(e,this)},a.prototype.verify=function(e,t){return this.eddsa.verify(e,t,this)},a.prototype.getSecret=function(e){return o(this._secret,"KeyPair is public only"),n.encode(this.secret(),e)},a.prototype.getPublic=function(e){return n.encode(this.pubBytes(),e)},t.exports=a},{"../../elliptic":"/Users/jnordberg/Development/dsteem/node_modules/elliptic/lib/elliptic.js"}],"/Users/jnordberg/Development/dsteem/node_modules/elliptic/lib/elliptic/eddsa/signature.js":[function(e,t,r){"use strict";var n=e("bn.js"),o=e("../../elliptic").utils,s=o.assert,i=o.cachedProperty,a=o.parseBytes;function u(e,t){this.eddsa=e,"object"!=typeof t&&(t=a(t)),Array.isArray(t)&&(t={R:t.slice(0,e.encodingLength),S:t.slice(e.encodingLength)}),s(t.R&&t.S,"Signature without R or S"),e.isPoint(t.R)&&(this._R=t.R),t.S instanceof n&&(this._S=t.S),this._Rencoded=Array.isArray(t.R)?t.R:t.Rencoded,this._Sencoded=Array.isArray(t.S)?t.S:t.Sencoded}i(u,"S",function(){return this.eddsa.decodeInt(this.Sencoded())}),i(u,"R",function(){return this.eddsa.decodePoint(this.Rencoded())}),i(u,"Rencoded",function(){return this.eddsa.encodePoint(this.R())}),i(u,"Sencoded",function(){return this.eddsa.encodeInt(this.S())}),u.prototype.toBytes=function(){return this.Rencoded().concat(this.Sencoded())},u.prototype.toHex=function(){return o.encode(this.toBytes(),"hex").toUpperCase()},t.exports=u},{"../../elliptic":"/Users/jnordberg/Development/dsteem/node_modules/elliptic/lib/elliptic.js","bn.js":"/Users/jnordberg/Development/dsteem/node_modules/bn.js/lib/bn.js"}],"/Users/jnordberg/Development/dsteem/node_modules/elliptic/lib/elliptic/precomputed/secp256k1.js":[function(e,t,r){t.exports={doubles:{step:4,points:[["e60fce93b59e9ec53011aabc21c23e97b2a31369b87a5ae9c44ee89e2a6dec0a","f7e3507399e595929db99f34f57937101296891e44d23f0be1f32cce69616821"],["8282263212c609d9ea2a6e3e172de238d8c39cabd5ac1ca10646e23fd5f51508","11f8a8098557dfe45e8256e830b60ace62d613ac2f7b17bed31b6eaff6e26caf"],["175e159f728b865a72f99cc6c6fc846de0b93833fd2222ed73fce5b551e5b739","d3506e0d9e3c79eba4ef97a51ff71f5eacb5955add24345c6efa6ffee9fed695"],["363d90d447b00c9c99ceac05b6262ee053441c7e55552ffe526bad8f83ff4640","4e273adfc732221953b445397f3363145b9a89008199ecb62003c7f3bee9de9"],["8b4b5f165df3c2be8c6244b5b745638843e4a781a15bcd1b69f79a55dffdf80c","4aad0a6f68d308b4b3fbd7813ab0da04f9e336546162ee56b3eff0c65fd4fd36"],["723cbaa6e5db996d6bf771c00bd548c7b700dbffa6c0e77bcb6115925232fcda","96e867b5595cc498a921137488824d6e2660a0653779494801dc069d9eb39f5f"],["eebfa4d493bebf98ba5feec812c2d3b50947961237a919839a533eca0e7dd7fa","5d9a8ca3970ef0f269ee7edaf178089d9ae4cdc3a711f712ddfd4fdae1de8999"],["100f44da696e71672791d0a09b7bde459f1215a29b3c03bfefd7835b39a48db0","cdd9e13192a00b772ec8f3300c090666b7ff4a18ff5195ac0fbd5cd62bc65a09"],["e1031be262c7ed1b1dc9227a4a04c017a77f8d4464f3b3852c8acde6e534fd2d","9d7061928940405e6bb6a4176597535af292dd419e1ced79a44f18f29456a00d"],["feea6cae46d55b530ac2839f143bd7ec5cf8b266a41d6af52d5e688d9094696d","e57c6b6c97dce1bab06e4e12bf3ecd5c981c8957cc41442d3155debf18090088"],["da67a91d91049cdcb367be4be6ffca3cfeed657d808583de33fa978bc1ec6cb1","9bacaa35481642bc41f463f7ec9780e5dec7adc508f740a17e9ea8e27a68be1d"],["53904faa0b334cdda6e000935ef22151ec08d0f7bb11069f57545ccc1a37b7c0","5bc087d0bc80106d88c9eccac20d3c1c13999981e14434699dcb096b022771c8"],["8e7bcd0bd35983a7719cca7764ca906779b53a043a9b8bcaeff959f43ad86047","10b7770b2a3da4b3940310420ca9514579e88e2e47fd68b3ea10047e8460372a"],["385eed34c1cdff21e6d0818689b81bde71a7f4f18397e6690a841e1599c43862","283bebc3e8ea23f56701de19e9ebf4576b304eec2086dc8cc0458fe5542e5453"],["6f9d9b803ecf191637c73a4413dfa180fddf84a5947fbc9c606ed86c3fac3a7","7c80c68e603059ba69b8e2a30e45c4d47ea4dd2f5c281002d86890603a842160"],["3322d401243c4e2582a2147c104d6ecbf774d163db0f5e5313b7e0e742d0e6bd","56e70797e9664ef5bfb019bc4ddaf9b72805f63ea2873af624f3a2e96c28b2a0"],["85672c7d2de0b7da2bd1770d89665868741b3f9af7643397721d74d28134ab83","7c481b9b5b43b2eb6374049bfa62c2e5e77f17fcc5298f44c8e3094f790313a6"],["948bf809b1988a46b06c9f1919413b10f9226c60f668832ffd959af60c82a0a","53a562856dcb6646dc6b74c5d1c3418c6d4dff08c97cd2bed4cb7f88d8c8e589"],["6260ce7f461801c34f067ce0f02873a8f1b0e44dfc69752accecd819f38fd8e8","bc2da82b6fa5b571a7f09049776a1ef7ecd292238051c198c1a84e95b2b4ae17"],["e5037de0afc1d8d43d8348414bbf4103043ec8f575bfdc432953cc8d2037fa2d","4571534baa94d3b5f9f98d09fb990bddbd5f5b03ec481f10e0e5dc841d755bda"],["e06372b0f4a207adf5ea905e8f1771b4e7e8dbd1c6a6c5b725866a0ae4fce725","7a908974bce18cfe12a27bb2ad5a488cd7484a7787104870b27034f94eee31dd"],["213c7a715cd5d45358d0bbf9dc0ce02204b10bdde2a3f58540ad6908d0559754","4b6dad0b5ae462507013ad06245ba190bb4850f5f36a7eeddff2c27534b458f2"],["4e7c272a7af4b34e8dbb9352a5419a87e2838c70adc62cddf0cc3a3b08fbd53c","17749c766c9d0b18e16fd09f6def681b530b9614bff7dd33e0b3941817dcaae6"],["fea74e3dbe778b1b10f238ad61686aa5c76e3db2be43057632427e2840fb27b6","6e0568db9b0b13297cf674deccb6af93126b596b973f7b77701d3db7f23cb96f"],["76e64113f677cf0e10a2570d599968d31544e179b760432952c02a4417bdde39","c90ddf8dee4e95cf577066d70681f0d35e2a33d2b56d2032b4b1752d1901ac01"],["c738c56b03b2abe1e8281baa743f8f9a8f7cc643df26cbee3ab150242bcbb891","893fb578951ad2537f718f2eacbfbbbb82314eef7880cfe917e735d9699a84c3"],["d895626548b65b81e264c7637c972877d1d72e5f3a925014372e9f6588f6c14b","febfaa38f2bc7eae728ec60818c340eb03428d632bb067e179363ed75d7d991f"],["b8da94032a957518eb0f6433571e8761ceffc73693e84edd49150a564f676e03","2804dfa44805a1e4d7c99cc9762808b092cc584d95ff3b511488e4e74efdf6e7"],["e80fea14441fb33a7d8adab9475d7fab2019effb5156a792f1a11778e3c0df5d","eed1de7f638e00771e89768ca3ca94472d155e80af322ea9fcb4291b6ac9ec78"],["a301697bdfcd704313ba48e51d567543f2a182031efd6915ddc07bbcc4e16070","7370f91cfb67e4f5081809fa25d40f9b1735dbf7c0a11a130c0d1a041e177ea1"],["90ad85b389d6b936463f9d0512678de208cc330b11307fffab7ac63e3fb04ed4","e507a3620a38261affdcbd9427222b839aefabe1582894d991d4d48cb6ef150"],["8f68b9d2f63b5f339239c1ad981f162ee88c5678723ea3351b7b444c9ec4c0da","662a9f2dba063986de1d90c2b6be215dbbea2cfe95510bfdf23cbf79501fff82"],["e4f3fb0176af85d65ff99ff9198c36091f48e86503681e3e6686fd5053231e11","1e63633ad0ef4f1c1661a6d0ea02b7286cc7e74ec951d1c9822c38576feb73bc"],["8c00fa9b18ebf331eb961537a45a4266c7034f2f0d4e1d0716fb6eae20eae29e","efa47267fea521a1a9dc343a3736c974c2fadafa81e36c54e7d2a4c66702414b"],["e7a26ce69dd4829f3e10cec0a9e98ed3143d084f308b92c0997fddfc60cb3e41","2a758e300fa7984b471b006a1aafbb18d0a6b2c0420e83e20e8a9421cf2cfd51"],["b6459e0ee3662ec8d23540c223bcbdc571cbcb967d79424f3cf29eb3de6b80ef","67c876d06f3e06de1dadf16e5661db3c4b3ae6d48e35b2ff30bf0b61a71ba45"],["d68a80c8280bb840793234aa118f06231d6f1fc67e73c5a5deda0f5b496943e8","db8ba9fff4b586d00c4b1f9177b0e28b5b0e7b8f7845295a294c84266b133120"],["324aed7df65c804252dc0270907a30b09612aeb973449cea4095980fc28d3d5d","648a365774b61f2ff130c0c35aec1f4f19213b0c7e332843967224af96ab7c84"],["4df9c14919cde61f6d51dfdbe5fee5dceec4143ba8d1ca888e8bd373fd054c96","35ec51092d8728050974c23a1d85d4b5d506cdc288490192ebac06cad10d5d"],["9c3919a84a474870faed8a9c1cc66021523489054d7f0308cbfc99c8ac1f98cd","ddb84f0f4a4ddd57584f044bf260e641905326f76c64c8e6be7e5e03d4fc599d"],["6057170b1dd12fdf8de05f281d8e06bb91e1493a8b91d4cc5a21382120a959e5","9a1af0b26a6a4807add9a2daf71df262465152bc3ee24c65e899be932385a2a8"],["a576df8e23a08411421439a4518da31880cef0fba7d4df12b1a6973eecb94266","40a6bf20e76640b2c92b97afe58cd82c432e10a7f514d9f3ee8be11ae1b28ec8"],["7778a78c28dec3e30a05fe9629de8c38bb30d1f5cf9a3a208f763889be58ad71","34626d9ab5a5b22ff7098e12f2ff580087b38411ff24ac563b513fc1fd9f43ac"],["928955ee637a84463729fd30e7afd2ed5f96274e5ad7e5cb09eda9c06d903ac","c25621003d3f42a827b78a13093a95eeac3d26efa8a8d83fc5180e935bcd091f"],["85d0fef3ec6db109399064f3a0e3b2855645b4a907ad354527aae75163d82751","1f03648413a38c0be29d496e582cf5663e8751e96877331582c237a24eb1f962"],["ff2b0dce97eece97c1c9b6041798b85dfdfb6d8882da20308f5404824526087e","493d13fef524ba188af4c4dc54d07936c7b7ed6fb90e2ceb2c951e01f0c29907"],["827fbbe4b1e880ea9ed2b2e6301b212b57f1ee148cd6dd28780e5e2cf856e241","c60f9c923c727b0b71bef2c67d1d12687ff7a63186903166d605b68baec293ec"],["eaa649f21f51bdbae7be4ae34ce6e5217a58fdce7f47f9aa7f3b58fa2120e2b3","be3279ed5bbbb03ac69a80f89879aa5a01a6b965f13f7e59d47a5305ba5ad93d"],["e4a42d43c5cf169d9391df6decf42ee541b6d8f0c9a137401e23632dda34d24f","4d9f92e716d1c73526fc99ccfb8ad34ce886eedfa8d8e4f13a7f7131deba9414"],["1ec80fef360cbdd954160fadab352b6b92b53576a88fea4947173b9d4300bf19","aeefe93756b5340d2f3a4958a7abbf5e0146e77f6295a07b671cdc1cc107cefd"],["146a778c04670c2f91b00af4680dfa8bce3490717d58ba889ddb5928366642be","b318e0ec3354028add669827f9d4b2870aaa971d2f7e5ed1d0b297483d83efd0"],["fa50c0f61d22e5f07e3acebb1aa07b128d0012209a28b9776d76a8793180eef9","6b84c6922397eba9b72cd2872281a68a5e683293a57a213b38cd8d7d3f4f2811"],["da1d61d0ca721a11b1a5bf6b7d88e8421a288ab5d5bba5220e53d32b5f067ec2","8157f55a7c99306c79c0766161c91e2966a73899d279b48a655fba0f1ad836f1"],["a8e282ff0c9706907215ff98e8fd416615311de0446f1e062a73b0610d064e13","7f97355b8db81c09abfb7f3c5b2515888b679a3e50dd6bd6cef7c73111f4cc0c"],["174a53b9c9a285872d39e56e6913cab15d59b1fa512508c022f382de8319497c","ccc9dc37abfc9c1657b4155f2c47f9e6646b3a1d8cb9854383da13ac079afa73"],["959396981943785c3d3e57edf5018cdbe039e730e4918b3d884fdff09475b7ba","2e7e552888c331dd8ba0386a4b9cd6849c653f64c8709385e9b8abf87524f2fd"],["d2a63a50ae401e56d645a1153b109a8fcca0a43d561fba2dbb51340c9d82b151","e82d86fb6443fcb7565aee58b2948220a70f750af484ca52d4142174dcf89405"],["64587e2335471eb890ee7896d7cfdc866bacbdbd3839317b3436f9b45617e073","d99fcdd5bf6902e2ae96dd6447c299a185b90a39133aeab358299e5e9faf6589"],["8481bde0e4e4d885b3a546d3e549de042f0aa6cea250e7fd358d6c86dd45e458","38ee7b8cba5404dd84a25bf39cecb2ca900a79c42b262e556d64b1b59779057e"],["13464a57a78102aa62b6979ae817f4637ffcfed3c4b1ce30bcd6303f6caf666b","69be159004614580ef7e433453ccb0ca48f300a81d0942e13f495a907f6ecc27"],["bc4a9df5b713fe2e9aef430bcc1dc97a0cd9ccede2f28588cada3a0d2d83f366","d3a81ca6e785c06383937adf4b798caa6e8a9fbfa547b16d758d666581f33c1"],["8c28a97bf8298bc0d23d8c749452a32e694b65e30a9472a3954ab30fe5324caa","40a30463a3305193378fedf31f7cc0eb7ae784f0451cb9459e71dc73cbef9482"],["8ea9666139527a8c1dd94ce4f071fd23c8b350c5a4bb33748c4ba111faccae0","620efabbc8ee2782e24e7c0cfb95c5d735b783be9cf0f8e955af34a30e62b945"],["dd3625faef5ba06074669716bbd3788d89bdde815959968092f76cc4eb9a9787","7a188fa3520e30d461da2501045731ca941461982883395937f68d00c644a573"],["f710d79d9eb962297e4f6232b40e8f7feb2bc63814614d692c12de752408221e","ea98e67232d3b3295d3b535532115ccac8612c721851617526ae47a9c77bfc82"]]},naf:{wnd:7,points:[["f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9","388f7b0f632de8140fe337e62a37f3566500a99934c2231b6cb9fd7584b8e672"],["2f8bde4d1a07209355b4a7250a5c5128e88b84bddc619ab7cba8d569b240efe4","d8ac222636e5e3d6d4dba9dda6c9c426f788271bab0d6840dca87d3aa6ac62d6"],["5cbdf0646e5db4eaa398f365f2ea7a0e3d419b7e0330e39ce92bddedcac4f9bc","6aebca40ba255960a3178d6d861a54dba813d0b813fde7b5a5082628087264da"],["acd484e2f0c7f65309ad178a9f559abde09796974c57e714c35f110dfc27ccbe","cc338921b0a7d9fd64380971763b61e9add888a4375f8e0f05cc262ac64f9c37"],["774ae7f858a9411e5ef4246b70c65aac5649980be5c17891bbec17895da008cb","d984a032eb6b5e190243dd56d7b7b365372db1e2dff9d6a8301d74c9c953c61b"],["f28773c2d975288bc7d1d205c3748651b075fbc6610e58cddeeddf8f19405aa8","ab0902e8d880a89758212eb65cdaf473a1a06da521fa91f29b5cb52db03ed81"],["d7924d4f7d43ea965a465ae3095ff41131e5946f3c85f79e44adbcf8e27e080e","581e2872a86c72a683842ec228cc6defea40af2bd896d3a5c504dc9ff6a26b58"],["defdea4cdb677750a420fee807eacf21eb9898ae79b9768766e4faa04a2d4a34","4211ab0694635168e997b0ead2a93daeced1f4a04a95c0f6cfb199f69e56eb77"],["2b4ea0a797a443d293ef5cff444f4979f06acfebd7e86d277475656138385b6c","85e89bc037945d93b343083b5a1c86131a01f60c50269763b570c854e5c09b7a"],["352bbf4a4cdd12564f93fa332ce333301d9ad40271f8107181340aef25be59d5","321eb4075348f534d59c18259dda3e1f4a1b3b2e71b1039c67bd3d8bcf81998c"],["2fa2104d6b38d11b0230010559879124e42ab8dfeff5ff29dc9cdadd4ecacc3f","2de1068295dd865b64569335bd5dd80181d70ecfc882648423ba76b532b7d67"],["9248279b09b4d68dab21a9b066edda83263c3d84e09572e269ca0cd7f5453714","73016f7bf234aade5d1aa71bdea2b1ff3fc0de2a887912ffe54a32ce97cb3402"],["daed4f2be3a8bf278e70132fb0beb7522f570e144bf615c07e996d443dee8729","a69dce4a7d6c98e8d4a1aca87ef8d7003f83c230f3afa726ab40e52290be1c55"],["c44d12c7065d812e8acf28d7cbb19f9011ecd9e9fdf281b0e6a3b5e87d22e7db","2119a460ce326cdc76c45926c982fdac0e106e861edf61c5a039063f0e0e6482"],["6a245bf6dc698504c89a20cfded60853152b695336c28063b61c65cbd269e6b4","e022cf42c2bd4a708b3f5126f16a24ad8b33ba48d0423b6efd5e6348100d8a82"],["1697ffa6fd9de627c077e3d2fe541084ce13300b0bec1146f95ae57f0d0bd6a5","b9c398f186806f5d27561506e4557433a2cf15009e498ae7adee9d63d01b2396"],["605bdb019981718b986d0f07e834cb0d9deb8360ffb7f61df982345ef27a7479","2972d2de4f8d20681a78d93ec96fe23c26bfae84fb14db43b01e1e9056b8c49"],["62d14dab4150bf497402fdc45a215e10dcb01c354959b10cfe31c7e9d87ff33d","80fc06bd8cc5b01098088a1950eed0db01aa132967ab472235f5642483b25eaf"],["80c60ad0040f27dade5b4b06c408e56b2c50e9f56b9b8b425e555c2f86308b6f","1c38303f1cc5c30f26e66bad7fe72f70a65eed4cbe7024eb1aa01f56430bd57a"],["7a9375ad6167ad54aa74c6348cc54d344cc5dc9487d847049d5eabb0fa03c8fb","d0e3fa9eca8726909559e0d79269046bdc59ea10c70ce2b02d499ec224dc7f7"],["d528ecd9b696b54c907a9ed045447a79bb408ec39b68df504bb51f459bc3ffc9","eecf41253136e5f99966f21881fd656ebc4345405c520dbc063465b521409933"],["49370a4b5f43412ea25f514e8ecdad05266115e4a7ecb1387231808f8b45963","758f3f41afd6ed428b3081b0512fd62a54c3f3afbb5b6764b653052a12949c9a"],["77f230936ee88cbbd73df930d64702ef881d811e0e1498e2f1c13eb1fc345d74","958ef42a7886b6400a08266e9ba1b37896c95330d97077cbbe8eb3c7671c60d6"],["f2dac991cc4ce4b9ea44887e5c7c0bce58c80074ab9d4dbaeb28531b7739f530","e0dedc9b3b2f8dad4da1f32dec2531df9eb5fbeb0598e4fd1a117dba703a3c37"],["463b3d9f662621fb1b4be8fbbe2520125a216cdfc9dae3debcba4850c690d45b","5ed430d78c296c3543114306dd8622d7c622e27c970a1de31cb377b01af7307e"],["f16f804244e46e2a09232d4aff3b59976b98fac14328a2d1a32496b49998f247","cedabd9b82203f7e13d206fcdf4e33d92a6c53c26e5cce26d6579962c4e31df6"],["caf754272dc84563b0352b7a14311af55d245315ace27c65369e15f7151d41d1","cb474660ef35f5f2a41b643fa5e460575f4fa9b7962232a5c32f908318a04476"],["2600ca4b282cb986f85d0f1709979d8b44a09c07cb86d7c124497bc86f082120","4119b88753c15bd6a693b03fcddbb45d5ac6be74ab5f0ef44b0be9475a7e4b40"],["7635ca72d7e8432c338ec53cd12220bc01c48685e24f7dc8c602a7746998e435","91b649609489d613d1d5e590f78e6d74ecfc061d57048bad9e76f302c5b9c61"],["754e3239f325570cdbbf4a87deee8a66b7f2b33479d468fbc1a50743bf56cc18","673fb86e5bda30fb3cd0ed304ea49a023ee33d0197a695d0c5d98093c536683"],["e3e6bd1071a1e96aff57859c82d570f0330800661d1c952f9fe2694691d9b9e8","59c9e0bba394e76f40c0aa58379a3cb6a5a2283993e90c4167002af4920e37f5"],["186b483d056a033826ae73d88f732985c4ccb1f32ba35f4b4cc47fdcf04aa6eb","3b952d32c67cf77e2e17446e204180ab21fb8090895138b4a4a797f86e80888b"],["df9d70a6b9876ce544c98561f4be4f725442e6d2b737d9c91a8321724ce0963f","55eb2dafd84d6ccd5f862b785dc39d4ab157222720ef9da217b8c45cf2ba2417"],["5edd5cc23c51e87a497ca815d5dce0f8ab52554f849ed8995de64c5f34ce7143","efae9c8dbc14130661e8cec030c89ad0c13c66c0d17a2905cdc706ab7399a868"],["290798c2b6476830da12fe02287e9e777aa3fba1c355b17a722d362f84614fba","e38da76dcd440621988d00bcf79af25d5b29c094db2a23146d003afd41943e7a"],["af3c423a95d9f5b3054754efa150ac39cd29552fe360257362dfdecef4053b45","f98a3fd831eb2b749a93b0e6f35cfb40c8cd5aa667a15581bc2feded498fd9c6"],["766dbb24d134e745cccaa28c99bf274906bb66b26dcf98df8d2fed50d884249a","744b1152eacbe5e38dcc887980da38b897584a65fa06cedd2c924f97cbac5996"],["59dbf46f8c94759ba21277c33784f41645f7b44f6c596a58ce92e666191abe3e","c534ad44175fbc300f4ea6ce648309a042ce739a7919798cd85e216c4a307f6e"],["f13ada95103c4537305e691e74e9a4a8dd647e711a95e73cb62dc6018cfd87b8","e13817b44ee14de663bf4bc808341f326949e21a6a75c2570778419bdaf5733d"],["7754b4fa0e8aced06d4167a2c59cca4cda1869c06ebadfb6488550015a88522c","30e93e864e669d82224b967c3020b8fa8d1e4e350b6cbcc537a48b57841163a2"],["948dcadf5990e048aa3874d46abef9d701858f95de8041d2a6828c99e2262519","e491a42537f6e597d5d28a3224b1bc25df9154efbd2ef1d2cbba2cae5347d57e"],["7962414450c76c1689c7b48f8202ec37fb224cf5ac0bfa1570328a8a3d7c77ab","100b610ec4ffb4760d5c1fc133ef6f6b12507a051f04ac5760afa5b29db83437"],["3514087834964b54b15b160644d915485a16977225b8847bb0dd085137ec47ca","ef0afbb2056205448e1652c48e8127fc6039e77c15c2378b7e7d15a0de293311"],["d3cc30ad6b483e4bc79ce2c9dd8bc54993e947eb8df787b442943d3f7b527eaf","8b378a22d827278d89c5e9be8f9508ae3c2ad46290358630afb34db04eede0a4"],["1624d84780732860ce1c78fcbfefe08b2b29823db913f6493975ba0ff4847610","68651cf9b6da903e0914448c6cd9d4ca896878f5282be4c8cc06e2a404078575"],["733ce80da955a8a26902c95633e62a985192474b5af207da6df7b4fd5fc61cd4","f5435a2bd2badf7d485a4d8b8db9fcce3e1ef8e0201e4578c54673bc1dc5ea1d"],["15d9441254945064cf1a1c33bbd3b49f8966c5092171e699ef258dfab81c045c","d56eb30b69463e7234f5137b73b84177434800bacebfc685fc37bbe9efe4070d"],["a1d0fcf2ec9de675b612136e5ce70d271c21417c9d2b8aaaac138599d0717940","edd77f50bcb5a3cab2e90737309667f2641462a54070f3d519212d39c197a629"],["e22fbe15c0af8ccc5780c0735f84dbe9a790badee8245c06c7ca37331cb36980","a855babad5cd60c88b430a69f53a1a7a38289154964799be43d06d77d31da06"],["311091dd9860e8e20ee13473c1155f5f69635e394704eaa74009452246cfa9b3","66db656f87d1f04fffd1f04788c06830871ec5a64feee685bd80f0b1286d8374"],["34c1fd04d301be89b31c0442d3e6ac24883928b45a9340781867d4232ec2dbdf","9414685e97b1b5954bd46f730174136d57f1ceeb487443dc5321857ba73abee"],["f219ea5d6b54701c1c14de5b557eb42a8d13f3abbcd08affcc2a5e6b049b8d63","4cb95957e83d40b0f73af4544cccf6b1f4b08d3c07b27fb8d8c2962a400766d1"],["d7b8740f74a8fbaab1f683db8f45de26543a5490bca627087236912469a0b448","fa77968128d9c92ee1010f337ad4717eff15db5ed3c049b3411e0315eaa4593b"],["32d31c222f8f6f0ef86f7c98d3a3335ead5bcd32abdd94289fe4d3091aa824bf","5f3032f5892156e39ccd3d7915b9e1da2e6dac9e6f26e961118d14b8462e1661"],["7461f371914ab32671045a155d9831ea8793d77cd59592c4340f86cbc18347b5","8ec0ba238b96bec0cbdddcae0aa442542eee1ff50c986ea6b39847b3cc092ff6"],["ee079adb1df1860074356a25aa38206a6d716b2c3e67453d287698bad7b2b2d6","8dc2412aafe3be5c4c5f37e0ecc5f9f6a446989af04c4e25ebaac479ec1c8c1e"],["16ec93e447ec83f0467b18302ee620f7e65de331874c9dc72bfd8616ba9da6b5","5e4631150e62fb40d0e8c2a7ca5804a39d58186a50e497139626778e25b0674d"],["eaa5f980c245f6f038978290afa70b6bd8855897f98b6aa485b96065d537bd99","f65f5d3e292c2e0819a528391c994624d784869d7e6ea67fb18041024edc07dc"],["78c9407544ac132692ee1910a02439958ae04877151342ea96c4b6b35a49f51","f3e0319169eb9b85d5404795539a5e68fa1fbd583c064d2462b675f194a3ddb4"],["494f4be219a1a77016dcd838431aea0001cdc8ae7a6fc688726578d9702857a5","42242a969283a5f339ba7f075e36ba2af925ce30d767ed6e55f4b031880d562c"],["a598a8030da6d86c6bc7f2f5144ea549d28211ea58faa70ebf4c1e665c1fe9b5","204b5d6f84822c307e4b4a7140737aec23fc63b65b35f86a10026dbd2d864e6b"],["c41916365abb2b5d09192f5f2dbeafec208f020f12570a184dbadc3e58595997","4f14351d0087efa49d245b328984989d5caf9450f34bfc0ed16e96b58fa9913"],["841d6063a586fa475a724604da03bc5b92a2e0d2e0a36acfe4c73a5514742881","73867f59c0659e81904f9a1c7543698e62562d6744c169ce7a36de01a8d6154"],["5e95bb399a6971d376026947f89bde2f282b33810928be4ded112ac4d70e20d5","39f23f366809085beebfc71181313775a99c9aed7d8ba38b161384c746012865"],["36e4641a53948fd476c39f8a99fd974e5ec07564b5315d8bf99471bca0ef2f66","d2424b1b1abe4eb8164227b085c9aa9456ea13493fd563e06fd51cf5694c78fc"],["336581ea7bfbbb290c191a2f507a41cf5643842170e914faeab27c2c579f726","ead12168595fe1be99252129b6e56b3391f7ab1410cd1e0ef3dcdcabd2fda224"],["8ab89816dadfd6b6a1f2634fcf00ec8403781025ed6890c4849742706bd43ede","6fdcef09f2f6d0a044e654aef624136f503d459c3e89845858a47a9129cdd24e"],["1e33f1a746c9c5778133344d9299fcaa20b0938e8acff2544bb40284b8c5fb94","60660257dd11b3aa9c8ed618d24edff2306d320f1d03010e33a7d2057f3b3b6"],["85b7c1dcb3cec1b7ee7f30ded79dd20a0ed1f4cc18cbcfcfa410361fd8f08f31","3d98a9cdd026dd43f39048f25a8847f4fcafad1895d7a633c6fed3c35e999511"],["29df9fbd8d9e46509275f4b125d6d45d7fbe9a3b878a7af872a2800661ac5f51","b4c4fe99c775a606e2d8862179139ffda61dc861c019e55cd2876eb2a27d84b"],["a0b1cae06b0a847a3fea6e671aaf8adfdfe58ca2f768105c8082b2e449fce252","ae434102edde0958ec4b19d917a6a28e6b72da1834aff0e650f049503a296cf2"],["4e8ceafb9b3e9a136dc7ff67e840295b499dfb3b2133e4ba113f2e4c0e121e5","cf2174118c8b6d7a4b48f6d534ce5c79422c086a63460502b827ce62a326683c"],["d24a44e047e19b6f5afb81c7ca2f69080a5076689a010919f42725c2b789a33b","6fb8d5591b466f8fc63db50f1c0f1c69013f996887b8244d2cdec417afea8fa3"],["ea01606a7a6c9cdd249fdfcfacb99584001edd28abbab77b5104e98e8e3b35d4","322af4908c7312b0cfbfe369f7a7b3cdb7d4494bc2823700cfd652188a3ea98d"],["af8addbf2b661c8a6c6328655eb96651252007d8c5ea31be4ad196de8ce2131f","6749e67c029b85f52a034eafd096836b2520818680e26ac8f3dfbcdb71749700"],["e3ae1974566ca06cc516d47e0fb165a674a3dabcfca15e722f0e3450f45889","2aeabe7e4531510116217f07bf4d07300de97e4874f81f533420a72eeb0bd6a4"],["591ee355313d99721cf6993ffed1e3e301993ff3ed258802075ea8ced397e246","b0ea558a113c30bea60fc4775460c7901ff0b053d25ca2bdeee98f1a4be5d196"],["11396d55fda54c49f19aa97318d8da61fa8584e47b084945077cf03255b52984","998c74a8cd45ac01289d5833a7beb4744ff536b01b257be4c5767bea93ea57a4"],["3c5d2a1ba39c5a1790000738c9e0c40b8dcdfd5468754b6405540157e017aa7a","b2284279995a34e2f9d4de7396fc18b80f9b8b9fdd270f6661f79ca4c81bd257"],["cc8704b8a60a0defa3a99a7299f2e9c3fbc395afb04ac078425ef8a1793cc030","bdd46039feed17881d1e0862db347f8cf395b74fc4bcdc4e940b74e3ac1f1b13"],["c533e4f7ea8555aacd9777ac5cad29b97dd4defccc53ee7ea204119b2889b197","6f0a256bc5efdf429a2fb6242f1a43a2d9b925bb4a4b3a26bb8e0f45eb596096"],["c14f8f2ccb27d6f109f6d08d03cc96a69ba8c34eec07bbcf566d48e33da6593","c359d6923bb398f7fd4473e16fe1c28475b740dd098075e6c0e8649113dc3a38"],["a6cbc3046bc6a450bac24789fa17115a4c9739ed75f8f21ce441f72e0b90e6ef","21ae7f4680e889bb130619e2c0f95a360ceb573c70603139862afd617fa9b9f"],["347d6d9a02c48927ebfb86c1359b1caf130a3c0267d11ce6344b39f99d43cc38","60ea7f61a353524d1c987f6ecec92f086d565ab687870cb12689ff1e31c74448"],["da6545d2181db8d983f7dcb375ef5866d47c67b1bf31c8cf855ef7437b72656a","49b96715ab6878a79e78f07ce5680c5d6673051b4935bd897fea824b77dc208a"],["c40747cc9d012cb1a13b8148309c6de7ec25d6945d657146b9d5994b8feb1111","5ca560753be2a12fc6de6caf2cb489565db936156b9514e1bb5e83037e0fa2d4"],["4e42c8ec82c99798ccf3a610be870e78338c7f713348bd34c8203ef4037f3502","7571d74ee5e0fb92a7a8b33a07783341a5492144cc54bcc40a94473693606437"],["3775ab7089bc6af823aba2e1af70b236d251cadb0c86743287522a1b3b0dedea","be52d107bcfa09d8bcb9736a828cfa7fac8db17bf7a76a2c42ad961409018cf7"],["cee31cbf7e34ec379d94fb814d3d775ad954595d1314ba8846959e3e82f74e26","8fd64a14c06b589c26b947ae2bcf6bfa0149ef0be14ed4d80f448a01c43b1c6d"],["b4f9eaea09b6917619f6ea6a4eb5464efddb58fd45b1ebefcdc1a01d08b47986","39e5c9925b5a54b07433a4f18c61726f8bb131c012ca542eb24a8ac07200682a"],["d4263dfc3d2df923a0179a48966d30ce84e2515afc3dccc1b77907792ebcc60e","62dfaf07a0f78feb30e30d6295853ce189e127760ad6cf7fae164e122a208d54"],["48457524820fa65a4f8d35eb6930857c0032acc0a4a2de422233eeda897612c4","25a748ab367979d98733c38a1fa1c2e7dc6cc07db2d60a9ae7a76aaa49bd0f77"],["dfeeef1881101f2cb11644f3a2afdfc2045e19919152923f367a1767c11cceda","ecfb7056cf1de042f9420bab396793c0c390bde74b4bbdff16a83ae09a9a7517"],["6d7ef6b17543f8373c573f44e1f389835d89bcbc6062ced36c82df83b8fae859","cd450ec335438986dfefa10c57fea9bcc521a0959b2d80bbf74b190dca712d10"],["e75605d59102a5a2684500d3b991f2e3f3c88b93225547035af25af66e04541f","f5c54754a8f71ee540b9b48728473e314f729ac5308b06938360990e2bfad125"],["eb98660f4c4dfaa06a2be453d5020bc99a0c2e60abe388457dd43fefb1ed620c","6cb9a8876d9cb8520609af3add26cd20a0a7cd8a9411131ce85f44100099223e"],["13e87b027d8514d35939f2e6892b19922154596941888336dc3563e3b8dba942","fef5a3c68059a6dec5d624114bf1e91aac2b9da568d6abeb2570d55646b8adf1"],["ee163026e9fd6fe017c38f06a5be6fc125424b371ce2708e7bf4491691e5764a","1acb250f255dd61c43d94ccc670d0f58f49ae3fa15b96623e5430da0ad6c62b2"],["b268f5ef9ad51e4d78de3a750c2dc89b1e626d43505867999932e5db33af3d80","5f310d4b3c99b9ebb19f77d41c1dee018cf0d34fd4191614003e945a1216e423"],["ff07f3118a9df035e9fad85eb6c7bfe42b02f01ca99ceea3bf7ffdba93c4750d","438136d603e858a3a5c440c38eccbaddc1d2942114e2eddd4740d098ced1f0d8"],["8d8b9855c7c052a34146fd20ffb658bea4b9f69e0d825ebec16e8c3ce2b526a1","cdb559eedc2d79f926baf44fb84ea4d44bcf50fee51d7ceb30e2e7f463036758"],["52db0b5384dfbf05bfa9d472d7ae26dfe4b851ceca91b1eba54263180da32b63","c3b997d050ee5d423ebaf66a6db9f57b3180c902875679de924b69d84a7b375"],["e62f9490d3d51da6395efd24e80919cc7d0f29c3f3fa48c6fff543becbd43352","6d89ad7ba4876b0b22c2ca280c682862f342c8591f1daf5170e07bfd9ccafa7d"],["7f30ea2476b399b4957509c88f77d0191afa2ff5cb7b14fd6d8e7d65aaab1193","ca5ef7d4b231c94c3b15389a5f6311e9daff7bb67b103e9880ef4bff637acaec"],["5098ff1e1d9f14fb46a210fada6c903fef0fb7b4a1dd1d9ac60a0361800b7a00","9731141d81fc8f8084d37c6e7542006b3ee1b40d60dfe5362a5b132fd17ddc0"],["32b78c7de9ee512a72895be6b9cbefa6e2f3c4ccce445c96b9f2c81e2778ad58","ee1849f513df71e32efc3896ee28260c73bb80547ae2275ba497237794c8753c"],["e2cb74fddc8e9fbcd076eef2a7c72b0ce37d50f08269dfc074b581550547a4f7","d3aa2ed71c9dd2247a62df062736eb0baddea9e36122d2be8641abcb005cc4a4"],["8438447566d4d7bedadc299496ab357426009a35f235cb141be0d99cd10ae3a8","c4e1020916980a4da5d01ac5e6ad330734ef0d7906631c4f2390426b2edd791f"],["4162d488b89402039b584c6fc6c308870587d9c46f660b878ab65c82c711d67e","67163e903236289f776f22c25fb8a3afc1732f2b84b4e95dbda47ae5a0852649"],["3fad3fa84caf0f34f0f89bfd2dcf54fc175d767aec3e50684f3ba4a4bf5f683d","cd1bc7cb6cc407bb2f0ca647c718a730cf71872e7d0d2a53fa20efcdfe61826"],["674f2600a3007a00568c1a7ce05d0816c1fb84bf1370798f1c69532faeb1a86b","299d21f9413f33b3edf43b257004580b70db57da0b182259e09eecc69e0d38a5"],["d32f4da54ade74abb81b815ad1fb3b263d82d6c692714bcff87d29bd5ee9f08f","f9429e738b8e53b968e99016c059707782e14f4535359d582fc416910b3eea87"],["30e4e670435385556e593657135845d36fbb6931f72b08cb1ed954f1e3ce3ff6","462f9bce619898638499350113bbc9b10a878d35da70740dc695a559eb88db7b"],["be2062003c51cc3004682904330e4dee7f3dcd10b01e580bf1971b04d4cad297","62188bc49d61e5428573d48a74e1c655b1c61090905682a0d5558ed72dccb9bc"],["93144423ace3451ed29e0fb9ac2af211cb6e84a601df5993c419859fff5df04a","7c10dfb164c3425f5c71a3f9d7992038f1065224f72bb9d1d902a6d13037b47c"],["b015f8044f5fcbdcf21ca26d6c34fb8197829205c7b7d2a7cb66418c157b112c","ab8c1e086d04e813744a655b2df8d5f83b3cdc6faa3088c1d3aea1454e3a1d5f"],["d5e9e1da649d97d89e4868117a465a3a4f8a18de57a140d36b3f2af341a21b52","4cb04437f391ed73111a13cc1d4dd0db1693465c2240480d8955e8592f27447a"],["d3ae41047dd7ca065dbf8ed77b992439983005cd72e16d6f996a5316d36966bb","bd1aeb21ad22ebb22a10f0303417c6d964f8cdd7df0aca614b10dc14d125ac46"],["463e2763d885f958fc66cdd22800f0a487197d0a82e377b49f80af87c897b065","bfefacdb0e5d0fd7df3a311a94de062b26b80c61fbc97508b79992671ef7ca7f"],["7985fdfd127c0567c6f53ec1bb63ec3158e597c40bfe747c83cddfc910641917","603c12daf3d9862ef2b25fe1de289aed24ed291e0ec6708703a5bd567f32ed03"],["74a1ad6b5f76e39db2dd249410eac7f99e74c59cb83d2d0ed5ff1543da7703e9","cc6157ef18c9c63cd6193d83631bbea0093e0968942e8c33d5737fd790e0db08"],["30682a50703375f602d416664ba19b7fc9bab42c72747463a71d0896b22f6da3","553e04f6b018b4fa6c8f39e7f311d3176290d0e0f19ca73f17714d9977a22ff8"],["9e2158f0d7c0d5f26c3791efefa79597654e7a2b2464f52b1ee6c1347769ef57","712fcdd1b9053f09003a3481fa7762e9ffd7c8ef35a38509e2fbf2629008373"],["176e26989a43c9cfeba4029c202538c28172e566e3c4fce7322857f3be327d66","ed8cc9d04b29eb877d270b4878dc43c19aefd31f4eee09ee7b47834c1fa4b1c3"],["75d46efea3771e6e68abb89a13ad747ecf1892393dfc4f1b7004788c50374da8","9852390a99507679fd0b86fd2b39a868d7efc22151346e1a3ca4726586a6bed8"],["809a20c67d64900ffb698c4c825f6d5f2310fb0451c869345b7319f645605721","9e994980d9917e22b76b061927fa04143d096ccc54963e6a5ebfa5f3f8e286c1"],["1b38903a43f7f114ed4500b4eac7083fdefece1cf29c63528d563446f972c180","4036edc931a60ae889353f77fd53de4a2708b26b6f5da72ad3394119daf408f9"]]}}},{}],"/Users/jnordberg/Development/dsteem/node_modules/elliptic/lib/elliptic/utils.js":[function(e,t,r){"use strict";var n=r,o=e("bn.js"),s=e("minimalistic-assert"),i=e("minimalistic-crypto-utils");n.assert=s,n.toArray=i.toArray,n.zero2=i.zero2,n.toHex=i.toHex,n.encode=i.encode,n.getNAF=function(e,t){for(var r=[],n=1<<t+1,o=e.clone();o.cmpn(1)>=0;){var s;if(o.isOdd()){var i=o.andln(n-1);o.isubn(s=i>(n>>1)-1?(n>>1)-i:i)}else s=0;r.push(s);for(var a=0!==o.cmpn(0)&&0===o.andln(n-1)?t+1:1,u=1;u<a;u++)r.push(0);o.iushrn(a)}return r},n.getJSF=function(e,t){var r=[[],[]];e=e.clone(),t=t.clone();for(var n=0,o=0;e.cmpn(-n)>0||t.cmpn(-o)>0;){var s,i,a,u=e.andln(3)+n&3,d=t.andln(3)+o&3;3===u&&(u=-1),3===d&&(d=-1),s=0==(1&u)?0:3!=(a=e.andln(7)+n&7)&&5!==a||2!==d?u:-u,r[0].push(s),i=0==(1&d)?0:3!=(a=t.andln(7)+o&7)&&5!==a||2!==u?d:-d,r[1].push(i),2*n===s+1&&(n=1-n),2*o===i+1&&(o=1-o),e.iushrn(1),t.iushrn(1)}return r},n.cachedProperty=function(e,t,r){var n="_"+t;e.prototype[t]=function(){return void 0!==this[n]?this[n]:this[n]=r.call(this)}},n.parseBytes=function(e){return"string"==typeof e?n.toArray(e,"hex"):e},n.intFromLE=function(e){return new o(e,"hex","le")}},{"bn.js":"/Users/jnordberg/Development/dsteem/node_modules/bn.js/lib/bn.js","minimalistic-assert":"/Users/jnordberg/Development/dsteem/node_modules/minimalistic-assert/index.js","minimalistic-crypto-utils":"/Users/jnordberg/Development/dsteem/node_modules/minimalistic-crypto-utils/lib/utils.js"}],"/Users/jnordberg/Development/dsteem/node_modules/elliptic/package.json":[function(e,t,r){t.exports={name:"elliptic",version:"6.4.0",description:"EC cryptography",main:"lib/elliptic.js",files:["lib"],scripts:{jscs:"jscs benchmarks/*.js lib/*.js lib/**/*.js lib/**/**/*.js test/index.js",jshint:"jscs benchmarks/*.js lib/*.js lib/**/*.js lib/**/**/*.js test/index.js",lint:"npm run jscs && npm run jshint",unit:"istanbul test _mocha --reporter=spec test/index.js",test:"npm run lint && npm run unit",version:"grunt dist && git add dist/"},repository:{type:"git",url:"git@github.com:indutny/elliptic"},keywords:["EC","Elliptic","curve","Cryptography"],author:"Fedor Indutny <fedor@indutny.com>",license:"MIT",bugs:{url:"https://github.com/indutny/elliptic/issues"},homepage:"https://github.com/indutny/elliptic",devDependencies:{brfs:"^1.4.3",coveralls:"^2.11.3",grunt:"^0.4.5","grunt-browserify":"^5.0.0","grunt-cli":"^1.2.0","grunt-contrib-connect":"^1.0.0","grunt-contrib-copy":"^1.0.0","grunt-contrib-uglify":"^1.0.1","grunt-mocha-istanbul":"^3.0.1","grunt-saucelabs":"^8.6.2",istanbul:"^0.4.2",jscs:"^2.9.0",jshint:"^2.6.0",mocha:"^2.1.0"},dependencies:{"bn.js":"^4.4.0",brorand:"^1.0.1","hash.js":"^1.0.0","hmac-drbg":"^1.0.0",inherits:"^2.0.1","minimalistic-assert":"^1.0.0","minimalistic-crypto-utils":"^1.0.0"}}},{}],"/Users/jnordberg/Development/dsteem/node_modules/events/events.js":[function(e,t,r){function n(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}function o(e){return"function"==typeof e}function s(e){return"object"==typeof e&&null!==e}function i(e){return void 0===e}t.exports=n,n.EventEmitter=n,n.prototype._events=void 0,n.prototype._maxListeners=void 0,n.defaultMaxListeners=10,n.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||isNaN(e))throw TypeError("n must be a positive number");return this._maxListeners=e,this},n.prototype.emit=function(e){var t,r,n,a,u,d;if(this._events||(this._events={}),"error"===e&&(!this._events.error||s(this._events.error)&&!this._events.error.length)){if((t=arguments[1])instanceof Error)throw t;var l=new Error('Uncaught, unspecified "error" event. ('+t+")");throw l.context=t,l}if(i(r=this._events[e]))return!1;if(o(r))switch(arguments.length){case 1:r.call(this);break;case 2:r.call(this,arguments[1]);break;case 3:r.call(this,arguments[1],arguments[2]);break;default:a=Array.prototype.slice.call(arguments,1),r.apply(this,a)}else if(s(r))for(a=Array.prototype.slice.call(arguments,1),n=(d=r.slice()).length,u=0;u<n;u++)d[u].apply(this,a);return!0},n.prototype.on=n.prototype.addListener=function(e,t){var r;if(!o(t))throw TypeError("listener must be a function");return this._events||(this._events={}),this._events.newListener&&this.emit("newListener",e,o(t.listener)?t.listener:t),this._events[e]?s(this._events[e])?this._events[e].push(t):this._events[e]=[this._events[e],t]:this._events[e]=t,s(this._events[e])&&!this._events[e].warned&&(r=i(this._maxListeners)?n.defaultMaxListeners:this._maxListeners)&&r>0&&this._events[e].length>r&&(this._events[e].warned=!0,console),this},n.prototype.once=function(e,t){if(!o(t))throw TypeError("listener must be a function");var r=!1;function n(){this.removeListener(e,n),r||(r=!0,t.apply(this,arguments))}return n.listener=t,this.on(e,n),this},n.prototype.removeListener=function(e,t){var r,n,i,a;if(!o(t))throw TypeError("listener must be a function");if(!this._events||!this._events[e])return this;if(i=(r=this._events[e]).length,n=-1,r===t||o(r.listener)&&r.listener===t)delete this._events[e],this._events.removeListener&&this.emit("removeListener",e,t);else if(s(r)){for(a=i;a-- >0;)if(r[a]===t||r[a].listener&&r[a].listener===t){n=a;break}if(n<0)return this;1===r.length?(r.length=0,delete this._events[e]):r.splice(n,1),this._events.removeListener&&this.emit("removeListener",e,t)}return this},n.prototype.removeAllListeners=function(e){var t,r;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[e]&&delete this._events[e],this;if(0===arguments.length){for(t in this._events)"removeListener"!==t&&this.removeAllListeners(t);return this.removeAllListeners("removeListener"),this._events={},this}if(o(r=this._events[e]))this.removeListener(e,r);else if(r)for(;r.length;)this.removeListener(e,r[r.length-1]);return delete this._events[e],this},n.prototype.listeners=function(e){return this._events&&this._events[e]?o(this._events[e])?[this._events[e]]:this._events[e].slice():[]},n.prototype.listenerCount=function(e){if(this._events){var t=this._events[e];if(o(t))return 1;if(t)return t.length}return 0},n.listenerCount=function(e,t){return e.listenerCount(t)}},{}],"/Users/jnordberg/Development/dsteem/node_modules/evp_bytestokey/index.js":[function(e,t,r){var n=e("safe-buffer").Buffer,o=e("md5.js");t.exports=function(e,t,r,s){if(n.isBuffer(e)||(e=n.from(e,"binary")),t&&(n.isBuffer(t)||(t=n.from(t,"binary")),8!==t.length))throw new RangeError("salt should be Buffer with 8 byte length");for(var i=r/8,a=n.alloc(i),u=n.alloc(s||0),d=n.alloc(0);i>0||s>0;){var l=new o;l.update(d),l.update(e),t&&l.update(t),d=l.digest();var c=0;if(i>0){var f=a.length-i;c=Math.min(i,d.length),d.copy(a,f,0,c),i-=c}if(c<d.length&&s>0){var h=u.length-s,p=Math.min(s,d.length-c);d.copy(u,h,c,c+p),s-=p}}return d.fill(0),{key:a,iv:u}}},{"md5.js":"/Users/jnordberg/Development/dsteem/node_modules/md5.js/index.js","safe-buffer":"/Users/jnordberg/Development/dsteem/node_modules/safe-buffer/index.js"}],"/Users/jnordberg/Development/dsteem/node_modules/extsprintf/lib/extsprintf.js":[function(e,t,r){(function(t){var n=e("assert"),o=e("util");function s(e){var t,r,s,a,l,c,f,h,p,m,b,g=["([^%]*)","%","(['\\-+ #0]*?)","([1-9]\\d*)?","(\\.([1-9]\\d*))?","[lhjztL]*?","([diouxXfFeEgGaAcCsSp%jr])"].join(""),v=new RegExp(g),_=Array.prototype.slice.call(arguments,1),y=e,w="",j=1,E=0;for(n.equal("string",typeof y,"first argument must be a format string");null!==(p=v.exec(y));)if(w+=p[1],y=y.substring(p[0].length),b=p[0].substring(p[1].length),m=E+p[1].length+1,E+=p[0].length,t=p[2]||"",r=p[3]||0,s=p[4]||"",l=!1,f=!1,c=" ","%"!=(a=p[6])){if(0===_.length)throw i(e,m,b,"has no matching argument (too few arguments passed)");if(h=_.shift(),j++,t.match(/[\' #]/))throw i(e,m,b,"uses unsupported flags");if(s.length>0)throw i(e,m,b,"uses non-zero precision (not supported)");switch(t.match(/-/)&&(l=!0),t.match(/0/)&&(c="0"),t.match(/\+/)&&(f=!0),a){case"s":if(void 0===h||null===h)throw i(e,m,b,"attempted to print undefined or null as a string (argument "+j+" to sprintf)");w+=u(c,r,l,h.toString());break;case"d":h=Math.floor(h);case"f":w+=(f=f&&h>0?"+":"")+u(c,r,l,h.toString());break;case"x":w+=u(c,r,l,h.toString(16));break;case"j":0===r&&(r=10),w+=o.inspect(h,!1,r);break;case"r":w+=d(h);break;default:throw i(e,m,b,"is not supported")}}else w+="%";return w+y}function i(e,t,r,o){return n.equal(typeof e,"string"),n.equal(typeof r,"string"),n.equal(typeof t,"number"),n.equal(typeof o,"string"),new Error('format string "'+e+'": conversion specifier "'+r+'" at character '+t+" "+o)}function a(e){var t=Array.prototype.slice.call(arguments,1);return e.write(s.apply(this,t))}function u(e,t,r,n){for(var o=n;o.length<t;)r?o+=e:o=e+o;return o}function d(e){var t;if(!(e instanceof Error))throw new Error(s("invalid type for %%r: %j",e));if(t="EXCEPTION: "+e.constructor.name+": "+e.stack,e.cause&&"function"==typeof e.cause){var r=e.cause();r&&(t+="\nCaused by: "+d(r))}return t}r.sprintf=s,r.printf=function(){var e=Array.prototype.slice.call(arguments);e.unshift(t.stdout),a.apply(null,e)},r.fprintf=a}).call(this,e("_process"))},{_process:"/Users/jnordberg/Development/dsteem/node_modules/process/browser.js",assert:"/Users/jnordberg/Development/dsteem/node_modules/assert/assert.js",util:"/Users/jnordberg/Development/dsteem/node_modules/util/util.js"}],"/Users/jnordberg/Development/dsteem/node_modules/hash-base/index.js":[function(e,t,r){(function(r){"use strict";var n=e("stream").Transform;function o(e){n.call(this),this._block=new r(e),this._blockSize=e,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}e("inherits")(o,n),o.prototype._transform=function(e,t,n){var o=null;try{"buffer"!==t&&(e=new r(e,t)),this.update(e)}catch(e){o=e}n(o)},o.prototype._flush=function(e){var t=null;try{this.push(this._digest())}catch(e){t=e}e(t)},o.prototype.update=function(e,t){if(!r.isBuffer(e)&&"string"!=typeof e)throw new TypeError("Data must be a string or a buffer");if(this._finalized)throw new Error("Digest already called");r.isBuffer(e)||(e=new r(e,t||"binary"));for(var n=this._block,o=0;this._blockOffset+e.length-o>=this._blockSize;){for(var s=this._blockOffset;s<this._blockSize;)n[s++]=e[o++];this._update(),this._blockOffset=0}for(;o<e.length;)n[this._blockOffset++]=e[o++];for(var i=0,a=8*e.length;a>0;++i)this._length[i]+=a,(a=this._length[i]/4294967296|0)>0&&(this._length[i]-=4294967296*a);return this},o.prototype._update=function(e){throw new Error("_update is not implemented")},o.prototype.digest=function(e){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var t=this._digest();return void 0!==e&&(t=t.toString(e)),t},o.prototype._digest=function(){throw new Error("_digest is not implemented")},t.exports=o}).call(this,e("buffer").Buffer)},{buffer:"/Users/jnordberg/Development/dsteem/node_modules/buffer/index.js",inherits:"/Users/jnordberg/Development/dsteem/node_modules/inherits/inherits_browser.js",stream:"/Users/jnordberg/Development/dsteem/node_modules/stream-browserify/index.js"}],"/Users/jnordberg/Development/dsteem/node_modules/hash.js/lib/hash.js":[function(e,t,r){var n=r;n.utils=e("./hash/utils"),n.common=e("./hash/common"),n.sha=e("./hash/sha"),n.ripemd=e("./hash/ripemd"),n.hmac=e("./hash/hmac"),n.sha1=n.sha.sha1,n.sha256=n.sha.sha256,n.sha224=n.sha.sha224,n.sha384=n.sha.sha384,n.sha512=n.sha.sha512,n.ripemd160=n.ripemd.ripemd160},{"./hash/common":"/Users/jnordberg/Development/dsteem/node_modules/hash.js/lib/hash/common.js","./hash/hmac":"/Users/jnordberg/Development/dsteem/node_modules/hash.js/lib/hash/hmac.js","./hash/ripemd":"/Users/jnordberg/Development/dsteem/node_modules/hash.js/lib/hash/ripemd.js","./hash/sha":"/Users/jnordberg/Development/dsteem/node_modules/hash.js/lib/hash/sha.js","./hash/utils":"/Users/jnordberg/Development/dsteem/node_modules/hash.js/lib/hash/utils.js"}],"/Users/jnordberg/Development/dsteem/node_modules/hash.js/lib/hash/common.js":[function(e,t,r){"use strict";var n=e("./utils"),o=e("minimalistic-assert");function s(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}r.BlockHash=s,s.prototype.update=function(e,t){if(e=n.toArray(e,t),this.pending=this.pending?this.pending.concat(e):e,this.pendingTotal+=e.length,this.pending.length>=this._delta8){var r=(e=this.pending).length%this._delta8;this.pending=e.slice(e.length-r,e.length),0===this.pending.length&&(this.pending=null),e=n.join32(e,0,e.length-r,this.endian);for(var o=0;o<e.length;o+=this._delta32)this._update(e,o,o+this._delta32)}return this},s.prototype.digest=function(e){return this.update(this._pad()),o(null===this.pending),this._digest(e)},s.prototype._pad=function(){var e=this.pendingTotal,t=this._delta8,r=t-(e+this.padLength)%t,n=new Array(r+this.padLength);n[0]=128;for(var o=1;o<r;o++)n[o]=0;if(e<<=3,"big"===this.endian){for(var s=8;s<this.padLength;s++)n[o++]=0;n[o++]=0,n[o++]=0,n[o++]=0,n[o++]=0,n[o++]=e>>>24&255,n[o++]=e>>>16&255,n[o++]=e>>>8&255,n[o++]=255&e}else for(n[o++]=255&e,n[o++]=e>>>8&255,n[o++]=e>>>16&255,n[o++]=e>>>24&255,n[o++]=0,n[o++]=0,n[o++]=0,n[o++]=0,s=8;s<this.padLength;s++)n[o++]=0;return n}},{"./utils":"/Users/jnordberg/Development/dsteem/node_modules/hash.js/lib/hash/utils.js","minimalistic-assert":"/Users/jnordberg/Development/dsteem/node_modules/minimalistic-assert/index.js"}],"/Users/jnordberg/Development/dsteem/node_modules/hash.js/lib/hash/hmac.js":[function(e,t,r){"use strict";var n=e("./utils"),o=e("minimalistic-assert");function s(e,t,r){if(!(this instanceof s))return new s(e,t,r);this.Hash=e,this.blockSize=e.blockSize/8,this.outSize=e.outSize/8,this.inner=null,this.outer=null,this._init(n.toArray(t,r))}t.exports=s,s.prototype._init=function(e){e.length>this.blockSize&&(e=(new this.Hash).update(e).digest()),o(e.length<=this.blockSize);for(var t=e.length;t<this.blockSize;t++)e.push(0);for(t=0;t<e.length;t++)e[t]^=54;for(this.inner=(new this.Hash).update(e),t=0;t<e.length;t++)e[t]^=106;this.outer=(new this.Hash).update(e)},s.prototype.update=function(e,t){return this.inner.update(e,t),this},s.prototype.digest=function(e){return this.outer.update(this.inner.digest()),this.outer.digest(e)}},{"./utils":"/Users/jnordberg/Development/dsteem/node_modules/hash.js/lib/hash/utils.js","minimalistic-assert":"/Users/jnordberg/Development/dsteem/node_modules/minimalistic-assert/index.js"}],"/Users/jnordberg/Development/dsteem/node_modules/hash.js/lib/hash/ripemd.js":[function(e,t,r){"use strict";var n=e("./utils"),o=e("./common"),s=n.rotl32,i=n.sum32,a=n.sum32_3,u=n.sum32_4,d=o.BlockHash;function l(){if(!(this instanceof l))return new l;d.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian="little"}function c(e,t,r,n){return e<=15?t^r^n:e<=31?t&r|~t&n:e<=47?(t|~r)^n:e<=63?t&n|r&~n:t^(r|~n)}function f(e){return e<=15?0:e<=31?1518500249:e<=47?1859775393:e<=63?2400959708:2840853838}function h(e){return e<=15?1352829926:e<=31?1548603684:e<=47?1836072691:e<=63?2053994217:0}n.inherits(l,d),r.ripemd160=l,l.blockSize=512,l.outSize=160,l.hmacStrength=192,l.padLength=64,l.prototype._update=function(e,t){for(var r=this.h[0],n=this.h[1],o=this.h[2],d=this.h[3],l=this.h[4],v=r,_=n,y=o,w=d,j=l,E=0;E<80;E++){var D=i(s(u(r,c(E,n,o,d),e[p[E]+t],f(E)),b[E]),l);r=l,l=d,d=s(o,10),o=n,n=D,D=i(s(u(v,c(79-E,_,y,w),e[m[E]+t],h(E)),g[E]),j),v=j,j=w,w=s(y,10),y=_,_=D}D=a(this.h[1],o,w),this.h[1]=a(this.h[2],d,j),this.h[2]=a(this.h[3],l,v),this.h[3]=a(this.h[4],r,_),this.h[4]=a(this.h[0],n,y),this.h[0]=D},l.prototype._digest=function(e){return"hex"===e?n.toHex32(this.h,"little"):n.split32(this.h,"little")};var p=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],m=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],b=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],g=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]},{"./common":"/Users/jnordberg/Development/dsteem/node_modules/hash.js/lib/hash/common.js","./utils":"/Users/jnordberg/Development/dsteem/node_modules/hash.js/lib/hash/utils.js"}],"/Users/jnordberg/Development/dsteem/node_modules/hash.js/lib/hash/sha.js":[function(e,t,r){"use strict";r.sha1=e("./sha/1"),r.sha224=e("./sha/224"),r.sha256=e("./sha/256"),r.sha384=e("./sha/384"),r.sha512=e("./sha/512")},{"./sha/1":"/Users/jnordberg/Development/dsteem/node_modules/hash.js/lib/hash/sha/1.js","./sha/224":"/Users/jnordberg/Development/dsteem/node_modules/hash.js/lib/hash/sha/224.js","./sha/256":"/Users/jnordberg/Development/dsteem/node_modules/hash.js/lib/hash/sha/256.js","./sha/384":"/Users/jnordberg/Development/dsteem/node_modules/hash.js/lib/hash/sha/384.js","./sha/512":"/Users/jnordberg/Development/dsteem/node_modules/hash.js/lib/hash/sha/512.js"}],"/Users/jnordberg/Development/dsteem/node_modules/hash.js/lib/hash/sha/1.js":[function(e,t,r){"use strict";var n=e("../utils"),o=e("../common"),s=e("./common"),i=n.rotl32,a=n.sum32,u=n.sum32_5,d=s.ft_1,l=o.BlockHash,c=[1518500249,1859775393,2400959708,3395469782];function f(){if(!(this instanceof f))return new f;l.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}n.inherits(f,l),t.exports=f,f.blockSize=512,f.outSize=160,f.hmacStrength=80,f.padLength=64,f.prototype._update=function(e,t){for(var r=this.W,n=0;n<16;n++)r[n]=e[t+n];for(;n<r.length;n++)r[n]=i(r[n-3]^r[n-8]^r[n-14]^r[n-16],1);var o=this.h[0],s=this.h[1],l=this.h[2],f=this.h[3],h=this.h[4];for(n=0;n<r.length;n++){var p=~~(n/20),m=u(i(o,5),d(p,s,l,f),h,r[n],c[p]);h=f,f=l,l=i(s,30),s=o,o=m}this.h[0]=a(this.h[0],o),this.h[1]=a(this.h[1],s),this.h[2]=a(this.h[2],l),this.h[3]=a(this.h[3],f),this.h[4]=a(this.h[4],h)},f.prototype._digest=function(e){return"hex"===e?n.toHex32(this.h,"big"):n.split32(this.h,"big")}},{"../common":"/Users/jnordberg/Development/dsteem/node_modules/hash.js/lib/hash/common.js","../utils":"/Users/jnordberg/Development/dsteem/node_modules/hash.js/lib/hash/utils.js","./common":"/Users/jnordberg/Development/dsteem/node_modules/hash.js/lib/hash/sha/common.js"}],"/Users/jnordberg/Development/dsteem/node_modules/hash.js/lib/hash/sha/224.js":[function(e,t,r){"use strict";var n=e("../utils"),o=e("./256");function s(){if(!(this instanceof s))return new s;o.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}n.inherits(s,o),t.exports=s,s.blockSize=512,s.outSize=224,s.hmacStrength=192,s.padLength=64,s.prototype._digest=function(e){return"hex"===e?n.toHex32(this.h.slice(0,7),"big"):n.split32(this.h.slice(0,7),"big")}},{"../utils":"/Users/jnordberg/Development/dsteem/node_modules/hash.js/lib/hash/utils.js","./256":"/Users/jnordberg/Development/dsteem/node_modules/hash.js/lib/hash/sha/256.js"}],"/Users/jnordberg/Development/dsteem/node_modules/hash.js/lib/hash/sha/256.js":[function(e,t,r){"use strict";var n=e("../utils"),o=e("../common"),s=e("./common"),i=e("minimalistic-assert"),a=n.sum32,u=n.sum32_4,d=n.sum32_5,l=s.ch32,c=s.maj32,f=s.s0_256,h=s.s1_256,p=s.g0_256,m=s.g1_256,b=o.BlockHash,g=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];function v(){if(!(this instanceof v))return new v;b.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=g,this.W=new Array(64)}n.inherits(v,b),t.exports=v,v.blockSize=512,v.outSize=256,v.hmacStrength=192,v.padLength=64,v.prototype._update=function(e,t){for(var r=this.W,n=0;n<16;n++)r[n]=e[t+n];for(;n<r.length;n++)r[n]=u(m(r[n-2]),r[n-7],p(r[n-15]),r[n-16]);var o=this.h[0],s=this.h[1],b=this.h[2],g=this.h[3],v=this.h[4],_=this.h[5],y=this.h[6],w=this.h[7];for(i(this.k.length===r.length),n=0;n<r.length;n++){var j=d(w,h(v),l(v,_,y),this.k[n],r[n]),E=a(f(o),c(o,s,b));w=y,y=_,_=v,v=a(g,j),g=b,b=s,s=o,o=a(j,E)}this.h[0]=a(this.h[0],o),this.h[1]=a(this.h[1],s),this.h[2]=a(this.h[2],b),this.h[3]=a(this.h[3],g),this.h[4]=a(this.h[4],v),this.h[5]=a(this.h[5],_),this.h[6]=a(this.h[6],y),this.h[7]=a(this.h[7],w)},v.prototype._digest=function(e){return"hex"===e?n.toHex32(this.h,"big"):n.split32(this.h,"big")}},{"../common":"/Users/jnordberg/Development/dsteem/node_modules/hash.js/lib/hash/common.js","../utils":"/Users/jnordberg/Development/dsteem/node_modules/hash.js/lib/hash/utils.js","./common":"/Users/jnordberg/Development/dsteem/node_modules/hash.js/lib/hash/sha/common.js","minimalistic-assert":"/Users/jnordberg/Development/dsteem/node_modules/minimalistic-assert/index.js"}],"/Users/jnordberg/Development/dsteem/node_modules/hash.js/lib/hash/sha/384.js":[function(e,t,r){"use strict";var n=e("../utils"),o=e("./512");function s(){if(!(this instanceof s))return new s;o.call(this),this.h=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]}n.inherits(s,o),t.exports=s,s.blockSize=1024,s.outSize=384,s.hmacStrength=192,s.padLength=128,s.prototype._digest=function(e){return"hex"===e?n.toHex32(this.h.slice(0,12),"big"):n.split32(this.h.slice(0,12),"big")}},{"../utils":"/Users/jnordberg/Development/dsteem/node_modules/hash.js/lib/hash/utils.js","./512":"/Users/jnordberg/Development/dsteem/node_modules/hash.js/lib/hash/sha/512.js"}],"/Users/jnordberg/Development/dsteem/node_modules/hash.js/lib/hash/sha/512.js":[function(e,t,r){"use strict";var n=e("../utils"),o=e("../common"),s=e("minimalistic-assert"),i=n.rotr64_hi,a=n.rotr64_lo,u=n.shr64_hi,d=n.shr64_lo,l=n.sum64,c=n.sum64_hi,f=n.sum64_lo,h=n.sum64_4_hi,p=n.sum64_4_lo,m=n.sum64_5_hi,b=n.sum64_5_lo,g=o.BlockHash,v=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591];function _(){if(!(this instanceof _))return new _;g.call(this),this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],this.k=v,this.W=new Array(160)}function y(e,t,r,n,o){var s=e&r^~e&o;return s<0&&(s+=4294967296),s}function w(e,t,r,n,o,s){var i=t&n^~t&s;return i<0&&(i+=4294967296),i}function j(e,t,r,n,o){var s=e&r^e&o^r&o;return s<0&&(s+=4294967296),s}function E(e,t,r,n,o,s){var i=t&n^t&s^n&s;return i<0&&(i+=4294967296),i}function D(e,t){var r=i(e,t,28)^i(t,e,2)^i(t,e,7);return r<0&&(r+=4294967296),r}function x(e,t){var r=a(e,t,28)^a(t,e,2)^a(t,e,7);return r<0&&(r+=4294967296),r}function S(e,t){var r=a(e,t,14)^a(e,t,18)^a(t,e,9);return r<0&&(r+=4294967296),r}function U(e,t){var r=i(e,t,1)^i(e,t,8)^u(e,t,7);return r<0&&(r+=4294967296),r}function k(e,t){var r=a(e,t,1)^a(e,t,8)^d(e,t,7);return r<0&&(r+=4294967296),r}function A(e,t){var r=a(e,t,19)^a(t,e,29)^d(e,t,6);return r<0&&(r+=4294967296),r}n.inherits(_,g),t.exports=_,_.blockSize=1024,_.outSize=512,_.hmacStrength=192,_.padLength=128,_.prototype._prepareBlock=function(e,t){for(var r=this.W,n=0;n<32;n++)r[n]=e[t+n];for(;n<r.length;n+=2){var o=(v=void 0,(v=i(b=r[n-4],g=r[n-3],19)^i(g,b,29)^u(b,g,6))<0&&(v+=4294967296),v),s=A(r[n-4],r[n-3]),a=r[n-14],d=r[n-13],l=U(r[n-30],r[n-29]),c=k(r[n-30],r[n-29]),f=r[n-32],m=r[n-31];r[n]=h(o,s,a,d,l,c,f,m),r[n+1]=p(o,s,a,d,l,c,f,m)}var b,g,v},_.prototype._update=function(e,t){this._prepareBlock(e,t);var r,n,o,a=this.W,u=this.h[0],d=this.h[1],h=this.h[2],p=this.h[3],g=this.h[4],v=this.h[5],_=this.h[6],U=this.h[7],k=this.h[8],A=this.h[9],I=this.h[10],C=this.h[11],T=this.h[12],M=this.h[13],O=this.h[14],P=this.h[15];s(this.k.length===a.length);for(var N=0;N<a.length;N+=2){var R=O,L=P,B=(o=void 0,(o=i(r=k,n=A,14)^i(r,n,18)^i(n,r,9))<0&&(o+=4294967296),o),V=S(k,A),F=y(k,0,I,0,T),z=w(0,A,0,C,0,M),q=this.k[N],H=this.k[N+1],K=a[N],G=a[N+1],Y=m(R,L,B,V,F,z,q,H,K,G),W=b(R,L,B,V,F,z,q,H,K,G);R=D(u,d),L=x(u,d),B=j(u,0,h,0,g),V=E(0,d,0,p,0,v);var Z=c(R,L,B,V),X=f(R,L,B,V);O=T,P=M,T=I,M=C,I=k,C=A,k=c(_,U,Y,W),A=f(U,U,Y,W),_=g,U=v,g=h,v=p,h=u,p=d,u=c(Y,W,Z,X),d=f(Y,W,Z,X)}l(this.h,0,u,d),l(this.h,2,h,p),l(this.h,4,g,v),l(this.h,6,_,U),l(this.h,8,k,A),l(this.h,10,I,C),l(this.h,12,T,M),l(this.h,14,O,P)},_.prototype._digest=function(e){return"hex"===e?n.toHex32(this.h,"big"):n.split32(this.h,"big")}},{"../common":"/Users/jnordberg/Development/dsteem/node_modules/hash.js/lib/hash/common.js","../utils":"/Users/jnordberg/Development/dsteem/node_modules/hash.js/lib/hash/utils.js","minimalistic-assert":"/Users/jnordberg/Development/dsteem/node_modules/minimalistic-assert/index.js"}],"/Users/jnordberg/Development/dsteem/node_modules/hash.js/lib/hash/sha/common.js":[function(e,t,r){"use strict";var n=e("../utils").rotr32;function o(e,t,r){return e&t^~e&r}function s(e,t,r){return e&t^e&r^t&r}function i(e,t,r){return e^t^r}r.ft_1=function(e,t,r,n){return 0===e?o(t,r,n):1===e||3===e?i(t,r,n):2===e?s(t,r,n):void 0},r.ch32=o,r.maj32=s,r.p32=i,r.s0_256=function(e){return n(e,2)^n(e,13)^n(e,22)},r.s1_256=function(e){return n(e,6)^n(e,11)^n(e,25)},r.g0_256=function(e){return n(e,7)^n(e,18)^e>>>3},r.g1_256=function(e){return n(e,17)^n(e,19)^e>>>10}},{"../utils":"/Users/jnordberg/Development/dsteem/node_modules/hash.js/lib/hash/utils.js"}],"/Users/jnordberg/Development/dsteem/node_modules/hash.js/lib/hash/utils.js":[function(e,t,r){"use strict";var n=e("minimalistic-assert"),o=e("inherits");function s(e){return(e>>>24|e>>>8&65280|e<<8&16711680|(255&e)<<24)>>>0}function i(e){return 1===e.length?"0"+e:e}function a(e){return 7===e.length?"0"+e:6===e.length?"00"+e:5===e.length?"000"+e:4===e.length?"0000"+e:3===e.length?"00000"+e:2===e.length?"000000"+e:1===e.length?"0000000"+e:e}r.inherits=o,r.toArray=function(e,t){if(Array.isArray(e))return e.slice();if(!e)return[];var r=[];if("string"==typeof e)if(t){if("hex"===t)for((e=e.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(e="0"+e),n=0;n<e.length;n+=2)r.push(parseInt(e[n]+e[n+1],16))}else for(var n=0;n<e.length;n++){var o=e.charCodeAt(n),s=o>>8,i=255&o;s?r.push(s,i):r.push(i)}else for(n=0;n<e.length;n++)r[n]=0|e[n];return r},r.toHex=function(e){for(var t="",r=0;r<e.length;r++)t+=i(e[r].toString(16));return t},r.htonl=s,r.toHex32=function(e,t){for(var r="",n=0;n<e.length;n++){var o=e[n];"little"===t&&(o=s(o)),r+=a(o.toString(16))}return r},r.zero2=i,r.zero8=a,r.join32=function(e,t,r,o){var s=r-t;n(s%4==0);for(var i=new Array(s/4),a=0,u=t;a<i.length;a++,u+=4)i[a]=("big"===o?e[u]<<24|e[u+1]<<16|e[u+2]<<8|e[u+3]:e[u+3]<<24|e[u+2]<<16|e[u+1]<<8|e[u])>>>0;return i},r.split32=function(e,t){for(var r=new Array(4*e.length),n=0,o=0;n<e.length;n++,o+=4){var s=e[n];"big"===t?(r[o]=s>>>24,r[o+1]=s>>>16&255,r[o+2]=s>>>8&255,r[o+3]=255&s):(r[o+3]=s>>>24,r[o+2]=s>>>16&255,r[o+1]=s>>>8&255,r[o]=255&s)}return r},r.rotr32=function(e,t){return e>>>t|e<<32-t},r.rotl32=function(e,t){return e<<t|e>>>32-t},r.sum32=function(e,t){return e+t>>>0},r.sum32_3=function(e,t,r){return e+t+r>>>0},r.sum32_4=function(e,t,r,n){return e+t+r+n>>>0},r.sum32_5=function(e,t,r,n,o){return e+t+r+n+o>>>0},r.sum64=function(e,t,r,n){var o=n+e[t+1]>>>0;e[t]=(o<n?1:0)+r+e[t]>>>0,e[t+1]=o},r.sum64_hi=function(e,t,r,n){return(t+n>>>0<t?1:0)+e+r>>>0},r.sum64_lo=function(e,t,r,n){return t+n>>>0},r.sum64_4_hi=function(e,t,r,n,o,s,i,a){var u=0,d=t;return u+=(d=d+n>>>0)<t?1:0,u+=(d=d+s>>>0)<s?1:0,e+r+o+i+(u+=(d=d+a>>>0)<a?1:0)>>>0},r.sum64_4_lo=function(e,t,r,n,o,s,i,a){return t+n+s+a>>>0},r.sum64_5_hi=function(e,t,r,n,o,s,i,a,u,d){var l=0,c=t;return l+=(c=c+n>>>0)<t?1:0,l+=(c=c+s>>>0)<s?1:0,l+=(c=c+a>>>0)<a?1:0,e+r+o+i+u+(l+=(c=c+d>>>0)<d?1:0)>>>0},r.sum64_5_lo=function(e,t,r,n,o,s,i,a,u,d){return t+n+s+a+d>>>0},r.rotr64_hi=function(e,t,r){return(t<<32-r|e>>>r)>>>0},r.rotr64_lo=function(e,t,r){return(e<<32-r|t>>>r)>>>0},r.shr64_hi=function(e,t,r){return e>>>r},r.shr64_lo=function(e,t,r){return(e<<32-r|t>>>r)>>>0}},{inherits:"/Users/jnordberg/Development/dsteem/node_modules/inherits/inherits_browser.js","minimalistic-assert":"/Users/jnordberg/Development/dsteem/node_modules/minimalistic-assert/index.js"}],"/Users/jnordberg/Development/dsteem/node_modules/hmac-drbg/lib/hmac-drbg.js":[function(e,t,r){"use strict";var n=e("hash.js"),o=e("minimalistic-crypto-utils"),s=e("minimalistic-assert");function i(e){if(!(this instanceof i))return new i(e);this.hash=e.hash,this.predResist=!!e.predResist,this.outLen=this.hash.outSize,this.minEntropy=e.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var t=o.toArray(e.entropy,e.entropyEnc||"hex"),r=o.toArray(e.nonce,e.nonceEnc||"hex"),n=o.toArray(e.pers,e.persEnc||"hex");s(t.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(t,r,n)}t.exports=i,i.prototype._init=function(e,t,r){var n=e.concat(t).concat(r);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var o=0;o<this.V.length;o++)this.K[o]=0,this.V[o]=1;this._update(n),this._reseed=1,this.reseedInterval=281474976710656},i.prototype._hmac=function(){return new n.hmac(this.hash,this.K)},i.prototype._update=function(e){var t=this._hmac().update(this.V).update([0]);e&&(t=t.update(e)),this.K=t.digest(),this.V=this._hmac().update(this.V).digest(),e&&(this.K=this._hmac().update(this.V).update([1]).update(e).digest(),this.V=this._hmac().update(this.V).digest())},i.prototype.reseed=function(e,t,r,n){"string"!=typeof t&&(n=r,r=t,t=null),e=o.toArray(e,t),r=o.toArray(r,n),s(e.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(e.concat(r||[])),this._reseed=1},i.prototype.generate=function(e,t,r,n){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");"string"!=typeof t&&(n=r,r=t,t=null),r&&(r=o.toArray(r,n||"hex"),this._update(r));for(var s=[];s.length<e;)this.V=this._hmac().update(this.V).digest(),s=s.concat(this.V);var i=s.slice(0,e);return this._update(r),this._reseed++,o.encode(i,t)}},{"hash.js":"/Users/jnordberg/Development/dsteem/node_modules/hash.js/lib/hash.js","minimalistic-assert":"/Users/jnordberg/Development/dsteem/node_modules/minimalistic-assert/index.js","minimalistic-crypto-utils":"/Users/jnordberg/Development/dsteem/node_modules/minimalistic-crypto-utils/lib/utils.js"}],"/Users/jnordberg/Development/dsteem/node_modules/ieee754/index.js":[function(e,t,r){r.read=function(e,t,r,n,o){var s,i,a=8*o-n-1,u=(1<<a)-1,d=u>>1,l=-7,c=r?o-1:0,f=r?-1:1,h=e[t+c];for(c+=f,s=h&(1<<-l)-1,h>>=-l,l+=a;l>0;s=256*s+e[t+c],c+=f,l-=8);for(i=s&(1<<-l)-1,s>>=-l,l+=n;l>0;i=256*i+e[t+c],c+=f,l-=8);if(0===s)s=1-d;else{if(s===u)return i?NaN:1/0*(h?-1:1);i+=Math.pow(2,n),s-=d}return(h?-1:1)*i*Math.pow(2,s-n)},r.write=function(e,t,r,n,o,s){var i,a,u,d=8*s-o-1,l=(1<<d)-1,c=l>>1,f=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,h=n?0:s-1,p=n?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||1/0===t?(a=isNaN(t)?1:0,i=l):(i=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-i))<1&&(i--,u*=2),(t+=i+c>=1?f/u:f*Math.pow(2,1-c))*u>=2&&(i++,u/=2),i+c>=l?(a=0,i=l):i+c>=1?(a=(t*u-1)*Math.pow(2,o),i+=c):(a=t*Math.pow(2,c-1)*Math.pow(2,o),i=0));o>=8;e[r+h]=255&a,h+=p,a/=256,o-=8);for(i=i<<o|a,d+=o;d>0;e[r+h]=255&i,h+=p,i/=256,d-=8);e[r+h-p]|=128*m}},{}],"/Users/jnordberg/Development/dsteem/node_modules/indexof/index.js":[function(e,t,r){var n=[].indexOf;t.exports=function(e,t){if(n)return e.indexOf(t);for(var r=0;r<e.length;++r)if(e[r]===t)return r;return-1}},{}],"/Users/jnordberg/Development/dsteem/node_modules/inherits/inherits_browser.js":[function(e,t,r){t.exports="function"==typeof Object.create?function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:function(e,t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}},{}],"/Users/jnordberg/Development/dsteem/node_modules/is-buffer/index.js":[function(e,t,r){function n(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}t.exports=function(e){return null!=e&&(n(e)||function(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&n(e.slice(0,0))}(e)||!!e._isBuffer)}},{}],"/Users/jnordberg/Development/dsteem/node_modules/long/dist/long.js":[function(e,t,r){var n;n=function(){"use strict";function e(e,t,r){this.low=0|e,this.high=0|t,this.unsigned=!!r}function t(e){return!0===(e&&e.__isLong__)}Object.defineProperty(e.prototype,"__isLong__",{value:!0,enumerable:!1,configurable:!1}),e.isLong=t;var r={},n={};function o(e,t){var o,s,a;return t?(a=0<=(e>>>=0)&&e<256)&&(s=n[e])?s:(o=i(e,(0|e)<0?-1:0,!0),a&&(n[e]=o),o):(a=-128<=(e|=0)&&e<128)&&(s=r[e])?s:(o=i(e,e<0?-1:0,!1),a&&(r[e]=o),o)}function s(e,t){if(isNaN(e)||!isFinite(e))return t?m:p;if(t){if(e<0)return m;if(e>=c)return y}else{if(e<=-f)return w;if(e+1>=f)return _}return e<0?s(-e,t).neg():i(e%l|0,e/l|0,t)}function i(t,r,n){return new e(t,r,n)}e.fromInt=o,e.fromNumber=s,e.fromBits=i;var a=Math.pow;function u(e,t,r){if(0===e.length)throw Error("empty string");if("NaN"===e||"Infinity"===e||"+Infinity"===e||"-Infinity"===e)return p;if("number"==typeof t?(r=t,t=!1):t=!!t,(r=r||10)<2||36<r)throw RangeError("radix");var n;if((n=e.indexOf("-"))>0)throw Error("interior hyphen");if(0===n)return u(e.substring(1),t,r).neg();for(var o=s(a(r,8)),i=p,d=0;d<e.length;d+=8){var l=Math.min(8,e.length-d),c=parseInt(e.substring(d,d+l),r);if(l<8){var f=s(a(r,l));i=i.mul(f).add(s(c))}else i=(i=i.mul(o)).add(s(c))}return i.unsigned=t,i}function d(t){return t instanceof e?t:"number"==typeof t?s(t):"string"==typeof t?u(t):i(t.low,t.high,t.unsigned)}e.fromString=u,e.fromValue=d;var l=4294967296,c=l*l,f=c/2,h=o(1<<24),p=o(0);e.ZERO=p;var m=o(0,!0);e.UZERO=m;var b=o(1);e.ONE=b;var g=o(1,!0);e.UONE=g;var v=o(-1);e.NEG_ONE=v;var _=i(-1,2147483647,!1);e.MAX_VALUE=_;var y=i(-1,-1,!0);e.MAX_UNSIGNED_VALUE=y;var w=i(0,-2147483648,!1);e.MIN_VALUE=w;var j=e.prototype;return j.toInt=function(){return this.unsigned?this.low>>>0:this.low},j.toNumber=function(){return this.unsigned?(this.high>>>0)*l+(this.low>>>0):this.high*l+(this.low>>>0)},j.toString=function(e){if((e=e||10)<2||36<e)throw RangeError("radix");if(this.isZero())return"0";if(this.isNegative()){if(this.eq(w)){var t=s(e),r=this.div(t),n=r.mul(t).sub(this);return r.toString(e)+n.toInt().toString(e)}return"-"+this.neg().toString(e)}for(var o=s(a(e,6),this.unsigned),i=this,u="";;){var d=i.div(o),l=(i.sub(d.mul(o)).toInt()>>>0).toString(e);if((i=d).isZero())return l+u;for(;l.length<6;)l="0"+l;u=""+l+u}},j.getHighBits=function(){return this.high},j.getHighBitsUnsigned=function(){return this.high>>>0},j.getLowBits=function(){return this.low},j.getLowBitsUnsigned=function(){return this.low>>>0},j.getNumBitsAbs=function(){if(this.isNegative())return this.eq(w)?64:this.neg().getNumBitsAbs();for(var e=0!=this.high?this.high:this.low,t=31;t>0&&0==(e&1<<t);t--);return 0!=this.high?t+33:t+1},j.isZero=function(){return 0===this.high&&0===this.low},j.isNegative=function(){return!this.unsigned&&this.high<0},j.isPositive=function(){return this.unsigned||this.high>=0},j.isOdd=function(){return 1==(1&this.low)},j.isEven=function(){return 0==(1&this.low)},j.equals=function(e){return t(e)||(e=d(e)),(this.unsigned===e.unsigned||this.high>>>31!=1||e.high>>>31!=1)&&this.high===e.high&&this.low===e.low},j.eq=j.equals,j.notEquals=function(e){return!this.eq(e)},j.neq=j.notEquals,j.lessThan=function(e){return this.comp(e)<0},j.lt=j.lessThan,j.lessThanOrEqual=function(e){return this.comp(e)<=0},j.lte=j.lessThanOrEqual,j.greaterThan=function(e){return this.comp(e)>0},j.gt=j.greaterThan,j.greaterThanOrEqual=function(e){return this.comp(e)>=0},j.gte=j.greaterThanOrEqual,j.compare=function(e){if(t(e)||(e=d(e)),this.eq(e))return 0;var r=this.isNegative(),n=e.isNegative();return r&&!n?-1:!r&&n?1:this.unsigned?e.high>>>0>this.high>>>0||e.high===this.high&&e.low>>>0>this.low>>>0?-1:1:this.sub(e).isNegative()?-1:1},j.comp=j.compare,j.negate=function(){return!this.unsigned&&this.eq(w)?w:this.not().add(b)},j.neg=j.negate,j.add=function(e){t(e)||(e=d(e));var r=0,n=0,o=0,s=0;return o+=(s+=(65535&this.low)+(65535&e.low))>>>16,n+=(o+=(this.low>>>16)+(e.low>>>16))>>>16,r+=(n+=(65535&this.high)+(65535&e.high))>>>16,r+=(this.high>>>16)+(e.high>>>16),i((o&=65535)<<16|(s&=65535),(r&=65535)<<16|(n&=65535),this.unsigned)},j.subtract=function(e){return t(e)||(e=d(e)),this.add(e.neg())},j.sub=j.subtract,j.multiply=function(e){if(this.isZero())return p;if(t(e)||(e=d(e)),e.isZero())return p;if(this.eq(w))return e.isOdd()?w:p;if(e.eq(w))return this.isOdd()?w:p;if(this.isNegative())return e.isNegative()?this.neg().mul(e.neg()):this.neg().mul(e).neg();if(e.isNegative())return this.mul(e.neg()).neg();if(this.lt(h)&&e.lt(h))return s(this.toNumber()*e.toNumber(),this.unsigned);var r=65535&this.high,n=this.low>>>16,o=65535&this.low,a=65535&e.high,u=e.low>>>16,l=65535&e.low,c=0,f=0,m=0,b=0;return m+=(b+=o*l)>>>16,f+=(m+=n*l)>>>16,m&=65535,f+=(m+=o*u)>>>16,c+=(f+=r*l)>>>16,f&=65535,c+=(f+=n*u)>>>16,f&=65535,c+=(f+=o*a)>>>16,c+=(this.high>>>16)*l+r*u+n*a+o*(e.high>>>16),i((m&=65535)<<16|(b&=65535),(c&=65535)<<16|(f&=65535),this.unsigned)},j.mul=j.multiply,j.divide=function(e){if(t(e)||(e=d(e)),e.isZero())throw Error("division by zero");if(this.isZero())return this.unsigned?m:p;var r,n,o;if(this.unsigned){if(e.unsigned||(e=e.toUnsigned()),e.gt(this))return m;if(e.gt(this.shru(1)))return g;o=m}else{if(this.eq(w))return e.eq(b)||e.eq(v)?w:e.eq(w)?b:(r=this.shr(1).div(e).shl(1)).eq(p)?e.isNegative()?b:v:(n=this.sub(e.mul(r)),o=r.add(n.div(e)));if(e.eq(w))return this.unsigned?m:p;if(this.isNegative())return e.isNegative()?this.neg().div(e.neg()):this.neg().div(e).neg();if(e.isNegative())return this.div(e.neg()).neg();o=p}for(n=this;n.gte(e);){r=Math.max(1,Math.floor(n.toNumber()/e.toNumber()));for(var i=Math.ceil(Math.log(r)/Math.LN2),u=i<=48?1:a(2,i-48),l=s(r),c=l.mul(e);c.isNegative()||c.gt(n);)c=(l=s(r-=u,this.unsigned)).mul(e);l.isZero()&&(l=b),o=o.add(l),n=n.sub(c)}return o},j.div=j.divide,j.modulo=function(e){return t(e)||(e=d(e)),this.sub(this.div(e).mul(e))},j.mod=j.modulo,j.not=function(){return i(~this.low,~this.high,this.unsigned)},j.and=function(e){return t(e)||(e=d(e)),i(this.low&e.low,this.high&e.high,this.unsigned)},j.or=function(e){return t(e)||(e=d(e)),i(this.low|e.low,this.high|e.high,this.unsigned)},j.xor=function(e){return t(e)||(e=d(e)),i(this.low^e.low,this.high^e.high,this.unsigned)},j.shiftLeft=function(e){return t(e)&&(e=e.toInt()),0==(e&=63)?this:e<32?i(this.low<<e,this.high<<e|this.low>>>32-e,this.unsigned):i(0,this.low<<e-32,this.unsigned)},j.shl=j.shiftLeft,j.shiftRight=function(e){return t(e)&&(e=e.toInt()),0==(e&=63)?this:e<32?i(this.low>>>e|this.high<<32-e,this.high>>e,this.unsigned):i(this.high>>e-32,this.high>=0?0:-1,this.unsigned)},j.shr=j.shiftRight,j.shiftRightUnsigned=function(e){if(t(e)&&(e=e.toInt()),0==(e&=63))return this;var r=this.high;return e<32?i(this.low>>>e|r<<32-e,r>>>e,this.unsigned):i(32===e?r:r>>>e-32,0,this.unsigned)},j.shru=j.shiftRightUnsigned,j.toSigned=function(){return this.unsigned?i(this.low,this.high,!1):this},j.toUnsigned=function(){return this.unsigned?this:i(this.low,this.high,!0)},j.toBytes=function(e){return e?this.toBytesLE():this.toBytesBE()},j.toBytesLE=function(){var e=this.high,t=this.low;return[255&t,t>>>8&255,t>>>16&255,t>>>24&255,255&e,e>>>8&255,e>>>16&255,e>>>24&255]},j.toBytesBE=function(){var e=this.high,t=this.low;return[e>>>24&255,e>>>16&255,e>>>8&255,255&e,t>>>24&255,t>>>16&255,t>>>8&255,255&t]},e},"function"==typeof define&&define.amd?define([],n):"function"==typeof e&&"object"==typeof t&&t&&t.exports?t.exports=n():(this.dcodeIO=this.dcodeIO||{}).Long=n()},{}],"/Users/jnordberg/Development/dsteem/node_modules/md5.js/index.js":[function(e,t,r){(function(r){"use strict";var n=e("inherits"),o=e("hash-base"),s=new Array(16);function i(){o.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878}function a(e,t){return e<<t|e>>>32-t}function u(e,t,r,n,o,s,i){return a(e+(t&r|~t&n)+o+s|0,i)+t|0}function d(e,t,r,n,o,s,i){return a(e+(t&n|r&~n)+o+s|0,i)+t|0}function l(e,t,r,n,o,s,i){return a(e+(t^r^n)+o+s|0,i)+t|0}function c(e,t,r,n,o,s,i){return a(e+(r^(t|~n))+o+s|0,i)+t|0}n(i,o),i.prototype._update=function(){for(var e=s,t=0;t<16;++t)e[t]=this._block.readInt32LE(4*t);var r=this._a,n=this._b,o=this._c,i=this._d;n=c(n=c(n=c(n=c(n=l(n=l(n=l(n=l(n=d(n=d(n=d(n=d(n=u(n=u(n=u(n=u(n,o=u(o,i=u(i,r=u(r,n,o,i,e[0],3614090360,7),n,o,e[1],3905402710,12),r,n,e[2],606105819,17),i,r,e[3],3250441966,22),o=u(o,i=u(i,r=u(r,n,o,i,e[4],4118548399,7),n,o,e[5],1200080426,12),r,n,e[6],2821735955,17),i,r,e[7],4249261313,22),o=u(o,i=u(i,r=u(r,n,o,i,e[8],1770035416,7),n,o,e[9],2336552879,12),r,n,e[10],4294925233,17),i,r,e[11],2304563134,22),o=u(o,i=u(i,r=u(r,n,o,i,e[12],1804603682,7),n,o,e[13],4254626195,12),r,n,e[14],2792965006,17),i,r,e[15],1236535329,22),o=d(o,i=d(i,r=d(r,n,o,i,e[1],4129170786,5),n,o,e[6],3225465664,9),r,n,e[11],643717713,14),i,r,e[0],3921069994,20),o=d(o,i=d(i,r=d(r,n,o,i,e[5],3593408605,5),n,o,e[10],38016083,9),r,n,e[15],3634488961,14),i,r,e[4],3889429448,20),o=d(o,i=d(i,r=d(r,n,o,i,e[9],568446438,5),n,o,e[14],3275163606,9),r,n,e[3],4107603335,14),i,r,e[8],1163531501,20),o=d(o,i=d(i,r=d(r,n,o,i,e[13],2850285829,5),n,o,e[2],4243563512,9),r,n,e[7],1735328473,14),i,r,e[12],2368359562,20),o=l(o,i=l(i,r=l(r,n,o,i,e[5],4294588738,4),n,o,e[8],2272392833,11),r,n,e[11],1839030562,16),i,r,e[14],4259657740,23),o=l(o,i=l(i,r=l(r,n,o,i,e[1],2763975236,4),n,o,e[4],1272893353,11),r,n,e[7],4139469664,16),i,r,e[10],3200236656,23),o=l(o,i=l(i,r=l(r,n,o,i,e[13],681279174,4),n,o,e[0],3936430074,11),r,n,e[3],3572445317,16),i,r,e[6],76029189,23),o=l(o,i=l(i,r=l(r,n,o,i,e[9],3654602809,4),n,o,e[12],3873151461,11),r,n,e[15],530742520,16),i,r,e[2],3299628645,23),o=c(o,i=c(i,r=c(r,n,o,i,e[0],4096336452,6),n,o,e[7],1126891415,10),r,n,e[14],2878612391,15),i,r,e[5],4237533241,21),o=c(o,i=c(i,r=c(r,n,o,i,e[12],1700485571,6),n,o,e[3],2399980690,10),r,n,e[10],4293915773,15),i,r,e[1],2240044497,21),o=c(o,i=c(i,r=c(r,n,o,i,e[8],1873313359,6),n,o,e[15],4264355552,10),r,n,e[6],2734768916,15),i,r,e[13],1309151649,21),o=c(o,i=c(i,r=c(r,n,o,i,e[4],4149444226,6),n,o,e[11],3174756917,10),r,n,e[2],718787259,15),i,r,e[9],3951481745,21),this._a=this._a+r|0,this._b=this._b+n|0,this._c=this._c+o|0,this._d=this._d+i|0},i.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var e=new r(16);return e.writeInt32LE(this._a,0),e.writeInt32LE(this._b,4),e.writeInt32LE(this._c,8),e.writeInt32LE(this._d,12),e},t.exports=i}).call(this,e("buffer").Buffer)},{buffer:"/Users/jnordberg/Development/dsteem/node_modules/buffer/index.js","hash-base":"/Users/jnordberg/Development/dsteem/node_modules/md5.js/node_modules/hash-base/index.js",inherits:"/Users/jnordberg/Development/dsteem/node_modules/inherits/inherits_browser.js"}],"/Users/jnordberg/Development/dsteem/node_modules/md5.js/node_modules/hash-base/index.js":[function(e,t,r){"use strict";var n=e("safe-buffer").Buffer,o=e("stream").Transform;function s(e){o.call(this),this._block=n.allocUnsafe(e),this._blockSize=e,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}e("inherits")(s,o),s.prototype._transform=function(e,t,r){var n=null;try{this.update(e,t)}catch(e){n=e}r(n)},s.prototype._flush=function(e){var t=null;try{this.push(this.digest())}catch(e){t=e}e(t)},s.prototype.update=function(e,t){if(function(e,t){if(!n.isBuffer(e)&&"string"!=typeof e)throw new TypeError("Data must be a string or a buffer")}(e),this._finalized)throw new Error("Digest already called");n.isBuffer(e)||(e=n.from(e,t));for(var r=this._block,o=0;this._blockOffset+e.length-o>=this._blockSize;){for(var s=this._blockOffset;s<this._blockSize;)r[s++]=e[o++];this._update(),this._blockOffset=0}for(;o<e.length;)r[this._blockOffset++]=e[o++];for(var i=0,a=8*e.length;a>0;++i)this._length[i]+=a,(a=this._length[i]/4294967296|0)>0&&(this._length[i]-=4294967296*a);return this},s.prototype._update=function(){throw new Error("_update is not implemented")},s.prototype.digest=function(e){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var t=this._digest();void 0!==e&&(t=t.toString(e)),this._block.fill(0),this._blockOffset=0;for(var r=0;r<4;++r)this._length[r]=0;return t},s.prototype._digest=function(){throw new Error("_digest is not implemented")},t.exports=s},{inherits:"/Users/jnordberg/Development/dsteem/node_modules/inherits/inherits_browser.js","safe-buffer":"/Users/jnordberg/Development/dsteem/node_modules/safe-buffer/index.js",stream:"/Users/jnordberg/Development/dsteem/node_modules/stream-browserify/index.js"}],"/Users/jnordberg/Development/dsteem/node_modules/miller-rabin/lib/mr.js":[function(e,t,r){var n=e("bn.js"),o=e("brorand");function s(e){this.rand=e||new o.Rand}t.exports=s,s.create=function(e){return new s(e)},s.prototype._randbelow=function(e){var t=e.bitLength(),r=Math.ceil(t/8);do{var o=new n(this.rand.generate(r))}while(o.cmp(e)>=0);return o},s.prototype._randrange=function(e,t){var r=t.sub(e);return e.add(this._randbelow(r))},s.prototype.test=function(e,t,r){var o=e.bitLength(),s=n.mont(e),i=new n(1).toRed(s);t||(t=Math.max(1,o/48|0));for(var a=e.subn(1),u=0;!a.testn(u);u++);for(var d=e.shrn(u),l=a.toRed(s);t>0;t--){var c=this._randrange(new n(2),a);r&&r(c);var f=c.toRed(s).redPow(d);if(0!==f.cmp(i)&&0!==f.cmp(l)){for(var h=1;h<u;h++){if(0===(f=f.redSqr()).cmp(i))return!1;if(0===f.cmp(l))break}if(h===u)return!1}}return!0},s.prototype.getDivisor=function(e,t){var r=e.bitLength(),o=n.mont(e),s=new n(1).toRed(o);t||(t=Math.max(1,r/48|0));for(var i=e.subn(1),a=0;!i.testn(a);a++);for(var u=e.shrn(a),d=i.toRed(o);t>0;t--){var l=this._randrange(new n(2),i),c=e.gcd(l);if(0!==c.cmpn(1))return c;var f=l.toRed(o).redPow(u);if(0!==f.cmp(s)&&0!==f.cmp(d)){for(var h=1;h<a;h++){if(0===(f=f.redSqr()).cmp(s))return f.fromRed().subn(1).gcd(e);if(0===f.cmp(d))break}if(h===a)return(f=f.redSqr()).fromRed().subn(1).gcd(e)}}return!1}},{"bn.js":"/Users/jnordberg/Development/dsteem/node_modules/bn.js/lib/bn.js",brorand:"/Users/jnordberg/Development/dsteem/node_modules/brorand/index.js"}],"/Users/jnordberg/Development/dsteem/node_modules/minimalistic-assert/index.js":[function(e,t,r){function n(e,t){if(!e)throw new Error(t||"Assertion failed")}t.exports=n,n.equal=function(e,t,r){if(e!=t)throw new Error(r||"Assertion failed: "+e+" != "+t)}},{}],"/Users/jnordberg/Development/dsteem/node_modules/minimalistic-crypto-utils/lib/utils.js":[function(e,t,r){"use strict";var n=r;function o(e){return 1===e.length?"0"+e:e}function s(e){for(var t="",r=0;r<e.length;r++)t+=o(e[r].toString(16));return t}n.toArray=function(e,t){if(Array.isArray(e))return e.slice();if(!e)return[];var r=[];if("string"!=typeof e){for(var n=0;n<e.length;n++)r[n]=0|e[n];return r}if("hex"===t)for((e=e.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(e="0"+e),n=0;n<e.length;n+=2)r.push(parseInt(e[n]+e[n+1],16));else for(n=0;n<e.length;n++){var o=e.charCodeAt(n),s=o>>8,i=255&o;s?r.push(s,i):r.push(i)}return r},n.zero2=o,n.toHex=s,n.encode=function(e,t){return"hex"===t?s(e):e}},{}],"/Users/jnordberg/Development/dsteem/node_modules/parse-asn1/aesid.json":[function(e,t,r){t.exports={"2.16.840.1.101.3.4.1.1":"aes-128-ecb","2.16.840.1.101.3.4.1.2":"aes-128-cbc","2.16.840.1.101.3.4.1.3":"aes-128-ofb","2.16.840.1.101.3.4.1.4":"aes-128-cfb","2.16.840.1.101.3.4.1.21":"aes-192-ecb","2.16.840.1.101.3.4.1.22":"aes-192-cbc","2.16.840.1.101.3.4.1.23":"aes-192-ofb","2.16.840.1.101.3.4.1.24":"aes-192-cfb","2.16.840.1.101.3.4.1.41":"aes-256-ecb","2.16.840.1.101.3.4.1.42":"aes-256-cbc","2.16.840.1.101.3.4.1.43":"aes-256-ofb","2.16.840.1.101.3.4.1.44":"aes-256-cfb"}},{}],"/Users/jnordberg/Development/dsteem/node_modules/parse-asn1/asn1.js":[function(e,t,r){"use strict";var n=e("asn1.js");r.certificate=e("./certificate");var o=n.define("RSAPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("modulus").int(),this.key("publicExponent").int(),this.key("privateExponent").int(),this.key("prime1").int(),this.key("prime2").int(),this.key("exponent1").int(),this.key("exponent2").int(),this.key("coefficient").int())});r.RSAPrivateKey=o;var s=n.define("RSAPublicKey",function(){this.seq().obj(this.key("modulus").int(),this.key("publicExponent").int())});r.RSAPublicKey=s;var i=n.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(a),this.key("subjectPublicKey").bitstr())});r.PublicKey=i;var a=n.define("AlgorithmIdentifier",function(){this.seq().obj(this.key("algorithm").objid(),this.key("none").null_().optional(),this.key("curve").objid().optional(),this.key("params").seq().obj(this.key("p").int(),this.key("q").int(),this.key("g").int()).optional())}),u=n.define("PrivateKeyInfo",function(){this.seq().obj(this.key("version").int(),this.key("algorithm").use(a),this.key("subjectPrivateKey").octstr())});r.PrivateKey=u;var d=n.define("EncryptedPrivateKeyInfo",function(){this.seq().obj(this.key("algorithm").seq().obj(this.key("id").objid(),this.key("decrypt").seq().obj(this.key("kde").seq().obj(this.key("id").objid(),this.key("kdeparams").seq().obj(this.key("salt").octstr(),this.key("iters").int())),this.key("cipher").seq().obj(this.key("algo").objid(),this.key("iv").octstr()))),this.key("subjectPrivateKey").octstr())});r.EncryptedPrivateKey=d;var l=n.define("DSAPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("p").int(),this.key("q").int(),this.key("g").int(),this.key("pub_key").int(),this.key("priv_key").int())});r.DSAPrivateKey=l,r.DSAparam=n.define("DSAparam",function(){this.int()});var c=n.define("ECPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("privateKey").octstr(),this.key("parameters").optional().explicit(0).use(f),this.key("publicKey").optional().explicit(1).bitstr())});r.ECPrivateKey=c;var f=n.define("ECParameters",function(){this.choice({namedCurve:this.objid()})});r.signature=n.define("signature",function(){this.seq().obj(this.key("r").int(),this.key("s").int())})},{"./certificate":"/Users/jnordberg/Development/dsteem/node_modules/parse-asn1/certificate.js","asn1.js":"/Users/jnordberg/Development/dsteem/node_modules/asn1.js/lib/asn1.js"}],"/Users/jnordberg/Development/dsteem/node_modules/parse-asn1/certificate.js":[function(e,t,r){"use strict";var n=e("asn1.js"),o=n.define("Time",function(){this.choice({utcTime:this.utctime(),generalTime:this.gentime()})}),s=n.define("AttributeTypeValue",function(){this.seq().obj(this.key("type").objid(),this.key("value").any())}),i=n.define("AlgorithmIdentifier",function(){this.seq().obj(this.key("algorithm").objid(),this.key("parameters").optional())}),a=n.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(i),this.key("subjectPublicKey").bitstr())}),u=n.define("RelativeDistinguishedName",function(){this.setof(s)}),d=n.define("RDNSequence",function(){this.seqof(u)}),l=n.define("Name",function(){this.choice({rdnSequence:this.use(d)})}),c=n.define("Validity",function(){this.seq().obj(this.key("notBefore").use(o),this.key("notAfter").use(o))}),f=n.define("Extension",function(){this.seq().obj(this.key("extnID").objid(),this.key("critical").bool().def(!1),this.key("extnValue").octstr())}),h=n.define("TBSCertificate",function(){this.seq().obj(this.key("version").explicit(0).int(),this.key("serialNumber").int(),this.key("signature").use(i),this.key("issuer").use(l),this.key("validity").use(c),this.key("subject").use(l),this.key("subjectPublicKeyInfo").use(a),this.key("issuerUniqueID").implicit(1).bitstr().optional(),this.key("subjectUniqueID").implicit(2).bitstr().optional(),this.key("extensions").explicit(3).seqof(f).optional())}),p=n.define("X509Certificate",function(){this.seq().obj(this.key("tbsCertificate").use(h),this.key("signatureAlgorithm").use(i),this.key("signatureValue").bitstr())});t.exports=p},{"asn1.js":"/Users/jnordberg/Development/dsteem/node_modules/asn1.js/lib/asn1.js"}],"/Users/jnordberg/Development/dsteem/node_modules/parse-asn1/fixProc.js":[function(e,t,r){(function(r){var n=/Proc-Type: 4,ENCRYPTED\n\r?DEK-Info: AES-((?:128)|(?:192)|(?:256))-CBC,([0-9A-H]+)\n\r?\n\r?([0-9A-z\n\r\+\/\=]+)\n\r?/m,o=/^-----BEGIN ((?:.* KEY)|CERTIFICATE)-----\n/m,s=/^-----BEGIN ((?:.* KEY)|CERTIFICATE)-----\n\r?([0-9A-z\n\r\+\/\=]+)\n\r?-----END \1-----$/m,i=e("evp_bytestokey"),a=e("browserify-aes");t.exports=function(e,t){var u,d=e.toString(),l=d.match(n);if(l){var c="aes"+l[1],f=new r(l[2],"hex"),h=new r(l[3].replace(/\r?\n/g,""),"base64"),p=i(t,f.slice(0,8),parseInt(l[1],10)).key,m=[],b=a.createDecipheriv(c,p,f);m.push(b.update(h)),m.push(b.final()),u=r.concat(m)}else{var g=d.match(s);u=new r(g[2].replace(/\r?\n/g,""),"base64")}return{tag:d.match(o)[1],data:u}}}).call(this,e("buffer").Buffer)},{"browserify-aes":"/Users/jnordberg/Development/dsteem/node_modules/browserify-aes/browser.js",buffer:"/Users/jnordberg/Development/dsteem/node_modules/buffer/index.js",evp_bytestokey:"/Users/jnordberg/Development/dsteem/node_modules/evp_bytestokey/index.js"}],"/Users/jnordberg/Development/dsteem/node_modules/parse-asn1/index.js":[function(e,t,r){(function(r){var n=e("./asn1"),o=e("./aesid.json"),s=e("./fixProc"),i=e("browserify-aes"),a=e("pbkdf2");function u(e){var t;"object"!=typeof e||r.isBuffer(e)||(t=e.passphrase,e=e.key),"string"==typeof e&&(e=new r(e));var u,d,l=s(e,t),c=l.tag,f=l.data;switch(c){case"CERTIFICATE":d=n.certificate.decode(f,"der").tbsCertificate.subjectPublicKeyInfo;case"PUBLIC KEY":switch(d||(d=n.PublicKey.decode(f,"der")),u=d.algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return n.RSAPublicKey.decode(d.subjectPublicKey.data,"der");case"1.2.840.10045.2.1":return d.subjectPrivateKey=d.subjectPublicKey,{type:"ec",data:d};case"1.2.840.10040.4.1":return d.algorithm.params.pub_key=n.DSAparam.decode(d.subjectPublicKey.data,"der"),{type:"dsa",data:d.algorithm.params};default:throw new Error("unknown key id "+u)}throw new Error("unknown key type "+c);case"ENCRYPTED PRIVATE KEY":f=function(e,t){var n=e.algorithm.decrypt.kde.kdeparams.salt,s=parseInt(e.algorithm.decrypt.kde.kdeparams.iters.toString(),10),u=o[e.algorithm.decrypt.cipher.algo.join(".")],d=e.algorithm.decrypt.cipher.iv,l=e.subjectPrivateKey,c=parseInt(u.split("-")[1],10)/8,f=a.pbkdf2Sync(t,n,s,c),h=i.createDecipheriv(u,f,d),p=[];return p.push(h.update(l)),p.push(h.final()),r.concat(p)}(f=n.EncryptedPrivateKey.decode(f,"der"),t);case"PRIVATE KEY":switch(u=(d=n.PrivateKey.decode(f,"der")).algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return n.RSAPrivateKey.decode(d.subjectPrivateKey,"der");case"1.2.840.10045.2.1":return{curve:d.algorithm.curve,privateKey:n.ECPrivateKey.decode(d.subjectPrivateKey,"der").privateKey};case"1.2.840.10040.4.1":return d.algorithm.params.priv_key=n.DSAparam.decode(d.subjectPrivateKey,"der"),{type:"dsa",params:d.algorithm.params};default:throw new Error("unknown key id "+u)}throw new Error("unknown key type "+c);case"RSA PUBLIC KEY":return n.RSAPublicKey.decode(f,"der");case"RSA PRIVATE KEY":return n.RSAPrivateKey.decode(f,"der");case"DSA PRIVATE KEY":return{type:"dsa",params:n.DSAPrivateKey.decode(f,"der")};case"EC PRIVATE KEY":return{curve:(f=n.ECPrivateKey.decode(f,"der")).parameters.value,privateKey:f.privateKey};default:throw new Error("unknown key type "+c)}}t.exports=u,u.signature=n.signature}).call(this,e("buffer").Buffer)},{"./aesid.json":"/Users/jnordberg/Development/dsteem/node_modules/parse-asn1/aesid.json","./asn1":"/Users/jnordberg/Development/dsteem/node_modules/parse-asn1/asn1.js","./fixProc":"/Users/jnordberg/Development/dsteem/node_modules/parse-asn1/fixProc.js","browserify-aes":"/Users/jnordberg/Development/dsteem/node_modules/browserify-aes/browser.js",buffer:"/Users/jnordberg/Development/dsteem/node_modules/buffer/index.js",pbkdf2:"/Users/jnordberg/Development/dsteem/node_modules/pbkdf2/browser.js"}],"/Users/jnordberg/Development/dsteem/node_modules/pbkdf2/browser.js":[function(e,t,r){r.pbkdf2=e("./lib/async"),r.pbkdf2Sync=e("./lib/sync")},{"./lib/async":"/Users/jnordberg/Development/dsteem/node_modules/pbkdf2/lib/async.js","./lib/sync":"/Users/jnordberg/Development/dsteem/node_modules/pbkdf2/lib/sync-browser.js"}],"/Users/jnordberg/Development/dsteem/node_modules/pbkdf2/lib/async.js":[function(e,t,r){(function(r,n){var o,s=e("./precondition"),i=e("./default-encoding"),a=e("./sync"),u=e("safe-buffer").Buffer,d=n.crypto&&n.crypto.subtle,l={sha:"SHA-1","sha-1":"SHA-1",sha1:"SHA-1",sha256:"SHA-256","sha-256":"SHA-256",sha384:"SHA-384","sha-384":"SHA-384","sha-512":"SHA-512",sha512:"SHA-512"},c=[];function f(e,t,r,n,o){return d.importKey("raw",e,{name:"PBKDF2"},!1,["deriveBits"]).then(function(e){return d.deriveBits({name:"PBKDF2",salt:t,iterations:r,hash:{name:o}},e,n<<3)}).then(function(e){return u.from(e)})}t.exports=function(e,t,h,p,m,b){if(u.isBuffer(e)||(e=u.from(e,i)),u.isBuffer(t)||(t=u.from(t,i)),s(h,p),"function"==typeof m&&(b=m,m=void 0),"function"!=typeof b)throw new Error("No callback provided to pbkdf2");var g=l[(m=m||"sha1").toLowerCase()];if(!g||"function"!=typeof n.Promise)return r.nextTick(function(){var r;try{r=a(e,t,h,p,m)}catch(e){return b(e)}b(null,r)});!function(e,t){e.then(function(e){r.nextTick(function(){t(null,e)})},function(e){r.nextTick(function(){t(e)})})}(function(e){if(n.process&&!n.process.browser)return Promise.resolve(!1);if(!d||!d.importKey||!d.deriveBits)return Promise.resolve(!1);if(void 0!==c[e])return c[e];var t=f(o=o||u.alloc(8),o,10,128,e).then(function(){return!0}).catch(function(){return!1});return c[e]=t,t}(g).then(function(r){return r?f(e,t,h,p,g):a(e,t,h,p,m)}),b)}}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./default-encoding":"/Users/jnordberg/Development/dsteem/node_modules/pbkdf2/lib/default-encoding.js","./precondition":"/Users/jnordberg/Development/dsteem/node_modules/pbkdf2/lib/precondition.js","./sync":"/Users/jnordberg/Development/dsteem/node_modules/pbkdf2/lib/sync-browser.js",_process:"/Users/jnordberg/Development/dsteem/node_modules/process/browser.js","safe-buffer":"/Users/jnordberg/Development/dsteem/node_modules/safe-buffer/index.js"}],"/Users/jnordberg/Development/dsteem/node_modules/pbkdf2/lib/default-encoding.js":[function(e,t,r){(function(e){var r;r=e.browser?"utf-8":parseInt(e.version.split(".")[0].slice(1),10)>=6?"utf-8":"binary",t.exports=r}).call(this,e("_process"))},{_process:"/Users/jnordberg/Development/dsteem/node_modules/process/browser.js"}],"/Users/jnordberg/Development/dsteem/node_modules/pbkdf2/lib/precondition.js":[function(e,t,r){var n=Math.pow(2,30)-1;t.exports=function(e,t){if("number"!=typeof e)throw new TypeError("Iterations not a number");if(e<0)throw new TypeError("Bad iterations");if("number"!=typeof t)throw new TypeError("Key length not a number");if(t<0||t>n||t!=t)throw new TypeError("Bad key length")}},{}],"/Users/jnordberg/Development/dsteem/node_modules/pbkdf2/lib/sync-browser.js":[function(e,t,r){var n=e("create-hash/md5"),o=e("ripemd160"),s=e("sha.js"),i=e("./precondition"),a=e("./default-encoding"),u=e("safe-buffer").Buffer,d=u.alloc(128),l={md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,rmd160:20,ripemd160:20};function c(e,t,r){var i=function(e){return"rmd160"===e||"ripemd160"===e?o:"md5"===e?n:function(t){return s(e).update(t).digest()}}(e),a="sha512"===e||"sha384"===e?128:64;t.length>a?t=i(t):t.length<a&&(t=u.concat([t,d],a));for(var c=u.allocUnsafe(a+l[e]),f=u.allocUnsafe(a+l[e]),h=0;h<a;h++)c[h]=54^t[h],f[h]=92^t[h];var p=u.allocUnsafe(a+r+4);c.copy(p,0,0,a),this.ipad1=p,this.ipad2=c,this.opad=f,this.alg=e,this.blocksize=a,this.hash=i,this.size=l[e]}c.prototype.run=function(e,t){return e.copy(t,this.blocksize),this.hash(t).copy(this.opad,this.blocksize),this.hash(this.opad)},t.exports=function(e,t,r,n,o){u.isBuffer(e)||(e=u.from(e,a)),u.isBuffer(t)||(t=u.from(t,a)),i(r,n);var s=new c(o=o||"sha1",e,t.length),d=u.allocUnsafe(n),f=u.allocUnsafe(t.length+4);t.copy(f,0,0,t.length);for(var h=0,p=l[o],m=Math.ceil(n/p),b=1;b<=m;b++){f.writeUInt32BE(b,t.length);for(var g=s.run(f,s.ipad1),v=g,_=1;_<r;_++){v=s.run(v,s.ipad2);for(var y=0;y<p;y++)g[y]^=v[y]}g.copy(d,h),h+=p}return d}},{"./default-encoding":"/Users/jnordberg/Development/dsteem/node_modules/pbkdf2/lib/default-encoding.js","./precondition":"/Users/jnordberg/Development/dsteem/node_modules/pbkdf2/lib/precondition.js","create-hash/md5":"/Users/jnordberg/Development/dsteem/node_modules/create-hash/md5.js",ripemd160:"/Users/jnordberg/Development/dsteem/node_modules/ripemd160/index.js","safe-buffer":"/Users/jnordberg/Development/dsteem/node_modules/safe-buffer/index.js","sha.js":"/Users/jnordberg/Development/dsteem/node_modules/sha.js/index.js"}],"/Users/jnordberg/Development/dsteem/node_modules/process-nextick-args/index.js":[function(e,t,r){(function(e){"use strict";t.exports=!e.version||0===e.version.indexOf("v0.")||0===e.version.indexOf("v1.")&&0!==e.version.indexOf("v1.8.")?function(t,r,n,o){if("function"!=typeof t)throw new TypeError('"callback" argument must be a function');var s,i,a=arguments.length;switch(a){case 0:case 1:return e.nextTick(t);case 2:return e.nextTick(function(){t.call(null,r)});case 3:return e.nextTick(function(){t.call(null,r,n)});case 4:return e.nextTick(function(){t.call(null,r,n,o)});default:for(s=new Array(a-1),i=0;i<s.length;)s[i++]=arguments[i];return e.nextTick(function(){t.apply(null,s)})}}:e.nextTick}).call(this,e("_process"))},{_process:"/Users/jnordberg/Development/dsteem/node_modules/process/browser.js"}],"/Users/jnordberg/Development/dsteem/node_modules/process/browser.js":[function(e,t,r){var n,o,s=t.exports={};function i(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function u(e){if(n===setTimeout)return setTimeout(e,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:i}catch(e){n=i}try{o="function"==typeof clearTimeout?clearTimeout:a}catch(e){o=a}}();var d,l=[],c=!1,f=-1;function h(){c&&d&&(c=!1,d.length?l=d.concat(l):f=-1,l.length&&p())}function p(){if(!c){var e=u(h);c=!0;for(var t=l.length;t;){for(d=l,l=[];++f<t;)d&&d[f].run();f=-1,t=l.length}d=null,c=!1,function(e){if(o===clearTimeout)return clearTimeout(e);if((o===a||!o)&&clearTimeout)return o=clearTimeout,clearTimeout(e);try{o(e)}catch(t){try{return o.call(null,e)}catch(t){return o.call(this,e)}}}(e)}}function m(e,t){this.fun=e,this.array=t}function b(){}s.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];l.push(new m(e,t)),1!==l.length||c||u(p)},m.prototype.run=function(){this.fun.apply(null,this.array)},s.title="browser",s.browser=!0,s.env={},s.argv=[],s.version="",s.versions={},s.on=b,s.addListener=b,s.once=b,s.off=b,s.removeListener=b,s.removeAllListeners=b,s.emit=b,s.prependListener=b,s.prependOnceListener=b,s.listeners=function(e){return[]},s.binding=function(e){throw new Error("process.binding is not supported")},s.cwd=function(){return"/"},s.chdir=function(e){throw new Error("process.chdir is not supported")},s.umask=function(){return 0}},{}],"/Users/jnordberg/Development/dsteem/node_modules/public-encrypt/browser.js":[function(e,t,r){r.publicEncrypt=e("./publicEncrypt"),r.privateDecrypt=e("./privateDecrypt"),r.privateEncrypt=function(e,t){return r.publicEncrypt(e,t,!0)},r.publicDecrypt=function(e,t){return r.privateDecrypt(e,t,!0)}},{"./privateDecrypt":"/Users/jnordberg/Development/dsteem/node_modules/public-encrypt/privateDecrypt.js","./publicEncrypt":"/Users/jnordberg/Development/dsteem/node_modules/public-encrypt/publicEncrypt.js"}],"/Users/jnordberg/Development/dsteem/node_modules/public-encrypt/mgf.js":[function(e,t,r){(function(r){var n=e("create-hash");function o(e){var t=new r(4);return t.writeUInt32BE(e,0),t}t.exports=function(e,t){for(var s,i=new r(""),a=0;i.length<t;)s=o(a++),i=r.concat([i,n("sha1").update(e).update(s).digest()]);return i.slice(0,t)}}).call(this,e("buffer").Buffer)},{buffer:"/Users/jnordberg/Development/dsteem/node_modules/buffer/index.js","create-hash":"/Users/jnordberg/Development/dsteem/node_modules/create-hash/browser.js"}],"/Users/jnordberg/Development/dsteem/node_modules/public-encrypt/privateDecrypt.js":[function(e,t,r){(function(r){var n=e("parse-asn1"),o=e("./mgf"),s=e("./xor"),i=e("bn.js"),a=e("browserify-rsa"),u=e("create-hash"),d=e("./withPublic");t.exports=function(e,t,l){var c;c=e.padding?e.padding:l?1:4;var f,h=n(e),p=h.modulus.byteLength();if(t.length>p||new i(t).cmp(h.modulus)>=0)throw new Error("decryption error");f=l?d(new i(t),h):a(t,h);var m=new r(p-f.length);if(m.fill(0),f=r.concat([m,f],p),4===c)return function(e,t){var n=e.modulus.byteLength(),i=u("sha1").update(new r("")).digest(),a=i.length;if(0!==t[0])throw new Error("decryption error");var d=t.slice(1,a+1),l=t.slice(a+1),c=s(d,o(l,a)),f=s(l,o(c,n-a-1));if(function(e,t){e=new r(e),t=new r(t);var n=0,o=e.length;e.length!==t.length&&(n++,o=Math.min(e.length,t.length));for(var s=-1;++s<o;)n+=e[s]^t[s];return n}(i,f.slice(0,a)))throw new Error("decryption error");for(var h=a;0===f[h];)h++;if(1!==f[h++])throw new Error("decryption error");return f.slice(h)}(h,f);if(1===c)return function(e,t,r){for(var n=t.slice(0,2),o=2,s=0;0!==t[o++];)if(o>=t.length){s++;break}var i=t.slice(2,o-1);if(t.slice(o-1,o),("0002"!==n.toString("hex")&&!r||"0001"!==n.toString("hex")&&r)&&s++,i.length<8&&s++,s)throw new Error("decryption error");return t.slice(o)}(0,f,l);if(3===c)return f;throw new Error("unknown padding")}}).call(this,e("buffer").Buffer)},{"./mgf":"/Users/jnordberg/Development/dsteem/node_modules/public-encrypt/mgf.js","./withPublic":"/Users/jnordberg/Development/dsteem/node_modules/public-encrypt/withPublic.js","./xor":"/Users/jnordberg/Development/dsteem/node_modules/public-encrypt/xor.js","bn.js":"/Users/jnordberg/Development/dsteem/node_modules/bn.js/lib/bn.js","browserify-rsa":"/Users/jnordberg/Development/dsteem/node_modules/browserify-rsa/index.js",buffer:"/Users/jnordberg/Development/dsteem/node_modules/buffer/index.js","create-hash":"/Users/jnordberg/Development/dsteem/node_modules/create-hash/browser.js","parse-asn1":"/Users/jnordberg/Development/dsteem/node_modules/parse-asn1/index.js"}],"/Users/jnordberg/Development/dsteem/node_modules/public-encrypt/publicEncrypt.js":[function(e,t,r){(function(r){var n=e("parse-asn1"),o=e("randombytes"),s=e("create-hash"),i=e("./mgf"),a=e("./xor"),u=e("bn.js"),d=e("./withPublic"),l=e("browserify-rsa");t.exports=function(e,t,c){var f;f=e.padding?e.padding:c?1:4;var h,p=n(e);if(4===f)h=function(e,t){var n=e.modulus.byteLength(),d=t.length,l=s("sha1").update(new r("")).digest(),c=l.length,f=2*c;if(d>n-f-2)throw new Error("message too long");var h=new r(n-d-f-2);h.fill(0);var p=n-c-1,m=o(c),b=a(r.concat([l,h,new r([1]),t],p),i(m,p)),g=a(m,i(b,c));return new u(r.concat([new r([0]),g,b],n))}(p,t);else if(1===f)h=function(e,t,n){var s,i=t.length,a=e.modulus.byteLength();if(i>a-11)throw new Error("message too long");return n?(s=new r(a-i-3)).fill(255):s=function(e,t){for(var n,s=new r(e),i=0,a=o(2*e),u=0;i<e;)u===a.length&&(a=o(2*e),u=0),(n=a[u++])&&(s[i++]=n);return s}(a-i-3),new u(r.concat([new r([0,n?1:2]),s,new r([0]),t],a))}(p,t,c);else{if(3!==f)throw new Error("unknown padding");if((h=new u(t)).cmp(p.modulus)>=0)throw new Error("data too long for modulus")}return c?l(h,p):d(h,p)}}).call(this,e("buffer").Buffer)},{"./mgf":"/Users/jnordberg/Development/dsteem/node_modules/public-encrypt/mgf.js","./withPublic":"/Users/jnordberg/Development/dsteem/node_modules/public-encrypt/withPublic.js","./xor":"/Users/jnordberg/Development/dsteem/node_modules/public-encrypt/xor.js","bn.js":"/Users/jnordberg/Development/dsteem/node_modules/bn.js/lib/bn.js","browserify-rsa":"/Users/jnordberg/Development/dsteem/node_modules/browserify-rsa/index.js",buffer:"/Users/jnordberg/Development/dsteem/node_modules/buffer/index.js","create-hash":"/Users/jnordberg/Development/dsteem/node_modules/create-hash/browser.js","parse-asn1":"/Users/jnordberg/Development/dsteem/node_modules/parse-asn1/index.js",randombytes:"/Users/jnordberg/Development/dsteem/node_modules/randombytes/browser.js"}],"/Users/jnordberg/Development/dsteem/node_modules/public-encrypt/withPublic.js":[function(e,t,r){(function(r){var n=e("bn.js");t.exports=function(e,t){return new r(e.toRed(n.mont(t.modulus)).redPow(new n(t.publicExponent)).fromRed().toArray())}}).call(this,e("buffer").Buffer)},{"bn.js":"/Users/jnordberg/Development/dsteem/node_modules/bn.js/lib/bn.js",buffer:"/Users/jnordberg/Development/dsteem/node_modules/buffer/index.js"}],"/Users/jnordberg/Development/dsteem/node_modules/public-encrypt/xor.js":[function(e,t,r){t.exports=function(e,t){for(var r=e.length,n=-1;++n<r;)e[n]^=t[n];return e}},{}],"/Users/jnordberg/Development/dsteem/node_modules/randombytes/browser.js":[function(e,t,r){(function(r,n){"use strict";var o=e("safe-buffer").Buffer,s=n.crypto||n.msCrypto;t.exports=s&&s.getRandomValues?function(e,t){if(e>65536)throw new Error("requested too many random bytes");var i=new n.Uint8Array(e);e>0&&s.getRandomValues(i);var a=o.from(i.buffer);return"function"==typeof t?r.nextTick(function(){t(null,a)}):a}:function(){throw new Error("Secure random number generation is not supported by this browser.\nUse Chrome, Firefox or Internet Explorer 11")}}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{_process:"/Users/jnordberg/Development/dsteem/node_modules/process/browser.js","safe-buffer":"/Users/jnordberg/Development/dsteem/node_modules/safe-buffer/index.js"}],"/Users/jnordberg/Development/dsteem/node_modules/randomfill/browser.js":[function(e,t,r){(function(t,n){"use strict";function o(){throw new Error("secure random number generation not supported by this browser\nuse chrome, FireFox or Internet Explorer 11")}var s=e("safe-buffer"),i=e("randombytes"),a=s.Buffer,u=s.kMaxLength,d=n.crypto||n.msCrypto,l=Math.pow(2,32)-1;function c(e,t){if("number"!=typeof e||e!=e)throw new TypeError("offset must be a number");if(e>l||e<0)throw new TypeError("offset must be a uint32");if(e>u||e>t)throw new RangeError("offset out of range")}function f(e,t,r){if("number"!=typeof e||e!=e)throw new TypeError("size must be a number");if(e>l||e<0)throw new TypeError("size must be a uint32");if(e+t>r||e>u)throw new RangeError("buffer too small")}function h(e,r,n,o){if(t.browser){var s=new Uint8Array(e.buffer,r,n);return d.getRandomValues(s),o?void t.nextTick(function(){o(null,e)}):e}if(!o)return i(n).copy(e,r),e;i(n,function(t,n){if(t)return o(t);n.copy(e,r),o(null,e)})}d&&d.getRandomValues||!t.browser?(r.randomFill=function(e,t,r,o){if(!(a.isBuffer(e)||e instanceof n.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');if("function"==typeof t)o=t,t=0,r=e.length;else if("function"==typeof r)o=r,r=e.length-t;else if("function"!=typeof o)throw new TypeError('"cb" argument must be a function');return c(t,e.length),f(r,t,e.length),h(e,t,r,o)},r.randomFillSync=function(e,t,r){if(void 0===t&&(t=0),!(a.isBuffer(e)||e instanceof n.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');return c(t,e.length),void 0===r&&(r=e.length-t),f(r,t,e.length),h(e,t,r)}):(r.randomFill=o,r.randomFillSync=o)}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{_process:"/Users/jnordberg/Development/dsteem/node_modules/process/browser.js",randombytes:"/Users/jnordberg/Development/dsteem/node_modules/randombytes/browser.js","safe-buffer":"/Users/jnordberg/Development/dsteem/node_modules/safe-buffer/index.js"}],"/Users/jnordberg/Development/dsteem/node_modules/readable-stream/duplex-browser.js":[function(e,t,r){t.exports=e("./lib/_stream_duplex.js")},{"./lib/_stream_duplex.js":"/Users/jnordberg/Development/dsteem/node_modules/readable-stream/lib/_stream_duplex.js"}],"/Users/jnordberg/Development/dsteem/node_modules/readable-stream/lib/_stream_duplex.js":[function(e,t,r){"use strict";var n=e("process-nextick-args"),o=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};t.exports=c;var s=e("core-util-is");s.inherits=e("inherits");var i=e("./_stream_readable"),a=e("./_stream_writable");s.inherits(c,i);for(var u=o(a.prototype),d=0;d<u.length;d++){var l=u[d];c.prototype[l]||(c.prototype[l]=a.prototype[l])}function c(e){if(!(this instanceof c))return new c(e);i.call(this,e),a.call(this,e),e&&!1===e.readable&&(this.readable=!1),e&&!1===e.writable&&(this.writable=!1),this.allowHalfOpen=!0,e&&!1===e.allowHalfOpen&&(this.allowHalfOpen=!1),this.once("end",f)}function f(){this.allowHalfOpen||this._writableState.ended||n(h,this)}function h(e){e.end()}Object.defineProperty(c.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&this._readableState.destroyed&&this._writableState.destroyed},set:function(e){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=e,this._writableState.destroyed=e)}}),c.prototype._destroy=function(e,t){this.push(null),this.end(),n(t,e)}},{"./_stream_readable":"/Users/jnordberg/Development/dsteem/node_modules/readable-stream/lib/_stream_readable.js","./_stream_writable":"/Users/jnordberg/Development/dsteem/node_modules/readable-stream/lib/_stream_writable.js","core-util-is":"/Users/jnordberg/Development/dsteem/node_modules/core-util-is/lib/util.js",inherits:"/Users/jnordberg/Development/dsteem/node_modules/inherits/inherits_browser.js","process-nextick-args":"/Users/jnordberg/Development/dsteem/node_modules/process-nextick-args/index.js"}],"/Users/jnordberg/Development/dsteem/node_modules/readable-stream/lib/_stream_passthrough.js":[function(e,t,r){"use strict";t.exports=s;var n=e("./_stream_transform"),o=e("core-util-is");function s(e){if(!(this instanceof s))return new s(e);n.call(this,e)}o.inherits=e("inherits"),o.inherits(s,n),s.prototype._transform=function(e,t,r){r(null,e)}},{"./_stream_transform":"/Users/jnordberg/Development/dsteem/node_modules/readable-stream/lib/_stream_transform.js","core-util-is":"/Users/jnordberg/Development/dsteem/node_modules/core-util-is/lib/util.js",inherits:"/Users/jnordberg/Development/dsteem/node_modules/inherits/inherits_browser.js"}],"/Users/jnordberg/Development/dsteem/node_modules/readable-stream/lib/_stream_readable.js":[function(e,t,r){(function(r,n){"use strict";var o=e("process-nextick-args");t.exports=_;var s,i=e("isarray");_.ReadableState=v,e("events");var a=function(e,t){return e.listeners(t).length},u=e("./internal/streams/stream"),d=e("safe-buffer").Buffer,l=n.Uint8Array||function(){},c=e("core-util-is");c.inherits=e("inherits");var f=e("util"),h=void 0;h=f&&f.debuglog?f.debuglog("stream"):function(){};var p,m=e("./internal/streams/BufferList"),b=e("./internal/streams/destroy");c.inherits(_,u);var g=["error","close","destroy","pause","resume"];function v(t,r){s=s||e("./_stream_duplex"),this.objectMode=!!(t=t||{}).objectMode,r instanceof s&&(this.objectMode=this.objectMode||!!t.readableObjectMode);var n=t.highWaterMark;this.highWaterMark=n||0===n?n:this.objectMode?16:16384,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new m,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=t.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(p||(p=e("string_decoder/").StringDecoder),this.decoder=new p(t.encoding),this.encoding=t.encoding)}function _(t){if(s=s||e("./_stream_duplex"),!(this instanceof _))return new _(t);this._readableState=new v(t,this),this.readable=!0,t&&("function"==typeof t.read&&(this._read=t.read),"function"==typeof t.destroy&&(this._destroy=t.destroy)),u.call(this)}function y(e,t,r,n,o){var s,i=e._readableState;return null===t?(i.reading=!1,function(e,t){if(!t.ended){if(t.decoder){var r=t.decoder.end();r&&r.length&&(t.buffer.push(r),t.length+=t.objectMode?1:r.length)}t.ended=!0,D(e)}}(e,i)):(o||(s=function(e,t){var r,n;return d.isBuffer(n=t)||n instanceof l||"string"==typeof t||void 0===t||e.objectMode||(r=new TypeError("Invalid non-string/buffer chunk")),r}(i,t)),s?e.emit("error",s):i.objectMode||t&&t.length>0?("string"==typeof t||i.objectMode||Object.getPrototypeOf(t)===d.prototype||(t=function(e){return d.from(e)}(t)),n?i.endEmitted?e.emit("error",new Error("stream.unshift() after end event")):w(e,i,t,!0):i.ended?e.emit("error",new Error("stream.push() after EOF")):(i.reading=!1,i.decoder&&!r?(t=i.decoder.write(t),i.objectMode||0!==t.length?w(e,i,t,!1):S(e,i)):w(e,i,t,!1))):n||(i.reading=!1)),function(e){return!e.ended&&(e.needReadable||e.length<e.highWaterMark||0===e.length)}(i)}function w(e,t,r,n){t.flowing&&0===t.length&&!t.sync?(e.emit("data",r),e.read(0)):(t.length+=t.objectMode?1:r.length,n?t.buffer.unshift(r):t.buffer.push(r),t.needReadable&&D(e)),S(e,t)}Object.defineProperty(_.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),_.prototype.destroy=b.destroy,_.prototype._undestroy=b.undestroy,_.prototype._destroy=function(e,t){this.push(null),t(e)},_.prototype.push=function(e,t){var r,n=this._readableState;return n.objectMode?r=!0:"string"==typeof e&&((t=t||n.defaultEncoding)!==n.encoding&&(e=d.from(e,t),t=""),r=!0),y(this,e,t,!1,r)},_.prototype.unshift=function(e){return y(this,e,null,!0,!1)},_.prototype.isPaused=function(){return!1===this._readableState.flowing},_.prototype.setEncoding=function(t){return p||(p=e("string_decoder/").StringDecoder),this._readableState.decoder=new p(t),this._readableState.encoding=t,this};var j=8388608;function E(e,t){return e<=0||0===t.length&&t.ended?0:t.objectMode?1:e!=e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=function(e){return e>=j?e=j:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function D(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(h("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?o(x,e):x(e))}function x(e){h("emit readable"),e.emit("readable"),I(e)}function S(e,t){t.readingMore||(t.readingMore=!0,o(U,e,t))}function U(e,t){for(var r=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length<t.highWaterMark&&(h("maybeReadMore read 0"),e.read(0),r!==t.length);)r=t.length;t.readingMore=!1}function k(e){h("readable nexttick read 0"),e.read(0)}function A(e,t){t.reading||(h("resume read 0"),e.read(0)),t.resumeScheduled=!1,t.awaitDrain=0,e.emit("resume"),I(e),t.flowing&&!t.reading&&e.read(0)}function I(e){var t=e._readableState;for(h("flow",t.flowing);t.flowing&&null!==e.read(););}function C(e,t){return 0===t.length?null:(t.objectMode?r=t.buffer.shift():!e||e>=t.length?(r=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.head.data:t.buffer.concat(t.length),t.buffer.clear()):r=function(e,t,r){var n;return e<t.head.data.length?(n=t.head.data.slice(0,e),t.head.data=t.head.data.slice(e)):n=e===t.head.data.length?t.shift():r?function(e,t){var r=t.head,n=1,o=r.data;for(e-=o.length;r=r.next;){var s=r.data,i=e>s.length?s.length:e;if(o+=i===s.length?s:s.slice(0,e),0==(e-=i)){i===s.length?(++n,t.head=r.next?r.next:t.tail=null):(t.head=r,r.data=s.slice(i));break}++n}return t.length-=n,o}(e,t):function(e,t){var r=d.allocUnsafe(e),n=t.head,o=1;for(n.data.copy(r),e-=n.data.length;n=n.next;){var s=n.data,i=e>s.length?s.length:e;if(s.copy(r,r.length-e,0,i),0==(e-=i)){i===s.length?(++o,t.head=n.next?n.next:t.tail=null):(t.head=n,n.data=s.slice(i));break}++o}return t.length-=o,r}(e,t),n}(e,t.buffer,t.decoder),r);var r}function T(e){var t=e._readableState;if(t.length>0)throw new Error('"endReadable()" called on non-empty stream');t.endEmitted||(t.ended=!0,o(M,t,e))}function M(e,t){e.endEmitted||0!==e.length||(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function O(e,t){for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1}_.prototype.read=function(e){h("read",e),e=parseInt(e,10);var t=this._readableState,r=e;if(0!==e&&(t.emittedReadable=!1),0===e&&t.needReadable&&(t.length>=t.highWaterMark||t.ended))return h("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?T(this):D(this),null;if(0===(e=E(e,t))&&t.ended)return 0===t.length&&T(this),null;var n,o=t.needReadable;return h("need readable",o),(0===t.length||t.length-e<t.highWaterMark)&&h("length less than watermark",o=!0),t.ended||t.reading?h("reading or ended",o=!1):o&&(h("do read"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=E(r,t))),null===(n=e>0?C(e,t):null)?(t.needReadable=!0,e=0):t.length-=e,0===t.length&&(t.ended||(t.needReadable=!0),r!==e&&t.ended&&T(this)),null!==n&&this.emit("data",n),n},_.prototype._read=function(e){this.emit("error",new Error("_read() is not implemented"))},_.prototype.pipe=function(e,t){var n=this,s=this._readableState;switch(s.pipesCount){case 0:s.pipes=e;break;case 1:s.pipes=[s.pipes,e];break;default:s.pipes.push(e)}s.pipesCount+=1,h("pipe count=%d opts=%j",s.pipesCount,t);var u=t&&!1===t.end||e===r.stdout||e===r.stderr?v:d;function d(){h("onend"),e.end()}s.endEmitted?o(u):n.once("end",u),e.on("unpipe",function t(r,o){h("onunpipe"),r===n&&o&&!1===o.hasUnpiped&&(o.hasUnpiped=!0,h("cleanup"),e.removeListener("close",b),e.removeListener("finish",g),e.removeListener("drain",l),e.removeListener("error",m),e.removeListener("unpipe",t),n.removeListener("end",d),n.removeListener("end",v),n.removeListener("data",p),c=!0,!s.awaitDrain||e._writableState&&!e._writableState.needDrain||l())});var l=function(e){return function(){var t=e._readableState;h("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&a(e,"data")&&(t.flowing=!0,I(e))}}(n);e.on("drain",l);var c=!1,f=!1;function p(t){h("ondata"),f=!1,!1!==e.write(t)||f||((1===s.pipesCount&&s.pipes===e||s.pipesCount>1&&-1!==O(s.pipes,e))&&!c&&(h("false write response, pause",n._readableState.awaitDrain),n._readableState.awaitDrain++,f=!0),n.pause())}function m(t){h("onerror",t),v(),e.removeListener("error",m),0===a(e,"error")&&e.emit("error",t)}function b(){e.removeListener("finish",g),v()}function g(){h("onfinish"),e.removeListener("close",b),v()}function v(){h("unpipe"),n.unpipe(e)}return n.on("data",p),function(e,t,r){if("function"==typeof e.prependListener)return e.prependListener("error",r);e._events&&e._events.error?i(e._events.error)?e._events.error.unshift(r):e._events.error=[r,e._events.error]:e.on("error",r)}(e,0,m),e.once("close",b),e.once("finish",g),e.emit("pipe",n),s.flowing||(h("pipe resume"),n.resume()),e},_.prototype.unpipe=function(e){var t=this._readableState,r={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes?this:(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,r),this);if(!e){var n=t.pipes,o=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var s=0;s<o;s++)n[s].emit("unpipe",this,r);return this}var i=O(t.pipes,e);return-1===i?this:(t.pipes.splice(i,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,r),this)},_.prototype.addListener=_.prototype.on=function(e,t){var r=u.prototype.on.call(this,e,t);if("data"===e)!1!==this._readableState.flowing&&this.resume();else if("readable"===e){var n=this._readableState;n.endEmitted||n.readableListening||(n.readableListening=n.needReadable=!0,n.emittedReadable=!1,n.reading?n.length&&D(this):o(k,this))}return r},_.prototype.resume=function(){var e=this._readableState;return e.flowing||(h("resume"),e.flowing=!0,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,o(A,e,t))}(this,e)),this},_.prototype.pause=function(){return h("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(h("pause"),this._readableState.flowing=!1,this.emit("pause")),this},_.prototype.wrap=function(e){var t=this._readableState,r=!1,n=this;for(var o in e.on("end",function(){if(h("wrapped end"),t.decoder&&!t.ended){var e=t.decoder.end();e&&e.length&&n.push(e)}n.push(null)}),e.on("data",function(o){h("wrapped data"),t.decoder&&(o=t.decoder.write(o)),(!t.objectMode||null!==o&&void 0!==o)&&(t.objectMode||o&&o.length)&&(n.push(o)||(r=!0,e.pause()))}),e)void 0===this[o]&&"function"==typeof e[o]&&(this[o]=function(t){return function(){return e[t].apply(e,arguments)}}(o));for(var s=0;s<g.length;s++)e.on(g[s],n.emit.bind(n,g[s]));return n._read=function(t){h("wrapped _read",t),r&&(r=!1,e.resume())},n},_._fromList=C}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./_stream_duplex":"/Users/jnordberg/Development/dsteem/node_modules/readable-stream/lib/_stream_duplex.js","./internal/streams/BufferList":"/Users/jnordberg/Development/dsteem/node_modules/readable-stream/lib/internal/streams/BufferList.js","./internal/streams/destroy":"/Users/jnordberg/Development/dsteem/node_modules/readable-stream/lib/internal/streams/destroy.js","./internal/streams/stream":"/Users/jnordberg/Development/dsteem/node_modules/readable-stream/lib/internal/streams/stream-browser.js",_process:"/Users/jnordberg/Development/dsteem/node_modules/process/browser.js","core-util-is":"/Users/jnordberg/Development/dsteem/node_modules/core-util-is/lib/util.js",events:"/Users/jnordberg/Development/dsteem/node_modules/events/events.js",inherits:"/Users/jnordberg/Development/dsteem/node_modules/inherits/inherits_browser.js",isarray:"/Users/jnordberg/Development/dsteem/node_modules/readable-stream/node_modules/isarray/index.js","process-nextick-args":"/Users/jnordberg/Development/dsteem/node_modules/process-nextick-args/index.js","safe-buffer":"/Users/jnordberg/Development/dsteem/node_modules/safe-buffer/index.js","string_decoder/":"/Users/jnordberg/Development/dsteem/node_modules/readable-stream/node_modules/string_decoder/lib/string_decoder.js",util:"/Users/jnordberg/Development/dsteem/node_modules/browser-resolve/empty.js"}],"/Users/jnordberg/Development/dsteem/node_modules/readable-stream/lib/_stream_transform.js":[function(e,t,r){"use strict";t.exports=s;var n=e("./_stream_duplex"),o=e("core-util-is");function s(e){if(!(this instanceof s))return new s(e);n.call(this,e),this._transformState=new function(e){this.afterTransform=function(t,r){return function(e,t,r){var n=e._transformState;n.transforming=!1;var o=n.writecb;if(!o)return e.emit("error",new Error("write callback called multiple times"));n.writechunk=null,n.writecb=null,null!==r&&void 0!==r&&e.push(r),o(t);var s=e._readableState;s.reading=!1,(s.needReadable||s.length<s.highWaterMark)&&e._read(s.highWaterMark)}(e,t,r)},this.needTransform=!1,this.transforming=!1,this.writecb=null,this.writechunk=null,this.writeencoding=null}(this);var t=this;this._readableState.needReadable=!0,this._readableState.sync=!1,e&&("function"==typeof e.transform&&(this._transform=e.transform),"function"==typeof e.flush&&(this._flush=e.flush)),this.once("prefinish",function(){"function"==typeof this._flush?this._flush(function(e,r){i(t,e,r)}):i(t)})}function i(e,t,r){if(t)return e.emit("error",t);null!==r&&void 0!==r&&e.push(r);var n=e._transformState;if(e._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(n.transforming)throw new Error("Calling transform done when still transforming");return e.push(null)}o.inherits=e("inherits"),o.inherits(s,n),s.prototype.push=function(e,t){return this._transformState.needTransform=!1,n.prototype.push.call(this,e,t)},s.prototype._transform=function(e,t,r){throw new Error("_transform() is not implemented")},s.prototype._write=function(e,t,r){var n=this._transformState;if(n.writecb=r,n.writechunk=e,n.writeencoding=t,!n.transforming){var o=this._readableState;(n.needTransform||o.needReadable||o.length<o.highWaterMark)&&this._read(o.highWaterMark)}},s.prototype._read=function(e){var t=this._transformState;null!==t.writechunk&&t.writecb&&!t.transforming?(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform)):t.needTransform=!0},s.prototype._destroy=function(e,t){var r=this;n.prototype._destroy.call(this,e,function(e){t(e),r.emit("close")})}},{"./_stream_duplex":"/Users/jnordberg/Development/dsteem/node_modules/readable-stream/lib/_stream_duplex.js","core-util-is":"/Users/jnordberg/Development/dsteem/node_modules/core-util-is/lib/util.js",inherits:"/Users/jnordberg/Development/dsteem/node_modules/inherits/inherits_browser.js"}],"/Users/jnordberg/Development/dsteem/node_modules/readable-stream/lib/_stream_writable.js":[function(e,t,r){(function(r,n){"use strict";var o=e("process-nextick-args");function s(e){var t=this;this.next=null,this.entry=null,this.finish=function(){!function(e,t,r){var n=e.entry;for(e.entry=null;n;){var o=n.callback;t.pendingcb--,o(void 0),n=n.next}t.corkedRequestsFree?t.corkedRequestsFree.next=e:t.corkedRequestsFree=e}(t,e)}}t.exports=g;var i,a=!r.browser&&["v0.10","v0.9."].indexOf(r.version.slice(0,5))>-1?setImmediate:o;g.WritableState=b;var u=e("core-util-is");u.inherits=e("inherits");var d,l={deprecate:e("util-deprecate")},c=e("./internal/streams/stream"),f=e("safe-buffer").Buffer,h=n.Uint8Array||function(){},p=e("./internal/streams/destroy");function m(){}function b(t,r){i=i||e("./_stream_duplex"),this.objectMode=!!(t=t||{}).objectMode,r instanceof i&&(this.objectMode=this.objectMode||!!t.writableObjectMode);var n=t.highWaterMark;this.highWaterMark=n||0===n?n:this.objectMode?16:16384,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1,this.decodeStrings=!(!1===t.decodeStrings),this.defaultEncoding=t.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){!function(e,t){var r=e._writableState,n=r.sync,s=r.writecb;if(function(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}(r),t)!function(e,t,r,n,s){--t.pendingcb,r?(o(s,n),o(E,e,t),e._writableState.errorEmitted=!0,e.emit("error",n)):(s(n),e._writableState.errorEmitted=!0,e.emit("error",n),E(e,t))}(e,r,n,t,s);else{var i=w(r);i||r.corked||r.bufferProcessing||!r.bufferedRequest||y(e,r),n?a(_,e,r,i,s):_(e,r,i,s)}}(r,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new s(this)}function g(t){if(i=i||e("./_stream_duplex"),!(d.call(g,this)||this instanceof i))return new g(t);this._writableState=new b(t,this),this.writable=!0,t&&("function"==typeof t.write&&(this._write=t.write),"function"==typeof t.writev&&(this._writev=t.writev),"function"==typeof t.destroy&&(this._destroy=t.destroy),"function"==typeof t.final&&(this._final=t.final)),c.call(this)}function v(e,t,r,n,o,s,i){t.writelen=n,t.writecb=i,t.writing=!0,t.sync=!0,r?e._writev(o,t.onwrite):e._write(o,s,t.onwrite),t.sync=!1}function _(e,t,r,n){r||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,n(),E(e,t)}function y(e,t){t.bufferProcessing=!0;var r=t.bufferedRequest;if(e._writev&&r&&r.next){var n=new Array(t.bufferedRequestCount),o=t.corkedRequestsFree;o.entry=r;for(var i=0,a=!0;r;)n[i]=r,r.isBuf||(a=!1),r=r.next,i+=1;n.allBuffers=a,v(e,t,!0,t.length,n,"",o.finish),t.pendingcb++,t.lastBufferedRequest=null,o.next?(t.corkedRequestsFree=o.next,o.next=null):t.corkedRequestsFree=new s(t)}else{for(;r;){var u=r.chunk;if(v(e,t,!1,t.objectMode?1:u.length,u,r.encoding,r.callback),r=r.next,t.writing)break}null===r&&(t.lastBufferedRequest=null)}t.bufferedRequestCount=0,t.bufferedRequest=r,t.bufferProcessing=!1}function w(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function j(e,t){e._final(function(r){t.pendingcb--,r&&e.emit("error",r),t.prefinished=!0,e.emit("prefinish"),E(e,t)})}function E(e,t){var r=w(t);return r&&(function(e,t){t.prefinished||t.finalCalled||("function"==typeof e._final?(t.pendingcb++,t.finalCalled=!0,o(j,e,t)):(t.prefinished=!0,e.emit("prefinish")))}(e,t),0===t.pendingcb&&(t.finished=!0,e.emit("finish"))),r}u.inherits(g,c),b.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(b.prototype,"buffer",{get:l.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(d=Function.prototype[Symbol.hasInstance],Object.defineProperty(g,Symbol.hasInstance,{value:function(e){return!!d.call(this,e)||e&&e._writableState instanceof b}})):d=function(e){return e instanceof this},g.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},g.prototype.write=function(e,t,r){var n,s=this._writableState,i=!1,a=(f.isBuffer(n=e)||n instanceof h)&&!s.objectMode;return a&&!f.isBuffer(e)&&(e=function(e){return f.from(e)}(e)),"function"==typeof t&&(r=t,t=null),a?t="buffer":t||(t=s.defaultEncoding),"function"!=typeof r&&(r=m),s.ended?function(e,t){var r=new Error("write after end");e.emit("error",r),o(t,r)}(this,r):(a||function(e,t,r,n){var s=!0,i=!1;return null===r?i=new TypeError("May not write null values to stream"):"string"==typeof r||void 0===r||t.objectMode||(i=new TypeError("Invalid non-string/buffer chunk")),i&&(e.emit("error",i),o(n,i),s=!1),s}(this,s,e,r))&&(s.pendingcb++,i=function(e,t,r,n,o,s){if(!r){var i=function(e,t,r){return e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=f.from(t,r)),t}(t,n,o);n!==i&&(r=!0,o="buffer",n=i)}var a=t.objectMode?1:n.length;t.length+=a;var u=t.length<t.highWaterMark;if(u||(t.needDrain=!0),t.writing||t.corked){var d=t.lastBufferedRequest;t.lastBufferedRequest={chunk:n,encoding:o,isBuf:r,callback:s,next:null},d?d.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else v(e,t,!1,a,n,o,s);return u}(this,s,a,e,t,r)),i},g.prototype.cork=function(){this._writableState.corked++},g.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.finished||e.bufferProcessing||!e.bufferedRequest||y(this,e))},g.prototype.setDefaultEncoding=function(e){if("string"==typeof e&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+e);return this._writableState.defaultEncoding=e,this},g.prototype._write=function(e,t,r){r(new Error("_write() is not implemented"))},g.prototype._writev=null,g.prototype.end=function(e,t,r){var n=this._writableState;"function"==typeof e?(r=e,e=null,t=null):"function"==typeof t&&(r=t,t=null),null!==e&&void 0!==e&&this.write(e,t),n.corked&&(n.corked=1,this.uncork()),n.ending||n.finished||function(e,t,r){t.ending=!0,E(e,t),r&&(t.finished?o(r):e.once("finish",r)),t.ended=!0,e.writable=!1}(this,n,r)},Object.defineProperty(g.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),g.prototype.destroy=p.destroy,g.prototype._undestroy=p.undestroy,g.prototype._destroy=function(e,t){this.end(),t(e)}}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./_stream_duplex":"/Users/jnordberg/Development/dsteem/node_modules/readable-stream/lib/_stream_duplex.js","./internal/streams/destroy":"/Users/jnordberg/Development/dsteem/node_modules/readable-stream/lib/internal/streams/destroy.js","./internal/streams/stream":"/Users/jnordberg/Development/dsteem/node_modules/readable-stream/lib/internal/streams/stream-browser.js",_process:"/Users/jnordberg/Development/dsteem/node_modules/process/browser.js","core-util-is":"/Users/jnordberg/Development/dsteem/node_modules/core-util-is/lib/util.js",inherits:"/Users/jnordberg/Development/dsteem/node_modules/inherits/inherits_browser.js","process-nextick-args":"/Users/jnordberg/Development/dsteem/node_modules/process-nextick-args/index.js","safe-buffer":"/Users/jnordberg/Development/dsteem/node_modules/safe-buffer/index.js","util-deprecate":"/Users/jnordberg/Development/dsteem/node_modules/util-deprecate/browser.js"}],"/Users/jnordberg/Development/dsteem/node_modules/readable-stream/lib/internal/streams/BufferList.js":[function(e,t,r){"use strict";var n=e("safe-buffer").Buffer;t.exports=function(){function e(){!function(t,r){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this),this.head=null,this.tail=null,this.length=0}return e.prototype.push=function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length},e.prototype.unshift=function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length},e.prototype.shift=function(){if(0!==this.length){var e=this.head.data;return this.head=1===this.length?this.tail=null:this.head.next,--this.length,e}},e.prototype.clear=function(){this.head=this.tail=null,this.length=0},e.prototype.join=function(e){if(0===this.length)return"";for(var t=this.head,r=""+t.data;t=t.next;)r+=e+t.data;return r},e.prototype.concat=function(e){if(0===this.length)return n.alloc(0);if(1===this.length)return this.head.data;for(var t=n.allocUnsafe(e>>>0),r=this.head,o=0;r;)r.data.copy(t,o),o+=r.data.length,r=r.next;return t},e}()},{"safe-buffer":"/Users/jnordberg/Development/dsteem/node_modules/safe-buffer/index.js"}],"/Users/jnordberg/Development/dsteem/node_modules/readable-stream/lib/internal/streams/destroy.js":[function(e,t,r){"use strict";var n=e("process-nextick-args");function o(e,t){e.emit("error",t)}t.exports={destroy:function(e,t){var r=this;this._readableState&&this._readableState.destroyed||this._writableState&&this._writableState.destroyed?t?t(e):!e||this._writableState&&this._writableState.errorEmitted||n(o,this,e):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,function(e){!t&&e?(n(o,r,e),r._writableState&&(r._writableState.errorEmitted=!0)):t&&t(e)}))},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}}},{"process-nextick-args":"/Users/jnordberg/Development/dsteem/node_modules/process-nextick-args/index.js"}],"/Users/jnordberg/Development/dsteem/node_modules/readable-stream/lib/internal/streams/stream-browser.js":[function(e,t,r){t.exports=e("events").EventEmitter},{events:"/Users/jnordberg/Development/dsteem/node_modules/events/events.js"}],"/Users/jnordberg/Development/dsteem/node_modules/readable-stream/node_modules/isarray/index.js":[function(e,t,r){var n={}.toString;t.exports=Array.isArray||function(e){return"[object Array]"==n.call(e)}},{}],"/Users/jnordberg/Development/dsteem/node_modules/readable-stream/node_modules/string_decoder/lib/string_decoder.js":[function(e,t,r){arguments[4]["/Users/jnordberg/Development/dsteem/node_modules/browserify/node_modules/string_decoder/lib/string_decoder.js"][0].apply(r,arguments)},{"safe-buffer":"/Users/jnordberg/Development/dsteem/node_modules/safe-buffer/index.js"}],"/Users/jnordberg/Development/dsteem/node_modules/readable-stream/passthrough.js":[function(e,t,r){t.exports=e("./readable").PassThrough},{"./readable":"/Users/jnordberg/Development/dsteem/node_modules/readable-stream/readable-browser.js"}],"/Users/jnordberg/Development/dsteem/node_modules/readable-stream/readable-browser.js":[function(e,t,r){(r=t.exports=e("./lib/_stream_readable.js")).Stream=r,r.Readable=r,r.Writable=e("./lib/_stream_writable.js"),r.Duplex=e("./lib/_stream_duplex.js"),r.Transform=e("./lib/_stream_transform.js"),r.PassThrough=e("./lib/_stream_passthrough.js")},{"./lib/_stream_duplex.js":"/Users/jnordberg/Development/dsteem/node_modules/readable-stream/lib/_stream_duplex.js","./lib/_stream_passthrough.js":"/Users/jnordberg/Development/dsteem/node_modules/readable-stream/lib/_stream_passthrough.js","./lib/_stream_readable.js":"/Users/jnordberg/Development/dsteem/node_modules/readable-stream/lib/_stream_readable.js","./lib/_stream_transform.js":"/Users/jnordberg/Development/dsteem/node_modules/readable-stream/lib/_stream_transform.js","./lib/_stream_writable.js":"/Users/jnordberg/Development/dsteem/node_modules/readable-stream/lib/_stream_writable.js"}],"/Users/jnordberg/Development/dsteem/node_modules/readable-stream/transform.js":[function(e,t,r){t.exports=e("./readable").Transform},{"./readable":"/Users/jnordberg/Development/dsteem/node_modules/readable-stream/readable-browser.js"}],"/Users/jnordberg/Development/dsteem/node_modules/readable-stream/writable-browser.js":[function(e,t,r){t.exports=e("./lib/_stream_writable.js")},{"./lib/_stream_writable.js":"/Users/jnordberg/Development/dsteem/node_modules/readable-stream/lib/_stream_writable.js"}],"/Users/jnordberg/Development/dsteem/node_modules/regenerator-runtime/runtime.js":[function(e,t,r){!function(e){"use strict";var r,n=Object.prototype,o=n.hasOwnProperty,s="function"==typeof Symbol?Symbol:{},i=s.iterator||"@@iterator",a=s.asyncIterator||"@@asyncIterator",u=s.toStringTag||"@@toStringTag",d="object"==typeof t,l=e.regeneratorRuntime;if(l)d&&(t.exports=l);else{(l=e.regeneratorRuntime=d?t.exports:{}).wrap=y;var c="suspendedStart",f="suspendedYield",h="executing",p="completed",m={},b={};b[i]=function(){return this};var g=Object.getPrototypeOf,v=g&&g(g(C([])));v&&v!==n&&o.call(v,i)&&(b=v);var _=D.prototype=j.prototype=Object.create(b);E.prototype=_.constructor=D,D.constructor=E,D[u]=E.displayName="GeneratorFunction",l.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===E||"GeneratorFunction"===(t.displayName||t.name))},l.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,D):(e.__proto__=D,u in e||(e[u]="GeneratorFunction")),e.prototype=Object.create(_),e},l.awrap=function(e){return{__await:e}},x(S.prototype),S.prototype[a]=function(){return this},l.AsyncIterator=S,l.async=function(e,t,r,n){var o=new S(y(e,t,r,n));return l.isGeneratorFunction(t)?o:o.next().then(function(e){return e.done?e.value:o.next()})},x(_),_[u]="Generator",_[i]=function(){return this},_.toString=function(){return"[object Generator]"},l.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},l.values=C,I.prototype={constructor:I,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=r,this.done=!1,this.delegate=null,this.method="next",this.arg=r,this.tryEntries.forEach(A),!e)for(var t in this)"t"===t.charAt(0)&&o.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=r)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(n,o){return a.type="throw",a.arg=e,t.next=n,o&&(t.method="next",t.arg=r),!!o}for(var s=this.tryEntries.length-1;s>=0;--s){var i=this.tryEntries[s],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var u=o.call(i,"catchLoc"),d=o.call(i,"finallyLoc");if(u&&d){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!d)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var s=n;break}}s&&("break"===e||"continue"===e)&&s.tryLoc<=t&&t<=s.finallyLoc&&(s=null);var i=s?s.completion:{};return i.type=e,i.arg=t,s?(this.method="next",this.next=s.finallyLoc,m):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),m},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),A(r),m}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:C(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=r),m}}}function y(e,t,r,n){var o=Object.create((t&&t.prototype instanceof j?t:j).prototype),s=new I(n||[]);return o._invoke=function(e,t,r){var n=c;return function(o,s){if(n===h)throw new Error("Generator is already running");if(n===p){if("throw"===o)throw s;return T()}for(r.method=o,r.arg=s;;){var i=r.delegate;if(i){var a=U(i,r);if(a){if(a===m)continue;return a}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===c)throw n=p,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=h;var u=w(e,t,r);if("normal"===u.type){if(n=r.done?p:f,u.arg===m)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n=p,r.method="throw",r.arg=u.arg)}}}(e,r,s),o}function w(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}function j(){}function E(){}function D(){}function x(e){["next","throw","return"].forEach(function(t){e[t]=function(e){return this._invoke(t,e)}})}function S(e){var t;this._invoke=function(r,n){function s(){return new Promise(function(t,s){!function t(r,n,s,i){var a=w(e[r],e,n);if("throw"!==a.type){var u=a.arg,d=u.value;return d&&"object"==typeof d&&o.call(d,"__await")?Promise.resolve(d.__await).then(function(e){t("next",e,s,i)},function(e){t("throw",e,s,i)}):Promise.resolve(d).then(function(e){u.value=e,s(u)},i)}i(a.arg)}(r,n,t,s)})}return t=t?t.then(s,s):s()}}function U(e,t){var n=e.iterator[t.method];if(n===r){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=r,U(e,t),"throw"===t.method))return m;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return m}var o=w(n,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,m;var s=o.arg;return s?s.done?(t[e.resultName]=s.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=r),t.delegate=null,m):s:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,m)}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function I(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function C(e){if(e){var t=e[i];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,s=function t(){for(;++n<e.length;)if(o.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=r,t.done=!0,t};return s.next=s}}return{next:T}}function T(){return{value:r,done:!0}}}(function(){return this}()||Function("return this")())},{}],"/Users/jnordberg/Development/dsteem/node_modules/ripemd160/index.js":[function(e,t,r){(function(r){"use strict";var n=e("inherits"),o=e("hash-base");function s(){o.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520}function i(e,t){return e<<t|e>>>32-t}function a(e,t,r,n,o,s,a,u){return i(e+(t^r^n)+s+a|0,u)+o|0}function u(e,t,r,n,o,s,a,u){return i(e+(t&r|~t&n)+s+a|0,u)+o|0}function d(e,t,r,n,o,s,a,u){return i(e+((t|~r)^n)+s+a|0,u)+o|0}function l(e,t,r,n,o,s,a,u){return i(e+(t&n|r&~n)+s+a|0,u)+o|0}function c(e,t,r,n,o,s,a,u){return i(e+(t^(r|~n))+s+a|0,u)+o|0}n(s,o),s.prototype._update=function(){for(var e=new Array(16),t=0;t<16;++t)e[t]=this._block.readInt32LE(4*t);var r=this._a,n=this._b,o=this._c,s=this._d,f=this._e;f=a(f,r=a(r,n,o,s,f,e[0],0,11),n,o=i(o,10),s,e[1],0,14),n=a(n=i(n,10),o=a(o,s=a(s,f,r,n,o,e[2],0,15),f,r=i(r,10),n,e[3],0,12),s,f=i(f,10),r,e[4],0,5),s=a(s=i(s,10),f=a(f,r=a(r,n,o,s,f,e[5],0,8),n,o=i(o,10),s,e[6],0,7),r,n=i(n,10),o,e[7],0,9),r=a(r=i(r,10),n=a(n,o=a(o,s,f,r,n,e[8],0,11),s,f=i(f,10),r,e[9],0,13),o,s=i(s,10),f,e[10],0,14),o=a(o=i(o,10),s=a(s,f=a(f,r,n,o,s,e[11],0,15),r,n=i(n,10),o,e[12],0,6),f,r=i(r,10),n,e[13],0,7),f=u(f=i(f,10),r=a(r,n=a(n,o,s,f,r,e[14],0,9),o,s=i(s,10),f,e[15],0,8),n,o=i(o,10),s,e[7],1518500249,7),n=u(n=i(n,10),o=u(o,s=u(s,f,r,n,o,e[4],1518500249,6),f,r=i(r,10),n,e[13],1518500249,8),s,f=i(f,10),r,e[1],1518500249,13),s=u(s=i(s,10),f=u(f,r=u(r,n,o,s,f,e[10],1518500249,11),n,o=i(o,10),s,e[6],1518500249,9),r,n=i(n,10),o,e[15],1518500249,7),r=u(r=i(r,10),n=u(n,o=u(o,s,f,r,n,e[3],1518500249,15),s,f=i(f,10),r,e[12],1518500249,7),o,s=i(s,10),f,e[0],1518500249,12),o=u(o=i(o,10),s=u(s,f=u(f,r,n,o,s,e[9],1518500249,15),r,n=i(n,10),o,e[5],1518500249,9),f,r=i(r,10),n,e[2],1518500249,11),f=u(f=i(f,10),r=u(r,n=u(n,o,s,f,r,e[14],1518500249,7),o,s=i(s,10),f,e[11],1518500249,13),n,o=i(o,10),s,e[8],1518500249,12),n=d(n=i(n,10),o=d(o,s=d(s,f,r,n,o,e[3],1859775393,11),f,r=i(r,10),n,e[10],1859775393,13),s,f=i(f,10),r,e[14],1859775393,6),s=d(s=i(s,10),f=d(f,r=d(r,n,o,s,f,e[4],1859775393,7),n,o=i(o,10),s,e[9],1859775393,14),r,n=i(n,10),o,e[15],1859775393,9),r=d(r=i(r,10),n=d(n,o=d(o,s,f,r,n,e[8],1859775393,13),s,f=i(f,10),r,e[1],1859775393,15),o,s=i(s,10),f,e[2],1859775393,14),o=d(o=i(o,10),s=d(s,f=d(f,r,n,o,s,e[7],1859775393,8),r,n=i(n,10),o,e[0],1859775393,13),f,r=i(r,10),n,e[6],1859775393,6),f=d(f=i(f,10),r=d(r,n=d(n,o,s,f,r,e[13],1859775393,5),o,s=i(s,10),f,e[11],1859775393,12),n,o=i(o,10),s,e[5],1859775393,7),n=l(n=i(n,10),o=l(o,s=d(s,f,r,n,o,e[12],1859775393,5),f,r=i(r,10),n,e[1],2400959708,11),s,f=i(f,10),r,e[9],2400959708,12),s=l(s=i(s,10),f=l(f,r=l(r,n,o,s,f,e[11],2400959708,14),n,o=i(o,10),s,e[10],2400959708,15),r,n=i(n,10),o,e[0],2400959708,14),r=l(r=i(r,10),n=l(n,o=l(o,s,f,r,n,e[8],2400959708,15),s,f=i(f,10),r,e[12],2400959708,9),o,s=i(s,10),f,e[4],2400959708,8),o=l(o=i(o,10),s=l(s,f=l(f,r,n,o,s,e[13],2400959708,9),r,n=i(n,10),o,e[3],2400959708,14),f,r=i(r,10),n,e[7],2400959708,5),f=l(f=i(f,10),r=l(r,n=l(n,o,s,f,r,e[15],2400959708,6),o,s=i(s,10),f,e[14],2400959708,8),n,o=i(o,10),s,e[5],2400959708,6),n=c(n=i(n,10),o=l(o,s=l(s,f,r,n,o,e[6],2400959708,5),f,r=i(r,10),n,e[2],2400959708,12),s,f=i(f,10),r,e[4],2840853838,9),s=c(s=i(s,10),f=c(f,r=c(r,n,o,s,f,e[0],2840853838,15),n,o=i(o,10),s,e[5],2840853838,5),r,n=i(n,10),o,e[9],2840853838,11),r=c(r=i(r,10),n=c(n,o=c(o,s,f,r,n,e[7],2840853838,6),s,f=i(f,10),r,e[12],2840853838,8),o,s=i(s,10),f,e[2],2840853838,13),o=c(o=i(o,10),s=c(s,f=c(f,r,n,o,s,e[10],2840853838,12),r,n=i(n,10),o,e[14],2840853838,5),f,r=i(r,10),n,e[1],2840853838,12),f=c(f=i(f,10),r=c(r,n=c(n,o,s,f,r,e[3],2840853838,13),o,s=i(s,10),f,e[8],2840853838,14),n,o=i(o,10),s,e[11],2840853838,11),n=c(n=i(n,10),o=c(o,s=c(s,f,r,n,o,e[6],2840853838,8),f,r=i(r,10),n,e[15],2840853838,5),s,f=i(f,10),r,e[13],2840853838,6),s=i(s,10);var h=this._a,p=this._b,m=this._c,b=this._d,g=this._e;g=c(g,h=c(h,p,m,b,g,e[5],1352829926,8),p,m=i(m,10),b,e[14],1352829926,9),p=c(p=i(p,10),m=c(m,b=c(b,g,h,p,m,e[7],1352829926,9),g,h=i(h,10),p,e[0],1352829926,11),b,g=i(g,10),h,e[9],1352829926,13),b=c(b=i(b,10),g=c(g,h=c(h,p,m,b,g,e[2],1352829926,15),p,m=i(m,10),b,e[11],1352829926,15),h,p=i(p,10),m,e[4],1352829926,5),h=c(h=i(h,10),p=c(p,m=c(m,b,g,h,p,e[13],1352829926,7),b,g=i(g,10),h,e[6],1352829926,7),m,b=i(b,10),g,e[15],1352829926,8),m=c(m=i(m,10),b=c(b,g=c(g,h,p,m,b,e[8],1352829926,11),h,p=i(p,10),m,e[1],1352829926,14),g,h=i(h,10),p,e[10],1352829926,14),g=l(g=i(g,10),h=c(h,p=c(p,m,b,g,h,e[3],1352829926,12),m,b=i(b,10),g,e[12],1352829926,6),p,m=i(m,10),b,e[6],1548603684,9),p=l(p=i(p,10),m=l(m,b=l(b,g,h,p,m,e[11],1548603684,13),g,h=i(h,10),p,e[3],1548603684,15),b,g=i(g,10),h,e[7],1548603684,7),b=l(b=i(b,10),g=l(g,h=l(h,p,m,b,g,e[0],1548603684,12),p,m=i(m,10),b,e[13],1548603684,8),h,p=i(p,10),m,e[5],1548603684,9),h=l(h=i(h,10),p=l(p,m=l(m,b,g,h,p,e[10],1548603684,11),b,g=i(g,10),h,e[14],1548603684,7),m,b=i(b,10),g,e[15],1548603684,7),m=l(m=i(m,10),b=l(b,g=l(g,h,p,m,b,e[8],1548603684,12),h,p=i(p,10),m,e[12],1548603684,7),g,h=i(h,10),p,e[4],1548603684,6),g=l(g=i(g,10),h=l(h,p=l(p,m,b,g,h,e[9],1548603684,15),m,b=i(b,10),g,e[1],1548603684,13),p,m=i(m,10),b,e[2],1548603684,11),p=d(p=i(p,10),m=d(m,b=d(b,g,h,p,m,e[15],1836072691,9),g,h=i(h,10),p,e[5],1836072691,7),b,g=i(g,10),h,e[1],1836072691,15),b=d(b=i(b,10),g=d(g,h=d(h,p,m,b,g,e[3],1836072691,11),p,m=i(m,10),b,e[7],1836072691,8),h,p=i(p,10),m,e[14],1836072691,6),h=d(h=i(h,10),p=d(p,m=d(m,b,g,h,p,e[6],1836072691,6),b,g=i(g,10),h,e[9],1836072691,14),m,b=i(b,10),g,e[11],1836072691,12),m=d(m=i(m,10),b=d(b,g=d(g,h,p,m,b,e[8],1836072691,13),h,p=i(p,10),m,e[12],1836072691,5),g,h=i(h,10),p,e[2],1836072691,14),g=d(g=i(g,10),h=d(h,p=d(p,m,b,g,h,e[10],1836072691,13),m,b=i(b,10),g,e[0],1836072691,13),p,m=i(m,10),b,e[4],1836072691,7),p=u(p=i(p,10),m=u(m,b=d(b,g,h,p,m,e[13],1836072691,5),g,h=i(h,10),p,e[8],2053994217,15),b,g=i(g,10),h,e[6],2053994217,5),b=u(b=i(b,10),g=u(g,h=u(h,p,m,b,g,e[4],2053994217,8),p,m=i(m,10),b,e[1],2053994217,11),h,p=i(p,10),m,e[3],2053994217,14),h=u(h=i(h,10),p=u(p,m=u(m,b,g,h,p,e[11],2053994217,14),b,g=i(g,10),h,e[15],2053994217,6),m,b=i(b,10),g,e[0],2053994217,14),m=u(m=i(m,10),b=u(b,g=u(g,h,p,m,b,e[5],2053994217,6),h,p=i(p,10),m,e[12],2053994217,9),g,h=i(h,10),p,e[2],2053994217,12),g=u(g=i(g,10),h=u(h,p=u(p,m,b,g,h,e[13],2053994217,9),m,b=i(b,10),g,e[9],2053994217,12),p,m=i(m,10),b,e[7],2053994217,5),p=a(p=i(p,10),m=u(m,b=u(b,g,h,p,m,e[10],2053994217,15),g,h=i(h,10),p,e[14],2053994217,8),b,g=i(g,10),h,e[12],0,8),b=a(b=i(b,10),g=a(g,h=a(h,p,m,b,g,e[15],0,5),p,m=i(m,10),b,e[10],0,12),h,p=i(p,10),m,e[4],0,9),h=a(h=i(h,10),p=a(p,m=a(m,b,g,h,p,e[1],0,12),b,g=i(g,10),h,e[5],0,5),m,b=i(b,10),g,e[8],0,14),m=a(m=i(m,10),b=a(b,g=a(g,h,p,m,b,e[7],0,6),h,p=i(p,10),m,e[6],0,8),g,h=i(h,10),p,e[2],0,13),g=a(g=i(g,10),h=a(h,p=a(p,m,b,g,h,e[13],0,6),m,b=i(b,10),g,e[14],0,5),p,m=i(m,10),b,e[0],0,15),p=a(p=i(p,10),m=a(m,b=a(b,g,h,p,m,e[3],0,13),g,h=i(h,10),p,e[9],0,11),b,g=i(g,10),h,e[11],0,11),b=i(b,10);var v=this._b+o+b|0;this._b=this._c+s+g|0,this._c=this._d+f+h|0,this._d=this._e+r+p|0,this._e=this._a+n+m|0,this._a=v},s.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var e=new r(20);return e.writeInt32LE(this._a,0),e.writeInt32LE(this._b,4),e.writeInt32LE(this._c,8),e.writeInt32LE(this._d,12),e.writeInt32LE(this._e,16),e},t.exports=s}).call(this,e("buffer").Buffer)},{buffer:"/Users/jnordberg/Development/dsteem/node_modules/buffer/index.js","hash-base":"/Users/jnordberg/Development/dsteem/node_modules/hash-base/index.js",inherits:"/Users/jnordberg/Development/dsteem/node_modules/inherits/inherits_browser.js"}],"/Users/jnordberg/Development/dsteem/node_modules/safe-buffer/index.js":[function(e,t,r){var n=e("buffer"),o=n.Buffer;function s(e,t){for(var r in e)t[r]=e[r]}function i(e,t,r){return o(e,t,r)}o.from&&o.alloc&&o.allocUnsafe&&o.allocUnsafeSlow?t.exports=n:(s(n,r),r.Buffer=i),s(o,i),i.from=function(e,t,r){if("number"==typeof e)throw new TypeError("Argument must not be a number");return o(e,t,r)},i.alloc=function(e,t,r){if("number"!=typeof e)throw new TypeError("Argument must be a number");var n=o(e);return void 0!==t?"string"==typeof r?n.fill(t,r):n.fill(t):n.fill(0),n},i.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return o(e)},i.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return n.SlowBuffer(e)}},{buffer:"/Users/jnordberg/Development/dsteem/node_modules/buffer/index.js"}],"/Users/jnordberg/Development/dsteem/node_modules/secp256k1/elliptic.js":[function(e,t,r){"use strict";t.exports=e("./lib")(e("./lib/elliptic"))},{"./lib":"/Users/jnordberg/Development/dsteem/node_modules/secp256k1/lib/index.js","./lib/elliptic":"/Users/jnordberg/Development/dsteem/node_modules/secp256k1/lib/elliptic/index.js"}],"/Users/jnordberg/Development/dsteem/node_modules/secp256k1/lib/assert.js":[function(e,t,r){(function(e){"use strict";var t=Object.prototype.toString;r.isArray=function(e,t){if(!Array.isArray(e))throw TypeError(t)},r.isBoolean=function(e,r){if("[object Boolean]"!==t.call(e))throw TypeError(r)},r.isBuffer=function(t,r){if(!e.isBuffer(t))throw TypeError(r)},r.isFunction=function(e,r){if("[object Function]"!==t.call(e))throw TypeError(r)},r.isNumber=function(e,r){if("[object Number]"!==t.call(e))throw TypeError(r)},r.isObject=function(e,r){if("[object Object]"!==t.call(e))throw TypeError(r)},r.isBufferLength=function(e,t,r){if(e.length!==t)throw RangeError(r)},r.isBufferLength2=function(e,t,r,n){if(e.length!==t&&e.length!==r)throw RangeError(n)},r.isLengthGTZero=function(e,t){if(0===e.length)throw RangeError(t)},r.isNumberInInterval=function(e,t,r,n){if(e<=t||e>=r)throw RangeError(n)}}).call(this,{isBuffer:e("../../is-buffer/index.js")})},{"../../is-buffer/index.js":"/Users/jnordberg/Development/dsteem/node_modules/is-buffer/index.js"}],"/Users/jnordberg/Development/dsteem/node_modules/secp256k1/lib/der.js":[function(e,t,r){"use strict";var n=e("safe-buffer").Buffer,o=e("bip66"),s=n.from([48,129,211,2,1,1,4,32,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,160,129,133,48,129,130,2,1,1,48,44,6,7,42,134,72,206,61,1,1,2,33,0,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,254,255,255,252,47,48,6,4,1,0,4,1,7,4,33,2,121,190,102,126,249,220,187,172,85,160,98,149,206,135,11,7,2,155,252,219,45,206,40,217,89,242,129,91,22,248,23,152,2,33,0,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,254,186,174,220,230,175,72,160,59,191,210,94,140,208,54,65,65,2,1,1,161,36,3,34,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]),i=n.from([48,130,1,19,2,1,1,4,32,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,160,129,165,48,129,162,2,1,1,48,44,6,7,42,134,72,206,61,1,1,2,33,0,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,254,255,255,252,47,48,6,4,1,0,4,1,7,4,65,4,121,190,102,126,249,220,187,172,85,160,98,149,206,135,11,7,2,155,252,219,45,206,40,217,89,242,129,91,22,248,23,152,72,58,218,119,38,163,196,101,93,164,251,252,14,17,8,168,253,23,180,72,166,133,84,25,156,71,208,143,251,16,212,184,2,33,0,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,254,186,174,220,230,175,72,160,59,191,210,94,140,208,54,65,65,2,1,1,161,68,3,66,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]);r.privateKeyExport=function(e,t,r){var o=n.from(r?s:i);return e.copy(o,r?8:9),t.copy(o,r?181:214),o},r.privateKeyImport=function(e){var t=e.length,r=0;if(!(t<r+1||48!==e[r])&&!(t<(r+=1)+1)&&128&e[r]){var n=127&e[r];if(r+=1,!(n<1||n>2||t<r+n)){var o=e[r+n-1]|(n>1?e[r+n-2]<<8:0);if(!(t<(r+=n)+o||t<r+3||2!==e[r]||1!==e[r+1]||1!==e[r+2]||t<(r+=3)+2||4!==e[r]||e[r+1]>32||t<r+2+e[r+1]))return e.slice(r+2,r+2+e[r+1])}}},r.signatureExport=function(e){for(var t=n.concat([n.from([0]),e.r]),r=33,s=0;r>1&&0===t[s]&&!(128&t[s+1]);--r,++s);for(var i=n.concat([n.from([0]),e.s]),a=33,u=0;a>1&&0===i[u]&&!(128&i[u+1]);--a,++u);return o.encode(t.slice(s),i.slice(u))},r.signatureImport=function(e){var t=n.alloc(32,0),r=n.alloc(32,0);try{var s=o.decode(e);if(33===s.r.length&&0===s.r[0]&&(s.r=s.r.slice(1)),s.r.length>32)throw new Error("R length is too long");if(33===s.s.length&&0===s.s[0]&&(s.s=s.s.slice(1)),s.s.length>32)throw new Error("S length is too long")}catch(e){return}return s.r.copy(t,32-s.r.length),s.s.copy(r,32-s.s.length),{r:t,s:r}},r.signatureImportLax=function(e){var t=n.alloc(32,0),r=n.alloc(32,0),o=e.length,s=0;if(48===e[s++]){var i=e[s++];if(!(128&i&&(s+=i-128)>o)&&2===e[s++]){var a=e[s++];if(128&a){if(s+(i=a-128)>o)return;for(;i>0&&0===e[s];s+=1,i-=1);for(a=0;i>0;s+=1,i-=1)a=(a<<8)+e[s]}if(!(a>o-s)){var u=s;if(s+=a,2===e[s++]){var d=e[s++];if(128&d){if(s+(i=d-128)>o)return;for(;i>0&&0===e[s];s+=1,i-=1);for(d=0;i>0;s+=1,i-=1)d=(d<<8)+e[s]}if(!(d>o-s)){var l=s;for(s+=d;a>0&&0===e[u];a-=1,u+=1);if(!(a>32)){var c=e.slice(u,u+a);for(c.copy(t,32-c.length);d>0&&0===e[l];d-=1,l+=1);if(!(d>32)){var f=e.slice(l,l+d);return f.copy(r,32-f.length),{r:t,s:r}}}}}}}}}},{bip66:"/Users/jnordberg/Development/dsteem/node_modules/bip66/index.js","safe-buffer":"/Users/jnordberg/Development/dsteem/node_modules/safe-buffer/index.js"}],"/Users/jnordberg/Development/dsteem/node_modules/secp256k1/lib/elliptic/index.js":[function(e,t,r){"use strict";var n=e("safe-buffer").Buffer,o=e("create-hash"),s=e("bn.js"),i=e("elliptic").ec,a=e("../messages.json"),u=new i("secp256k1"),d=u.curve;function l(e){var t=e[0];switch(t){case 2:case 3:return 33!==e.length?null:function(e,t){var r=new s(t);if(r.cmp(d.p)>=0)return null;var n=(r=r.toRed(d.red)).redSqr().redIMul(r).redIAdd(d.b).redSqrt();return 3===e!==n.isOdd()&&(n=n.redNeg()),u.keyPair({pub:{x:r,y:n}})}(t,e.slice(1,33));case 4:case 6:case 7:return 65!==e.length?null:function(e,t,r){var n=new s(t),o=new s(r);if(n.cmp(d.p)>=0||o.cmp(d.p)>=0)return null;if(n=n.toRed(d.red),o=o.toRed(d.red),(6===e||7===e)&&o.isOdd()!==(7===e))return null;var i=n.redSqr().redIMul(n);return o.redSqr().redISub(i.redIAdd(d.b)).isZero()?u.keyPair({pub:{x:n,y:o}}):null}(t,e.slice(1,33),e.slice(33,65));default:return null}}r.privateKeyVerify=function(e){var t=new s(e);return t.cmp(d.n)<0&&!t.isZero()},r.privateKeyExport=function(e,t){var r=new s(e);if(r.cmp(d.n)>=0||r.isZero())throw new Error(a.EC_PRIVATE_KEY_EXPORT_DER_FAIL);return n.from(u.keyFromPrivate(e).getPublic(t,!0))},r.privateKeyNegate=function(e){var t=new s(e);return t.isZero()?n.alloc(32):d.n.sub(t).umod(d.n).toArrayLike(n,"be",32)},r.privateKeyModInverse=function(e){var t=new s(e);if(t.cmp(d.n)>=0||t.isZero())throw new Error(a.EC_PRIVATE_KEY_RANGE_INVALID);return t.invm(d.n).toArrayLike(n,"be",32)},r.privateKeyTweakAdd=function(e,t){var r=new s(t);if(r.cmp(d.n)>=0)throw new Error(a.EC_PRIVATE_KEY_TWEAK_ADD_FAIL);if(r.iadd(new s(e)),r.cmp(d.n)>=0&&r.isub(d.n),r.isZero())throw new Error(a.EC_PRIVATE_KEY_TWEAK_ADD_FAIL);return r.toArrayLike(n,"be",32)},r.privateKeyTweakMul=function(e,t){var r=new s(t);if(r.cmp(d.n)>=0||r.isZero())throw new Error(a.EC_PRIVATE_KEY_TWEAK_MUL_FAIL);return r.imul(new s(e)),r.cmp(d.n)&&(r=r.umod(d.n)),r.toArrayLike(n,"be",32)},r.publicKeyCreate=function(e,t){var r=new s(e);if(r.cmp(d.n)>=0||r.isZero())throw new Error(a.EC_PUBLIC_KEY_CREATE_FAIL);return n.from(u.keyFromPrivate(e).getPublic(t,!0))},r.publicKeyConvert=function(e,t){var r=l(e);if(null===r)throw new Error(a.EC_PUBLIC_KEY_PARSE_FAIL);return n.from(r.getPublic(t,!0))},r.publicKeyVerify=function(e){return null!==l(e)},r.publicKeyTweakAdd=function(e,t,r){var o=l(e);if(null===o)throw new Error(a.EC_PUBLIC_KEY_PARSE_FAIL);if((t=new s(t)).cmp(d.n)>=0)throw new Error(a.EC_PUBLIC_KEY_TWEAK_ADD_FAIL);return n.from(d.g.mul(t).add(o.pub).encode(!0,r))},r.publicKeyTweakMul=function(e,t,r){var o=l(e);if(null===o)throw new Error(a.EC_PUBLIC_KEY_PARSE_FAIL);if((t=new s(t)).cmp(d.n)>=0||t.isZero())throw new Error(a.EC_PUBLIC_KEY_TWEAK_MUL_FAIL);return n.from(o.pub.mul(t).encode(!0,r))},r.publicKeyCombine=function(e,t){for(var r=new Array(e.length),o=0;o<e.length;++o)if(r[o]=l(e[o]),null===r[o])throw new Error(a.EC_PUBLIC_KEY_PARSE_FAIL);for(var s=r[0].pub,i=1;i<r.length;++i)s=s.add(r[i].pub);if(s.isInfinity())throw new Error(a.EC_PUBLIC_KEY_COMBINE_FAIL);return n.from(s.encode(!0,t))},r.signatureNormalize=function(e){var t=new s(e.slice(0,32)),r=new s(e.slice(32,64));if(t.cmp(d.n)>=0||r.cmp(d.n)>=0)throw new Error(a.ECDSA_SIGNATURE_PARSE_FAIL);var o=n.from(e);return 1===r.cmp(u.nh)&&d.n.sub(r).toArrayLike(n,"be",32).copy(o,32),o},r.signatureExport=function(e){var t=e.slice(0,32),r=e.slice(32,64);if(new s(t).cmp(d.n)>=0||new s(r).cmp(d.n)>=0)throw new Error(a.ECDSA_SIGNATURE_PARSE_FAIL);return{r:t,s:r}},r.signatureImport=function(e){var t=new s(e.r);t.cmp(d.n)>=0&&(t=new s(0));var r=new s(e.s);return r.cmp(d.n)>=0&&(r=new s(0)),n.concat([t.toArrayLike(n,"be",32),r.toArrayLike(n,"be",32)])},r.sign=function(e,t,r,o){if("function"==typeof r){var i=r;r=function(r){var u=i(e,t,null,o,r);if(!n.isBuffer(u)||32!==u.length)throw new Error(a.ECDSA_SIGN_FAIL);return new s(u)}}var l=new s(t);if(l.cmp(d.n)>=0||l.isZero())throw new Error(a.ECDSA_SIGN_FAIL);var c=u.sign(e,t,{canonical:!0,k:r,pers:o});return{signature:n.concat([c.r.toArrayLike(n,"be",32),c.s.toArrayLike(n,"be",32)]),recovery:c.recoveryParam}},r.verify=function(e,t,r){var n={r:t.slice(0,32),s:t.slice(32,64)},o=new s(n.r),i=new s(n.s);if(o.cmp(d.n)>=0||i.cmp(d.n)>=0)throw new Error(a.ECDSA_SIGNATURE_PARSE_FAIL);if(1===i.cmp(u.nh)||o.isZero()||i.isZero())return!1;var c=l(r);if(null===c)throw new Error(a.EC_PUBLIC_KEY_PARSE_FAIL);return u.verify(e,n,{x:c.pub.x,y:c.pub.y})},r.recover=function(e,t,r,o){var i={r:t.slice(0,32),s:t.slice(32,64)},l=new s(i.r),c=new s(i.s);if(l.cmp(d.n)>=0||c.cmp(d.n)>=0)throw new Error(a.ECDSA_SIGNATURE_PARSE_FAIL);try{if(l.isZero()||c.isZero())throw new Error;var f=u.recoverPubKey(e,i,r);return n.from(f.encode(!0,o))}catch(e){throw new Error(a.ECDSA_RECOVER_FAIL)}},r.ecdh=function(e,t){var n=r.ecdhUnsafe(e,t,!0);return o("sha256").update(n).digest()},r.ecdhUnsafe=function(e,t,r){var o=l(e);if(null===o)throw new Error(a.EC_PUBLIC_KEY_PARSE_FAIL);var i=new s(t);if(i.cmp(d.n)>=0||i.isZero())throw new Error(a.ECDH_FAIL);return n.from(o.pub.mul(i).encode(!0,r))}},{"../messages.json":"/Users/jnordberg/Development/dsteem/node_modules/secp256k1/lib/messages.json","bn.js":"/Users/jnordberg/Development/dsteem/node_modules/bn.js/lib/bn.js","create-hash":"/Users/jnordberg/Development/dsteem/node_modules/create-hash/browser.js",elliptic:"/Users/jnordberg/Development/dsteem/node_modules/elliptic/lib/elliptic.js","safe-buffer":"/Users/jnordberg/Development/dsteem/node_modules/safe-buffer/index.js"}],"/Users/jnordberg/Development/dsteem/node_modules/secp256k1/lib/index.js":[function(e,t,r){"use strict";var n=e("./assert"),o=e("./der"),s=e("./messages.json");function i(e,t){return void 0===e?t:(n.isBoolean(e,s.COMPRESSED_TYPE_INVALID),e)}t.exports=function(e){return{privateKeyVerify:function(t){return n.isBuffer(t,s.EC_PRIVATE_KEY_TYPE_INVALID),32===t.length&&e.privateKeyVerify(t)},privateKeyExport:function(t,r){n.isBuffer(t,s.EC_PRIVATE_KEY_TYPE_INVALID),n.isBufferLength(t,32,s.EC_PRIVATE_KEY_LENGTH_INVALID),r=i(r,!0);var a=e.privateKeyExport(t,r);return o.privateKeyExport(t,a,r)},privateKeyImport:function(t){if(n.isBuffer(t,s.EC_PRIVATE_KEY_TYPE_INVALID),(t=o.privateKeyImport(t))&&32===t.length&&e.privateKeyVerify(t))return t;throw new Error(s.EC_PRIVATE_KEY_IMPORT_DER_FAIL)},privateKeyNegate:function(t){return n.isBuffer(t,s.EC_PRIVATE_KEY_TYPE_INVALID),n.isBufferLength(t,32,s.EC_PRIVATE_KEY_LENGTH_INVALID),e.privateKeyNegate(t)},privateKeyModInverse:function(t){return n.isBuffer(t,s.EC_PRIVATE_KEY_TYPE_INVALID),n.isBufferLength(t,32,s.EC_PRIVATE_KEY_LENGTH_INVALID),e.privateKeyModInverse(t)},privateKeyTweakAdd:function(t,r){return n.isBuffer(t,s.EC_PRIVATE_KEY_TYPE_INVALID),n.isBufferLength(t,32,s.EC_PRIVATE_KEY_LENGTH_INVALID),n.isBuffer(r,s.TWEAK_TYPE_INVALID),n.isBufferLength(r,32,s.TWEAK_LENGTH_INVALID),e.privateKeyTweakAdd(t,r)},privateKeyTweakMul:function(t,r){return n.isBuffer(t,s.EC_PRIVATE_KEY_TYPE_INVALID),n.isBufferLength(t,32,s.EC_PRIVATE_KEY_LENGTH_INVALID),n.isBuffer(r,s.TWEAK_TYPE_INVALID),n.isBufferLength(r,32,s.TWEAK_LENGTH_INVALID),e.privateKeyTweakMul(t,r)},publicKeyCreate:function(t,r){return n.isBuffer(t,s.EC_PRIVATE_KEY_TYPE_INVALID),n.isBufferLength(t,32,s.EC_PRIVATE_KEY_LENGTH_INVALID),r=i(r,!0),e.publicKeyCreate(t,r)},publicKeyConvert:function(t,r){return n.isBuffer(t,s.EC_PUBLIC_KEY_TYPE_INVALID),n.isBufferLength2(t,33,65,s.EC_PUBLIC_KEY_LENGTH_INVALID),r=i(r,!0),e.publicKeyConvert(t,r)},publicKeyVerify:function(t){return n.isBuffer(t,s.EC_PUBLIC_KEY_TYPE_INVALID),e.publicKeyVerify(t)},publicKeyTweakAdd:function(t,r,o){return n.isBuffer(t,s.EC_PUBLIC_KEY_TYPE_INVALID),n.isBufferLength2(t,33,65,s.EC_PUBLIC_KEY_LENGTH_INVALID),n.isBuffer(r,s.TWEAK_TYPE_INVALID),n.isBufferLength(r,32,s.TWEAK_LENGTH_INVALID),o=i(o,!0),e.publicKeyTweakAdd(t,r,o)},publicKeyTweakMul:function(t,r,o){return n.isBuffer(t,s.EC_PUBLIC_KEY_TYPE_INVALID),n.isBufferLength2(t,33,65,s.EC_PUBLIC_KEY_LENGTH_INVALID),n.isBuffer(r,s.TWEAK_TYPE_INVALID),n.isBufferLength(r,32,s.TWEAK_LENGTH_INVALID),o=i(o,!0),e.publicKeyTweakMul(t,r,o)},publicKeyCombine:function(t,r){n.isArray(t,s.EC_PUBLIC_KEYS_TYPE_INVALID),n.isLengthGTZero(t,s.EC_PUBLIC_KEYS_LENGTH_INVALID);for(var o=0;o<t.length;++o)n.isBuffer(t[o],s.EC_PUBLIC_KEY_TYPE_INVALID),n.isBufferLength2(t[o],33,65,s.EC_PUBLIC_KEY_LENGTH_INVALID);return r=i(r,!0),e.publicKeyCombine(t,r)},signatureNormalize:function(t){return n.isBuffer(t,s.ECDSA_SIGNATURE_TYPE_INVALID),n.isBufferLength(t,64,s.ECDSA_SIGNATURE_LENGTH_INVALID),e.signatureNormalize(t)},signatureExport:function(t){n.isBuffer(t,s.ECDSA_SIGNATURE_TYPE_INVALID),n.isBufferLength(t,64,s.ECDSA_SIGNATURE_LENGTH_INVALID);var r=e.signatureExport(t);return o.signatureExport(r)},signatureImport:function(t){n.isBuffer(t,s.ECDSA_SIGNATURE_TYPE_INVALID),n.isLengthGTZero(t,s.ECDSA_SIGNATURE_LENGTH_INVALID);var r=o.signatureImport(t);if(r)return e.signatureImport(r);throw new Error(s.ECDSA_SIGNATURE_PARSE_DER_FAIL)},signatureImportLax:function(t){n.isBuffer(t,s.ECDSA_SIGNATURE_TYPE_INVALID),n.isLengthGTZero(t,s.ECDSA_SIGNATURE_LENGTH_INVALID);var r=o.signatureImportLax(t);if(r)return e.signatureImport(r);throw new Error(s.ECDSA_SIGNATURE_PARSE_DER_FAIL)},sign:function(t,r,o){n.isBuffer(t,s.MSG32_TYPE_INVALID),n.isBufferLength(t,32,s.MSG32_LENGTH_INVALID),n.isBuffer(r,s.EC_PRIVATE_KEY_TYPE_INVALID),n.isBufferLength(r,32,s.EC_PRIVATE_KEY_LENGTH_INVALID);var i=null,a=null;return void 0!==o&&(n.isObject(o,s.OPTIONS_TYPE_INVALID),void 0!==o.data&&(n.isBuffer(o.data,s.OPTIONS_DATA_TYPE_INVALID),n.isBufferLength(o.data,32,s.OPTIONS_DATA_LENGTH_INVALID),i=o.data),void 0!==o.noncefn&&(n.isFunction(o.noncefn,s.OPTIONS_NONCEFN_TYPE_INVALID),a=o.noncefn)),e.sign(t,r,a,i)},verify:function(t,r,o){return n.isBuffer(t,s.MSG32_TYPE_INVALID),n.isBufferLength(t,32,s.MSG32_LENGTH_INVALID),n.isBuffer(r,s.ECDSA_SIGNATURE_TYPE_INVALID),n.isBufferLength(r,64,s.ECDSA_SIGNATURE_LENGTH_INVALID),n.isBuffer(o,s.EC_PUBLIC_KEY_TYPE_INVALID),n.isBufferLength2(o,33,65,s.EC_PUBLIC_KEY_LENGTH_INVALID),e.verify(t,r,o)},recover:function(t,r,o,a){return n.isBuffer(t,s.MSG32_TYPE_INVALID),n.isBufferLength(t,32,s.MSG32_LENGTH_INVALID),n.isBuffer(r,s.ECDSA_SIGNATURE_TYPE_INVALID),n.isBufferLength(r,64,s.ECDSA_SIGNATURE_LENGTH_INVALID),n.isNumber(o,s.RECOVERY_ID_TYPE_INVALID),n.isNumberInInterval(o,-1,4,s.RECOVERY_ID_VALUE_INVALID),a=i(a,!0),e.recover(t,r,o,a)},ecdh:function(t,r){return n.isBuffer(t,s.EC_PUBLIC_KEY_TYPE_INVALID),n.isBufferLength2(t,33,65,s.EC_PUBLIC_KEY_LENGTH_INVALID),n.isBuffer(r,s.EC_PRIVATE_KEY_TYPE_INVALID),n.isBufferLength(r,32,s.EC_PRIVATE_KEY_LENGTH_INVALID),e.ecdh(t,r)},ecdhUnsafe:function(t,r,o){return n.isBuffer(t,s.EC_PUBLIC_KEY_TYPE_INVALID),n.isBufferLength2(t,33,65,s.EC_PUBLIC_KEY_LENGTH_INVALID),n.isBuffer(r,s.EC_PRIVATE_KEY_TYPE_INVALID),n.isBufferLength(r,32,s.EC_PRIVATE_KEY_LENGTH_INVALID),o=i(o,!0),e.ecdhUnsafe(t,r,o)}}}},{"./assert":"/Users/jnordberg/Development/dsteem/node_modules/secp256k1/lib/assert.js","./der":"/Users/jnordberg/Development/dsteem/node_modules/secp256k1/lib/der.js","./messages.json":"/Users/jnordberg/Development/dsteem/node_modules/secp256k1/lib/messages.json"}],"/Users/jnordberg/Development/dsteem/node_modules/secp256k1/lib/messages.json":[function(e,t,r){t.exports={COMPRESSED_TYPE_INVALID:"compressed should be a boolean",EC_PRIVATE_KEY_TYPE_INVALID:"private key should be a Buffer",EC_PRIVATE_KEY_LENGTH_INVALID:"private key length is invalid",EC_PRIVATE_KEY_RANGE_INVALID:"private key range is invalid",EC_PRIVATE_KEY_TWEAK_ADD_FAIL:"tweak out of range or resulting private key is invalid",EC_PRIVATE_KEY_TWEAK_MUL_FAIL:"tweak out of range",EC_PRIVATE_KEY_EXPORT_DER_FAIL:"couldn't export to DER format",EC_PRIVATE_KEY_IMPORT_DER_FAIL:"couldn't import from DER format",EC_PUBLIC_KEYS_TYPE_INVALID:"public keys should be an Array",EC_PUBLIC_KEYS_LENGTH_INVALID:"public keys Array should have at least 1 element",EC_PUBLIC_KEY_TYPE_INVALID:"public key should be a Buffer",EC_PUBLIC_KEY_LENGTH_INVALID:"public key length is invalid",EC_PUBLIC_KEY_PARSE_FAIL:"the public key could not be parsed or is invalid",EC_PUBLIC_KEY_CREATE_FAIL:"private was invalid, try again",EC_PUBLIC_KEY_TWEAK_ADD_FAIL:"tweak out of range or resulting public key is invalid",EC_PUBLIC_KEY_TWEAK_MUL_FAIL:"tweak out of range",EC_PUBLIC_KEY_COMBINE_FAIL:"the sum of the public keys is not valid",ECDH_FAIL:"scalar was invalid (zero or overflow)",ECDSA_SIGNATURE_TYPE_INVALID:"signature should be a Buffer",ECDSA_SIGNATURE_LENGTH_INVALID:"signature length is invalid",ECDSA_SIGNATURE_PARSE_FAIL:"couldn't parse signature",ECDSA_SIGNATURE_PARSE_DER_FAIL:"couldn't parse DER signature",ECDSA_SIGNATURE_SERIALIZE_DER_FAIL:"couldn't serialize signature to DER format",ECDSA_SIGN_FAIL:"nonce generation function failed or private key is invalid",ECDSA_RECOVER_FAIL:"couldn't recover public key from signature",MSG32_TYPE_INVALID:"message should be a Buffer",MSG32_LENGTH_INVALID:"message length is invalid",OPTIONS_TYPE_INVALID:"options should be an Object",OPTIONS_DATA_TYPE_INVALID:"options.data should be a Buffer",OPTIONS_DATA_LENGTH_INVALID:"options.data length is invalid",OPTIONS_NONCEFN_TYPE_INVALID:"options.noncefn should be a Function",RECOVERY_ID_TYPE_INVALID:"recovery should be a Number",RECOVERY_ID_VALUE_INVALID:"recovery should have value between -1 and 4",TWEAK_TYPE_INVALID:"tweak should be a Buffer",TWEAK_LENGTH_INVALID:"tweak length is invalid"}},{}],"/Users/jnordberg/Development/dsteem/node_modules/sha.js/hash.js":[function(e,t,r){var n=e("safe-buffer").Buffer;function o(e,t){this._block=n.alloc(e),this._finalSize=t,this._blockSize=e,this._len=0}o.prototype.update=function(e,t){"string"==typeof e&&(e=n.from(e,t=t||"utf8"));for(var r=this._block,o=this._blockSize,s=e.length,i=this._len,a=0;a<s;){for(var u=i%o,d=Math.min(s-a,o-u),l=0;l<d;l++)r[u+l]=e[a+l];a+=d,(i+=d)%o==0&&this._update(r)}return this._len+=s,this},o.prototype.digest=function(e){var t=this._len%this._blockSize;this._block[t]=128,this._block.fill(0,t+1),t>=this._finalSize&&(this._update(this._block),this._block.fill(0));var r=8*this._len;if(r<=4294967295)this._block.writeUInt32BE(r,this._blockSize-4);else{var n=(4294967295&r)>>>0;this._block.writeUInt32BE((r-n)/4294967296,this._blockSize-8),this._block.writeUInt32BE(n,this._blockSize-4)}this._update(this._block);var o=this._hash();return e?o.toString(e):o},o.prototype._update=function(){throw new Error("_update must be implemented by subclass")},t.exports=o},{"safe-buffer":"/Users/jnordberg/Development/dsteem/node_modules/safe-buffer/index.js"}],"/Users/jnordberg/Development/dsteem/node_modules/sha.js/index.js":[function(e,t,r){(r=t.exports=function(e){e=e.toLowerCase();var t=r[e];if(!t)throw new Error(e+" is not supported (we accept pull requests)");return new t}).sha=e("./sha"),r.sha1=e("./sha1"),r.sha224=e("./sha224"),r.sha256=e("./sha256"),r.sha384=e("./sha384"),r.sha512=e("./sha512")},{"./sha":"/Users/jnordberg/Development/dsteem/node_modules/sha.js/sha.js","./sha1":"/Users/jnordberg/Development/dsteem/node_modules/sha.js/sha1.js","./sha224":"/Users/jnordberg/Development/dsteem/node_modules/sha.js/sha224.js","./sha256":"/Users/jnordberg/Development/dsteem/node_modules/sha.js/sha256.js","./sha384":"/Users/jnordberg/Development/dsteem/node_modules/sha.js/sha384.js","./sha512":"/Users/jnordberg/Development/dsteem/node_modules/sha.js/sha512.js"}],"/Users/jnordberg/Development/dsteem/node_modules/sha.js/sha.js":[function(e,t,r){var n=e("inherits"),o=e("./hash"),s=e("safe-buffer").Buffer,i=[1518500249,1859775393,-1894007588,-899497514],a=new Array(80);function u(){this.init(),this._w=a,o.call(this,64,56)}function d(e){return e<<30|e>>>2}function l(e,t,r,n){return 0===e?t&r|~t&n:2===e?t&r|t&n|r&n:t^r^n}n(u,o),u.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},u.prototype._update=function(e){for(var t,r=this._w,n=0|this._a,o=0|this._b,s=0|this._c,a=0|this._d,u=0|this._e,c=0;c<16;++c)r[c]=e.readInt32BE(4*c);for(;c<80;++c)r[c]=r[c-3]^r[c-8]^r[c-14]^r[c-16];for(var f=0;f<80;++f){var h=~~(f/20),p=0|((t=n)<<5|t>>>27)+l(h,o,s,a)+u+r[f]+i[h];u=a,a=s,s=d(o),o=n,n=p}this._a=n+this._a|0,this._b=o+this._b|0,this._c=s+this._c|0,this._d=a+this._d|0,this._e=u+this._e|0},u.prototype._hash=function(){var e=s.allocUnsafe(20);return e.writeInt32BE(0|this._a,0),e.writeInt32BE(0|this._b,4),e.writeInt32BE(0|this._c,8),e.writeInt32BE(0|this._d,12),e.writeInt32BE(0|this._e,16),e},t.exports=u},{"./hash":"/Users/jnordberg/Development/dsteem/node_modules/sha.js/hash.js",inherits:"/Users/jnordberg/Development/dsteem/node_modules/inherits/inherits_browser.js","safe-buffer":"/Users/jnordberg/Development/dsteem/node_modules/safe-buffer/index.js"}],"/Users/jnordberg/Development/dsteem/node_modules/sha.js/sha1.js":[function(e,t,r){var n=e("inherits"),o=e("./hash"),s=e("safe-buffer").Buffer,i=[1518500249,1859775393,-1894007588,-899497514],a=new Array(80);function u(){this.init(),this._w=a,o.call(this,64,56)}function d(e){return e<<5|e>>>27}function l(e){return e<<30|e>>>2}function c(e,t,r,n){return 0===e?t&r|~t&n:2===e?t&r|t&n|r&n:t^r^n}n(u,o),u.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},u.prototype._update=function(e){for(var t,r=this._w,n=0|this._a,o=0|this._b,s=0|this._c,a=0|this._d,u=0|this._e,f=0;f<16;++f)r[f]=e.readInt32BE(4*f);for(;f<80;++f)r[f]=(t=r[f-3]^r[f-8]^r[f-14]^r[f-16])<<1|t>>>31;for(var h=0;h<80;++h){var p=~~(h/20),m=d(n)+c(p,o,s,a)+u+r[h]+i[p]|0;u=a,a=s,s=l(o),o=n,n=m}this._a=n+this._a|0,this._b=o+this._b|0,this._c=s+this._c|0,this._d=a+this._d|0,this._e=u+this._e|0},u.prototype._hash=function(){var e=s.allocUnsafe(20);return e.writeInt32BE(0|this._a,0),e.writeInt32BE(0|this._b,4),e.writeInt32BE(0|this._c,8),e.writeInt32BE(0|this._d,12),e.writeInt32BE(0|this._e,16),e},t.exports=u},{"./hash":"/Users/jnordberg/Development/dsteem/node_modules/sha.js/hash.js",inherits:"/Users/jnordberg/Development/dsteem/node_modules/inherits/inherits_browser.js","safe-buffer":"/Users/jnordberg/Development/dsteem/node_modules/safe-buffer/index.js"}],"/Users/jnordberg/Development/dsteem/node_modules/sha.js/sha224.js":[function(e,t,r){var n=e("inherits"),o=e("./sha256"),s=e("./hash"),i=e("safe-buffer").Buffer,a=new Array(64);function u(){this.init(),this._w=a,s.call(this,64,56)}n(u,o),u.prototype.init=function(){return this._a=3238371032,this._b=914150663,this._c=812702999,this._d=4144912697,this._e=4290775857,this._f=1750603025,this._g=1694076839,this._h=3204075428,this},u.prototype._hash=function(){var e=i.allocUnsafe(28);return e.writeInt32BE(this._a,0),e.writeInt32BE(this._b,4),e.writeInt32BE(this._c,8),e.writeInt32BE(this._d,12),e.writeInt32BE(this._e,16),e.writeInt32BE(this._f,20),e.writeInt32BE(this._g,24),e},t.exports=u},{"./hash":"/Users/jnordberg/Development/dsteem/node_modules/sha.js/hash.js","./sha256":"/Users/jnordberg/Development/dsteem/node_modules/sha.js/sha256.js",inherits:"/Users/jnordberg/Development/dsteem/node_modules/inherits/inherits_browser.js","safe-buffer":"/Users/jnordberg/Development/dsteem/node_modules/safe-buffer/index.js"}],"/Users/jnordberg/Development/dsteem/node_modules/sha.js/sha256.js":[function(e,t,r){var n=e("inherits"),o=e("./hash"),s=e("safe-buffer").Buffer,i=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],a=new Array(64);function u(){this.init(),this._w=a,o.call(this,64,56)}function d(e,t,r){return r^e&(t^r)}function l(e,t,r){return e&t|r&(e|t)}function c(e){return(e>>>2|e<<30)^(e>>>13|e<<19)^(e>>>22|e<<10)}function f(e){return(e>>>6|e<<26)^(e>>>11|e<<21)^(e>>>25|e<<7)}function h(e){return(e>>>7|e<<25)^(e>>>18|e<<14)^e>>>3}n(u,o),u.prototype.init=function(){return this._a=1779033703,this._b=3144134277,this._c=1013904242,this._d=2773480762,this._e=1359893119,this._f=2600822924,this._g=528734635,this._h=1541459225,this},u.prototype._update=function(e){for(var t,r=this._w,n=0|this._a,o=0|this._b,s=0|this._c,a=0|this._d,u=0|this._e,p=0|this._f,m=0|this._g,b=0|this._h,g=0;g<16;++g)r[g]=e.readInt32BE(4*g);for(;g<64;++g)r[g]=0|(((t=r[g-2])>>>17|t<<15)^(t>>>19|t<<13)^t>>>10)+r[g-7]+h(r[g-15])+r[g-16];for(var v=0;v<64;++v){var _=b+f(u)+d(u,p,m)+i[v]+r[v]|0,y=c(n)+l(n,o,s)|0;b=m,m=p,p=u,u=a+_|0,a=s,s=o,o=n,n=_+y|0}this._a=n+this._a|0,this._b=o+this._b|0,this._c=s+this._c|0,this._d=a+this._d|0,this._e=u+this._e|0,this._f=p+this._f|0,this._g=m+this._g|0,this._h=b+this._h|0},u.prototype._hash=function(){var e=s.allocUnsafe(32);return e.writeInt32BE(this._a,0),e.writeInt32BE(this._b,4),e.writeInt32BE(this._c,8),e.writeInt32BE(this._d,12),e.writeInt32BE(this._e,16),e.writeInt32BE(this._f,20),e.writeInt32BE(this._g,24),e.writeInt32BE(this._h,28),e},t.exports=u},{"./hash":"/Users/jnordberg/Development/dsteem/node_modules/sha.js/hash.js",inherits:"/Users/jnordberg/Development/dsteem/node_modules/inherits/inherits_browser.js","safe-buffer":"/Users/jnordberg/Development/dsteem/node_modules/safe-buffer/index.js"}],"/Users/jnordberg/Development/dsteem/node_modules/sha.js/sha384.js":[function(e,t,r){var n=e("inherits"),o=e("./sha512"),s=e("./hash"),i=e("safe-buffer").Buffer,a=new Array(160);function u(){this.init(),this._w=a,s.call(this,128,112)}n(u,o),u.prototype.init=function(){return this._ah=3418070365,this._bh=1654270250,this._ch=2438529370,this._dh=355462360,this._eh=1731405415,this._fh=2394180231,this._gh=3675008525,this._hh=1203062813,this._al=3238371032,this._bl=914150663,this._cl=812702999,this._dl=4144912697,this._el=4290775857,this._fl=1750603025,this._gl=1694076839,this._hl=3204075428,this},u.prototype._hash=function(){var e=i.allocUnsafe(48);function t(t,r,n){e.writeInt32BE(t,n),e.writeInt32BE(r,n+4)}return t(this._ah,this._al,0),t(this._bh,this._bl,8),t(this._ch,this._cl,16),t(this._dh,this._dl,24),t(this._eh,this._el,32),t(this._fh,this._fl,40),e},t.exports=u},{"./hash":"/Users/jnordberg/Development/dsteem/node_modules/sha.js/hash.js","./sha512":"/Users/jnordberg/Development/dsteem/node_modules/sha.js/sha512.js",inherits:"/Users/jnordberg/Development/dsteem/node_modules/inherits/inherits_browser.js","safe-buffer":"/Users/jnordberg/Development/dsteem/node_modules/safe-buffer/index.js"}],"/Users/jnordberg/Development/dsteem/node_modules/sha.js/sha512.js":[function(e,t,r){var n=e("inherits"),o=e("./hash"),s=e("safe-buffer").Buffer,i=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],a=new Array(160);function u(){this.init(),this._w=a,o.call(this,128,112)}function d(e,t,r){return r^e&(t^r)}function l(e,t,r){return e&t|r&(e|t)}function c(e,t){return(e>>>28|t<<4)^(t>>>2|e<<30)^(t>>>7|e<<25)}function f(e,t){return(e>>>14|t<<18)^(e>>>18|t<<14)^(t>>>9|e<<23)}function h(e,t){return(e>>>1|t<<31)^(e>>>8|t<<24)^e>>>7}function p(e,t){return(e>>>1|t<<31)^(e>>>8|t<<24)^(e>>>7|t<<25)}function m(e,t){return(e>>>19|t<<13)^(t>>>29|e<<3)^e>>>6}function b(e,t){return(e>>>19|t<<13)^(t>>>29|e<<3)^(e>>>6|t<<26)}function g(e,t){return e>>>0<t>>>0?1:0}n(u,o),u.prototype.init=function(){return this._ah=1779033703,this._bh=3144134277,this._ch=1013904242,this._dh=2773480762,this._eh=1359893119,this._fh=2600822924,this._gh=528734635,this._hh=1541459225,this._al=4089235720,this._bl=2227873595,this._cl=4271175723,this._dl=1595750129,this._el=2917565137,this._fl=725511199,this._gl=4215389547,this._hl=327033209,this},u.prototype._update=function(e){for(var t=this._w,r=0|this._ah,n=0|this._bh,o=0|this._ch,s=0|this._dh,a=0|this._eh,u=0|this._fh,v=0|this._gh,_=0|this._hh,y=0|this._al,w=0|this._bl,j=0|this._cl,E=0|this._dl,D=0|this._el,x=0|this._fl,S=0|this._gl,U=0|this._hl,k=0;k<32;k+=2)t[k]=e.readInt32BE(4*k),t[k+1]=e.readInt32BE(4*k+4);for(;k<160;k+=2){var A=t[k-30],I=t[k-30+1],C=h(A,I),T=p(I,A),M=m(A=t[k-4],I=t[k-4+1]),O=b(I,A),P=t[k-32],N=t[k-32+1],R=T+t[k-14+1]|0,L=C+t[k-14]+g(R,T)|0;L=(L=L+M+g(R=R+O|0,O)|0)+P+g(R=R+N|0,N)|0,t[k]=L,t[k+1]=R}for(var B=0;B<160;B+=2){L=t[B],R=t[B+1];var V=l(r,n,o),F=l(y,w,j),z=c(r,y),q=c(y,r),H=f(a,D),K=f(D,a),G=i[B],Y=i[B+1],W=d(a,u,v),Z=d(D,x,S),X=U+K|0,J=_+H+g(X,U)|0;J=(J=(J=J+W+g(X=X+Z|0,Z)|0)+G+g(X=X+Y|0,Y)|0)+L+g(X=X+R|0,R)|0;var Q=q+F|0,$=z+V+g(Q,q)|0;_=v,U=S,v=u,S=x,u=a,x=D,a=s+J+g(D=E+X|0,E)|0,s=o,E=j,o=n,j=w,n=r,w=y,r=J+$+g(y=X+Q|0,X)|0}this._al=this._al+y|0,this._bl=this._bl+w|0,this._cl=this._cl+j|0,this._dl=this._dl+E|0,this._el=this._el+D|0,this._fl=this._fl+x|0,this._gl=this._gl+S|0,this._hl=this._hl+U|0,this._ah=this._ah+r+g(this._al,y)|0,this._bh=this._bh+n+g(this._bl,w)|0,this._ch=this._ch+o+g(this._cl,j)|0,this._dh=this._dh+s+g(this._dl,E)|0,this._eh=this._eh+a+g(this._el,D)|0,this._fh=this._fh+u+g(this._fl,x)|0,this._gh=this._gh+v+g(this._gl,S)|0,this._hh=this._hh+_+g(this._hl,U)|0},u.prototype._hash=function(){var e=s.allocUnsafe(64);function t(t,r,n){e.writeInt32BE(t,n),e.writeInt32BE(r,n+4)}return t(this._ah,this._al,0),t(this._bh,this._bl,8),t(this._ch,this._cl,16),t(this._dh,this._dl,24),t(this._eh,this._el,32),t(this._fh,this._fl,40),t(this._gh,this._gl,48),t(this._hh,this._hl,56),e},t.exports=u},{"./hash":"/Users/jnordberg/Development/dsteem/node_modules/sha.js/hash.js",inherits:"/Users/jnordberg/Development/dsteem/node_modules/inherits/inherits_browser.js","safe-buffer":"/Users/jnordberg/Development/dsteem/node_modules/safe-buffer/index.js"}],"/Users/jnordberg/Development/dsteem/node_modules/stream-browserify/index.js":[function(e,t,r){t.exports=o;var n=e("events").EventEmitter;function o(){n.call(this)}e("inherits")(o,n),o.Readable=e("readable-stream/readable.js"),o.Writable=e("readable-stream/writable.js"),o.Duplex=e("readable-stream/duplex.js"),o.Transform=e("readable-stream/transform.js"),o.PassThrough=e("readable-stream/passthrough.js"),o.Stream=o,o.prototype.pipe=function(e,t){var r=this;function o(t){e.writable&&!1===e.write(t)&&r.pause&&r.pause()}function s(){r.readable&&r.resume&&r.resume()}r.on("data",o),e.on("drain",s),e._isStdio||t&&!1===t.end||(r.on("end",a),r.on("close",u));var i=!1;function a(){i||(i=!0,e.end())}function u(){i||(i=!0,"function"==typeof e.destroy&&e.destroy())}function d(e){if(l(),0===n.listenerCount(this,"error"))throw e}function l(){r.removeListener("data",o),e.removeListener("drain",s),r.removeListener("end",a),r.removeListener("close",u),r.removeListener("error",d),e.removeListener("error",d),r.removeListener("end",l),r.removeListener("close",l),e.removeListener("close",l)}return r.on("error",d),e.on("error",d),r.on("end",l),r.on("close",l),e.on("close",l),e.emit("pipe",r),e}},{events:"/Users/jnordberg/Development/dsteem/node_modules/events/events.js",inherits:"/Users/jnordberg/Development/dsteem/node_modules/inherits/inherits_browser.js","readable-stream/duplex.js":"/Users/jnordberg/Development/dsteem/node_modules/readable-stream/duplex-browser.js","readable-stream/passthrough.js":"/Users/jnordberg/Development/dsteem/node_modules/readable-stream/passthrough.js","readable-stream/readable.js":"/Users/jnordberg/Development/dsteem/node_modules/readable-stream/readable-browser.js","readable-stream/transform.js":"/Users/jnordberg/Development/dsteem/node_modules/readable-stream/transform.js","readable-stream/writable.js":"/Users/jnordberg/Development/dsteem/node_modules/readable-stream/writable-browser.js"}],"/Users/jnordberg/Development/dsteem/node_modules/util-deprecate/browser.js":[function(e,t,r){(function(e){function r(t){try{if(!e.localStorage)return!1}catch(e){return!1}var r=e.localStorage[t];return null!=r&&"true"===String(r).toLowerCase()}t.exports=function(e,t){if(r("noDeprecation"))return e;var n=!1;return function(){if(!n){if(r("throwDeprecation"))throw new Error(t);r("traceDeprecation"),n=!0}return e.apply(this,arguments)}}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],"/Users/jnordberg/Development/dsteem/node_modules/util/node_modules/inherits/inherits_browser.js":[function(e,t,r){arguments[4]["/Users/jnordberg/Development/dsteem/node_modules/inherits/inherits_browser.js"][0].apply(r,arguments)},{}],"/Users/jnordberg/Development/dsteem/node_modules/util/support/isBufferBrowser.js":[function(e,t,r){t.exports=function(e){return e&&"object"==typeof e&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8}},{}],"/Users/jnordberg/Development/dsteem/node_modules/util/util.js":[function(e,t,r){(function(t,n){var o=/%[sdj%]/g;r.format=function(e){if(!g(e)){for(var t=[],r=0;r<arguments.length;r++)t.push(a(arguments[r]));return t.join(" ")}r=1;for(var n=arguments,s=n.length,i=String(e).replace(o,function(e){if("%%"===e)return"%";if(r>=s)return e;switch(e){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch(e){return"[Circular]"}default:return e}}),u=n[r];r<s;u=n[++r])m(u)||!y(u)?i+=" "+u:i+=" "+a(u);return i},r.deprecate=function(e,o){if(v(n.process))return function(){return r.deprecate(e,o).apply(this,arguments)};if(!0===t.noDeprecation)return e;var s=!1;return function(){if(!s){if(t.throwDeprecation)throw new Error(o);s=!0}return e.apply(this,arguments)}};var s,i={};function a(e,t){var n={seen:[],stylize:d};return arguments.length>=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),p(t)?n.showHidden=t:t&&r._extend(n,t),v(n.showHidden)&&(n.showHidden=!1),v(n.depth)&&(n.depth=2),v(n.colors)&&(n.colors=!1),v(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=u),l(n,e,n.depth)}function u(e,t){var r=a.styles[t];return r?"\x1b["+a.colors[r][0]+"m"+e+"\x1b["+a.colors[r][1]+"m":e}function d(e,t){return e}function l(e,t,n){if(e.customInspect&&t&&E(t.inspect)&&t.inspect!==r.inspect&&(!t.constructor||t.constructor.prototype!==t)){var o=t.inspect(n,e);return g(o)||(o=l(e,o,n)),o}var s=function(e,t){if(v(t))return e.stylize("undefined","undefined");if(g(t)){var r="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(r,"string")}return b(t)?e.stylize(""+t,"number"):p(t)?e.stylize(""+t,"boolean"):m(t)?e.stylize("null","null"):void 0}(e,t);if(s)return s;var i,a=Object.keys(t),u=(i={},a.forEach(function(e,t){i[e]=!0}),i);if(e.showHidden&&(a=Object.getOwnPropertyNames(t)),j(t)&&(a.indexOf("message")>=0||a.indexOf("description")>=0))return c(t);if(0===a.length){if(E(t))return e.stylize("[Function"+(t.name?": "+t.name:"")+"]","special");if(_(t))return e.stylize(RegExp.prototype.toString.call(t),"regexp");if(w(t))return e.stylize(Date.prototype.toString.call(t),"date");if(j(t))return c(t)}var d,y="",D=!1,S=["{","}"];return h(t)&&(D=!0,S=["[","]"]),E(t)&&(y=" [Function"+(t.name?": "+t.name:"")+"]"),_(t)&&(y=" "+RegExp.prototype.toString.call(t)),w(t)&&(y=" "+Date.prototype.toUTCString.call(t)),j(t)&&(y=" "+c(t)),0!==a.length||D&&0!=t.length?n<0?_(t)?e.stylize(RegExp.prototype.toString.call(t),"regexp"):e.stylize("[Object]","special"):(e.seen.push(t),d=D?function(e,t,r,n,o){for(var s=[],i=0,a=t.length;i<a;++i)x(t,String(i))?s.push(f(e,t,r,n,String(i),!0)):s.push("");return o.forEach(function(o){o.match(/^\d+$/)||s.push(f(e,t,r,n,o,!0))}),s}(e,t,n,u,a):a.map(function(r){return f(e,t,n,u,r,D)}),e.seen.pop(),function(e,t,r){return e.reduce(function(e,t){return t.indexOf("\n"),e+t.replace(/\u001b\[\d\d?m/g,"").length+1},0)>60?r[0]+(""===t?"":t+"\n ")+" "+e.join(",\n  ")+" "+r[1]:r[0]+t+" "+e.join(", ")+" "+r[1]}(d,y,S)):S[0]+y+S[1]}function c(e){return"["+Error.prototype.toString.call(e)+"]"}function f(e,t,r,n,o,s){var i,a,u;if((u=Object.getOwnPropertyDescriptor(t,o)||{value:t[o]}).get?a=e.stylize(u.set?"[Getter/Setter]":"[Getter]","special"):u.set&&(a=e.stylize("[Setter]","special")),x(n,o)||(i="["+o+"]"),a||(e.seen.indexOf(u.value)<0?(a=m(r)?l(e,u.value,null):l(e,u.value,r-1)).indexOf("\n")>-1&&(a=s?a.split("\n").map(function(e){return"  "+e}).join("\n").substr(2):"\n"+a.split("\n").map(function(e){return"   "+e}).join("\n")):a=e.stylize("[Circular]","special")),v(i)){if(s&&o.match(/^\d+$/))return a;(i=JSON.stringify(""+o)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(i=i.substr(1,i.length-2),i=e.stylize(i,"name")):(i=i.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),i=e.stylize(i,"string"))}return i+": "+a}function h(e){return Array.isArray(e)}function p(e){return"boolean"==typeof e}function m(e){return null===e}function b(e){return"number"==typeof e}function g(e){return"string"==typeof e}function v(e){return void 0===e}function _(e){return y(e)&&"[object RegExp]"===D(e)}function y(e){return"object"==typeof e&&null!==e}function w(e){return y(e)&&"[object Date]"===D(e)}function j(e){return y(e)&&("[object Error]"===D(e)||e instanceof Error)}function E(e){return"function"==typeof e}function D(e){return Object.prototype.toString.call(e)}function x(e,t){return Object.prototype.hasOwnProperty.call(e,t)}r.debuglog=function(e){return v(s)&&(s=t.env.NODE_DEBUG||""),e=e.toUpperCase(),i[e]||(i[e]=new RegExp("\\b"+e+"\\b","i").test(s)?function(){r.format.apply(r,arguments)}:function(){}),i[e]},r.inspect=a,a.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]},a.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},r.isArray=h,r.isBoolean=p,r.isNull=m,r.isNullOrUndefined=function(e){return null==e},r.isNumber=b,r.isString=g,r.isSymbol=function(e){return"symbol"==typeof e},r.isUndefined=v,r.isRegExp=_,r.isObject=y,r.isDate=w,r.isError=j,r.isFunction=E,r.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},r.isBuffer=e("./support/isBuffer"),r.log=function(){},r.inherits=e("inherits"),r._extend=function(e,t){if(!t||!y(t))return e;for(var r=Object.keys(t),n=r.length;n--;)e[r[n]]=t[r[n]];return e}}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./support/isBuffer":"/Users/jnordberg/Development/dsteem/node_modules/util/support/isBufferBrowser.js",_process:"/Users/jnordberg/Development/dsteem/node_modules/process/browser.js",inherits:"/Users/jnordberg/Development/dsteem/node_modules/util/node_modules/inherits/inherits_browser.js"}],"/Users/jnordberg/Development/dsteem/node_modules/verror/lib/verror.js":[function(e,t,r){var n=e("assert-plus"),o=e("util"),s=e("extsprintf"),i=e("core-util-is").isError,a=s.sprintf;function u(e){var t,r,o,s;if(n.object(e,"args"),n.bool(e.strict,"args.strict"),n.array(e.argv,"args.argv"),0===(t=e.argv).length)r={},o=[];else if(i(t[0]))r={cause:t[0]},o=t.slice(1);else if("object"==typeof t[0]){for(s in r={},t[0])r[s]=t[0][s];o=t.slice(1)}else n.string(t[0],"first argument to VError, SError, or WError constructor must be a string, object, or Error"),r={},o=t;return n.object(r),r.strict||e.strict||(o=o.map(function(e){return null===e?"null":void 0===e?"undefined":e})),{options:r,shortmessage:0===o.length?"":a.apply(null,o)}}function d(){var e,t,r,o,s,a;if(e=Array.prototype.slice.call(arguments,0),!(this instanceof d))return t=Object.create(d.prototype),d.apply(t,arguments),t;if((r=u({argv:e,strict:!1})).options.name&&(n.string(r.options.name,'error\'s "name" must be a string'),this.name=r.options.name),this.jse_shortmsg=r.shortmessage,s=r.shortmessage,(o=r.options.cause)&&(n.ok(i(o),"cause is not an Error"),this.jse_cause=o,r.options.skipCauseMessage||(s+=": "+o.message)),this.jse_info={},r.options.info)for(a in r.options.info)this.jse_info[a]=r.options.info[a];return this.message=s,Error.call(this,s),Error.captureStackTrace&&Error.captureStackTrace(this,r.options.constructorOpt||this.constructor),this}function l(){var e,t,r,n;return e=Array.prototype.slice.call(arguments,0),this instanceof l?(n=(r=u({argv:e,strict:!0})).options,d.call(this,n,"%s",r.shortmessage),this):(t=Object.create(l.prototype),l.apply(t,arguments),t)}function c(e){n.array(e,"list of errors"),n.ok(e.length>0,"must be at least one error"),this.ase_errors=e,d.call(this,{cause:e[0]},"first of %d error%s",e.length,1==e.length?"":"s")}function f(){var e,t,r,n;return e=Array.prototype.slice.call(arguments,0),this instanceof f?((n=(r=u({argv:e,strict:!1})).options).skipCauseMessage=!0,d.call(this,n,"%s",r.shortmessage),this):(t=Object.create(f.prototype),f.apply(t,e),t)}t.exports=d,d.VError=d,d.SError=l,d.WError=f,d.MultiError=c,o.inherits(d,Error),d.prototype.name="VError",d.prototype.toString=function(){var e=this.hasOwnProperty("name")&&this.name||this.constructor.name||this.constructor.prototype.name;return this.message&&(e+=": "+this.message),e},d.prototype.cause=function(){var e=d.cause(this);return null===e?void 0:e},d.cause=function(e){return n.ok(i(e),"err must be an Error"),i(e.jse_cause)?e.jse_cause:null},d.info=function(e){var t,r,o;if(n.ok(i(e),"err must be an Error"),t=null!==(r=d.cause(e))?d.info(r):{},"object"==typeof e.jse_info&&null!==e.jse_info)for(o in e.jse_info)t[o]=e.jse_info[o];return t},d.findCauseByName=function(e,t){var r;for(n.ok(i(e),"err must be an Error"),n.string(t,"name"),n.ok(t.length>0,"name cannot be empty"),r=e;null!==r;r=d.cause(r))if(n.ok(i(r)),r.name==t)return r;return null},d.hasCauseWithName=function(e,t){return null!==d.findCauseByName(e,t)},d.fullStack=function(e){n.ok(i(e),"err must be an Error");var t=d.cause(e);return t?e.stack+"\ncaused by: "+d.fullStack(t):e.stack},d.errorFromList=function(e){return n.arrayOfObject(e,"errors"),0===e.length?null:(e.forEach(function(e){n.ok(i(e))}),1==e.length?e[0]:new c(e))},d.errorForEach=function(e,t){n.ok(i(e),"err must be an Error"),n.func(t,"func"),e instanceof c?e.errors().forEach(function(e){t(e)}):t(e)},o.inherits(l,d),o.inherits(c,d),c.prototype.name="MultiError",c.prototype.errors=function(){return this.ase_errors.slice(0)},o.inherits(f,d),f.prototype.name="WError",f.prototype.toString=function(){var e=this.hasOwnProperty("name")&&this.name||this.constructor.name||this.constructor.prototype.name;return this.message&&(e+=": "+this.message),this.jse_cause&&this.jse_cause.message&&(e+="; caused by "+this.jse_cause.toString()),e},f.prototype.cause=function(e){return i(e)&&(this.jse_cause=e),this.jse_cause}},{"assert-plus":"/Users/jnordberg/Development/dsteem/node_modules/assert-plus/assert.js","core-util-is":"/Users/jnordberg/Development/dsteem/node_modules/core-util-is/lib/util.js",extsprintf:"/Users/jnordberg/Development/dsteem/node_modules/extsprintf/lib/extsprintf.js",util:"/Users/jnordberg/Development/dsteem/node_modules/util/util.js"}],"/Users/jnordberg/Development/dsteem/node_modules/vm-browserify/index.js":[function(_dereq_,module,exports){var indexOf=_dereq_("indexof"),Object_keys=function(e){if(Object.keys)return Object.keys(e);var t=[];for(var r in e)t.push(r);return t},forEach=function(e,t){if(e.forEach)return e.forEach(t);for(var r=0;r<e.length;r++)t(e[r],r,e)},defineProp=function(){try{return Object.defineProperty({},"_",{}),function(e,t,r){Object.defineProperty(e,t,{writable:!0,enumerable:!1,configurable:!0,value:r})}}catch(e){return function(e,t,r){e[t]=r}}}(),globals=["Array","Boolean","Date","Error","EvalError","Function","Infinity","JSON","Math","NaN","Number","Object","RangeError","ReferenceError","RegExp","String","SyntaxError","TypeError","URIError","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","eval","isFinite","isNaN","parseFloat","parseInt","undefined","unescape"];function Context(){}Context.prototype={};var Script=exports.Script=function(e){if(!(this instanceof Script))return new Script(e);this.code=e};Script.prototype.runInContext=function(e){if(!(e instanceof Context))throw new TypeError("needs a 'context' argument.");var t=document.createElement("iframe");t.style||(t.style={}),t.style.display="none",document.body.appendChild(t);var r=t.contentWindow,n=r.eval,o=r.execScript;!n&&o&&(o.call(r,"null"),n=r.eval),forEach(Object_keys(e),function(t){r[t]=e[t]}),forEach(globals,function(t){e[t]&&(r[t]=e[t])});var s=Object_keys(r),i=n.call(r,this.code);return forEach(Object_keys(r),function(t){(t in e||-1===indexOf(s,t))&&(e[t]=r[t])}),forEach(globals,function(t){t in e||defineProp(e,t,r[t])}),document.body.removeChild(t),i},Script.prototype.runInThisContext=function(){return eval(this.code)},Script.prototype.runInNewContext=function(e){var t=Script.createContext(e),r=this.runInContext(t);return forEach(Object_keys(t),function(r){e[r]=t[r]}),r},forEach(Object_keys(Script.prototype),function(e){exports[e]=Script[e]=function(t){var r=Script(t);return r[e].apply(r,[].slice.call(arguments,1))}}),exports.createScript=function(e){return exports.Script(e)},exports.createContext=Script.createContext=function(e){var t=new Context;return"object"==typeof e&&forEach(Object_keys(e),function(r){t[r]=e[r]}),t}},{indexof:"/Users/jnordberg/Development/dsteem/node_modules/indexof/index.js"}],"/Users/jnordberg/Development/dsteem/node_modules/whatwg-fetch/fetch.js":[function(e,t,r){!function(e){"use strict";if(!e.fetch){var t={searchParams:"URLSearchParams"in e,iterable:"Symbol"in e&&"iterator"in Symbol,blob:"FileReader"in e&&"Blob"in e&&function(){try{return new Blob,!0}catch(e){return!1}}(),formData:"FormData"in e,arrayBuffer:"ArrayBuffer"in e};if(t.arrayBuffer)var r=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],n=function(e){return e&&DataView.prototype.isPrototypeOf(e)},o=ArrayBuffer.isView||function(e){return e&&r.indexOf(Object.prototype.toString.call(e))>-1};l.prototype.append=function(e,t){e=a(e),t=u(t);var r=this.map[e];this.map[e]=r?r+","+t:t},l.prototype.delete=function(e){delete this.map[a(e)]},l.prototype.get=function(e){return e=a(e),this.has(e)?this.map[e]:null},l.prototype.has=function(e){return this.map.hasOwnProperty(a(e))},l.prototype.set=function(e,t){this.map[a(e)]=u(t)},l.prototype.forEach=function(e,t){for(var r in this.map)this.map.hasOwnProperty(r)&&e.call(t,this.map[r],r,this)},l.prototype.keys=function(){var e=[];return this.forEach(function(t,r){e.push(r)}),d(e)},l.prototype.values=function(){var e=[];return this.forEach(function(t){e.push(t)}),d(e)},l.prototype.entries=function(){var e=[];return this.forEach(function(t,r){e.push([r,t])}),d(e)},t.iterable&&(l.prototype[Symbol.iterator]=l.prototype.entries);var s=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];b.prototype.clone=function(){return new b(this,{body:this._bodyInit})},m.call(b.prototype),m.call(v.prototype),v.prototype.clone=function(){return new v(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new l(this.headers),url:this.url})},v.error=function(){var e=new v(null,{status:0,statusText:""});return e.type="error",e};var i=[301,302,303,307,308];v.redirect=function(e,t){if(-1===i.indexOf(t))throw new RangeError("Invalid status code");return new v(null,{status:t,headers:{location:e}})},e.Headers=l,e.Request=b,e.Response=v,e.fetch=function(e,r){return new Promise(function(n,o){var s=new b(e,r),i=new XMLHttpRequest;i.onload=function(){var e,t,r={status:i.status,statusText:i.statusText,headers:(e=i.getAllResponseHeaders()||"",t=new l,e.split(/\r?\n/).forEach(function(e){var r=e.split(":"),n=r.shift().trim();if(n){var o=r.join(":").trim();t.append(n,o)}}),t)};r.url="responseURL"in i?i.responseURL:r.headers.get("X-Request-URL"),n(new v("response"in i?i.response:i.responseText,r))},i.onerror=function(){o(new TypeError("Network request failed"))},i.ontimeout=function(){o(new TypeError("Network request failed"))},i.open(s.method,s.url,!0),"include"===s.credentials&&(i.withCredentials=!0),"responseType"in i&&t.blob&&(i.responseType="blob"),s.headers.forEach(function(e,t){i.setRequestHeader(t,e)}),i.send(void 0===s._bodyInit?null:s._bodyInit)})},e.fetch.polyfill=!0}function a(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(e))throw new TypeError("Invalid character in header field name");return e.toLowerCase()}function u(e){return"string"!=typeof e&&(e=String(e)),e}function d(e){var r={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return t.iterable&&(r[Symbol.iterator]=function(){return r}),r}function l(e){this.map={},e instanceof l?e.forEach(function(e,t){this.append(t,e)},this):Array.isArray(e)?e.forEach(function(e){this.append(e[0],e[1])},this):e&&Object.getOwnPropertyNames(e).forEach(function(t){this.append(t,e[t])},this)}function c(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function f(e){return new Promise(function(t,r){e.onload=function(){t(e.result)},e.onerror=function(){r(e.error)}})}function h(e){var t=new FileReader,r=f(t);return t.readAsArrayBuffer(e),r}function p(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function m(){return this.bodyUsed=!1,this._initBody=function(e){if(this._bodyInit=e,e)if("string"==typeof e)this._bodyText=e;else if(t.blob&&Blob.prototype.isPrototypeOf(e))this._bodyBlob=e;else if(t.formData&&FormData.prototype.isPrototypeOf(e))this._bodyFormData=e;else if(t.searchParams&&URLSearchParams.prototype.isPrototypeOf(e))this._bodyText=e.toString();else if(t.arrayBuffer&&t.blob&&n(e))this._bodyArrayBuffer=p(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer]);else{if(!t.arrayBuffer||!ArrayBuffer.prototype.isPrototypeOf(e)&&!o(e))throw new Error("unsupported BodyInit type");this._bodyArrayBuffer=p(e)}else this._bodyText="";this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):t.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},t.blob&&(this.blob=function(){var e=c(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?c(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(h)}),this.text=function(){var e,t,r,n=c(this);if(n)return n;if(this._bodyBlob)return e=this._bodyBlob,r=f(t=new FileReader),t.readAsText(e),r;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),r=new Array(t.length),n=0;n<t.length;n++)r[n]=String.fromCharCode(t[n]);return r.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},t.formData&&(this.formData=function(){return this.text().then(g)}),this.json=function(){return this.text().then(JSON.parse)},this}function b(e,t){var r,n,o=(t=t||{}).body;if(e instanceof b){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new l(e.headers)),this.method=e.method,this.mode=e.mode,o||null==e._bodyInit||(o=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"omit",!t.headers&&this.headers||(this.headers=new l(t.headers)),this.method=(n=(r=t.method||this.method||"GET").toUpperCase(),s.indexOf(n)>-1?n:r),this.mode=t.mode||this.mode||null,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&o)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(o)}function g(e){var t=new FormData;return e.trim().split("&").forEach(function(e){if(e){var r=e.split("="),n=r.shift().replace(/\+/g," "),o=r.join("=").replace(/\+/g," ");t.append(decodeURIComponent(n),decodeURIComponent(o))}}),t}function v(e,t){t||(t={}),this.type="default",this.status="status"in t?t.status:200,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in t?t.statusText:"OK",this.headers=new l(t.headers),this.url=t.url||"",this._initBody(e)}}("undefined"!=typeof self?self:this)},{}],"/Users/jnordberg/Development/dsteem/src/client.ts":[function(e,t,r){(function(t){"use strict";var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();Object.defineProperty(r,"__esModule",{value:!0});var s=e("assert"),i=e("verror"),a=e("./version"),u=e("./helpers/blockchain"),d=e("./helpers/broadcast"),l=e("./helpers/database"),c=e("./utils");r.VERSION=a.default,r.DEFAULT_CHAIN_ID=t.from("0000000000000000000000000000000000000000000000000000000000000000","hex"),r.DEFAULT_ADDRESS_PREFIX="STM";var f=function(){function e(n){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!function(t,r){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this),this.seqNo=0,this.address=n,this.options=o,this.chainId=o.chainId?t.from(o.chainId,"hex"):r.DEFAULT_CHAIN_ID,s.equal(this.chainId.length,32,"invalid chain id"),this.addressPrefix=o.addressPrefix||r.DEFAULT_ADDRESS_PREFIX,this.timeout=o.timeout||6e4,this.backoff=o.backoff||h,this.database=new l.DatabaseAPI(this),this.broadcast=new d.BroadcastAPI(this),this.blockchain=new u.Blockchain(this)}return o(e,[{key:"call",value:function(e,r){var o,u,d,l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return o=this,u=void 0,d=regeneratorRuntime.mark(function o(){var u,d,f,h,p,m,b,g,v,_;return regeneratorRuntime.wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return u={id:++this.seqNo,jsonrpc:"2.0",method:"call",params:[e,r,l]},d=JSON.stringify(u,function(e,r){return"object"===(void 0===r?"undefined":n(r))&&"Buffer"===r.type?t.from(r.data).toString("hex"):r}),f={body:d,cache:"no-cache",headers:{"User-Agent":"dsteem/"+a.default},method:"POST",mode:"cors"},this.options.agent&&(f.agent=this.options.agent),h=void 0,"network_broadcast_api"!==e&&(h=function(e){return 500*(e+1)}),o.next=8,c.retryingFetch(this.address,f,this.timeout,this.backoff,h);case 8:if(!(p=o.sent).error){o.next=14;break}throw b=p.error.message,(m=p.error.data)&&m.stack&&m.stack.length>0&&(v=c.copy((g=m.stack[0]).data),b=g.format.replace(/\$\{([a-z_]+)\}/gi,function(e,t){var r=e;return v[t]&&(r=v[t],delete v[t]),r}),(_=Object.keys(v).map(function(e){return{key:e,value:v[e]}}).filter(function(e){return"string"==typeof e.value}).map(function(e){return e.key+"="+e.value})).length>0&&(b+=" "+_.join(" "))),new i.VError({info:m,name:"RPCError"},b);case 14:return s.equal(p.id,u.id,"got invalid response id"),o.abrupt("return",p.result);case 16:case"end":return o.stop()}},o,this)}),new(u||(u=Promise))(function(e,t){function r(e){try{s(d.next(e))}catch(e){t(e)}}function n(e){try{s(d.throw(e))}catch(e){t(e)}}function s(t){t.done?e(t.value):new u(function(e){e(t.value)}).then(r,n)}s((d=d.apply(o,[])).next())})}}],[{key:"testnet",value:function(t){var r={};return t&&((r=c.copy(t)).agent=t.agent),r.addressPrefix="STX",r.chainId="79276aea5d4877d9a25892eaa01b0adf019d3e5cb12a97478df3298ccdd01673",new e("https://testnet.steem.vc",r)}}]),e}();r.Client=f;var h=function(e){return Math.min(Math.pow(10*e,2),1e4)}}).call(this,e("buffer").Buffer)},{"./helpers/blockchain":"/Users/jnordberg/Development/dsteem/src/helpers/blockchain.ts","./helpers/broadcast":"/Users/jnordberg/Development/dsteem/src/helpers/broadcast.ts","./helpers/database":"/Users/jnordberg/Development/dsteem/src/helpers/database.ts","./utils":"/Users/jnordberg/Development/dsteem/src/utils.ts","./version":"/Users/jnordberg/Development/dsteem/lib/version.js",assert:"/Users/jnordberg/Development/dsteem/node_modules/assert/assert.js",buffer:"/Users/jnordberg/Development/dsteem/node_modules/buffer/index.js",verror:"/Users/jnordberg/Development/dsteem/node_modules/verror/lib/verror.js"}],"/Users/jnordberg/Development/dsteem/src/crypto.ts":[function(e,t,r){(function(t){"use strict";var n=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(r,"__esModule",{value:!0});var s=e("assert"),i=e("bs58"),a=e("bytebuffer"),u=e("crypto"),d=e("secp256k1"),l=e("verror"),c=e("./client"),f=e("./steem/serializer"),h=e("./utils");function p(e){return u.createHash("ripemd160").update(e).digest()}function m(e){return u.createHash("sha256").update(e).digest()}function b(e){return m(m(e))}function g(e,r){var n=p(e);return r+i.encode(t.concat([e,n.slice(0,4)]))}function v(e){s.equal(e.readUInt8(0),128,"private key network id mismatch");var r=b(e);return i.encode(t.concat([e,r.slice(0,4)]))}function _(e){var t=i.decode(e);s.deepEqual(t.slice(0,1),r.NETWORK_ID,"private key network id mismatch");var n=t.slice(-4),o=t.slice(0,-4),a=b(o).slice(0,4);return s.deepEqual(a,n,"private key checksum mismatch"),o}function y(e){return!(128&e[0]||0===e[0]&&!(128&e[1])||128&e[32]||0===e[32]&&!(128&e[33]))}r.NETWORK_ID=t.from([128]);var w=function(){function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:c.DEFAULT_ADDRESS_PREFIX;o(this,e),this.key=t,this.prefix=r,s(d.publicKeyVerify(t),"invalid public key")}return n(e,[{key:"verify",value:function(e,t){return d.verify(e,t.data,this.key)}},{key:"toString",value:function(){return g(this.key,this.prefix)}},{key:"toJSON",value:function(){return this.toString()}},{key:"inspect",value:function(){return"PublicKey: "+this.toString()}}],[{key:"fromString",value:function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:c.DEFAULT_ADDRESS_PREFIX;return new e(function(e,t){s.equal(e.slice(0,t.length),t,"public key invalid prefix"),e=e.slice(t.length);var r=i.decode(e),n=r.slice(-4),o=r.slice(0,-4),a=p(o).slice(0,4);return s.deepEqual(a,n,"public key checksum mismatch"),o}(t,r),r)}},{key:"from",value:function(r){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:c.DEFAULT_ADDRESS_PREFIX;return r instanceof e?(s.equal(r.prefix,n,"invalid public key prefix"),r):t.isBuffer(r)?new e(r,n):e.fromString(r,n)}}]),e}();r.PublicKey=w;var j=function(){function e(t){o(this,e),this.key=t,s(d.privateKeyVerify(t),"invalid private key")}return n(e,[{key:"sign",value:function(e){var r=void 0,n=0;do{var o={data:m(t.concat([e,new t(++n)]))};r=d.sign(e,this.key,o)}while(!y(r.signature));return new E(r.signature,r.recovery)}},{key:"createPublic",value:function(e){return new w(d.publicKeyCreate(this.key),e)}},{key:"toString",value:function(){return v(t.concat([r.NETWORK_ID,this.key]))}},{key:"inspect",value:function(){var e=this.toString();return"PrivateKey: "+e.slice(0,6)+"..."+e.slice(-6)}}],[{key:"from",value:function(t){return"string"==typeof t?e.fromString(t):new e(t)}},{key:"fromString",value:function(t){return new e(_(t).slice(1))}},{key:"fromSeed",value:function(t){return new e(m(t))}},{key:"fromLogin",value:function(t,r){return e.fromSeed(t+(arguments.length>2&&void 0!==arguments[2]?arguments[2]:"active")+r)}}]),e}();r.PrivateKey=j;var E=function(){function e(t,r){o(this,e),this.data=t,this.recovery=r,s.equal(t.length,64,"invalid signature")}return n(e,[{key:"recover",value:function(e,t){return new w(d.recover(e,this.data,this.recovery),t)}},{key:"toBuffer",value:function(){var e=t.alloc(65);return e.writeUInt8(this.recovery+31,0),this.data.copy(e,1),e}},{key:"toString",value:function(){return this.toBuffer().toString("hex")}}],[{key:"fromBuffer",value:function(t){s.equal(t.length,65,"invalid signature");var r=t.readUInt8(0)-31;return new e(t.slice(1),r)}},{key:"fromString",value:function(r){return e.fromBuffer(t.from(r,"hex"))}}]),e}();r.Signature=E,r.cryptoUtils={decodePrivate:_,doubleSha256:b,encodePrivate:v,encodePublic:g,isCanonicalSignature:y,ripemd160:p,sha256:m,signTransaction:function(e,r,n){var o=new a(a.DEFAULT_CAPACITY,a.LITTLE_ENDIAN);try{f.Types.Transaction(o,e,n)}catch(e){throw new l.VError({cause:e,name:"SerializationError"},"Unable to serialize transaction")}o.flip();var s=t.from(o.toBuffer()),i=m(t.concat([n.chainId,s])),u=h.copy(e);u.signatures||(u.signatures=[]),Array.isArray(r)||(r=[r]);var d=!0,c=!1,p=void 0;try{for(var b,g=r[Symbol.iterator]();!(d=(b=g.next()).done);d=!0){var v=b.value.sign(i);u.signatures.push(v.toString())}}catch(e){c=!0,p=e}finally{try{!d&&g.return&&g.return()}finally{if(c)throw p}}return u}}}).call(this,e("buffer").Buffer)},{"./client":"/Users/jnordberg/Development/dsteem/src/client.ts","./steem/serializer":"/Users/jnordberg/Development/dsteem/src/steem/serializer.ts","./utils":"/Users/jnordberg/Development/dsteem/src/utils.ts",assert:"/Users/jnordberg/Development/dsteem/node_modules/assert/assert.js",bs58:"/Users/jnordberg/Development/dsteem/node_modules/bs58/index.js",buffer:"/Users/jnordberg/Development/dsteem/node_modules/buffer/index.js",bytebuffer:"/Users/jnordberg/Development/dsteem/node_modules/bytebuffer/dist/bytebuffer.js",crypto:"/Users/jnordberg/Development/dsteem/node_modules/crypto-browserify/index.js",secp256k1:"/Users/jnordberg/Development/dsteem/node_modules/secp256k1/elliptic.js",verror:"/Users/jnordberg/Development/dsteem/node_modules/verror/lib/verror.js"}],"/Users/jnordberg/Development/dsteem/src/helpers/blockchain.ts":[function(e,t,r){"use strict";var n=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),o=function(e,t,r,n){return new(r||(r=Promise))(function(o,s){function i(e){try{u(n.next(e))}catch(e){s(e)}}function a(e){try{u(n.throw(e))}catch(e){s(e)}}function u(e){e.done?o(e.value):new r(function(t){t(e.value)}).then(i,a)}u((n=n.apply(e,t||[])).next())})},s=function(e){return this instanceof s?(this.v=e,this):new s(e)},i=function(e,t,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,o=r.apply(e,t||[]),i=[];return n={},a("next"),a("throw"),a("return"),n[Symbol.asyncIterator]=function(){return this},n;function a(e){o[e]&&(n[e]=function(t){return new Promise(function(r,n){i.push([e,t,r,n])>1||u(e,t)})})}function u(e,t){try{(r=o[e](t)).value instanceof s?Promise.resolve(r.value.v).then(d,l):c(i[0][2],r)}catch(e){c(i[0][3],e)}var r}function d(e){u("next",e)}function l(e){u("throw",e)}function c(e,t){e(t),i.shift(),i.length&&u(i[0][0],i[0][1])}},a=function(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator];return t?t.call(e):"function"==typeof __values?__values(e):e[Symbol.iterator]()};Object.defineProperty(r,"__esModule",{value:!0});var u,d=e("./../utils");!function(e){e[e.Irreversible=0]="Irreversible",e[e.Latest=1]="Latest"}(u=r.BlockchainMode||(r.BlockchainMode={}));var l=function(){function e(t){!function(t,r){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this),this.client=t}return n(e,[{key:"getCurrentBlockNum",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:u.Irreversible;return o(this,void 0,void 0,regeneratorRuntime.mark(function t(){var r;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.client.database.getDynamicGlobalProperties();case 2:r=t.sent,t.t0=e,t.next=t.t0===u.Irreversible?6:t.t0===u.Latest?7:8;break;case 6:return t.abrupt("return",r.last_irreversible_block_num);case 7:return t.abrupt("return",r.head_block_number);case 8:case"end":return t.stop()}},t,this)}))}},{key:"getCurrentBlockHeader",value:function(e){return o(this,void 0,void 0,regeneratorRuntime.mark(function t(){return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.t0=this.client.database,t.next=3,this.getCurrentBlockNum(e);case 3:return t.t1=t.sent,t.abrupt("return",t.t0.getBlockHeader.call(t.t0,t.t1));case 5:case"end":return t.stop()}},t,this)}))}},{key:"getCurrentBlock",value:function(e){return o(this,void 0,void 0,regeneratorRuntime.mark(function t(){return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.t0=this.client.database,t.next=3,this.getCurrentBlockNum(e);case 3:return t.t1=t.sent,t.abrupt("return",t.t0.getBlock.call(t.t0,t.t1));case 5:case"end":return t.stop()}},t,this)}))}},{key:"getBlockNumbers",value:function(e){return i(this,arguments,regeneratorRuntime.mark(function t(){var r,n,o;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return r=3,e?"number"==typeof e&&(e={from:e}):e={},t.next=4,s(this.getCurrentBlockNum(e.mode));case 4:if(n=t.sent,!(void 0!==e.from&&e.from>n)){t.next=7;break}throw new Error("From can't be larger than current block num ("+n+")");case 7:o=void 0!==e.from?e.from:n;case 8:case 9:if(!(n>o)){t.next=16;break}return t.next=12,o++;case 12:if(!(void 0!==e.to&&o>e.to)){t.next=14;break}return t.abrupt("return");case 14:t.next=9;break;case 16:return t.next=18,s(d.sleep(1e3*r));case 18:return t.next=20,s(this.getCurrentBlockNum(e.mode));case 20:n=t.sent,t.next=8;break;case 23:case"end":return t.stop()}},t,this)}))}},{key:"getBlockNumberStream",value:function(e){return d.iteratorStream(this.getBlockNumbers(e))}},{key:"getBlocks",value:function(e){return i(this,arguments,regeneratorRuntime.mark(function t(){var r,n,o,i,u;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:t.prev=0,r=a(this.getBlockNumbers(e));case 2:return t.next=4,s(r.next());case 4:if((n=t.sent).done){t.next=15;break}return t.next=8,s(n.value);case 8:return o=t.sent,t.next=11,s(this.client.database.getBlock(o));case 11:return t.next=13,t.sent;case 13:t.next=2;break;case 15:t.next=20;break;case 17:t.prev=17,t.t0=t.catch(0),i={error:t.t0};case 20:if(t.prev=20,t.prev=21,!n||n.done||!(u=r.return)){t.next=25;break}return t.next=25,s(u.call(r));case 25:if(t.prev=25,!i){t.next=28;break}throw i.error;case 28:return t.finish(25);case 29:return t.finish(20);case 30:case"end":return t.stop()}},t,this,[[0,17,20,30],[21,,25,29]])}))}},{key:"getBlockStream",value:function(e){return d.iteratorStream(this.getBlocks(e))}},{key:"getOperations",value:function(e){return i(this,arguments,regeneratorRuntime.mark(function t(){var r,n,o,i,u,d,l,c,f,h,p,m;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:t.prev=0,r=a(this.getBlockNumbers(e));case 2:return t.next=4,s(r.next());case 4:if((n=t.sent).done){t.next=40;break}return t.next=8,s(n.value);case 8:return o=t.sent,t.next=11,s(this.client.database.getOperations(o));case 11:i=t.sent,u=!0,d=!1,l=void 0,t.prev=15,c=i[Symbol.iterator]();case 17:if(u=(f=c.next()).done){t.next=24;break}return h=f.value,t.next=21,h;case 21:u=!0,t.next=17;break;case 24:t.next=30;break;case 26:t.prev=26,t.t0=t.catch(15),d=!0,l=t.t0;case 30:t.prev=30,t.prev=31,!u&&c.return&&c.return();case 33:if(t.prev=33,!d){t.next=36;break}throw l;case 36:return t.finish(33);case 37:return t.finish(30);case 38:t.next=2;break;case 40:t.next=45;break;case 42:t.prev=42,t.t1=t.catch(0),p={error:t.t1};case 45:if(t.prev=45,t.prev=46,!n||n.done||!(m=r.return)){t.next=50;break}return t.next=50,s(m.call(r));case 50:if(t.prev=50,!p){t.next=53;break}throw p.error;case 53:return t.finish(50);case 54:return t.finish(45);case 55:case"end":return t.stop()}},t,this,[[0,42,45,55],[15,26,30,38],[31,,33,37],[46,,50,54]])}))}},{key:"getOperationsStream",value:function(e){return d.iteratorStream(this.getOperations(e))}}]),e}();r.Blockchain=l},{"./../utils":"/Users/jnordberg/Development/dsteem/src/utils.ts"}],"/Users/jnordberg/Development/dsteem/src/helpers/broadcast.ts":[function(e,t,r){(function(t){"use strict";var n=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var r=[],n=!0,o=!1,s=void 0;try{for(var i,a=e[Symbol.iterator]();!(n=(i=a.next()).done)&&(r.push(i.value),!t||r.length!==t);n=!0);}catch(e){o=!0,s=e}finally{try{!n&&a.return&&a.return()}finally{if(o)throw s}}return r}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},o=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),s=function(e,t,r,n){return new(r||(r=Promise))(function(o,s){function i(e){try{u(n.next(e))}catch(e){s(e)}}function a(e){try{u(n.throw(e))}catch(e){s(e)}}function u(e){e.done?o(e.value):new r(function(t){t(e.value)}).then(i,a)}u((n=n.apply(e,t||[])).next())})};Object.defineProperty(r,"__esModule",{value:!0});var i=e("assert"),a=e("./../crypto"),u=e("./../steem/account"),d=e("./../steem/asset"),l=e("./../steem/misc"),c=function(){function e(t){!function(t,r){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this),this.client=t,this.expireTime=6e4}return o(e,[{key:"comment",value:function(e,t){return s(this,void 0,void 0,regeneratorRuntime.mark(function r(){return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.abrupt("return",this.sendOperations([["comment",e]],t));case 2:case"end":return r.stop()}},r,this)}))}},{key:"commentWithOptions",value:function(e,t,r){return s(this,void 0,void 0,regeneratorRuntime.mark(function n(){return regeneratorRuntime.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.abrupt("return",this.sendOperations([["comment",e],["comment_options",t]],r));case 2:case"end":return n.stop()}},n,this)}))}},{key:"vote",value:function(e,t){return s(this,void 0,void 0,regeneratorRuntime.mark(function r(){return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.abrupt("return",this.sendOperations([["vote",e]],t));case 2:case"end":return r.stop()}},r,this)}))}},{key:"transfer",value:function(e,t){return s(this,void 0,void 0,regeneratorRuntime.mark(function r(){return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.abrupt("return",this.sendOperations([["transfer",e]],t));case 2:case"end":return r.stop()}},r,this)}))}},{key:"json",value:function(e,t){return s(this,void 0,void 0,regeneratorRuntime.mark(function r(){return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.abrupt("return",this.sendOperations([["custom_json",e]],t));case 2:case"end":return r.stop()}},r,this)}))}},{key:"createAccount",value:function(e,t){return s(this,void 0,void 0,regeneratorRuntime.mark(function r(){var o,s,i,c,f,h,p,m,b,g,v,_,y,w,j,E,D,x,S,U;return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:if(o=e.username,s=e.metadata,i=e.creator,c=this.client.addressPrefix,f=void 0,h=void 0,p=void 0,m=void 0,!e.password){r.next=13;break}b=a.PrivateKey.fromLogin(o,e.password,"owner").createPublic(c),f=u.Authority.from(b),g=a.PrivateKey.fromLogin(o,e.password,"active").createPublic(c),h=u.Authority.from(g),v=a.PrivateKey.fromLogin(o,e.password,"posting").createPublic(c),p=u.Authority.from(v),m=a.PrivateKey.fromLogin(o,e.password,"memo").createPublic(c),r.next=21;break;case 13:if(!e.auths){r.next=20;break}f=u.Authority.from(e.auths.owner),h=u.Authority.from(e.auths.active),p=u.Authority.from(e.auths.posting),m=a.PublicKey.from(e.auths.memoKey,c),r.next=21;break;case 20:throw new Error("Must specify either password or auths");case 21:if(y=e.delegation,void 0!==(_=e.fee)&&void 0!==y){r.next=35;break}return r.next=25,Promise.all([this.client.database.getDynamicGlobalProperties(),this.client.database.getChainProperties()]);case 25:w=n(r.sent,2),j=w[1],E=l.getVestingSharePrice(w[0]),D=d.Asset.from(j.account_creation_fee),S=E.convert(D.multiply(30*(x=5))).add("0.000002 VESTS"),void 0!==y&&void 0===_?(y=d.Asset.from(y,"VESTS"),_=d.Asset.max(E.convert(S.subtract(y)).divide(x),D)):(_=d.Asset.from(_||D,"STEEM"),y=d.Asset.max(S.subtract(E.convert(_.multiply(x))),d.Asset.from(0,"VESTS")));case 35:return U=["account_create_with_delegation",{active:h,creator:i,delegation:d.Asset.from(y,"VESTS"),extensions:[],fee:d.Asset.from(_,"STEEM"),json_metadata:s?JSON.stringify(s):"",memo_key:m,new_account_name:o,owner:f,posting:p}],r.abrupt("return",this.sendOperations([U],t));case 37:case"end":return r.stop()}},r,this)}))}},{key:"updateAccount",value:function(e,t){return s(this,void 0,void 0,regeneratorRuntime.mark(function r(){return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.abrupt("return",this.sendOperations([["account_update",e]],t));case 2:case"end":return r.stop()}},r,this)}))}},{key:"delegateVestingShares",value:function(e,t){return s(this,void 0,void 0,regeneratorRuntime.mark(function r(){return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.abrupt("return",this.sendOperations([["delegate_vesting_shares",e]],t));case 2:case"end":return r.stop()}},r,this)}))}},{key:"sendOperations",value:function(e,r){return s(this,void 0,void 0,regeneratorRuntime.mark(function n(){var o,s,a,u,d,l;return regeneratorRuntime.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,this.client.database.getDynamicGlobalProperties();case 2:return s=65535&(o=n.sent).head_block_number,a=t.from(o.head_block_id,"hex").readUInt32LE(4),u=new Date(Date.now()+this.expireTime).toISOString().slice(0,-5),d={expiration:u,extensions:[],operations:e,ref_block_num:s,ref_block_prefix:a},n.next=10,this.send(this.sign(d,r));case 10:return i(!1===(l=n.sent).expired,"transaction expired"),n.abrupt("return",l);case 13:case"end":return n.stop()}},n,this)}))}},{key:"sign",value:function(e,t){return a.cryptoUtils.signTransaction(e,t,this.client)}},{key:"send",value:function(e){return s(this,void 0,void 0,regeneratorRuntime.mark(function t(){return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",this.call("broadcast_transaction_synchronous",[e]));case 1:case"end":return t.stop()}},t,this)}))}},{key:"call",value:function(e,t){return this.client.call("network_broadcast_api",e,t)}}]),e}();r.BroadcastAPI=c}).call(this,e("buffer").Buffer)},{"./../crypto":"/Users/jnordberg/Development/dsteem/src/crypto.ts","./../steem/account":"/Users/jnordberg/Development/dsteem/src/steem/account.ts","./../steem/asset":"/Users/jnordberg/Development/dsteem/src/steem/asset.ts","./../steem/misc":"/Users/jnordberg/Development/dsteem/src/steem/misc.ts",assert:"/Users/jnordberg/Development/dsteem/node_modules/assert/assert.js",buffer:"/Users/jnordberg/Development/dsteem/node_modules/buffer/index.js"}],"/Users/jnordberg/Development/dsteem/src/helpers/database.ts":[function(e,t,r){"use strict";var n=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),o=function(e,t,r,n){return new(r||(r=Promise))(function(o,s){function i(e){try{u(n.next(e))}catch(e){s(e)}}function a(e){try{u(n.throw(e))}catch(e){s(e)}}function u(e){e.done?o(e.value):new r(function(t){t(e.value)}).then(i,a)}u((n=n.apply(e,t||[])).next())})};Object.defineProperty(r,"__esModule",{value:!0});var s=e("./../steem/asset"),i=function(){function e(t){!function(t,r){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this),this.client=t}return n(e,[{key:"call",value:function(e,t){return this.client.call("database_api",e,t)}},{key:"getDynamicGlobalProperties",value:function(){return this.call("get_dynamic_global_properties")}},{key:"getChainProperties",value:function(){return o(this,void 0,void 0,regeneratorRuntime.mark(function e(){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this.call("get_chain_properties"));case 1:case"end":return e.stop()}},e,this)}))}},{key:"getState",value:function(e){return o(this,void 0,void 0,regeneratorRuntime.mark(function t(){return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",this.call("get_state",[e]));case 1:case"end":return t.stop()}},t,this)}))}},{key:"getCurrentMedianHistoryPrice",value:function(){return o(this,void 0,void 0,regeneratorRuntime.mark(function e(){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.t0=s.Price,e.next=3,this.call("get_current_median_history_price");case 3:return e.t1=e.sent,e.abrupt("return",e.t0.from.call(e.t0,e.t1));case 5:case"end":return e.stop()}},e,this)}))}},{key:"getVestingDelegations",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1e3;return o(this,void 0,void 0,regeneratorRuntime.mark(function n(){return regeneratorRuntime.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.abrupt("return",this.call("get_vesting_delegations",[e,t,r]));case 1:case"end":return n.stop()}},n,this)}))}},{key:"getConfig",value:function(){return this.call("get_config")}},{key:"getBlockHeader",value:function(e){return this.call("get_block_header",[e])}},{key:"getBlock",value:function(e){return this.call("get_block",[e])}},{key:"getOperations",value:function(e){return this.call("get_ops_in_block",[e,arguments.length>1&&void 0!==arguments[1]&&arguments[1]])}},{key:"getDiscussions",value:function(e,t){return this.call("get_discussions_by_"+e,[t])}},{key:"getAccounts",value:function(e){return this.call("get_accounts",[e])}},{key:"getTransaction",value:function(e){return o(this,void 0,void 0,regeneratorRuntime.mark(function t(){var r,n;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.client.database.getBlock(e.block_num);case 2:if(-1!==(n=(r=t.sent).transaction_ids.indexOf(e.id))){t.next=6;break}throw new Error("Unable to find transaction "+e.id+" in block "+e.block_num);case 6:return t.abrupt("return",r.transactions[n]);case 7:case"end":return t.stop()}},t,this)}))}},{key:"verifyAuthority",value:function(e){return o(this,void 0,void 0,regeneratorRuntime.mark(function t(){return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",this.call("verify_authority",[e]));case 1:case"end":return t.stop()}},t,this)}))}}]),e}();r.DatabaseAPI=i},{"./../steem/asset":"/Users/jnordberg/Development/dsteem/src/steem/asset.ts"}],"/Users/jnordberg/Development/dsteem/src/index-browser.ts":[function(e,t,r){(function(t){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),t.navigator&&/Edge/.test(t.navigator.userAgent)&&delete t.fetch,e("core-js/es6/map"),e("core-js/es6/number"),e("core-js/es6/promise"),e("core-js/es6/symbol"),e("core-js/fn/array/from"),e("core-js/modules/es7.symbol.async-iterator"),e("regenerator-runtime/runtime"),e("whatwg-fetch"),function(e){for(var t in e)r.hasOwnProperty(t)||(r[t]=e[t])}(e("./index"))}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./index":"/Users/jnordberg/Development/dsteem/src/index.ts","core-js/es6/map":"/Users/jnordberg/Development/dsteem/node_modules/core-js/es6/map.js","core-js/es6/number":"/Users/jnordberg/Development/dsteem/node_modules/core-js/es6/number.js","core-js/es6/promise":"/Users/jnordberg/Development/dsteem/node_modules/core-js/es6/promise.js","core-js/es6/symbol":"/Users/jnordberg/Development/dsteem/node_modules/core-js/es6/symbol.js","core-js/fn/array/from":"/Users/jnordberg/Development/dsteem/node_modules/core-js/fn/array/from.js","core-js/modules/es7.symbol.async-iterator":"/Users/jnordberg/Development/dsteem/node_modules/core-js/modules/es7.symbol.async-iterator.js","regenerator-runtime/runtime":"/Users/jnordberg/Development/dsteem/node_modules/regenerator-runtime/runtime.js","whatwg-fetch":"/Users/jnordberg/Development/dsteem/node_modules/whatwg-fetch/fetch.js"}],"/Users/jnordberg/Development/dsteem/src/index.ts":[function(e,t,r){"use strict";function n(e){for(var t in e)r.hasOwnProperty(t)||(r[t]=e[t])}Object.defineProperty(r,"__esModule",{value:!0});var o=e("./utils");r.utils=o,n(e("./helpers/blockchain")),n(e("./helpers/database")),n(e("./steem/account")),n(e("./steem/asset")),n(e("./steem/misc")),n(e("./steem/serializer")),n(e("./client")),n(e("./crypto"))},{"./client":"/Users/jnordberg/Development/dsteem/src/client.ts","./crypto":"/Users/jnordberg/Development/dsteem/src/crypto.ts","./helpers/blockchain":"/Users/jnordberg/Development/dsteem/src/helpers/blockchain.ts","./helpers/database":"/Users/jnordberg/Development/dsteem/src/helpers/database.ts","./steem/account":"/Users/jnordberg/Development/dsteem/src/steem/account.ts","./steem/asset":"/Users/jnordberg/Development/dsteem/src/steem/asset.ts","./steem/misc":"/Users/jnordberg/Development/dsteem/src/steem/misc.ts","./steem/serializer":"/Users/jnordberg/Development/dsteem/src/steem/serializer.ts","./utils":"/Users/jnordberg/Development/dsteem/src/utils.ts"}],"/Users/jnordberg/Development/dsteem/src/steem/account.ts":[function(e,t,r){"use strict";var n=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();Object.defineProperty(r,"__esModule",{value:!0});var o=e("./../crypto"),s=function(){function e(t){var r=t.weight_threshold,n=t.account_auths,o=t.key_auths;!function(t,r){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this),this.weight_threshold=r,this.account_auths=n,this.key_auths=o}return n(e,null,[{key:"from",value:function(t){return t instanceof e?t:new e("string"==typeof t||t instanceof o.PublicKey?{account_auths:[],key_auths:[[t,1]],weight_threshold:1}:t)}}]),e}();r.Authority=s},{"./../crypto":"/Users/jnordberg/Development/dsteem/src/crypto.ts"}],"/Users/jnordberg/Development/dsteem/src/steem/asset.ts":[function(e,t,r){"use strict";var n=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(r,"__esModule",{value:!0});var s=e("assert"),i=function(){function e(t,r){o(this,e),this.amount=t,this.symbol=r}return n(e,[{key:"getPrecision",value:function(){switch(this.symbol){case"STEEM":case"SBD":return 3;case"VESTS":return 6}}},{key:"toString",value:function(){return this.amount.toFixed(this.getPrecision())+" "+this.symbol}},{key:"add",value:function(t){var r=e.from(t,this.symbol);return s(this.symbol===r.symbol,"can not add with different symbols"),new e(this.amount+r.amount,this.symbol)}},{key:"subtract",value:function(t){var r=e.from(t,this.symbol);return s(this.symbol===r.symbol,"can not subtract with different symbols"),new e(this.amount-r.amount,this.symbol)}},{key:"multiply",value:function(t){var r=e.from(t,this.symbol);return s(this.symbol===r.symbol,"can not multiply with different symbols"),new e(this.amount*r.amount,this.symbol)}},{key:"divide",value:function(t){var r=e.from(t,this.symbol);return s(this.symbol===r.symbol,"can not divide with different symbols"),new e(this.amount/r.amount,this.symbol)}},{key:"toJSON",value:function(){return this.toString()}}],[{key:"fromString",value:function(t,r){var n=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var r=[],n=!0,o=!1,s=void 0;try{for(var i,a=e[Symbol.iterator]();!(n=(i=a.next()).done)&&(r.push(i.value),2!==r.length);n=!0);}catch(e){o=!0,s=e}finally{try{!n&&a.return&&a.return()}finally{if(o)throw s}}return r}(e);throw new TypeError("Invalid attempt to destructure non-iterable instance")}(t.split(" ")),o=n[0],s=n[1];if(-1===["STEEM","VESTS","SBD"].indexOf(s))throw new Error("Invalid asset symbol: "+s);if(r&&s!==r)throw new Error("Invalid asset, expected symbol: "+r+" got: "+s);var i=Number.parseFloat(o);if(!Number.isFinite(i))throw new Error("Invalid asset amount: "+o);return new e(i,s)}},{key:"from",value:function(t,r){if(t instanceof e){if(r&&t.symbol!==r)throw new Error("Invalid asset, expected symbol: "+r+" got: "+t.symbol);return t}if("number"==typeof t&&Number.isFinite(t))return new e(t,r||"STEEM");if("string"==typeof t)return e.fromString(t,r);throw new Error("Invalid asset '"+String(t)+"'")}},{key:"min",value:function(e,t){return s(e.symbol===t.symbol,"can not compare assets with different symbols"),e.amount<t.amount?e:t}},{key:"max",value:function(e,t){return s(e.symbol===t.symbol,"can not compare assets with different symbols"),e.amount>t.amount?e:t}}]),e}();r.Asset=i;var a=function(){function e(t,r){o(this,e),this.base=t,this.quote=r,s(0!==t.amount&&0!==r.amount,"base and quote assets must be non-zero"),s(t.symbol!==r.symbol,"base and quote can not have the same symbol")}return n(e,[{key:"toString",value:function(){return this.base+":"+this.quote}},{key:"convert",value:function(e){if(e.symbol===this.base.symbol)return s(this.base.amount>0),new i(e.amount*this.quote.amount/this.base.amount,this.quote.symbol);if(e.symbol===this.quote.symbol)return s(this.quote.amount>0),new i(e.amount*this.base.amount/this.quote.amount,this.base.symbol);throw new Error("Can not convert "+e+" with "+this)}}],[{key:"from",value:function(t){return t instanceof e?t:new e(i.from(t.base),i.from(t.quote))}}]),e}();r.Price=a},{assert:"/Users/jnordberg/Development/dsteem/node_modules/assert/assert.js"}],"/Users/jnordberg/Development/dsteem/src/steem/misc.ts":[function(e,t,r){(function(t){"use strict";var n=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();Object.defineProperty(r,"__esModule",{value:!0});var o=e("./asset"),s=function(){function e(t){!function(t,r){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this),this.buffer=t}return n(e,[{key:"toString",value:function(){return this.buffer.toString(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"hex")}},{key:"toJSON",value:function(){return this.toString()}}],[{key:"from",value:function(r){return r instanceof e?r:new e(r instanceof t?r:"string"==typeof r?t.from(r,"hex"):new t(r))}}]),e}();r.HexBuffer=s,r.getVestingSharePrice=function(e){var t=o.Asset.from(e.total_vesting_fund_steem),r=o.Asset.from(e.total_vesting_shares);return 0===t.amount||0===r.amount?new o.Price(new o.Asset(1,"VESTS"),new o.Asset(1,"STEEM")):new o.Price(r,t)}}).call(this,e("buffer").Buffer)},{"./asset":"/Users/jnordberg/Development/dsteem/src/steem/asset.ts",buffer:"/Users/jnordberg/Development/dsteem/node_modules/buffer/index.js"}],"/Users/jnordberg/Development/dsteem/src/steem/serializer.ts":[function(e,t,r){"use strict";var n=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var r=[],n=!0,o=!1,s=void 0;try{for(var i,a=e[Symbol.iterator]();!(n=(i=a.next()).done)&&(r.push(i.value),!t||r.length!==t);n=!0);}catch(e){o=!0,s=e}finally{try{!n&&a.return&&a.return()}finally{if(o)throw s}}return r}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};Object.defineProperty(r,"__esModule",{value:!0});var o=e("./../crypto"),s=e("./asset"),i=e("./misc"),a=function(e){throw new Error("Void can not be serialized")},u=function(e,t){e.writeVString(t)},d=function(e,t){e.writeInt16(t)},l=function(e,t){e.writeUint16(t)},c=function(e,t){e.writeUint32(t)},f=function(e,t){e.writeByte(t?1:0)},h=function(e){return function(t,r,o){var s=n(r,2),i=s[0],a=s[1];t.writeVarint32(i),e[i](t,a,o)}},p=function(e,t){var r=s.Asset.from(t),n=r.getPrecision();e.writeInt64(Math.round(r.amount*Math.pow(10,n))),e.writeUint8(n);for(var o=0;o<7;o++)e.writeUint8(r.symbol.charCodeAt(o)||0)},m=function(e,t){e.writeUint32(Math.floor(new Date(t+"Z").getTime()/1e3))},b=function(e,t,r){e.append(o.PublicKey.from(t,r.addressPrefix).key)},g=function(e){return function(t,r){var n=(r=i.HexBuffer.from(r)).buffer.length;if(e){if(n!==e)throw new Error("Unable to serialize binary. Expected "+e+" bytes, got "+n)}else t.writeVarint32(n);t.append(r.buffer)}},v=function(e,t){return function(r,o,s){r.writeVarint32(o.length);var i=!0,a=!1,u=void 0;try{for(var d,l=o[Symbol.iterator]();!(i=(d=l.next()).done);i=!0){var c=n(d.value,2),f=c[1];e(r,c[0],s),t(r,f,s)}}catch(e){a=!0,u=e}finally{try{!i&&l.return&&l.return()}finally{if(a)throw u}}}},_=function(e){return function(t,r,n){t.writeVarint32(r.length);var o=!0,s=!1,i=void 0;try{for(var a,u=r[Symbol.iterator]();!(o=(a=u.next()).done);o=!0)e(t,a.value,n)}catch(e){s=!0,i=e}finally{try{!o&&u.return&&u.return()}finally{if(s)throw i}}}},y=function(e){return function(t,r,o){var s=!0,i=!1,a=void 0;try{for(var u,d=e[Symbol.iterator]();!(s=(u=d.next()).done);s=!0){var l=n(u.value,2),c=l[0],f=l[1];try{f(t,r[c],o)}catch(e){throw e.message=c+": "+e.message,e}}}catch(e){i=!0,a=e}finally{try{!s&&d.return&&d.return()}finally{if(i)throw a}}}},w=function(e){return function(t,r,n){void 0!=r?(t.writeByte(1),e(t,r,n)):t.writeByte(0)}},j=y([["weight_threshold",c],["account_auths",v(u,l)],["key_auths",v(b,l)]]),E=y([["account",u],["weight",l]]),D=y([["base",p],["quote",p]]),x=y([["previous",g(20)],["timestamp",m],["witness",u],["transaction_merkle_root",g(20)],["extensions",_(a)],["witness_signature",g(65)]]),S=y([["account_creation_fee",p],["maximum_block_size",c],["sbd_interest_rate",l]]),U=function(e,t){var r=y(t);return function(t,n,o){t.writeVarint32(e),r(t,n,o)}},k={};k.account_create=U(9,[["fee",p],["creator",u],["new_account_name",u],["owner",j],["active",j],["posting",j],["memo_key",b],["json_metadata",u]]),k.account_create_with_delegation=U(41,[["fee",p],["delegation",p],["creator",u],["new_account_name",u],["owner",j],["active",j],["posting",j],["memo_key",b],["json_metadata",u],["extensions",_(a)]]),k.account_update=U(10,[["account",u],["owner",w(j)],["active",w(j)],["posting",w(j)],["memo_key",b],["json_metadata",u]]),k.account_witness_proxy=U(13,[["account",u],["proxy",u]]),k.account_witness_vote=U(12,[["account",u],["witness",u],["approve",f]]),k.cancel_transfer_from_savings=U(34,[["from",u],["request_id",c]]),k.challenge_authority=U(22,[["challenger",u],["challenged",u],["require_owner",f]]),k.change_recovery_account=U(26,[["account_to_recover",u],["new_recovery_account",u],["extensions",_(a)]]),k.claim_reward_balance=U(39,[["account",u],["reward_steem",p],["reward_sbd",p],["reward_vests",p]]),k.comment=U(1,[["parent_author",u],["parent_permlink",u],["author",u],["permlink",u],["title",u],["body",u],["json_metadata",u]]),k.comment_options=U(19,[["author",u],["permlink",u],["max_accepted_payout",p],["percent_steem_dollars",l],["allow_votes",f],["allow_curation_rewards",f],["extensions",_(h([y([["beneficiaries",_(E)]])]))]]),k.convert=U(8,[["owner",u],["requestid",c],["amount",p]]),k.custom=U(15,[["required_auths",_(u)],["id",l],["data",g()]]),k.custom_binary=U(35,[["required_owner_auths",_(u)],["required_active_auths",_(u)],["required_posting_auths",_(u)],["required_auths",_(j)],["id",u],["data",g()]]),k.custom_json=U(18,[["required_auths",_(u)],["required_posting_auths",_(u)],["id",u],["json",u]]),k.decline_voting_rights=U(36,[["account",u],["decline",f]]),k.delegate_vesting_shares=U(40,[["delegator",u],["delegatee",u],["vesting_shares",p]]),k.delete_comment=U(17,[["author",u],["permlink",u]]),k.escrow_approve=U(31,[["from",u],["to",u],["agent",u],["who",u],["escrow_id",c],["approve",f]]),k.escrow_dispute=U(28,[["from",u],["to",u],["agent",u],["who",u],["escrow_id",c]]),k.escrow_release=U(29,[["from",u],["to",u],["agent",u],["who",u],["receiver",u],["escrow_id",c],["sbd_amount",p],["steem_amount",p]]),k.escrow_transfer=U(27,[["from",u],["to",u],["agent",u],["escrow_id",c],["sbd_amount",p],["steem_amount",p],["fee",p],["ratification_deadline",m],["escrow_expiration",m],["json_meta",u]]),k.feed_publish=U(7,[["publisher",u],["exchange_rate",D]]),k.limit_order_cancel=U(6,[["owner",u],["orderid",c]]),k.limit_order_create=U(5,[["owner",u],["orderid",c],["amount_to_sell",p],["min_to_receive",p],["fill_or_kill",f],["expiration",m]]),k.limit_order_create2=U(21,[["owner",u],["orderid",c],["amount_to_sell",p],["fill_or_kill",f],["exchange_rate",D],["expiration",m]]),k.prove_authority=U(23,[["challenged",u],["require_owner",f]]),k.recover_account=U(25,[["account_to_recover",u],["new_owner_authority",j],["recent_owner_authority",j],["extensions",_(a)]]),k.report_over_production=U(16,[["reporter",u],["first_block",x],["second_block",x]]),k.request_account_recovery=U(24,[["recovery_account",u],["account_to_recover",u],["new_owner_authority",j],["extensions",_(a)]]),k.reset_account=U(37,[["reset_account",u],["account_to_reset",u],["new_owner_authority",j]]),k.set_reset_account=U(38,[["account",u],["current_reset_account",u],["reset_account",u]]),k.set_withdraw_vesting_route=U(20,[["from_account",u],["to_account",u],["percent",l],["auto_vest",f]]),k.transfer=U(2,[["from",u],["to",u],["amount",p],["memo",u]]),k.transfer_from_savings=U(33,[["from",u],["request_id",c],["to",u],["amount",p],["memo",u]]),k.transfer_to_savings=U(32,[["from",u],["to",u],["amount",p],["memo",u]]),k.transfer_to_vesting=U(3,[["from",u],["to",u],["amount",p]]),k.vote=U(0,[["voter",u],["author",u],["permlink",u],["weight",d]]),k.withdraw_vesting=U(4,[["account",u],["vesting_shares",p]]),k.witness_update=U(11,[["owner",u],["url",u],["block_signing_key",b],["props",S],["fee",p]]);var A=function(e,t,r){var n=k[t[0]];if(!n)throw new Error("No serializer for operation: "+t[0]);try{n(e,t[1],r)}catch(e){throw e.message=t[0]+": "+e.message,e}},I=y([["ref_block_num",l],["ref_block_prefix",c],["expiration",m],["operations",_(A)],["extensions",_(u)]]);r.Types={Array:_,Asset:p,Authority:j,Binary:g,Boolean:f,Date:m,FlatMap:v,Int16:d,Int32:function(e,t){e.writeInt32(t)},Int64:function(e,t){e.writeInt64(t)},Int8:function(e,t){e.writeInt8(t)},Object:y,Operation:A,Optional:w,Price:D,PublicKey:b,StaticVariant:h,String:u,Transaction:I,UInt16:l,UInt32:c,UInt64:function(e,t){e.writeUint64(t)},UInt8:function(e,t){e.writeUint8(t)},Void:a}},{"./../crypto":"/Users/jnordberg/Development/dsteem/src/crypto.ts","./asset":"/Users/jnordberg/Development/dsteem/src/steem/asset.ts","./misc":"/Users/jnordberg/Development/dsteem/src/steem/misc.ts"}],"/Users/jnordberg/Development/dsteem/src/utils.ts":[function(e,t,r){(function(t){"use strict";var n=function(e,t,r,n){return new(r||(r=Promise))(function(o,s){function i(e){try{u(n.next(e))}catch(e){s(e)}}function a(e){try{u(n.throw(e))}catch(e){s(e)}}function u(e){e.done?o(e.value):new r(function(t){t(e.value)}).then(i,a)}u((n=n.apply(e,t||[])).next())})},o=function(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator];return t?t.call(e):"function"==typeof __values?__values(e):e[Symbol.iterator]()};Object.defineProperty(r,"__esModule",{value:!0});var s=e("stream"),i=t.fetch;function a(e,t){return new Promise(function(r,n){e.once(t,r)})}function u(e){return new Promise(function(t){setTimeout(t,e)})}r.waitForEvent=a,r.sleep=u,r.iteratorStream=function(e){var t=new s.PassThrough({objectMode:!0});return n(this,void 0,void 0,regeneratorRuntime.mark(function r(){var n,s,i,u;return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:r.prev=0,n=o(e);case 2:return r.next=4,n.next();case 4:if((s=r.sent).done){r.next=14;break}return r.next=8,s.value;case 8:if(t.write(r.sent)){r.next=12;break}return r.next=12,a(t,"drain");case 12:r.next=2;break;case 14:r.next=19;break;case 16:r.prev=16,r.t0=r.catch(0),i={error:r.t0};case 19:if(r.prev=19,r.prev=20,!s||s.done||!(u=n.return)){r.next=24;break}return r.next=24,u.call(n);case 24:if(r.prev=24,!i){r.next=27;break}throw i.error;case 27:return r.finish(24);case 28:return r.finish(19);case 29:case"end":return r.stop()}},r,this,[[0,16,19,29],[20,,24,28]])})).then(function(){t.end()}).catch(function(e){t.emit("error",e),t.end()}),t},r.copy=function(e){return JSON.parse(JSON.stringify(e))},r.retryingFetch=function(e,t,r,o,s){return n(this,void 0,void 0,regeneratorRuntime.mark(function n(){var a,d,l;return regeneratorRuntime.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:a=Date.now(),d=0;case 2:return n.prev=2,s&&(t.timeout=s(d)),n.next=6,i(e,t);case 6:if((l=n.sent).ok){n.next=9;break}throw new Error("HTTP "+l.status+": "+l.statusText);case 9:return n.next=11,l.json();case 11:return n.abrupt("return",n.sent);case 14:if(n.prev=14,n.t0=n.catch(2),!(0!==r&&Date.now()-a>r)){n.next=18;break}throw n.t0;case 18:return n.next=20,u(o(d++));case 20:n.next=2;break;case 21:case"end":return n.stop()}},n,this,[[2,14]])}))}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{stream:"/Users/jnordberg/Development/dsteem/node_modules/stream-browserify/index.js"}]},{},["/Users/jnordberg/Development/dsteem/src/index-browser.ts"])("/Users/jnordberg/Development/dsteem/src/index-browser.ts")},module.exports=f()}).call(exports,__webpack_require__("DuR2"))},0:function(e,t,r){e.exports=r("x35b")},AMGY:function(e,t,r){"use strict";(function(e){r.d(t,"a",function(){return s});var n="undefined"!=typeof window&&window,o="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,s=n||"undefined"!=typeof e&&e||o}).call(t,r("DuR2"))},BX3T:function(e,t,r){"use strict";r.d(t,"a",function(){return n});var n=Array.isArray||function(e){return e&&"number"==typeof e.length}},DuR2:function(e,t){var r;r=function(){return this}();try{r=r||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(r=window)}e.exports=r},Jnfr:function(e,t){function r(e){return Promise.resolve().then(function(){throw new Error("Cannot find module '"+e+"'.")})}r.keys=function(){return[]},r.resolve=r,e.exports=r,r.id="Jnfr"},OVmG:function(e,t,r){"use strict";r.d(t,"a",function(){return u});var n=r("TToO"),o=r("/iUD"),s=r("VwZZ"),i=r("t7NR"),a=r("tLDX"),u=function(e){function t(t,r,n){switch(e.call(this),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=i.a;break;case 1:if(!t){this.destination=i.a;break}if("object"==typeof t){if(l(t)){var o=t[a.a]();this.syncErrorThrowable=o.syncErrorThrowable,this.destination=o,o.add(this)}else this.syncErrorThrowable=!0,this.destination=new d(this,t);break}default:this.syncErrorThrowable=!0,this.destination=new d(this,t,r,n)}}return Object(n.b)(t,e),t.prototype[a.a]=function(){return this},t.create=function(e,r,n){var o=new t(e,r,n);return o.syncErrorThrowable=!1,o},t.prototype.next=function(e){this.isStopped||this._next(e)},t.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this))},t.prototype._next=function(e){this.destination.next(e)},t.prototype._error=function(e){this.destination.error(e),this.unsubscribe()},t.prototype._complete=function(){this.destination.complete(),this.unsubscribe()},t.prototype._unsubscribeAndRecycle=function(){var e=this._parent,t=this._parents;return this._parent=null,this._parents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parent=e,this._parents=t,this},t}(s.a),d=function(e){function t(t,r,n,s){var a;e.call(this),this._parentSubscriber=t;var u=this;Object(o.a)(r)?a=r:r&&(a=r.next,n=r.error,s=r.complete,r!==i.a&&(u=Object.create(r),Object(o.a)(u.unsubscribe)&&this.add(u.unsubscribe.bind(u)),u.unsubscribe=this.unsubscribe.bind(this))),this._context=u,this._next=a,this._error=n,this._complete=s}return Object(n.b)(t,e),t.prototype.next=function(e){if(!this.isStopped&&this._next){var t=this._parentSubscriber;t.syncErrorThrowable?this.__tryOrSetError(t,this._next,e)&&this.unsubscribe():this.__tryOrUnsub(this._next,e)}},t.prototype.error=function(e){if(!this.isStopped){var t=this._parentSubscriber;if(this._error)t.syncErrorThrowable?(this.__tryOrSetError(t,this._error,e),this.unsubscribe()):(this.__tryOrUnsub(this._error,e),this.unsubscribe());else{if(!t.syncErrorThrowable)throw this.unsubscribe(),e;t.syncErrorValue=e,t.syncErrorThrown=!0,this.unsubscribe()}}},t.prototype.complete=function(){var e=this;if(!this.isStopped){var t=this._parentSubscriber;if(this._complete){var r=function(){return e._complete.call(e._context)};t.syncErrorThrowable?(this.__tryOrSetError(t,r),this.unsubscribe()):(this.__tryOrUnsub(r),this.unsubscribe())}else this.unsubscribe()}},t.prototype.__tryOrUnsub=function(e,t){try{e.call(this._context,t)}catch(e){throw this.unsubscribe(),e}},t.prototype.__tryOrSetError=function(e,t,r){try{t.call(this._context,r)}catch(t){return e.syncErrorValue=t,e.syncErrorThrown=!0,!0}return!1},t.prototype._unsubscribe=function(){var e=this._parentSubscriber;this._context=null,this._parentSubscriber=null,e.unsubscribe()},t}(u);function l(e){return e instanceof u||"syncErrorThrowable"in e&&e[a.a]}},PIsA:function(e,t,r){"use strict";var n=r("AMGY"),o=r("dgOU"),s=r("YaPU"),i=function(e){var t=e.Symbol;if("function"==typeof t)return t.iterator||(t.iterator=t("iterator polyfill")),t.iterator;var r=e.Set;if(r&&"function"==typeof(new r)["@@iterator"])return"@@iterator";var n=e.Map;if(n)for(var o=Object.getOwnPropertyNames(n.prototype),s=0;s<o.length;++s){var i=o[s];if("entries"!==i&&"size"!==i&&n.prototype[i]===n.prototype.entries)return i}return"@@iterator"}(n.a),a=r("TToO"),u=function(e){function t(t,r,n){e.call(this),this.parent=t,this.outerValue=r,this.outerIndex=n,this.index=0}return Object(a.b)(t,e),t.prototype._next=function(e){this.parent.notifyNext(this.outerValue,e,this.outerIndex,this.index++,this)},t.prototype._error=function(e){this.parent.notifyError(e,this),this.unsubscribe()},t.prototype._complete=function(){this.parent.notifyComplete(this),this.unsubscribe()},t}(r("OVmG").a),d=r("+CnV");t.a=function(e,t,r,a){var l,c=new u(e,r,a);if(c.closed)return null;if(t instanceof s.a)return t._isScalar?(c.next(t.value),c.complete(),null):(c.syncErrorThrowable=!0,t.subscribe(c));if((l=t)&&"number"==typeof l.length){for(var f=0,h=t.length;f<h&&!c.closed;f++)c.next(t[f]);c.closed||c.complete()}else{if(t&&"function"!=typeof t.subscribe&&"function"==typeof t.then)return t.then(function(e){c.closed||(c.next(e),c.complete())},function(e){return c.error(e)}).then(null,function(e){n.a.setTimeout(function(){throw e})}),c;if(t&&"function"==typeof t[i])for(var p=t[i]();;){var m=p.next();if(m.done){c.complete();break}if(c.next(m.value),c.closed)break}else if(t&&"function"==typeof t[d.a]){var b=t[d.a]();if("function"==typeof b.subscribe)return b.subscribe(new u(e,r,a));c.error(new TypeError("Provided object does not correctly implement Symbol.observable"))}else{var g=Object(o.a)(t)?"an invalid object":"'"+t+"'";c.error(new TypeError("You provided "+g+" where a stream was expected. You can provide an Observable, Promise, Array, or Iterable."))}}return null}},Rf9G:function(e,t,r){"use strict";var n=r("TToO"),o=r("g5jc"),s=r("YaPU"),i=r("OVmG"),a=r("VwZZ");function u(){return function(e){return e.lift(new d(e))}}var d=function(){function e(e){this.connectable=e}return e.prototype.call=function(e,t){var r=this.connectable;r._refCount++;var n=new l(e,r),o=t.subscribe(n);return n.closed||(n.connection=r.connect()),o},e}(),l=function(e){function t(t,r){e.call(this,t),this.connectable=r}return Object(n.b)(t,e),t.prototype._unsubscribe=function(){var e=this.connectable;if(e){this.connectable=null;var t=e._refCount;if(t<=0)this.connection=null;else if(e._refCount=t-1,t>1)this.connection=null;else{var r=this.connection,n=e._connection;this.connection=null,!n||r&&n!==r||n.unsubscribe()}}else this.connection=null},t}(i.a),c=function(e){function t(t,r){e.call(this),this.source=t,this.subjectFactory=r,this._refCount=0,this._isComplete=!1}return Object(n.b)(t,e),t.prototype._subscribe=function(e){return this.getSubject().subscribe(e)},t.prototype.getSubject=function(){var e=this._subject;return e&&!e.isStopped||(this._subject=this.subjectFactory()),this._subject},t.prototype.connect=function(){var e=this._connection;return e||(this._isComplete=!1,(e=this._connection=new a.a).add(this.source.subscribe(new h(this.getSubject(),this))),e.closed?(this._connection=null,e=a.a.EMPTY):this._connection=e),e},t.prototype.refCount=function(){return u()(this)},t}(s.a).prototype,f={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:c._subscribe},_isComplete:{value:c._isComplete,writable:!0},getSubject:{value:c.getSubject},connect:{value:c.connect},refCount:{value:c.refCount}},h=function(e){function t(t,r){e.call(this,t),this.connectable=r}return Object(n.b)(t,e),t.prototype._error=function(t){this._unsubscribe(),e.prototype._error.call(this,t)},t.prototype._complete=function(){this.connectable._isComplete=!0,this._unsubscribe(),e.prototype._complete.call(this)},t.prototype._unsubscribe=function(){var e=this.connectable;if(e){this.connectable=null;var t=e._connection;e._refCount=0,e._subject=null,e._connection=null,t&&t.unsubscribe()}},t}(o.b);function p(){return new o.a}t.a=function(){return this,u()((e=p,function(t){var r;r="function"==typeof e?e:function(){return e};var n=Object.create(t,f);return n.source=t,n.subjectFactory=r,n})(this));var e}},TToO:function(e,t,r){"use strict";t.b=function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)},r.d(t,"a",function(){return o});var n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},o=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}},VwZZ:function(e,t,r){"use strict";var n,o=r("BX3T"),s=r("dgOU"),i=r("/iUD"),a={e:{}};function u(){try{return n.apply(this,arguments)}catch(e){return a.e=e,a}}function d(e){return n=e,u}var l=r("TToO"),c=function(e){function t(t){e.call(this),this.errors=t;var r=Error.call(this,t?t.length+" errors occurred during unsubscription:\n  "+t.map(function(e,t){return t+1+") "+e.toString()}).join("\n  "):"");this.name=r.name="UnsubscriptionError",this.stack=r.stack,this.message=r.message}return Object(l.b)(t,e),t}(Error);r.d(t,"a",function(){return f});var f=function(){function e(e){this.closed=!1,this._parent=null,this._parents=null,this._subscriptions=null,e&&(this._unsubscribe=e)}var t;return e.prototype.unsubscribe=function(){var e,t=!1;if(!this.closed){var r=this._parent,n=this._parents,u=this._unsubscribe,l=this._subscriptions;this.closed=!0,this._parent=null,this._parents=null,this._subscriptions=null;for(var f=-1,p=n?n.length:0;r;)r.remove(this),r=++f<p&&n[f]||null;if(Object(i.a)(u)&&d(u).call(this)===a&&(t=!0,e=e||(a.e instanceof c?h(a.e.errors):[a.e])),Object(o.a)(l))for(f=-1,p=l.length;++f<p;){var m=l[f];if(Object(s.a)(m)&&d(m.unsubscribe).call(m)===a){t=!0,e=e||[];var b=a.e;b instanceof c?e=e.concat(h(b.errors)):e.push(b)}}if(t)throw new c(e)}},e.prototype.add=function(t){if(!t||t===e.EMPTY)return e.EMPTY;if(t===this)return this;var r=t;switch(typeof t){case"function":r=new e(t);case"object":if(r.closed||"function"!=typeof r.unsubscribe)return r;if(this.closed)return r.unsubscribe(),r;if("function"!=typeof r._addParent){var n=r;(r=new e)._subscriptions=[n]}break;default:throw new Error("unrecognized teardown "+t+" added to Subscription.")}return(this._subscriptions||(this._subscriptions=[])).push(r),r._addParent(this),r},e.prototype.remove=function(e){var t=this._subscriptions;if(t){var r=t.indexOf(e);-1!==r&&t.splice(r,1)}},e.prototype._addParent=function(e){var t=this._parent,r=this._parents;t&&t!==e?r?-1===r.indexOf(e)&&r.push(e):this._parents=[e]:this._parent=e},e.EMPTY=((t=new e).closed=!0,t),e}();function h(e){return e.reduce(function(e,t){return e.concat(t instanceof c?t.errors:t)},[])}},WT6e:function(e,t,r){"use strict";(function(e){r.d(t,"e",function(){return Je}),r.d(t,"J",function(){return He}),r.d(t,"M",function(){return Ke}),r.d(t,"I",function(){return Ye}),r.d(t,"r",function(){return Ge}),r.d(t,"a",function(){return oe}),r.d(t,"v",function(){return ae}),r.d(t,"u",function(){return ue}),r.d(t,"b",function(){return re}),r.d(t,"c",function(){return ne}),r.d(t,"L",function(){return ct}),r.d(t,"D",function(){return Ne}),r.d(t,"O",function(){return Le}),r.d(t,"p",function(){return Ot}),r.d(t,"d",function(){return Lt}),r.d(t,"j",function(){return ke}),r.d(t,"i",function(){return $}),r.d(t,"z",function(){return Vt}),r.d(t,"A",function(){return Bt}),r.d(t,"G",function(){return f}),r.d(t,"E",function(){return h}),r.d(t,"K",function(){return k}),r.d(t,"m",function(){return M}),r.d(t,"l",function(){return d}),r.d(t,"k",function(){return m}),r.d(t,"t",function(){return b}),r.d(t,"B",function(){return v}),r.d(t,"s",function(){return Ae}),r.d(t,"w",function(){return tt}),r.d(t,"x",function(){return $e}),r.d(t,"y",function(){return et}),r.d(t,"f",function(){return fe}),r.d(t,"g",function(){return ye}),r.d(t,"h",function(){return rt}),r.d(t,"q",function(){return Ee}),r.d(t,"C",function(){return ot}),r.d(t,"F",function(){return st}),r.d(t,"n",function(){return kt}),r.d(t,"o",function(){return At}),r.d(t,"H",function(){return pt}),r.d(t,"N",function(){return Mt}),r.d(t,"_0",function(){return bt}),r.d(t,"Q",function(){return le}),r.d(t,"P",function(){return we}),r.d(t,"X",function(){return w}),r.d(t,"_3",function(){return S}),r.d(t,"_11",function(){return U}),r.d(t,"_1",function(){return te}),r.d(t,"_2",function(){return ee}),r.d(t,"R",function(){return Cr}),r.d(t,"S",function(){return Xr}),r.d(t,"T",function(){return Jo}),r.d(t,"U",function(){return nr}),r.d(t,"V",function(){return yn}),r.d(t,"W",function(){return Tr}),r.d(t,"Z",function(){return Ar}),r.d(t,"_4",function(){return Fr}),r.d(t,"_5",function(){return Vr}),r.d(t,"_7",function(){return un}),r.d(t,"_9",function(){return wn}),r.d(t,"_12",function(){return Fn}),r.d(t,"_13",function(){return Hn}),r.d(t,"_6",function(){return Pt}),r.d(t,"_8",function(){return Nt}),r.d(t,"_10",function(){return Rt}),r.d(t,"Y",function(){return se});var n=r("TToO"),o=r("YaPU"),s=r("/nXB"),i=r("Rf9G"),a=r("g5jc"),u=r("VwZZ"),d=function(){function e(e){this._desc=e,this.ngMetadataName="InjectionToken"}return e.prototype.toString=function(){return"InjectionToken "+this._desc},e}(),l="__paramaters__";function c(e,t,r){var n=function(e){return function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];if(e){var n=e.apply(void 0,t);for(var o in n)this[o]=n[o]}}}(t);function o(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(this instanceof o)return n.apply(this,e),this;var r,s=new((r=o).bind.apply(r,[void 0].concat(e)));return i.annotation=s,i;function i(e,t,r){for(var n=e.hasOwnProperty(l)?e[l]:Object.defineProperty(e,l,{value:[]})[l];n.length<=r;)n.push(null);return(n[r]=n[r]||[]).push(s),e}}return r&&(o.prototype=Object.create(r.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o}var f=function(){var e={Emulated:0,Native:1,None:2};return e[e.Emulated]="Emulated",e[e.Native]="Native",e[e.None]="None",e}(),h=function(e){this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")},p=new h("5.2.10"),m=c("Inject",function(e){return{token:e}}),b=c("Optional"),g=c("Self"),v=c("SkipSelf"),_="undefined"!=typeof window&&window,y="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,w=_||"undefined"!=typeof e&&e||y,j=Promise.resolve(0),E=null;function D(){if(!E){var e=w.Symbol;if(e&&e.iterator)E=e.iterator;else for(var t=Object.getOwnPropertyNames(Map.prototype),r=0;r<t.length;++r){var n=t[r];"entries"!==n&&"size"!==n&&Map.prototype[n]===Map.prototype.entries&&(E=n)}}return E}function x(e){"undefined"==typeof Zone?j.then(function(){e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}function S(e,t){return e===t||"number"==typeof e&&"number"==typeof t&&isNaN(e)&&isNaN(t)}function U(e){if("string"==typeof e)return e;if(e instanceof Array)return"["+e.map(U).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return""+e.overriddenName;if(e.name)return""+e.name;var t=e.toString();if(null==t)return""+t;var r=t.indexOf("\n");return-1===r?t:t.substring(0,r)}function k(e){return e.__forward_ref__=k,e.toString=function(){return U(this())},e}function A(e){return"function"==typeof e&&e.hasOwnProperty("__forward_ref__")&&e.__forward_ref__===k?e():e}var I="__source",C=new Object,T=function(){function e(){}return e.prototype.get=function(e,t){if(void 0===t&&(t=C),t===C)throw new Error("NullInjectorError: No provider for "+U(e)+"!");return t},e}(),M=function(){function e(){}return e.create=function(e,t){return Array.isArray(e)?new q(e,t):new q(e.providers,e.parent,e.name||null)},e.THROW_IF_NOT_FOUND=C,e.NULL=new T,e}(),O=function(e){return e},P=[],N=O,R=function(){return Array.prototype.slice.call(arguments)},L={},B=function(e){for(var t in e)if(e[t]===L)return t;throw Error("!prop")}({provide:String,useValue:L}),V=M.NULL,F=/\n/gm,z="\u0275",q=function(){function e(e,t,r){void 0===t&&(t=V),void 0===r&&(r=null),this.parent=t,this.source=r;var n=this._records=new Map;n.set(M,{token:M,fn:O,deps:P,value:this,useNew:!1}),function e(t,r){if(r)if((r=A(r))instanceof Array)for(var n=0;n<r.length;n++)e(t,r[n]);else{if("function"==typeof r)throw G("Function/Class not supported",r);if(!r||"object"!=typeof r||!r.provide)throw G("Unexpected provider",r);var o=A(r.provide),s=function(e){var t=function(e){var t=P,r=e.deps;if(r&&r.length){t=[];for(var n=0;n<r.length;n++){var o=6;if((u=A(r[n]))instanceof Array)for(var s=0,i=u;s<i.length;s++){var a=i[s];a instanceof b||a==b?o|=1:a instanceof v||a==v?o&=-3:a instanceof g||a==g?o&=-5:u=a instanceof m?a.token:A(a)}t.push({token:u,options:o})}}else if(e.useExisting){var u;t=[{token:u=A(e.useExisting),options:6}]}else if(!(r||B in e))throw G("'deps' required",e);return t}(e),r=O,n=P,o=!1,s=A(e.provide);if(B in e)n=e.useValue;else if(e.useFactory)r=e.useFactory;else if(e.useExisting);else if(e.useClass)o=!0,r=A(e.useClass);else{if("function"!=typeof s)throw G("StaticProvider does not have [useValue|useFactory|useExisting|useClass] or [provide] is not newable",e);o=!0,r=s}return{deps:t,fn:r,useNew:o,value:n}}(r);if(!0===r.multi){var i=t.get(o);if(i){if(i.fn!==R)throw H(o)}else t.set(o,i={token:r.provide,deps:[],useNew:!1,fn:R,value:P});i.deps.push({token:o=r,options:6})}var a=t.get(o);if(a&&a.fn==R)throw H(o);t.set(o,s)}}(n,e)}return e.prototype.get=function(e,t){var r=this._records.get(e);try{return function e(t,r,n,o,s){try{return function(t,r,n,o,s){var i,a;if(r){if((i=r.value)==N)throw Error(z+"Circular dependency");if(i===P){r.value=N;var u=r.useNew,d=r.fn,l=r.deps,c=P;if(l.length){c=[];for(var f=0;f<l.length;f++){var h=l[f],p=h.options,m=2&p?n.get(h.token):void 0;c.push(e(h.token,m,n,m||4&p?o:V,1&p?null:M.THROW_IF_NOT_FOUND))}}r.value=i=u?new((a=d).bind.apply(a,[void 0].concat(c))):d.apply(void 0,c)}}else i=o.get(t,s);return i}(t,r,n,o,s)}catch(e){throw e instanceof Error||(e=new Error(e)),(e.ngTempTokenPath=e.ngTempTokenPath||[]).unshift(t),r&&r.value==N&&(r.value=P),e}}(e,r,this._records,this.parent,t)}catch(t){var n=t.ngTempTokenPath;throw e[I]&&n.unshift(e[I]),t.message=K("\n"+t.message,n,this.source),t.ngTokenPath=n,t.ngTempTokenPath=null,t}},e.prototype.toString=function(){var e=[];return this._records.forEach(function(t,r){return e.push(U(r))}),"StaticInjector["+e.join(", ")+"]"},e}();function H(e){return G("Cannot mix multi providers and regular providers",e)}function K(e,t,r){void 0===r&&(r=null),e=e&&"\n"===e.charAt(0)&&e.charAt(1)==z?e.substr(2):e;var n=U(t);if(t instanceof Array)n=t.map(U).join(" -> ");else if("object"==typeof t){var o=[];for(var s in t)if(t.hasOwnProperty(s)){var i=t[s];o.push(s+":"+("string"==typeof i?JSON.stringify(i):U(i)))}n="{"+o.join(", ")+"}"}return"StaticInjectorError"+(r?"("+r+")":"")+"["+n+"]: "+e.replace(F,"\n  ")}function G(e,t){return new Error(K(e,t))}var Y="ngDebugContext",W="ngOriginalError",Z="ngErrorLogger";function X(e){return e[Y]}function J(e){return e[W]}function Q(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];e.error.apply(e,t)}var $=function(){function e(){this._console=console}return e.prototype.handleError=function(e){var t=this._findOriginalError(e),r=this._findContext(e),n=function(e){return e[Z]||Q}(e);n(this._console,"ERROR",e),t&&n(this._console,"ORIGINAL ERROR",t),r&&n(this._console,"ERROR CONTEXT",r)},e.prototype._findContext=function(e){return e?X(e)?X(e):this._findContext(J(e)):null},e.prototype._findOriginalError=function(e){for(var t=J(e);t&&J(t);)t=J(t);return t},e}();function ee(e){return!!e&&"function"==typeof e.then}function te(e){return!!e&&"function"==typeof e.subscribe}Function;var re=new d("Application Initializer"),ne=function(){function e(e){var t=this;this.appInits=e,this.initialized=!1,this.done=!1,this.donePromise=new Promise(function(e,r){t.resolve=e,t.reject=r})}return e.prototype.runInitializers=function(){var e=this;if(!this.initialized){var t=[],r=function(){e.done=!0,e.resolve()};if(this.appInits)for(var n=0;n<this.appInits.length;n++){var o=this.appInits[n]();ee(o)&&t.push(o)}Promise.all(t).then(function(){r()}).catch(function(t){e.reject(t)}),0===t.length&&r(),this.initialized=!0}},e}(),oe=new d("AppId");function se(){return""+ie()+ie()+ie()}function ie(){return String.fromCharCode(97+Math.floor(25*Math.random()))}var ae=new d("Platform Initializer"),ue=new d("Platform ID"),de=new d("appBootstrapListener"),le=function(){function e(){}return e.prototype.log=function(e){console.log(e)},e.prototype.warn=function(e){console.warn(e)},e.ctorParameters=function(){return[]},e}();function ce(){throw new Error("Runtime compiler is not loaded")}var fe=function(){function e(){}return e.prototype.compileModuleSync=function(e){throw ce()},e.prototype.compileModuleAsync=function(e){throw ce()},e.prototype.compileModuleAndAllComponentsSync=function(e){throw ce()},e.prototype.compileModuleAndAllComponentsAsync=function(e){throw ce()},e.prototype.clearCache=function(){},e.prototype.clearCacheFor=function(e){},e}(),he=function(){},pe=function(){};function me(e){var t=Error("No component factory found for "+U(e)+". Did you add it to @NgModule.entryComponents?");return t[ve]=e,t}var be,ge,ve="ngComponent",_e=function(){function e(){}return e.prototype.resolveComponentFactory=function(e){throw me(e)},e}(),ye=function(){function e(){}return e.NULL=new _e,e}(),we=function(){function e(e,t,r){this._parent=t,this._ngModule=r,this._factories=new Map;for(var n=0;n<e.length;n++){var o=e[n];this._factories.set(o.componentType,o)}}return e.prototype.resolveComponentFactory=function(e){var t=this._factories.get(e);if(!t&&this._parent&&(t=this._parent.resolveComponentFactory(e)),!t)throw me(e);return new je(t,this._ngModule)},e}(),je=function(e){function t(t,r){var n=e.call(this)||this;return n.factory=t,n.ngModule=r,n.selector=t.selector,n.componentType=t.componentType,n.ngContentSelectors=t.ngContentSelectors,n.inputs=t.inputs,n.outputs=t.outputs,n}return Object(n.b)(t,e),t.prototype.create=function(e,t,r,n){return this.factory.create(e,t,r,n||this.ngModule)},t}(pe),Ee=function(){},De=function(){var e=w.wtf;return!(!e||!(be=e.trace)||(ge=be.events,0))}();function xe(e,t){return null}var Se=De?function(e,t){return void 0===t&&(t=null),ge.createScope(e,t)}:function(e,t){return xe},Ue=De?function(e,t){return be.leaveScope(e,t),t}:function(e,t){return t},ke=function(e){function t(t){void 0===t&&(t=!1);var r=e.call(this)||this;return r.__isAsync=t,r}return Object(n.b)(t,e),t.prototype.emit=function(t){e.prototype.next.call(this,t)},t.prototype.subscribe=function(t,r,n){var o,s=function(e){return null},i=function(){return null};t&&"object"==typeof t?(o=this.__isAsync?function(e){setTimeout(function(){return t.next(e)})}:function(e){t.next(e)},t.error&&(s=this.__isAsync?function(e){setTimeout(function(){return t.error(e)})}:function(e){t.error(e)}),t.complete&&(i=this.__isAsync?function(){setTimeout(function(){return t.complete()})}:function(){t.complete()})):(o=this.__isAsync?function(e){setTimeout(function(){return t(e)})}:function(e){t(e)},r&&(s=this.__isAsync?function(e){setTimeout(function(){return r(e)})}:function(e){r(e)}),n&&(i=this.__isAsync?function(){setTimeout(function(){return n()})}:function(){n()}));var a=e.prototype.subscribe.call(this,o,s,i);return t instanceof u.a&&t.add(a),a},t}(a.a),Ae=function(){function e(e){var t,r=e.enableLongStackTrace,n=void 0!==r&&r;if(this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ke(!1),this.onMicrotaskEmpty=new ke(!1),this.onStable=new ke(!1),this.onError=new ke(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched(),this._nesting=0,this._outer=this._inner=Zone.current,Zone.wtfZoneSpec&&(this._inner=this._inner.fork(Zone.wtfZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(this._inner=this._inner.fork(Zone.longStackTraceZoneSpec)),(t=this)._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:function(e,r,n,o,s,i){try{return Me(t),e.invokeTask(n,o,s,i)}finally{Oe(t)}},onInvoke:function(e,r,n,o,s,i,a){try{return Me(t),e.invoke(n,o,s,i,a)}finally{Oe(t)}},onHasTask:function(e,r,n,o){e.hasTask(n,o),r===n&&("microTask"==o.change?(t.hasPendingMicrotasks=o.microTask,Te(t)):"macroTask"==o.change&&(t.hasPendingMacrotasks=o.macroTask))},onHandleError:function(e,r,n,o){return e.handleError(n,o),t.runOutsideAngular(function(){return t.onError.emit(o)}),!1}})}return e.isInAngularZone=function(){return!0===Zone.current.get("isAngularZone")},e.assertInAngularZone=function(){if(!e.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")},e.assertNotInAngularZone=function(){if(e.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")},e.prototype.run=function(e,t,r){return this._inner.run(e,t,r)},e.prototype.runTask=function(e,t,r,n){var o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+n,e,Ce,Ie,Ie);try{return o.runTask(s,t,r)}finally{o.cancelTask(s)}},e.prototype.runGuarded=function(e,t,r){return this._inner.runGuarded(e,t,r)},e.prototype.runOutsideAngular=function(e){return this._outer.run(e)},e}();function Ie(){}var Ce={};function Te(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(function(){return e.onStable.emit(null)})}finally{e.isStable=!0}}}function Me(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Oe(e){e._nesting--,Te(e)}var Pe=function(){function e(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ke,this.onMicrotaskEmpty=new ke,this.onStable=new ke,this.onError=new ke}return e.prototype.run=function(e){return e()},e.prototype.runGuarded=function(e){return e()},e.prototype.runOutsideAngular=function(e){return e()},e.prototype.runTask=function(e){return e()},e}(),Ne=function(){function e(e){this._ngZone=e,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this._watchAngularEvents()}return e.prototype._watchAngularEvents=function(){var e=this;this._ngZone.onUnstable.subscribe({next:function(){e._didWork=!0,e._isZoneStable=!1}}),this._ngZone.runOutsideAngular(function(){e._ngZone.onStable.subscribe({next:function(){Ae.assertNotInAngularZone(),x(function(){e._isZoneStable=!0,e._runCallbacksIfReady()})}})})},e.prototype.increasePendingRequestCount=function(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount},e.prototype.decreasePendingRequestCount=function(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount},e.prototype.isStable=function(){return this._isZoneStable&&0==this._pendingCount&&!this._ngZone.hasPendingMacrotasks},e.prototype._runCallbacksIfReady=function(){var e=this;this.isStable()?x(function(){for(;0!==e._callbacks.length;)e._callbacks.pop()(e._didWork);e._didWork=!1}):this._didWork=!0},e.prototype.whenStable=function(e){this._callbacks.push(e),this._runCallbacksIfReady()},e.prototype.getPendingRequestCount=function(){return this._pendingCount},e.prototype.findProviders=function(e,t,r){return[]},e}(),Re=function(){function e(){this._applications=new Map,Ve.addToWindow(this)}return e.prototype.registerApplication=function(e,t){this._applications.set(e,t)},e.prototype.unregisterApplication=function(e){this._applications.delete(e)},e.prototype.unregisterAllApplications=function(){this._applications.clear()},e.prototype.getTestability=function(e){return this._applications.get(e)||null},e.prototype.getAllTestabilities=function(){return Array.from(this._applications.values())},e.prototype.getAllRootElements=function(){return Array.from(this._applications.keys())},e.prototype.findTestabilityInTree=function(e,t){return void 0===t&&(t=!0),Ve.findTestabilityInTree(this,e,t)},e.ctorParameters=function(){return[]},e}();function Le(e){Ve=e}var Be,Ve=new(function(){function e(){}return e.prototype.addToWindow=function(e){},e.prototype.findTestabilityInTree=function(e,t,r){return null},e}()),Fe=!0,ze=!1,qe=new d("AllowMultipleToken");function He(){if(ze)throw new Error("Cannot enable prod mode after platform setup.");Fe=!1}function Ke(){return ze=!0,Fe}var Ge=function(e,t){this.name=e,this.token=t};function Ye(e,t,r){void 0===r&&(r=[]);var n="Platform: "+t,o=new d(n);return function(t){void 0===t&&(t=[]);var s=We();if(!s||s.injector.get(qe,!1))if(e)e(r.concat(t).concat({provide:o,useValue:!0}));else{var i=r.concat(t).concat({provide:o,useValue:!0});!function(e){if(Be&&!Be.destroyed&&!Be.injector.get(qe,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");Be=e.get(Ze);var t=e.get(ae,null);t&&t.forEach(function(e){return e()})}(M.create({providers:i,name:n}))}return function(e){var t=We();if(!t)throw new Error("No platform exists!");if(!t.injector.get(e,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return t}(o)}}function We(){return Be&&!Be.destroyed?Be:null}var Ze=function(){function e(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}return e.prototype.bootstrapModuleFactory=function(e,t){var r,n=this,o="noop"===(r=t?t.ngZone:void 0)?new Pe:("zone.js"===r?void 0:r)||new Ae({enableLongStackTrace:Ke()}),s=[{provide:Ae,useValue:o}];return o.run(function(){var t=M.create({providers:s,parent:n.injector,name:e.moduleType.name}),r=e.create(t),i=r.injector.get($,null);if(!i)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return r.onDestroy(function(){return Qe(n._modules,r)}),o.runOutsideAngular(function(){return o.onError.subscribe({next:function(e){i.handleError(e)}})}),function(e,t,o){try{var s=((i=r.injector.get(ne)).runInitializers(),i.donePromise.then(function(){return n._moduleDoBootstrap(r),r}));return ee(s)?s.catch(function(r){throw t.runOutsideAngular(function(){return e.handleError(r)}),r}):s}catch(r){throw t.runOutsideAngular(function(){return e.handleError(r)}),r}var i}(i,o)})},e.prototype.bootstrapModule=function(e,t){var r=this;void 0===t&&(t=[]);var n=this.injector.get(he),o=Xe({},t);return n.createCompiler([o]).compileModuleAsync(e).then(function(e){return r.bootstrapModuleFactory(e,o)})},e.prototype._moduleDoBootstrap=function(e){var t=e.injector.get(Je);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(function(e){return t.bootstrap(e)});else{if(!e.instance.ngDoBootstrap)throw new Error("The module "+U(e.instance.constructor)+' was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.');e.instance.ngDoBootstrap(t)}this._modules.push(e)},e.prototype.onDestroy=function(e){this._destroyListeners.push(e)},Object.defineProperty(e.prototype,"injector",{get:function(){return this._injector},enumerable:!0,configurable:!0}),e.prototype.destroy=function(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(function(e){return e.destroy()}),this._destroyListeners.forEach(function(e){return e()}),this._destroyed=!0},Object.defineProperty(e.prototype,"destroyed",{get:function(){return this._destroyed},enumerable:!0,configurable:!0}),e}();function Xe(e,t){return Array.isArray(t)?t.reduce(Xe,e):Object(n.a)({},e,t)}var Je=function(){function e(e,t,r,n,a,u){var d=this;this._zone=e,this._console=t,this._injector=r,this._exceptionHandler=n,this._componentFactoryResolver=a,this._initStatus=u,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=Ke(),this._zone.onMicrotaskEmpty.subscribe({next:function(){d._zone.run(function(){d.tick()})}});var l=new o.a(function(e){d._stable=d._zone.isStable&&!d._zone.hasPendingMacrotasks&&!d._zone.hasPendingMicrotasks,d._zone.runOutsideAngular(function(){e.next(d._stable),e.complete()})}),c=new o.a(function(e){var t;d._zone.runOutsideAngular(function(){t=d._zone.onStable.subscribe(function(){Ae.assertNotInAngularZone(),x(function(){d._stable||d._zone.hasPendingMacrotasks||d._zone.hasPendingMicrotasks||(d._stable=!0,e.next(!0))})})});var r=d._zone.onUnstable.subscribe(function(){Ae.assertInAngularZone(),d._stable&&(d._stable=!1,d._zone.runOutsideAngular(function(){e.next(!1)}))});return function(){t.unsubscribe(),r.unsubscribe()}});this.isStable=Object(s.a)(l,i.a.call(c))}return e.prototype.bootstrap=function(e,t){var r,n=this;if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");r=e instanceof pe?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(r.componentType);var o=r instanceof je?null:this._injector.get(Ee),s=r.create(M.NULL,[],t||r.selector,o);s.onDestroy(function(){n._unloadComponent(s)});var i=s.injector.get(Ne,null);return i&&s.injector.get(Re).registerApplication(s.location.nativeElement,i),this._loadComponent(s),Ke()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),s},e.prototype.tick=function(){var t=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");var r=e._tickScope();try{this._runningTick=!0,this._views.forEach(function(e){return e.detectChanges()}),this._enforceNoNewChanges&&this._views.forEach(function(e){return e.checkNoChanges()})}catch(e){this._zone.runOutsideAngular(function(){return t._exceptionHandler.handleError(e)})}finally{this._runningTick=!1,Ue(r)}},e.prototype.attachView=function(e){var t=e;this._views.push(t),t.attachToAppRef(this)},e.prototype.detachView=function(e){var t=e;Qe(this._views,t),t.detachFromAppRef()},e.prototype._loadComponent=function(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(de,[]).concat(this._bootstrapListeners).forEach(function(t){return t(e)})},e.prototype._unloadComponent=function(e){this.detachView(e.hostView),Qe(this.components,e)},e.prototype.ngOnDestroy=function(){this._views.slice().forEach(function(e){return e.destroy()})},Object.defineProperty(e.prototype,"viewCount",{get:function(){return this._views.length},enumerable:!0,configurable:!0}),e._tickScope=Se("ApplicationRef#tick()"),e}();function Qe(e,t){var r=e.indexOf(t);r>-1&&e.splice(r,1)}var $e=function(){},et=function(){var e={Important:1,DashCase:2};return e[e.Important]="Important",e[e.DashCase]="DashCase",e}(),tt=function(){},rt=function(e){this.nativeElement=e},nt=function(){function e(){this.dirty=!0,this._results=[],this.changes=new ke,this.length=0}return e.prototype.map=function(e){return this._results.map(e)},e.prototype.filter=function(e){return this._results.filter(e)},e.prototype.find=function(e){return this._results.find(e)},e.prototype.reduce=function(e,t){return this._results.reduce(e,t)},e.prototype.forEach=function(e){this._results.forEach(e)},e.prototype.some=function(e){return this._results.some(e)},e.prototype.toArray=function(){return this._results.slice()},e.prototype[D()]=function(){return this._results[D()]()},e.prototype.toString=function(){return this._results.toString()},e.prototype.reset=function(e){this._results=function e(t){return t.reduce(function(t,r){var n=Array.isArray(r)?e(r):r;return t.concat(n)},[])}(e),this.dirty=!1,this.length=this._results.length,this.last=this._results[this.length-1],this.first=this._results[0]},e.prototype.notifyOnChanges=function(){this.changes.emit(this)},e.prototype.setDirty=function(){this.dirty=!0},e.prototype.destroy=function(){this.changes.complete(),this.changes.unsubscribe()},e}(),ot=function(){},st=function(){},it=function(){function e(e,t,r){this._debugContext=r,this.nativeNode=e,t&&t instanceof at?t.addChild(this):this.parent=null,this.listeners=[]}return Object.defineProperty(e.prototype,"injector",{get:function(){return this._debugContext.injector},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"componentInstance",{get:function(){return this._debugContext.component},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"context",{get:function(){return this._debugContext.context},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"references",{get:function(){return this._debugContext.references},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"providerTokens",{get:function(){return this._debugContext.providerTokens},enumerable:!0,configurable:!0}),e}(),at=function(e){function t(t,r,n){var o=e.call(this,t,r,n)||this;return o.properties={},o.attributes={},o.classes={},o.styles={},o.childNodes=[],o.nativeElement=t,o}return Object(n.b)(t,e),t.prototype.addChild=function(e){e&&(this.childNodes.push(e),e.parent=this)},t.prototype.removeChild=function(e){var t=this.childNodes.indexOf(e);-1!==t&&(e.parent=null,this.childNodes.splice(t,1))},t.prototype.insertChildrenAfter=function(e,t){var r,n=this,o=this.childNodes.indexOf(e);-1!==o&&((r=this.childNodes).splice.apply(r,[o+1,0].concat(t)),t.forEach(function(e){e.parent&&e.parent.removeChild(e),e.parent=n}))},t.prototype.insertBefore=function(e,t){var r=this.childNodes.indexOf(e);-1===r?this.addChild(t):(t.parent&&t.parent.removeChild(t),t.parent=this,this.childNodes.splice(r,0,t))},t.prototype.query=function(e){return this.queryAll(e)[0]||null},t.prototype.queryAll=function(e){var t=[];return ut(this,e,t),t},t.prototype.queryAllNodes=function(e){var t=[];return dt(this,e,t),t},Object.defineProperty(t.prototype,"children",{get:function(){return this.childNodes.filter(function(e){return e instanceof t})},enumerable:!0,configurable:!0}),t.prototype.triggerEventHandler=function(e,t){this.listeners.forEach(function(r){r.name==e&&r.callback(t)})},t}(it);function ut(e,t,r){e.childNodes.forEach(function(e){e instanceof at&&(t(e)&&r.push(e),ut(e,t,r))})}function dt(e,t,r){e instanceof at&&e.childNodes.forEach(function(e){t(e)&&r.push(e),e instanceof at&&dt(e,t,r)})}var lt=new Map;function ct(e){return lt.get(e)||null}function ft(e){lt.set(e.nativeNode,e)}function ht(e,t){var r=bt(e),n=bt(t);return r&&n?function(e,t,r){for(var n=e[D()](),o=t[D()]();;){var s=n.next(),i=o.next();if(s.done&&i.done)return!0;if(s.done||i.done)return!1;if(!r(s.value,i.value))return!1}}(e,t,ht):!(r||!e||"object"!=typeof e&&"function"!=typeof e||n||!t||"object"!=typeof t&&"function"!=typeof t)||S(e,t)}var pt=function(){function e(e){this.wrapped=e}return e.wrap=function(t){return new e(t)},e.unwrap=function(t){return e.isWrapped(t)?t.wrapped:t},e.isWrapped=function(t){return t instanceof e},e}(),mt=function(){function e(e,t,r){this.previousValue=e,this.currentValue=t,this.firstChange=r}return e.prototype.isFirstChange=function(){return this.firstChange},e}();function bt(e){return!!gt(e)&&(Array.isArray(e)||!(e instanceof Map)&&D()in e)}function gt(e){return null!==e&&("function"==typeof e||"object"==typeof e)}var vt=function(){function e(){}return e.prototype.supports=function(e){return bt(e)},e.prototype.create=function(e){return new yt(e)},e}(),_t=function(e,t){return t},yt=function(){function e(e){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=e||_t}return e.prototype.forEachItem=function(e){var t;for(t=this._itHead;null!==t;t=t._next)e(t)},e.prototype.forEachOperation=function(e){for(var t=this._itHead,r=this._removalsHead,n=0,o=null;t||r;){var s=!r||t&&t.currentIndex<Dt(r,n,o)?t:r,i=Dt(s,n,o),a=s.currentIndex;if(s===r)n--,r=r._nextRemoved;else if(t=t._next,null==s.previousIndex)n++;else{o||(o=[]);var u=i-n,d=a-n;if(u!=d){for(var l=0;l<u;l++){var c=l<o.length?o[l]:o[l]=0,f=c+l;d<=f&&f<u&&(o[l]=c+1)}o[s.previousIndex]=d-u}}i!==a&&e(s,i,a)}},e.prototype.forEachPreviousItem=function(e){var t;for(t=this._previousItHead;null!==t;t=t._nextPrevious)e(t)},e.prototype.forEachAddedItem=function(e){var t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)},e.prototype.forEachMovedItem=function(e){var t;for(t=this._movesHead;null!==t;t=t._nextMoved)e(t)},e.prototype.forEachRemovedItem=function(e){var t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)},e.prototype.forEachIdentityChange=function(e){var t;for(t=this._identityChangesHead;null!==t;t=t._nextIdentityChange)e(t)},e.prototype.diff=function(e){if(null==e&&(e=[]),!bt(e))throw new Error("Error trying to diff '"+U(e)+"'. Only arrays and iterables are allowed");return this.check(e)?this:null},e.prototype.onDestroy=function(){},e.prototype.check=function(e){var t=this;this._reset();var r,n,o,s=this._itHead,i=!1;if(Array.isArray(e)){this.length=e.length;for(var a=0;a<this.length;a++)o=this._trackByFn(a,n=e[a]),null!==s&&S(s.trackById,o)?(i&&(s=this._verifyReinsertion(s,n,o,a)),S(s.item,n)||this._addIdentityChange(s,n)):(s=this._mismatch(s,n,o,a),i=!0),s=s._next}else r=0,function(e,t){if(Array.isArray(e))for(var r=0;r<e.length;r++)t(e[r]);else for(var n=e[D()](),o=void 0;!(o=n.next()).done;)t(o.value)}(e,function(e){o=t._trackByFn(r,e),null!==s&&S(s.trackById,o)?(i&&(s=t._verifyReinsertion(s,e,o,r)),S(s.item,e)||t._addIdentityChange(s,e)):(s=t._mismatch(s,e,o,r),i=!0),s=s._next,r++}),this.length=r;return this._truncate(s),this.collection=e,this.isDirty},Object.defineProperty(e.prototype,"isDirty",{get:function(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead},enumerable:!0,configurable:!0}),e.prototype._reset=function(){if(this.isDirty){var e=void 0,t=void 0;for(e=this._previousItHead=this._itHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;null!==e;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;null!==e;e=t)e.previousIndex=e.currentIndex,t=e._nextMoved;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}},e.prototype._mismatch=function(e,t,r,n){var o;return null===e?o=this._itTail:(o=e._prev,this._remove(e)),null!==(e=null===this._linkedRecords?null:this._linkedRecords.get(r,n))?(S(e.item,t)||this._addIdentityChange(e,t),this._moveAfter(e,o,n)):null!==(e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(S(e.item,t)||this._addIdentityChange(e,t),this._reinsertAfter(e,o,n)):e=this._addAfter(new wt(t,r),o,n),e},e.prototype._verifyReinsertion=function(e,t,r,n){var o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==o?e=this._reinsertAfter(o,e._prev,n):e.currentIndex!=n&&(e.currentIndex=n,this._addToMoves(e,n)),e},e.prototype._truncate=function(e){for(;null!==e;){var t=e._next;this._addToRemovals(this._unlink(e)),e=t}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)},e.prototype._reinsertAfter=function(e,t,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(e);var n=e._prevRemoved,o=e._nextRemoved;return null===n?this._removalsHead=o:n._nextRemoved=o,null===o?this._removalsTail=n:o._prevRemoved=n,this._insertAfter(e,t,r),this._addToMoves(e,r),e},e.prototype._moveAfter=function(e,t,r){return this._unlink(e),this._insertAfter(e,t,r),this._addToMoves(e,r),e},e.prototype._addAfter=function(e,t,r){return this._insertAfter(e,t,r),this._additionsTail=null===this._additionsTail?this._additionsHead=e:this._additionsTail._nextAdded=e,e},e.prototype._insertAfter=function(e,t,r){var n=null===t?this._itHead:t._next;return e._next=n,e._prev=t,null===n?this._itTail=e:n._prev=e,null===t?this._itHead=e:t._next=e,null===this._linkedRecords&&(this._linkedRecords=new Et),this._linkedRecords.put(e),e.currentIndex=r,e},e.prototype._remove=function(e){return this._addToRemovals(this._unlink(e))},e.prototype._unlink=function(e){null!==this._linkedRecords&&this._linkedRecords.remove(e);var t=e._prev,r=e._next;return null===t?this._itHead=r:t._next=r,null===r?this._itTail=t:r._prev=t,e},e.prototype._addToMoves=function(e,t){return e.previousIndex===t?e:(this._movesTail=null===this._movesTail?this._movesHead=e:this._movesTail._nextMoved=e,e)},e.prototype._addToRemovals=function(e){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Et),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e},e.prototype._addIdentityChange=function(e,t){return e.item=t,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=e:this._identityChangesTail._nextIdentityChange=e,e},e}(),wt=function(e,t){this.item=e,this.trackById=t,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null},jt=function(){function e(){this._head=null,this._tail=null}return e.prototype.add=function(e){null===this._head?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)},e.prototype.get=function(e,t){var r;for(r=this._head;null!==r;r=r._nextDup)if((null===t||t<=r.currentIndex)&&S(r.trackById,e))return r;return null},e.prototype.remove=function(e){var t=e._prevDup,r=e._nextDup;return null===t?this._head=r:t._nextDup=r,null===r?this._tail=t:r._prevDup=t,null===this._head},e}(),Et=function(){function e(){this.map=new Map}return e.prototype.put=function(e){var t=e.trackById,r=this.map.get(t);r||(r=new jt,this.map.set(t,r)),r.add(e)},e.prototype.get=function(e,t){var r=this.map.get(e);return r?r.get(e,t):null},e.prototype.remove=function(e){var t=e.trackById;return this.map.get(t).remove(e)&&this.map.delete(t),e},Object.defineProperty(e.prototype,"isEmpty",{get:function(){return 0===this.map.size},enumerable:!0,configurable:!0}),e.prototype.clear=function(){this.map.clear()},e}();function Dt(e,t,r){var n=e.previousIndex;if(null===n)return n;var o=0;return r&&n<r.length&&(o=r[n]),n+t+o}var xt=function(){function e(){}return e.prototype.supports=function(e){return e instanceof Map||gt(e)},e.prototype.create=function(){return new St},e}(),St=function(){function e(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}return Object.defineProperty(e.prototype,"isDirty",{get:function(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead},enumerable:!0,configurable:!0}),e.prototype.forEachItem=function(e){var t;for(t=this._mapHead;null!==t;t=t._next)e(t)},e.prototype.forEachPreviousItem=function(e){var t;for(t=this._previousMapHead;null!==t;t=t._nextPrevious)e(t)},e.prototype.forEachChangedItem=function(e){var t;for(t=this._changesHead;null!==t;t=t._nextChanged)e(t)},e.prototype.forEachAddedItem=function(e){var t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)},e.prototype.forEachRemovedItem=function(e){var t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)},e.prototype.diff=function(e){if(e){if(!(e instanceof Map||gt(e)))throw new Error("Error trying to diff '"+U(e)+"'. Only maps and objects are allowed")}else e=new Map;return this.check(e)?this:null},e.prototype.onDestroy=function(){},e.prototype.check=function(e){var t=this;this._reset();var r=this._mapHead;if(this._appendAfter=null,this._forEach(e,function(e,n){if(r&&r.key===n)t._maybeAddToChanges(r,e),t._appendAfter=r,r=r._next;else{var o=t._getOrCreateRecordForKey(n,e);r=t._insertBeforeOrAppend(r,o)}}),r){r._prev&&(r._prev._next=null),this._removalsHead=r;for(var n=r;null!==n;n=n._nextRemoved)n===this._mapHead&&(this._mapHead=null),this._records.delete(n.key),n._nextRemoved=n._next,n.previousValue=n.currentValue,n.currentValue=null,n._prev=null,n._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty},e.prototype._insertBeforeOrAppend=function(e,t){if(e){var r=e._prev;return t._next=e,t._prev=r,e._prev=t,r&&(r._next=t),e===this._mapHead&&(this._mapHead=t),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null},e.prototype._getOrCreateRecordForKey=function(e,t){if(this._records.has(e)){var r=this._records.get(e);this._maybeAddToChanges(r,t);var n=r._prev,o=r._next;return n&&(n._next=o),o&&(o._prev=n),r._next=null,r._prev=null,r}var s=new Ut(e);return this._records.set(e,s),s.currentValue=t,this._addToAdditions(s),s},e.prototype._reset=function(){if(this.isDirty){var e=void 0;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;null!==e;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;null!=e;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}},e.prototype._maybeAddToChanges=function(e,t){S(t,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=t,this._addToChanges(e))},e.prototype._addToAdditions=function(e){null===this._additionsHead?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)},e.prototype._addToChanges=function(e){null===this._changesHead?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)},e.prototype._forEach=function(e,t){e instanceof Map?e.forEach(t):Object.keys(e).forEach(function(r){return t(e[r],r)})},e}(),Ut=function(e){this.key=e,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null},kt=function(){function e(e){this.factories=e}return e.create=function(t,r){if(null!=r){var n=r.factories.slice();return new e(t=t.concat(n))}return new e(t)},e.extend=function(t){return{provide:e,useFactory:function(r){if(!r)throw new Error("Cannot extend IterableDiffers without a parent injector");return e.create(t,r)},deps:[[e,new v,new b]]}},e.prototype.find=function(e){var t,r=this.factories.find(function(t){return t.supports(e)});if(null!=r)return r;throw new Error("Cannot find a differ supporting object '"+e+"' of type '"+((t=e).name||typeof t)+"'")},e}(),At=function(){function e(e){this.factories=e}return e.create=function(t,r){if(r){var n=r.factories.slice();t=t.concat(n)}return new e(t)},e.extend=function(t){return{provide:e,useFactory:function(r){if(!r)throw new Error("Cannot extend KeyValueDiffers without a parent injector");return e.create(t,r)},deps:[[e,new v,new b]]}},e.prototype.find=function(e){var t=this.factories.find(function(t){return t.supports(e)});if(t)return t;throw new Error("Cannot find a differ supporting object '"+e+"'")},e}(),It=[new xt],Ct=new kt([new vt]),Tt=new At(It),Mt=Ye(null,"core",[{provide:ue,useValue:"unknown"},{provide:Ze,deps:[M]},{provide:Re,deps:[]},{provide:le,deps:[]}]),Ot=new d("LocaleId");function Pt(){return Ct}function Nt(){return Tt}function Rt(e){return e||"en-US"}var Lt=function(e){},Bt=function(){var e={NONE:0,HTML:1,STYLE:2,SCRIPT:3,URL:4,RESOURCE_URL:5};return e[e.NONE]="NONE",e[e.HTML]="HTML",e[e.STYLE]="STYLE",e[e.SCRIPT]="SCRIPT",e[e.URL]="URL",e[e.RESOURCE_URL]="RESOURCE_URL",e}(),Vt=function(){};function Ft(e,t,r){var n=e.state,o=1792&n;return o===t?(e.state=-1793&n|r,e.initIndex=-1,!0):o===r}function zt(e,t,r){return(1792&e.state)===t&&e.initIndex<=r&&(e.initIndex=r+1,!0)}function qt(e,t){return e.nodes[t]}function Ht(e,t){return e.nodes[t]}function Kt(e,t){return e.nodes[t]}function Gt(e,t){return e.nodes[t]}function Yt(e,t){return e.nodes[t]}var Wt={setCurrentNode:void 0,createRootView:void 0,createEmbeddedView:void 0,createComponentView:void 0,createNgModuleRef:void 0,overrideProvider:void 0,overrideComponentView:void 0,clearOverrides:void 0,checkAndUpdateView:void 0,checkNoChangesView:void 0,destroyView:void 0,resolveDep:void 0,createDebugContext:void 0,handleEvent:void 0,updateDirectives:void 0,updateRenderer:void 0,dirtyParentQueries:void 0};function Zt(e,t,r,n){var o="ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: '"+t+"'. Current value: '"+r+"'.";return n&&(o+=" It seems like the view has been created after its parent and its children have been dirty checked. Has it been created in a change detection hook ?"),function(e,t){var r=new Error(e);return Xt(r,t),r}(o,e)}function Xt(e,t){e[Y]=t,e[Z]=t.logError.bind(t)}function Jt(e){return new Error("ViewDestroyedError: Attempt to use a destroyed view: "+e)}var Qt=function(){},$t=new Map;function er(e){var t=$t.get(e);return t||(t=U(e)+"_"+$t.size,$t.set(e,t)),t}var tr="$$undefined",rr="$$empty";function nr(e){return{id:tr,styles:e.styles,encapsulation:e.encapsulation,data:e.data}}var or=0;function sr(e,t,r,n){return!(!(2&e.state)&&S(e.oldValues[t.bindingIndex+r],n))}function ir(e,t,r,n){return!!sr(e,t,r,n)&&(e.oldValues[t.bindingIndex+r]=n,!0)}function ar(e,t,r,n){var o=e.oldValues[t.bindingIndex+r];if(1&e.state||!ht(o,n)){var s=t.bindings[r].name;throw Zt(Wt.createDebugContext(e,t.nodeIndex),s+": "+o,s+": "+n,0!=(1&e.state))}}function ur(e){for(var t=e;t;)2&t.def.flags&&(t.state|=8),t=t.viewContainerParent||t.parent}function dr(e,t){for(var r=e;r&&r!==t;)r.state|=64,r=r.viewContainerParent||r.parent}function lr(e,t,r,n){try{return ur(33554432&e.def.nodes[t].flags?Ht(e,t).componentView:e),Wt.handleEvent(e,t,r,n)}catch(t){e.root.errorHandler.handleError(t)}}function cr(e){return e.parent?Ht(e.parent,e.parentNodeDef.nodeIndex):null}function fr(e){return e.parent?e.parentNodeDef.parent:null}function hr(e,t){switch(201347067&t.flags){case 1:return Ht(e,t.nodeIndex).renderElement;case 2:return qt(e,t.nodeIndex).renderText}}function pr(e){return!!e.parent&&!!(32768&e.parentNodeDef.flags)}function mr(e){return!(!e.parent||32768&e.parentNodeDef.flags)}function br(e){var t={},r=0,n={};return e&&e.forEach(function(e){var o=e[0],s=e[1];"number"==typeof o?(t[o]=s,r|=function(e){return 1<<e%32}(o)):n[o]=s}),{matchedQueries:t,references:n,matchedQueryIds:r}}function gr(e,t){return e.map(function(e){var r,n;return Array.isArray(e)?(n=e[0],r=e[1]):(n=0,r=e),r&&("function"==typeof r||"object"==typeof r)&&t&&Object.defineProperty(r,I,{value:t,configurable:!0}),{flags:n,token:r,tokenKey:er(r)}})}function vr(e,t,r){var n=r.renderParent;return n?0==(1&n.flags)||0==(33554432&n.flags)||n.element.componentRendererType&&n.element.componentRendererType.encapsulation===f.Native?Ht(e,r.renderParent.nodeIndex).renderElement:void 0:t}var _r=new WeakMap;function yr(e){var t=_r.get(e);return t||((t=e(function(){return Qt})).factory=e,_r.set(e,t)),t}function wr(e,t,r,n,o){3===t&&(r=e.renderer.parentNode(hr(e,e.def.lastRenderRootNode))),jr(e,t,0,e.def.nodes.length-1,r,n,o)}function jr(e,t,r,n,o,s,i){for(var a=r;a<=n;a++){var u=e.def.nodes[a];11&u.flags&&Dr(e,u,t,o,s,i),a+=u.childCount}}function Er(e,t,r,n,o,s){for(var i=e;i&&!pr(i);)i=i.parent;for(var a=i.parent,u=fr(i),d=u.nodeIndex+u.childCount,l=u.nodeIndex+1;l<=d;l++){var c=a.def.nodes[l];c.ngContentIndex===t&&Dr(a,c,r,n,o,s),l+=c.childCount}if(!a.parent){var f=e.root.projectableNodes[t];if(f)for(l=0;l<f.length;l++)xr(e,f[l],r,n,o,s)}}function Dr(e,t,r,n,o,s){if(8&t.flags)Er(e,t.ngContent.index,r,n,o,s);else{var i=hr(e,t);if(3===r&&33554432&t.flags&&48&t.bindingFlags?(16&t.bindingFlags&&xr(e,i,r,n,o,s),32&t.bindingFlags&&xr(Ht(e,t.nodeIndex).componentView,i,r,n,o,s)):xr(e,i,r,n,o,s),16777216&t.flags)for(var a=Ht(e,t.nodeIndex).viewContainer._embeddedViews,u=0;u<a.length;u++)wr(a[u],r,n,o,s);1&t.flags&&!t.element.name&&jr(e,r,t.nodeIndex+1,t.nodeIndex+t.childCount,n,o,s)}}function xr(e,t,r,n,o,s){var i=e.renderer;switch(r){case 1:i.appendChild(n,t);break;case 2:i.insertBefore(n,t,o);break;case 3:i.removeChild(n,t);break;case 0:s.push(t)}}var Sr=/^:([^:]+):(.+)$/;function Ur(e){if(":"===e[0]){var t=e.match(Sr);return[t[1],t[2]]}return["",e]}function kr(e){for(var t=0,r=0;r<e.length;r++)t|=e[r].flags;return t}function Ar(e,t,r,n,o,s,i,a,u,d,l,c,f,h,p,m,b,g,v,_){switch(e){case 1:return t+Ir(r)+n;case 2:return t+Ir(r)+n+Ir(o)+s;case 3:return t+Ir(r)+n+Ir(o)+s+Ir(i)+a;case 4:return t+Ir(r)+n+Ir(o)+s+Ir(i)+a+Ir(u)+d;case 5:return t+Ir(r)+n+Ir(o)+s+Ir(i)+a+Ir(u)+d+Ir(l)+c;case 6:return t+Ir(r)+n+Ir(o)+s+Ir(i)+a+Ir(u)+d+Ir(l)+c+Ir(f)+h;case 7:return t+Ir(r)+n+Ir(o)+s+Ir(i)+a+Ir(u)+d+Ir(l)+c+Ir(f)+h+Ir(p)+m;case 8:return t+Ir(r)+n+Ir(o)+s+Ir(i)+a+Ir(u)+d+Ir(l)+c+Ir(f)+h+Ir(p)+m+Ir(b)+g;case 9:return t+Ir(r)+n+Ir(o)+s+Ir(i)+a+Ir(u)+d+Ir(l)+c+Ir(f)+h+Ir(p)+m+Ir(b)+g+Ir(v)+_;default:throw new Error("Does not support more than 9 expressions")}}function Ir(e){return null!=e?e.toString():""}function Cr(e,t,r,n,o,s){e|=1;var i=br(t);return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,flags:e,checkIndex:-1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:i.matchedQueries,matchedQueryIds:i.matchedQueryIds,references:i.references,ngContentIndex:r,childCount:n,bindings:[],bindingFlags:0,outputs:[],element:{ns:null,name:null,attrs:null,template:s?yr(s):null,componentProvider:null,componentView:null,componentRendererType:null,publicProviders:null,allProviders:null,handleEvent:o||Qt},provider:null,text:null,query:null,ngContent:null}}function Tr(e,t,r,n,o,s,i,a,u,d,l,c){void 0===i&&(i=[]),d||(d=Qt);var h=br(r),p=h.matchedQueries,m=h.references,b=h.matchedQueryIds,g=null,v=null;s&&(g=(C=Ur(s))[0],v=C[1]),a=a||[];for(var _=new Array(a.length),y=0;y<a.length;y++){var w=a[y],j=w[0],E=w[2],D=Ur(w[1]),x=D[0],S=D[1],U=void 0,k=void 0;switch(15&j){case 4:k=E;break;case 1:case 8:U=E}_[y]={flags:j,ns:x,name:S,nonMinifiedName:S,securityContext:U,suffix:k}}u=u||[];var A=new Array(u.length);for(y=0;y<u.length;y++){var I=u[y];A[y]={type:0,target:I[0],eventName:I[1],propName:null}}var C,T=(i=i||[]).map(function(e){var t=e[1],r=Ur(e[0]);return[r[0],r[1],t]});return c=function(e){if(e&&e.id===tr){var t=null!=e.encapsulation&&e.encapsulation!==f.None||e.styles.length||Object.keys(e.data).length;e.id=t?"c"+or++:rr}return e&&e.id===rr&&(e=null),e||null}(c),l&&(t|=33554432),{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:t|=1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:p,matchedQueryIds:b,references:m,ngContentIndex:n,childCount:o,bindings:_,bindingFlags:kr(_),outputs:A,element:{ns:g,name:v,attrs:T,template:null,componentProvider:null,componentView:l||null,componentRendererType:c,publicProviders:null,allProviders:null,handleEvent:d||Qt},provider:null,text:null,query:null,ngContent:null}}function Mr(e,t,r){var n,o=r.element,s=e.root.selectorOrNode,i=e.renderer;if(e.parent||!s){n=o.name?i.createElement(o.name,o.ns):i.createComment("");var a=vr(e,t,r);a&&i.appendChild(a,n)}else n=i.selectRootElement(s);if(o.attrs)for(var u=0;u<o.attrs.length;u++){var d=o.attrs[u];i.setAttribute(n,d[1],d[2],d[0])}return n}function Or(e,t,r,n){for(var o=0;o<r.outputs.length;o++){var s=r.outputs[o],i=Pr(e,r.nodeIndex,(c=s.eventName,(l=s.target)?l+":"+c:c)),a=s.target,u=e;"component"===s.target&&(a=null,u=t);var d=u.renderer.listen(a||n,s.eventName,i);e.disposables[r.outputIndex+o]=d}var l,c}function Pr(e,t,r){return function(n){return lr(e,t,r,n)}}function Nr(e,t,r,n){if(!ir(e,t,r,n))return!1;var o=t.bindings[r],s=Ht(e,t.nodeIndex),i=s.renderElement,a=o.name;switch(15&o.flags){case 1:!function(e,t,r,n,o,s){var i=t.securityContext,a=i?e.root.sanitizer.sanitize(i,s):s;a=null!=a?a.toString():null;var u=e.renderer;null!=s?u.setAttribute(r,o,a,n):u.removeAttribute(r,o,n)}(e,o,i,o.ns,a,n);break;case 2:!function(e,t,r,n){var o=e.renderer;n?o.addClass(t,r):o.removeClass(t,r)}(e,i,a,n);break;case 4:!function(e,t,r,n,o){var s=e.root.sanitizer.sanitize(Bt.STYLE,o);if(null!=s){s=s.toString();var i=t.suffix;null!=i&&(s+=i)}else s=null;var a=e.renderer;null!=s?a.setStyle(r,n,s):a.removeStyle(r,n)}(e,o,i,a,n);break;case 8:!function(e,t,r,n,o){var s=t.securityContext,i=s?e.root.sanitizer.sanitize(s,o):o;e.renderer.setProperty(r,n,i)}(33554432&t.flags&&32&o.flags?s.componentView:e,o,i,a,n)}return!0}var Rr=new Object,Lr=er(M),Br=er(Ee);function Vr(e,t,r,n){return r=A(r),{index:-1,deps:gr(n,U(t)),flags:e,token:t,value:r}}function Fr(e){for(var t={},r=0;r<e.length;r++){var n=e[r];n.index=r,t[er(n.token)]=n}return{factory:null,providersByKey:t,providers:e}}function zr(e,t,r){if(void 0===r&&(r=M.THROW_IF_NOT_FOUND),8&t.flags)return t.token;if(2&t.flags&&(r=null),1&t.flags)return e._parent.get(t.token,r);var n=t.tokenKey;switch(n){case Lr:case Br:return e}var o=e._def.providersByKey[n];if(o){var s=e._providers[o.index];return void 0===s&&(s=e._providers[o.index]=qr(e,o)),s===Rr?void 0:s}return e._parent.get(t.token,r)}function qr(e,t){var r;switch(201347067&t.flags){case 512:r=function(e,t,r){var n=r.length;switch(n){case 0:return new t;case 1:return new t(zr(e,r[0]));case 2:return new t(zr(e,r[0]),zr(e,r[1]));case 3:return new t(zr(e,r[0]),zr(e,r[1]),zr(e,r[2]));default:for(var o=new Array(n),s=0;s<n;s++)o[s]=zr(e,r[s]);return new(t.bind.apply(t,[void 0].concat(o)))}}(e,t.value,t.deps);break;case 1024:r=function(e,t,r){var n=r.length;switch(n){case 0:return t();case 1:return t(zr(e,r[0]));case 2:return t(zr(e,r[0]),zr(e,r[1]));case 3:return t(zr(e,r[0]),zr(e,r[1]),zr(e,r[2]));default:for(var o=Array(n),s=0;s<n;s++)o[s]=zr(e,r[s]);return t.apply(void 0,o)}}(e,t.value,t.deps);break;case 2048:r=zr(e,t.deps[0]);break;case 256:r=t.value}return void 0===r?Rr:r}function Hr(e,t){var r=e.viewContainer._embeddedViews;if((null==t||t>=r.length)&&(t=r.length-1),t<0)return null;var n=r[t];return n.viewContainerParent=null,Wr(r,t),Wt.dirtyParentQueries(n),Gr(n),n}function Kr(e,t,r){var n=t?hr(t,t.def.lastRenderRootNode):e.renderElement;wr(r,2,r.renderer.parentNode(n),r.renderer.nextSibling(n),void 0)}function Gr(e){wr(e,3,null,null,void 0)}function Yr(e,t,r){t>=e.length?e.push(r):e.splice(t,0,r)}function Wr(e,t){t>=e.length-1?e.pop():e.splice(t,1)}var Zr=new Object;function Xr(e,t,r,n,o,s){return new Jr(e,t,r,n,o,s)}var Jr=function(e){function t(t,r,n,o,s,i){var a=e.call(this)||this;return a.selector=t,a.componentType=r,a._inputs=o,a._outputs=s,a.ngContentSelectors=i,a.viewDefFactory=n,a}return Object(n.b)(t,e),Object.defineProperty(t.prototype,"inputs",{get:function(){var e=[],t=this._inputs;for(var r in t)e.push({propName:r,templateName:t[r]});return e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"outputs",{get:function(){var e=[];for(var t in this._outputs)e.push({propName:t,templateName:this._outputs[t]});return e},enumerable:!0,configurable:!0}),t.prototype.create=function(e,t,r,n){if(!n)throw new Error("ngModule should be provided");var o=yr(this.viewDefFactory),s=o.nodes[0].element.componentProvider.nodeIndex,i=Wt.createRootView(e,t||[],r,o,n,Zr),a=Kt(i,s).instance;return r&&i.renderer.setAttribute(Ht(i,0).renderElement,"ng-version",p.full),new Qr(i,new rn(i),a)},t}(pe),Qr=function(e){function t(t,r,n){var o=e.call(this)||this;return o._view=t,o._viewRef=r,o._component=n,o._elDef=o._view.def.nodes[0],o.hostView=r,o.changeDetectorRef=r,o.instance=n,o}return Object(n.b)(t,e),Object.defineProperty(t.prototype,"location",{get:function(){return new rt(Ht(this._view,this._elDef.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"injector",{get:function(){return new an(this._view,this._elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"componentType",{get:function(){return this._component.constructor},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){this._viewRef.destroy()},t.prototype.onDestroy=function(e){this._viewRef.onDestroy(e)},t}(function(){});function $r(e,t,r){return new en(e,t,r)}var en=function(){function e(e,t,r){this._view=e,this._elDef=t,this._data=r,this._embeddedViews=[]}return Object.defineProperty(e.prototype,"element",{get:function(){return new rt(this._data.renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"injector",{get:function(){return new an(this._view,this._elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"parentInjector",{get:function(){for(var e=this._view,t=this._elDef.parent;!t&&e;)t=fr(e),e=e.parent;return e?new an(e,t):new an(this._view,null)},enumerable:!0,configurable:!0}),e.prototype.clear=function(){for(var e=this._embeddedViews.length-1;e>=0;e--){var t=Hr(this._data,e);Wt.destroyView(t)}},e.prototype.get=function(e){var t=this._embeddedViews[e];if(t){var r=new rn(t);return r.attachToViewContainerRef(this),r}return null},Object.defineProperty(e.prototype,"length",{get:function(){return this._embeddedViews.length},enumerable:!0,configurable:!0}),e.prototype.createEmbeddedView=function(e,t,r){var n=e.createEmbeddedView(t||{});return this.insert(n,r),n},e.prototype.createComponent=function(e,t,r,n,o){var s=r||this.parentInjector;o||e instanceof je||(o=s.get(Ee));var i=e.create(s,n,void 0,o);return this.insert(i.hostView,t),i},e.prototype.insert=function(e,t){if(e.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");var r,n,o,s,i=e;return o=i._view,s=(r=this._data).viewContainer._embeddedViews,null!==(n=t)&&void 0!==n||(n=s.length),o.viewContainerParent=this._view,Yr(s,n,o),function(e,t){var r=cr(t);if(r&&r!==e&&!(16&t.state)){t.state|=16;var n=r.template._projectedViews;n||(n=r.template._projectedViews=[]),n.push(t),function(e,r){if(!(4&r.flags)){t.parent.def.nodeFlags|=4,r.flags|=4;for(var n=r.parent;n;)n.childFlags|=4,n=n.parent}}(0,t.parentNodeDef)}}(r,o),Wt.dirtyParentQueries(o),Kr(r,n>0?s[n-1]:null,o),i.attachToViewContainerRef(this),e},e.prototype.move=function(e,t){if(e.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");var r,n,o,s,i,a=this._embeddedViews.indexOf(e._view);return o=t,i=(s=(r=this._data).viewContainer._embeddedViews)[n=a],Wr(s,n),null==o&&(o=s.length),Yr(s,o,i),Wt.dirtyParentQueries(i),Gr(i),Kr(r,o>0?s[o-1]:null,i),e},e.prototype.indexOf=function(e){return this._embeddedViews.indexOf(e._view)},e.prototype.remove=function(e){var t=Hr(this._data,e);t&&Wt.destroyView(t)},e.prototype.detach=function(e){var t=Hr(this._data,e);return t?new rn(t):null},e}();function tn(e){return new rn(e)}var rn=function(){function e(e){this._view=e,this._viewContainerRef=null,this._appRef=null}return Object.defineProperty(e.prototype,"rootNodes",{get:function(){return wr(this._view,0,void 0,void 0,e=[]),e;var e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"context",{get:function(){return this._view.context},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"destroyed",{get:function(){return 0!=(128&this._view.state)},enumerable:!0,configurable:!0}),e.prototype.markForCheck=function(){ur(this._view)},e.prototype.detach=function(){this._view.state&=-5},e.prototype.detectChanges=function(){var e=this._view.root.rendererFactory;e.begin&&e.begin();try{Wt.checkAndUpdateView(this._view)}finally{e.end&&e.end()}},e.prototype.checkNoChanges=function(){Wt.checkNoChangesView(this._view)},e.prototype.reattach=function(){this._view.state|=4},e.prototype.onDestroy=function(e){this._view.disposables||(this._view.disposables=[]),this._view.disposables.push(e)},e.prototype.destroy=function(){this._appRef?this._appRef.detachView(this):this._viewContainerRef&&this._viewContainerRef.detach(this._viewContainerRef.indexOf(this)),Wt.destroyView(this._view)},e.prototype.detachFromAppRef=function(){this._appRef=null,Gr(this._view),Wt.dirtyParentQueries(this._view)},e.prototype.attachToAppRef=function(e){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e},e.prototype.attachToViewContainerRef=function(e){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=e},e}();function nn(e,t){return new on(e,t)}var on=function(e){function t(t,r){var n=e.call(this)||this;return n._parentView=t,n._def=r,n}return Object(n.b)(t,e),t.prototype.createEmbeddedView=function(e){return new rn(Wt.createEmbeddedView(this._parentView,this._def,this._def.element.template,e))},Object.defineProperty(t.prototype,"elementRef",{get:function(){return new rt(Ht(this._parentView,this._def.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),t}(ot);function sn(e,t){return new an(e,t)}var an=function(){function e(e,t){this.view=e,this.elDef=t}return e.prototype.get=function(e,t){return void 0===t&&(t=M.THROW_IF_NOT_FOUND),Wt.resolveDep(this.view,this.elDef,!!this.elDef&&0!=(33554432&this.elDef.flags),{flags:0,token:e,tokenKey:er(e)},t)},e}();function un(e,t){var r=e.def.nodes[t];if(1&r.flags){var n=Ht(e,r.nodeIndex);return r.element.template?n.template:n.renderElement}if(2&r.flags)return qt(e,r.nodeIndex).renderText;if(20240&r.flags)return Kt(e,r.nodeIndex).instance;throw new Error("Illegal state: read nodeValue for node index "+t)}function dn(e){return new ln(e.renderer)}var ln=function(){function e(e){this.delegate=e}return e.prototype.selectRootElement=function(e){return this.delegate.selectRootElement(e)},e.prototype.createElement=function(e,t){var r=Ur(t),n=this.delegate.createElement(r[1],r[0]);return e&&this.delegate.appendChild(e,n),n},e.prototype.createViewRoot=function(e){return e},e.prototype.createTemplateAnchor=function(e){var t=this.delegate.createComment("");return e&&this.delegate.appendChild(e,t),t},e.prototype.createText=function(e,t){var r=this.delegate.createText(t);return e&&this.delegate.appendChild(e,r),r},e.prototype.projectNodes=function(e,t){for(var r=0;r<t.length;r++)this.delegate.appendChild(e,t[r])},e.prototype.attachViewAfter=function(e,t){for(var r=this.delegate.parentNode(e),n=this.delegate.nextSibling(e),o=0;o<t.length;o++)this.delegate.insertBefore(r,t[o],n)},e.prototype.detachView=function(e){for(var t=0;t<e.length;t++){var r=e[t],n=this.delegate.parentNode(r);this.delegate.removeChild(n,r)}},e.prototype.destroyView=function(e,t){for(var r=0;r<t.length;r++)this.delegate.destroyNode(t[r])},e.prototype.listen=function(e,t,r){return this.delegate.listen(e,t,r)},e.prototype.listenGlobal=function(e,t,r){return this.delegate.listen(e,t,r)},e.prototype.setElementProperty=function(e,t,r){this.delegate.setProperty(e,t,r)},e.prototype.setElementAttribute=function(e,t,r){var n=Ur(t),o=n[0],s=n[1];null!=r?this.delegate.setAttribute(e,s,r,o):this.delegate.removeAttribute(e,s,o)},e.prototype.setBindingDebugInfo=function(e,t,r){},e.prototype.setElementClass=function(e,t,r){r?this.delegate.addClass(e,t):this.delegate.removeClass(e,t)},e.prototype.setElementStyle=function(e,t,r){null!=r?this.delegate.setStyle(e,t,r):this.delegate.removeStyle(e,t)},e.prototype.invokeElementMethod=function(e,t,r){e[t].apply(e,r)},e.prototype.setText=function(e,t){this.delegate.setValue(e,t)},e.prototype.animate=function(){throw new Error("Renderer.animate is no longer supported!")},e}();function cn(e,t,r,n){return new fn(e,t,r,n)}var fn=function(){function e(e,t,r,n){this._moduleType=e,this._parent=t,this._bootstrapComponents=r,this._def=n,this._destroyListeners=[],this._destroyed=!1,this.injector=this,function(e){for(var t=e._def,r=e._providers=new Array(t.providers.length),n=0;n<t.providers.length;n++){var o=t.providers[n];4096&o.flags||(r[n]=qr(e,o))}}(this)}return e.prototype.get=function(e,t){return void 0===t&&(t=M.THROW_IF_NOT_FOUND),zr(this,{token:e,tokenKey:er(e),flags:0},t)},Object.defineProperty(e.prototype,"instance",{get:function(){return this.get(this._moduleType)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"componentFactoryResolver",{get:function(){return this.get(ye)},enumerable:!0,configurable:!0}),e.prototype.destroy=function(){if(this._destroyed)throw new Error("The ng module "+U(this.instance.constructor)+" has already been destroyed.");this._destroyed=!0,function(e,t){for(var r=e._def,n=0;n<r.providers.length;n++)if(131072&r.providers[n].flags){var o=e._providers[n];o&&o!==Rr&&o.ngOnDestroy()}}(this),this._destroyListeners.forEach(function(e){return e()})},e.prototype.onDestroy=function(e){this._destroyListeners.push(e)},e}(),hn=er(function(){}),pn=er(tt),mn=er(rt),bn=er(st),gn=er(ot),vn=er(function(){}),_n=er(M);function yn(e,t,r,n,o,s,i,a){var u=[];if(i)for(var d in i){var l=i[d];u[l[0]]={flags:8,name:d,nonMinifiedName:l[1],ns:null,securityContext:null,suffix:null}}var c=[];if(a)for(var f in a)c.push({type:1,propName:f,target:null,eventName:a[f]});return jn(e,t|=16384,r,n,o,o,s,u,c)}function wn(e,t,r,n,o){return jn(-1,e,t,0,r,n,o)}function jn(e,t,r,n,o,s,i,a,u){var d=br(r),l=d.matchedQueries,c=d.references,f=d.matchedQueryIds;u||(u=[]),a||(a=[]),s=A(s);var h=gr(i,U(o));return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:t,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:l,matchedQueryIds:f,references:c,ngContentIndex:-1,childCount:n,bindings:a,bindingFlags:kr(a),outputs:u,element:null,provider:{token:o,value:s,deps:h},text:null,query:null,ngContent:null}}function En(e,t){return Un(e,t)}function Dn(e,t){for(var r=e;r.parent&&!pr(r);)r=r.parent;return kn(r.parent,fr(r),!0,t.provider.value,t.provider.deps)}function xn(e,t){var r=kn(e,t.parent,(32768&t.flags)>0,t.provider.value,t.provider.deps);if(t.outputs.length)for(var n=0;n<t.outputs.length;n++){var o=t.outputs[n],s=r[o.propName].subscribe(Sn(e,t.parent.nodeIndex,o.eventName));e.disposables[t.outputIndex+n]=s.unsubscribe.bind(s)}return r}function Sn(e,t,r){return function(n){return lr(e,t,r,n)}}function Un(e,t){var r=(8192&t.flags)>0,n=t.provider;switch(201347067&t.flags){case 512:return kn(e,t.parent,r,n.value,n.deps);case 1024:return function(e,t,r,n,o){var s=o.length;switch(s){case 0:return n();case 1:return n(In(e,t,r,o[0]));case 2:return n(In(e,t,r,o[0]),In(e,t,r,o[1]));case 3:return n(In(e,t,r,o[0]),In(e,t,r,o[1]),In(e,t,r,o[2]));default:for(var i=Array(s),a=0;a<s;a++)i[a]=In(e,t,r,o[a]);return n.apply(void 0,i)}}(e,t.parent,r,n.value,n.deps);case 2048:return In(e,t.parent,r,n.deps[0]);case 256:return n.value}}function kn(e,t,r,n,o){var s=o.length;switch(s){case 0:return new n;case 1:return new n(In(e,t,r,o[0]));case 2:return new n(In(e,t,r,o[0]),In(e,t,r,o[1]));case 3:return new n(In(e,t,r,o[0]),In(e,t,r,o[1]),In(e,t,r,o[2]));default:for(var i=new Array(s),a=0;a<s;a++)i[a]=In(e,t,r,o[a]);return new(n.bind.apply(n,[void 0].concat(i)))}}var An={};function In(e,t,r,n,o){if(void 0===o&&(o=M.THROW_IF_NOT_FOUND),8&n.flags)return n.token;var s=e;2&n.flags&&(o=null);var i=n.tokenKey;for(i===vn&&(r=!(!t||!t.element.componentView)),t&&1&n.flags&&(r=!1,t=t.parent);e;){if(t)switch(i){case hn:return dn(Cn(e,t,r));case pn:return Cn(e,t,r).renderer;case mn:return new rt(Ht(e,t.nodeIndex).renderElement);case bn:return Ht(e,t.nodeIndex).viewContainer;case gn:if(t.element.template)return Ht(e,t.nodeIndex).template;break;case vn:return tn(Cn(e,t,r));case _n:return sn(e,t);default:var a=(r?t.element.allProviders:t.element.publicProviders)[i];if(a){var u=Kt(e,a.nodeIndex);return u||(u={instance:Un(e,a)},e.nodes[a.nodeIndex]=u),u.instance}}r=pr(e),t=fr(e),e=e.parent}var d=s.root.injector.get(n.token,An);return d!==An||o===An?d:s.root.ngModule.injector.get(n.token,o)}function Cn(e,t,r){var n;if(r)n=Ht(e,t.nodeIndex).componentView;else for(n=e;n.parent&&!pr(n);)n=n.parent;return n}function Tn(e,t,r,n,o,s){if(32768&r.flags){var i=Ht(e,r.parent.nodeIndex).componentView;2&i.def.flags&&(i.state|=8)}if(t.instance[r.bindings[n].name]=o,524288&r.flags){s=s||{};var a=pt.unwrap(e.oldValues[r.bindingIndex+n]);s[r.bindings[n].nonMinifiedName]=new mt(a,o,0!=(2&e.state))}return e.oldValues[r.bindingIndex+n]=o,s}function Mn(e,t){if(e.def.nodeFlags&t)for(var r=e.def.nodes,n=0,o=0;o<r.length;o++){var s=r[o],i=s.parent;for(!i&&s.flags&t&&Pn(e,o,s.flags&t,n++),0==(s.childFlags&t)&&(o+=s.childCount);i&&1&i.flags&&o===i.nodeIndex+i.childCount;)i.directChildFlags&t&&(n=On(e,i,t,n)),i=i.parent}}function On(e,t,r,n){for(var o=t.nodeIndex+1;o<=t.nodeIndex+t.childCount;o++){var s=e.def.nodes[o];s.flags&r&&Pn(e,o,s.flags&r,n++),o+=s.childCount}return n}function Pn(e,t,r,n){var o=Kt(e,t);if(o){var s=o.instance;s&&(Wt.setCurrentNode(e,t),1048576&r&&zt(e,512,n)&&s.ngAfterContentInit(),2097152&r&&s.ngAfterContentChecked(),4194304&r&&zt(e,768,n)&&s.ngAfterViewInit(),8388608&r&&s.ngAfterViewChecked(),131072&r&&s.ngOnDestroy())}}function Nn(e){for(var t=e.def.nodeMatchedQueries;e.parent&&mr(e);){var r=e.parentNodeDef;e=e.parent;for(var n=r.nodeIndex+r.childCount,o=0;o<=n;o++)67108864&(s=e.def.nodes[o]).flags&&536870912&s.flags&&(s.query.filterId&t)===s.query.filterId&&Yt(e,o).setDirty(),!(1&s.flags&&o+s.childCount<r.nodeIndex)&&67108864&s.childFlags&&536870912&s.childFlags||(o+=s.childCount)}if(134217728&e.def.nodeFlags)for(o=0;o<e.def.nodes.length;o++){var s;134217728&(s=e.def.nodes[o]).flags&&536870912&s.flags&&Yt(e,o).setDirty(),o+=s.childCount}}function Rn(e,t){var r=Yt(e,t.nodeIndex);if(r.dirty){var n,o=void 0;if(67108864&t.flags){var s=t.parent.parent;o=Ln(e,s.nodeIndex,s.nodeIndex+s.childCount,t.query,[]),n=Kt(e,t.parent.nodeIndex).instance}else 134217728&t.flags&&(o=Ln(e,0,e.def.nodes.length-1,t.query,[]),n=e.component);r.reset(o);for(var i=t.query.bindings,a=!1,u=0;u<i.length;u++){var d=i[u],l=void 0;switch(d.bindingType){case 0:l=r.first;break;case 1:l=r,a=!0}n[d.propName]=l}a&&r.notifyOnChanges()}}function Ln(e,t,r,n,o){for(var s=t;s<=r;s++){var i=e.def.nodes[s],a=i.matchedQueries[n.id];if(null!=a&&o.push(Bn(e,i,a)),1&i.flags&&i.element.template&&(i.element.template.nodeMatchedQueries&n.filterId)===n.filterId){var u=Ht(e,s);if((i.childMatchedQueries&n.filterId)===n.filterId&&(Ln(e,s+1,s+i.childCount,n,o),s+=i.childCount),16777216&i.flags)for(var d=u.viewContainer._embeddedViews,l=0;l<d.length;l++){var c=d[l],f=cr(c);f&&f===u&&Ln(c,0,c.def.nodes.length-1,n,o)}var h=u.template._projectedViews;if(h)for(l=0;l<h.length;l++){var p=h[l];Ln(p,0,p.def.nodes.length-1,n,o)}}(i.childMatchedQueries&n.filterId)!==n.filterId&&(s+=i.childCount)}return o}function Bn(e,t,r){if(null!=r)switch(r){case 1:return Ht(e,t.nodeIndex).renderElement;case 0:return new rt(Ht(e,t.nodeIndex).renderElement);case 2:return Ht(e,t.nodeIndex).template;case 3:return Ht(e,t.nodeIndex).viewContainer;case 4:return Kt(e,t.nodeIndex).instance}}function Vn(e,t,r){var n=vr(e,t,r);n&&Er(e,r.ngContent.index,1,n,null,void 0)}function Fn(e,t,r){for(var n=new Array(r.length-1),o=1;o<r.length;o++)n[o-1]={flags:8,name:null,ns:null,nonMinifiedName:null,securityContext:null,suffix:r[o]};return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:2,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:t,childCount:0,bindings:n,bindingFlags:8,outputs:[],element:null,provider:null,text:{prefix:r[0]},query:null,ngContent:null}}function zn(e,t,r){var n,o=e.renderer;n=o.createText(r.text.prefix);var s=vr(e,t,r);return s&&o.appendChild(s,n),{renderText:n}}function qn(e,t){return(null!=e?e.toString():"")+t.suffix}function Hn(e,t,r,n){for(var o=0,s=0,i=0,a=0,u=0,d=null,l=null,c=!1,f=!1,h=null,p=0;p<t.length;p++){var m=t[p];if(m.nodeIndex=p,m.parent=d,m.bindingIndex=o,m.outputIndex=s,m.renderParent=l,i|=m.flags,u|=m.matchedQueryIds,m.element){var b=m.element;b.publicProviders=d?d.element.publicProviders:Object.create(null),b.allProviders=b.publicProviders,c=!1,f=!1,m.element.template&&(u|=m.element.template.nodeMatchedQueries)}if(Gn(d,m,t.length),o+=m.bindings.length,s+=m.outputs.length,!l&&3&m.flags&&(h=m),20224&m.flags){c||(c=!0,d.element.publicProviders=Object.create(d.element.publicProviders),d.element.allProviders=d.element.publicProviders);var g=0!=(32768&m.flags);0==(8192&m.flags)||g?d.element.publicProviders[er(m.provider.token)]=m:(f||(f=!0,d.element.allProviders=Object.create(d.element.publicProviders)),d.element.allProviders[er(m.provider.token)]=m),g&&(d.element.componentProvider=m)}if(d?(d.childFlags|=m.flags,d.directChildFlags|=m.flags,d.childMatchedQueries|=m.matchedQueryIds,m.element&&m.element.template&&(d.childMatchedQueries|=m.element.template.nodeMatchedQueries)):a|=m.flags,m.childCount>0)d=m,Kn(m)||(l=m);else for(;d&&p===d.nodeIndex+d.childCount;){var v=d.parent;v&&(v.childFlags|=d.childFlags,v.childMatchedQueries|=d.childMatchedQueries),l=(d=v)&&Kn(d)?d.renderParent:d}}return{factory:null,nodeFlags:i,rootNodeFlags:a,nodeMatchedQueries:u,flags:e,nodes:t,updateDirectives:r||Qt,updateRenderer:n||Qt,handleEvent:function(e,r,n,o){return t[r].element.handleEvent(e,n,o)},bindingCount:o,outputCount:s,lastRenderRootNode:h}}function Kn(e){return 0!=(1&e.flags)&&null===e.element.name}function Gn(e,t,r){var n=t.element&&t.element.template;if(n){if(!n.lastRenderRootNode)throw new Error("Illegal State: Embedded templates without nodes are not allowed!");if(n.lastRenderRootNode&&16777216&n.lastRenderRootNode.flags)throw new Error("Illegal State: Last root node of a template can't have embedded views, at index "+t.nodeIndex+"!")}if(20224&t.flags&&0==(1&(e?e.flags:0)))throw new Error("Illegal State: StaticProvider/Directive nodes need to be children of elements or anchors, at index "+t.nodeIndex+"!");if(t.query){if(67108864&t.flags&&(!e||0==(16384&e.flags)))throw new Error("Illegal State: Content Query nodes need to be children of directives, at index "+t.nodeIndex+"!");if(134217728&t.flags&&e)throw new Error("Illegal State: View Query nodes have to be top level nodes, at index "+t.nodeIndex+"!")}if(t.childCount){var o=e?e.nodeIndex+e.childCount:r-1;if(t.nodeIndex<=o&&t.nodeIndex+t.childCount>o)throw new Error("Illegal State: childCount of node leads outside of parent, at index "+t.nodeIndex+"!")}}function Yn(e,t,r,n){var o=Xn(e.root,e.renderer,e,t,r);return Jn(o,e.component,n),Qn(o),o}function Wn(e,t,r){var n=Xn(e,e.renderer,null,null,t);return Jn(n,r,r),Qn(n),n}function Zn(e,t,r,n){var o,s=t.element.componentRendererType;return o=s?e.root.rendererFactory.createRenderer(n,s):e.root.renderer,Xn(e.root,o,e,t.element.componentProvider,r)}function Xn(e,t,r,n,o){var s=new Array(o.nodes.length),i=o.outputCount?new Array(o.outputCount):null;return{def:o,parent:r,viewContainerParent:null,parentNodeDef:n,context:null,component:null,nodes:s,state:13,root:e,renderer:t,oldValues:new Array(o.bindingCount),disposables:i,initIndex:-1}}function Jn(e,t,r){e.component=t,e.context=r}function Qn(e){var t;pr(e)&&(t=Ht(e.parent,e.parentNodeDef.parent.nodeIndex).renderElement);for(var r=e.def,n=e.nodes,o=0;o<r.nodes.length;o++){var s=r.nodes[o];Wt.setCurrentNode(e,o);var i=void 0;switch(201347067&s.flags){case 1:var a=Mr(e,t,s),u=void 0;if(33554432&s.flags){var d=yr(s.element.componentView);u=Wt.createComponentView(e,s,d,a)}Or(e,u,s,a),i={renderElement:a,componentView:u,viewContainer:null,template:s.element.template?nn(e,s):void 0},16777216&s.flags&&(i.viewContainer=$r(e,s,i));break;case 2:i=zn(e,t,s);break;case 512:case 1024:case 2048:case 256:(i=n[o])||4096&s.flags||(i={instance:En(e,s)});break;case 16:i={instance:Dn(e,s)};break;case 16384:(i=n[o])||(i={instance:xn(e,s)}),32768&s.flags&&Jn(Ht(e,s.parent.nodeIndex).componentView,i.instance,i.instance);break;case 32:case 64:case 128:i={value:void 0};break;case 67108864:case 134217728:i=new nt;break;case 8:Vn(e,t,s),i=void 0}n[o]=i}ao(e,io.CreateViewNodes),fo(e,201326592,268435456,0)}function $n(e){ro(e),Wt.updateDirectives(e,1),uo(e,io.CheckNoChanges),Wt.updateRenderer(e,1),ao(e,io.CheckNoChanges),e.state&=-97}function eo(e){1&e.state?(e.state&=-2,e.state|=2):e.state&=-3,Ft(e,0,256),ro(e),Wt.updateDirectives(e,0),uo(e,io.CheckAndUpdate),fo(e,67108864,536870912,0);var t=Ft(e,256,512);Mn(e,2097152|(t?1048576:0)),Wt.updateRenderer(e,0),ao(e,io.CheckAndUpdate),fo(e,134217728,536870912,0),Mn(e,8388608|((t=Ft(e,512,768))?4194304:0)),2&e.def.flags&&(e.state&=-9),e.state&=-97,Ft(e,768,1024)}function to(e,t,r,n,o,s,i,a,u,d,l,c,f){return 0===r?function(e,t,r,n,o,s,i,a,u,d,l,c){switch(201347067&t.flags){case 1:return function(e,t,r,n,o,s,i,a,u,d,l,c){var f=t.bindings.length,h=!1;return f>0&&Nr(e,t,0,r)&&(h=!0),f>1&&Nr(e,t,1,n)&&(h=!0),f>2&&Nr(e,t,2,o)&&(h=!0),f>3&&Nr(e,t,3,s)&&(h=!0),f>4&&Nr(e,t,4,i)&&(h=!0),f>5&&Nr(e,t,5,a)&&(h=!0),f>6&&Nr(e,t,6,u)&&(h=!0),f>7&&Nr(e,t,7,d)&&(h=!0),f>8&&Nr(e,t,8,l)&&(h=!0),f>9&&Nr(e,t,9,c)&&(h=!0),h}(e,t,r,n,o,s,i,a,u,d,l,c);case 2:return function(e,t,r,n,o,s,i,a,u,d,l,c){var f=!1,h=t.bindings,p=h.length;if(p>0&&ir(e,t,0,r)&&(f=!0),p>1&&ir(e,t,1,n)&&(f=!0),p>2&&ir(e,t,2,o)&&(f=!0),p>3&&ir(e,t,3,s)&&(f=!0),p>4&&ir(e,t,4,i)&&(f=!0),p>5&&ir(e,t,5,a)&&(f=!0),p>6&&ir(e,t,6,u)&&(f=!0),p>7&&ir(e,t,7,d)&&(f=!0),p>8&&ir(e,t,8,l)&&(f=!0),p>9&&ir(e,t,9,c)&&(f=!0),f){var m=t.text.prefix;p>0&&(m+=qn(r,h[0])),p>1&&(m+=qn(n,h[1])),p>2&&(m+=qn(o,h[2])),p>3&&(m+=qn(s,h[3])),p>4&&(m+=qn(i,h[4])),p>5&&(m+=qn(a,h[5])),p>6&&(m+=qn(u,h[6])),p>7&&(m+=qn(d,h[7])),p>8&&(m+=qn(l,h[8])),p>9&&(m+=qn(c,h[9]));var b=qt(e,t.nodeIndex).renderText;e.renderer.setValue(b,m)}return f}(e,t,r,n,o,s,i,a,u,d,l,c);case 16384:return function(e,t,r,n,o,s,i,a,u,d,l,c){var f=Kt(e,t.nodeIndex),h=f.instance,p=!1,m=void 0,b=t.bindings.length;return b>0&&sr(e,t,0,r)&&(p=!0,m=Tn(e,f,t,0,r,m)),b>1&&sr(e,t,1,n)&&(p=!0,m=Tn(e,f,t,1,n,m)),b>2&&sr(e,t,2,o)&&(p=!0,m=Tn(e,f,t,2,o,m)),b>3&&sr(e,t,3,s)&&(p=!0,m=Tn(e,f,t,3,s,m)),b>4&&sr(e,t,4,i)&&(p=!0,m=Tn(e,f,t,4,i,m)),b>5&&sr(e,t,5,a)&&(p=!0,m=Tn(e,f,t,5,a,m)),b>6&&sr(e,t,6,u)&&(p=!0,m=Tn(e,f,t,6,u,m)),b>7&&sr(e,t,7,d)&&(p=!0,m=Tn(e,f,t,7,d,m)),b>8&&sr(e,t,8,l)&&(p=!0,m=Tn(e,f,t,8,l,m)),b>9&&sr(e,t,9,c)&&(p=!0,m=Tn(e,f,t,9,c,m)),m&&h.ngOnChanges(m),65536&t.flags&&zt(e,256,t.nodeIndex)&&h.ngOnInit(),262144&t.flags&&h.ngDoCheck(),p}(e,t,r,n,o,s,i,a,u,d,l,c);case 32:case 64:case 128:return function(e,t,r,n,o,s,i,a,u,d,l,c){var f=t.bindings,h=!1,p=f.length;if(p>0&&ir(e,t,0,r)&&(h=!0),p>1&&ir(e,t,1,n)&&(h=!0),p>2&&ir(e,t,2,o)&&(h=!0),p>3&&ir(e,t,3,s)&&(h=!0),p>4&&ir(e,t,4,i)&&(h=!0),p>5&&ir(e,t,5,a)&&(h=!0),p>6&&ir(e,t,6,u)&&(h=!0),p>7&&ir(e,t,7,d)&&(h=!0),p>8&&ir(e,t,8,l)&&(h=!0),p>9&&ir(e,t,9,c)&&(h=!0),h){var m=Gt(e,t.nodeIndex),b=void 0;switch(201347067&t.flags){case 32:b=new Array(f.length),p>0&&(b[0]=r),p>1&&(b[1]=n),p>2&&(b[2]=o),p>3&&(b[3]=s),p>4&&(b[4]=i),p>5&&(b[5]=a),p>6&&(b[6]=u),p>7&&(b[7]=d),p>8&&(b[8]=l),p>9&&(b[9]=c);break;case 64:b={},p>0&&(b[f[0].name]=r),p>1&&(b[f[1].name]=n),p>2&&(b[f[2].name]=o),p>3&&(b[f[3].name]=s),p>4&&(b[f[4].name]=i),p>5&&(b[f[5].name]=a),p>6&&(b[f[6].name]=u),p>7&&(b[f[7].name]=d),p>8&&(b[f[8].name]=l),p>9&&(b[f[9].name]=c);break;case 128:var g=r;switch(p){case 1:b=g.transform(r);break;case 2:b=g.transform(n);break;case 3:b=g.transform(n,o);break;case 4:b=g.transform(n,o,s);break;case 5:b=g.transform(n,o,s,i);break;case 6:b=g.transform(n,o,s,i,a);break;case 7:b=g.transform(n,o,s,i,a,u);break;case 8:b=g.transform(n,o,s,i,a,u,d);break;case 9:b=g.transform(n,o,s,i,a,u,d,l);break;case 10:b=g.transform(n,o,s,i,a,u,d,l,c)}}m.value=b}return h}(e,t,r,n,o,s,i,a,u,d,l,c);default:throw"unreachable"}}(e,t,n,o,s,i,a,u,d,l,c,f):function(e,t,r){switch(201347067&t.flags){case 1:return function(e,t,r){for(var n=!1,o=0;o<r.length;o++)Nr(e,t,o,r[o])&&(n=!0);return n}(e,t,r);case 2:return function(e,t,r){for(var n=t.bindings,o=!1,s=0;s<r.length;s++)ir(e,t,s,r[s])&&(o=!0);if(o){var i="";for(s=0;s<r.length;s++)i+=qn(r[s],n[s]);i=t.text.prefix+i;var a=qt(e,t.nodeIndex).renderText;e.renderer.setValue(a,i)}return o}(e,t,r);case 16384:return function(e,t,r){for(var n=Kt(e,t.nodeIndex),o=n.instance,s=!1,i=void 0,a=0;a<r.length;a++)sr(e,t,a,r[a])&&(s=!0,i=Tn(e,n,t,a,r[a],i));return i&&o.ngOnChanges(i),65536&t.flags&&zt(e,256,t.nodeIndex)&&o.ngOnInit(),262144&t.flags&&o.ngDoCheck(),s}(e,t,r);case 32:case 64:case 128:return function(e,t,r){for(var n=t.bindings,o=!1,s=0;s<r.length;s++)ir(e,t,s,r[s])&&(o=!0);if(o){var i=Gt(e,t.nodeIndex),a=void 0;switch(201347067&t.flags){case 32:a=r;break;case 64:for(a={},s=0;s<r.length;s++)a[n[s].name]=r[s];break;case 128:var u=r[0],d=r.slice(1);a=u.transform.apply(u,d)}i.value=a}return o}(e,t,r);default:throw"unreachable"}}(e,t,n)}function ro(e){var t=e.def;if(4&t.nodeFlags)for(var r=0;r<t.nodes.length;r++){var n=t.nodes[r];if(4&n.flags){var o=Ht(e,r).template._projectedViews;if(o)for(var s=0;s<o.length;s++){var i=o[s];i.state|=32,dr(i,e)}}else 0==(4&n.childFlags)&&(r+=n.childCount)}}function no(e,t,r,n,o,s,i,a,u,d,l,c,f){return 0===r?function(e,t,r,n,o,s,i,a,u,d,l,c){var f=t.bindings.length;f>0&&ar(e,t,0,r),f>1&&ar(e,t,1,n),f>2&&ar(e,t,2,o),f>3&&ar(e,t,3,s),f>4&&ar(e,t,4,i),f>5&&ar(e,t,5,a),f>6&&ar(e,t,6,u),f>7&&ar(e,t,7,d),f>8&&ar(e,t,8,l),f>9&&ar(e,t,9,c)}(e,t,n,o,s,i,a,u,d,l,c,f):function(e,t,r){for(var n=0;n<r.length;n++)ar(e,t,n,r[n])}(e,t,n),!1}function oo(e,t){if(Yt(e,t.nodeIndex).dirty)throw Zt(Wt.createDebugContext(e,t.nodeIndex),"Query "+t.query.id+" not dirty","Query "+t.query.id+" dirty",0!=(1&e.state))}function so(e){if(!(128&e.state)){if(uo(e,io.Destroy),ao(e,io.Destroy),Mn(e,131072),e.disposables)for(var t=0;t<e.disposables.length;t++)e.disposables[t]();!function(e){if(16&e.state){var t=cr(e);if(t){var r=t.template._projectedViews;r&&(Wr(r,r.indexOf(e)),Wt.dirtyParentQueries(e))}}}(e),e.renderer.destroyNode&&function(e){for(var t=e.def.nodes.length,r=0;r<t;r++){var n=e.def.nodes[r];1&n.flags?e.renderer.destroyNode(Ht(e,r).renderElement):2&n.flags?e.renderer.destroyNode(qt(e,r).renderText):(67108864&n.flags||134217728&n.flags)&&Yt(e,r).destroy()}}(e),pr(e)&&e.renderer.destroy(),e.state|=128}}var io=function(){var e={CreateViewNodes:0,CheckNoChanges:1,CheckNoChangesProjectedViews:2,CheckAndUpdate:3,CheckAndUpdateProjectedViews:4,Destroy:5};return e[e.CreateViewNodes]="CreateViewNodes",e[e.CheckNoChanges]="CheckNoChanges",e[e.CheckNoChangesProjectedViews]="CheckNoChangesProjectedViews",e[e.CheckAndUpdate]="CheckAndUpdate",e[e.CheckAndUpdateProjectedViews]="CheckAndUpdateProjectedViews",e[e.Destroy]="Destroy",e}();function ao(e,t){var r=e.def;if(33554432&r.nodeFlags)for(var n=0;n<r.nodes.length;n++){var o=r.nodes[n];33554432&o.flags?lo(Ht(e,n).componentView,t):0==(33554432&o.childFlags)&&(n+=o.childCount)}}function uo(e,t){var r=e.def;if(16777216&r.nodeFlags)for(var n=0;n<r.nodes.length;n++){var o=r.nodes[n];if(16777216&o.flags)for(var s=Ht(e,n).viewContainer._embeddedViews,i=0;i<s.length;i++)lo(s[i],t);else 0==(16777216&o.childFlags)&&(n+=o.childCount)}}function lo(e,t){var r=e.state;switch(t){case io.CheckNoChanges:0==(128&r)&&(12==(12&r)?$n(e):64&r&&co(e,io.CheckNoChangesProjectedViews));break;case io.CheckNoChangesProjectedViews:0==(128&r)&&(32&r?$n(e):64&r&&co(e,t));break;case io.CheckAndUpdate:0==(128&r)&&(12==(12&r)?eo(e):64&r&&co(e,io.CheckAndUpdateProjectedViews));break;case io.CheckAndUpdateProjectedViews:0==(128&r)&&(32&r?eo(e):64&r&&co(e,t));break;case io.Destroy:so(e);break;case io.CreateViewNodes:Qn(e)}}function co(e,t){uo(e,t),ao(e,t)}function fo(e,t,r,n){if(e.def.nodeFlags&t&&e.def.nodeFlags&r)for(var o=e.def.nodes.length,s=0;s<o;s++){var i=e.def.nodes[s];if(i.flags&t&&i.flags&r)switch(Wt.setCurrentNode(e,i.nodeIndex),n){case 0:Rn(e,i);break;case 1:oo(e,i)}i.childFlags&t&&i.childFlags&r||(s+=i.childCount)}}var ho=!1;function po(e,t,r,n,o,s){return Wn(bo(e,o,o.injector.get($e),t,r),n,s)}function mo(e,t,r,n,o,s){var i=o.injector.get($e),a=bo(e,o,new Zo(i),t,r),u=xo(n);return Yo(Oo.create,Wn,null,[a,u,s])}function bo(e,t,r,n,o){var s=t.injector.get(Vt),i=t.injector.get($);return{ngModule:t,injector:e,projectableNodes:n,selectorOrNode:o,sanitizer:s,rendererFactory:r,renderer:r.createRenderer(null,null),errorHandler:i}}function go(e,t,r,n){var o=xo(r);return Yo(Oo.create,Yn,null,[e,t,o,n])}function vo(e,t,r,n){return r=wo.get(t.element.componentProvider.provider.token)||xo(r),Yo(Oo.create,Zn,null,[e,t,r,n])}function _o(e,t,r,n){return cn(e,t,r,function(e){var t=function(e){var t=!1,r=!1;return 0===yo.size?{hasOverrides:t,hasDeprecatedOverrides:r}:(e.providers.forEach(function(e){var n=yo.get(e.token);3840&e.flags&&n&&(t=!0,r=r||n.deprecatedBehavior)}),{hasOverrides:t,hasDeprecatedOverrides:r})}(e),r=t.hasDeprecatedOverrides;return t.hasOverrides?(function(e){for(var t=0;t<e.providers.length;t++){var n=e.providers[t];r&&(n.flags|=4096);var o=yo.get(n.token);o&&(n.flags=-3841&n.flags|o.flags,n.deps=gr(o.deps),n.value=o.value)}}(e=e.factory(function(){return Qt})),e):e}(n))}var yo=new Map,wo=new Map;function jo(e){yo.set(e.token,e)}function Eo(e,t){var r=yr(yr(t.viewDefFactory).nodes[0].element.componentView);wo.set(e,r)}function Do(){yo.clear(),wo.clear()}function xo(e){if(0===yo.size)return e;var t=function(e){for(var t=[],r=null,n=0;n<e.nodes.length;n++){var o=e.nodes[n];1&o.flags&&(r=o),r&&3840&o.flags&&yo.has(o.provider.token)&&(t.push(r.nodeIndex),r=null)}return t}(e);if(0===t.length)return e;e=e.factory(function(){return Qt});for(var r=0;r<t.length;r++)n(e,t[r]);return e;function n(e,t){for(var r=t+1;r<e.nodes.length;r++){var n=e.nodes[r];if(1&n.flags)return;if(3840&n.flags){var o=n.provider,s=yo.get(o.token);s&&(n.flags=-3841&n.flags|s.flags,o.deps=gr(s.deps),o.value=s.value)}}}}function So(e,t,r,n,o,s,i,a,u,d,l,c,f){var h=e.def.nodes[t];return to(e,h,r,n,o,s,i,a,u,d,l,c,f),224&h.flags?Gt(e,t).value:void 0}function Uo(e,t,r,n,o,s,i,a,u,d,l,c,f){var h=e.def.nodes[t];return no(e,h,r,n,o,s,i,a,u,d,l,c,f),224&h.flags?Gt(e,t).value:void 0}function ko(e){return Yo(Oo.detectChanges,eo,null,[e])}function Ao(e){return Yo(Oo.checkNoChanges,$n,null,[e])}function Io(e){return Yo(Oo.destroy,so,null,[e])}var Co,To,Mo,Oo=function(){var e={create:0,detectChanges:1,checkNoChanges:2,destroy:3,handleEvent:4};return e[e.create]="create",e[e.detectChanges]="detectChanges",e[e.checkNoChanges]="checkNoChanges",e[e.destroy]="destroy",e[e.handleEvent]="handleEvent",e}();function Po(e,t){To=e,Mo=t}function No(e,t,r,n){return Po(e,t),Yo(Oo.handleEvent,e.def.handleEvent,null,[e,t,r,n])}function Ro(e,t){if(128&e.state)throw Jt(Oo[Co]);return Po(e,qo(e,0)),e.def.updateDirectives(function(e,r,n){for(var o=[],s=3;s<arguments.length;s++)o[s-3]=arguments[s];var i=e.def.nodes[r];return 0===t?Bo(e,i,n,o):Vo(e,i,n,o),16384&i.flags&&Po(e,qo(e,r)),224&i.flags?Gt(e,i.nodeIndex).value:void 0},e)}function Lo(e,t){if(128&e.state)throw Jt(Oo[Co]);return Po(e,Ho(e,0)),e.def.updateRenderer(function(e,r,n){for(var o=[],s=3;s<arguments.length;s++)o[s-3]=arguments[s];var i=e.def.nodes[r];return 0===t?Bo(e,i,n,o):Vo(e,i,n,o),3&i.flags&&Po(e,Ho(e,r)),224&i.flags?Gt(e,i.nodeIndex).value:void 0},e)}function Bo(e,t,r,n){if(to.apply(void 0,[e,t,r].concat(n))){var o=1===r?n[0]:n;if(16384&t.flags){for(var s={},i=0;i<t.bindings.length;i++){var a=t.bindings[i],u=o[i];8&a.flags&&(s[(f=a.nonMinifiedName,"ng-reflect-"+(f=f.replace(/[$@]/g,"_").replace(Fo,function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return"-"+e[1].toLowerCase()})))]=zo(u))}var d=t.parent,l=Ht(e,d.nodeIndex).renderElement;if(d.element.name)for(var c in s)null!=(u=s[c])?e.renderer.setAttribute(l,c,u):e.renderer.removeAttribute(l,c);else e.renderer.setValue(l,"bindings="+JSON.stringify(s,null,2))}}var f}function Vo(e,t,r,n){no.apply(void 0,[e,t,r].concat(n))}var Fo=/([A-Z])/g;function zo(e){try{return null!=e?e.toString().slice(0,30):e}catch(e){return"[ERROR] Exception while trying to serialize the value"}}function qo(e,t){for(var r=t;r<e.def.nodes.length;r++){var n=e.def.nodes[r];if(16384&n.flags&&n.bindings&&n.bindings.length)return r}return null}function Ho(e,t){for(var r=t;r<e.def.nodes.length;r++){var n=e.def.nodes[r];if(3&n.flags&&n.bindings&&n.bindings.length)return r}return null}var Ko=function(){function e(e,t){this.view=e,this.nodeIndex=t,null==t&&(this.nodeIndex=t=0),this.nodeDef=e.def.nodes[t];for(var r=this.nodeDef,n=e;r&&0==(1&r.flags);)r=r.parent;if(!r)for(;!r&&n;)r=fr(n),n=n.parent;this.elDef=r,this.elView=n}return Object.defineProperty(e.prototype,"elOrCompView",{get:function(){return Ht(this.elView,this.elDef.nodeIndex).componentView||this.view},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"injector",{get:function(){return sn(this.elView,this.elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"component",{get:function(){return this.elOrCompView.component},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"context",{get:function(){return this.elOrCompView.context},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"providerTokens",{get:function(){var e=[];if(this.elDef)for(var t=this.elDef.nodeIndex+1;t<=this.elDef.nodeIndex+this.elDef.childCount;t++){var r=this.elView.def.nodes[t];20224&r.flags&&e.push(r.provider.token),t+=r.childCount}return e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"references",{get:function(){var e={};if(this.elDef){Go(this.elView,this.elDef,e);for(var t=this.elDef.nodeIndex+1;t<=this.elDef.nodeIndex+this.elDef.childCount;t++){var r=this.elView.def.nodes[t];20224&r.flags&&Go(this.elView,r,e),t+=r.childCount}}return e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"componentRenderElement",{get:function(){var e=function(e){for(;e&&!pr(e);)e=e.parent;return e.parent?Ht(e.parent,fr(e).nodeIndex):null}(this.elOrCompView);return e?e.renderElement:void 0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"renderNode",{get:function(){return 2&this.nodeDef.flags?hr(this.view,this.nodeDef):hr(this.elView,this.elDef)},enumerable:!0,configurable:!0}),e.prototype.logError=function(e){for(var t,r,n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];2&this.nodeDef.flags?(t=this.view.def,r=this.nodeDef.nodeIndex):(t=this.elView.def,r=this.elDef.nodeIndex);var s=function(e,t){for(var r=-1,n=0;n<=t;n++)3&e.nodes[n].flags&&r++;return r}(t,r),i=-1;t.factory(function(){return++i===s?(t=e.error).bind.apply(t,[e].concat(n)):Qt;var t}),i<s&&(e.error("Illegal state: the ViewDefinitionFactory did not call the logger!"),e.error.apply(e,n))},e}();function Go(e,t,r){for(var n in t.references)r[n]=Bn(e,t,t.references[n])}function Yo(e,t,r,n){var o=Co,s=To,i=Mo;try{Co=e;var a=t.apply(r,n);return To=s,Mo=i,Co=o,a}catch(e){if(X(e)||!To)throw e;throw function(e,t){return e instanceof Error||(e=new Error(e.toString())),Xt(e,t),e}(e,Wo())}}function Wo(){return To?new Ko(To,Mo):null}var Zo=function(){function e(e){this.delegate=e}return e.prototype.createRenderer=function(e,t){return new Xo(this.delegate.createRenderer(e,t))},e.prototype.begin=function(){this.delegate.begin&&this.delegate.begin()},e.prototype.end=function(){this.delegate.end&&this.delegate.end()},e.prototype.whenRenderingDone=function(){return this.delegate.whenRenderingDone?this.delegate.whenRenderingDone():Promise.resolve(null)},e}(),Xo=function(){function e(e){this.delegate=e,this.data=this.delegate.data}return e.prototype.destroyNode=function(e){!function(e){lt.delete(e.nativeNode)}(ct(e)),this.delegate.destroyNode&&this.delegate.destroyNode(e)},e.prototype.destroy=function(){this.delegate.destroy()},e.prototype.createElement=function(e,t){var r=this.delegate.createElement(e,t),n=Wo();if(n){var o=new at(r,null,n);o.name=e,ft(o)}return r},e.prototype.createComment=function(e){var t=this.delegate.createComment(e),r=Wo();return r&&ft(new it(t,null,r)),t},e.prototype.createText=function(e){var t=this.delegate.createText(e),r=Wo();return r&&ft(new it(t,null,r)),t},e.prototype.appendChild=function(e,t){var r=ct(e),n=ct(t);r&&n&&r instanceof at&&r.addChild(n),this.delegate.appendChild(e,t)},e.prototype.insertBefore=function(e,t,r){var n=ct(e),o=ct(t),s=ct(r);n&&o&&n instanceof at&&n.insertBefore(s,o),this.delegate.insertBefore(e,t,r)},e.prototype.removeChild=function(e,t){var r=ct(e),n=ct(t);r&&n&&r instanceof at&&r.removeChild(n),this.delegate.removeChild(e,t)},e.prototype.selectRootElement=function(e){var t=this.delegate.selectRootElement(e),r=Wo();return r&&ft(new at(t,null,r)),t},e.prototype.setAttribute=function(e,t,r,n){var o=ct(e);o&&o instanceof at&&(o.attributes[n?n+":"+t:t]=r),this.delegate.setAttribute(e,t,r,n)},e.prototype.removeAttribute=function(e,t,r){var n=ct(e);n&&n instanceof at&&(n.attributes[r?r+":"+t:t]=null),this.delegate.removeAttribute(e,t,r)},e.prototype.addClass=function(e,t){var r=ct(e);r&&r instanceof at&&(r.classes[t]=!0),this.delegate.addClass(e,t)},e.prototype.removeClass=function(e,t){var r=ct(e);r&&r instanceof at&&(r.classes[t]=!1),this.delegate.removeClass(e,t)},e.prototype.setStyle=function(e,t,r,n){var o=ct(e);o&&o instanceof at&&(o.styles[t]=r),this.delegate.setStyle(e,t,r,n)},e.prototype.removeStyle=function(e,t,r){var n=ct(e);n&&n instanceof at&&(n.styles[t]=null),this.delegate.removeStyle(e,t,r)},e.prototype.setProperty=function(e,t,r){var n=ct(e);n&&n instanceof at&&(n.properties[t]=r),this.delegate.setProperty(e,t,r)},e.prototype.listen=function(e,t,r){if("string"!=typeof e){var n=ct(e);n&&n.listeners.push(new function(e,t){this.name=e,this.callback=t}(t,r))}return this.delegate.listen(e,t,r)},e.prototype.parentNode=function(e){return this.delegate.parentNode(e)},e.prototype.nextSibling=function(e){return this.delegate.nextSibling(e)},e.prototype.setValue=function(e,t){return this.delegate.setValue(e,t)},e}();function Jo(e,t,r){return new $o(e,t,r)}var Qo,$o=function(e){function t(t,r,n){var o=e.call(this)||this;return o.moduleType=t,o._bootstrapComponents=r,o._ngModuleDefFactory=n,o}return Object(n.b)(t,e),t.prototype.create=function(e){!function(){if(!ho){ho=!0;var e=Ke()?{setCurrentNode:Po,createRootView:mo,createEmbeddedView:go,createComponentView:vo,createNgModuleRef:_o,overrideProvider:jo,overrideComponentView:Eo,clearOverrides:Do,checkAndUpdateView:ko,checkNoChangesView:Ao,destroyView:Io,createDebugContext:function(e,t){return new Ko(e,t)},handleEvent:No,updateDirectives:Ro,updateRenderer:Lo}:{setCurrentNode:function(){},createRootView:po,createEmbeddedView:Yn,createComponentView:Zn,createNgModuleRef:cn,overrideProvider:Qt,overrideComponentView:Qt,clearOverrides:Qt,checkAndUpdateView:eo,checkNoChangesView:$n,destroyView:so,createDebugContext:function(e,t){return new Ko(e,t)},handleEvent:function(e,t,r,n){return e.def.handleEvent(e,t,r,n)},updateDirectives:function(e,t){return e.def.updateDirectives(0===t?So:Uo,e)},updateRenderer:function(e,t){return e.def.updateRenderer(0===t?So:Uo,e)}};Wt.setCurrentNode=e.setCurrentNode,Wt.createRootView=e.createRootView,Wt.createEmbeddedView=e.createEmbeddedView,Wt.createComponentView=e.createComponentView,Wt.createNgModuleRef=e.createNgModuleRef,Wt.overrideProvider=e.overrideProvider,Wt.overrideComponentView=e.overrideComponentView,Wt.clearOverrides=e.clearOverrides,Wt.checkAndUpdateView=e.checkAndUpdateView,Wt.checkNoChangesView=e.checkNoChangesView,Wt.destroyView=e.destroyView,Wt.resolveDep=In,Wt.createDebugContext=e.createDebugContext,Wt.handleEvent=e.handleEvent,Wt.updateDirectives=e.updateDirectives,Wt.updateRenderer=e.updateRenderer,Wt.dirtyParentQueries=Nn}}();var t=yr(this._ngModuleDefFactory);return Wt.createNgModuleRef(this.moduleType,e||M.NULL,this._bootstrapComponents,t)},t}(function(){});"undefined"==typeof ngDevMode&&("undefined"!=typeof window&&(window.ngDevMode=!0),"undefined"!=typeof self&&(self.ngDevMode=!0),"undefined"!=typeof e&&(e.ngDevMode=!0)),Qo=function(e,t,r){return{parent:Qo,id:null,node:null,data:[],ngStaticData:[],cleanup:null,renderer:null,child:null,tail:null,next:null,bindingStartIndex:null,creationMode:!0,viewHookStartIndex:null}}()}).call(t,r("DuR2"))},YaPU:function(e,t,r){"use strict";var n=r("AMGY"),o=r("OVmG"),s=r("tLDX"),i=r("t7NR"),a=r("+CnV");r.d(t,"a",function(){return u});var u=function(){function e(e){this._isScalar=!1,e&&(this._subscribe=e)}return e.prototype.lift=function(t){var r=new e;return r.source=this,r.operator=t,r},e.prototype.subscribe=function(e,t,r){var n=this.operator,a=function(e,t,r){if(e){if(e instanceof o.a)return e;if(e[s.a])return e[s.a]()}return e||t||r?new o.a(e,t,r):new o.a(i.a)}(e,t,r);if(n?n.call(a,this.source):a.add(this.source||!a.syncErrorThrowable?this._subscribe(a):this._trySubscribe(a)),a.syncErrorThrowable&&(a.syncErrorThrowable=!1,a.syncErrorThrown))throw a.syncErrorValue;return a},e.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(t){e.syncErrorThrown=!0,e.syncErrorValue=t,e.error(t)}},e.prototype.forEach=function(e,t){var r=this;if(t||(n.a.Rx&&n.a.Rx.config&&n.a.Rx.config.Promise?t=n.a.Rx.config.Promise:n.a.Promise&&(t=n.a.Promise)),!t)throw new Error("no Promise impl found");return new t(function(t,n){var o;o=r.subscribe(function(t){if(o)try{e(t)}catch(e){n(e),o.unsubscribe()}else e(t)},n,t)})},e.prototype._subscribe=function(e){return this.source.subscribe(e)},e.prototype[a.a]=function(){return this},e.prototype.pipe=function(){for(var e=[],t=0;t<arguments.length;t++)e[t-0]=arguments[t];return 0===e.length?this:((r=e)?1===r.length?r[0]:function(e){return r.reduce(function(e,t){return t(e)},e)}:function(){})(this);var r},e.prototype.toPromise=function(e){var t=this;if(e||(n.a.Rx&&n.a.Rx.config&&n.a.Rx.config.Promise?e=n.a.Rx.config.Promise:n.a.Promise&&(e=n.a.Promise)),!e)throw new Error("no Promise impl found");return new e(function(e,r){var n;t.subscribe(function(e){return n=e},function(e){return r(e)},function(){return e(n)})})},e.create=function(t){return new e(t)},e}()},dgOU:function(e,t,r){"use strict";t.a=function(e){return null!=e&&"object"==typeof e}},g5jc:function(e,t,r){"use strict";var n=r("TToO"),o=r("YaPU"),s=r("OVmG"),i=r("VwZZ"),a=function(e){function t(){var t=e.call(this,"object unsubscribed");this.name=t.name="ObjectUnsubscribedError",this.stack=t.stack,this.message=t.message}return Object(n.b)(t,e),t}(Error),u=function(e){function t(t,r){e.call(this),this.subject=t,this.subscriber=r,this.closed=!1}return Object(n.b)(t,e),t.prototype.unsubscribe=function(){if(!this.closed){this.closed=!0;var e=this.subject,t=e.observers;if(this.subject=null,t&&0!==t.length&&!e.isStopped&&!e.closed){var r=t.indexOf(this.subscriber);-1!==r&&t.splice(r,1)}}},t}(i.a),d=r("tLDX");r.d(t,"b",function(){return l}),r.d(t,"a",function(){return c});var l=function(e){function t(t){e.call(this,t),this.destination=t}return Object(n.b)(t,e),t}(s.a),c=function(e){function t(){e.call(this),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}return Object(n.b)(t,e),t.prototype[d.a]=function(){return new l(this)},t.prototype.lift=function(e){var t=new f(this,this);return t.operator=e,t},t.prototype.next=function(e){if(this.closed)throw new a;if(!this.isStopped)for(var t=this.observers,r=t.length,n=t.slice(),o=0;o<r;o++)n[o].next(e)},t.prototype.error=function(e){if(this.closed)throw new a;this.hasError=!0,this.thrownError=e,this.isStopped=!0;for(var t=this.observers,r=t.length,n=t.slice(),o=0;o<r;o++)n[o].error(e);this.observers.length=0},t.prototype.complete=function(){if(this.closed)throw new a;this.isStopped=!0;for(var e=this.observers,t=e.length,r=e.slice(),n=0;n<t;n++)r[n].complete();this.observers.length=0},t.prototype.unsubscribe=function(){this.isStopped=!0,this.closed=!0,this.observers=null},t.prototype._trySubscribe=function(t){if(this.closed)throw new a;return e.prototype._trySubscribe.call(this,t)},t.prototype._subscribe=function(e){if(this.closed)throw new a;return this.hasError?(e.error(this.thrownError),i.a.EMPTY):this.isStopped?(e.complete(),i.a.EMPTY):(this.observers.push(e),new u(this,e))},t.prototype.asObservable=function(){var e=new o.a;return e.source=this,e},t.create=function(e,t){return new f(e,t)},t}(o.a),f=function(e){function t(t,r){e.call(this),this.destination=t,this.source=r}return Object(n.b)(t,e),t.prototype.next=function(e){var t=this.destination;t&&t.next&&t.next(e)},t.prototype.error=function(e){var t=this.destination;t&&t.error&&this.destination.error(e)},t.prototype.complete=function(){var e=this.destination;e&&e.complete&&this.destination.complete()},t.prototype._subscribe=function(e){return this.source?this.source.subscribe(e):i.a.EMPTY},t}(c)},t7NR:function(e,t,r){"use strict";r.d(t,"a",function(){return n});var n={closed:!0,next:function(e){},error:function(e){throw e},complete:function(){}}},tLDX:function(e,t,r){"use strict";r.d(t,"a",function(){return o});var n=r("AMGY").a.Symbol,o="function"==typeof n&&"function"==typeof n.for?n.for("rxSubscriber"):"@@rxSubscriber"},tZ2B:function(e,t,r){"use strict";r.d(t,"a",function(){return o});var n=r("TToO"),o=function(e){function t(){e.apply(this,arguments)}return Object(n.b)(t,e),t.prototype.notifyNext=function(e,t,r,n,o){this.destination.next(t)},t.prototype.notifyError=function(e,t){this.destination.error(e)},t.prototype.notifyComplete=function(e){this.destination.complete()},t}(r("OVmG").a)},x35b:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r("WT6e"),o=function(){},s=r("/zIR"),i=function(){function e(){this.author="Rakesh Sharma",this.steemid="@techstack",this.submit="Submit",this.getHtmlButton="Get HTML",this.client=new s.Client("https://api.steemit.com"),this.datalist=5,this.isActive=!1,this.isResteem=!1,this.innerText=[],this.posts=[]}return e.prototype.ngOnInit=function(){},e.prototype.fetchData=function(){var e=this,t={tag:this.search,limit:this.datalist};this.loading=!0,this.client.database.getDiscussions("blog",t).then(function(t){e.posts=[],t.filter(function(t){e.isResteem?e.posts.push(t):t.author===e.search&&e.posts.push(t)}),e.loading=!1}).catch(function(t){e.loading=!0,alert("Error occured"+t)})},e.prototype.getInnerHTML=function(){if(this.posts.length){this.isActive=!0;for(var e=0,t=this.posts;e<t.length;e++){var r=t[e];this.innerText.push("<li><a href='https://steemit.com"+r.url+"'>"+r.title+"</a></li>")}var n=this.innerText.join(" ").replace(/,/g,"");this.copyText="<ul>"+n+"</ul>"}},e}(),a=r("TToO"),u=function(){},d=["en",[["a","p"],["AM","PM"]],[["AM","PM"],,],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",,"{1} 'at' {0}"],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"$","US Dollar",function(e){var t=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===r?1:5}],l={},c=function(){var e={Zero:0,One:1,Two:2,Few:3,Many:4,Other:5};return e[e.Zero]="Zero",e[e.One]="One",e[e.Two]="Two",e[e.Few]="Few",e[e.Many]="Many",e[e.Other]="Other",e}(),f=new n.l("UseV4Plurals"),h=function(){},p=function(e){function t(t,r){var n=e.call(this)||this;return n.locale=t,n.deprecatedPluralFn=r,n}return Object(a.b)(t,e),t.prototype.getPluralCategory=function(e,t){switch(this.deprecatedPluralFn?this.deprecatedPluralFn(t||this.locale,e):function(e){return function(e){var t=e.toLowerCase().replace(/_/g,"-"),r=l[t];if(r)return r;var n=t.split("-")[0];if(r=l[n])return r;if("en"===n)return d;throw new Error('Missing locale data for the locale "'+e+'".')}(e)[17]}(t||this.locale)(e)){case c.Zero:return"zero";case c.One:return"one";case c.Two:return"two";case c.Few:return"few";case c.Many:return"many";default:return"other"}},t}(h),m=function(){function e(e,t,r,n){this.$implicit=e,this.ngForOf=t,this.index=r,this.count=n}return Object.defineProperty(e.prototype,"first",{get:function(){return 0===this.index},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"last",{get:function(){return this.index===this.count-1},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"even",{get:function(){return this.index%2==0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"odd",{get:function(){return!this.even},enumerable:!0,configurable:!0}),e}(),b=function(){function e(e,t,r){this._viewContainer=e,this._template=t,this._differs=r,this._differ=null}return Object.defineProperty(e.prototype,"ngForTrackBy",{get:function(){return this._trackByFn},set:function(e){Object(n.M)()&&null!=e&&"function"!=typeof e&&console&&console.warn&&console.warn("trackBy must be a function, but received "+JSON.stringify(e)+". See https://angular.io/docs/ts/latest/api/common/index/NgFor-directive.html#!#change-propagation for more information."),this._trackByFn=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngForTemplate",{set:function(e){e&&(this._template=e)},enumerable:!0,configurable:!0}),e.prototype.ngOnChanges=function(e){if("ngForOf"in e){var t=e.ngForOf.currentValue;if(!this._differ&&t)try{this._differ=this._differs.find(t).create(this.ngForTrackBy)}catch(e){throw new Error("Cannot find a differ supporting object '"+t+"' of type '"+((r=t).name||typeof r)+"'. NgFor only supports binding to Iterables such as Arrays.")}}var r},e.prototype.ngDoCheck=function(){if(this._differ){var e=this._differ.diff(this.ngForOf);e&&this._applyChanges(e)}},e.prototype._applyChanges=function(e){var t=this,r=[];e.forEachOperation(function(e,n,o){if(null==e.previousIndex){var s=t._viewContainer.createEmbeddedView(t._template,new m(null,t.ngForOf,-1,-1),o),i=new g(e,s);r.push(i)}else null==o?t._viewContainer.remove(n):(s=t._viewContainer.get(n),t._viewContainer.move(s,o),i=new g(e,s),r.push(i))});for(var n=0;n<r.length;n++)this._perViewChange(r[n].view,r[n].record);n=0;for(var o=this._viewContainer.length;n<o;n++){var s=this._viewContainer.get(n);s.context.index=n,s.context.count=o}e.forEachIdentityChange(function(e){t._viewContainer.get(e.currentIndex).context.$implicit=e.item})},e.prototype._perViewChange=function(e,t){e.context.$implicit=t.item},e}(),g=function(e,t){this.record=e,this.view=t},v=function(){function e(e,t){this._viewContainer=e,this._context=new _,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=t}return Object.defineProperty(e.prototype,"ngIf",{set:function(e){this._context.$implicit=this._context.ngIf=e,this._updateView()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngIfThen",{set:function(e){this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngIfElse",{set:function(e){this._elseTemplateRef=e,this._elseViewRef=null,this._updateView()},enumerable:!0,configurable:!0}),e.prototype._updateView=function(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))},e}(),_=function(){this.$implicit=null,this.ngIf=null},y=function(){},w=new n.l("DocumentToken"),j=null;function E(){return j}var D,x={class:"className",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex"},S={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},U={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"};n.X.Node&&(D=n.X.Node.prototype.contains||function(e){return!!(16&this.compareDocumentPosition(e))});var k,A=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(a.b)(t,e),t.prototype.parse=function(e){throw new Error("parse not implemented")},t.makeCurrent=function(){var e;e=new t,j||(j=e)},t.prototype.hasProperty=function(e,t){return t in e},t.prototype.setProperty=function(e,t,r){e[t]=r},t.prototype.getProperty=function(e,t){return e[t]},t.prototype.invoke=function(e,t,r){var n;(n=e)[t].apply(n,r)},t.prototype.logError=function(e){window.console&&(console.error?console.error(e):console.log(e))},t.prototype.log=function(e){window.console&&window.console.log&&window.console.log(e)},t.prototype.logGroup=function(e){window.console&&window.console.group&&window.console.group(e)},t.prototype.logGroupEnd=function(){window.console&&window.console.groupEnd&&window.console.groupEnd()},Object.defineProperty(t.prototype,"attrToPropMap",{get:function(){return x},enumerable:!0,configurable:!0}),t.prototype.contains=function(e,t){return D.call(e,t)},t.prototype.querySelector=function(e,t){return e.querySelector(t)},t.prototype.querySelectorAll=function(e,t){return e.querySelectorAll(t)},t.prototype.on=function(e,t,r){e.addEventListener(t,r,!1)},t.prototype.onAndCancel=function(e,t,r){return e.addEventListener(t,r,!1),function(){e.removeEventListener(t,r,!1)}},t.prototype.dispatchEvent=function(e,t){e.dispatchEvent(t)},t.prototype.createMouseEvent=function(e){var t=this.getDefaultDocument().createEvent("MouseEvent");return t.initEvent(e,!0,!0),t},t.prototype.createEvent=function(e){var t=this.getDefaultDocument().createEvent("Event");return t.initEvent(e,!0,!0),t},t.prototype.preventDefault=function(e){e.preventDefault(),e.returnValue=!1},t.prototype.isPrevented=function(e){return e.defaultPrevented||null!=e.returnValue&&!e.returnValue},t.prototype.getInnerHTML=function(e){return e.innerHTML},t.prototype.getTemplateContent=function(e){return"content"in e&&this.isTemplateElement(e)?e.content:null},t.prototype.getOuterHTML=function(e){return e.outerHTML},t.prototype.nodeName=function(e){return e.nodeName},t.prototype.nodeValue=function(e){return e.nodeValue},t.prototype.type=function(e){return e.type},t.prototype.content=function(e){return this.hasProperty(e,"content")?e.content:e},t.prototype.firstChild=function(e){return e.firstChild},t.prototype.nextSibling=function(e){return e.nextSibling},t.prototype.parentElement=function(e){return e.parentNode},t.prototype.childNodes=function(e){return e.childNodes},t.prototype.childNodesAsList=function(e){for(var t=e.childNodes,r=new Array(t.length),n=0;n<t.length;n++)r[n]=t[n];return r},t.prototype.clearNodes=function(e){for(;e.firstChild;)e.removeChild(e.firstChild)},t.prototype.appendChild=function(e,t){e.appendChild(t)},t.prototype.removeChild=function(e,t){e.removeChild(t)},t.prototype.replaceChild=function(e,t,r){e.replaceChild(t,r)},t.prototype.remove=function(e){return e.parentNode&&e.parentNode.removeChild(e),e},t.prototype.insertBefore=function(e,t,r){e.insertBefore(r,t)},t.prototype.insertAllBefore=function(e,t,r){r.forEach(function(r){return e.insertBefore(r,t)})},t.prototype.insertAfter=function(e,t,r){e.insertBefore(r,t.nextSibling)},t.prototype.setInnerHTML=function(e,t){e.innerHTML=t},t.prototype.getText=function(e){return e.textContent},t.prototype.setText=function(e,t){e.textContent=t},t.prototype.getValue=function(e){return e.value},t.prototype.setValue=function(e,t){e.value=t},t.prototype.getChecked=function(e){return e.checked},t.prototype.setChecked=function(e,t){e.checked=t},t.prototype.createComment=function(e){return this.getDefaultDocument().createComment(e)},t.prototype.createTemplate=function(e){var t=this.getDefaultDocument().createElement("template");return t.innerHTML=e,t},t.prototype.createElement=function(e,t){return(t=t||this.getDefaultDocument()).createElement(e)},t.prototype.createElementNS=function(e,t,r){return(r=r||this.getDefaultDocument()).createElementNS(e,t)},t.prototype.createTextNode=function(e,t){return(t=t||this.getDefaultDocument()).createTextNode(e)},t.prototype.createScriptTag=function(e,t,r){var n=(r=r||this.getDefaultDocument()).createElement("SCRIPT");return n.setAttribute(e,t),n},t.prototype.createStyleElement=function(e,t){var r=(t=t||this.getDefaultDocument()).createElement("style");return this.appendChild(r,this.createTextNode(e,t)),r},t.prototype.createShadowRoot=function(e){return e.createShadowRoot()},t.prototype.getShadowRoot=function(e){return e.shadowRoot},t.prototype.getHost=function(e){return e.host},t.prototype.clone=function(e){return e.cloneNode(!0)},t.prototype.getElementsByClassName=function(e,t){return e.getElementsByClassName(t)},t.prototype.getElementsByTagName=function(e,t){return e.getElementsByTagName(t)},t.prototype.classList=function(e){return Array.prototype.slice.call(e.classList,0)},t.prototype.addClass=function(e,t){e.classList.add(t)},t.prototype.removeClass=function(e,t){e.classList.remove(t)},t.prototype.hasClass=function(e,t){return e.classList.contains(t)},t.prototype.setStyle=function(e,t,r){e.style[t]=r},t.prototype.removeStyle=function(e,t){e.style[t]=""},t.prototype.getStyle=function(e,t){return e.style[t]},t.prototype.hasStyle=function(e,t,r){var n=this.getStyle(e,t)||"";return r?n==r:n.length>0},t.prototype.tagName=function(e){return e.tagName},t.prototype.attributeMap=function(e){for(var t=new Map,r=e.attributes,n=0;n<r.length;n++){var o=r.item(n);t.set(o.name,o.value)}return t},t.prototype.hasAttribute=function(e,t){return e.hasAttribute(t)},t.prototype.hasAttributeNS=function(e,t,r){return e.hasAttributeNS(t,r)},t.prototype.getAttribute=function(e,t){return e.getAttribute(t)},t.prototype.getAttributeNS=function(e,t,r){return e.getAttributeNS(t,r)},t.prototype.setAttribute=function(e,t,r){e.setAttribute(t,r)},t.prototype.setAttributeNS=function(e,t,r,n){e.setAttributeNS(t,r,n)},t.prototype.removeAttribute=function(e,t){e.removeAttribute(t)},t.prototype.removeAttributeNS=function(e,t,r){e.removeAttributeNS(t,r)},t.prototype.templateAwareRoot=function(e){return this.isTemplateElement(e)?this.content(e):e},t.prototype.createHtmlDocument=function(){return document.implementation.createHTMLDocument("fakeTitle")},t.prototype.getDefaultDocument=function(){return document},t.prototype.getBoundingClientRect=function(e){try{return e.getBoundingClientRect()}catch(e){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}},t.prototype.getTitle=function(e){return e.title},t.prototype.setTitle=function(e,t){e.title=t||""},t.prototype.elementMatches=function(e,t){return!!this.isElementNode(e)&&(e.matches&&e.matches(t)||e.msMatchesSelector&&e.msMatchesSelector(t)||e.webkitMatchesSelector&&e.webkitMatchesSelector(t))},t.prototype.isTemplateElement=function(e){return this.isElementNode(e)&&"TEMPLATE"===e.nodeName},t.prototype.isTextNode=function(e){return e.nodeType===Node.TEXT_NODE},t.prototype.isCommentNode=function(e){return e.nodeType===Node.COMMENT_NODE},t.prototype.isElementNode=function(e){return e.nodeType===Node.ELEMENT_NODE},t.prototype.hasShadowRoot=function(e){return null!=e.shadowRoot&&e instanceof HTMLElement},t.prototype.isShadowRoot=function(e){return e instanceof DocumentFragment},t.prototype.importIntoDoc=function(e){return document.importNode(this.templateAwareRoot(e),!0)},t.prototype.adoptNode=function(e){return document.adoptNode(e)},t.prototype.getHref=function(e){return e.getAttribute("href")},t.prototype.getEventKey=function(e){var t=e.key;if(null==t){if(null==(t=e.keyIdentifier))return"Unidentified";t.startsWith("U+")&&(t=String.fromCharCode(parseInt(t.substring(2),16)),3===e.location&&U.hasOwnProperty(t)&&(t=U[t]))}return S[t]||t},t.prototype.getGlobalEventTarget=function(e,t){return"window"===t?window:"document"===t?e:"body"===t?e.body:null},t.prototype.getHistory=function(){return window.history},t.prototype.getLocation=function(){return window.location},t.prototype.getBaseHref=function(e){var t,r=I||(I=document.querySelector("base"))?I.getAttribute("href"):null;return null==r?null:(t=r,k||(k=document.createElement("a")),k.setAttribute("href",t),"/"===k.pathname.charAt(0)?k.pathname:"/"+k.pathname)},t.prototype.resetBaseElement=function(){I=null},t.prototype.getUserAgent=function(){return window.navigator.userAgent},t.prototype.setData=function(e,t,r){this.setAttribute(e,"data-"+t,r)},t.prototype.getData=function(e,t){return this.getAttribute(e,"data-"+t)},t.prototype.getComputedStyle=function(e){return getComputedStyle(e)},t.prototype.supportsWebAnimation=function(){return"function"==typeof Element.prototype.animate},t.prototype.performanceNow=function(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()},t.prototype.supportsCookies=function(){return!0},t.prototype.getCookie=function(e){return function(e,t){t=encodeURIComponent(t);for(var r=0,n=e.split(";");r<n.length;r++){var o=n[r],s=o.indexOf("="),i=-1==s?[o,""]:[o.slice(0,s),o.slice(s+1)],a=i[1];if(i[0].trim()===t)return decodeURIComponent(a)}return null}(document.cookie,e)},t.prototype.setCookie=function(e,t){document.cookie=encodeURIComponent(e)+"="+encodeURIComponent(t)},t}(function(e){function t(){var t=e.call(this)||this;t._animationPrefix=null,t._transitionEnd=null;try{var r=t.createElement("div",document);if(null!=t.getStyle(r,"animationName"))t._animationPrefix="";else for(var n=["Webkit","Moz","O","ms"],o=0;o<n.length;o++)if(null!=t.getStyle(r,n[o]+"AnimationName")){t._animationPrefix="-"+n[o].toLowerCase()+"-";break}var s={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};Object.keys(s).forEach(function(e){null!=t.getStyle(r,e)&&(t._transitionEnd=s[e])})}catch(e){t._animationPrefix=null,t._transitionEnd=null}return t}return Object(a.b)(t,e),t.prototype.getDistributedNodes=function(e){return e.getDistributedNodes()},t.prototype.resolveAndSetHref=function(e,t,r){e.href=null==r?t:t+"/../"+r},t.prototype.supportsDOMEvents=function(){return!0},t.prototype.supportsNativeShadowDOM=function(){return"function"==typeof document.body.createShadowRoot},t.prototype.getAnimationPrefix=function(){return this._animationPrefix?this._animationPrefix:""},t.prototype.getTransitionEnd=function(){return this._transitionEnd?this._transitionEnd:""},t.prototype.supportsAnimation=function(){return null!=this._animationPrefix&&null!=this._transitionEnd},t}(function(){function e(){this.resourceLoaderType=null}return Object.defineProperty(e.prototype,"attrToPropMap",{get:function(){return this._attrToPropMap},set:function(e){this._attrToPropMap=e},enumerable:!0,configurable:!0}),e}())),I=null,C=w;function T(){return!!window.history.pushState}var M=function(e){function t(t){var r=e.call(this)||this;return r._doc=t,r._init(),r}return Object(a.b)(t,e),t.prototype._init=function(){this.location=E().getLocation(),this._history=E().getHistory()},t.prototype.getBaseHrefFromDOM=function(){return E().getBaseHref(this._doc)},t.prototype.onPopState=function(e){E().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",e,!1)},t.prototype.onHashChange=function(e){E().getGlobalEventTarget(this._doc,"window").addEventListener("hashchange",e,!1)},Object.defineProperty(t.prototype,"pathname",{get:function(){return this.location.pathname},set:function(e){this.location.pathname=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"search",{get:function(){return this.location.search},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"hash",{get:function(){return this.location.hash},enumerable:!0,configurable:!0}),t.prototype.pushState=function(e,t,r){T()?this._history.pushState(e,t,r):this.location.hash=r},t.prototype.replaceState=function(e,t,r){T()?this._history.replaceState(e,t,r):this.location.hash=r},t.prototype.forward=function(){this._history.forward()},t.prototype.back=function(){this._history.back()},t.ctorParameters=function(){return[{type:void 0,decorators:[{type:n.k,args:[C]}]}]},t}(u),O=function(){function e(e){this._doc=e,this._dom=E()}return e.prototype.addTag=function(e,t){return void 0===t&&(t=!1),e?this._getOrCreateElement(e,t):null},e.prototype.addTags=function(e,t){var r=this;return void 0===t&&(t=!1),e?e.reduce(function(e,n){return n&&e.push(r._getOrCreateElement(n,t)),e},[]):[]},e.prototype.getTag=function(e){return e&&this._dom.querySelector(this._doc,"meta["+e+"]")||null},e.prototype.getTags=function(e){if(!e)return[];var t=this._dom.querySelectorAll(this._doc,"meta["+e+"]");return t?[].slice.call(t):[]},e.prototype.updateTag=function(e,t){if(!e)return null;t=t||this._parseSelector(e);var r=this.getTag(t);return r?this._setMetaElementAttributes(e,r):this._getOrCreateElement(e,!0)},e.prototype.removeTag=function(e){this.removeTagElement(this.getTag(e))},e.prototype.removeTagElement=function(e){e&&this._dom.remove(e)},e.prototype._getOrCreateElement=function(e,t){if(void 0===t&&(t=!1),!t){var r=this._parseSelector(e),n=this.getTag(r);if(n&&this._containsAttributes(e,n))return n}var o=this._dom.createElement("meta");this._setMetaElementAttributes(e,o);var s=this._dom.getElementsByTagName(this._doc,"head")[0];return this._dom.appendChild(s,o),o},e.prototype._setMetaElementAttributes=function(e,t){var r=this;return Object.keys(e).forEach(function(n){return r._dom.setAttribute(t,n,e[n])}),t},e.prototype._parseSelector=function(e){var t=e.name?"name":"property";return t+'="'+e[t]+'"'},e.prototype._containsAttributes=function(e,t){var r=this;return Object.keys(e).every(function(n){return r._dom.getAttribute(t,n)===e[n]})},e}(),P=new n.l("TRANSITION_ID"),N=[{provide:n.b,useFactory:function(e,t,r){return function(){r.get(n.c).donePromise.then(function(){var r=E();Array.prototype.slice.apply(r.querySelectorAll(t,"style[ng-transition]")).filter(function(t){return r.getAttribute(t,"ng-transition")===e}).forEach(function(e){return r.remove(e)})})}},deps:[P,C,n.m],multi:!0}],R=function(){function e(){}return e.init=function(){Object(n.O)(new e)},e.prototype.addToWindow=function(e){n.X.getAngularTestability=function(t,r){void 0===r&&(r=!0);var n=e.findTestabilityInTree(t,r);if(null==n)throw new Error("Could not find testability for element.");return n},n.X.getAllAngularTestabilities=function(){return e.getAllTestabilities()},n.X.getAllAngularRootElements=function(){return e.getAllRootElements()},n.X.frameworkStabilizers||(n.X.frameworkStabilizers=[]),n.X.frameworkStabilizers.push(function(e){var t=n.X.getAllAngularTestabilities(),r=t.length,o=!1,s=function(t){o=o||t,0==--r&&e(o)};t.forEach(function(e){e.whenStable(s)})})},e.prototype.findTestabilityInTree=function(e,t,r){if(null==t)return null;var n=e.getTestability(t);return null!=n?n:r?E().isShadowRoot(t)?this.findTestabilityInTree(e,E().getHost(t),!0):this.findTestabilityInTree(e,E().parentElement(t),!0):null},e}(),L=function(){function e(e){this._doc=e}return e.prototype.getTitle=function(){return E().getTitle(this._doc)},e.prototype.setTitle=function(e){E().setTitle(this._doc,e)},e}();function B(e,t){"undefined"!=typeof COMPILED&&COMPILED||((n.X.ng=n.X.ng||{})[e]=t)}var V={ApplicationRef:n.e,NgZone:n.s};function F(e){return Object(n.L)(e)}var z=new n.l("EventManagerPlugins"),q=function(){function e(e,t){var r=this;this._zone=t,this._eventNameToPlugin=new Map,e.forEach(function(e){return e.manager=r}),this._plugins=e.slice().reverse()}return e.prototype.addEventListener=function(e,t,r){return this._findPluginFor(t).addEventListener(e,t,r)},e.prototype.addGlobalEventListener=function(e,t,r){return this._findPluginFor(t).addGlobalEventListener(e,t,r)},e.prototype.getZone=function(){return this._zone},e.prototype._findPluginFor=function(e){var t=this._eventNameToPlugin.get(e);if(t)return t;for(var r=this._plugins,n=0;n<r.length;n++){var o=r[n];if(o.supports(e))return this._eventNameToPlugin.set(e,o),o}throw new Error("No event manager plugin found for event "+e)},e}(),H=function(){function e(e){this._doc=e}return e.prototype.addGlobalEventListener=function(e,t,r){var n=E().getGlobalEventTarget(this._doc,e);if(!n)throw new Error("Unsupported event target "+n+" for event "+t);return this.addEventListener(n,t,r)},e}(),K=function(){function e(){this._stylesSet=new Set}return e.prototype.addStyles=function(e){var t=this,r=new Set;e.forEach(function(e){t._stylesSet.has(e)||(t._stylesSet.add(e),r.add(e))}),this.onStylesAdded(r)},e.prototype.onStylesAdded=function(e){},e.prototype.getAllStyles=function(){return Array.from(this._stylesSet)},e}(),G=function(e){function t(t){var r=e.call(this)||this;return r._doc=t,r._hostNodes=new Set,r._styleNodes=new Set,r._hostNodes.add(t.head),r}return Object(a.b)(t,e),t.prototype._addStylesToHost=function(e,t){var r=this;e.forEach(function(e){var n=r._doc.createElement("style");n.textContent=e,r._styleNodes.add(t.appendChild(n))})},t.prototype.addHost=function(e){this._addStylesToHost(this._stylesSet,e),this._hostNodes.add(e)},t.prototype.removeHost=function(e){this._hostNodes.delete(e)},t.prototype.onStylesAdded=function(e){var t=this;this._hostNodes.forEach(function(r){return t._addStylesToHost(e,r)})},t.prototype.ngOnDestroy=function(){this._styleNodes.forEach(function(e){return E().remove(e)})},t}(K),Y={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},W=/%COMP%/g,Z="_nghost-%COMP%",X="_ngcontent-%COMP%";function J(e,t,r){for(var n=0;n<t.length;n++){var o=t[n];Array.isArray(o)?J(e,o,r):(o=o.replace(W,e),r.push(o))}return r}function Q(e){return function(t){!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}var $=function(){function e(e,t){this.eventManager=e,this.sharedStylesHost=t,this.rendererByCompId=new Map,this.defaultRenderer=new ee(e)}return e.prototype.createRenderer=function(e,t){if(!e||!t)return this.defaultRenderer;switch(t.encapsulation){case n.G.Emulated:var r=this.rendererByCompId.get(t.id);return r||(r=new oe(this.eventManager,this.sharedStylesHost,t),this.rendererByCompId.set(t.id,r)),r.applyToHost(e),r;case n.G.Native:return new se(this.eventManager,this.sharedStylesHost,e,t);default:if(!this.rendererByCompId.has(t.id)){var o=J(t.id,t.styles,[]);this.sharedStylesHost.addStyles(o),this.rendererByCompId.set(t.id,this.defaultRenderer)}return this.defaultRenderer}},e.prototype.begin=function(){},e.prototype.end=function(){},e}(),ee=function(){function e(e){this.eventManager=e,this.data=Object.create(null)}return e.prototype.destroy=function(){},e.prototype.createElement=function(e,t){return t?document.createElementNS(Y[t],e):document.createElement(e)},e.prototype.createComment=function(e){return document.createComment(e)},e.prototype.createText=function(e){return document.createTextNode(e)},e.prototype.appendChild=function(e,t){e.appendChild(t)},e.prototype.insertBefore=function(e,t,r){e&&e.insertBefore(t,r)},e.prototype.removeChild=function(e,t){e&&e.removeChild(t)},e.prototype.selectRootElement=function(e){var t="string"==typeof e?document.querySelector(e):e;if(!t)throw new Error('The selector "'+e+'" did not match any elements');return t.textContent="",t},e.prototype.parentNode=function(e){return e.parentNode},e.prototype.nextSibling=function(e){return e.nextSibling},e.prototype.setAttribute=function(e,t,r,n){if(n){t=n+":"+t;var o=Y[n];o?e.setAttributeNS(o,t,r):e.setAttribute(t,r)}else e.setAttribute(t,r)},e.prototype.removeAttribute=function(e,t,r){if(r){var n=Y[r];n?e.removeAttributeNS(n,t):e.removeAttribute(r+":"+t)}else e.removeAttribute(t)},e.prototype.addClass=function(e,t){e.classList.add(t)},e.prototype.removeClass=function(e,t){e.classList.remove(t)},e.prototype.setStyle=function(e,t,r,o){o&n.y.DashCase?e.style.setProperty(t,r,o&n.y.Important?"important":""):e.style[t]=r},e.prototype.removeStyle=function(e,t,r){r&n.y.DashCase?e.style.removeProperty(t):e.style[t]=""},e.prototype.setProperty=function(e,t,r){re(t,"property"),e[t]=r},e.prototype.setValue=function(e,t){e.nodeValue=t},e.prototype.listen=function(e,t,r){return re(t,"listener"),"string"==typeof e?this.eventManager.addGlobalEventListener(e,t,Q(r)):this.eventManager.addEventListener(e,t,Q(r))},e}(),te="@".charCodeAt(0);function re(e,t){if(e.charCodeAt(0)===te)throw new Error("Found the synthetic "+t+" "+e+'. Please include either "BrowserAnimationsModule" or "NoopAnimationsModule" in your application.')}var ne,oe=function(e){function t(t,r,n){var o=e.call(this,t)||this;o.component=n;var s=J(n.id,n.styles,[]);return r.addStyles(s),o.contentAttr=X.replace(W,n.id),o.hostAttr=Z.replace(W,n.id),o}return Object(a.b)(t,e),t.prototype.applyToHost=function(t){e.prototype.setAttribute.call(this,t,this.hostAttr,"")},t.prototype.createElement=function(t,r){var n=e.prototype.createElement.call(this,t,r);return e.prototype.setAttribute.call(this,n,this.contentAttr,""),n},t}(ee),se=function(e){function t(t,r,n,o){var s=e.call(this,t)||this;s.sharedStylesHost=r,s.hostEl=n,s.component=o,s.shadowRoot=n.createShadowRoot(),s.sharedStylesHost.addHost(s.shadowRoot);for(var i=J(o.id,o.styles,[]),a=0;a<i.length;a++){var u=document.createElement("style");u.textContent=i[a],s.shadowRoot.appendChild(u)}return s}return Object(a.b)(t,e),t.prototype.nodeOrShadowRoot=function(e){return e===this.hostEl?this.shadowRoot:e},t.prototype.destroy=function(){this.sharedStylesHost.removeHost(this.shadowRoot)},t.prototype.appendChild=function(t,r){return e.prototype.appendChild.call(this,this.nodeOrShadowRoot(t),r)},t.prototype.insertBefore=function(t,r,n){return e.prototype.insertBefore.call(this,this.nodeOrShadowRoot(t),r,n)},t.prototype.removeChild=function(t,r){return e.prototype.removeChild.call(this,this.nodeOrShadowRoot(t),r)},t.prototype.parentNode=function(t){return this.nodeOrShadowRoot(e.prototype.parentNode.call(this,this.nodeOrShadowRoot(t)))},t}(ee),ie="undefined"!=typeof Zone&&Zone.__symbol__||function(e){return"__zone_symbol__"+e},ae=ie("addEventListener"),ue=ie("removeEventListener"),de={},le="__zone_symbol__propagationStopped";"undefined"!=typeof Zone&&Zone[ie("BLACK_LISTED_EVENTS")]&&(ne={});var ce=function(e){return!!ne&&ne.hasOwnProperty(e)},fe=function(e){var t=de[e.type];if(t){var r=this[t];if(r){var n=[e];if(1===r.length)return(i=r[0]).zone!==Zone.current?i.zone.run(i.handler,this,n):i.handler.apply(this,n);for(var o=r.slice(),s=0;s<o.length&&!0!==e[le];s++){var i;(i=o[s]).zone!==Zone.current?i.zone.run(i.handler,this,n):i.handler.apply(this,n)}}}},he=function(e){function t(t,r){var n=e.call(this,t)||this;return n.ngZone=r,n.patchEvent(),n}return Object(a.b)(t,e),t.prototype.patchEvent=function(){if(Event&&Event.prototype&&!Event.prototype.__zone_symbol__stopImmediatePropagation){var e=Event.prototype.__zone_symbol__stopImmediatePropagation=Event.prototype.stopImmediatePropagation;Event.prototype.stopImmediatePropagation=function(){this&&(this[le]=!0),e&&e.apply(this,arguments)}}},t.prototype.supports=function(e){return!0},t.prototype.addEventListener=function(e,t,r){var o=this,s=r;if(!e[ae]||n.s.isInAngularZone()&&!ce(t))e.addEventListener(t,s,!1);else{var i=de[t];i||(i=de[t]=ie("ANGULAR"+t+"FALSE"));var a=e[i],u=a&&a.length>0;a||(a=e[i]=[]);var d=ce(t)?Zone.root:Zone.current;if(0===a.length)a.push({zone:d,handler:s});else{for(var l=!1,c=0;c<a.length;c++)if(a[c].handler===s){l=!0;break}l||a.push({zone:d,handler:s})}u||e[ae](t,fe,!1)}return function(){return o.removeEventListener(e,t,s)}},t.prototype.removeEventListener=function(e,t,r){var n=e[ue];if(!n)return e.removeEventListener.apply(e,[t,r,!1]);var o=de[t],s=o&&e[o];if(!s)return e.removeEventListener.apply(e,[t,r,!1]);for(var i=!1,a=0;a<s.length;a++)if(s[a].handler===r){i=!0,s.splice(a,1);break}i?0===s.length&&n.apply(e,[t,fe,!1]):e.removeEventListener.apply(e,[t,r,!1])},t}(H),pe={pan:!0,panstart:!0,panmove:!0,panend:!0,pancancel:!0,panleft:!0,panright:!0,panup:!0,pandown:!0,pinch:!0,pinchstart:!0,pinchmove:!0,pinchend:!0,pinchcancel:!0,pinchin:!0,pinchout:!0,press:!0,pressup:!0,rotate:!0,rotatestart:!0,rotatemove:!0,rotateend:!0,rotatecancel:!0,swipe:!0,swipeleft:!0,swiperight:!0,swipeup:!0,swipedown:!0,tap:!0},me=new n.l("HammerGestureConfig"),be=function(){function e(){this.events=[],this.overrides={}}return e.prototype.buildHammer=function(e){var t=new Hammer(e);for(var r in t.get("pinch").set({enable:!0}),t.get("rotate").set({enable:!0}),this.overrides)t.get(r).set(this.overrides[r]);return t},e}(),ge=function(e){function t(t,r){var n=e.call(this,t)||this;return n._config=r,n}return Object(a.b)(t,e),t.prototype.supports=function(e){if(!pe.hasOwnProperty(e.toLowerCase())&&!this.isCustomEvent(e))return!1;if(!window.Hammer)throw new Error("Hammer.js is not loaded, can not bind "+e+" event");return!0},t.prototype.addEventListener=function(e,t,r){var n=this,o=this.manager.getZone();return t=t.toLowerCase(),o.runOutsideAngular(function(){var s=n._config.buildHammer(e),i=function(e){o.runGuarded(function(){r(e)})};return s.on(t,i),function(){return s.off(t,i)}})},t.prototype.isCustomEvent=function(e){return this._config.events.indexOf(e)>-1},t}(H),ve=["alt","control","meta","shift"],_e={alt:function(e){return e.altKey},control:function(e){return e.ctrlKey},meta:function(e){return e.metaKey},shift:function(e){return e.shiftKey}},ye=function(e){function t(t){return e.call(this,t)||this}return Object(a.b)(t,e),t.prototype.supports=function(e){return null!=t.parseEventName(e)},t.prototype.addEventListener=function(e,r,n){var o=t.parseEventName(r),s=t.eventCallback(o.fullKey,n,this.manager.getZone());return this.manager.getZone().runOutsideAngular(function(){return E().onAndCancel(e,o.domEventName,s)})},t.parseEventName=function(e){var r=e.toLowerCase().split("."),n=r.shift();if(0===r.length||"keydown"!==n&&"keyup"!==n)return null;var o=t._normalizeKey(r.pop()),s="";if(ve.forEach(function(e){var t=r.indexOf(e);t>-1&&(r.splice(t,1),s+=e+".")}),s+=o,0!=r.length||0===o.length)return null;var i={};return i.domEventName=n,i.fullKey=s,i},t.getEventFullKey=function(e){var t="",r=E().getEventKey(e);return" "===(r=r.toLowerCase())?r="space":"."===r&&(r="dot"),ve.forEach(function(n){n!=r&&(0,_e[n])(e)&&(t+=n+".")}),t+=r},t.eventCallback=function(e,r,n){return function(o){t.getEventFullKey(o)===e&&n.runGuarded(function(){return r(o)})}},t._normalizeKey=function(e){switch(e){case"esc":return"escape";default:return e}},t}(H),we=function(){function e(e,t){this.defaultDoc=e,this.DOM=t;var r=this.DOM.createHtmlDocument();if(this.inertBodyElement=r.body,null==this.inertBodyElement){var n=this.DOM.createElement("html",r);this.inertBodyElement=this.DOM.createElement("body",r),this.DOM.appendChild(n,this.inertBodyElement),this.DOM.appendChild(r,n)}this.DOM.setInnerHTML(this.inertBodyElement,'<svg><g onload="this.parentNode.remove()"></g></svg>'),!this.inertBodyElement.querySelector||this.inertBodyElement.querySelector("svg")?(this.DOM.setInnerHTML(this.inertBodyElement,'<svg><p><style><img src="</style><img src=x onerror=alert(1)//">'),this.getInertBodyElement=this.inertBodyElement.querySelector&&this.inertBodyElement.querySelector("svg img")&&function(){try{return!!window.DOMParser}catch(e){return!1}}()?this.getInertBodyElement_DOMParser:this.getInertBodyElement_InertDocument):this.getInertBodyElement=this.getInertBodyElement_XHR}return e.prototype.getInertBodyElement_XHR=function(e){e="<body><remove></remove>"+e+"</body>";try{e=encodeURI(e)}catch(e){return null}var t=new XMLHttpRequest;t.responseType="document",t.open("GET","data:text/html;charset=utf-8,"+e,!1),t.send(null);var r=t.response.body;return r.removeChild(r.firstChild),r},e.prototype.getInertBodyElement_DOMParser=function(e){e="<body><remove></remove>"+e+"</body>";try{var t=(new window.DOMParser).parseFromString(e,"text/html").body;return t.removeChild(t.firstChild),t}catch(e){return null}},e.prototype.getInertBodyElement_InertDocument=function(e){var t=this.DOM.createElement("template");return"content"in t?(this.DOM.setInnerHTML(t,e),t):(this.DOM.setInnerHTML(this.inertBodyElement,e),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(this.inertBodyElement),this.inertBodyElement)},e.prototype.stripCustomNsAttrs=function(e){var t=this;this.DOM.attributeMap(e).forEach(function(r,n){"xmlns:ns1"!==n&&0!==n.indexOf("ns1:")||t.DOM.removeAttribute(e,n)});for(var r=0,n=this.DOM.childNodesAsList(e);r<n.length;r++){var o=n[r];this.DOM.isElementNode(o)&&this.stripCustomNsAttrs(o)}},e}(),je=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,Ee=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;function De(e){return(e=String(e)).match(je)||e.match(Ee)?e:(Object(n.M)()&&E().log("WARNING: sanitizing unsafe URL value "+e+" (see http://g.co/ng/security#xss)"),"unsafe:"+e)}function xe(e){for(var t={},r=0,n=e.split(",");r<n.length;r++)t[n[r]]=!0;return t}function Se(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r={},n=0,o=e;n<o.length;n++){var s=o[n];for(var i in s)s.hasOwnProperty(i)&&(r[i]=!0)}return r}var Ue,ke=xe("area,br,col,hr,img,wbr"),Ae=xe("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Ie=xe("rp,rt"),Ce=Se(Ie,Ae),Te=Se(ke,Se(Ae,xe("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),Se(Ie,xe("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),Ce),Me=xe("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Oe=xe("srcset"),Pe=Se(Me,Oe,xe("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width")),Ne=function(){function e(){this.sanitizedSomething=!1,this.buf=[],this.DOM=E()}return e.prototype.sanitizeChildren=function(e){for(var t=this.DOM.firstChild(e);t;)if(this.DOM.isElementNode(t)?this.startElement(t):this.DOM.isTextNode(t)?this.chars(this.DOM.nodeValue(t)):this.sanitizedSomething=!0,this.DOM.firstChild(t))t=this.DOM.firstChild(t);else for(;t;){this.DOM.isElementNode(t)&&this.endElement(t);var r=this.checkClobberedElement(t,this.DOM.nextSibling(t));if(r){t=r;break}t=this.checkClobberedElement(t,this.DOM.parentElement(t))}return this.buf.join("")},e.prototype.startElement=function(e){var t=this,r=this.DOM.nodeName(e).toLowerCase();Te.hasOwnProperty(r)?(this.buf.push("<"),this.buf.push(r),this.DOM.attributeMap(e).forEach(function(e,r){var n,o=r.toLowerCase();Pe.hasOwnProperty(o)?(Me[o]&&(e=De(e)),Oe[o]&&(n=e,e=(n=String(n)).split(",").map(function(e){return De(e.trim())}).join(", ")),t.buf.push(" "),t.buf.push(r),t.buf.push('="'),t.buf.push(Be(e)),t.buf.push('"')):t.sanitizedSomething=!0}),this.buf.push(">")):this.sanitizedSomething=!0},e.prototype.endElement=function(e){var t=this.DOM.nodeName(e).toLowerCase();Te.hasOwnProperty(t)&&!ke.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))},e.prototype.chars=function(e){this.buf.push(Be(e))},e.prototype.checkClobberedElement=function(e,t){if(t&&this.DOM.contains(e,t))throw new Error("Failed to sanitize html because the element is clobbered: "+this.DOM.getOuterHTML(e));return t},e}(),Re=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Le=/([^\#-~ |!])/g;function Be(e){return e.replace(/&/g,"&amp;").replace(Re,function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"}).replace(Le,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}var Ve=new RegExp("^([-,.\"'%_!# a-zA-Z0-9]+|(?:(?:matrix|translate|scale|rotate|skew|perspective)(?:X|Y|3d)?|(?:rgb|hsl)a?|(?:repeating-)?(?:linear|radial)-gradient|(?:calc|attr))\\([-0-9.%, #a-zA-Z]+\\))$","g"),Fe=/^url\(([^)]+)\)$/,ze=function(){},qe=function(e){function t(t){var r=e.call(this)||this;return r._doc=t,r}return Object(a.b)(t,e),t.prototype.sanitize=function(e,t){if(null==t)return null;switch(e){case n.A.NONE:return t;case n.A.HTML:return t instanceof Ke?t.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(t,"HTML"),function(e,t){var r=E(),o=null;try{Ue=Ue||new we(e,r);var s=t?String(t):"";o=Ue.getInertBodyElement(s);var i=5,a=s;do{if(0===i)throw new Error("Failed to sanitize html because the input is unstable");i--,s=a,a=r.getInnerHTML(o),o=Ue.getInertBodyElement(s)}while(s!==a);var u=new Ne,d=u.sanitizeChildren(r.getTemplateContent(o)||o);return Object(n.M)()&&u.sanitizedSomething&&r.log("WARNING: sanitizing HTML stripped some content (see http://g.co/ng/security#xss)."),d}finally{if(o)for(var l=r.getTemplateContent(o)||o,c=0,f=r.childNodesAsList(l);c<f.length;c++)r.removeChild(l,f[c])}}(this._doc,String(t)));case n.A.STYLE:return t instanceof Ge?t.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(t,"Style"),function(e){if(!(e=String(e).trim()))return"";var t=e.match(Fe);return t&&De(t[1])===t[1]||e.match(Ve)&&function(e){for(var t=!0,r=!0,n=0;n<e.length;n++){var o=e.charAt(n);"'"===o&&r?t=!t:'"'===o&&t&&(r=!r)}return t&&r}(e)?e:(Object(n.M)()&&E().log("WARNING: sanitizing unsafe style value "+e+" (see http://g.co/ng/security#xss)."),"unsafe")}(t));case n.A.SCRIPT:if(t instanceof Ye)return t.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(t,"Script"),new Error("unsafe value used in a script context");case n.A.URL:return t instanceof Ze||t instanceof We?t.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(t,"URL"),De(String(t)));case n.A.RESOURCE_URL:if(t instanceof Ze)return t.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(t,"ResourceURL"),new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)");default:throw new Error("Unexpected SecurityContext "+e+" (see http://g.co/ng/security#xss)")}},t.prototype.checkNotSafeValue=function(e,t){if(e instanceof He)throw new Error("Required a safe "+t+", got a "+e.getTypeName()+" (see http://g.co/ng/security#xss)")},t.prototype.bypassSecurityTrustHtml=function(e){return new Ke(e)},t.prototype.bypassSecurityTrustStyle=function(e){return new Ge(e)},t.prototype.bypassSecurityTrustScript=function(e){return new Ye(e)},t.prototype.bypassSecurityTrustUrl=function(e){return new We(e)},t.prototype.bypassSecurityTrustResourceUrl=function(e){return new Ze(e)},t}(ze),He=function(){function e(e){this.changingThisBreaksApplicationSecurity=e}return e.prototype.toString=function(){return"SafeValue must use [property]=binding: "+this.changingThisBreaksApplicationSecurity+" (see http://g.co/ng/security#xss)"},e}(),Ke=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(a.b)(t,e),t.prototype.getTypeName=function(){return"HTML"},t}(He),Ge=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(a.b)(t,e),t.prototype.getTypeName=function(){return"Style"},t}(He),Ye=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(a.b)(t,e),t.prototype.getTypeName=function(){return"Script"},t}(He),We=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(a.b)(t,e),t.prototype.getTypeName=function(){return"URL"},t}(He),Ze=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(a.b)(t,e),t.prototype.getTypeName=function(){return"ResourceURL"},t}(He),Xe=[{provide:n.u,useValue:"browser"},{provide:n.v,useValue:function(){A.makeCurrent(),R.init()},multi:!0},{provide:u,useClass:M,deps:[C]},{provide:C,useFactory:function(){return document},deps:[]}],Je=Object(n.I)(n.N,"browser",Xe);function Qe(){return new n.i}var $e=function(){function e(e){if(e)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}return e.withServerTransition=function(t){return{ngModule:e,providers:[{provide:n.a,useValue:t.appId},{provide:P,useExisting:n.a},N]}},e}();"undefined"!=typeof window&&window;var et=new n.l("WindowToken");function tt(){return window}var rt=function(){},nt=function(){function e(e,t){this.document=e,this.window=t}return Object.defineProperty(e.prototype,"isSupported",{get:function(){return!!this.document.queryCommandSupported&&!!this.document.queryCommandSupported("copy")},enumerable:!0,configurable:!0}),e.prototype.isTargetValid=function(e){if(e instanceof HTMLInputElement||e instanceof HTMLTextAreaElement){if(e.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');return!0}throw new Error("Target should be input or textarea")},e.prototype.copyFromInputElement=function(e){try{this.selectTarget(e);var t=this.copyText();return this.clearSelection(e,this.window),t}catch(e){return!1}},e.prototype.copyFromContent=function(e){return this.tempTextArea||(this.tempTextArea=this.createTempTextArea(this.document,this.window),this.document.body.appendChild(this.tempTextArea)),this.tempTextArea.value=e,this.copyFromInputElement(this.tempTextArea)},e.prototype.destroy=function(){this.tempTextArea&&(this.document.body.removeChild(this.tempTextArea),this.tempTextArea=void 0)},e.prototype.selectTarget=function(e){return e.select(),e.setSelectionRange(0,e.value.length),e.value.length},e.prototype.copyText=function(){return this.document.execCommand("copy")},e.prototype.clearSelection=function(e,t){e&&e.blur(),t.getSelection().removeAllRanges()},e.prototype.createTempTextArea=function(e,t){var r,n="rtl"===e.documentElement.getAttribute("dir");return(r=e.createElement("textarea")).style.fontSize="12pt",r.style.border="0",r.style.padding="0",r.style.margin="0",r.style.position="absolute",r.style[n?"right":"left"]="-9999px",r.style.top=(t.pageYOffset||e.documentElement.scrollTop)+"px",r.setAttribute("readonly",""),r},e}();function ot(e,t,r){return r||new nt(e,t)}new n.t,new n.B;var st=function(){function e(e){this.clipboardSrv=e,this.cbOnSuccess=new n.j,this.cbOnError=new n.j}return e.prototype.ngOnInit=function(){},e.prototype.ngOnDestroy=function(){this.clipboardSrv.destroy()},e.prototype.onClick=function(e){this.clipboardSrv.isSupported?this.targetElm&&this.clipboardSrv.isTargetValid(this.targetElm)?this.handleResult(this.clipboardSrv.copyFromInputElement(this.targetElm),this.targetElm.value):this.cbContent&&this.handleResult(this.clipboardSrv.copyFromContent(this.cbContent),this.cbContent):this.handleResult(!1,void 0)},e.prototype.handleResult=function(e,t){e?this.cbOnSuccess.emit({isSuccess:!0,content:t}):this.cbOnError.emit({isSuccess:!1})},e}(),it=r("YaPU"),at=r("+3/4"),ut=r("BX3T"),dt=r("PIsA"),lt=r("tZ2B"),ct=function(e){function t(t,r){e.call(this),this.sources=t,this.resultSelector=r}return Object(a.b)(t,e),t.create=function(){for(var e=[],r=0;r<arguments.length;r++)e[r-0]=arguments[r];if(null===e||0===arguments.length)return new at.a;var n=null;return"function"==typeof e[e.length-1]&&(n=e.pop()),1===e.length&&Object(ut.a)(e[0])&&(e=e[0]),0===e.length?new at.a:new t(e,n)},t.prototype._subscribe=function(e){return new ft(e,this.sources,this.resultSelector)},t}(it.a),ft=function(e){function t(t,r,n){e.call(this,t),this.sources=r,this.resultSelector=n,this.completed=0,this.haveValues=0;var o=r.length;this.total=o,this.values=new Array(o);for(var s=0;s<o;s++){var i=r[s],a=Object(dt.a)(this,i,null,s);a&&(a.outerIndex=s,this.add(a))}}return Object(a.b)(t,e),t.prototype.notifyNext=function(e,t,r,n,o){this.values[r]=t,o._hasValue||(o._hasValue=!0,this.haveValues++)},t.prototype.notifyComplete=function(e){var t=this.destination,r=this.haveValues,n=this.resultSelector,o=this.values,s=o.length;if(e._hasValue){if(this.completed++,this.completed===s){if(r===s){var i=n?n.apply(this,o):o;t.next(i)}t.complete()}}else t.complete()},t}(lt.a),ht=ct.create,pt=r("AMGY");function mt(e){var t=e.subscriber;t.closed||(t.next(e.value),t.complete())}function bt(e){var t=e.subscriber;t.closed||t.error(e.err)}var gt=function(e){function t(t,r){e.call(this),this.promise=t,this.scheduler=r}return Object(a.b)(t,e),t.create=function(e,r){return new t(e,r)},t.prototype._subscribe=function(e){var t=this,r=this.promise,n=this.scheduler;if(null==n)this._isScalar?e.closed||(e.next(this.value),e.complete()):r.then(function(r){t.value=r,t._isScalar=!0,e.closed||(e.next(r),e.complete())},function(t){e.closed||e.error(t)}).then(null,function(e){pt.a.setTimeout(function(){throw e})});else if(this._isScalar){if(!e.closed)return n.schedule(mt,0,{value:this.value,subscriber:e})}else r.then(function(r){t.value=r,t._isScalar=!0,e.closed||e.add(n.schedule(mt,0,{value:r,subscriber:e}))},function(t){e.closed||e.add(n.schedule(bt,0,{err:t,subscriber:e}))}).then(null,function(e){pt.a.setTimeout(function(){throw e})})},t}(it.a).create,vt=r("OVmG"),_t=function(){function e(e,t){this.project=e,this.thisArg=t}return e.prototype.call=function(e,t){return t.subscribe(new yt(e,this.project,this.thisArg))},e}(),yt=function(e){function t(t,r,n){e.call(this,t),this.project=r,this.count=0,this.thisArg=n||this}return Object(a.b)(t,e),t.prototype._next=function(e){var t;try{t=this.project.call(this.thisArg,e,this.count++)}catch(e){return void this.destination.error(e)}this.destination.next(t)},t}(vt.a),wt=function(){function e(){}return Object.defineProperty(e.prototype,"value",{get:function(){return this.control?this.control.value:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"valid",{get:function(){return this.control?this.control.valid:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"invalid",{get:function(){return this.control?this.control.invalid:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pending",{get:function(){return this.control?this.control.pending:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"disabled",{get:function(){return this.control?this.control.disabled:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"enabled",{get:function(){return this.control?this.control.enabled:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"errors",{get:function(){return this.control?this.control.errors:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pristine",{get:function(){return this.control?this.control.pristine:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dirty",{get:function(){return this.control?this.control.dirty:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"touched",{get:function(){return this.control?this.control.touched:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"status",{get:function(){return this.control?this.control.status:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"untouched",{get:function(){return this.control?this.control.untouched:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"statusChanges",{get:function(){return this.control?this.control.statusChanges:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"valueChanges",{get:function(){return this.control?this.control.valueChanges:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return null},enumerable:!0,configurable:!0}),e.prototype.reset=function(e){void 0===e&&(e=void 0),this.control&&this.control.reset(e)},e.prototype.hasError=function(e,t){return!!this.control&&this.control.hasError(e,t)},e.prototype.getError=function(e,t){return this.control?this.control.getError(e,t):null},e}(),jt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(a.b)(t,e),Object.defineProperty(t.prototype,"formDirective",{get:function(){return null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"path",{get:function(){return null},enumerable:!0,configurable:!0}),t}(wt);function Et(e){return null==e||0===e.length}var Dt=/^(?=.{1,254}$)(?=.{1,64}@)[-!#$%&'*+/0-9=?A-Z^_`a-z{|}~]+(\.[-!#$%&'*+/0-9=?A-Z^_`a-z{|}~]+)*@[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?(\.[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?)*$/,xt=function(){function e(){}return e.min=function(e){return function(t){if(Et(t.value)||Et(e))return null;var r=parseFloat(t.value);return!isNaN(r)&&r<e?{min:{min:e,actual:t.value}}:null}},e.max=function(e){return function(t){if(Et(t.value)||Et(e))return null;var r=parseFloat(t.value);return!isNaN(r)&&r>e?{max:{max:e,actual:t.value}}:null}},e.required=function(e){return Et(e.value)?{required:!0}:null},e.requiredTrue=function(e){return!0===e.value?null:{required:!0}},e.email=function(e){return Dt.test(e.value)?null:{email:!0}},e.minLength=function(e){return function(t){if(Et(t.value))return null;var r=t.value?t.value.length:0;return r<e?{minlength:{requiredLength:e,actualLength:r}}:null}},e.maxLength=function(e){return function(t){var r=t.value?t.value.length:0;return r>e?{maxlength:{requiredLength:e,actualLength:r}}:null}},e.pattern=function(t){return t?("string"==typeof t?(n="","^"!==t.charAt(0)&&(n+="^"),n+=t,"$"!==t.charAt(t.length-1)&&(n+="$"),r=new RegExp(n)):(n=t.toString(),r=t),function(e){if(Et(e.value))return null;var t=e.value;return r.test(t)?null:{pattern:{requiredPattern:n,actualValue:t}}}):e.nullValidator;var r,n},e.nullValidator=function(e){return null},e.compose=function(e){if(!e)return null;var t=e.filter(St);return 0==t.length?null:function(e){return kt(function(e,r){return t.map(function(t){return t(e)})}(e))}},e.composeAsync=function(e){if(!e)return null;var t=e.filter(St);return 0==t.length?null:function(e){var r=function(e,r){return t.map(function(t){return t(e)})}(e).map(Ut);return(function(e,t){return function(e,t){return function(r){if("function"!=typeof e)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return r.lift(new _t(e,t))}}(e,t)(this)}).call(ht(r),kt)}},e}();function St(e){return null!=e}function Ut(e){var t=Object(n._2)(e)?gt(e):e;if(!Object(n._1)(t))throw new Error("Expected validator to return Promise or Observable.");return t}function kt(e){var t=e.reduce(function(e,t){return null!=t?Object(a.a)({},e,t):e},{});return 0===Object.keys(t).length?null:t}var At=new n.l("NgValueAccessor"),It=function(){function e(e,t){this._renderer=e,this._elementRef=t,this.onChange=function(e){},this.onTouched=function(){}}return e.prototype.writeValue=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"checked",e)},e.prototype.registerOnChange=function(e){this.onChange=e},e.prototype.registerOnTouched=function(e){this.onTouched=e},e.prototype.setDisabledState=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)},e}(),Ct=new n.l("CompositionEventMode"),Tt=function(){function e(e,t,r){var n;this._renderer=e,this._elementRef=t,this._compositionMode=r,this.onChange=function(e){},this.onTouched=function(){},this._composing=!1,null==this._compositionMode&&(this._compositionMode=(n=E()?E().getUserAgent():"",!/android (\d+)/.test(n.toLowerCase())))}return e.prototype.writeValue=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==e?"":e)},e.prototype.registerOnChange=function(e){this.onChange=e},e.prototype.registerOnTouched=function(e){this.onTouched=e},e.prototype.setDisabledState=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)},e.prototype._handleInput=function(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)},e.prototype._compositionStart=function(){this._composing=!0},e.prototype._compositionEnd=function(e){this._composing=!1,this._compositionMode&&this.onChange(e)},e}();function Mt(e){return e.validate?function(t){return e.validate(t)}:e}function Ot(e){return e.validate?function(t){return e.validate(t)}:e}var Pt=function(){function e(e,t){this._renderer=e,this._elementRef=t,this.onChange=function(e){},this.onTouched=function(){}}return e.prototype.writeValue=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==e?"":e)},e.prototype.registerOnChange=function(e){this.onChange=function(t){e(""==t?null:parseFloat(t))}},e.prototype.registerOnTouched=function(e){this.onTouched=e},e.prototype.setDisabledState=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)},e}();function Nt(){throw new Error("unimplemented")}var Rt=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._parent=null,t.name=null,t.valueAccessor=null,t._rawValidators=[],t._rawAsyncValidators=[],t}return Object(a.b)(t,e),Object.defineProperty(t.prototype,"validator",{get:function(){return Nt()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"asyncValidator",{get:function(){return Nt()},enumerable:!0,configurable:!0}),t}(wt),Lt=function(){function e(){this._accessors=[]}return e.prototype.add=function(e,t){this._accessors.push([e,t])},e.prototype.remove=function(e){for(var t=this._accessors.length-1;t>=0;--t)if(this._accessors[t][1]===e)return void this._accessors.splice(t,1)},e.prototype.select=function(e){var t=this;this._accessors.forEach(function(r){t._isSameGroup(r,e)&&r[1]!==e&&r[1].fireUncheck(e.value)})},e.prototype._isSameGroup=function(e,t){return!!e[0].control&&e[0]._parent===t._control._parent&&e[1].name===t.name},e}(),Bt=function(){function e(e,t,r,n){this._renderer=e,this._elementRef=t,this._registry=r,this._injector=n,this.onChange=function(){},this.onTouched=function(){}}return e.prototype.ngOnInit=function(){this._control=this._injector.get(Rt),this._checkName(),this._registry.add(this._control,this)},e.prototype.ngOnDestroy=function(){this._registry.remove(this)},e.prototype.writeValue=function(e){this._state=e===this.value,this._renderer.setProperty(this._elementRef.nativeElement,"checked",this._state)},e.prototype.registerOnChange=function(e){var t=this;this._fn=e,this.onChange=function(){e(t.value),t._registry.select(t)}},e.prototype.fireUncheck=function(e){this.writeValue(e)},e.prototype.registerOnTouched=function(e){this.onTouched=e},e.prototype.setDisabledState=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)},e.prototype._checkName=function(){this.name&&this.formControlName&&this.name!==this.formControlName&&this._throwNameError(),!this.name&&this.formControlName&&(this.name=this.formControlName)},e.prototype._throwNameError=function(){throw new Error('\n      If you define both a name and a formControlName attribute on your radio button, their values\n      must match. Ex: <input type="radio" formControlName="food" name="food">\n    ')},e}();function Vt(e,t){return t.path.concat([e])}function Ft(e,t){e||qt(t,"Cannot find control with"),t.valueAccessor||qt(t,"No value accessor for form control with"),e.validator=xt.compose([e.validator,t.validator]),e.asyncValidator=xt.composeAsync([e.asyncValidator,t.asyncValidator]),t.valueAccessor.writeValue(e.value),function(e,t){t.valueAccessor.registerOnChange(function(r){e._pendingValue=r,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&zt(e,t)})}(e,t),function(e,t){e.registerOnChange(function(e,r){t.valueAccessor.writeValue(e),r&&t.viewToModelUpdate(e)})}(e,t),function(e,t){t.valueAccessor.registerOnTouched(function(){e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&zt(e,t),"submit"!==e.updateOn&&e.markAsTouched()})}(e,t),t.valueAccessor.setDisabledState&&e.registerOnDisabledChange(function(e){t.valueAccessor.setDisabledState(e)}),t._rawValidators.forEach(function(t){t.registerOnValidatorChange&&t.registerOnValidatorChange(function(){return e.updateValueAndValidity()})}),t._rawAsyncValidators.forEach(function(t){t.registerOnValidatorChange&&t.registerOnValidatorChange(function(){return e.updateValueAndValidity()})})}function zt(e,t){t.viewToModelUpdate(e._pendingValue),e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),e._pendingChange=!1}function qt(e,t){var r;throw r=e.path.length>1?"path: '"+e.path.join(" -> ")+"'":e.path[0]?"name: '"+e.path+"'":"unspecified name attribute",new Error(t+" "+r)}function Ht(e){return null!=e?xt.compose(e.map(Mt)):null}function Kt(e){return null!=e?xt.composeAsync(e.map(Ot)):null}var Gt=[It,function(){function e(e,t){this._renderer=e,this._elementRef=t,this.onChange=function(e){},this.onTouched=function(){}}return e.prototype.writeValue=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",parseFloat(e))},e.prototype.registerOnChange=function(e){this.onChange=function(t){e(""==t?null:parseFloat(t))}},e.prototype.registerOnTouched=function(e){this.onTouched=e},e.prototype.setDisabledState=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)},e}(),Pt,function(){function e(e,t){this._renderer=e,this._elementRef=t,this._optionMap=new Map,this._idCounter=0,this.onChange=function(e){},this.onTouched=function(){},this._compareWith=n._3}return Object.defineProperty(e.prototype,"compareWith",{set:function(e){if("function"!=typeof e)throw new Error("compareWith must be a function, but received "+JSON.stringify(e));this._compareWith=e},enumerable:!0,configurable:!0}),e.prototype.writeValue=function(e){this.value=e;var t=this._getOptionId(e);null==t&&this._renderer.setProperty(this._elementRef.nativeElement,"selectedIndex",-1);var r=function(e,t){return null==e?""+t:(t&&"object"==typeof t&&(t="Object"),(e+": "+t).slice(0,50))}(t,e);this._renderer.setProperty(this._elementRef.nativeElement,"value",r)},e.prototype.registerOnChange=function(e){var t=this;this.onChange=function(r){t.value=t._getOptionValue(r),e(t.value)}},e.prototype.registerOnTouched=function(e){this.onTouched=e},e.prototype.setDisabledState=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)},e.prototype._registerOption=function(){return(this._idCounter++).toString()},e.prototype._getOptionId=function(e){for(var t=0,r=Array.from(this._optionMap.keys());t<r.length;t++){var n=r[t];if(this._compareWith(this._optionMap.get(n),e))return n}return null},e.prototype._getOptionValue=function(e){var t=function(e){return e.split(":")[0]}(e);return this._optionMap.has(t)?this._optionMap.get(t):e},e}(),function(){function e(e,t){this._renderer=e,this._elementRef=t,this._optionMap=new Map,this._idCounter=0,this.onChange=function(e){},this.onTouched=function(){},this._compareWith=n._3}return Object.defineProperty(e.prototype,"compareWith",{set:function(e){if("function"!=typeof e)throw new Error("compareWith must be a function, but received "+JSON.stringify(e));this._compareWith=e},enumerable:!0,configurable:!0}),e.prototype.writeValue=function(e){var t,r=this;if(this.value=e,Array.isArray(e)){var n=e.map(function(e){return r._getOptionId(e)});t=function(e,t){e._setSelected(n.indexOf(t.toString())>-1)}}else t=function(e,t){e._setSelected(!1)};this._optionMap.forEach(t)},e.prototype.registerOnChange=function(e){var t=this;this.onChange=function(r){var n=[];if(r.hasOwnProperty("selectedOptions"))for(var o=r.selectedOptions,s=0;s<o.length;s++){var i=o.item(s),a=t._getOptionValue(i.value);n.push(a)}else for(o=r.options,s=0;s<o.length;s++)(i=o.item(s)).selected&&(a=t._getOptionValue(i.value),n.push(a));t.value=n,e(n)}},e.prototype.registerOnTouched=function(e){this.onTouched=e},e.prototype.setDisabledState=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)},e.prototype._registerOption=function(e){var t=(this._idCounter++).toString();return this._optionMap.set(t,e),t},e.prototype._getOptionId=function(e){for(var t=0,r=Array.from(this._optionMap.keys());t<r.length;t++){var n=r[t];if(this._compareWith(this._optionMap.get(n)._value,e))return n}return null},e.prototype._getOptionValue=function(e){var t=function(e){return e.split(":")[0]}(e);return this._optionMap.has(t)?this._optionMap.get(t)._value:e},e}(),Bt],Yt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(a.b)(t,e),t.prototype.ngOnInit=function(){this._checkParentType(),this.formDirective.addFormGroup(this)},t.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeFormGroup(this)},Object.defineProperty(t.prototype,"control",{get:function(){return this.formDirective.getFormGroup(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"path",{get:function(){return Vt(this.name,this._parent)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"validator",{get:function(){return Ht(this._validators)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"asyncValidator",{get:function(){return Kt(this._asyncValidators)},enumerable:!0,configurable:!0}),t.prototype._checkParentType=function(){},t}(jt),Wt=function(e){function t(t){return e.call(this,t)||this}return Object(a.b)(t,e),t}(function(){function e(e){this._cd=e}return Object.defineProperty(e.prototype,"ngClassUntouched",{get:function(){return!!this._cd.control&&this._cd.control.untouched},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngClassTouched",{get:function(){return!!this._cd.control&&this._cd.control.touched},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngClassPristine",{get:function(){return!!this._cd.control&&this._cd.control.pristine},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngClassDirty",{get:function(){return!!this._cd.control&&this._cd.control.dirty},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngClassValid",{get:function(){return!!this._cd.control&&this._cd.control.valid},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngClassInvalid",{get:function(){return!!this._cd.control&&this._cd.control.invalid},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngClassPending",{get:function(){return!!this._cd.control&&this._cd.control.pending},enumerable:!0,configurable:!0}),e}());function Zt(e){var t=Jt(e)?e.validators:e;return Array.isArray(t)?Ht(t):t||null}function Xt(e,t){var r=Jt(t)?t.asyncValidators:e;return Array.isArray(r)?Kt(r):r||null}function Jt(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}var Qt=function(){function e(e,t){this.validator=e,this.asyncValidator=t,this._onCollectionChange=function(){},this.pristine=!0,this.touched=!1,this._onDisabledChange=[]}return Object.defineProperty(e.prototype,"parent",{get:function(){return this._parent},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"valid",{get:function(){return"VALID"===this.status},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"invalid",{get:function(){return"INVALID"===this.status},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pending",{get:function(){return"PENDING"==this.status},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"disabled",{get:function(){return"DISABLED"===this.status},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"enabled",{get:function(){return"DISABLED"!==this.status},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dirty",{get:function(){return!this.pristine},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"untouched",{get:function(){return!this.touched},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"updateOn",{get:function(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"},enumerable:!0,configurable:!0}),e.prototype.setValidators=function(e){this.validator=Zt(e)},e.prototype.setAsyncValidators=function(e){this.asyncValidator=Xt(e)},e.prototype.clearValidators=function(){this.validator=null},e.prototype.clearAsyncValidators=function(){this.asyncValidator=null},e.prototype.markAsTouched=function(e){void 0===e&&(e={}),this.touched=!0,this._parent&&!e.onlySelf&&this._parent.markAsTouched(e)},e.prototype.markAsUntouched=function(e){void 0===e&&(e={}),this.touched=!1,this._pendingTouched=!1,this._forEachChild(function(e){e.markAsUntouched({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)},e.prototype.markAsDirty=function(e){void 0===e&&(e={}),this.pristine=!1,this._parent&&!e.onlySelf&&this._parent.markAsDirty(e)},e.prototype.markAsPristine=function(e){void 0===e&&(e={}),this.pristine=!0,this._pendingDirty=!1,this._forEachChild(function(e){e.markAsPristine({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)},e.prototype.markAsPending=function(e){void 0===e&&(e={}),this.status="PENDING",this._parent&&!e.onlySelf&&this._parent.markAsPending(e)},e.prototype.disable=function(e){void 0===e&&(e={}),this.status="DISABLED",this.errors=null,this._forEachChild(function(t){t.disable(Object(a.a)({},e,{onlySelf:!0}))}),this._updateValue(),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(e),this._onDisabledChange.forEach(function(e){return e(!0)})},e.prototype.enable=function(e){void 0===e&&(e={}),this.status="VALID",this._forEachChild(function(t){t.enable(Object(a.a)({},e,{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(e),this._onDisabledChange.forEach(function(e){return e(!1)})},e.prototype._updateAncestors=function(e){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),this._parent._updatePristine(),this._parent._updateTouched())},e.prototype.setParent=function(e){this._parent=e},e.prototype.updateValueAndValidity=function(e){void 0===e&&(e={}),this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),"VALID"!==this.status&&"PENDING"!==this.status||this._runAsyncValidator(e.emitEvent)),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(e)},e.prototype._updateTreeValidity=function(e){void 0===e&&(e={emitEvent:!0}),this._forEachChild(function(t){return t._updateTreeValidity(e)}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})},e.prototype._setInitialStatus=function(){this.status=this._allControlsDisabled()?"DISABLED":"VALID"},e.prototype._runValidator=function(){return this.validator?this.validator(this):null},e.prototype._runAsyncValidator=function(e){var t=this;if(this.asyncValidator){this.status="PENDING";var r=Ut(this.asyncValidator(this));this._asyncValidationSubscription=r.subscribe(function(r){return t.setErrors(r,{emitEvent:e})})}},e.prototype._cancelExistingSubscription=function(){this._asyncValidationSubscription&&this._asyncValidationSubscription.unsubscribe()},e.prototype.setErrors=function(e,t){void 0===t&&(t={}),this.errors=e,this._updateControlsErrors(!1!==t.emitEvent)},e.prototype.get=function(e){return function(e,t,r){return null==t?null:(t instanceof Array||(t=t.split(".")),t instanceof Array&&0===t.length?null:t.reduce(function(e,t){return e instanceof er?e.controls[t]||null:e instanceof tr&&e.at(t)||null},e))}(this,e)},e.prototype.getError=function(e,t){var r=t?this.get(t):this;return r&&r.errors?r.errors[e]:null},e.prototype.hasError=function(e,t){return!!this.getError(e,t)},Object.defineProperty(e.prototype,"root",{get:function(){for(var e=this;e._parent;)e=e._parent;return e},enumerable:!0,configurable:!0}),e.prototype._updateControlsErrors=function(e){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(e)},e.prototype._initObservables=function(){this.valueChanges=new n.j,this.statusChanges=new n.j},e.prototype._calculateStatus=function(){return this._allControlsDisabled()?"DISABLED":this.errors?"INVALID":this._anyControlsHaveStatus("PENDING")?"PENDING":this._anyControlsHaveStatus("INVALID")?"INVALID":"VALID"},e.prototype._anyControlsHaveStatus=function(e){return this._anyControls(function(t){return t.status===e})},e.prototype._anyControlsDirty=function(){return this._anyControls(function(e){return e.dirty})},e.prototype._anyControlsTouched=function(){return this._anyControls(function(e){return e.touched})},e.prototype._updatePristine=function(e){void 0===e&&(e={}),this.pristine=!this._anyControlsDirty(),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)},e.prototype._updateTouched=function(e){void 0===e&&(e={}),this.touched=this._anyControlsTouched(),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)},e.prototype._isBoxedValue=function(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e},e.prototype._registerOnCollectionChange=function(e){this._onCollectionChange=e},e.prototype._setUpdateStrategy=function(e){Jt(e)&&null!=e.updateOn&&(this._updateOn=e.updateOn)},e}(),$t=function(e){function t(t,r,n){void 0===t&&(t=null);var o=e.call(this,Zt(r),Xt(n,r))||this;return o._onChange=[],o._applyFormState(t),o._setUpdateStrategy(r),o.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),o._initObservables(),o}return Object(a.b)(t,e),t.prototype.setValue=function(e,t){var r=this;void 0===t&&(t={}),this.value=this._pendingValue=e,this._onChange.length&&!1!==t.emitModelToViewChange&&this._onChange.forEach(function(e){return e(r.value,!1!==t.emitViewToModelChange)}),this.updateValueAndValidity(t)},t.prototype.patchValue=function(e,t){void 0===t&&(t={}),this.setValue(e,t)},t.prototype.reset=function(e,t){void 0===e&&(e=null),void 0===t&&(t={}),this._applyFormState(e),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1},t.prototype._updateValue=function(){},t.prototype._anyControls=function(e){return!1},t.prototype._allControlsDisabled=function(){return this.disabled},t.prototype.registerOnChange=function(e){this._onChange.push(e)},t.prototype._clearChangeFns=function(){this._onChange=[],this._onDisabledChange=[],this._onCollectionChange=function(){}},t.prototype.registerOnDisabledChange=function(e){this._onDisabledChange.push(e)},t.prototype._forEachChild=function(e){},t.prototype._syncPendingControls=function(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))},t.prototype._applyFormState=function(e){this._isBoxedValue(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e},t}(Qt),er=function(e){function t(t,r,n){var o=e.call(this,Zt(r),Xt(n,r))||this;return o.controls=t,o._initObservables(),o._setUpdateStrategy(r),o._setUpControls(),o.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),o}return Object(a.b)(t,e),t.prototype.registerControl=function(e,t){return this.controls[e]?this.controls[e]:(this.controls[e]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)},t.prototype.addControl=function(e,t){this.registerControl(e,t),this.updateValueAndValidity(),this._onCollectionChange()},t.prototype.removeControl=function(e){this.controls[e]&&this.controls[e]._registerOnCollectionChange(function(){}),delete this.controls[e],this.updateValueAndValidity(),this._onCollectionChange()},t.prototype.setControl=function(e,t){this.controls[e]&&this.controls[e]._registerOnCollectionChange(function(){}),delete this.controls[e],t&&this.registerControl(e,t),this.updateValueAndValidity(),this._onCollectionChange()},t.prototype.contains=function(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled},t.prototype.setValue=function(e,t){var r=this;void 0===t&&(t={}),this._checkAllValuesPresent(e),Object.keys(e).forEach(function(n){r._throwIfControlMissing(n),r.controls[n].setValue(e[n],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)},t.prototype.patchValue=function(e,t){var r=this;void 0===t&&(t={}),Object.keys(e).forEach(function(n){r.controls[n]&&r.controls[n].patchValue(e[n],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)},t.prototype.reset=function(e,t){void 0===e&&(e={}),void 0===t&&(t={}),this._forEachChild(function(r,n){r.reset(e[n],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t),this._updatePristine(t),this._updateTouched(t)},t.prototype.getRawValue=function(){return this._reduceChildren({},function(e,t,r){return e[r]=t instanceof $t?t.value:t.getRawValue(),e})},t.prototype._syncPendingControls=function(){var e=this._reduceChildren(!1,function(e,t){return!!t._syncPendingControls()||e});return e&&this.updateValueAndValidity({onlySelf:!0}),e},t.prototype._throwIfControlMissing=function(e){if(!Object.keys(this.controls).length)throw new Error("\n        There are no form controls registered with this group yet.  If you're using ngModel,\n        you may want to check next tick (e.g. use setTimeout).\n      ");if(!this.controls[e])throw new Error("Cannot find form control with name: "+e+".")},t.prototype._forEachChild=function(e){var t=this;Object.keys(this.controls).forEach(function(r){return e(t.controls[r],r)})},t.prototype._setUpControls=function(){var e=this;this._forEachChild(function(t){t.setParent(e),t._registerOnCollectionChange(e._onCollectionChange)})},t.prototype._updateValue=function(){this.value=this._reduceValue()},t.prototype._anyControls=function(e){var t=this,r=!1;return this._forEachChild(function(n,o){r=r||t.contains(o)&&e(n)}),r},t.prototype._reduceValue=function(){var e=this;return this._reduceChildren({},function(t,r,n){return(r.enabled||e.disabled)&&(t[n]=r.value),t})},t.prototype._reduceChildren=function(e,t){var r=e;return this._forEachChild(function(e,n){r=t(r,e,n)}),r},t.prototype._allControlsDisabled=function(){for(var e=0,t=Object.keys(this.controls);e<t.length;e++)if(this.controls[t[e]].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled},t.prototype._checkAllValuesPresent=function(e){this._forEachChild(function(t,r){if(void 0===e[r])throw new Error("Must supply a value for form control with name: '"+r+"'.")})},t}(Qt),tr=function(e){function t(t,r,n){var o=e.call(this,Zt(r),Xt(n,r))||this;return o.controls=t,o._initObservables(),o._setUpdateStrategy(r),o._setUpControls(),o.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),o}return Object(a.b)(t,e),t.prototype.at=function(e){return this.controls[e]},t.prototype.push=function(e){this.controls.push(e),this._registerControl(e),this.updateValueAndValidity(),this._onCollectionChange()},t.prototype.insert=function(e,t){this.controls.splice(e,0,t),this._registerControl(t),this.updateValueAndValidity()},t.prototype.removeAt=function(e){this.controls[e]&&this.controls[e]._registerOnCollectionChange(function(){}),this.controls.splice(e,1),this.updateValueAndValidity()},t.prototype.setControl=function(e,t){this.controls[e]&&this.controls[e]._registerOnCollectionChange(function(){}),this.controls.splice(e,1),t&&(this.controls.splice(e,0,t),this._registerControl(t)),this.updateValueAndValidity(),this._onCollectionChange()},Object.defineProperty(t.prototype,"length",{get:function(){return this.controls.length},enumerable:!0,configurable:!0}),t.prototype.setValue=function(e,t){var r=this;void 0===t&&(t={}),this._checkAllValuesPresent(e),e.forEach(function(e,n){r._throwIfControlMissing(n),r.at(n).setValue(e,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)},t.prototype.patchValue=function(e,t){var r=this;void 0===t&&(t={}),e.forEach(function(e,n){r.at(n)&&r.at(n).patchValue(e,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)},t.prototype.reset=function(e,t){void 0===e&&(e=[]),void 0===t&&(t={}),this._forEachChild(function(r,n){r.reset(e[n],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t),this._updatePristine(t),this._updateTouched(t)},t.prototype.getRawValue=function(){return this.controls.map(function(e){return e instanceof $t?e.value:e.getRawValue()})},t.prototype._syncPendingControls=function(){var e=this.controls.reduce(function(e,t){return!!t._syncPendingControls()||e},!1);return e&&this.updateValueAndValidity({onlySelf:!0}),e},t.prototype._throwIfControlMissing=function(e){if(!this.controls.length)throw new Error("\n        There are no form controls registered with this array yet.  If you're using ngModel,\n        you may want to check next tick (e.g. use setTimeout).\n      ");if(!this.at(e))throw new Error("Cannot find form control at index "+e)},t.prototype._forEachChild=function(e){this.controls.forEach(function(t,r){e(t,r)})},t.prototype._updateValue=function(){var e=this;this.value=this.controls.filter(function(t){return t.enabled||e.disabled}).map(function(e){return e.value})},t.prototype._anyControls=function(e){return this.controls.some(function(t){return t.enabled&&e(t)})},t.prototype._setUpControls=function(){var e=this;this._forEachChild(function(t){return e._registerControl(t)})},t.prototype._checkAllValuesPresent=function(e){this._forEachChild(function(t,r){if(void 0===e[r])throw new Error("Must supply a value for form control at index: "+r+".")})},t.prototype._allControlsDisabled=function(){for(var e=0,t=this.controls;e<t.length;e++)if(t[e].enabled)return!1;return this.controls.length>0||this.disabled},t.prototype._registerControl=function(e){e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)},t}(Qt),rr=Promise.resolve(null),nr=function(e){function t(t,r){var o=e.call(this)||this;return o.submitted=!1,o._directives=[],o.ngSubmit=new n.j,o.form=new er({},Ht(t),Kt(r)),o}return Object(a.b)(t,e),t.prototype.ngAfterViewInit=function(){this._setUpdateStrategy()},Object.defineProperty(t.prototype,"formDirective",{get:function(){return this},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"controls",{get:function(){return this.form.controls},enumerable:!0,configurable:!0}),t.prototype.addControl=function(e){var t=this;rr.then(function(){var r=t._findContainer(e.path);e.control=r.registerControl(e.name,e.control),Ft(e.control,e),e.control.updateValueAndValidity({emitEvent:!1}),t._directives.push(e)})},t.prototype.getControl=function(e){return this.form.get(e.path)},t.prototype.removeControl=function(e){var t=this;rr.then(function(){var r,n,o=t._findContainer(e.path);o&&o.removeControl(e.name),(n=(r=t._directives).indexOf(e))>-1&&r.splice(n,1)})},t.prototype.addFormGroup=function(e){var t=this;rr.then(function(){var r=t._findContainer(e.path),n=new er({});(function(e,t){null==e&&qt(t,"Cannot find control with"),e.validator=xt.compose([e.validator,t.validator]),e.asyncValidator=xt.composeAsync([e.asyncValidator,t.asyncValidator])})(n,e),r.registerControl(e.name,n),n.updateValueAndValidity({emitEvent:!1})})},t.prototype.removeFormGroup=function(e){var t=this;rr.then(function(){var r=t._findContainer(e.path);r&&r.removeControl(e.name)})},t.prototype.getFormGroup=function(e){return this.form.get(e.path)},t.prototype.updateModel=function(e,t){var r=this;rr.then(function(){r.form.get(e.path).setValue(t)})},t.prototype.setValue=function(e){this.control.setValue(e)},t.prototype.onSubmit=function(e){return this.submitted=!0,t=this._directives,this.form._syncPendingControls(),t.forEach(function(e){var t=e.control;"submit"===t.updateOn&&t._pendingChange&&(e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1)}),this.ngSubmit.emit(e),!1;var t},t.prototype.onReset=function(){this.resetForm()},t.prototype.resetForm=function(e){void 0===e&&(e=void 0),this.form.reset(e),this.submitted=!1},t.prototype._setUpdateStrategy=function(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)},t.prototype._findContainer=function(e){return e.pop(),e.length?this.form.get(e):this.form},t}(jt),or='\n    <div [formGroup]="myGroup">\n       <div formGroupName="person">\n          <input formControlName="firstName">\n       </div>\n    </div>\n\n    In your class:\n\n    this.myGroup = new FormGroup({\n       person: new FormGroup({ firstName: new FormControl() })\n    });',sr='\n    <form>\n       <div ngModelGroup="person">\n          <input [(ngModel)]="person.name" name="firstName">\n       </div>\n    </form>',ir=function(){function e(){}return e.modelParentException=function(){throw new Error('\n      ngModel cannot be used to register form controls with a parent formGroup directive.  Try using\n      formGroup\'s partner directive "formControlName" instead.  Example:\n\n      \n    <div [formGroup]="myGroup">\n      <input formControlName="firstName">\n    </div>\n\n    In your class:\n\n    this.myGroup = new FormGroup({\n       firstName: new FormControl()\n    });\n\n      Or, if you\'d like to avoid registering this form control, indicate that it\'s standalone in ngModelOptions:\n\n      Example:\n\n      \n    <div [formGroup]="myGroup">\n       <input formControlName="firstName">\n       <input [(ngModel)]="showMoreControls" [ngModelOptions]="{standalone: true}">\n    </div>\n  ')},e.formGroupNameException=function(){throw new Error("\n      ngModel cannot be used to register form controls with a parent formGroupName or formArrayName directive.\n\n      Option 1: Use formControlName instead of ngModel (reactive strategy):\n\n      "+or+"\n\n      Option 2:  Update ngModel's parent be ngModelGroup (template-driven strategy):\n\n      "+sr)},e.missingNameException=function(){throw new Error('If ngModel is used within a form tag, either the name attribute must be set or the form\n      control must be defined as \'standalone\' in ngModelOptions.\n\n      Example 1: <input [(ngModel)]="person.firstName" name="first">\n      Example 2: <input [(ngModel)]="person.firstName" [ngModelOptions]="{standalone: true}">')},e.modelGroupParentException=function(){throw new Error("\n      ngModelGroup cannot be used with a parent formGroup directive.\n\n      Option 1: Use formGroupName instead of ngModelGroup (reactive strategy):\n\n      "+or+"\n\n      Option 2:  Use a regular form tag instead of the formGroup directive (template-driven strategy):\n\n      "+sr)},e}(),ar=function(e){function t(t,r,n){var o=e.call(this)||this;return o._parent=t,o._validators=r,o._asyncValidators=n,o}return Object(a.b)(t,e),t.prototype._checkParentType=function(){this._parent instanceof t||this._parent instanceof nr||ir.modelGroupParentException()},t}(Yt),ur=Promise.resolve(null),dr=function(e){function t(t,r,o,s){var i=e.call(this)||this;return i.control=new $t,i._registered=!1,i.update=new n.j,i._parent=t,i._rawValidators=r||[],i._rawAsyncValidators=o||[],i.valueAccessor=function(e,t){if(!t)return null;Array.isArray(t)||qt(e,"Value accessor was not provided as an array for form control with");var r=void 0,n=void 0,o=void 0;return t.forEach(function(t){var s;t.constructor===Tt?r=t:(s=t,Gt.some(function(e){return s.constructor===e})?(n&&qt(e,"More than one built-in value accessor matches form control with"),n=t):(o&&qt(e,"More than one custom value accessor matches form control with"),o=t))}),o||n||r||(qt(e,"No valid value accessor for form control with"),null)}(i,s),i}return Object(a.b)(t,e),t.prototype.ngOnChanges=function(e){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in e&&this._updateDisabled(e),function(e,t){if(!e.hasOwnProperty("model"))return!1;var r=e.model;return!!r.isFirstChange()||!Object(n._3)(t,r.currentValue)}(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)},t.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeControl(this)},Object.defineProperty(t.prototype,"path",{get:function(){return this._parent?Vt(this.name,this._parent):[this.name]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"validator",{get:function(){return Ht(this._rawValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"asyncValidator",{get:function(){return Kt(this._rawAsyncValidators)},enumerable:!0,configurable:!0}),t.prototype.viewToModelUpdate=function(e){this.viewModel=e,this.update.emit(e)},t.prototype._setUpControl=function(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0},t.prototype._setUpdateStrategy=function(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)},t.prototype._isStandalone=function(){return!this._parent||!(!this.options||!this.options.standalone)},t.prototype._setUpStandalone=function(){Ft(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})},t.prototype._checkForErrors=function(){this._isStandalone()||this._checkParentType(),this._checkName()},t.prototype._checkParentType=function(){!(this._parent instanceof ar)&&this._parent instanceof Yt?ir.formGroupNameException():this._parent instanceof ar||this._parent instanceof nr||ir.modelParentException()},t.prototype._checkName=function(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()||this.name||ir.missingNameException()},t.prototype._updateValue=function(e){var t=this;ur.then(function(){t.control.setValue(e,{emitViewToModelChange:!1})})},t.prototype._updateDisabled=function(e){var t=this,r=e.isDisabled.currentValue,n=""===r||r&&"false"!==r;ur.then(function(){n&&!t.control.disabled?t.control.disable():!n&&t.control.disabled&&t.control.enable()})},t}(Rt),lr=function(){},cr=function(){},fr=n.U({encapsulation:0,styles:[[".thumb[_ngcontent-%COMP%]{border-radius:50%;width:50px;height:50px;margin:0 .5rem 0 0}.lds-ellipsis[_ngcontent-%COMP%]{display:inline-block;position:relative;width:64px;height:64px;left:30%}.lds-ellipsis[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]{position:absolute;top:27px;width:11px;height:11px;border-radius:50%;background:#1fbf8f;-webkit-animation-timing-function:cubic-bezier(0,1,1,0);animation-timing-function:cubic-bezier(0,1,1,0)}.lds-ellipsis[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]:nth-child(1){left:6px;-webkit-animation:.6s infinite lds-ellipsis1;animation:.6s infinite lds-ellipsis1}.lds-ellipsis[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]:nth-child(2){left:6px;-webkit-animation:.6s infinite lds-ellipsis2;animation:.6s infinite lds-ellipsis2}.lds-ellipsis[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]:nth-child(3){left:26px;-webkit-animation:.6s infinite lds-ellipsis2;animation:.6s infinite lds-ellipsis2}.lds-ellipsis[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]:nth-child(4){left:45px;-webkit-animation:.6s infinite lds-ellipsis3;animation:.6s infinite lds-ellipsis3}@-webkit-keyframes lds-ellipsis1{0%{-webkit-transform:scale(0);transform:scale(0)}100%{-webkit-transform:scale(1);transform:scale(1)}}@keyframes lds-ellipsis1{0%{-webkit-transform:scale(0);transform:scale(0)}100%{-webkit-transform:scale(1);transform:scale(1)}}@-webkit-keyframes lds-ellipsis3{0%{-webkit-transform:scale(1);transform:scale(1)}100%{-webkit-transform:scale(0);transform:scale(0)}}@keyframes lds-ellipsis3{0%{-webkit-transform:scale(1);transform:scale(1)}100%{-webkit-transform:scale(0);transform:scale(0)}}@-webkit-keyframes lds-ellipsis2{0%{-webkit-transform:translate(0,0);transform:translate(0,0)}100%{-webkit-transform:translate(19px,0);transform:translate(19px,0)}}@keyframes lds-ellipsis2{0%{-webkit-transform:translate(0,0);transform:translate(0,0)}100%{-webkit-transform:translate(19px,0);transform:translate(19px,0)}}.pb-4rem[_ngcontent-%COMP%]{padding:0 0 4rem}.mb-textarea-container[_ngcontent-%COMP%]{margin:0 0 4.5rem}.textarea[_ngcontent-%COMP%]{margin:.5rem 0 1rem;width:100%;background:#ccc;font-size:12px}"]],data:{}});function hr(e){return n._13(0,[(e()(),n.W(0,0,null,null,9,"div",[["class","lds-ellipsis"]],null,null,null,null,null)),(e()(),n._12(-1,null,["\n      "])),(e()(),n.W(2,0,null,null,0,"div",[],null,null,null,null,null)),(e()(),n._12(-1,null,["\n      "])),(e()(),n.W(4,0,null,null,0,"div",[],null,null,null,null,null)),(e()(),n._12(-1,null,["\n      "])),(e()(),n.W(6,0,null,null,0,"div",[],null,null,null,null,null)),(e()(),n._12(-1,null,["\n      "])),(e()(),n.W(8,0,null,null,0,"div",[],null,null,null,null,null)),(e()(),n._12(-1,null,["\n    "]))],null,null)}function pr(e){return n._13(0,[(e()(),n.W(0,0,null,null,1,"span",[["class","text-muted"]],null,null,null,null,null)),(e()(),n._12(1,null,["[ posted by "," ]"]))],null,function(e,t){e(t,1,0,t.parent.parent.context.$implicit.author)})}function mr(e){return n._13(0,[(e()(),n._12(-1,null,["\n           "])),(e()(),n.W(1,0,null,null,1,"span",[["class","text-muted"]],null,null,null,null,null)),(e()(),n._12(-1,null,["[ Resteemed post ]"])),(e()(),n._12(-1,null,["\n        "]))],null,null)}function br(e){return n._13(0,[(e()(),n.W(0,0,null,null,9,"li",[],null,null,null,null,null)),(e()(),n._12(-1,null,["\n        "])),(e()(),n.W(2,0,null,null,1,"a",[],[[8,"href",4]],null,null,null,null)),(e()(),n._12(3,null,["",""])),(e()(),n._12(-1,null,[" \n        "])),(e()(),n.R(16777216,null,null,1,null,pr)),n.V(6,16384,null,0,v,[n.F,n.C],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(e()(),n._12(-1,null,["\n        "])),(e()(),n.R(0,[["resteem",2]],null,0,null,mr)),(e()(),n._12(-1,null,["\n      "]))],function(e,t){e(t,6,0,t.component.search===t.parent.context.$implicit.author,n._7(t,8))},function(e,t){e(t,2,0,n.Z(1,"https://steemit.com",t.parent.context.$implicit.url,"")),e(t,3,0,t.parent.context.$implicit.title)})}function gr(e){return n._13(0,[(e()(),n.W(0,0,null,null,4,"ul",[["id","plist"]],null,null,null,null,null)),(e()(),n._12(-1,null,["\n      "])),(e()(),n.R(16777216,null,null,1,null,br)),n.V(3,16384,null,0,v,[n.F,n.C],{ngIf:[0,"ngIf"]},null),(e()(),n._12(-1,null,["\n    "]))],function(e,t){e(t,3,0,!t.component.loading)},null)}function vr(e){return n._13(0,[(e()(),n.W(0,0,null,null,2,"button",[["class","btn btn-default"],["ngxClipboard",""],["type","button"]],[[2,"btn-success",null]],[[null,"cbOnSuccess"],[null,"click"]],function(e,t,r){var o=!0,s=e.component;return"click"===t&&(o=!1!==n._7(e,1).onClick(r.target)&&o),"cbOnSuccess"===t&&(o=0!=(s.isCopied2=!0)&&o),o},null,null)),n.V(1,212992,null,0,st,[nt],{targetElm:[0,"targetElm"],cbContent:[1,"cbContent"]},{cbOnSuccess:"cbOnSuccess"}),(e()(),n._12(2,null,["",""]))],function(e,t){e(t,1,0,"",t.component.copyText)},function(e,t){var r=t.component;e(t,0,0,r.isCopied2),e(t,2,0,r.isCopied2?"Copied":"Copy")})}function _r(e){return n._13(0,[(e()(),n.W(0,0,null,null,4,"div",[["class","col-md-12 form-group"]],null,null,null,null,null)),(e()(),n._12(-1,null,["\n    "])),(e()(),n.W(2,0,[["inputTarget",1]],null,1,"textarea",[["class","textarea"],["cols","30"],["id","text"],["name",""],["rows","10"]],null,null,null,null,null)),(e()(),n._12(3,null,["      ","\n    "])),(e()(),n._12(-1,null,["\n  "]))],null,function(e,t){e(t,3,0,t.component.copyText)})}function yr(e){return n._13(0,[(e()(),n.W(0,0,null,null,16,"div",[["class","container"]],null,null,null,null,null)),(e()(),n._12(-1,null,["\n  "])),(e()(),n.W(2,0,null,null,0,"hr",[],null,null,null,null,null)),(e()(),n._12(-1,null,["\n  "])),(e()(),n.W(4,0,null,null,11,"div",[["class","mb-textarea-container"]],null,null,null,null,null)),(e()(),n._12(-1,null,["\n  "])),(e()(),n.W(6,0,null,null,1,"button",[["class","btn btn-primary"],["type","submit"]],null,[[null,"click"]],function(e,t,r){var n=!0;return"click"===t&&(n=!1!==e.component.getInnerHTML()&&n),n},null,null)),(e()(),n._12(7,null,["",""])),(e()(),n._12(-1,null,["\n  "])),(e()(),n.R(16777216,null,null,1,null,vr)),n.V(10,16384,null,0,v,[n.F,n.C],{ngIf:[0,"ngIf"]},null),(e()(),n._12(-1,null,["\n  "])),(e()(),n._12(-1,null,["\n  "])),(e()(),n.R(16777216,null,null,1,null,_r)),n.V(14,16384,null,0,v,[n.F,n.C],{ngIf:[0,"ngIf"]},null),(e()(),n._12(-1,null,["\n  "])),(e()(),n._12(-1,null,["\n"]))],function(e,t){var r=t.component;e(t,10,0,r.isActive),e(t,14,0,r.innerText.length)},function(e,t){e(t,7,0,t.component.getHtmlButton)})}function wr(e){return n._13(0,[(e()(),n.W(0,0,null,null,23,"header",[],null,null,null,null,null)),(e()(),n._12(-1,null,["\n  "])),(e()(),n.W(2,0,null,null,20,"nav",[["class","navbar navbar-default"]],null,null,null,null,null)),(e()(),n._12(-1,null,["\n    "])),(e()(),n.W(4,0,null,null,17,"div",[["class","container-fluid"]],null,null,null,null,null)),(e()(),n._12(-1,null,["\n      "])),(e()(),n._12(-1,null,["\n      "])),(e()(),n.W(7,0,null,null,13,"div",[["class","navbar-header row col-md-12"]],null,null,null,null,null)),(e()(),n._12(-1,null,["\n        "])),(e()(),n.W(9,0,null,null,6,"div",[["class","col-md-5 row"]],null,null,null,null,null)),(e()(),n._12(-1,null,["\n          "])),(e()(),n.W(11,0,null,null,0,"img",[["class","thumb"],["src","https://steemitimages.com/u/techstack/avatar"]],null,null,null,null,null)),(e()(),n._12(-1,null,[" "])),(e()(),n.W(13,0,null,null,1,"h3",[],null,null,null,null,null)),(e()(),n._12(14,null,["",""])),(e()(),n._12(-1,null,["\n        "])),(e()(),n._12(-1,null,["\n        "])),(e()(),n.W(17,0,null,null,2,"div",[["class","col-md-7"]],null,null,null,null,null)),(e()(),n.W(18,0,null,null,1,"h6",[],null,null,null,null,null)),(e()(),n._12(-1,null,["Consider some donation: @techstack"])),(e()(),n._12(-1,null,["\n      "])),(e()(),n._12(-1,null,["\n    "])),(e()(),n._12(-1,null,["\n  "])),(e()(),n._12(-1,null,["\n"])),(e()(),n._12(-1,null,["\n"])),(e()(),n.W(25,0,null,null,57,"div",[["class","container"]],null,null,null,null,null)),(e()(),n._12(-1,null,["\n  "])),(e()(),n.W(27,0,null,null,0,"p",[],null,null,null,null,null)),(e()(),n._12(-1,null,["\n  "])),(e()(),n.W(29,0,null,null,46,"div",[["class","row"]],null,null,null,null,null)),(e()(),n._12(-1,null,["\n    "])),(e()(),n.W(31,0,null,null,14,"div",[["class","col-md-8 col-xl-10"]],null,null,null,null,null)),(e()(),n._12(-1,null,["\n      "])),(e()(),n.W(33,0,null,null,11,"div",[["class","form-group"]],null,null,null,null,null)),(e()(),n._12(-1,null,["\n        "])),(e()(),n.W(35,0,null,null,1,"label",[],null,null,null,null,null)),(e()(),n._12(-1,null,["Enter your steem id:"])),(e()(),n._12(-1,null,["\n        "])),(e()(),n.W(38,0,null,null,5,"input",[["class","form-control text-muted"],["name","search"],["placeholder","i.e. techstack"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(e,t,r){var o=!0,s=e.component;return"input"===t&&(o=!1!==n._7(e,39)._handleInput(r.target.value)&&o),"blur"===t&&(o=!1!==n._7(e,39).onTouched()&&o),"compositionstart"===t&&(o=!1!==n._7(e,39)._compositionStart()&&o),"compositionend"===t&&(o=!1!==n._7(e,39)._compositionEnd(r.target.value)&&o),"ngModelChange"===t&&(o=!1!==(s.search=r)&&o),o},null,null)),n.V(39,16384,null,0,Tt,[n.w,n.h,[2,Ct]],null,null),n._9(1024,null,At,function(e){return[e]},[Tt]),n.V(41,671744,null,0,dr,[[8,null],[8,null],[8,null],[2,At]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),n._9(2048,null,Rt,null,[dr]),n.V(43,16384,null,0,Wt,[Rt],null,null),(e()(),n._12(-1,null,["\n      "])),(e()(),n._12(-1,null,["\n    "])),(e()(),n._12(-1,null,["\n    "])),(e()(),n.W(47,0,null,null,15,"div",[["class","col-md-4 col-xl-2"]],null,null,null,null,null)),(e()(),n._12(-1,null,["\n      "])),(e()(),n.W(49,0,null,null,12,"div",[["class","form-group"]],null,null,null,null,null)),(e()(),n._12(-1,null,["\n        "])),(e()(),n.W(51,0,null,null,1,"label",[],null,null,null,null,null)),(e()(),n._12(-1,null,["Enter no of posts:"])),(e()(),n._12(-1,null,["\n        "])),(e()(),n.W(54,0,null,null,6,"input",[["class","form-control"],["min","1"],["name","datalist"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"]],function(e,t,r){var o=!0,s=e.component;return"input"===t&&(o=!1!==n._7(e,55)._handleInput(r.target.value)&&o),"blur"===t&&(o=!1!==n._7(e,55).onTouched()&&o),"compositionstart"===t&&(o=!1!==n._7(e,55)._compositionStart()&&o),"compositionend"===t&&(o=!1!==n._7(e,55)._compositionEnd(r.target.value)&&o),"change"===t&&(o=!1!==n._7(e,56).onChange(r.target.value)&&o),"input"===t&&(o=!1!==n._7(e,56).onChange(r.target.value)&&o),"blur"===t&&(o=!1!==n._7(e,56).onTouched()&&o),"ngModelChange"===t&&(o=!1!==(s.datalist=r)&&o),o},null,null)),n.V(55,16384,null,0,Tt,[n.w,n.h,[2,Ct]],null,null),n.V(56,16384,null,0,Pt,[n.w,n.h],null,null),n._9(1024,null,At,function(e,t){return[e,t]},[Tt,Pt]),n.V(58,671744,null,0,dr,[[8,null],[8,null],[8,null],[2,At]],{name:[0,"name"],isDisabled:[1,"isDisabled"],model:[2,"model"]},{update:"ngModelChange"}),n._9(2048,null,Rt,null,[dr]),n.V(60,16384,null,0,Wt,[Rt],null,null),(e()(),n._12(-1,null,["\n      "])),(e()(),n._12(-1,null,["\n    "])),(e()(),n._12(-1,null,["\n    "])),(e()(),n.W(64,0,null,null,10,"div",[["class","container"]],null,null,null,null,null)),(e()(),n._12(-1,null,["\n      "])),(e()(),n.W(66,0,null,null,7,"p",[],null,null,null,null,null)),(e()(),n.W(67,0,null,null,5,"input",[["class","form-check-label"],["for","include-resteem-posts"],["type","checkbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"change"],[null,"blur"]],function(e,t,r){var o=!0,s=e.component;return"change"===t&&(o=!1!==n._7(e,68).onChange(r.target.checked)&&o),"blur"===t&&(o=!1!==n._7(e,68).onTouched()&&o),"ngModelChange"===t&&(o=!1!==(s.isResteem=r)&&o),o},null,null)),n.V(68,16384,null,0,It,[n.w,n.h],null,null),n._9(1024,null,At,function(e){return[e]},[It]),n.V(70,671744,null,0,dr,[[8,null],[8,null],[8,null],[2,At]],{model:[0,"model"]},{update:"ngModelChange"}),n._9(2048,null,Rt,null,[dr]),n.V(72,16384,null,0,Wt,[Rt],null,null),(e()(),n._12(-1,null,[" Include resteem posts"])),(e()(),n._12(-1,null,["\n    "])),(e()(),n._12(-1,null,["\n  "])),(e()(),n._12(-1,null,["\n  "])),(e()(),n.W(77,0,null,null,4,"p",[],null,null,null,null,null)),(e()(),n._12(-1,null,["\n    "])),(e()(),n.W(79,0,null,null,1,"button",[["class","btn btn-primary"],["type","submit"]],[[8,"disabled",0]],[[null,"click"]],function(e,t,r){var n=!0;return"click"===t&&(n=!1!==e.component.fetchData()&&n),n},null,null)),(e()(),n._12(80,null,["",""])),(e()(),n._12(-1,null,["\n  "])),(e()(),n._12(-1,null,["\n"])),(e()(),n._12(-1,null,["\n"])),(e()(),n.W(84,0,null,null,0,"hr",[],null,null,null,null,null)),(e()(),n._12(-1,null,["\n"])),(e()(),n.W(86,0,null,null,10,"div",[["class","container"]],null,null,null,null,null)),(e()(),n._12(-1,null,["\n  "])),(e()(),n.W(88,0,null,null,7,"div",[["class","list-group"]],null,null,null,null,null)),(e()(),n._12(-1,null,["\n    "])),(e()(),n.R(16777216,null,null,1,null,hr)),n.V(91,16384,null,0,v,[n.F,n.C],{ngIf:[0,"ngIf"]},null),(e()(),n._12(-1,null,["\n    "])),(e()(),n.R(16777216,null,null,1,null,gr)),n.V(94,802816,null,0,b,[n.F,n.C,n.n],{ngForOf:[0,"ngForOf"]},null),(e()(),n._12(-1,null,["\n  "])),(e()(),n._12(-1,null,["\n"])),(e()(),n._12(-1,null,["\n"])),(e()(),n.R(16777216,null,null,1,null,yr)),n.V(99,16384,null,0,v,[n.F,n.C],{ngIf:[0,"ngIf"]},null),(e()(),n._12(-1,null,["\n\n"])),(e()(),n.W(101,0,null,null,7,"footer",[["class","footer"]],null,null,null,null,null)),(e()(),n._12(-1,null,["Created by "])),(e()(),n.W(103,0,null,null,1,"span",[["class","green-color"]],null,null,null,null,null)),(e()(),n._12(-1,null,["Rakesh Sharma"])),(e()(),n._12(-1,null,[" | Follow me on Steem "])),(e()(),n.W(106,0,null,null,0,"span",[["class","green-color"]],null,null,null,null,null)),(e()(),n.W(107,0,null,null,1,"a",[["href","https://steemit.com/@techstack"],["target","_blank"]],null,null,null,null,null)),(e()(),n._12(-1,null,["@techstack"])),(e()(),n._12(-1,null,["\n\n"]))],function(e,t){var r=t.component;e(t,41,0,"search",r.search),e(t,58,0,"datalist",!r.search,r.datalist),e(t,70,0,r.isResteem),e(t,91,0,r.loading&&r.posts),e(t,94,0,r.posts),e(t,99,0,r.posts.length)},function(e,t){var r=t.component;e(t,14,0,r.author),e(t,38,0,n._7(t,43).ngClassUntouched,n._7(t,43).ngClassTouched,n._7(t,43).ngClassPristine,n._7(t,43).ngClassDirty,n._7(t,43).ngClassValid,n._7(t,43).ngClassInvalid,n._7(t,43).ngClassPending),e(t,54,0,n._7(t,60).ngClassUntouched,n._7(t,60).ngClassTouched,n._7(t,60).ngClassPristine,n._7(t,60).ngClassDirty,n._7(t,60).ngClassValid,n._7(t,60).ngClassInvalid,n._7(t,60).ngClassPending),e(t,67,0,n._7(t,72).ngClassUntouched,n._7(t,72).ngClassTouched,n._7(t,72).ngClassPristine,n._7(t,72).ngClassDirty,n._7(t,72).ngClassValid,n._7(t,72).ngClassInvalid,n._7(t,72).ngClassPending),e(t,79,0,!r.search),e(t,80,0,r.submit)})}var jr=n.S("app-root",i,function(e){return n._13(0,[(e()(),n.W(0,0,null,null,1,"app-root",[],null,null,null,wr,fr)),n.V(1,114688,null,0,i,[],null,null)],function(e,t){e(t,1,0)},null)},{},{},[]),Er=function(){return function(){this.client=new s.Client("https://api.steemit.com")}}(),Dr=function(){},xr=n.T(o,[i],function(e){return n._4([n._5(512,n.g,n.P,[[8,[jr]],[3,n.g],n.q]),n._5(5120,n.p,n._10,[[3,n.p]]),n._5(4608,h,p,[n.p,[2,f]]),n._5(4608,n.f,n.f,[]),n._5(5120,n.a,n.Y,[]),n._5(5120,n.n,n._6,[]),n._5(5120,n.o,n._8,[]),n._5(4608,ze,qe,[w]),n._5(6144,n.z,null,[ze]),n._5(4608,me,be,[]),n._5(5120,z,function(e,t,r,n,o){return[new he(e,t),new ye(r),new ge(n,o)]},[w,n.s,w,w,me]),n._5(4608,q,q,[z,n.s]),n._5(135680,G,G,[w]),n._5(4608,$,$,[q,G]),n._5(6144,n.x,null,[$]),n._5(6144,K,null,[G]),n._5(4608,n.D,n.D,[n.s]),n._5(4608,O,O,[w]),n._5(4608,L,L,[w]),n._5(4608,Lt,Lt,[]),n._5(5120,et,tt,[]),n._5(5120,nt,ot,[C,et,[3,nt]]),n._5(4608,Er,Er,[]),n._5(512,y,y,[]),n._5(1024,n.i,Qe,[]),n._5(1024,n.b,function(e){return[(t=e,B("probe",F),B("coreTokens",Object(a.a)({},V,(t||[]).reduce(function(e,t){return e[t.name]=t.token,e},{}))),function(){return F})];var t},[[2,n.r]]),n._5(512,n.c,n.c,[[2,n.b]]),n._5(131584,n.e,n.e,[n.s,n.Q,n.m,n.i,n.g,n.c]),n._5(512,n.d,n.d,[n.e]),n._5(512,$e,$e,[[3,$e]]),n._5(512,lr,lr,[]),n._5(512,cr,cr,[]),n._5(512,rt,rt,[]),n._5(512,Dr,Dr,[]),n._5(512,o,o,[])])});Object(n.J)(),Je().bootstrapModuleFactory(xr).catch(function(e){return console.log(e)})}},[0]);