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

9 lines
1.1 MiB

!function(A,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("require('electron')")):"function"==typeof define&&define.amd?define(["require('electron')"],e):"object"==typeof exports?exports.mymonero_core_js=e(require("require('electron')")):A.mymonero_core_js=e(A["require('electron')"])}(window,function(__WEBPACK_EXTERNAL_MODULE__88__){return function(A){var e={};function t(n){if(e[n])return e[n].exports;var r=e[n]={i:n,l:!1,exports:{}};return A[n].call(r.exports,r,r.exports,t),r.l=!0,r.exports}return t.m=A,t.c=e,t.d=function(A,e,n){t.o(A,e)||Object.defineProperty(A,e,{enumerable:!0,get:n})},t.r=function(A){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(A,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(A,"__esModule",{value:!0})},t.t=function(A,e){if(1&e&&(A=t(A)),8&e)return A;if(4&e&&"object"==typeof A&&A&&A.__esModule)return A;var n=Object.create(null);if(t.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:A}),2&e&&"string"!=typeof A)for(var r in A)t.d(n,r,function(e){return A[e]}.bind(null,r));return n},t.n=function(A){var e=A&&A.__esModule?function(){return A.default}:function(){return A};return t.d(e,"a",e),e},t.o=function(A,e){return Object.prototype.hasOwnProperty.call(A,e)},t.p="",t(t.s=86)}([function(A,e){"function"==typeof Object.create?A.exports=function(A,e){A.super_=e,A.prototype=Object.create(e.prototype,{constructor:{value:A,enumerable:!1,writable:!0,configurable:!0}})}:A.exports=function(A,e){A.super_=e;var t=function(){};t.prototype=e.prototype,A.prototype=new t,A.prototype.constructor=A}},function(A,e,t){var n=t(2),r=n.Buffer;function i(A,e){for(var t in A)e[t]=A[t]}function a(A,e,t){return r(A,e,t)}r.from&&r.alloc&&r.allocUnsafe&&r.allocUnsafeSlow?A.exports=n:(i(n,e),e.Buffer=a),i(r,a),a.from=function(A,e,t){if("number"==typeof A)throw new TypeError("Argument must not be a number");return r(A,e,t)},a.alloc=function(A,e,t){if("number"!=typeof A)throw new TypeError("Argument must be a number");var n=r(A);return void 0!==e?"string"==typeof t?n.fill(e,t):n.fill(e):n.fill(0),n},a.allocUnsafe=function(A){if("number"!=typeof A)throw new TypeError("Argument must be a number");return r(A)},a.allocUnsafeSlow=function(A){if("number"!=typeof A)throw new TypeError("Argument must be a number");return n.SlowBuffer(A)}},function(A,e,t){"use strict";(function(A){
/*!
* The buffer module from node.js, for the browser.
*
* @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
* @license MIT
*/
var n=t(91),r=t(92),i=t(45);function a(){return c.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function o(A,e){if(a()<e)throw new RangeError("Invalid typed array length");return c.TYPED_ARRAY_SUPPORT?(A=new Uint8Array(e)).__proto__=c.prototype:(null===A&&(A=new c(e)),A.length=e),A}function c(A,e,t){if(!(c.TYPED_ARRAY_SUPPORT||this instanceof c))return new c(A,e,t);if("number"==typeof A){if("string"==typeof e)throw new Error("If encoding is specified then the first argument must be a string");return d(this,A)}return s(this,A,e,t)}function s(A,e,t,n){if("number"==typeof e)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer?function(A,e,t,n){if(e.byteLength,t<0||e.byteLength<t)throw new RangeError("'offset' is out of bounds");if(e.byteLength<t+(n||0))throw new RangeError("'length' is out of bounds");e=void 0===t&&void 0===n?new Uint8Array(e):void 0===n?new Uint8Array(e,t):new Uint8Array(e,t,n);c.TYPED_ARRAY_SUPPORT?(A=e).__proto__=c.prototype:A=u(A,e);return A}(A,e,t,n):"string"==typeof e?function(A,e,t){"string"==typeof t&&""!==t||(t="utf8");if(!c.isEncoding(t))throw new TypeError('"encoding" must be a valid string encoding');var n=0|h(e,t),r=(A=o(A,n)).write(e,t);r!==n&&(A=A.slice(0,r));return A}(A,e,t):function(A,e){if(c.isBuffer(e)){var t=0|B(e.length);return 0===(A=o(A,t)).length?A:(e.copy(A,0,0,t),A)}if(e){if("undefined"!=typeof ArrayBuffer&&e.buffer instanceof ArrayBuffer||"length"in e)return"number"!=typeof e.length||function(A){return A!=A}(e.length)?o(A,0):u(A,e);if("Buffer"===e.type&&i(e.data))return u(A,e.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(A,e)}function l(A){if("number"!=typeof A)throw new TypeError('"size" argument must be a number');if(A<0)throw new RangeError('"size" argument must not be negative')}function d(A,e){if(l(e),A=o(A,e<0?0:0|B(e)),!c.TYPED_ARRAY_SUPPORT)for(var t=0;t<e;++t)A[t]=0;return A}function u(A,e){var t=e.length<0?0:0|B(e.length);A=o(A,t);for(var n=0;n<t;n+=1)A[n]=255&e[n];return A}function B(A){if(A>=a())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a().toString(16)+" bytes");return 0|A}function h(A,e){if(c.isBuffer(A))return A.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(A)||A instanceof ArrayBuffer))return A.byteLength;"string"!=typeof A&&(A=""+A);var t=A.length;if(0===t)return 0;for(var n=!1;;)switch(e){case"ascii":case"latin1":case"binary":return t;case"utf8":case"utf-8":case void 0:return k(A).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*t;case"hex":return t>>>1;case"base64":return j(A).length;default:if(n)return k(A).length;e=(""+e).toLowerCase(),n=!0}}function b(A,e,t){var n=A[e];A[e]=A[t],A[t]=n}function f(A,e,t,n,r){if(0===A.length)return-1;if("string"==typeof t?(n=t,t=0):t>2147483647?t=2147483647:t<-2147483648&&(t=-2147483648),t=+t,isNaN(t)&&(t=r?0:A.length-1),t<0&&(t=A.length+t),t>=A.length){if(r)return-1;t=A.length-1}else if(t<0){if(!r)return-1;t=0}if("string"==typeof e&&(e=c.from(e,n)),c.isBuffer(e))return 0===e.length?-1:g(A,e,t,n,r);if("number"==typeof e)return e&=255,c.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?r?Uint8Array.prototype.indexOf.call(A,e,t):Uint8Array.prototype.lastIndexOf.call(A,e,t):g(A,[e],t,n,r);throw new TypeError("val must be string, number or Buffer")}function g(A,e,t,n,r){var i,a=1,o=A.length,c=e.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(A.length<2||e.length<2)return-1;a=2,o/=2,c/=2,t/=2}function s(A,e){return 1===a?A[e]:A.readUInt16BE(e*a)}if(r){var l=-1;for(i=t;i<o;i++)if(s(A,i)===s(e,-1===l?0:i-l)){if(-1===l&&(l=i),i-l+1===c)return l*a}else-1!==l&&(i-=i-l),l=-1}else for(t+c>o&&(t=o-c),i=t;i>=0;i--){for(var d=!0,u=0;u<c;u++)if(s(A,i+u)!==s(e,u)){d=!1;break}if(d)return i}return-1}function m(A,e,t,n){t=Number(t)||0;var r=A.length-t;n?(n=Number(n))>r&&(n=r):n=r;var i=e.length;if(i%2!=0)throw new TypeError("
//# sourceMappingURL=mymonero-core.js.map