1541 lines
110 KiB
JavaScript
1541 lines
110 KiB
JavaScript
function number(n) {
|
||
if (!Number.isSafeInteger(n) || n < 0)
|
||
throw new Error(`Wrong positive integer: ${n}`);
|
||
}
|
||
function bytes(b, ...lengths) {
|
||
if (!(b instanceof Uint8Array))
|
||
throw new Error('Expected Uint8Array');
|
||
if (lengths.length > 0 && !lengths.includes(b.length))
|
||
throw new Error(`Expected Uint8Array of length ${lengths}, not of length=${b.length}`);
|
||
}
|
||
function exists(instance, checkFinished = true) {
|
||
if (instance.destroyed)
|
||
throw new Error('Hash instance has been destroyed');
|
||
if (checkFinished && instance.finished)
|
||
throw new Error('Hash#digest() has already been called');
|
||
}
|
||
function output(out, instance) {
|
||
bytes(out);
|
||
const min = instance.outputLen;
|
||
if (out.length < min) {
|
||
throw new Error(`digestInto() expects output buffer of length at least ${min}`);
|
||
}
|
||
}
|
||
|
||
/*! noble-hashes - MIT License (c) 2022 Paul Miller (paulmillr.com) */
|
||
// We use WebCrypto aka globalThis.crypto, which exists in browsers and node.js 16+.
|
||
// node.js versions earlier than v19 don't declare it in global scope.
|
||
// For node.js, package.json#exports field mapping rewrites import
|
||
// from `crypto` to `cryptoNode`, which imports native module.
|
||
// Makes the utils un-importable in browsers without a bundler.
|
||
// Once node.js 18 is deprecated, we can just drop the import.
|
||
const u8a = (a) => a instanceof Uint8Array;
|
||
const u32 = (arr) => new Uint32Array(arr.buffer, arr.byteOffset, Math.floor(arr.byteLength / 4));
|
||
// big-endian hardware is rare. Just in case someone still decides to run hashes:
|
||
// early-throw an error because we don't support BE yet.
|
||
const isLE = new Uint8Array(new Uint32Array([0x11223344]).buffer)[0] === 0x44;
|
||
if (!isLE)
|
||
throw new Error('Non little-endian hardware is not supported');
|
||
/**
|
||
* @example utf8ToBytes('abc') // new Uint8Array([97, 98, 99])
|
||
*/
|
||
function utf8ToBytes(str) {
|
||
if (typeof str !== 'string')
|
||
throw new Error(`utf8ToBytes expected string, got ${typeof str}`);
|
||
return new Uint8Array(new TextEncoder().encode(str)); // https://bugzil.la/1681809
|
||
}
|
||
/**
|
||
* Normalizes (non-hex) string or Uint8Array to Uint8Array.
|
||
* Warning: when Uint8Array is passed, it would NOT get copied.
|
||
* Keep in mind for future mutable operations.
|
||
*/
|
||
function toBytes(data) {
|
||
if (typeof data === 'string')
|
||
data = utf8ToBytes(data);
|
||
if (!u8a(data))
|
||
throw new Error(`expected Uint8Array, got ${typeof data}`);
|
||
return data;
|
||
}
|
||
// For runtime check if class implements interface
|
||
class Hash {
|
||
// Safe version that clones internal state
|
||
clone() {
|
||
return this._cloneInto();
|
||
}
|
||
}
|
||
function wrapConstructor(hashCons) {
|
||
const hashC = (msg) => hashCons().update(toBytes(msg)).digest();
|
||
const tmp = hashCons();
|
||
hashC.outputLen = tmp.outputLen;
|
||
hashC.blockLen = tmp.blockLen;
|
||
hashC.create = () => hashCons();
|
||
return hashC;
|
||
}
|
||
|
||
const U32_MASK64 = /* @__PURE__ */ BigInt(2 ** 32 - 1);
|
||
const _32n = /* @__PURE__ */ BigInt(32);
|
||
// We are not using BigUint64Array, because they are extremely slow as per 2022
|
||
function fromBig(n, le = false) {
|
||
if (le)
|
||
return { h: Number(n & U32_MASK64), l: Number((n >> _32n) & U32_MASK64) };
|
||
return { h: Number((n >> _32n) & U32_MASK64) | 0, l: Number(n & U32_MASK64) | 0 };
|
||
}
|
||
function split(lst, le = false) {
|
||
let Ah = new Uint32Array(lst.length);
|
||
let Al = new Uint32Array(lst.length);
|
||
for (let i = 0; i < lst.length; i++) {
|
||
const { h, l } = fromBig(lst[i], le);
|
||
[Ah[i], Al[i]] = [h, l];
|
||
}
|
||
return [Ah, Al];
|
||
}
|
||
// Left rotate for Shift in [1, 32)
|
||
const rotlSH = (h, l, s) => (h << s) | (l >>> (32 - s));
|
||
const rotlSL = (h, l, s) => (l << s) | (h >>> (32 - s));
|
||
// Left rotate for Shift in (32, 64), NOTE: 32 is special case.
|
||
const rotlBH = (h, l, s) => (l << (s - 32)) | (h >>> (64 - s));
|
||
const rotlBL = (h, l, s) => (h << (s - 32)) | (l >>> (64 - s));
|
||
|
||
/* Do NOT modify this file; see /src.ts/_admin/update-version.ts */
|
||
/**
|
||
* The current version of Ethers.
|
||
*/
|
||
const version = "6.12.0";
|
||
|
||
/**
|
||
* Property helper functions.
|
||
*
|
||
* @_subsection api/utils:Properties [about-properties]
|
||
*/
|
||
function checkType(value, type, name) {
|
||
const types = type.split("|").map(t => t.trim());
|
||
for (let i = 0; i < types.length; i++) {
|
||
switch (type) {
|
||
case "any":
|
||
return;
|
||
case "bigint":
|
||
case "boolean":
|
||
case "number":
|
||
case "string":
|
||
if (typeof (value) === type) {
|
||
return;
|
||
}
|
||
}
|
||
}
|
||
const error = new Error(`invalid value for type ${type}`);
|
||
error.code = "INVALID_ARGUMENT";
|
||
error.argument = `value.${name}`;
|
||
error.value = value;
|
||
throw error;
|
||
}
|
||
/**
|
||
* Assigns the %%values%% to %%target%% as read-only values.
|
||
*
|
||
* It %%types%% is specified, the values are checked.
|
||
*/
|
||
function defineProperties(target, values, types) {
|
||
for (let key in values) {
|
||
let value = values[key];
|
||
const type = (types ? types[key] : null);
|
||
if (type) {
|
||
checkType(value, type, key);
|
||
}
|
||
Object.defineProperty(target, key, { enumerable: true, value, writable: false });
|
||
}
|
||
}
|
||
|
||
/**
|
||
* All errors in ethers include properties to ensure they are both
|
||
* human-readable (i.e. ``.message``) and machine-readable (i.e. ``.code``).
|
||
*
|
||
* The [[isError]] function can be used to check the error ``code`` and
|
||
* provide a type guard for the properties present on that error interface.
|
||
*
|
||
* @_section: api/utils/errors:Errors [about-errors]
|
||
*/
|
||
function stringify(value) {
|
||
if (value == null) {
|
||
return "null";
|
||
}
|
||
if (Array.isArray(value)) {
|
||
return "[ " + (value.map(stringify)).join(", ") + " ]";
|
||
}
|
||
if (value instanceof Uint8Array) {
|
||
const HEX = "0123456789abcdef";
|
||
let result = "0x";
|
||
for (let i = 0; i < value.length; i++) {
|
||
result += HEX[value[i] >> 4];
|
||
result += HEX[value[i] & 0xf];
|
||
}
|
||
return result;
|
||
}
|
||
if (typeof (value) === "object" && typeof (value.toJSON) === "function") {
|
||
return stringify(value.toJSON());
|
||
}
|
||
switch (typeof (value)) {
|
||
case "boolean":
|
||
case "symbol":
|
||
return value.toString();
|
||
case "bigint":
|
||
return BigInt(value).toString();
|
||
case "number":
|
||
return (value).toString();
|
||
case "string":
|
||
return JSON.stringify(value);
|
||
case "object": {
|
||
const keys = Object.keys(value);
|
||
keys.sort();
|
||
return "{ " + keys.map((k) => `${stringify(k)}: ${stringify(value[k])}`).join(", ") + " }";
|
||
}
|
||
}
|
||
return `[ COULD NOT SERIALIZE ]`;
|
||
}
|
||
/**
|
||
* Returns a new Error configured to the format ethers emits errors, with
|
||
* the %%message%%, [[api:ErrorCode]] %%code%% and additional properties
|
||
* for the corresponding EthersError.
|
||
*
|
||
* Each error in ethers includes the version of ethers, a
|
||
* machine-readable [[ErrorCode]], and depending on %%code%%, additional
|
||
* required properties. The error message will also include the %%message%%,
|
||
* ethers version, %%code%% and all additional properties, serialized.
|
||
*/
|
||
function makeError(message, code, info) {
|
||
let shortMessage = message;
|
||
{
|
||
const details = [];
|
||
if (info) {
|
||
if ("message" in info || "code" in info || "name" in info) {
|
||
throw new Error(`value will overwrite populated values: ${stringify(info)}`);
|
||
}
|
||
for (const key in info) {
|
||
if (key === "shortMessage") {
|
||
continue;
|
||
}
|
||
const value = (info[key]);
|
||
// try {
|
||
details.push(key + "=" + stringify(value));
|
||
// } catch (error: any) {
|
||
// console.log("MMM", error.message);
|
||
// details.push(key + "=[could not serialize object]");
|
||
// }
|
||
}
|
||
}
|
||
details.push(`code=${code}`);
|
||
details.push(`version=${version}`);
|
||
if (details.length) {
|
||
message += " (" + details.join(", ") + ")";
|
||
}
|
||
}
|
||
let error;
|
||
switch (code) {
|
||
case "INVALID_ARGUMENT":
|
||
error = new TypeError(message);
|
||
break;
|
||
case "NUMERIC_FAULT":
|
||
case "BUFFER_OVERRUN":
|
||
error = new RangeError(message);
|
||
break;
|
||
default:
|
||
error = new Error(message);
|
||
}
|
||
defineProperties(error, { code });
|
||
if (info) {
|
||
Object.assign(error, info);
|
||
}
|
||
if (error.shortMessage == null) {
|
||
defineProperties(error, { shortMessage });
|
||
}
|
||
return error;
|
||
}
|
||
/**
|
||
* Throws an EthersError with %%message%%, %%code%% and additional error
|
||
* %%info%% when %%check%% is falsish..
|
||
*
|
||
* @see [[api:makeError]]
|
||
*/
|
||
function assert(check, message, code, info) {
|
||
if (!check) {
|
||
throw makeError(message, code, info);
|
||
}
|
||
}
|
||
/**
|
||
* A simple helper to simply ensuring provided arguments match expected
|
||
* constraints, throwing if not.
|
||
*
|
||
* In TypeScript environments, the %%check%% has been asserted true, so
|
||
* any further code does not need additional compile-time checks.
|
||
*/
|
||
function assertArgument(check, message, name, value) {
|
||
assert(check, message, "INVALID_ARGUMENT", { argument: name, value: value });
|
||
}
|
||
const _normalizeForms = ["NFD", "NFC", "NFKD", "NFKC"].reduce((accum, form) => {
|
||
try {
|
||
// General test for normalize
|
||
/* c8 ignore start */
|
||
if ("test".normalize(form) !== "test") {
|
||
throw new Error("bad");
|
||
}
|
||
;
|
||
/* c8 ignore stop */
|
||
if (form === "NFD") {
|
||
const check = String.fromCharCode(0xe9).normalize("NFD");
|
||
const expected = String.fromCharCode(0x65, 0x0301);
|
||
/* c8 ignore start */
|
||
if (check !== expected) {
|
||
throw new Error("broken");
|
||
}
|
||
/* c8 ignore stop */
|
||
}
|
||
accum.push(form);
|
||
}
|
||
catch (error) { }
|
||
return accum;
|
||
}, []);
|
||
/**
|
||
* Throws if the normalization %%form%% is not supported.
|
||
*/
|
||
function assertNormalize(form) {
|
||
assert(_normalizeForms.indexOf(form) >= 0, "platform missing String.prototype.normalize", "UNSUPPORTED_OPERATION", {
|
||
operation: "String.prototype.normalize", info: { form }
|
||
});
|
||
}
|
||
|
||
/**
|
||
* Some data helpers.
|
||
*
|
||
*
|
||
* @_subsection api/utils:Data Helpers [about-data]
|
||
*/
|
||
function _getBytes(value, name, copy) {
|
||
if (value instanceof Uint8Array) {
|
||
if (copy) {
|
||
return new Uint8Array(value);
|
||
}
|
||
return value;
|
||
}
|
||
if (typeof (value) === "string" && value.match(/^0x([0-9a-f][0-9a-f])*$/i)) {
|
||
const result = new Uint8Array((value.length - 2) / 2);
|
||
let offset = 2;
|
||
for (let i = 0; i < result.length; i++) {
|
||
result[i] = parseInt(value.substring(offset, offset + 2), 16);
|
||
offset += 2;
|
||
}
|
||
return result;
|
||
}
|
||
assertArgument(false, "invalid BytesLike value", name || "value", value);
|
||
}
|
||
/**
|
||
* Get a typed Uint8Array for %%value%%. If already a Uint8Array
|
||
* the original %%value%% is returned; if a copy is required use
|
||
* [[getBytesCopy]].
|
||
*
|
||
* @see: getBytesCopy
|
||
*/
|
||
function getBytes(value, name) {
|
||
return _getBytes(value, name, false);
|
||
}
|
||
const HexCharacters = "0123456789abcdef";
|
||
/**
|
||
* Returns a [[DataHexString]] representation of %%data%%.
|
||
*/
|
||
function hexlify(data) {
|
||
const bytes = getBytes(data);
|
||
let result = "0x";
|
||
for (let i = 0; i < bytes.length; i++) {
|
||
const v = bytes[i];
|
||
result += HexCharacters[(v & 0xf0) >> 4] + HexCharacters[v & 0x0f];
|
||
}
|
||
return result;
|
||
}
|
||
|
||
/**
|
||
* Using strings in Ethereum (or any security-basd system) requires
|
||
* additional care. These utilities attempt to mitigate some of the
|
||
* safety issues as well as provide the ability to recover and analyse
|
||
* strings.
|
||
*
|
||
* @_subsection api/utils:Strings and UTF-8 [about-strings]
|
||
*/
|
||
function errorFunc(reason, offset, bytes, output, badCodepoint) {
|
||
assertArgument(false, `invalid codepoint at offset ${offset}; ${reason}`, "bytes", bytes);
|
||
}
|
||
function ignoreFunc(reason, offset, bytes, output, badCodepoint) {
|
||
// If there is an invalid prefix (including stray continuation), skip any additional continuation bytes
|
||
if (reason === "BAD_PREFIX" || reason === "UNEXPECTED_CONTINUE") {
|
||
let i = 0;
|
||
for (let o = offset + 1; o < bytes.length; o++) {
|
||
if (bytes[o] >> 6 !== 0x02) {
|
||
break;
|
||
}
|
||
i++;
|
||
}
|
||
return i;
|
||
}
|
||
// This byte runs us past the end of the string, so just jump to the end
|
||
// (but the first byte was read already read and therefore skipped)
|
||
if (reason === "OVERRUN") {
|
||
return bytes.length - offset - 1;
|
||
}
|
||
// Nothing to skip
|
||
return 0;
|
||
}
|
||
function replaceFunc(reason, offset, bytes, output, badCodepoint) {
|
||
// Overlong representations are otherwise "valid" code points; just non-deistingtished
|
||
if (reason === "OVERLONG") {
|
||
assertArgument(typeof (badCodepoint) === "number", "invalid bad code point for replacement", "badCodepoint", badCodepoint);
|
||
output.push(badCodepoint);
|
||
return 0;
|
||
}
|
||
// Put the replacement character into the output
|
||
output.push(0xfffd);
|
||
// Otherwise, process as if ignoring errors
|
||
return ignoreFunc(reason, offset, bytes);
|
||
}
|
||
/**
|
||
* A handful of popular, built-in UTF-8 error handling strategies.
|
||
*
|
||
* **``"error"``** - throws on ANY illegal UTF-8 sequence or
|
||
* non-canonical (overlong) codepoints (this is the default)
|
||
*
|
||
* **``"ignore"``** - silently drops any illegal UTF-8 sequence
|
||
* and accepts non-canonical (overlong) codepoints
|
||
*
|
||
* **``"replace"``** - replace any illegal UTF-8 sequence with the
|
||
* UTF-8 replacement character (i.e. ``"\\ufffd"``) and accepts
|
||
* non-canonical (overlong) codepoints
|
||
*
|
||
* @returns: Record<"error" | "ignore" | "replace", Utf8ErrorFunc>
|
||
*/
|
||
const Utf8ErrorFuncs = Object.freeze({
|
||
error: errorFunc,
|
||
ignore: ignoreFunc,
|
||
replace: replaceFunc
|
||
});
|
||
// http://stackoverflow.com/questions/13356493/decode-utf-8-with-javascript#13691499
|
||
function getUtf8CodePoints(_bytes, onError) {
|
||
if (onError == null) {
|
||
onError = Utf8ErrorFuncs.error;
|
||
}
|
||
const bytes = getBytes(_bytes, "bytes");
|
||
const result = [];
|
||
let i = 0;
|
||
// Invalid bytes are ignored
|
||
while (i < bytes.length) {
|
||
const c = bytes[i++];
|
||
// 0xxx xxxx
|
||
if (c >> 7 === 0) {
|
||
result.push(c);
|
||
continue;
|
||
}
|
||
// Multibyte; how many bytes left for this character?
|
||
let extraLength = null;
|
||
let overlongMask = null;
|
||
// 110x xxxx 10xx xxxx
|
||
if ((c & 0xe0) === 0xc0) {
|
||
extraLength = 1;
|
||
overlongMask = 0x7f;
|
||
// 1110 xxxx 10xx xxxx 10xx xxxx
|
||
}
|
||
else if ((c & 0xf0) === 0xe0) {
|
||
extraLength = 2;
|
||
overlongMask = 0x7ff;
|
||
// 1111 0xxx 10xx xxxx 10xx xxxx 10xx xxxx
|
||
}
|
||
else if ((c & 0xf8) === 0xf0) {
|
||
extraLength = 3;
|
||
overlongMask = 0xffff;
|
||
}
|
||
else {
|
||
if ((c & 0xc0) === 0x80) {
|
||
i += onError("UNEXPECTED_CONTINUE", i - 1, bytes, result);
|
||
}
|
||
else {
|
||
i += onError("BAD_PREFIX", i - 1, bytes, result);
|
||
}
|
||
continue;
|
||
}
|
||
// Do we have enough bytes in our data?
|
||
if (i - 1 + extraLength >= bytes.length) {
|
||
i += onError("OVERRUN", i - 1, bytes, result);
|
||
continue;
|
||
}
|
||
// Remove the length prefix from the char
|
||
let res = c & ((1 << (8 - extraLength - 1)) - 1);
|
||
for (let j = 0; j < extraLength; j++) {
|
||
let nextChar = bytes[i];
|
||
// Invalid continuation byte
|
||
if ((nextChar & 0xc0) != 0x80) {
|
||
i += onError("MISSING_CONTINUE", i, bytes, result);
|
||
res = null;
|
||
break;
|
||
}
|
||
res = (res << 6) | (nextChar & 0x3f);
|
||
i++;
|
||
}
|
||
// See above loop for invalid continuation byte
|
||
if (res === null) {
|
||
continue;
|
||
}
|
||
// Maximum code point
|
||
if (res > 0x10ffff) {
|
||
i += onError("OUT_OF_RANGE", i - 1 - extraLength, bytes, result, res);
|
||
continue;
|
||
}
|
||
// Reserved for UTF-16 surrogate halves
|
||
if (res >= 0xd800 && res <= 0xdfff) {
|
||
i += onError("UTF16_SURROGATE", i - 1 - extraLength, bytes, result, res);
|
||
continue;
|
||
}
|
||
// Check for overlong sequences (more bytes than needed)
|
||
if (res <= overlongMask) {
|
||
i += onError("OVERLONG", i - 1 - extraLength, bytes, result, res);
|
||
continue;
|
||
}
|
||
result.push(res);
|
||
}
|
||
return result;
|
||
}
|
||
// http://stackoverflow.com/questions/18729405/how-to-convert-utf8-string-to-byte-array
|
||
/**
|
||
* Returns the UTF-8 byte representation of %%str%%.
|
||
*
|
||
* If %%form%% is specified, the string is normalized.
|
||
*/
|
||
function toUtf8Bytes(str, form) {
|
||
assertArgument(typeof (str) === "string", "invalid string value", "str", str);
|
||
if (form != null) {
|
||
assertNormalize(form);
|
||
str = str.normalize(form);
|
||
}
|
||
let result = [];
|
||
for (let i = 0; i < str.length; i++) {
|
||
const c = str.charCodeAt(i);
|
||
if (c < 0x80) {
|
||
result.push(c);
|
||
}
|
||
else if (c < 0x800) {
|
||
result.push((c >> 6) | 0xc0);
|
||
result.push((c & 0x3f) | 0x80);
|
||
}
|
||
else if ((c & 0xfc00) == 0xd800) {
|
||
i++;
|
||
const c2 = str.charCodeAt(i);
|
||
assertArgument(i < str.length && ((c2 & 0xfc00) === 0xdc00), "invalid surrogate pair", "str", str);
|
||
// Surrogate Pair
|
||
const pair = 0x10000 + ((c & 0x03ff) << 10) + (c2 & 0x03ff);
|
||
result.push((pair >> 18) | 0xf0);
|
||
result.push(((pair >> 12) & 0x3f) | 0x80);
|
||
result.push(((pair >> 6) & 0x3f) | 0x80);
|
||
result.push((pair & 0x3f) | 0x80);
|
||
}
|
||
else {
|
||
result.push((c >> 12) | 0xe0);
|
||
result.push(((c >> 6) & 0x3f) | 0x80);
|
||
result.push((c & 0x3f) | 0x80);
|
||
}
|
||
}
|
||
return new Uint8Array(result);
|
||
}
|
||
//export
|
||
function _toUtf8String(codePoints) {
|
||
return codePoints.map((codePoint) => {
|
||
if (codePoint <= 0xffff) {
|
||
return String.fromCharCode(codePoint);
|
||
}
|
||
codePoint -= 0x10000;
|
||
return String.fromCharCode((((codePoint >> 10) & 0x3ff) + 0xd800), ((codePoint & 0x3ff) + 0xdc00));
|
||
}).join("");
|
||
}
|
||
/**
|
||
* Returns the string represented by the UTF-8 data %%bytes%%.
|
||
*
|
||
* When %%onError%% function is specified, it is called on UTF-8
|
||
* errors allowing recovery using the [[Utf8ErrorFunc]] API.
|
||
* (default: [error](Utf8ErrorFuncs))
|
||
*/
|
||
function toUtf8String(bytes, onError) {
|
||
return _toUtf8String(getUtf8CodePoints(bytes, onError));
|
||
}
|
||
|
||
// SHA3 (keccak) is based on a new design: basically, the internal state is bigger than output size.
|
||
// It's called a sponge function.
|
||
// Various per round constants calculations
|
||
const [SHA3_PI, SHA3_ROTL, _SHA3_IOTA] = [[], [], []];
|
||
const _0n = /* @__PURE__ */ BigInt(0);
|
||
const _1n = /* @__PURE__ */ BigInt(1);
|
||
const _2n = /* @__PURE__ */ BigInt(2);
|
||
const _7n = /* @__PURE__ */ BigInt(7);
|
||
const _256n = /* @__PURE__ */ BigInt(256);
|
||
const _0x71n = /* @__PURE__ */ BigInt(0x71);
|
||
for (let round = 0, R = _1n, x = 1, y = 0; round < 24; round++) {
|
||
// Pi
|
||
[x, y] = [y, (2 * x + 3 * y) % 5];
|
||
SHA3_PI.push(2 * (5 * y + x));
|
||
// Rotational
|
||
SHA3_ROTL.push((((round + 1) * (round + 2)) / 2) % 64);
|
||
// Iota
|
||
let t = _0n;
|
||
for (let j = 0; j < 7; j++) {
|
||
R = ((R << _1n) ^ ((R >> _7n) * _0x71n)) % _256n;
|
||
if (R & _2n)
|
||
t ^= _1n << ((_1n << /* @__PURE__ */ BigInt(j)) - _1n);
|
||
}
|
||
_SHA3_IOTA.push(t);
|
||
}
|
||
const [SHA3_IOTA_H, SHA3_IOTA_L] = /* @__PURE__ */ split(_SHA3_IOTA, true);
|
||
// Left rotation (without 0, 32, 64)
|
||
const rotlH = (h, l, s) => (s > 32 ? rotlBH(h, l, s) : rotlSH(h, l, s));
|
||
const rotlL = (h, l, s) => (s > 32 ? rotlBL(h, l, s) : rotlSL(h, l, s));
|
||
// Same as keccakf1600, but allows to skip some rounds
|
||
function keccakP(s, rounds = 24) {
|
||
const B = new Uint32Array(5 * 2);
|
||
// NOTE: all indices are x2 since we store state as u32 instead of u64 (bigints to slow in js)
|
||
for (let round = 24 - rounds; round < 24; round++) {
|
||
// Theta θ
|
||
for (let x = 0; x < 10; x++)
|
||
B[x] = s[x] ^ s[x + 10] ^ s[x + 20] ^ s[x + 30] ^ s[x + 40];
|
||
for (let x = 0; x < 10; x += 2) {
|
||
const idx1 = (x + 8) % 10;
|
||
const idx0 = (x + 2) % 10;
|
||
const B0 = B[idx0];
|
||
const B1 = B[idx0 + 1];
|
||
const Th = rotlH(B0, B1, 1) ^ B[idx1];
|
||
const Tl = rotlL(B0, B1, 1) ^ B[idx1 + 1];
|
||
for (let y = 0; y < 50; y += 10) {
|
||
s[x + y] ^= Th;
|
||
s[x + y + 1] ^= Tl;
|
||
}
|
||
}
|
||
// Rho (ρ) and Pi (π)
|
||
let curH = s[2];
|
||
let curL = s[3];
|
||
for (let t = 0; t < 24; t++) {
|
||
const shift = SHA3_ROTL[t];
|
||
const Th = rotlH(curH, curL, shift);
|
||
const Tl = rotlL(curH, curL, shift);
|
||
const PI = SHA3_PI[t];
|
||
curH = s[PI];
|
||
curL = s[PI + 1];
|
||
s[PI] = Th;
|
||
s[PI + 1] = Tl;
|
||
}
|
||
// Chi (χ)
|
||
for (let y = 0; y < 50; y += 10) {
|
||
for (let x = 0; x < 10; x++)
|
||
B[x] = s[y + x];
|
||
for (let x = 0; x < 10; x++)
|
||
s[y + x] ^= ~B[(x + 2) % 10] & B[(x + 4) % 10];
|
||
}
|
||
// Iota (ι)
|
||
s[0] ^= SHA3_IOTA_H[round];
|
||
s[1] ^= SHA3_IOTA_L[round];
|
||
}
|
||
B.fill(0);
|
||
}
|
||
class Keccak extends Hash {
|
||
// NOTE: we accept arguments in bytes instead of bits here.
|
||
constructor(blockLen, suffix, outputLen, enableXOF = false, rounds = 24) {
|
||
super();
|
||
this.blockLen = blockLen;
|
||
this.suffix = suffix;
|
||
this.outputLen = outputLen;
|
||
this.enableXOF = enableXOF;
|
||
this.rounds = rounds;
|
||
this.pos = 0;
|
||
this.posOut = 0;
|
||
this.finished = false;
|
||
this.destroyed = false;
|
||
// Can be passed from user as dkLen
|
||
number(outputLen);
|
||
// 1600 = 5x5 matrix of 64bit. 1600 bits === 200 bytes
|
||
if (0 >= this.blockLen || this.blockLen >= 200)
|
||
throw new Error('Sha3 supports only keccak-f1600 function');
|
||
this.state = new Uint8Array(200);
|
||
this.state32 = u32(this.state);
|
||
}
|
||
keccak() {
|
||
keccakP(this.state32, this.rounds);
|
||
this.posOut = 0;
|
||
this.pos = 0;
|
||
}
|
||
update(data) {
|
||
exists(this);
|
||
const { blockLen, state } = this;
|
||
data = toBytes(data);
|
||
const len = data.length;
|
||
for (let pos = 0; pos < len;) {
|
||
const take = Math.min(blockLen - this.pos, len - pos);
|
||
for (let i = 0; i < take; i++)
|
||
state[this.pos++] ^= data[pos++];
|
||
if (this.pos === blockLen)
|
||
this.keccak();
|
||
}
|
||
return this;
|
||
}
|
||
finish() {
|
||
if (this.finished)
|
||
return;
|
||
this.finished = true;
|
||
const { state, suffix, pos, blockLen } = this;
|
||
// Do the padding
|
||
state[pos] ^= suffix;
|
||
if ((suffix & 0x80) !== 0 && pos === blockLen - 1)
|
||
this.keccak();
|
||
state[blockLen - 1] ^= 0x80;
|
||
this.keccak();
|
||
}
|
||
writeInto(out) {
|
||
exists(this, false);
|
||
bytes(out);
|
||
this.finish();
|
||
const bufferOut = this.state;
|
||
const { blockLen } = this;
|
||
for (let pos = 0, len = out.length; pos < len;) {
|
||
if (this.posOut >= blockLen)
|
||
this.keccak();
|
||
const take = Math.min(blockLen - this.posOut, len - pos);
|
||
out.set(bufferOut.subarray(this.posOut, this.posOut + take), pos);
|
||
this.posOut += take;
|
||
pos += take;
|
||
}
|
||
return out;
|
||
}
|
||
xofInto(out) {
|
||
// Sha3/Keccak usage with XOF is probably mistake, only SHAKE instances can do XOF
|
||
if (!this.enableXOF)
|
||
throw new Error('XOF is not possible for this instance');
|
||
return this.writeInto(out);
|
||
}
|
||
xof(bytes) {
|
||
number(bytes);
|
||
return this.xofInto(new Uint8Array(bytes));
|
||
}
|
||
digestInto(out) {
|
||
output(out, this);
|
||
if (this.finished)
|
||
throw new Error('digest() was already called');
|
||
this.writeInto(out);
|
||
this.destroy();
|
||
return out;
|
||
}
|
||
digest() {
|
||
return this.digestInto(new Uint8Array(this.outputLen));
|
||
}
|
||
destroy() {
|
||
this.destroyed = true;
|
||
this.state.fill(0);
|
||
}
|
||
_cloneInto(to) {
|
||
const { blockLen, suffix, outputLen, rounds, enableXOF } = this;
|
||
to || (to = new Keccak(blockLen, suffix, outputLen, enableXOF, rounds));
|
||
to.state32.set(this.state32);
|
||
to.pos = this.pos;
|
||
to.posOut = this.posOut;
|
||
to.finished = this.finished;
|
||
to.rounds = rounds;
|
||
// Suffix can change in cSHAKE
|
||
to.suffix = suffix;
|
||
to.outputLen = outputLen;
|
||
to.enableXOF = enableXOF;
|
||
to.destroyed = this.destroyed;
|
||
return to;
|
||
}
|
||
}
|
||
const gen = (suffix, blockLen, outputLen) => wrapConstructor(() => new Keccak(blockLen, suffix, outputLen));
|
||
/**
|
||
* keccak-256 hash function. Different from SHA3-256.
|
||
* @param message - that would be hashed
|
||
*/
|
||
const keccak_256 = /* @__PURE__ */ gen(0x01, 136, 256 / 8);
|
||
|
||
/**
|
||
* Cryptographic hashing functions
|
||
*
|
||
* @_subsection: api/crypto:Hash Functions [about-crypto-hashing]
|
||
*/
|
||
let locked = false;
|
||
const _keccak256 = function (data) {
|
||
return keccak_256(data);
|
||
};
|
||
let __keccak256 = _keccak256;
|
||
/**
|
||
* Compute the cryptographic KECCAK256 hash of %%data%%.
|
||
*
|
||
* The %%data%% **must** be a data representation, to compute the
|
||
* hash of UTF-8 data use the [[id]] function.
|
||
*
|
||
* @returns DataHexstring
|
||
* @example:
|
||
* keccak256("0x")
|
||
* //_result:
|
||
*
|
||
* keccak256("0x1337")
|
||
* //_result:
|
||
*
|
||
* keccak256(new Uint8Array([ 0x13, 0x37 ]))
|
||
* //_result:
|
||
*
|
||
* // Strings are assumed to be DataHexString, otherwise it will
|
||
* // throw. To hash UTF-8 data, see the note above.
|
||
* keccak256("Hello World")
|
||
* //_error:
|
||
*/
|
||
function keccak256(_data) {
|
||
const data = getBytes(_data, "data");
|
||
return hexlify(__keccak256(data));
|
||
}
|
||
keccak256._ = _keccak256;
|
||
keccak256.lock = function () { locked = true; };
|
||
keccak256.register = function (func) {
|
||
if (locked) {
|
||
throw new TypeError("keccak256 is locked");
|
||
}
|
||
__keccak256 = func;
|
||
};
|
||
Object.freeze(keccak256);
|
||
|
||
/**
|
||
* A simple hashing function which operates on UTF-8 strings to
|
||
* compute an 32-byte identifier.
|
||
*
|
||
* This simply computes the [UTF-8 bytes](toUtf8Bytes) and computes
|
||
* the [[keccak256]].
|
||
*
|
||
* @example:
|
||
* id("hello world")
|
||
* //_result:
|
||
*/
|
||
function id(value) {
|
||
return keccak256(toUtf8Bytes(value));
|
||
}
|
||
|
||
const subsChrs = " !#$%&'()*+,-./<=>?@[]^_`{|}~";
|
||
const Word = /^[a-z]*$/i;
|
||
function unfold(words, sep) {
|
||
let initial = 97;
|
||
return words.reduce((accum, word) => {
|
||
if (word === sep) {
|
||
initial++;
|
||
}
|
||
else if (word.match(Word)) {
|
||
accum.push(String.fromCharCode(initial) + word);
|
||
}
|
||
else {
|
||
initial = 97;
|
||
accum.push(word);
|
||
}
|
||
return accum;
|
||
}, []);
|
||
}
|
||
/**
|
||
* @_ignore
|
||
*/
|
||
function decode(data, subs) {
|
||
// Replace all the substitutions with their expanded form
|
||
for (let i = subsChrs.length - 1; i >= 0; i--) {
|
||
data = data.split(subsChrs[i]).join(subs.substring(2 * i, 2 * i + 2));
|
||
}
|
||
// Get all tle clumps; each suffix, first-increment and second-increment
|
||
const clumps = [];
|
||
const leftover = data.replace(/(:|([0-9])|([A-Z][a-z]*))/g, (all, item, semi, word) => {
|
||
if (semi) {
|
||
for (let i = parseInt(semi); i >= 0; i--) {
|
||
clumps.push(";");
|
||
}
|
||
}
|
||
else {
|
||
clumps.push(item.toLowerCase());
|
||
}
|
||
return "";
|
||
});
|
||
/* c8 ignore start */
|
||
if (leftover) {
|
||
throw new Error(`leftovers: ${JSON.stringify(leftover)}`);
|
||
}
|
||
/* c8 ignore stop */
|
||
return unfold(unfold(clumps, ";"), ":");
|
||
}
|
||
/**
|
||
* @_ignore
|
||
*/
|
||
function decodeOwl(data) {
|
||
assertArgument(data[0] === "0", "unsupported auwl data", "data", data);
|
||
return decode(data.substring(1 + 2 * subsChrs.length), data.substring(1, 1 + 2 * subsChrs.length));
|
||
}
|
||
|
||
/**
|
||
* A Wordlist represents a collection of language-specific
|
||
* words used to encode and devoce [[link-bip-39]] encoded data
|
||
* by mapping words to 11-bit values and vice versa.
|
||
*/
|
||
class Wordlist {
|
||
locale;
|
||
/**
|
||
* Creates a new Wordlist instance.
|
||
*
|
||
* Sub-classes MUST call this if they provide their own constructor,
|
||
* passing in the locale string of the language.
|
||
*
|
||
* Generally there is no need to create instances of a Wordlist,
|
||
* since each language-specific Wordlist creates an instance and
|
||
* there is no state kept internally, so they are safe to share.
|
||
*/
|
||
constructor(locale) {
|
||
defineProperties(this, { locale });
|
||
}
|
||
/**
|
||
* Sub-classes may override this to provide a language-specific
|
||
* method for spliting %%phrase%% into individual words.
|
||
*
|
||
* By default, %%phrase%% is split using any sequences of
|
||
* white-space as defined by regular expressions (i.e. ``/\s+/``).
|
||
*/
|
||
split(phrase) {
|
||
return phrase.toLowerCase().split(/\s+/g);
|
||
}
|
||
/**
|
||
* Sub-classes may override this to provider a language-specific
|
||
* method for joining %%words%% into a phrase.
|
||
*
|
||
* By default, %%words%% are joined by a single space.
|
||
*/
|
||
join(words) {
|
||
return words.join(" ");
|
||
}
|
||
}
|
||
|
||
// Use the encode-latin.js script to create the necessary
|
||
// data files to be consumed by this class
|
||
/**
|
||
* An OWL format Wordlist is an encoding method that exploits
|
||
* the general locality of alphabetically sorted words to
|
||
* achieve a simple but effective means of compression.
|
||
*
|
||
* This class is generally not useful to most developers as
|
||
* it is used mainly internally to keep Wordlists for languages
|
||
* based on ASCII-7 small.
|
||
*
|
||
* If necessary, there are tools within the ``generation/`` folder
|
||
* to create the necessary data.
|
||
*/
|
||
class WordlistOwl extends Wordlist {
|
||
#data;
|
||
#checksum;
|
||
/**
|
||
* Creates a new Wordlist for %%locale%% using the OWL %%data%%
|
||
* and validated against the %%checksum%%.
|
||
*/
|
||
constructor(locale, data, checksum) {
|
||
super(locale);
|
||
this.#data = data;
|
||
this.#checksum = checksum;
|
||
this.#words = null;
|
||
}
|
||
/**
|
||
* The OWL-encoded data.
|
||
*/
|
||
get _data() { return this.#data; }
|
||
/**
|
||
* Decode all the words for the wordlist.
|
||
*/
|
||
_decodeWords() {
|
||
return decodeOwl(this.#data);
|
||
}
|
||
#words;
|
||
#loadWords() {
|
||
if (this.#words == null) {
|
||
const words = this._decodeWords();
|
||
// Verify the computed list matches the official list
|
||
const checksum = id(words.join("\n") + "\n");
|
||
/* c8 ignore start */
|
||
if (checksum !== this.#checksum) {
|
||
throw new Error(`BIP39 Wordlist for ${this.locale} FAILED`);
|
||
}
|
||
/* c8 ignore stop */
|
||
this.#words = words;
|
||
}
|
||
return this.#words;
|
||
}
|
||
getWord(index) {
|
||
const words = this.#loadWords();
|
||
assertArgument(index >= 0 && index < words.length, `invalid word index: ${index}`, "index", index);
|
||
return words[index];
|
||
}
|
||
getWordIndex(word) {
|
||
return this.#loadWords().indexOf(word);
|
||
}
|
||
}
|
||
|
||
const words$4 = "0itatkastcenaovo$taouleraeki&chor*teci%enbalodaeladet'!Chn=0Di#%E%^1Resa2Rese3CeT'#0EjKohol0Pu)%0A&sDul#Ekdo)Ke)Ti#Ul|3}aOgan%0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!>J{Ji$ K+p!K*p Lep Mez Mot!Mys+tNe/!Nik!Pl! Poj Ps!Raz S)v Su~Taj Temn Tk~Ujm=Val Ve+tVin Vol!Vrt!Zvon 0Av RusuUd|Yt-1A+#ArmaAtn(IvoOb RojVihYm`]0L@.ManM.Pt!Z`uZdola2At Lt~Lubo#Ot' Ru[0MaMn?0Emn 0Lam!Oum!R!#Umav#0AtoEh#O[OmO$Ozvyk0Ap|ArAt-IjeIz{Ocn Odr!Rzl.Ut|0AkAl(Am@!Ovu0B,z Tav Ub-Ufa+0Lod Omal RavaR( Rud#Rvu1A^An C`]N (NoOv&Y/l Zav(1I/aR! 0B'.Br0Ed~EnkuEs_aOnR!Uk'odYk";
|
||
const checksum$4 = "0x25f44555f4af25b51a711136e1c7d6e50ce9f8917d39d6b1f076b2bb4d2fac1a";
|
||
let wordlist$6 = null;
|
||
/**
|
||
* The [[link-bip39-cz]] for [mnemonic phrases](link-bip-39).
|
||
*
|
||
* @_docloc: api/wordlists
|
||
*/
|
||
class LangCz extends WordlistOwl {
|
||
/**
|
||
* Creates a new instance of the Czech language Wordlist.
|
||
*
|
||
* Using the constructor should be unnecessary, instead use the
|
||
* [[wordlist]] singleton method.
|
||
*
|
||
* @_ignore:
|
||
*/
|
||
constructor() { super("cz", words$4, checksum$4); }
|
||
/**
|
||
* Returns a singleton instance of a ``LangCz``, creating it
|
||
* if this is the first time being called.
|
||
*/
|
||
static wordlist() {
|
||
if (wordlist$6 == null) {
|
||
wordlist$6 = new LangCz();
|
||
}
|
||
return wordlist$6;
|
||
}
|
||
}
|
||
|
||
const Base64 = ")!@#$%^&*(ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_";
|
||
/**
|
||
* @_ignore
|
||
*/
|
||
function decodeBits(width, data) {
|
||
const maxValue = (1 << width) - 1;
|
||
const result = [];
|
||
let accum = 0, bits = 0, flood = 0;
|
||
for (let i = 0; i < data.length; i++) {
|
||
// Accumulate 6 bits of data
|
||
accum = ((accum << 6) | Base64.indexOf(data[i]));
|
||
bits += 6;
|
||
// While we have enough for a word...
|
||
while (bits >= width) {
|
||
// ...read the word
|
||
const value = (accum >> (bits - width));
|
||
accum &= (1 << (bits - width)) - 1;
|
||
bits -= width;
|
||
// A value of 0 indicates we exceeded maxValue, it
|
||
// floods over into the next value
|
||
if (value === 0) {
|
||
flood += maxValue;
|
||
}
|
||
else {
|
||
result.push(value + flood);
|
||
flood = 0;
|
||
}
|
||
}
|
||
}
|
||
return result;
|
||
}
|
||
|
||
/**
|
||
* @_ignore
|
||
*/
|
||
function decodeOwlA(data, accents) {
|
||
let words = decodeOwl(data).join(",");
|
||
// Inject the accents
|
||
accents.split(/,/g).forEach((accent) => {
|
||
const match = accent.match(/^([a-z]*)([0-9]+)([0-9])(.*)$/);
|
||
assertArgument(match !== null, "internal error parsing accents", "accents", accents);
|
||
let posOffset = 0;
|
||
const positions = decodeBits(parseInt(match[3]), match[4]);
|
||
const charCode = parseInt(match[2]);
|
||
const regex = new RegExp(`([${match[1]}])`, "g");
|
||
words = words.replace(regex, (all, letter) => {
|
||
const rem = --positions[posOffset];
|
||
if (rem === 0) {
|
||
letter = String.fromCharCode(letter.charCodeAt(0), charCode);
|
||
posOffset++;
|
||
}
|
||
return letter;
|
||
});
|
||
});
|
||
return words.split(",");
|
||
}
|
||
|
||
/**
|
||
* An OWL-A format Wordlist extends the OWL format to add an
|
||
* overlay onto an OWL format Wordlist to support diacritic
|
||
* marks.
|
||
*
|
||
* This class is generally not useful to most developers as
|
||
* it is used mainly internally to keep Wordlists for languages
|
||
* based on latin-1 small.
|
||
*
|
||
* If necessary, there are tools within the ``generation/`` folder
|
||
* to create the necessary data.
|
||
*/
|
||
class WordlistOwlA extends WordlistOwl {
|
||
#accent;
|
||
/**
|
||
* Creates a new Wordlist for %%locale%% using the OWLA %%data%%
|
||
* and %%accent%% data and validated against the %%checksum%%.
|
||
*/
|
||
constructor(locale, data, accent, checksum) {
|
||
super(locale, data, checksum);
|
||
this.#accent = accent;
|
||
}
|
||
/**
|
||
* The OWLA-encoded accent data.
|
||
*/
|
||
get _accent() { return this.#accent; }
|
||
/**
|
||
* Decode all the words for the wordlist.
|
||
*/
|
||
_decodeWords() {
|
||
return decodeOwlA(this._data, this._accent);
|
||
}
|
||
}
|
||
|
||
const words$3 = "0arertoiotadonoaRteirroenaNonaLsolocoiliaralaorrenadaChoN$n0A>Dom,EjaI!#Oga&O'Or#RazoR*Ue=U<0Ab Adem@Ce<C~Ei)ElgaEn#Ept I&L NeOg!O<TivoToTrizTu Ud*U!&Us 0Ic#Mit*Opt Or'Ua`Ul#0Reo0Ect Ic~In Irm 0IlIt On@Os#Ot Reg R$UaU&U?aUja0OgoOr+0ReSl 0Ed_zE'Us)1Ac[nAmb_ArmaBaBumCaldeDeaEg_Ej Er%E%F?!GaGo&nIa&I,#Iv$MaMejaMib T TezaTivoToTu[Um'Z 0AbleAn)Apo]ArgoAs B Bi#E'IgoIs%dOrP oPl$0|oC@'C]D D,Em@Gu=Il=ImoIsOt T,aTiguoTojoUalUl Unc$Ad*EjoO1Ag A[#Eti#IoLic O&Or)OyoR,d!Rob Ues%U+1A&A`ArBit+BolBus#|ivoCoD!D?]DuoEaI&IesM.i-esOmaPaP.Reg=RozRugaTeTis%0AA&Al#C,<Egur EoE<rI,#I=Ist*NoOmb+P!oT?]T+Tu#Um*Un#0AjoAqueArEn#EoI>Le%OmoRa!RozUn0DazD$GeLaM,#S,)T^0AlAnceA+EEl]`E`EstruzI.I<2ErU{U'0Af[nArO)Uc Uf_Ul:BaB^|eH@IleJ Lanz/c.LdeMbuN>Nd-oRb(>RnizR+Scu]S#nSu[Tal]T!@T*Tu%UlZ 3BeBid/=S SoSt@3|oEnNgo2An>OqueUsa2ABi`BoCaCi`DaDegaIn//!oLsaMb-{dNi#N}saiRdeRr SqueTeTinVe{Zal2AvoAzoEchaEveIl=In>IsaOcaOmaOnceO)UjaUs>U#2CeoCleE'EyFan{F.HoIt_L#Rbuj(l(+S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nicaJa&J!Ji&L/efo'MaM^Mp=NazNd!N!NisN<Ori(api(>Rmi'Rnur(+rSisSo+StigoT!aX#Z3B$Bu+nEmpoEn{Er[E<G_J!/deMb_Mi&M}%OPi>PoR(.TanT!eTu=Za5Al]B?=C Ci'DoG/&M N}#P PeQueRaxR!oRm,%RneoRoRpe&R_R<RtugaSS>S!Xi>2AbajoAc#rA!Afi>AgoAjeAmoAnceA#AumaAz EbolEguaEin%EnEp EsIbuIgoIpaIs)IunfoOfeoOmpaOn>OpaO)OzoU>Ue'Ufa2B!@BoEr#MbaM^NelNic(bin(ismoR'T^:0Ic 9C!a0B[l0I{dIrIv!<OT A3Ba'BeG,)Na0ArU $0IlOp@1A:CaC$Cu`G GoI`J?l/eLi&LleL^Lvu]Mp*oR(i R.So3Ci'C#rHicu=In)JezL/!oLozN-c!Nd-e'Ng N*N%NusRRa'RboRdeRed(j(<Rt!3AAjeBr C$CtimaDaDeoDr$EjoErnesG^LLl-ag_N}e&OlinRalRgoRtudS^Sp!aS%Tami`U&VazV!oV*Vo5LcanLum,Lv!RazT ToZ5E=Lg :::C!Te3GuaM('So9DoGaGur:F*}jaPa#Rza93N(+5MoR&";
|
||
const accents$1 = "aeiou7695@@BZWWavwUJkO@Y-Kn))YEGq#E@O)cI@#ZkMHv$e*))M!!)D**$GW!oKm*Acoh^k&It-pi^SYW)$^n!G)bO!Wkzam(jS#X)Og*^l^RW!bQ#QygBKXfzE))hti!Qm)Cng%%c)mJiI*HJWbmYniCLwNdYyY%WKO^bnT$PuGOr!IvHu&G(GKbtBuhiW&!eO@XMeoYQeCa#!MrTJCq!OW&CHG(WCcW%%)$rfrIegu$)w!G)JGmWWw)MnD%SXXWIT^LWAZuVWB^W)eTL^x&$WGHW(nKWEMA)#$F$x$Waekqs,n7715)W*HM-$WAcCiu(a))VCZ)GG%(*CWWdW%$D!UCO$M";
|
||
const checksum$3 = "0xf74fb7092aeacdfbf8959557de22098da512207fb9f109cb526994938cf40300";
|
||
let wordlist$5 = null;
|
||
/**
|
||
* The [[link-bip39-es]] for [mnemonic phrases](link-bip-39).
|
||
*
|
||
* @_docloc: api/wordlists
|
||
*/
|
||
class LangEs extends WordlistOwlA {
|
||
/**
|
||
* Creates a new instance of the Spanish language Wordlist.
|
||
*
|
||
* This should be unnecessary most of the time as the exported
|
||
* [[langEs]] should suffice.
|
||
*
|
||
* @_ignore:
|
||
*/
|
||
constructor() { super("es", words$3, accents$1, checksum$3); }
|
||
/**
|
||
* Returns a singleton instance of a ``LangEs``, creating it
|
||
* if this is the first time being called.
|
||
*/
|
||
static wordlist() {
|
||
if (wordlist$5 == null) {
|
||
wordlist$5 = new LangEs();
|
||
}
|
||
return wordlist$5;
|
||
}
|
||
}
|
||
|
||
const words$2 = "0erreleontiteurinueiriet cegeanseali medenel q)eniluxaus ch0Ais}And$Diqu E`#Ol*Ord Ou%rOy RasifReuv Ri,Rog RuptS_-SoluS'@UsifYss=0A@m+AjouAr+nCab]Cep,Clam Cola@Cro~eCu}ErbeHatHe,Idu]I Omp&Qu *R$y?Te'TifT)l0Ep&EquatHesifJec%fJug Mett!M* Op,Or Ouc*Res<RoitUl&V be0R R$ef0Fai!Fec,Fi~eF!{Fub]0Ac Enc I#I,Raf Reab#Ru?1D Gu`#L>Mab#S/-0Ou,Us,1Arm Chim+Er&Geb!G)I_ I?ntLeg Lia.Lou Lum O'd*PagaTes<Veo#0A&'BiguB!Enag Ertu?Id$Ir=Orc O'Ovib#Phib+P#'Us/t0Aly<Apho!Ar~+Atom+C+nE/%rG#Gois<Gu#{Im=Nex N$-N)lOd(Om=+Ony?Orm=T_[Tido&X+{1Ai}Eri%fL/*Olog+Pa!`Pe]Por,Puy 0UariumUeduc0Bit!Bus&De'Doi<G_tLequ(Matu!Me?ntMoi!Mu!P_,Ra~ Riv Ro}S_icT +lTic#0PectPh=&P* S|tS v*S+t&Soc>S' TicotT!Tu-0El>O?RiumRo-Ta^T_%fT* Trap 0Ba(eB .Da-Dib#G' Ro!Tom[Tru~e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Oi!Oqu Ota#Uci=UelYp,2Bi^E`l*Il]eIs(eIv!Lm( L%v Mu]Pi@Ra%fR<'3Anu!C#L(d!Ni^:Ign M>Ng N<'Uph(3Batt!Bi,Bord Brid But/tC= Cemb!Ch* Cid Clar Cor Cri!Cup]Da#Duc%fEs<F_sifFi]Fray Gag Givr Glu%rGraf Jeun Li-Log M/d Me' Mol*Ni~ Nou N&l#Nud PartP_}Pha}Plac Po}R/g Rob Sast!S-n&S tSign Sobe*Ss( Str>Ta~ Tes,To' T!s<V/c V_*V( Vo*3Ab#Alog)Am/tC,Ff G Git=G[Lu M/~eM(u Oxy@Rec%fRig Scu,Spo}Ssip St/-V %rVi}5Ci#C&'G?IgtMa(eMici#Mp,Na&'Nj$Nn Pam(eRto*Ru!Sa.Se'Ss>Ta%$U/>Ub#U-'U,Y_2Ag$Ap Es}Ibb]Oitu!2P +P#xeRab#Rc*3Nas%e:0Lou*0Ar,HarpeHel#La* Lip<Lo!Lu<O#Onom+Or-Ou,Ra}Rem Riva(RouU?U!u`0If>Uqu 1Fac Fec%fFig+FortFray Fusi$0Ali}Ar 2Ec,1Abor Arg*Ectr$Eg/tEph/tEveIgib#I%s?O.Ucid Ud 0B=]Bell*Bry$Er|@Issi$M_ O%$Ouvo*P e'Ploy Por,Pri<Ulsi$0Cadr Ch eClaveCo~eDigu Dos}DroitDui!Erg+F/-F m Fou*Gag G(Glob Ig?Jamb JeuLev NemiNuye{Ri~*Roba.Seig[Tas}T_d!T>To' Trav Um Vah*Viab#Voy Zy?0L+n0Aiss*Arg[At/tAu#Ic +I@m+I Ilog)I[Iso@ItapheO^ReuveRouv Uis/t0U !Uipe0Ig Osi$Re'Up%$0C=>Pad$Pe-P+g#Po*PritQuiv Say S_-S+uSor Ti?TomacTra@0Ag eA]An~eA%^E(d!Endo*Er[lH/olHi^Hn+Ir Off Oi#Onn/tO'd*R/.RoitU@0Phor+0Alu Asi$Enta`I@n-I,Olu%fOqu 1ActAg Auc Cel]Cit/tClusifCu<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Ph$Pi^R/:0Ues^9Ti?Tras$1Ani?If>I$I^Itai!Iv s3AniumBa(Tic/t0A.I[UelU!0I#Op+:Car?Cc(Gab$dG)Ill/tInc!Is<|Lab#Li<Ll$LveMpi!N`#Pe'R>Se{Ss=S&3C&'Det&Get=Hicu#InardLo-Nd!diN Ng Ni?{Ntou<Rdu!R(Rn*RrouR}RtuSt$T /Tus&X/tX 3AducAn@Ctoi!D/.DeoG[t&G)'La(Lla.Naig!Ol$P eRe?ntRtuo<RusSa.Se'Si$S^{S)lT=Tes<Tico#Tr(eVa-Vipa!5Ca%$Gu I#Is(Itu!La`#Lc/L%g Lu?Ra-R&xT Ulo*Ya.Yel#:G$:3N$:Cht:3B!NithS&9Olog+";
|
||
const accents = "e7693&)U*o&)Ry^)*)W))))#X^))))@@)#Wf)m%)#!))AG)&IIAQIIIBIIHJNAgBIILIDJGo)))HIQIIIIA(IGgJHH(BIIxX#)Ou)@*IAAPIIIJHQJ)&QIQPYI(HYAQC%)!))QHJJ@)#)^f*^AXCJ))$%CP))%&m)u)@e^A#G#))W@!(IKK%!(I%))O@QA))@GG#e))))WHJIWh))my@IIBT^)!)HAYGETHI*))!QnUDG)))nBoKAC*HwyQh))$&)G&)UGO)G)))(BX#v**)%O,e7686)I))@)&)gdMP()))ud)p#L))I^FIHYdWG))D@DFV)QA)o%MyTh%*)Z)%)n(XANc^R)YS";
|
||
const checksum$2 = "0x51deb7ae009149dc61a6bd18a918eb7ac78d2775726c68e598b92d002519b045";
|
||
let wordlist$4 = null;
|
||
/**
|
||
* The [[link-bip39-fr]] for [mnemonic phrases](link-bip-39).
|
||
*
|
||
* @_docloc: api/wordlists
|
||
*/
|
||
class LangFr extends WordlistOwlA {
|
||
/**
|
||
* Creates a new instance of the French language Wordlist.
|
||
*
|
||
* This should be unnecessary most of the time as the exported
|
||
* [[langFr]] should suffice.
|
||
*
|
||
* @_ignore:
|
||
*/
|
||
constructor() { super("fr", words$2, accents, checksum$2); }
|
||
/**
|
||
* Returns a singleton instance of a ``LangFr``, creating it
|
||
* if this is the first time being called.
|
||
*/
|
||
static wordlist() {
|
||
if (wordlist$4 == null) {
|
||
wordlist$4 = new LangFr();
|
||
}
|
||
return wordlist$4;
|
||
}
|
||
}
|
||
|
||
const data$2 = [
|
||
// 4-kana words
|
||
"AQRASRAGBAGUAIRAHBAghAURAdBAdcAnoAMEAFBAFCBKFBQRBSFBCXBCDBCHBGFBEQBpBBpQBIkBHNBeOBgFBVCBhBBhNBmOBmRBiHBiFBUFBZDBvFBsXBkFBlcBjYBwDBMBBTBBTRBWBBWXXaQXaRXQWXSRXCFXYBXpHXOQXHRXhRXuRXmXXbRXlXXwDXTRXrCXWQXWGaBWaKcaYgasFadQalmaMBacAKaRKKBKKXKKjKQRKDRKCYKCRKIDKeVKHcKlXKjHKrYNAHNBWNaRNKcNIBNIONmXNsXNdXNnBNMBNRBNrXNWDNWMNFOQABQAHQBrQXBQXFQaRQKXQKDQKOQKFQNBQNDQQgQCXQCDQGBQGDQGdQYXQpBQpQQpHQLXQHuQgBQhBQhCQuFQmXQiDQUFQZDQsFQdRQkHQbRQlOQlmQPDQjDQwXQMBQMDQcFQTBQTHQrDDXQDNFDGBDGQDGRDpFDhFDmXDZXDbRDMYDRdDTRDrXSAhSBCSBrSGQSEQSHBSVRShYShkSyQSuFSiBSdcSoESocSlmSMBSFBSFKSFNSFdSFcCByCaRCKcCSBCSRCCrCGbCEHCYXCpBCpQCIBCIHCeNCgBCgFCVECVcCmkCmwCZXCZFCdRClOClmClFCjDCjdCnXCwBCwXCcRCFQCFjGXhGNhGDEGDMGCDGCHGIFGgBGVXGVEGVRGmXGsXGdYGoSGbRGnXGwXGwDGWRGFNGFLGFOGFdGFkEABEBDEBFEXOEaBEKSENBENDEYXEIgEIkEgBEgQEgHEhFEudEuFEiBEiHEiFEZDEvBEsXEsFEdXEdREkFEbBEbRElFEPCEfkEFNYAEYAhYBNYQdYDXYSRYCEYYoYgQYgRYuRYmCYZTYdBYbEYlXYjQY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// Maps each character into its kana value (the index)
|
||
const mapping = "~~AzB~X~a~KN~Q~D~S~C~G~E~Y~p~L~I~O~eH~g~V~hxyumi~~U~~Z~~v~~s~~dkoblPjfnqwMcRTr~W~~~F~~~~~Jt";
|
||
let _wordlist$2 = null;
|
||
function hex(word) {
|
||
return hexlify(toUtf8Bytes(word));
|
||
}
|
||
const KiYoKu = "0xe3818de38284e3818f";
|
||
const KyoKu = "0xe3818de38283e3818f";
|
||
function toString(data) {
|
||
return toUtf8String(new Uint8Array(data));
|
||
}
|
||
function loadWords$2() {
|
||
if (_wordlist$2 !== null) {
|
||
return _wordlist$2;
|
||
}
|
||
const wordlist = [];
|
||
// Transforms for normalizing (sort is a not quite UTF-8)
|
||
const transform = {};
|
||
// Delete the diacritic marks
|
||
transform[toString([227, 130, 154])] = false;
|
||
transform[toString([227, 130, 153])] = false;
|
||
// Some simple transforms that sort out most of the order
|
||
transform[toString([227, 130, 133])] = toString([227, 130, 134]);
|
||
transform[toString([227, 129, 163])] = toString([227, 129, 164]);
|
||
transform[toString([227, 130, 131])] = toString([227, 130, 132]);
|
||
transform[toString([227, 130, 135])] = toString([227, 130, 136]);
|
||
// Normalize words using the transform
|
||
function normalize(word) {
|
||
let result = "";
|
||
for (let i = 0; i < word.length; i++) {
|
||
let kana = word[i];
|
||
const target = transform[kana];
|
||
if (target === false) {
|
||
continue;
|
||
}
|
||
if (target) {
|
||
kana = target;
|
||
}
|
||
result += kana;
|
||
}
|
||
return result;
|
||
}
|
||
// Sort how the Japanese list is sorted
|
||
function sortJapanese(a, b) {
|
||
a = normalize(a);
|
||
b = normalize(b);
|
||
if (a < b) {
|
||
return -1;
|
||
}
|
||
if (a > b) {
|
||
return 1;
|
||
}
|
||
return 0;
|
||
}
|
||
// Load all the words
|
||
for (let length = 3; length <= 9; length++) {
|
||
const d = data$2[length - 3];
|
||
for (let offset = 0; offset < d.length; offset += length) {
|
||
const word = [];
|
||
for (let i = 0; i < length; i++) {
|
||
const k = mapping.indexOf(d[offset + i]);
|
||
word.push(227);
|
||
word.push((k & 0x40) ? 130 : 129);
|
||
word.push((k & 0x3f) + 128);
|
||
}
|
||
wordlist.push(toString(word));
|
||
}
|
||
}
|
||
wordlist.sort(sortJapanese);
|
||
// For some reason kyoku and kiyoku are flipped in node (!!).
|
||
// The order SHOULD be:
|
||
// - kyoku
|
||
// - kiyoku
|
||
// This should ignore "if", but that doesn't work here??
|
||
/* c8 ignore start */
|
||
if (hex(wordlist[442]) === KiYoKu && hex(wordlist[443]) === KyoKu) {
|
||
const tmp = wordlist[442];
|
||
wordlist[442] = wordlist[443];
|
||
wordlist[443] = tmp;
|
||
}
|
||
/* c8 ignore stop */
|
||
// Verify the computed list matches the official list
|
||
/* istanbul ignore if */
|
||
const checksum = id(wordlist.join("\n") + "\n");
|
||
/* c8 ignore start */
|
||
if (checksum !== "0xcb36b09e6baa935787fd762ce65e80b0c6a8dabdfbc3a7f86ac0e2c4fd111600") {
|
||
throw new Error("BIP39 Wordlist for ja (Japanese) FAILED");
|
||
}
|
||
/* c8 ignore stop */
|
||
_wordlist$2 = wordlist;
|
||
return wordlist;
|
||
}
|
||
let wordlist$3 = null;
|
||
/**
|
||
* The [[link-bip39-ja]] for [mnemonic phrases](link-bip-39).
|
||
*
|
||
* @_docloc: api/wordlists
|
||
*/
|
||
class LangJa extends Wordlist {
|
||
/**
|
||
* Creates a new instance of the Japanese language Wordlist.
|
||
*
|
||
* This should be unnecessary most of the time as the exported
|
||
* [[langJa]] should suffice.
|
||
*
|
||
* @_ignore:
|
||
*/
|
||
constructor() { super("ja"); }
|
||
getWord(index) {
|
||
const words = loadWords$2();
|
||
assertArgument(index >= 0 && index < words.length, `invalid word index: ${index}`, "index", index);
|
||
return words[index];
|
||
}
|
||
getWordIndex(word) {
|
||
return loadWords$2().indexOf(word);
|
||
}
|
||
split(phrase) {
|
||
//logger.assertNormalize();
|
||
return phrase.split(/(?:\u3000| )+/g);
|
||
}
|
||
join(words) {
|
||
return words.join("\u3000");
|
||
}
|
||
/**
|
||
* Returns a singleton instance of a ``LangJa``, creating it
|
||
* if this is the first time being called.
|
||
*/
|
||
static wordlist() {
|
||
if (wordlist$3 == null) {
|
||
wordlist$3 = new LangJa();
|
||
}
|
||
return wordlist$3;
|
||
}
|
||
}
|
||
|
||
const data$1 = [
|
||
"OYAa",
|
||
"ATAZoATBl3ATCTrATCl8ATDloATGg3ATHT8ATJT8ATJl3ATLlvATLn4ATMT8ATMX8ATMboATMgoAToLbAToMTATrHgATvHnAT3AnAT3JbAT3MTAT8DbAT8JTAT8LmAT8MYAT8MbAT#LnAUHT8AUHZvAUJXrAUJX8AULnrAXJnvAXLUoAXLgvAXMn6AXRg3AXrMbAX3JTAX3QbAYLn3AZLgvAZrSUAZvAcAZ8AaAZ8AbAZ8AnAZ8HnAZ8LgAZ8MYAZ8MgAZ8OnAaAboAaDTrAaFTrAaJTrAaJboAaLVoAaMXvAaOl8AaSeoAbAUoAbAg8AbAl4AbGnrAbMT8AbMXrAbMn4AbQb8AbSV8AbvRlAb8AUAb8AnAb8HgAb8JTAb8NTAb8RbAcGboAcLnvAcMT8AcMX8AcSToAcrAaAcrFnAc8AbAc8MgAfGgrAfHboAfJnvAfLV8AfLkoAfMT8AfMnoAfQb8AfScrAfSgrAgAZ8AgFl3AgGX8AgHZvAgHgrAgJXoAgJX8AgJboAgLZoAgLn4AgOX8AgoATAgoAnAgoCUAgoJgAgoLXAgoMYAgoSeAgrDUAgrJTAhrFnAhrLjAhrQgAjAgoAjJnrAkMX8AkOnoAlCTvAlCV8AlClvAlFg4AlFl6AlFn3AloSnAlrAXAlrAfAlrFUAlrFbAlrGgAlrOXAlvKnAlvMTAl3AbAl3MnAnATrAnAcrAnCZ3AnCl8AnDg8AnFboAnFl3AnHX4AnHbrAnHgrAnIl3AnJgvAnLXoAnLX4AnLbrAnLgrAnLhrAnMXoAnMgrAnOn3AnSbrAnSeoAnvLnAn3OnCTGgvCTSlvCTvAUCTvKnCTvNTCT3CZCT3GUCT3MTC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UJnoQUvFXrQlQeMnoAl3QlrQlrSnRTFTrJUoSTDlLiLXSTFg6HT3STJgoMn4STrFTJTrSTrLZFl3ST4FnMXoSUrDlHUoScvHTvSnSfLkvMXo",
|
||
"AUoAcrMXoAZ8HboAg8AbOg6ATFgAg8AloMXoAl3AT8JTrAl8MX8MXoCT3SToJU8Cl8Db8MXoDT8HgrATrDboOT8MXoGTOTrATMnGT8LhrAZ8GnvFnGnQXHToGgvAcrHTvAXvLl3HbrAZoMXoHgBlFXLg3HgMnFXrSnHgrSb8JUoHn6HT8LgvITvATrJUoJUoLZrRnvJU8HT8Jb8JXvFX8QT8JXvLToJTrJYrQnGnQXJgrJnoATrJnoJU8ScvJnvMnvMXoLTCTLgrJXLTJlRTvQlLbRnJlQYvLbrMb8LnvLbvFn3RnoLdCVSTGZrLeSTvGXCnLg3MnoLn3MToLlrETvMT8SToAl3MbrDU6GTvMb8LX4LhrPlrLXGXCnSToLf8Rg3STrDb8LTrSTvLTHXMnSb3RYLnMnSgOg6ATFg",
|
||
"HUDlGnrQXrJTrHgLnrAcJYMb8DULc8LTvFgGnCk3Mg8JbAnLX4QYvFYHnMXrRUoJnGnvFnRlvFTJlQnoSTrBXHXrLYSUJgLfoMT8Se8DTrHbDb",
|
||
"AbDl8SToJU8An3RbAb8ST8DUSTrGnrAgoLbFU6Db8LTrMg8AaHT8Jb8ObDl8SToJU8Pb3RlvFYoJl"
|
||
];
|
||
const codes$1 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789!@#$%^&*";
|
||
function getHangul(code) {
|
||
if (code >= 40) {
|
||
code = code + 168 - 40;
|
||
}
|
||
else if (code >= 19) {
|
||
code = code + 97 - 19;
|
||
}
|
||
return toUtf8String(new Uint8Array([225, (code >> 6) + 132, (code & 0x3f) + 128]));
|
||
}
|
||
let _wordlist$1 = null;
|
||
function loadWords$1() {
|
||
if (_wordlist$1 != null) {
|
||
return _wordlist$1;
|
||
}
|
||
const wordlist = [];
|
||
data$1.forEach((data, length) => {
|
||
length += 4;
|
||
for (let i = 0; i < data.length; i += length) {
|
||
let word = "";
|
||
for (let j = 0; j < length; j++) {
|
||
word += getHangul(codes$1.indexOf(data[i + j]));
|
||
}
|
||
wordlist.push(word);
|
||
}
|
||
});
|
||
wordlist.sort();
|
||
// Verify the computed list matches the official list
|
||
/* istanbul ignore if */
|
||
const checksum = id(wordlist.join("\n") + "\n");
|
||
/* c8 ignore start */
|
||
if (checksum !== "0xf9eddeace9c5d3da9c93cf7d3cd38f6a13ed3affb933259ae865714e8a3ae71a") {
|
||
throw new Error("BIP39 Wordlist for ko (Korean) FAILED");
|
||
}
|
||
/* c8 ignore stop */
|
||
_wordlist$1 = wordlist;
|
||
return wordlist;
|
||
}
|
||
let wordlist$2 = null;
|
||
/**
|
||
* The [[link-bip39-ko]] for [mnemonic phrases](link-bip-39).
|
||
*
|
||
* @_docloc: api/wordlists
|
||
*/
|
||
class LangKo extends Wordlist {
|
||
/**
|
||
* Creates a new instance of the Korean language Wordlist.
|
||
*
|
||
* This should be unnecessary most of the time as the exported
|
||
* [[langKo]] should suffice.
|
||
*
|
||
* @_ignore:
|
||
*/
|
||
constructor() {
|
||
super("ko");
|
||
}
|
||
getWord(index) {
|
||
const words = loadWords$1();
|
||
assertArgument(index >= 0 && index < words.length, `invalid word index: ${index}`, "index", index);
|
||
return words[index];
|
||
}
|
||
getWordIndex(word) {
|
||
return loadWords$1().indexOf(word);
|
||
}
|
||
/**
|
||
* Returns a singleton instance of a ``LangKo``, creating it
|
||
* if this is the first time being called.
|
||
*/
|
||
static wordlist() {
|
||
if (wordlist$2 == null) {
|
||
wordlist$2 = new LangKo();
|
||
}
|
||
return wordlist$2;
|
||
}
|
||
}
|
||
|
||
const words$1 = "0torea noica!iosorolotaleratelanena%oiadoencotivomai t ca%a0A]Bagl'Bin#E.Is(Oli!Rasi_Rog#0Cade!C[$Cus#E <Hil,I@QuaReRil>Roba+U 0Ag'Deb{DomeEgu#Eri!I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234941d29f7d37c08c5292fde03bf62c2db6ff7620";
|
||
let wordlist$1 = null;
|
||
/**
|
||
* The [[link-bip39-it]] for [mnemonic phrases](link-bip-39).
|
||
*
|
||
* @_docloc: api/wordlists
|
||
*/
|
||
class LangIt extends WordlistOwl {
|
||
/**
|
||
* Creates a new instance of the Italian language Wordlist.
|
||
*
|
||
* This should be unnecessary most of the time as the exported
|
||
* [[langIt]] should suffice.
|
||
*
|
||
* @_ignore:
|
||
*/
|
||
constructor() { super("it", words$1, checksum$1); }
|
||
/**
|
||
* Returns a singleton instance of a ``LangIt``, creating it
|
||
* if this is the first time being called.
|
||
*/
|
||
static wordlist() {
|
||
if (wordlist$1 == null) {
|
||
wordlist$1 = new LangIt();
|
||
}
|
||
return wordlist$1;
|
||
}
|
||
}
|
||
|
||
const words = "0arad!ototealirertainrasoent hoandoaR#riareha!aroele'oronul0Aca%AixoAl A%rDuz'El]Er$IsmoO$ R<g(Revi Rig Rup$S*$Solu$Sur=Ut[0Ab#Alm Amp Anh A,Ei.El( En ErvoEss E$naHa.IdezImaI}#Irr Lam LiveOlhidaOmod Opl Ord Um~ Us?0Ap.EgaEnt_Ep$Equ Er-%EsivoEusI<%ItivoJetivoJun$M' Or Qu''UboV(,Vog#0R}ave0As.Er'EtivoIn?Iv` Li$Lu-%R}.0Ach Arr As&/Enci Iliz Io)It#O+R! Res%Rup U d Ul]2O`h Ud Us.1AmedaArmeAstr Av<caB(gueB*oCat+De@EcrimEgr@Er.FaceF*e%GumHeioI Ica%I- Inh Ivi Mof^Oc Pis%T( TitudeUc* Ug UnoUsivoVo0Aci A=rA[loAss BasBi-%EixaEniz I=Is$,Iz!eOl?On$ O_,Ost+P Pli Pola0Ag+maAlis Arqu@A$m@DaimeElExoG~ Im JoOm&@Ot#Sio,T(i|Uid!eUnci Zol1Ag?Alp Anh#EgoEli=Ert^Es Eti%I$Lau,Lic^OioOn.Os)R-dizRov 0Uec(0AmeAn]A+C^D-%E@Ej Eni$Es)Gilo,GolaMaQuivoRai&Reba%Risc Rob>um S-&T(i&TigoVo[=0F&.Il#P' S?S* So&/Sun$Tr&0Ac#Adu+Al/A[f E End(Er_EuIng'Ir?IvoOl{oRac Revi=RizU&Um0Di$rM-.R>o+TismoT|@Tu 0Ali An%Ar@Ent&Es,I?Is Ul,1Ila1Ar E=Ei%Ulejo:B BosaC&]uCh `C@GagemI<oIl I}e)Ir_Ixis)J~ Le@LizaLsaN&Nd{aN/N'Nque%Ra$Rb#R}es>+c>~/Se#S)n%Ta)Te=rTidaTomTuc Unil]3B(IjoIr^IsebolLd!eLezaLgaLisc Ndi$Ng&aNz(RimbauRl*d>_Sou_XigaZ(_3CoCu=En&Foc&Furc G|naLhe%Mest[Mo$rOlog@OmboOsf(aPol Rr-$Scoi$Sne$SpoSsex$TolaZ _2Ind#OcoOque 2A$BagemC#CejoChec]Ico.L^LetimL]LoMb{oNdeNecoNi)Rb~h>d>e&R+c]V*oXe?2AncoAsaAvezaEuIgaIl/Inc OaOchu+Onze O$Uxo2C]DismoF LeRacoScaS$Z*a:B<aB`oBideBoBri$CauCet^C/r_CiqueDast_De#Fez&IaqueIp'aIxo%J#JuLafrioLc~ Ld{aLibr Lm<%Lo)M^Mbis)MisaMomilaMp<]Mufl Navi&Nc` Ne)NguruN/$Nive%NoaNs#N.Nu=Pac/P`aP* Po.Pric/Pt?PuzRacolRb}oRde&Rec>imb Rn{oRpe%R['>)zRv&/SacoScaSeb[S%loS~oT a)Tiv UleUs?U%l V&oV(na3BolaDil]G}]Lebr L~ Nou+N,N%ioRc Rr#R%'oRvejaTimV^2Aco)Al{aAm#Ap^ArmeAticeAveEfeEg^E'oEqueIco%If[In`oOc&/Ov(UmboU.Uva0CatrizCl}eD!eD['aEn%G<aM-$N$Nz><d>cui$Rurg@T 2A[zaE_Ic OneUbe2A=Ag'Ba@B($rBr C^El/Ent_E,Gum`oIb'IfaIo%L L{aLh(Lid'Lme@L}oLunaM<=Mb* M-.MitivaMov(MplexoMumNc]N=rNec.Nfu,Ng` Nhec(Njug Nsum'Nt+$Nvi%Op( P{oPi?PoQue%lRagemRdi&Rne)R}h>p|&R[ioR%joRuj>voSs-oS%laT}e%U_UveVilZ*]2A%+AvoEcheE=rEmeErEspoI^Im*&Io~oIseItic Os)UaUz{o2B<oEcaId#JoLat+Lm* Lp Ltu+Mpr'Nh#Pi=RativoRr&Rs R$Sp'S% T`o:MascoT 3Ba%rBi.BocheB~h C&queCim&CliveCo%C[.D&Dic#Duz'FesaFum G`oG+uGus.It#Ix La$rLeg#L*e L}gaM<daMit'Moli=Ntis)P-#Pil PoisP[ssaPur Riv>+m SafioSbo.Sc<,S-/Sfi#Sgas%Sigu&SlizeSmam SovaSpesaS)queSvi T&h T-$rT} Tri$UsaV(Vi=Vot#Z-a3Ag+maAle$Da)Fu,Gi.Lat#Lu-%M*u'Nast@Nh{oOceseRe$Sc[)Sf ceSp oSque%Ssip S)n%T?UrnoV(,Vi,rV~g Z(5Br?L|i=M?M*#NativoNz`>m-%Rs&SagemUr#U$r2EnagemIbleOg @2El EndeE$PloQues><%Vi=,:1Lod'O Olog@0Ific It&Uc#1Ei$Etiv 3E.1Ab| Eg(Ei$rEncoEv?Im* Ogi 0B goBol#Br~/Buti=EndaErg'Is,rPat@P-/P*#Polg P[goPurr Ul?0CaixeC-#Ch-%C}t_Deus Doss Faix Fei%FimGaj#G-/Glob Gom#G+x Gu@Jo La.Qu<$Raiz Rol#Rug SaioSe^S*oSop#T<$Te#Tid!eT|.Tr^T~/V(g Vi#Volv(XameX($Xof[Xu$1Id(me0Uip 0E$Gui=Ra)VaVil]0B<j B`$CamaColaCri)Cu)F*geFol F[g Fum#GrimaM&%P<$P`/PigaP}jaP[i)Pum Qu(daTacaT{aTic Tof#T[laTu=Vazi 0AnolIque)0F|i>opeu0Acu Ap| AsivoEntu&Id-%Olu'1Ag(oAl Am* A$Aus$Ces,Ci.Clam Ecu.EmploIb'Ig-%On( P<d'P`'P' Pl< Pos$P[s,P~s T(noT*$T+$:Bric B~o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i=0El]Ul 1Id Ig- :Ca$Ci-%Co%Ctu D @Dr*/G GodeIn`Ir IsagemLav+Lest+Lhe)Li$Lm^Lpi.Nc^N`aNfle$NquecaN)n&PagaioP`^P'oRaf*>ci&Rd&RedeRtidaSmoSs#S%lTam T-%T* T_noUl^Us 3C~i D& Dest[D@t+D+G^I$r&IxeLeLic<oNcaNdur N{aN]scoNs?N%Rceb(Rfei$Rgun)Ri$Rmit'Rn>plexoRsi<>%nceRucaSc#SquisaS,aTisc 3AdaC#Ed!eGm-$Last+Lh#Lo.M-)Nc`NguimN]No%N.On{oPocaQue%R<h>esRue)Sc S$laT<gaVe%2An)Aque)At*aEbeuUmagemUvi&1Eu0DaE'aEtisaLeg^Lici Lu-%Lvil/M MbaNd( N.@P~o,R)Ssu'St&TeUp U,Vo 2A@Anc]A$AxeEceEd?Efei$Emi Ens Ep Esil]E%x$Ev-'Ez Ima)IncesaIsmaIv#Oces,Odu$Ofe)Oibi=Oje$Ome%rOpag OsaO%$rOv?2Blic DimL Lm} Ls{aNh&N'PiloRezaX?:99Ad+Ant@Ar$AseEbr EdaEijoEn%Eri=Im}oInaIosque:B<^BiscoCh Ci} Di&I In]IoIvaJ^L#M&Ng(Nhu+P!u+P`PidezPosaQue%Rid!eS<%Scun/Sg Sp?S%'aSur Taz<aTo{a3AlezaAnim Av(Baix B`deBol C#C-%CheioCiboC|d Cru.Cu DeDim'D}daDuzidaEnvioF* Flet'Fog F[scoFugi G&@GimeG+In#I$rJei.LativoM?M-=M|,Nov#P oP`'Ple$Pol/P[saPudi Qu((S-]Sfri Sga.Sid'Solv(Spei$SsacaS)n%Sum'T&/T(T' Tom^T+.V` Vi,rVol)3Ac/CaGidezGo_,M NgueS^ScoS}/5B&oChe=D^DeioDov@E=rLe)M<oNc S#S{aS$TaT{oT*aT~ UcoUpaXo5B_Gi=Go,IvoMoPest[S,:B|Ci ColaCud'DioF'aGaGr^Ib_L^L{oLg#LivaLpic Lsic]L.Lv?Mb Mu+iN Nf}a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@5Mbi=";
|
||
const checksum = "0x2219000926df7b50d8aa0a3d495826b988287df4657fbd100e6fe596c8f737ac";
|
||
let wordlist = null;
|
||
/**
|
||
* The [[link-bip39-pt]] for [mnemonic phrases](link-bip-39).
|
||
*
|
||
* @_docloc: api/wordlists
|
||
*/
|
||
class LangPt extends WordlistOwl {
|
||
/**
|
||
* Creates a new instance of the Portuguese language Wordlist.
|
||
*
|
||
* This should be unnecessary most of the time as the exported
|
||
* [[langPt]] should suffice.
|
||
*
|
||
* @_ignore:
|
||
*/
|
||
constructor() { super("pt", words, checksum); }
|
||
/**
|
||
* Returns a singleton instance of a ``LangPt``, creating it
|
||
* if this is the first time being called.
|
||
*/
|
||
static wordlist() {
|
||
if (wordlist == null) {
|
||
wordlist = new LangPt();
|
||
}
|
||
return wordlist;
|
||
}
|
||
}
|
||
|
||
const data = "}aE#4A=Yv&co#4N#6G=cJ&SM#66|/Z#4t&kn~46#4K~4q%b9=IR#7l,mB#7W_X2*dl}Uo~7s}Uf&Iw#9c&cw~6O&H6&wx&IG%v5=IQ~8a&Pv#47$PR&50%Ko&QM&3l#5f,D9#4L|/H&tQ;v0~6n]nN<di,AM=W5%QO&ka&ua,hM^tm=zV=JA=wR&+X]7P&NB#4J#5L|/b[dA}tJ<Do&6m&u2[U1&Kb.HM&mC=w0&MW<rY,Hq#6M}QG,13&wP}Jp]Ow%ue&Kg<HP<D9~4k~9T&I2_c6$9T#9/[C5~7O~4a=cs&O7=KK=An&l9$6U$8A&uD&QI|/Y&bg}Ux&F2#6b}E2&JN&kW&kp=U/&bb=Xl<Cj}k+~5J#6L&5z&9i}b4&Fo,ho(X0_g3~4O$Fz&QE<HN=Ww]6/%GF-Vw=tj&/D&PN#9g=YO}cL&Of&PI~5I&Ip=vU=IW#9G;0o-wU}ss&QR<BT&R9=tk$PY_dh&Pq-yh]7T,nj.Xu=EP&76=cI&Fs*Xg}z7$Gb&+I=DF,AF=cA}rL#7j=Dz&3y<Aa$52=PQ}b0(iY$Fa}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FdVnz026CGR5qMr7fxMHN8UUdlyJAzlTBDRC28k+L4FB8078ljyD91tUj1ocnTs8vdEf7znbzm+GIjEZnoZE5rnLL700Xc7yHfz05nWxy03vBB9YGHYOWxgMQGBCR24CVYNE1hpfKxN0zKnfJDmmMgMmBWqNbjfSyFCBWSCGCgR8yFXiHyEj+VtD1FB3FpC1zI0kFbzifiKTLm9yq5zFmur+q8FHqjoOBWsBPiDbnCC2ErunV6cJ6TygXFYHYp7MKN9RUlSIS8/xBAGYLzeqUnBF4QbsTuUkUqGs6CaiDWKWjQK9EJkjpkTmNCPYXL";
|
||
const _wordlist = {
|
||
zh_cn: null,
|
||
zh_tw: null
|
||
};
|
||
const Checks = {
|
||
zh_cn: "0x17bcc4d8547e5a7135e365d1ab443aaae95e76d8230c2782c67305d4f21497a1",
|
||
zh_tw: "0x51e720e90c7b87bec1d70eb6e74a21a449bd3ec9c020b01d3a40ed991b60ce5d"
|
||
};
|
||
const codes = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
|
||
const style = "~!@#$%^&*_-=[]{}|;:,.()<>?";
|
||
function loadWords(locale) {
|
||
if (_wordlist[locale] != null) {
|
||
return _wordlist[locale];
|
||
}
|
||
const wordlist = [];
|
||
let deltaOffset = 0;
|
||
for (let i = 0; i < 2048; i++) {
|
||
const s = style.indexOf(data[i * 3]);
|
||
const bytes = [
|
||
228 + (s >> 2),
|
||
128 + codes.indexOf(data[i * 3 + 1]),
|
||
128 + codes.indexOf(data[i * 3 + 2]),
|
||
];
|
||
if (locale === "zh_tw") {
|
||
const common = s % 4;
|
||
for (let i = common; i < 3; i++) {
|
||
bytes[i] = codes.indexOf(deltaData[deltaOffset++]) + ((i == 0) ? 228 : 128);
|
||
}
|
||
}
|
||
wordlist.push(toUtf8String(new Uint8Array(bytes)));
|
||
}
|
||
// Verify the computed list matches the official list
|
||
const checksum = id(wordlist.join("\n") + "\n");
|
||
/* c8 ignore start */
|
||
if (checksum !== Checks[locale]) {
|
||
throw new Error(`BIP39 Wordlist for ${locale} (Chinese) FAILED`);
|
||
}
|
||
/* c8 ignore stop */
|
||
_wordlist[locale] = wordlist;
|
||
return wordlist;
|
||
}
|
||
const wordlists = {};
|
||
/**
|
||
* The [[link-bip39-zh_cn]] and [[link-bip39-zh_tw]] for
|
||
* [mnemonic phrases](link-bip-39).
|
||
*
|
||
* @_docloc: api/wordlists
|
||
*/
|
||
class LangZh extends Wordlist {
|
||
/**
|
||
* Creates a new instance of the Chinese language Wordlist for
|
||
* the %%dialect%%, either ``"cn"`` or ``"tw"`` for simplified
|
||
* or traditional, respectively.
|
||
*
|
||
* This should be unnecessary most of the time as the exported
|
||
* [[langZhCn]] and [[langZhTw]] should suffice.
|
||
*
|
||
* @_ignore:
|
||
*/
|
||
constructor(dialect) { super("zh_" + dialect); }
|
||
getWord(index) {
|
||
const words = loadWords(this.locale);
|
||
assertArgument(index >= 0 && index < words.length, `invalid word index: ${index}`, "index", index);
|
||
return words[index];
|
||
}
|
||
getWordIndex(word) {
|
||
return loadWords(this.locale).indexOf(word);
|
||
}
|
||
split(phrase) {
|
||
phrase = phrase.replace(/(?:\u3000| )+/g, "");
|
||
return phrase.split("");
|
||
}
|
||
/**
|
||
* Returns a singleton instance of a ``LangZh`` for %%dialect%%,
|
||
* creating it if this is the first time being called.
|
||
*
|
||
* Use the %%dialect%% ``"cn"`` or ``"tw"`` for simplified or
|
||
* traditional, respectively.
|
||
*/
|
||
static wordlist(dialect) {
|
||
if (wordlists[dialect] == null) {
|
||
wordlists[dialect] = new LangZh(dialect);
|
||
}
|
||
return wordlists[dialect];
|
||
}
|
||
}
|
||
|
||
export { LangCz, LangEs, LangFr, LangIt, LangJa, LangKo, LangPt, LangZh };
|
||
//# sourceMappingURL=wordlists-extra.js.map
|