UNPKG

haven-core-js

Version:

The JS library containing the Haven crypto plus lightweight wallet functions

1 lines 38.5 kB
!function(t){var r={};function e(n){if(r[n])return r[n].exports;var o=r[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,e),o.l=!0,o.exports}e.m=t,e.c=r,e.d=function(t,r,n){e.o(t,r)||Object.defineProperty(t,r,{enumerable:!0,get:n})},e.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,r){if(1&r&&(t=e(t)),8&r)return t;if(4&r&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(e.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&r&&"string"!=typeof t)for(var o in t)e.d(n,o,function(r){return t[r]}.bind(null,o));return n},e.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(r,"a",r),r},e.o=function(t,r){return Object.prototype.hasOwnProperty.call(t,r)},e.p="",e(e.s=68)}([function(t,r,e){var n=e(41),o="object"==typeof self&&self&&self.Object===Object&&self,u=n||o||Function("return this")();t.exports=u},function(t,r){t.exports=function(t){return null!=t&&"object"==typeof t}},function(t,r){t.exports=function(t){var r=typeof t;return null!=t&&("object"==r||"function"==r)}},function(t,r,e){var n=e(88),o=e(91);t.exports=function(t,r){var e=o(t,r);return n(e)?e:void 0}},function(t,r){var e=Array.isArray;t.exports=e},function(t,r,e){var n=e(6),o=e(75),u=e(76),i="[object Null]",c="[object Undefined]",a=n?n.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?c:i:a&&a in Object(t)?o(t):u(t)}},function(t,r,e){var n=e(0).Symbol;t.exports=n},function(t,r){t.exports=function(t,r){return t===r||t!=t&&r!=r}},function(t,r,e){var n=e(62),o=e(34);t.exports=function(t,r,e,u){var i=!e;e||(e={});for(var c=-1,a=r.length;++c<a;){var f=r[c],s=u?u(e[f],t[f],f,e,t):void 0;void 0===s&&(s=t[f]),i?o(e,f,s):n(e,f,s)}return e}},function(t,r,e){var n=e(40),o=e(130),u=e(13);t.exports=function(t){return u(t)?n(t,!0):o(t)}},function(t,r,e){var n=e(40),o=e(79),u=e(13);t.exports=function(t){return u(t)?n(t):o(t)}},function(t,r,e){(function(t){var n=e(0),o=e(77),u="object"==typeof r&&r&&!r.nodeType&&r,i=u&&"object"==typeof t&&t&&!t.nodeType&&t,c=i&&i.exports===u?n.Buffer:void 0,a=(c?c.isBuffer:void 0)||o;t.exports=a}).call(this,e(21)(t))},function(t,r){t.exports=function(t){return function(r){return t(r)}}},function(t,r,e){var n=e(14),o=e(43);t.exports=function(t){return null!=t&&o(t.length)&&!n(t)}},function(t,r,e){var n=e(5),o=e(2),u="[object AsyncFunction]",i="[object Function]",c="[object GeneratorFunction]",a="[object Proxy]";t.exports=function(t){if(!o(t))return!1;var r=n(t);return r==i||r==c||r==u||r==a}},function(t,r,e){var n=e(3)(Object,"create");t.exports=n},function(t,r,e){var n=e(101),o=e(102),u=e(103),i=e(104),c=e(105);function a(t){var r=-1,e=null==t?0:t.length;for(this.clear();++r<e;){var n=t[r];this.set(n[0],n[1])}}a.prototype.clear=n,a.prototype.delete=o,a.prototype.get=u,a.prototype.has=i,a.prototype.set=c,t.exports=a},function(t,r,e){var n=e(7);t.exports=function(t,r){for(var e=t.length;e--;)if(n(t[e][0],r))return e;return-1}},function(t,r,e){var n=e(107);t.exports=function(t,r){var e=t.__data__;return n(r)?e["string"==typeof r?"string":"hash"]:e.map}},function(t,r,e){var n=e(145),o=e(28),u=e(146),i=e(52),c=e(147),a=e(5),f=e(48),s=f(n),l=f(o),p=f(u),v=f(i),d=f(c),y=a;(n&&"[object DataView]"!=y(new n(new ArrayBuffer(1)))||o&&"[object Map]"!=y(new o)||u&&"[object Promise]"!=y(u.resolve())||i&&"[object Set]"!=y(new i)||c&&"[object WeakMap]"!=y(new c))&&(y=function(t){var r=a(t),e="[object Object]"==r?t.constructor:void 0,n=e?f(e):"";if(n)switch(n){case s:return"[object DataView]";case l:return"[object Map]";case p:return"[object Promise]";case v:return"[object Set]";case d:return"[object WeakMap]"}return r}),t.exports=y},function(t,r,e){var n=e(73),o=e(1),u=Object.prototype,i=u.hasOwnProperty,c=u.propertyIsEnumerable,a=n(function(){return arguments}())?n:function(t){return o(t)&&i.call(t,"callee")&&!c.call(t,"callee")};t.exports=a},function(t,r){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},function(t,r,e){var n=e(78),o=e(12),u=e(23),i=u&&u.isTypedArray,c=i?o(i):n;t.exports=c},function(t,r,e){(function(t){var n=e(41),o="object"==typeof r&&r&&!r.nodeType&&r,u=o&&"object"==typeof t&&t&&!t.nodeType&&t,i=u&&u.exports===o&&n.process,c=function(){try{var t=u&&u.require&&u.require("util").types;return t||i&&i.binding&&i.binding("util")}catch(t){}}();t.exports=c}).call(this,e(21)(t))},function(t,r){var e=Object.prototype;t.exports=function(t){var r=t&&t.constructor;return t===("function"==typeof r&&r.prototype||e)}},function(t,r){t.exports=function(t,r){for(var e=-1,n=r.length,o=t.length;++e<n;)t[o+e]=r[e];return t}},function(t,r,e){var n=e(46),o=e(83),u=e(85);t.exports=function(t,r){return u(o(t,r,n),t+"")}},function(t,r,e){var n=e(49),o=e(111),u=e(112);function i(t){var r=-1,e=null==t?0:t.length;for(this.__data__=new n;++r<e;)this.add(t[r])}i.prototype.add=i.prototype.push=o,i.prototype.has=u,t.exports=i},function(t,r,e){var n=e(3)(e(0),"Map");t.exports=n},function(t,r){t.exports=function(t,r){return t.has(r)}},function(t,r){t.exports=function(t){var r=-1,e=Array(t.size);return t.forEach(function(t){e[++r]=t}),e}},function(t,r,e){var n=e(13),o=e(1);t.exports=function(t){return o(t)&&n(t)}},function(t,r,e){var n=e(119),o=e(132)(function(t,r,e,o){n(t,r,e,o)});t.exports=o},function(t,r,e){var n=e(16),o=e(120),u=e(121),i=e(122),c=e(123),a=e(124);function f(t){var r=this.__data__=new n(t);this.size=r.size}f.prototype.clear=o,f.prototype.delete=u,f.prototype.get=i,f.prototype.has=c,f.prototype.set=a,t.exports=f},function(t,r,e){var n=e(47);t.exports=function(t,r,e){"__proto__"==r&&n?n(t,r,{configurable:!0,enumerable:!0,value:e,writable:!0}):t[r]=e}},function(t,r,e){var n=e(57);t.exports=function(t){var r=new t.constructor(t.byteLength);return new n(r).set(new n(t)),r}},function(t,r,e){var n=e(44)(Object.getPrototypeOf,Object);t.exports=n},function(t,r,e){var n=e(134),o=e(45),u=e(26),i=e(31),c=e(53),a=u(function(t,r){var e=c(r);return i(e)&&(e=void 0),i(t)?n(t,o(r,1,i,!0),void 0,e):[]});t.exports=a},function(t,r,e){var n=e(142),o=e(63),u=Object.prototype.propertyIsEnumerable,i=Object.getOwnPropertySymbols,c=i?function(t){return null==t?[]:(t=Object(t),n(i(t),function(r){return u.call(t,r)}))}:o;t.exports=c},function(t,r){t.exports=function(t,r){for(var e=-1,n=null==t?0:t.length,o=Array(n);++e<n;)o[e]=r(t[e],e,t);return o}},function(t,r,e){var n=e(72),o=e(20),u=e(4),i=e(11),c=e(42),a=e(22),f=Object.prototype.hasOwnProperty;t.exports=function(t,r){var e=u(t),s=!e&&o(t),l=!e&&!s&&i(t),p=!e&&!s&&!l&&a(t),v=e||s||l||p,d=v?n(t.length,String):[],y=d.length;for(var h in t)!r&&!f.call(t,h)||v&&("length"==h||l&&("offset"==h||"parent"==h)||p&&("buffer"==h||"byteLength"==h||"byteOffset"==h)||c(h,y))||d.push(h);return d}},function(t,r,e){(function(r){var e="object"==typeof r&&r&&r.Object===Object&&r;t.exports=e}).call(this,e(74))},function(t,r){var e=9007199254740991,n=/^(?:0|[1-9]\d*)$/;t.exports=function(t,r){var o=typeof t;return!!(r=null==r?e:r)&&("number"==o||"symbol"!=o&&n.test(t))&&t>-1&&t%1==0&&t<r}},function(t,r){var e=9007199254740991;t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=e}},function(t,r){t.exports=function(t,r){return function(e){return t(r(e))}}},function(t,r,e){var n=e(25),o=e(82);t.exports=function t(r,e,u,i,c){var a=-1,f=r.length;for(u||(u=o),c||(c=[]);++a<f;){var s=r[a];e>0&&u(s)?e>1?t(s,e-1,u,i,c):n(c,s):i||(c[c.length]=s)}return c}},function(t,r){t.exports=function(t){return t}},function(t,r,e){var n=e(3),o=function(){try{var t=n(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=o},function(t,r){var e=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return e.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},function(t,r,e){var n=e(94),o=e(106),u=e(108),i=e(109),c=e(110);function a(t){var r=-1,e=null==t?0:t.length;for(this.clear();++r<e;){var n=t[r];this.set(n[0],n[1])}}a.prototype.clear=n,a.prototype.delete=o,a.prototype.get=u,a.prototype.has=i,a.prototype.set=c,t.exports=a},function(t,r,e){var n=e(113);t.exports=function(t,r){return!(null==t||!t.length)&&n(t,r,0)>-1}},function(t,r){t.exports=function(t,r,e){for(var n=-1,o=null==t?0:t.length;++n<o;)if(e(r,t[n]))return!0;return!1}},function(t,r,e){var n=e(3)(e(0),"Set");t.exports=n},function(t,r){t.exports=function(t){var r=null==t?0:t.length;return r?t[r-1]:void 0}},function(t,r,e){var n=e(34),o=e(7);t.exports=function(t,r,e){(void 0===e||o(t[r],e))&&(void 0!==e||r in t)||n(t,r,e)}},function(t,r,e){(function(t){var n=e(0),o="object"==typeof r&&r&&!r.nodeType&&r,u=o&&"object"==typeof t&&t&&!t.nodeType&&t,i=u&&u.exports===o?n.Buffer:void 0,c=i?i.allocUnsafe:void 0;t.exports=function(t,r){if(r)return t.slice();var e=t.length,n=c?c(e):new t.constructor(e);return t.copy(n),n}}).call(this,e(21)(t))},function(t,r,e){var n=e(35);t.exports=function(t,r){var e=r?n(t.buffer):t.buffer;return new t.constructor(e,t.byteOffset,t.length)}},function(t,r,e){var n=e(0).Uint8Array;t.exports=n},function(t,r){t.exports=function(t,r){var e=-1,n=t.length;for(r||(r=Array(n));++e<n;)r[e]=t[e];return r}},function(t,r,e){var n=e(128),o=e(36),u=e(24);t.exports=function(t){return"function"!=typeof t.constructor||u(t)?{}:n(o(t))}},function(t,r,e){var n=e(5),o=e(36),u=e(1),i="[object Object]",c=Function.prototype,a=Object.prototype,f=c.toString,s=a.hasOwnProperty,l=f.call(Object);t.exports=function(t){if(!u(t)||n(t)!=i)return!1;var r=o(t);if(null===r)return!0;var e=s.call(r,"constructor")&&r.constructor;return"function"==typeof e&&e instanceof e&&f.call(e)==l}},function(t,r){t.exports=function(t,r){if(("constructor"!==r||"function"!=typeof t[r])&&"__proto__"!=r)return t[r]}},function(t,r,e){var n=e(34),o=e(7),u=Object.prototype.hasOwnProperty;t.exports=function(t,r,e){var i=t[r];u.call(t,r)&&o(i,e)&&(void 0!==e||r in t)||n(t,r,e)}},function(t,r){t.exports=function(){return[]}},function(t,r,e){var n=e(25),o=e(36),u=e(38),i=e(63),c=Object.getOwnPropertySymbols?function(t){for(var r=[];t;)n(r,u(t)),t=o(t);return r}:i;t.exports=c},function(t,r,e){var n=e(66),o=e(38),u=e(10);t.exports=function(t){return n(t,u,o)}},function(t,r,e){var n=e(25),o=e(4);t.exports=function(t,r,e){var u=r(t);return o(t)?u:n(u,e(t))}},function(t,r,e){var n=e(27),o=e(161),u=e(29),i=1,c=2;t.exports=function(t,r,e,a,f,s){var l=e&i,p=t.length,v=r.length;if(p!=v&&!(l&&v>p))return!1;var d=s.get(t),y=s.get(r);if(d&&y)return d==r&&y==t;var h=-1,b=!0,x=e&c?new n:void 0;for(s.set(t,r),s.set(r,t);++h<p;){var j=t[h],g=r[h];if(a)var _=l?a(g,j,h,r,t,s):a(j,g,h,t,r,s);if(void 0!==_){if(_)continue;b=!1;break}if(x){if(!o(r,function(t,r){if(!u(x,r)&&(j===t||f(j,t,e,a,s)))return x.push(r)})){b=!1;break}}else if(j!==g&&!f(j,g,e,a,s)){b=!1;break}}return s.delete(t),s.delete(r),b}},function(t,r,e){"use strict";const n=e(69),o=e(166);t.exports=n(o,{devtool:"source-map"})},function(t,r,e){"use strict";var n=s(e(70)),o=s(e(81)),u=s(e(32)),i=s(e(37)),c=s(e(135)),a=e(157),f=s(e(165));function s(t){return t&&t.__esModule?t:{default:t}}function l(t){if(Array.isArray(t)){for(var r=0,e=Array(t.length);r<t.length;r++)e[r]=t[r];return e}return Array.from(t)}function p(){for(var t=arguments.length,r=Array(t),e=0;e<t;e++)r[e]=arguments[e];return 1===r.length?Array.isArray(r[0])?u.default.apply(void 0,[{}].concat(l(r[0]),[(0,c.default)(r[0])])):r[0].customizeArray||r[0].customizeObject?function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];return Array.isArray(e[0])?u.default.apply(void 0,[{}].concat(l(e[0]),[(0,c.default)(r[0])])):u.default.apply(void 0,[{}].concat(e,[(0,c.default)(r[0])]))}:r[0]:u.default.apply(void 0,[{}].concat(r,[(0,c.default)()]))}var v=p({customizeArray:function(t,r,e){return h(e.split(".").slice(-1)[0])?(0,o.default)(t,r,a.uniteRules.bind(null,{},e)):null}});function d(t){return function(r,e,n){switch(t[n]){case"prepend":return[].concat(l(e),l(r));case"replace":return e;default:return!1}}}function y(t){return function(r,e,n){switch(t[n]){case"prepend":return(0,u.default)({},e,r,(0,c.default)());case"replace":return e;default:return!1}}}function h(t){return["preLoaders","loaders","postLoaders","rules"].indexOf(t)>=0}t.exports=p,t.exports.multiple=function(){for(var t=arguments.length,r=Array(t),e=0;e<t;e++)r[e]=arguments[e];return(0,n.default)(p(r))},t.exports.smart=v,t.exports.strategy=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return p({customizeArray:d(t),customizeObject:y(t)})},t.exports.smartStrategy=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return p({customizeArray:function(r,e,n){if(h(n.split(".").slice(-1)[0]))switch(t[n]){case"prepend":return[].concat(l((0,i.default)(e,r,function(r,e){return(0,a.uniteRules)(t,n,r,e,"prepend")})),l(r));case"replace":return e;default:return(0,o.default)(r,e,a.uniteRules.bind(null,t,n))}return d(t)(r,e,n)},customizeObject:y(t)})},t.exports.unique=f.default},function(t,r,e){var n=e(71),o=e(10);t.exports=function(t){return null==t?[]:n(t,o(t))}},function(t,r,e){var n=e(39);t.exports=function(t,r){return n(r,function(r){return t[r]})}},function(t,r){t.exports=function(t,r){for(var e=-1,n=Array(t);++e<t;)n[e]=r(e);return n}},function(t,r,e){var n=e(5),o=e(1),u="[object Arguments]";t.exports=function(t){return o(t)&&n(t)==u}},function(t,r){var e;e=function(){return this}();try{e=e||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(e=window)}t.exports=e},function(t,r,e){var n=e(6),o=Object.prototype,u=o.hasOwnProperty,i=o.toString,c=n?n.toStringTag:void 0;t.exports=function(t){var r=u.call(t,c),e=t[c];try{t[c]=void 0;var n=!0}catch(t){}var o=i.call(t);return n&&(r?t[c]=e:delete t[c]),o}},function(t,r){var e=Object.prototype.toString;t.exports=function(t){return e.call(t)}},function(t,r){t.exports=function(){return!1}},function(t,r,e){var n=e(5),o=e(43),u=e(1),i={};i["[object Float32Array]"]=i["[object Float64Array]"]=i["[object Int8Array]"]=i["[object Int16Array]"]=i["[object Int32Array]"]=i["[object Uint8Array]"]=i["[object Uint8ClampedArray]"]=i["[object Uint16Array]"]=i["[object Uint32Array]"]=!0,i["[object Arguments]"]=i["[object Array]"]=i["[object ArrayBuffer]"]=i["[object Boolean]"]=i["[object DataView]"]=i["[object Date]"]=i["[object Error]"]=i["[object Function]"]=i["[object Map]"]=i["[object Number]"]=i["[object Object]"]=i["[object RegExp]"]=i["[object Set]"]=i["[object String]"]=i["[object WeakMap]"]=!1,t.exports=function(t){return u(t)&&o(t.length)&&!!i[n(t)]}},function(t,r,e){var n=e(24),o=e(80),u=Object.prototype.hasOwnProperty;t.exports=function(t){if(!n(t))return o(t);var r=[];for(var e in Object(t))u.call(t,e)&&"constructor"!=e&&r.push(e);return r}},function(t,r,e){var n=e(44)(Object.keys,Object);t.exports=n},function(t,r,e){var n=e(45),o=e(26),u=e(93),i=e(31),c=e(53),a=o(function(t){var r=c(t);return r="function"==typeof r?r:void 0,u(n(t,1,i,!0),void 0,r)});t.exports=a},function(t,r,e){var n=e(6),o=e(20),u=e(4),i=n?n.isConcatSpreadable:void 0;t.exports=function(t){return u(t)||o(t)||!!(i&&t&&t[i])}},function(t,r,e){var n=e(84),o=Math.max;t.exports=function(t,r,e){return r=o(void 0===r?t.length-1:r,0),function(){for(var u=arguments,i=-1,c=o(u.length-r,0),a=Array(c);++i<c;)a[i]=u[r+i];i=-1;for(var f=Array(r+1);++i<r;)f[i]=u[i];return f[r]=e(a),n(t,this,f)}}},function(t,r){t.exports=function(t,r,e){switch(e.length){case 0:return t.call(r);case 1:return t.call(r,e[0]);case 2:return t.call(r,e[0],e[1]);case 3:return t.call(r,e[0],e[1],e[2])}return t.apply(r,e)}},function(t,r,e){var n=e(86),o=e(92)(n);t.exports=o},function(t,r,e){var n=e(87),o=e(47),u=e(46),i=o?function(t,r){return o(t,"toString",{configurable:!0,enumerable:!1,value:n(r),writable:!0})}:u;t.exports=i},function(t,r){t.exports=function(t){return function(){return t}}},function(t,r,e){var n=e(14),o=e(89),u=e(2),i=e(48),c=/^\[object .+?Constructor\]$/,a=Function.prototype,f=Object.prototype,s=a.toString,l=f.hasOwnProperty,p=RegExp("^"+s.call(l).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!u(t)||o(t))&&(n(t)?p:c).test(i(t))}},function(t,r,e){var n=e(90),o=function(){var t=/[^.]+$/.exec(n&&n.keys&&n.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();t.exports=function(t){return!!o&&o in t}},function(t,r,e){var n=e(0)["__core-js_shared__"];t.exports=n},function(t,r){t.exports=function(t,r){return null==t?void 0:t[r]}},function(t,r){var e=800,n=16,o=Date.now;t.exports=function(t){var r=0,u=0;return function(){var i=o(),c=n-(i-u);if(u=i,c>0){if(++r>=e)return arguments[0]}else r=0;return t.apply(void 0,arguments)}}},function(t,r,e){var n=e(27),o=e(50),u=e(51),i=e(29),c=e(117),a=e(30),f=200;t.exports=function(t,r,e){var s=-1,l=o,p=t.length,v=!0,d=[],y=d;if(e)v=!1,l=u;else if(p>=f){var h=r?null:c(t);if(h)return a(h);v=!1,l=i,y=new n}else y=r?[]:d;t:for(;++s<p;){var b=t[s],x=r?r(b):b;if(b=e||0!==b?b:0,v&&x==x){for(var j=y.length;j--;)if(y[j]===x)continue t;r&&y.push(x),d.push(b)}else l(y,x,e)||(y!==d&&y.push(x),d.push(b))}return d}},function(t,r,e){var n=e(95),o=e(16),u=e(28);t.exports=function(){this.size=0,this.__data__={hash:new n,map:new(u||o),string:new n}}},function(t,r,e){var n=e(96),o=e(97),u=e(98),i=e(99),c=e(100);function a(t){var r=-1,e=null==t?0:t.length;for(this.clear();++r<e;){var n=t[r];this.set(n[0],n[1])}}a.prototype.clear=n,a.prototype.delete=o,a.prototype.get=u,a.prototype.has=i,a.prototype.set=c,t.exports=a},function(t,r,e){var n=e(15);t.exports=function(){this.__data__=n?n(null):{},this.size=0}},function(t,r){t.exports=function(t){var r=this.has(t)&&delete this.__data__[t];return this.size-=r?1:0,r}},function(t,r,e){var n=e(15),o="__lodash_hash_undefined__",u=Object.prototype.hasOwnProperty;t.exports=function(t){var r=this.__data__;if(n){var e=r[t];return e===o?void 0:e}return u.call(r,t)?r[t]:void 0}},function(t,r,e){var n=e(15),o=Object.prototype.hasOwnProperty;t.exports=function(t){var r=this.__data__;return n?void 0!==r[t]:o.call(r,t)}},function(t,r,e){var n=e(15),o="__lodash_hash_undefined__";t.exports=function(t,r){var e=this.__data__;return this.size+=this.has(t)?0:1,e[t]=n&&void 0===r?o:r,this}},function(t,r){t.exports=function(){this.__data__=[],this.size=0}},function(t,r,e){var n=e(17),o=Array.prototype.splice;t.exports=function(t){var r=this.__data__,e=n(r,t);return!(e<0||(e==r.length-1?r.pop():o.call(r,e,1),--this.size,0))}},function(t,r,e){var n=e(17);t.exports=function(t){var r=this.__data__,e=n(r,t);return e<0?void 0:r[e][1]}},function(t,r,e){var n=e(17);t.exports=function(t){return n(this.__data__,t)>-1}},function(t,r,e){var n=e(17);t.exports=function(t,r){var e=this.__data__,o=n(e,t);return o<0?(++this.size,e.push([t,r])):e[o][1]=r,this}},function(t,r,e){var n=e(18);t.exports=function(t){var r=n(this,t).delete(t);return this.size-=r?1:0,r}},function(t,r){t.exports=function(t){var r=typeof t;return"string"==r||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==t:null===t}},function(t,r,e){var n=e(18);t.exports=function(t){return n(this,t).get(t)}},function(t,r,e){var n=e(18);t.exports=function(t){return n(this,t).has(t)}},function(t,r,e){var n=e(18);t.exports=function(t,r){var e=n(this,t),o=e.size;return e.set(t,r),this.size+=e.size==o?0:1,this}},function(t,r){var e="__lodash_hash_undefined__";t.exports=function(t){return this.__data__.set(t,e),this}},function(t,r){t.exports=function(t){return this.__data__.has(t)}},function(t,r,e){var n=e(114),o=e(115),u=e(116);t.exports=function(t,r,e){return r==r?u(t,r,e):n(t,o,e)}},function(t,r){t.exports=function(t,r,e,n){for(var o=t.length,u=e+(n?1:-1);n?u--:++u<o;)if(r(t[u],u,t))return u;return-1}},function(t,r){t.exports=function(t){return t!=t}},function(t,r){t.exports=function(t,r,e){for(var n=e-1,o=t.length;++n<o;)if(t[n]===r)return n;return-1}},function(t,r,e){var n=e(52),o=e(118),u=e(30),i=n&&1/u(new n([,-0]))[1]==1/0?function(t){return new n(t)}:o;t.exports=i},function(t,r){t.exports=function(){}},function(t,r,e){var n=e(33),o=e(54),u=e(125),i=e(127),c=e(2),a=e(9),f=e(61);t.exports=function t(r,e,s,l,p){r!==e&&u(e,function(u,a){if(p||(p=new n),c(u))i(r,e,a,s,t,l,p);else{var v=l?l(f(r,a),u,a+"",r,e,p):void 0;void 0===v&&(v=u),o(r,a,v)}},a)}},function(t,r,e){var n=e(16);t.exports=function(){this.__data__=new n,this.size=0}},function(t,r){t.exports=function(t){var r=this.__data__,e=r.delete(t);return this.size=r.size,e}},function(t,r){t.exports=function(t){return this.__data__.get(t)}},function(t,r){t.exports=function(t){return this.__data__.has(t)}},function(t,r,e){var n=e(16),o=e(28),u=e(49),i=200;t.exports=function(t,r){var e=this.__data__;if(e instanceof n){var c=e.__data__;if(!o||c.length<i-1)return c.push([t,r]),this.size=++e.size,this;e=this.__data__=new u(c)}return e.set(t,r),this.size=e.size,this}},function(t,r,e){var n=e(126)();t.exports=n},function(t,r){t.exports=function(t){return function(r,e,n){for(var o=-1,u=Object(r),i=n(r),c=i.length;c--;){var a=i[t?c:++o];if(!1===e(u[a],a,u))break}return r}}},function(t,r,e){var n=e(54),o=e(55),u=e(56),i=e(58),c=e(59),a=e(20),f=e(4),s=e(31),l=e(11),p=e(14),v=e(2),d=e(60),y=e(22),h=e(61),b=e(129);t.exports=function(t,r,e,x,j,g,_){var m=h(t,e),w=h(r,e),A=_.get(w);if(A)n(t,e,A);else{var O=g?g(m,w,e+"",t,r,_):void 0,S=void 0===O;if(S){var z=f(w),P=!z&&l(w),M=!z&&!P&&y(w);O=w,z||P||M?f(m)?O=m:s(m)?O=i(m):P?(S=!1,O=o(w,!0)):M?(S=!1,O=u(w,!0)):O=[]:d(w)||a(w)?(O=m,a(m)?O=b(m):v(m)&&!p(m)||(O=c(w))):S=!1}S&&(_.set(w,O),j(O,w,x,g,_),_.delete(w)),n(t,e,O)}}},function(t,r,e){var n=e(2),o=Object.create,u=function(){function t(){}return function(r){if(!n(r))return{};if(o)return o(r);t.prototype=r;var e=new t;return t.prototype=void 0,e}}();t.exports=u},function(t,r,e){var n=e(8),o=e(9);t.exports=function(t){return n(t,o(t))}},function(t,r,e){var n=e(2),o=e(24),u=e(131),i=Object.prototype.hasOwnProperty;t.exports=function(t){if(!n(t))return u(t);var r=o(t),e=[];for(var c in t)("constructor"!=c||!r&&i.call(t,c))&&e.push(c);return e}},function(t,r){t.exports=function(t){var r=[];if(null!=t)for(var e in Object(t))r.push(e);return r}},function(t,r,e){var n=e(26),o=e(133);t.exports=function(t){return n(function(r,e){var n=-1,u=e.length,i=u>1?e[u-1]:void 0,c=u>2?e[2]:void 0;for(i=t.length>3&&"function"==typeof i?(u--,i):void 0,c&&o(e[0],e[1],c)&&(i=u<3?void 0:i,u=1),r=Object(r);++n<u;){var a=e[n];a&&t(r,a,n,i)}return r})}},function(t,r,e){var n=e(7),o=e(13),u=e(42),i=e(2);t.exports=function(t,r,e){if(!i(e))return!1;var c=typeof r;return!!("number"==c?o(e)&&u(r,e.length):"string"==c&&r in e)&&n(e[r],t)}},function(t,r,e){var n=e(27),o=e(50),u=e(51),i=e(39),c=e(12),a=e(29),f=200;t.exports=function(t,r,e,s){var l=-1,p=o,v=!0,d=t.length,y=[],h=r.length;if(!d)return y;e&&(r=i(r,c(e))),s?(p=u,v=!1):r.length>=f&&(p=a,v=!1,r=new n(r));t:for(;++l<d;){var b=t[l],x=null==e?b:e(b);if(b=s||0!==b?b:0,v&&x==x){for(var j=h;j--;)if(r[j]===x)continue t;y.push(b)}else p(r,x,s)||y.push(b)}return y}},function(t,r,e){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=c(e(32)),o=c(e(60)),u=c(e(14)),i=c(e(136));function c(t){return t&&t.__esModule?t:{default:t}}function a(t){if(Array.isArray(t)){for(var r=0,e=Array(t.length);r<t.length;r++)e[r]=t[r];return e}return Array.from(t)}r.default=function t(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=r.customizeArray,c=r.customizeObject,s=r.key;return function r(l,p,v){var d=s?s+"."+v:v;if((0,u.default)(l)&&(0,u.default)(p))return function(){return r(l.apply(void 0,arguments),p.apply(void 0,arguments),v)};if(f(l)&&f(p)){var y=e&&e(l,p,d);return y||[].concat(a(l),a(p))}if((0,o.default)(l)&&(0,o.default)(p)){var h=c&&c(l,p,d);return h||(0,n.default)({},l,p,t({customizeArray:e,customizeObject:c,key:d}))}return(0,o.default)(p)?(0,i.default)(p):p}};var f=Array.isArray},function(t,r,e){var n=e(137),o=1,u=4;t.exports=function(t){return n(t,o|u)}},function(t,r,e){var n=e(33),o=e(138),u=e(62),i=e(139),c=e(140),a=e(55),f=e(58),s=e(141),l=e(143),p=e(65),v=e(144),d=e(19),y=e(148),h=e(149),b=e(59),x=e(4),j=e(11),g=e(153),_=e(2),m=e(155),w=e(10),A=e(9),O=1,S=2,z=4,P="[object Arguments]",M="[object Function]",T="[object GeneratorFunction]",E="[object Object]",k={};k[P]=k["[object Array]"]=k["[object ArrayBuffer]"]=k["[object DataView]"]=k["[object Boolean]"]=k["[object Date]"]=k["[object Float32Array]"]=k["[object Float64Array]"]=k["[object Int8Array]"]=k["[object Int16Array]"]=k["[object Int32Array]"]=k["[object Map]"]=k["[object Number]"]=k[E]=k["[object RegExp]"]=k["[object Set]"]=k["[object String]"]=k["[object Symbol]"]=k["[object Uint8Array]"]=k["[object Uint8ClampedArray]"]=k["[object Uint16Array]"]=k["[object Uint32Array]"]=!0,k["[object Error]"]=k[M]=k["[object WeakMap]"]=!1,t.exports=function t(r,e,F,I,U,L){var D,$=e&O,B=e&S,R=e&z;if(F&&(D=U?F(r,I,U,L):F(r)),void 0!==D)return D;if(!_(r))return r;var q=x(r);if(q){if(D=y(r),!$)return f(r,D)}else{var C=d(r),V=C==M||C==T;if(j(r))return a(r,$);if(C==E||C==P||V&&!U){if(D=B||V?{}:b(r),!$)return B?l(r,c(D,r)):s(r,i(D,r))}else{if(!k[C])return U?r:{};D=h(r,C,$)}}L||(L=new n);var N=L.get(r);if(N)return N;L.set(r,D),m(r)?r.forEach(function(n){D.add(t(n,e,F,n,r,L))}):g(r)&&r.forEach(function(n,o){D.set(o,t(n,e,F,o,r,L))});var W=q?void 0:(R?B?v:p:B?A:w)(r);return o(W||r,function(n,o){W&&(n=r[o=n]),u(D,o,t(n,e,F,o,r,L))}),D}},function(t,r){t.exports=function(t,r){for(var e=-1,n=null==t?0:t.length;++e<n&&!1!==r(t[e],e,t););return t}},function(t,r,e){var n=e(8),o=e(10);t.exports=function(t,r){return t&&n(r,o(r),t)}},function(t,r,e){var n=e(8),o=e(9);t.exports=function(t,r){return t&&n(r,o(r),t)}},function(t,r,e){var n=e(8),o=e(38);t.exports=function(t,r){return n(t,o(t),r)}},function(t,r){t.exports=function(t,r){for(var e=-1,n=null==t?0:t.length,o=0,u=[];++e<n;){var i=t[e];r(i,e,t)&&(u[o++]=i)}return u}},function(t,r,e){var n=e(8),o=e(64);t.exports=function(t,r){return n(t,o(t),r)}},function(t,r,e){var n=e(66),o=e(64),u=e(9);t.exports=function(t){return n(t,u,o)}},function(t,r,e){var n=e(3)(e(0),"DataView");t.exports=n},function(t,r,e){var n=e(3)(e(0),"Promise");t.exports=n},function(t,r,e){var n=e(3)(e(0),"WeakMap");t.exports=n},function(t,r){var e=Object.prototype.hasOwnProperty;t.exports=function(t){var r=t.length,n=new t.constructor(r);return r&&"string"==typeof t[0]&&e.call(t,"index")&&(n.index=t.index,n.input=t.input),n}},function(t,r,e){var n=e(35),o=e(150),u=e(151),i=e(152),c=e(56),a="[object Boolean]",f="[object Date]",s="[object Map]",l="[object Number]",p="[object RegExp]",v="[object Set]",d="[object String]",y="[object Symbol]",h="[object ArrayBuffer]",b="[object DataView]",x="[object Float32Array]",j="[object Float64Array]",g="[object Int8Array]",_="[object Int16Array]",m="[object Int32Array]",w="[object Uint8Array]",A="[object Uint8ClampedArray]",O="[object Uint16Array]",S="[object Uint32Array]";t.exports=function(t,r,e){var z=t.constructor;switch(r){case h:return n(t);case a:case f:return new z(+t);case b:return o(t,e);case x:case j:case g:case _:case m:case w:case A:case O:case S:return c(t,e);case s:return new z;case l:case d:return new z(t);case p:return u(t);case v:return new z;case y:return i(t)}}},function(t,r,e){var n=e(35);t.exports=function(t,r){var e=r?n(t.buffer):t.buffer;return new t.constructor(e,t.byteOffset,t.byteLength)}},function(t,r){var e=/\w*$/;t.exports=function(t){var r=new t.constructor(t.source,e.exec(t));return r.lastIndex=t.lastIndex,r}},function(t,r,e){var n=e(6),o=n?n.prototype:void 0,u=o?o.valueOf:void 0;t.exports=function(t){return u?Object(u.call(t)):{}}},function(t,r,e){var n=e(154),o=e(12),u=e(23),i=u&&u.isMap,c=i?o(i):n;t.exports=c},function(t,r,e){var n=e(19),o=e(1),u="[object Map]";t.exports=function(t){return o(t)&&n(t)==u}},function(t,r,e){var n=e(156),o=e(12),u=e(23),i=u&&u.isSet,c=i?o(i):n;t.exports=c},function(t,r,e){var n=e(19),o=e(1),u="[object Set]";t.exports=function(t){return o(t)&&n(t)==u}},function(t,r,e){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.uniteEntries=r.uniteRules=void 0;var n=c(e(37)),o=c(e(32)),u=c(e(158)),i=function(){return function(t,r){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,r){var e=[],n=!0,o=!1,u=void 0;try{for(var i,c=t[Symbol.iterator]();!(n=(i=c.next()).done)&&(e.push(i.value),!r||e.length!==r);n=!0);}catch(t){o=!0,u=t}finally{try{!n&&c.return&&c.return()}finally{if(o)throw u}}return e}(t,r);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();function c(t){return t&&t.__esModule?t:{default:t}}function a(t){if(Array.isArray(t)){for(var r=0,e=Array(t.length);r<t.length;r++)e[r]=t[r];return e}return Array.from(t)}var f=Array.isArray;function s(t,r){var e=[t,r].map(function(t){return f(t)?[].concat(a(t)).sort():t}),n=i(e,2),o=n[0],c=n[1];return(0,u.default)(o,c)}function l(t,r){var e=/^([^?]+)/gi,n=r.loader.match(e),o=i(n,1)[0],u=t.loader.match(e);return o===i(u,1)[0]}function p(t,r){return!!l(t,r)&&((0,o.default)(r,t),!0)}function v(t,r,e,n){for(var o=n=n||t.length-1;o>=0;o-=1)if(l(r,t[o]))return o;return-1}r.uniteRules=function(t,r,e,o){if(String(o.test)!==String(e.test)||(e.enforce||o.enforce)&&o.enforce!==e.enforce||e.include&&!s(o.include,e.include)||e.exclude&&!s(o.exclude,e.exclude))return!1;if(!(o.test||o.include||o.exclude||(o.loader&&o.loader.split("?")[0])===(e.loader&&e.loader.split("?")[0])))return!1;if((o.include||o.exclude)&&!e.include&&!e.exclude)return!1;if(e.loader){var u=e.options?"options":e.query&&"query";delete o.use,delete o.loaders,o.loader=e.loader,u&&(o[u]=e[u])}else if((o.use||o.loaders||o.loader)&&(e.use||e.loaders)){var i=function(t){return"string"==typeof t?{loader:t}:t},c=function(t){return t.options||t.query?t:t.loader},f=void 0;if(o.loader){var l=o.options?"options":o.query&&"query";f=[{loader:o.loader}],l&&(f[0][l]=o[l]),delete o.loader,l&&delete o[l]}else f=[].concat(o.use||o.loaders).map(i);var d=[].concat(e.use||e.loaders).map(i),y=o.use||e.use?"use":"loaders";switch(t[r+"."+y]){case"prepend":o[y]=[].concat(a((0,n.default)(d,f,p)),a(f)).map(c);break;case"replace":o[y]=e.use||e.loaders;break;default:o[y]=function(t,r){for(var e=[],n=r.length-1,o=t.length-1;o>=0;o-=1){var u=t[o],i=v(r,u,0,n),c=-1!==i;if(c){for(var a=n;a>i;a-=1){var f=r[a],s=-1!==v(t,f,0,o);s||e.unshift(f),n-=1}p(u,r[n]),e.unshift(r[n]),n-=1}else{var l=-1!==v(e,u);l||e.unshift(u)}}for(;n>=0;n-=1){var d=r[n],y=-1!==v(e,d);y||e.unshift(d)}return e}(d,f).map(c)}}return e.include&&(o.include=e.include),e.exclude&&(o.exclude=e.exclude),!0},r.uniteEntries=p},function(t,r,e){var n=e(159);t.exports=function(t,r){return n(t,r)}},function(t,r,e){var n=e(160),o=e(1);t.exports=function t(r,e,u,i,c){return r===e||(null==r||null==e||!o(r)&&!o(e)?r!=r&&e!=e:n(r,e,u,i,t,c))}},function(t,r,e){var n=e(33),o=e(67),u=e(162),i=e(164),c=e(19),a=e(4),f=e(11),s=e(22),l=1,p="[object Arguments]",v="[object Array]",d="[object Object]",y=Object.prototype.hasOwnProperty;t.exports=function(t,r,e,h,b,x){var j=a(t),g=a(r),_=j?v:c(t),m=g?v:c(r),w=(_=_==p?d:_)==d,A=(m=m==p?d:m)==d,O=_==m;if(O&&f(t)){if(!f(r))return!1;j=!0,w=!1}if(O&&!w)return x||(x=new n),j||s(t)?o(t,r,e,h,b,x):u(t,r,_,e,h,b,x);if(!(e&l)){var S=w&&y.call(t,"__wrapped__"),z=A&&y.call(r,"__wrapped__");if(S||z){var P=S?t.value():t,M=z?r.value():r;return x||(x=new n),b(P,M,e,h,x)}}return!!O&&(x||(x=new n),i(t,r,e,h,b,x))}},function(t,r){t.exports=function(t,r){for(var e=-1,n=null==t?0:t.length;++e<n;)if(r(t[e],e,t))return!0;return!1}},function(t,r,e){var n=e(6),o=e(57),u=e(7),i=e(67),c=e(163),a=e(30),f=1,s=2,l="[object Boolean]",p="[object Date]",v="[object Error]",d="[object Map]",y="[object Number]",h="[object RegExp]",b="[object Set]",x="[object String]",j="[object Symbol]",g="[object ArrayBuffer]",_="[object DataView]",m=n?n.prototype:void 0,w=m?m.valueOf:void 0;t.exports=function(t,r,e,n,m,A,O){switch(e){case _:if(t.byteLength!=r.byteLength||t.byteOffset!=r.byteOffset)return!1;t=t.buffer,r=r.buffer;case g:return!(t.byteLength!=r.byteLength||!A(new o(t),new o(r)));case l:case p:case y:return u(+t,+r);case v:return t.name==r.name&&t.message==r.message;case h:case x:return t==r+"";case d:var S=c;case b:var z=n&f;if(S||(S=a),t.size!=r.size&&!z)return!1;var P=O.get(t);if(P)return P==r;n|=s,O.set(t,r);var M=i(S(t),S(r),n,m,A,O);return O.delete(t),M;case j:if(w)return w.call(t)==w.call(r)}return!1}},function(t,r){t.exports=function(t){var r=-1,e=Array(t.size);return t.forEach(function(t,n){e[++r]=[n,t]}),e}},function(t,r,e){var n=e(65),o=1,u=Object.prototype.hasOwnProperty;t.exports=function(t,r,e,i,c,a){var f=e&o,s=n(t),l=s.length;if(l!=n(r).length&&!f)return!1;for(var p=l;p--;){var v=s[p];if(!(f?v in r:u.call(r,v)))return!1}var d=a.get(t),y=a.get(r);if(d&&y)return d==r&&y==t;var h=!0;a.set(t,r),a.set(r,t);for(var b=f;++p<l;){var x=t[v=s[p]],j=r[v];if(i)var g=f?i(j,x,v,r,t,a):i(x,j,v,t,r,a);if(!(void 0===g?x===j||c(x,j,e,i,a):g)){h=!1;break}b||(b="constructor"==v)}if(h&&!b){var _=t.constructor,m=r.constructor;_!=m&&"constructor"in t&&"constructor"in r&&!("function"==typeof _&&_ instanceof _&&"function"==typeof m&&m instanceof m)&&(h=!1)}return a.delete(t),a.delete(r),h}},function(t,r,e){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=function(t){return t&&t.__esModule?t:{default:t}}(e(37));function o(t){if(Array.isArray(t)){for(var r=0,e=Array(t.length);r<t.length;r++)e[r]=t[r];return e}return Array.from(t)}r.default=function(t,r){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(t){return t};return function(u,i,c){return c===t&&[].concat(o(u),o((0,n.default)(i,u,function(t){return r.indexOf(e(t))>=0})))}}},function(t,r,e){"use strict";(function(r){const n=e(167);t.exports={devtool:"source-map",context:r,entry:"./index.js",output:{path:n.resolve(r,"build"),filename:"haven-core.js",library:"haven_core_js",libraryTarget:"umd"},cache:!1,resolve:{alias:{fs:"html5-fs"},extensions:[".js",".jsx",".wasm",".css",".json","otf","ttf","eot","svg"],modules:["node_modules"]},stats:{colors:!0},module:{rules:[{test:/\.(otf|ttf|eot|svg)(\?v=[0-9]\.[0-9]\.[0-9])?$/,use:[{loader:"file-loader"}]},{test:/\.css$/,use:[{loader:"style!css!postcss"}]},{test:/\.styl$/,use:[{loader:"style!css!postcss!stylus?paths=node_modules"}]},{test:/\.js$/,exclude:{test:[n.join(r,"node_modules")],exclude:["monero_utils/MyMoneroCoreCpp_ASMJS.asm.js","monero_utils/MyMoneroCoreCpp_ASMJS.wasm"]},use:[{loader:"babel-loader",options:{cacheDirectory:!1}}]}]},externals:[function(){var t=["electron"];return function(r,e,n){return t.indexOf(e)>=0?n(null,"require('"+e+"')"):n()}}()]}}).call(this,"/")},function(t,r,e){(function(t){function e(t,r){for(var e=0,n=t.length-1;n>=0;n--){var o=t[n];"."===o?t.splice(n,1):".."===o?(t.splice(n,1),e++):e&&(t.splice(n,1),e--)}if(r)for(;e--;e)t.unshift("..");return t}var n=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,o=function(t){return n.exec(t).slice(1)};function u(t,r){if(t.filter)return t.filter(r);for(var e=[],n=0;n<t.length;n++)r(t[n],n,t)&&e.push(t[n]);return e}r.resolve=function(){for(var r="",n=!1,o=arguments.length-1;o>=-1&&!n;o--){var i=o>=0?arguments[o]:t.cwd();if("string"!=typeof i)throw new TypeError("Arguments to path.resolve must be strings");i&&(r=i+"/"+r,n="/"===i.charAt(0))}return r=e(u(r.split("/"),function(t){return!!t}),!n).join("/"),(n?"/":"")+r||"."},r.normalize=function(t){var n=r.isAbsolute(t),o="/"===i(t,-1);return(t=e(u(t.split("/"),function(t){return!!t}),!n).join("/"))||n||(t="."),t&&o&&(t+="/"),(n?"/":"")+t},r.isAbsolute=function(t){return"/"===t.charAt(0)},r.join=function(){var t=Array.prototype.slice.call(arguments,0);return r.normalize(u(t,function(t,r){if("string"!=typeof t)throw new TypeError("Arguments to path.join must be strings");return t}).join("/"))},r.relative=function(t,e){function n(t){for(var r=0;r<t.length&&""===t[r];r++);for(var e=t.length-1;e>=0&&""===t[e];e--);return r>e?[]:t.slice(r,e-r+1)}t=r.resolve(t).substr(1),e=r.resolve(e).substr(1);for(var o=n(t.split("/")),u=n(e.split("/")),i=Math.min(o.length,u.length),c=i,a=0;a<i;a++)if(o[a]!==u[a]){c=a;break}var f=[];for(a=c;a<o.length;a++)f.push("..");return(f=f.concat(u.slice(c))).join("/")},r.sep="/",r.delimiter=":",r.dirname=function(t){var r=o(t),e=r[0],n=r[1];return e||n?(n&&(n=n.substr(0,n.length-1)),e+n):"."},r.basename=function(t,r){var e=o(t)[2];return r&&e.substr(-1*r.length)===r&&(e=e.substr(0,e.length-r.length)),e},r.extname=function(t){return o(t)[3]};var i="b"==="ab".substr(-1)?function(t,r,e){return t.substr(r,e)}:function(t,r,e){return r<0&&(r=t.length+r),t.substr(r,e)}}).call(this,e(168))},function(t,r){var e,n,o=t.exports={};function u(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function c(t){if(e===setTimeout)return setTimeout(t,0);if((e===u||!e)&&setTimeout)return e=setTimeout,setTimeout(t,0);try{return e(t,0)}catch(r){try{return e.call(null,t,0)}catch(r){return e.call(this,t,0)}}}!function(){try{e="function"==typeof setTimeout?setTimeout:u}catch(t){e=u}try{n="function"==typeof clearTimeout?clearTimeout:i}catch(t){n=i}}();var a,f=[],s=!1,l=-1;function p(){s&&a&&(s=!1,a.length?f=a.concat(f):l=-1,f.length&&v())}function v(){if(!s){var t=c(p);s=!0;for(var r=f.length;r;){for(a=f,f=[];++l<r;)a&&a[l].run();l=-1,r=f.length}a=null,s=!1,function(t){if(n===clearTimeout)return clearTimeout(t);if((n===i||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(t);try{n(t)}catch(r){try{return n.call(null,t)}catch(r){return n.call(this,t)}}}(t)}}function d(t,r){this.fun=t,this.array=r}function y(){}o.nextTick=function(t){var r=new Array(arguments.length-1);if(arguments.length>1)for(var e=1;e<arguments.length;e++)r[e-1]=arguments[e];f.push(new d(t,r)),1!==f.length||s||c(v)},d.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=y,o.addListener=y,o.once=y,o.off=y,o.removeListener=y,o.removeAllListeners=y,o.emit=y,o.prependListener=y,o.prependOnceListener=y,o.listeners=function(t){return[]},o.binding=function(t){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(t){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}}]);