6491 lines
2.6 MiB
JavaScript
6491 lines
2.6 MiB
JavaScript
|
/*
|
|||
|
* ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
|
|||
|
* This devtool is neither made for production nor for readable output files.
|
|||
|
* It uses "eval()" calls to create a separate source file in the browser devtools.
|
|||
|
* If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
|
|||
|
* or disable the default devtool with "devtool: false".
|
|||
|
* If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
|
|||
|
*/
|
|||
|
/******/ var __webpack_modules__ = ({
|
|||
|
|
|||
|
/***/ "./node_modules/@stablelib/binary/lib/binary.js":
|
|||
|
/*!******************************************************!*\
|
|||
|
!*** ./node_modules/@stablelib/binary/lib/binary.js ***!
|
|||
|
\******************************************************/
|
|||
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|||
|
|
|||
|
eval("\n// Copyright (C) 2016 Dmitry Chestnykh\n// MIT License. See LICENSE file for details.\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\n/**\n * Package binary provides functions for encoding and decoding numbers in byte arrays.\n */\nvar int_1 = __webpack_require__(/*! @stablelib/int */ \"./node_modules/@stablelib/int/lib/int.js\");\n// TODO(dchest): add asserts for correct value ranges and array offsets.\n/**\n * Reads 2 bytes from array starting at offset as big-endian\n * signed 16-bit integer and returns it.\n */\nfunction readInt16BE(array, offset) {\n if (offset === void 0) { offset = 0; }\n return (((array[offset + 0] << 8) | array[offset + 1]) << 16) >> 16;\n}\nexports.readInt16BE = readInt16BE;\n/**\n * Reads 2 bytes from array starting at offset as big-endian\n * unsigned 16-bit integer and returns it.\n */\nfunction readUint16BE(array, offset) {\n if (offset === void 0) { offset = 0; }\n return ((array[offset + 0] << 8) | array[offset + 1]) >>> 0;\n}\nexports.readUint16BE = readUint16BE;\n/**\n * Reads 2 bytes from array starting at offset as little-endian\n * signed 16-bit integer and returns it.\n */\nfunction readInt16LE(array, offset) {\n if (offset === void 0) { offset = 0; }\n return (((array[offset + 1] << 8) | array[offset]) << 16) >> 16;\n}\nexports.readInt16LE = readInt16LE;\n/**\n * Reads 2 bytes from array starting at offset as little-endian\n * unsigned 16-bit integer and returns it.\n */\nfunction readUint16LE(array, offset) {\n if (offset === void 0) { offset = 0; }\n return ((array[offset + 1] << 8) | array[offset]) >>> 0;\n}\nexports.readUint16LE = readUint16LE;\n/**\n * Writes 2-byte big-endian representation of 16-bit unsigned\n * value to byte array starting at offset.\n *\n * If byte array is not given, creates a new 2-byte one.\n *\n * Returns the output byte array.\n */\nfunction writeUint16BE(value, out, offset) {\n if (out === void 0) { out = new Uint8Array(2); }\n if (offset === void 0) { offset = 0; }\n out[offset + 0] = value >>> 8;\n out[offset + 1] = value >>> 0;\n return out;\n}\nexports.writeUint16BE = writeUint16BE;\nexports.writeInt16BE = writeUint16BE;\n/**\n * Writes 2-byte little-endian representation of 16-bit unsigned\n * value to array starting at offset.\n *\n * If byte array is not given, creates a new 2-byte one.\n *\n * Returns the output byte array.\n */\nfunction writeUint16LE(value, out, offset) {\n if (out === void 0) { out = new Uint8Array(2); }\n if (offset === void 0) { offset = 0; }\n out[offset + 0] = value >>> 0;\n out[offset + 1] = value >>> 8;\n return out;\n}\nexports.writeUint16LE = writeUint16LE;\nexports.writeInt16LE = writeUint16LE;\n/**\n * Reads 4 bytes from array starting at offset as big-endian\n * signed 32-bit integer and returns it.\n */\nfunction readInt32BE(array, offset) {\n if (offset === void 0) { offset = 0; }\n return (array[offset] << 24) |\n (array[offset + 1] << 16) |\n (array[offset + 2] << 8) |\n array[offset + 3];\n}\nexports.readInt32BE = readInt32BE;\n/**\n * Reads 4 bytes from array starting at offset as big-endian\n * unsigned 32-bit integer and returns it.\n */\nfunction readUint32BE(array, offset) {\n if (offset === void 0) { offset = 0; }\n return ((array[offset] << 24) |\n (array[offset + 1] << 16) |\n (array[offset + 2] << 8) |\n array[offset + 3]) >>> 0;\n}\nexports.readUint32BE = readUint32BE;\n/**\n * Reads 4 bytes from array starting at offset as little-endian\n * signed 32-bit integer and returns it.\n */\nfunction readInt32LE(array, offset) {\n if (offset === void 0) { offset = 0; }\n return (array[offset + 3] << 24) |\n (array[offset + 2] << 16) |\n (array[offset + 1] << 8) |\n array[offset];\n}\nexports.readInt32LE = readInt32LE;\n/**\n * Reads 4 bytes from array starting at offset as little-endian\n * unsigned 32-bit integer and returns it.\n */\nfunction readUint32LE(array, offset) {\n if (offset === void 0) { offset = 0; }\n return ((array[offse
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@stablelib/chacha/lib/chacha.js":
|
|||
|
/*!******************************************************!*\
|
|||
|
!*** ./node_modules/@stablelib/chacha/lib/chacha.js ***!
|
|||
|
\******************************************************/
|
|||
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|||
|
|
|||
|
eval("\n// Copyright (C) 2016 Dmitry Chestnykh\n// MIT License. See LICENSE file for details.\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\n/**\n * Package chacha implements ChaCha stream cipher.\n */\nvar binary_1 = __webpack_require__(/*! @stablelib/binary */ \"./node_modules/@stablelib/binary/lib/binary.js\");\nvar wipe_1 = __webpack_require__(/*! @stablelib/wipe */ \"./node_modules/@stablelib/wipe/lib/wipe.js\");\n// Number of ChaCha rounds (ChaCha20).\nvar ROUNDS = 20;\n// Applies the ChaCha core function to 16-byte input,\n// 32-byte key key, and puts the result into 64-byte array out.\nfunction core(out, input, key) {\n var j0 = 0x61707865; // \"expa\" -- ChaCha's \"sigma\" constant\n var j1 = 0x3320646E; // \"nd 3\" for 32-byte keys\n var j2 = 0x79622D32; // \"2-by\"\n var j3 = 0x6B206574; // \"te k\"\n var j4 = (key[3] << 24) | (key[2] << 16) | (key[1] << 8) | key[0];\n var j5 = (key[7] << 24) | (key[6] << 16) | (key[5] << 8) | key[4];\n var j6 = (key[11] << 24) | (key[10] << 16) | (key[9] << 8) | key[8];\n var j7 = (key[15] << 24) | (key[14] << 16) | (key[13] << 8) | key[12];\n var j8 = (key[19] << 24) | (key[18] << 16) | (key[17] << 8) | key[16];\n var j9 = (key[23] << 24) | (key[22] << 16) | (key[21] << 8) | key[20];\n var j10 = (key[27] << 24) | (key[26] << 16) | (key[25] << 8) | key[24];\n var j11 = (key[31] << 24) | (key[30] << 16) | (key[29] << 8) | key[28];\n var j12 = (input[3] << 24) | (input[2] << 16) | (input[1] << 8) | input[0];\n var j13 = (input[7] << 24) | (input[6] << 16) | (input[5] << 8) | input[4];\n var j14 = (input[11] << 24) | (input[10] << 16) | (input[9] << 8) | input[8];\n var j15 = (input[15] << 24) | (input[14] << 16) | (input[13] << 8) | input[12];\n var x0 = j0;\n var x1 = j1;\n var x2 = j2;\n var x3 = j3;\n var x4 = j4;\n var x5 = j5;\n var x6 = j6;\n var x7 = j7;\n var x8 = j8;\n var x9 = j9;\n var x10 = j10;\n var x11 = j11;\n var x12 = j12;\n var x13 = j13;\n var x14 = j14;\n var x15 = j15;\n for (var i = 0; i < ROUNDS; i += 2) {\n x0 = x0 + x4 | 0;\n x12 ^= x0;\n x12 = x12 >>> (32 - 16) | x12 << 16;\n x8 = x8 + x12 | 0;\n x4 ^= x8;\n x4 = x4 >>> (32 - 12) | x4 << 12;\n x1 = x1 + x5 | 0;\n x13 ^= x1;\n x13 = x13 >>> (32 - 16) | x13 << 16;\n x9 = x9 + x13 | 0;\n x5 ^= x9;\n x5 = x5 >>> (32 - 12) | x5 << 12;\n x2 = x2 + x6 | 0;\n x14 ^= x2;\n x14 = x14 >>> (32 - 16) | x14 << 16;\n x10 = x10 + x14 | 0;\n x6 ^= x10;\n x6 = x6 >>> (32 - 12) | x6 << 12;\n x3 = x3 + x7 | 0;\n x15 ^= x3;\n x15 = x15 >>> (32 - 16) | x15 << 16;\n x11 = x11 + x15 | 0;\n x7 ^= x11;\n x7 = x7 >>> (32 - 12) | x7 << 12;\n x2 = x2 + x6 | 0;\n x14 ^= x2;\n x14 = x14 >>> (32 - 8) | x14 << 8;\n x10 = x10 + x14 | 0;\n x6 ^= x10;\n x6 = x6 >>> (32 - 7) | x6 << 7;\n x3 = x3 + x7 | 0;\n x15 ^= x3;\n x15 = x15 >>> (32 - 8) | x15 << 8;\n x11 = x11 + x15 | 0;\n x7 ^= x11;\n x7 = x7 >>> (32 - 7) | x7 << 7;\n x1 = x1 + x5 | 0;\n x13 ^= x1;\n x13 = x13 >>> (32 - 8) | x13 << 8;\n x9 = x9 + x13 | 0;\n x5 ^= x9;\n x5 = x5 >>> (32 - 7) | x5 << 7;\n x0 = x0 + x4 | 0;\n x12 ^= x0;\n x12 = x12 >>> (32 - 8) | x12 << 8;\n x8 = x8 + x12 | 0;\n x4 ^= x8;\n x4 = x4 >>> (32 - 7) | x4 << 7;\n x0 = x0 + x5 | 0;\n x15 ^= x0;\n x15 = x15 >>> (32 - 16) | x15 << 16;\n x10 = x10 + x15 | 0;\n x5 ^= x10;\n x5 = x5 >>> (32 - 12) | x5 << 12;\n x1 = x1 + x6 | 0;\n x12 ^= x1;\n x12 = x12 >>> (32 - 16) | x12 << 16;\n x11 = x11 + x12 | 0;\n x6 ^= x11;\n x6 = x6 >>> (32 - 12) | x6 << 12;\n x2 = x2 + x7 | 0;\n x13 ^= x2;\n x13 = x13 >>> (32 - 16) | x13 << 16;\n x8 = x8 + x13 | 0;\n
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@stablelib/chacha20poly1305/lib/chacha20poly1305.js":
|
|||
|
/*!**************************************************************************!*\
|
|||
|
!*** ./node_modules/@stablelib/chacha20poly1305/lib/chacha20poly1305.js ***!
|
|||
|
\**************************************************************************/
|
|||
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|||
|
|
|||
|
eval("\n// Copyright (C) 2016 Dmitry Chestnykh\n// MIT License. See LICENSE file for details.\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar chacha_1 = __webpack_require__(/*! @stablelib/chacha */ \"./node_modules/@stablelib/chacha/lib/chacha.js\");\nvar poly1305_1 = __webpack_require__(/*! @stablelib/poly1305 */ \"./node_modules/@stablelib/poly1305/lib/poly1305.js\");\nvar wipe_1 = __webpack_require__(/*! @stablelib/wipe */ \"./node_modules/@stablelib/wipe/lib/wipe.js\");\nvar binary_1 = __webpack_require__(/*! @stablelib/binary */ \"./node_modules/@stablelib/binary/lib/binary.js\");\nvar constant_time_1 = __webpack_require__(/*! @stablelib/constant-time */ \"./node_modules/@stablelib/constant-time/lib/constant-time.js\");\nexports.KEY_LENGTH = 32;\nexports.NONCE_LENGTH = 12;\nexports.TAG_LENGTH = 16;\nvar ZEROS = new Uint8Array(16);\n/**\n * ChaCha20-Poly1305 Authenticated Encryption with Associated Data.\n *\n * Defined in RFC7539.\n */\nvar ChaCha20Poly1305 = /** @class */ (function () {\n /**\n * Creates a new instance with the given 32-byte key.\n */\n function ChaCha20Poly1305(key) {\n this.nonceLength = exports.NONCE_LENGTH;\n this.tagLength = exports.TAG_LENGTH;\n if (key.length !== exports.KEY_LENGTH) {\n throw new Error(\"ChaCha20Poly1305 needs 32-byte key\");\n }\n // Copy key.\n this._key = new Uint8Array(key);\n }\n /**\n * Encrypts and authenticates plaintext, authenticates associated data,\n * and returns sealed ciphertext, which includes authentication tag.\n *\n * RFC7539 specifies 12 bytes for nonce. It may be this 12-byte nonce\n * (\"IV\"), or full 16-byte counter (called \"32-bit fixed-common part\")\n * and nonce.\n *\n * If dst is given (it must be the size of plaintext + the size of tag\n * length) the result will be put into it. Dst and plaintext must not\n * overlap.\n */\n ChaCha20Poly1305.prototype.seal = function (nonce, plaintext, associatedData, dst) {\n if (nonce.length > 16) {\n throw new Error(\"ChaCha20Poly1305: incorrect nonce length\");\n }\n // Allocate space for counter, and set nonce as last bytes of it.\n var counter = new Uint8Array(16);\n counter.set(nonce, counter.length - nonce.length);\n // Generate authentication key by taking first 32-bytes of stream.\n // We pass full counter, which has 12-byte nonce and 4-byte block counter,\n // and it will get incremented after generating the block, which is\n // exactly what we need: we only use the first 32 bytes of 64-byte\n // ChaCha block and discard the next 32 bytes.\n var authKey = new Uint8Array(32);\n chacha_1.stream(this._key, counter, authKey, 4);\n // Allocate space for sealed ciphertext.\n var resultLength = plaintext.length + this.tagLength;\n var result;\n if (dst) {\n if (dst.length !== resultLength) {\n throw new Error(\"ChaCha20Poly1305: incorrect destination length\");\n }\n result = dst;\n }\n else {\n result = new Uint8Array(resultLength);\n }\n // Encrypt plaintext.\n chacha_1.streamXOR(this._key, counter, plaintext, result, 4);\n // Authenticate.\n // XXX: can \"simplify\" here: pass full result (which is already padded\n // due to zeroes prepared for tag), and ciphertext length instead of\n // subarray of result.\n this._authenticate(result.subarray(result.length - this.tagLength, result.length), authKey, result.subarray(0, result.length - this.tagLength), associatedData);\n // Cleanup.\n wipe_1.wipe(counter);\n return result;\n };\n /**\n * Authenticates sealed ciphertext (which includes authentication tag) and\n * associated data, decrypts ciphertext and returns decrypted plaintext.\n *\n * RFC7539 specifies 12 bytes for nonce. It may be this 12-byte nonce\n * (\"IV\"), o
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@stablelib/constant-time/lib/constant-time.js":
|
|||
|
/*!********************************************************************!*\
|
|||
|
!*** ./node_modules/@stablelib/constant-time/lib/constant-time.js ***!
|
|||
|
\********************************************************************/
|
|||
|
/***/ ((__unused_webpack_module, exports) => {
|
|||
|
|
|||
|
eval("\n// Copyright (C) 2016 Dmitry Chestnykh\n// MIT License. See LICENSE file for details.\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\n/**\n * Package constant-time provides functions for performing algorithmically constant-time operations.\n */\n/**\n * NOTE! Due to the inability to guarantee real constant time evaluation of\n * anything in JavaScript VM, this is module is the best effort.\n */\n/**\n * Returns resultIfOne if subject is 1, or resultIfZero if subject is 0.\n *\n * Supports only 32-bit integers, so resultIfOne or resultIfZero are not\n * integers, they'll be converted to them with bitwise operations.\n */\nfunction select(subject, resultIfOne, resultIfZero) {\n return (~(subject - 1) & resultIfOne) | ((subject - 1) & resultIfZero);\n}\nexports.select = select;\n/**\n * Returns 1 if a <= b, or 0 if not.\n * Arguments must be positive 32-bit integers less than or equal to 2^31 - 1.\n */\nfunction lessOrEqual(a, b) {\n return (((a | 0) - (b | 0) - 1) >>> 31) & 1;\n}\nexports.lessOrEqual = lessOrEqual;\n/**\n * Returns 1 if a and b are of equal length and their contents\n * are equal, or 0 otherwise.\n *\n * Note that unlike in equal(), zero-length inputs are considered\n * the same, so this function will return 1.\n */\nfunction compare(a, b) {\n if (a.length !== b.length) {\n return 0;\n }\n var result = 0;\n for (var i = 0; i < a.length; i++) {\n result |= a[i] ^ b[i];\n }\n return (1 & ((result - 1) >>> 8));\n}\nexports.compare = compare;\n/**\n * Returns true if a and b are of equal non-zero length,\n * and their contents are equal, or false otherwise.\n *\n * Note that unlike in compare() zero-length inputs are considered\n * _not_ equal, so this function will return false.\n */\nfunction equal(a, b) {\n if (a.length === 0 || b.length === 0) {\n return false;\n }\n return compare(a, b) !== 0;\n}\nexports.equal = equal;\n//# sourceMappingURL=constant-time.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@stablelib/constant-time/lib/constant-time.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@stablelib/hash/lib/hash.js":
|
|||
|
/*!**************************************************!*\
|
|||
|
!*** ./node_modules/@stablelib/hash/lib/hash.js ***!
|
|||
|
\**************************************************/
|
|||
|
/***/ ((__unused_webpack_module, exports) => {
|
|||
|
|
|||
|
eval("\n// Copyright (C) 2016 Dmitry Chestnykh\n// MIT License. See LICENSE file for details.\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nfunction isSerializableHash(h) {\n return (typeof h.saveState !== \"undefined\" &&\n typeof h.restoreState !== \"undefined\" &&\n typeof h.cleanSavedState !== \"undefined\");\n}\nexports.isSerializableHash = isSerializableHash;\n// TODO(dchest): figure out the standardized interface for XOF such as\n// SHAKE and BLAKE2X.\n//# sourceMappingURL=hash.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@stablelib/hash/lib/hash.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@stablelib/hkdf/lib/hkdf.js":
|
|||
|
/*!**************************************************!*\
|
|||
|
!*** ./node_modules/@stablelib/hkdf/lib/hkdf.js ***!
|
|||
|
\**************************************************/
|
|||
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|||
|
|
|||
|
eval("\n// Copyright (C) 2016 Dmitry Chestnykh\n// MIT License. See LICENSE file for details.\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar hmac_1 = __webpack_require__(/*! @stablelib/hmac */ \"./node_modules/@stablelib/hmac/lib/hmac.js\");\nvar wipe_1 = __webpack_require__(/*! @stablelib/wipe */ \"./node_modules/@stablelib/wipe/lib/wipe.js\");\n/**\n * HMAC-based Extract-and-Expand Key Derivation Function.\n *\n * Implements HKDF from RFC5869.\n *\n * Expands the given master key with salt and info into\n * a limited stream of key material.\n */\nvar HKDF = /** @class */ (function () {\n /**\n * Create a new HKDF instance for the given hash function\n * with the master key, optional salt, and info.\n *\n * - Master key is a high-entropy secret key (not a password).\n * - Salt is a non-secret random value.\n * - Info is application- and/or context-specific information.\n */\n function HKDF(hash, key, salt, info) {\n if (salt === void 0) { salt = new Uint8Array(0); }\n this._counter = new Uint8Array(1); // starts with zero\n this._hash = hash;\n this._info = info;\n // HKDF-Extract uses salt as HMAC key, and key as data.\n var okm = hmac_1.hmac(this._hash, salt, key);\n // Initialize HMAC for expanding with extracted key.\n this._hmac = new hmac_1.HMAC(hash, okm);\n // Allocate buffer.\n this._buffer = new Uint8Array(this._hmac.digestLength);\n this._bufpos = this._buffer.length;\n }\n // Fill buffer with new block of HKDF-Extract output.\n HKDF.prototype._fillBuffer = function () {\n // Increment counter.\n this._counter[0]++;\n var ctr = this._counter[0];\n // Check if counter overflowed.\n if (ctr === 0) {\n throw new Error(\"hkdf: cannot expand more\");\n }\n // Prepare HMAC instance for new data with old key.\n this._hmac.reset();\n // Hash in previous output if it was generated\n // (i.e. counter is greater than 1).\n if (ctr > 1) {\n this._hmac.update(this._buffer);\n }\n // Hash in info if it exists.\n if (this._info) {\n this._hmac.update(this._info);\n }\n // Hash in the counter.\n this._hmac.update(this._counter);\n // Output result to buffer and clean HMAC instance.\n this._hmac.finish(this._buffer);\n // Reset buffer position.\n this._bufpos = 0;\n };\n /**\n * Expand returns next key material of the given length.\n *\n * It throws if expansion limit is reached (which is\n * 254 digests of the underlying HMAC function).\n */\n HKDF.prototype.expand = function (length) {\n var out = new Uint8Array(length);\n for (var i = 0; i < out.length; i++) {\n if (this._bufpos === this._buffer.length) {\n this._fillBuffer();\n }\n out[i] = this._buffer[this._bufpos++];\n }\n return out;\n };\n HKDF.prototype.clean = function () {\n this._hmac.clean();\n wipe_1.wipe(this._buffer);\n wipe_1.wipe(this._counter);\n this._bufpos = 0;\n };\n return HKDF;\n}());\nexports.HKDF = HKDF;\n// TODO(dchest): maybe implement deriveKey?\n//# sourceMappingURL=hkdf.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@stablelib/hkdf/lib/hkdf.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@stablelib/hmac/lib/hmac.js":
|
|||
|
/*!**************************************************!*\
|
|||
|
!*** ./node_modules/@stablelib/hmac/lib/hmac.js ***!
|
|||
|
\**************************************************/
|
|||
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|||
|
|
|||
|
eval("\n// Copyright (C) 2016 Dmitry Chestnykh\n// MIT License. See LICENSE file for details.\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\n/**\n * Package hmac implements HMAC algorithm.\n */\nvar hash_1 = __webpack_require__(/*! @stablelib/hash */ \"./node_modules/@stablelib/hash/lib/hash.js\");\nvar constant_time_1 = __webpack_require__(/*! @stablelib/constant-time */ \"./node_modules/@stablelib/constant-time/lib/constant-time.js\");\nvar wipe_1 = __webpack_require__(/*! @stablelib/wipe */ \"./node_modules/@stablelib/wipe/lib/wipe.js\");\n/**\n * HMAC implements hash-based message authentication algorithm.\n */\nvar HMAC = /** @class */ (function () {\n /**\n * Constructs a new HMAC with the given Hash and secret key.\n */\n function HMAC(hash, key) {\n this._finished = false; // true if HMAC was finalized\n // Initialize inner and outer hashes.\n this._inner = new hash();\n this._outer = new hash();\n // Set block and digest sizes for this HMAC\n // instance to values from the hash.\n this.blockSize = this._outer.blockSize;\n this.digestLength = this._outer.digestLength;\n // Pad temporary stores a key (or its hash) padded with zeroes.\n var pad = new Uint8Array(this.blockSize);\n if (key.length > this.blockSize) {\n // If key is bigger than hash block size, it must be\n // hashed and this hash is used as a key instead.\n this._inner.update(key).finish(pad).clean();\n }\n else {\n // Otherwise, copy the key into pad.\n pad.set(key);\n }\n // Now two different keys are derived from padded key\n // by xoring a different byte value to each.\n // To make inner hash key, xor byte 0x36 into pad.\n for (var i = 0; i < pad.length; i++) {\n pad[i] ^= 0x36;\n }\n // Update inner hash with the result.\n this._inner.update(pad);\n // To make outer hash key, xor byte 0x5c into pad.\n // But since we already xored 0x36 there, we must\n // first undo this by xoring it again.\n for (var i = 0; i < pad.length; i++) {\n pad[i] ^= 0x36 ^ 0x5c;\n }\n // Update outer hash with the result.\n this._outer.update(pad);\n // Save states of both hashes, so that we can quickly restore\n // them later in reset() without the need to remember the actual\n // key and perform this initialization again.\n if (hash_1.isSerializableHash(this._inner) && hash_1.isSerializableHash(this._outer)) {\n this._innerKeyedState = this._inner.saveState();\n this._outerKeyedState = this._outer.saveState();\n }\n // Clean pad.\n wipe_1.wipe(pad);\n }\n /**\n * Returns HMAC state to the state initialized with key\n * to make it possible to run HMAC over the other data with the same\n * key without creating a new instance.\n */\n HMAC.prototype.reset = function () {\n if (!hash_1.isSerializableHash(this._inner) || !hash_1.isSerializableHash(this._outer)) {\n throw new Error(\"hmac: can't reset() because hash doesn't implement restoreState()\");\n }\n // Restore keyed states of inner and outer hashes.\n this._inner.restoreState(this._innerKeyedState);\n this._outer.restoreState(this._outerKeyedState);\n this._finished = false;\n return this;\n };\n /**\n * Cleans HMAC state.\n */\n HMAC.prototype.clean = function () {\n if (hash_1.isSerializableHash(this._inner)) {\n this._inner.cleanSavedState(this._innerKeyedState);\n }\n if (hash_1.isSerializableHash(this._outer)) {\n this._outer.cleanSavedState(this._outerKeyedState);\n }\n this._inner.clean();\n this._outer.clean();\n };\n /**\n * Updates state with provided data.\n */\n HMAC.prototype.update = function (data) {\n this._inner.update(data);\n ret
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@stablelib/int/lib/int.js":
|
|||
|
/*!************************************************!*\
|
|||
|
!*** ./node_modules/@stablelib/int/lib/int.js ***!
|
|||
|
\************************************************/
|
|||
|
/***/ ((__unused_webpack_module, exports) => {
|
|||
|
|
|||
|
eval("\n// Copyright (C) 2016 Dmitry Chestnykh\n// MIT License. See LICENSE file for details.\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\n/**\n * Package int provides helper functions for integerss.\n */\n// Shim using 16-bit pieces.\nfunction imulShim(a, b) {\n var ah = (a >>> 16) & 0xffff, al = a & 0xffff;\n var bh = (b >>> 16) & 0xffff, bl = b & 0xffff;\n return ((al * bl) + (((ah * bl + al * bh) << 16) >>> 0) | 0);\n}\n/** 32-bit integer multiplication. */\n// Use system Math.imul if available, otherwise use our shim.\nexports.mul = Math.imul || imulShim;\n/** 32-bit integer addition. */\nfunction add(a, b) {\n return (a + b) | 0;\n}\nexports.add = add;\n/** 32-bit integer subtraction. */\nfunction sub(a, b) {\n return (a - b) | 0;\n}\nexports.sub = sub;\n/** 32-bit integer left rotation */\nfunction rotl(x, n) {\n return x << n | x >>> (32 - n);\n}\nexports.rotl = rotl;\n/** 32-bit integer left rotation */\nfunction rotr(x, n) {\n return x << (32 - n) | x >>> n;\n}\nexports.rotr = rotr;\nfunction isIntegerShim(n) {\n return typeof n === \"number\" && isFinite(n) && Math.floor(n) === n;\n}\n/**\n * Returns true if the argument is an integer number.\n *\n * In ES2015, Number.isInteger.\n */\nexports.isInteger = Number.isInteger || isIntegerShim;\n/**\n * Math.pow(2, 53) - 1\n *\n * In ES2015 Number.MAX_SAFE_INTEGER.\n */\nexports.MAX_SAFE_INTEGER = 9007199254740991;\n/**\n * Returns true if the argument is a safe integer number\n * (-MIN_SAFE_INTEGER < number <= MAX_SAFE_INTEGER)\n *\n * In ES2015, Number.isSafeInteger.\n */\nexports.isSafeInteger = function (n) {\n return exports.isInteger(n) && (n >= -exports.MAX_SAFE_INTEGER && n <= exports.MAX_SAFE_INTEGER);\n};\n//# sourceMappingURL=int.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@stablelib/int/lib/int.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@stablelib/poly1305/lib/poly1305.js":
|
|||
|
/*!**********************************************************!*\
|
|||
|
!*** ./node_modules/@stablelib/poly1305/lib/poly1305.js ***!
|
|||
|
\**********************************************************/
|
|||
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|||
|
|
|||
|
eval("\n// Copyright (C) 2016 Dmitry Chestnykh\n// MIT License. See LICENSE file for details.\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\n/**\n * Package poly1305 implements Poly1305 one-time message authentication algorithm.\n */\nvar constant_time_1 = __webpack_require__(/*! @stablelib/constant-time */ \"./node_modules/@stablelib/constant-time/lib/constant-time.js\");\nvar wipe_1 = __webpack_require__(/*! @stablelib/wipe */ \"./node_modules/@stablelib/wipe/lib/wipe.js\");\nexports.DIGEST_LENGTH = 16;\n// Port of Andrew Moon's Poly1305-donna-16. Public domain.\n// https://github.com/floodyberry/poly1305-donna\n/**\n * Poly1305 computes 16-byte authenticator of message using\n * a one-time 32-byte key.\n *\n * Important: key should be used for only one message,\n * it should never repeat.\n */\nvar Poly1305 = /** @class */ (function () {\n function Poly1305(key) {\n this.digestLength = exports.DIGEST_LENGTH;\n this._buffer = new Uint8Array(16);\n this._r = new Uint16Array(10);\n this._h = new Uint16Array(10);\n this._pad = new Uint16Array(8);\n this._leftover = 0;\n this._fin = 0;\n this._finished = false;\n var t0 = key[0] | key[1] << 8;\n this._r[0] = (t0) & 0x1fff;\n var t1 = key[2] | key[3] << 8;\n this._r[1] = ((t0 >>> 13) | (t1 << 3)) & 0x1fff;\n var t2 = key[4] | key[5] << 8;\n this._r[2] = ((t1 >>> 10) | (t2 << 6)) & 0x1f03;\n var t3 = key[6] | key[7] << 8;\n this._r[3] = ((t2 >>> 7) | (t3 << 9)) & 0x1fff;\n var t4 = key[8] | key[9] << 8;\n this._r[4] = ((t3 >>> 4) | (t4 << 12)) & 0x00ff;\n this._r[5] = ((t4 >>> 1)) & 0x1ffe;\n var t5 = key[10] | key[11] << 8;\n this._r[6] = ((t4 >>> 14) | (t5 << 2)) & 0x1fff;\n var t6 = key[12] | key[13] << 8;\n this._r[7] = ((t5 >>> 11) | (t6 << 5)) & 0x1f81;\n var t7 = key[14] | key[15] << 8;\n this._r[8] = ((t6 >>> 8) | (t7 << 8)) & 0x1fff;\n this._r[9] = ((t7 >>> 5)) & 0x007f;\n this._pad[0] = key[16] | key[17] << 8;\n this._pad[1] = key[18] | key[19] << 8;\n this._pad[2] = key[20] | key[21] << 8;\n this._pad[3] = key[22] | key[23] << 8;\n this._pad[4] = key[24] | key[25] << 8;\n this._pad[5] = key[26] | key[27] << 8;\n this._pad[6] = key[28] | key[29] << 8;\n this._pad[7] = key[30] | key[31] << 8;\n }\n Poly1305.prototype._blocks = function (m, mpos, bytes) {\n var hibit = this._fin ? 0 : 1 << 11;\n var h0 = this._h[0], h1 = this._h[1], h2 = this._h[2], h3 = this._h[3], h4 = this._h[4], h5 = this._h[5], h6 = this._h[6], h7 = this._h[7], h8 = this._h[8], h9 = this._h[9];\n var r0 = this._r[0], r1 = this._r[1], r2 = this._r[2], r3 = this._r[3], r4 = this._r[4], r5 = this._r[5], r6 = this._r[6], r7 = this._r[7], r8 = this._r[8], r9 = this._r[9];\n while (bytes >= 16) {\n var t0 = m[mpos + 0] | m[mpos + 1] << 8;\n h0 += (t0) & 0x1fff;\n var t1 = m[mpos + 2] | m[mpos + 3] << 8;\n h1 += ((t0 >>> 13) | (t1 << 3)) & 0x1fff;\n var t2 = m[mpos + 4] | m[mpos + 5] << 8;\n h2 += ((t1 >>> 10) | (t2 << 6)) & 0x1fff;\n var t3 = m[mpos + 6] | m[mpos + 7] << 8;\n h3 += ((t2 >>> 7) | (t3 << 9)) & 0x1fff;\n var t4 = m[mpos + 8] | m[mpos + 9] << 8;\n h4 += ((t3 >>> 4) | (t4 << 12)) & 0x1fff;\n h5 += ((t4 >>> 1)) & 0x1fff;\n var t5 = m[mpos + 10] | m[mpos + 11] << 8;\n h6 += ((t4 >>> 14) | (t5 << 2)) & 0x1fff;\n var t6 = m[mpos + 12] | m[mpos + 13] << 8;\n h7 += ((t5 >>> 11) | (t6 << 5)) & 0x1fff;\n var t7 = m[mpos + 14] | m[mpos + 15] << 8;\n h8 += ((t6 >>> 8) | (t7 << 8)) & 0x1fff;\n h9 += ((t7 >>> 5)) | hibit;\n var c = 0;\n var d0 = c;\n d0 += h0 * r0;\n d0 += h1 * (5 * r9);\n d0 += h2 * (5 * r8);\n d0 += h3 * (5 * r7);\n d0 +
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@stablelib/random/lib/random.js":
|
|||
|
/*!******************************************************!*\
|
|||
|
!*** ./node_modules/@stablelib/random/lib/random.js ***!
|
|||
|
\******************************************************/
|
|||
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|||
|
|
|||
|
eval("\n// Copyright (C) 2016 Dmitry Chestnykh\n// MIT License. See LICENSE file for details.\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.randomStringForEntropy = exports.randomString = exports.randomUint32 = exports.randomBytes = exports.defaultRandomSource = void 0;\nconst system_1 = __webpack_require__(/*! ./source/system */ \"./node_modules/@stablelib/random/lib/source/system.js\");\nconst binary_1 = __webpack_require__(/*! @stablelib/binary */ \"./node_modules/@stablelib/binary/lib/binary.js\");\nconst wipe_1 = __webpack_require__(/*! @stablelib/wipe */ \"./node_modules/@stablelib/wipe/lib/wipe.js\");\nexports.defaultRandomSource = new system_1.SystemRandomSource();\nfunction randomBytes(length, prng = exports.defaultRandomSource) {\n return prng.randomBytes(length);\n}\nexports.randomBytes = randomBytes;\n/**\n * Returns a uniformly random unsigned 32-bit integer.\n */\nfunction randomUint32(prng = exports.defaultRandomSource) {\n // Generate 4-byte random buffer.\n const buf = randomBytes(4, prng);\n // Convert bytes from buffer into a 32-bit integer.\n // It's not important which byte order to use, since\n // the result is random.\n const result = (0, binary_1.readUint32LE)(buf);\n // Clean the buffer.\n (0, wipe_1.wipe)(buf);\n return result;\n}\nexports.randomUint32 = randomUint32;\n/** 62 alphanumeric characters for default charset of randomString() */\nconst ALPHANUMERIC = \"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz\";\n/**\n * Returns a uniform random string of the given length\n * with characters from the given charset.\n *\n * Charset must not have more than 256 characters.\n *\n * Default charset generates case-sensitive alphanumeric\n * strings (0-9, A-Z, a-z).\n */\nfunction randomString(length, charset = ALPHANUMERIC, prng = exports.defaultRandomSource) {\n if (charset.length < 2) {\n throw new Error(\"randomString charset is too short\");\n }\n if (charset.length > 256) {\n throw new Error(\"randomString charset is too long\");\n }\n let out = '';\n const charsLen = charset.length;\n const maxByte = 256 - (256 % charsLen);\n while (length > 0) {\n const buf = randomBytes(Math.ceil(length * 256 / maxByte), prng);\n for (let i = 0; i < buf.length && length > 0; i++) {\n const randomByte = buf[i];\n if (randomByte < maxByte) {\n out += charset.charAt(randomByte % charsLen);\n length--;\n }\n }\n (0, wipe_1.wipe)(buf);\n }\n return out;\n}\nexports.randomString = randomString;\n/**\n * Returns uniform random string containing at least the given\n * number of bits of entropy.\n *\n * For example, randomStringForEntropy(128) will return a 22-character\n * alphanumeric string, while randomStringForEntropy(128, \"0123456789\")\n * will return a 39-character numeric string, both will contain at\n * least 128 bits of entropy.\n *\n * Default charset generates case-sensitive alphanumeric\n * strings (0-9, A-Z, a-z).\n */\nfunction randomStringForEntropy(bits, charset = ALPHANUMERIC, prng = exports.defaultRandomSource) {\n const length = Math.ceil(bits / (Math.log(charset.length) / Math.LN2));\n return randomString(length, charset, prng);\n}\nexports.randomStringForEntropy = randomStringForEntropy;\n//# sourceMappingURL=random.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@stablelib/random/lib/random.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@stablelib/random/lib/source/browser.js":
|
|||
|
/*!**************************************************************!*\
|
|||
|
!*** ./node_modules/@stablelib/random/lib/source/browser.js ***!
|
|||
|
\**************************************************************/
|
|||
|
/***/ ((__unused_webpack_module, exports) => {
|
|||
|
|
|||
|
eval("\n// Copyright (C) 2016 Dmitry Chestnykh\n// MIT License. See LICENSE file for details.\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.BrowserRandomSource = void 0;\nconst QUOTA = 65536;\nclass BrowserRandomSource {\n constructor() {\n this.isAvailable = false;\n this.isInstantiated = false;\n const browserCrypto = typeof self !== 'undefined'\n ? (self.crypto || self.msCrypto) // IE11 has msCrypto\n : null;\n if (browserCrypto && browserCrypto.getRandomValues !== undefined) {\n this._crypto = browserCrypto;\n this.isAvailable = true;\n this.isInstantiated = true;\n }\n }\n randomBytes(length) {\n if (!this.isAvailable || !this._crypto) {\n throw new Error(\"Browser random byte generator is not available.\");\n }\n const out = new Uint8Array(length);\n for (let i = 0; i < out.length; i += QUOTA) {\n this._crypto.getRandomValues(out.subarray(i, i + Math.min(out.length - i, QUOTA)));\n }\n return out;\n }\n}\nexports.BrowserRandomSource = BrowserRandomSource;\n//# sourceMappingURL=browser.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@stablelib/random/lib/source/browser.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@stablelib/random/lib/source/node.js":
|
|||
|
/*!***********************************************************!*\
|
|||
|
!*** ./node_modules/@stablelib/random/lib/source/node.js ***!
|
|||
|
\***********************************************************/
|
|||
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|||
|
|
|||
|
eval("\n// Copyright (C) 2016 Dmitry Chestnykh\n// MIT License. See LICENSE file for details.\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.NodeRandomSource = void 0;\nconst wipe_1 = __webpack_require__(/*! @stablelib/wipe */ \"./node_modules/@stablelib/wipe/lib/wipe.js\");\nclass NodeRandomSource {\n constructor() {\n this.isAvailable = false;\n this.isInstantiated = false;\n if (true) {\n const nodeCrypto = __webpack_require__(/*! crypto */ \"?25ed\");\n if (nodeCrypto && nodeCrypto.randomBytes) {\n this._crypto = nodeCrypto;\n this.isAvailable = true;\n this.isInstantiated = true;\n }\n }\n }\n randomBytes(length) {\n if (!this.isAvailable || !this._crypto) {\n throw new Error(\"Node.js random byte generator is not available.\");\n }\n // Get random bytes (result is Buffer).\n let buffer = this._crypto.randomBytes(length);\n // Make sure we got the length that we requested.\n if (buffer.length !== length) {\n throw new Error(\"NodeRandomSource: got fewer bytes than requested\");\n }\n // Allocate output array.\n const out = new Uint8Array(length);\n // Copy bytes from buffer to output.\n for (let i = 0; i < out.length; i++) {\n out[i] = buffer[i];\n }\n // Cleanup.\n (0, wipe_1.wipe)(buffer);\n return out;\n }\n}\nexports.NodeRandomSource = NodeRandomSource;\n//# sourceMappingURL=node.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@stablelib/random/lib/source/node.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@stablelib/random/lib/source/system.js":
|
|||
|
/*!*************************************************************!*\
|
|||
|
!*** ./node_modules/@stablelib/random/lib/source/system.js ***!
|
|||
|
\*************************************************************/
|
|||
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|||
|
|
|||
|
eval("\n// Copyright (C) 2016 Dmitry Chestnykh\n// MIT License. See LICENSE file for details.\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.SystemRandomSource = void 0;\nconst browser_1 = __webpack_require__(/*! ./browser */ \"./node_modules/@stablelib/random/lib/source/browser.js\");\nconst node_1 = __webpack_require__(/*! ./node */ \"./node_modules/@stablelib/random/lib/source/node.js\");\nclass SystemRandomSource {\n constructor() {\n this.isAvailable = false;\n this.name = \"\";\n // Try browser.\n this._source = new browser_1.BrowserRandomSource();\n if (this._source.isAvailable) {\n this.isAvailable = true;\n this.name = \"Browser\";\n return;\n }\n // If no browser source, try Node.\n this._source = new node_1.NodeRandomSource();\n if (this._source.isAvailable) {\n this.isAvailable = true;\n this.name = \"Node\";\n return;\n }\n // No sources, we're out of options.\n }\n randomBytes(length) {\n if (!this.isAvailable) {\n throw new Error(\"System random byte generator is not available.\");\n }\n return this._source.randomBytes(length);\n }\n}\nexports.SystemRandomSource = SystemRandomSource;\n//# sourceMappingURL=system.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@stablelib/random/lib/source/system.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@stablelib/sha256/lib/sha256.js":
|
|||
|
/*!******************************************************!*\
|
|||
|
!*** ./node_modules/@stablelib/sha256/lib/sha256.js ***!
|
|||
|
\******************************************************/
|
|||
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|||
|
|
|||
|
eval("\n// Copyright (C) 2016 Dmitry Chestnykh\n// MIT License. See LICENSE file for details.\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar binary_1 = __webpack_require__(/*! @stablelib/binary */ \"./node_modules/@stablelib/binary/lib/binary.js\");\nvar wipe_1 = __webpack_require__(/*! @stablelib/wipe */ \"./node_modules/@stablelib/wipe/lib/wipe.js\");\nexports.DIGEST_LENGTH = 32;\nexports.BLOCK_SIZE = 64;\n/**\n * SHA2-256 cryptographic hash algorithm.\n */\nvar SHA256 = /** @class */ (function () {\n function SHA256() {\n /** Length of hash output */\n this.digestLength = exports.DIGEST_LENGTH;\n /** Block size */\n this.blockSize = exports.BLOCK_SIZE;\n // Note: Int32Array is used instead of Uint32Array for performance reasons.\n this._state = new Int32Array(8); // hash state\n this._temp = new Int32Array(64); // temporary state\n this._buffer = new Uint8Array(128); // buffer for data to hash\n this._bufferLength = 0; // number of bytes in buffer\n this._bytesHashed = 0; // number of total bytes hashed\n this._finished = false; // indicates whether the hash was finalized\n this.reset();\n }\n SHA256.prototype._initState = function () {\n this._state[0] = 0x6a09e667;\n this._state[1] = 0xbb67ae85;\n this._state[2] = 0x3c6ef372;\n this._state[3] = 0xa54ff53a;\n this._state[4] = 0x510e527f;\n this._state[5] = 0x9b05688c;\n this._state[6] = 0x1f83d9ab;\n this._state[7] = 0x5be0cd19;\n };\n /**\n * Resets hash state making it possible\n * to re-use this instance to hash other data.\n */\n SHA256.prototype.reset = function () {\n this._initState();\n this._bufferLength = 0;\n this._bytesHashed = 0;\n this._finished = false;\n return this;\n };\n /**\n * Cleans internal buffers and resets hash state.\n */\n SHA256.prototype.clean = function () {\n wipe_1.wipe(this._buffer);\n wipe_1.wipe(this._temp);\n this.reset();\n };\n /**\n * Updates hash state with the given data.\n *\n * Throws error when trying to update already finalized hash:\n * instance must be reset to update it again.\n */\n SHA256.prototype.update = function (data, dataLength) {\n if (dataLength === void 0) { dataLength = data.length; }\n if (this._finished) {\n throw new Error(\"SHA256: can't update because hash was finished.\");\n }\n var dataPos = 0;\n this._bytesHashed += dataLength;\n if (this._bufferLength > 0) {\n while (this._bufferLength < this.blockSize && dataLength > 0) {\n this._buffer[this._bufferLength++] = data[dataPos++];\n dataLength--;\n }\n if (this._bufferLength === this.blockSize) {\n hashBlocks(this._temp, this._state, this._buffer, 0, this.blockSize);\n this._bufferLength = 0;\n }\n }\n if (dataLength >= this.blockSize) {\n dataPos = hashBlocks(this._temp, this._state, data, dataPos, dataLength);\n dataLength %= this.blockSize;\n }\n while (dataLength > 0) {\n this._buffer[this._bufferLength++] = data[dataPos++];\n dataLength--;\n }\n return this;\n };\n /**\n * Finalizes hash state and puts hash into out.\n * If hash was already finalized, puts the same value.\n */\n SHA256.prototype.finish = function (out) {\n if (!this._finished) {\n var bytesHashed = this._bytesHashed;\n var left = this._bufferLength;\n var bitLenHi = (bytesHashed / 0x20000000) | 0;\n var bitLenLo = bytesHashed << 3;\n var padLength = (bytesHashed % 64 < 56) ? 64 : 128;\n this._buffer[left] = 0x80;\n for (var i = left + 1; i < padLength - 8; i++) {\n this._buffer[i] = 0;\n }\n binary_1.writeUin
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@stablelib/wipe/lib/wipe.js":
|
|||
|
/*!**************************************************!*\
|
|||
|
!*** ./node_modules/@stablelib/wipe/lib/wipe.js ***!
|
|||
|
\**************************************************/
|
|||
|
/***/ ((__unused_webpack_module, exports) => {
|
|||
|
|
|||
|
eval("\n// Copyright (C) 2016 Dmitry Chestnykh\n// MIT License. See LICENSE file for details.\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\n/**\n * Sets all values in the given array to zero and returns it.\n *\n * The fact that it sets bytes to zero can be relied on.\n *\n * There is no guarantee that this function makes data disappear from memory,\n * as runtime implementation can, for example, have copying garbage collector\n * that will make copies of sensitive data before we wipe it. Or that an\n * operating system will write our data to swap or sleep image. Another thing\n * is that an optimizing compiler can remove calls to this function or make it\n * no-op. There's nothing we can do with it, so we just do our best and hope\n * that everything will be okay and good will triumph over evil.\n */\nfunction wipe(array) {\n // Right now it's similar to array.fill(0). If it turns\n // out that runtimes optimize this call away, maybe\n // we can try something else.\n for (var i = 0; i < array.length; i++) {\n array[i] = 0;\n }\n return array;\n}\nexports.wipe = wipe;\n//# sourceMappingURL=wipe.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@stablelib/wipe/lib/wipe.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@stablelib/x25519/lib/x25519.js":
|
|||
|
/*!******************************************************!*\
|
|||
|
!*** ./node_modules/@stablelib/x25519/lib/x25519.js ***!
|
|||
|
\******************************************************/
|
|||
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|||
|
|
|||
|
eval("\n// Copyright (C) 2016 Dmitry Chestnykh\n// MIT License. See LICENSE file for details.\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.sharedKey = exports.generateKeyPair = exports.generateKeyPairFromSeed = exports.scalarMultBase = exports.scalarMult = exports.SHARED_KEY_LENGTH = exports.SECRET_KEY_LENGTH = exports.PUBLIC_KEY_LENGTH = void 0;\n/**\n * Package x25519 implements X25519 key agreement.\n */\nconst random_1 = __webpack_require__(/*! @stablelib/random */ \"./node_modules/@stablelib/random/lib/random.js\");\nconst wipe_1 = __webpack_require__(/*! @stablelib/wipe */ \"./node_modules/@stablelib/wipe/lib/wipe.js\");\nexports.PUBLIC_KEY_LENGTH = 32;\nexports.SECRET_KEY_LENGTH = 32;\nexports.SHARED_KEY_LENGTH = 32;\n// Returns new zero-filled 16-element GF (Float64Array).\n// If passed an array of numbers, prefills the returned\n// array with them.\n//\n// We use Float64Array, because we need 48-bit numbers\n// for this implementation.\nfunction gf(init) {\n const r = new Float64Array(16);\n if (init) {\n for (let i = 0; i < init.length; i++) {\n r[i] = init[i];\n }\n }\n return r;\n}\n// Base point.\nconst _9 = new Uint8Array(32);\n_9[0] = 9;\nconst _121665 = gf([0xdb41, 1]);\nfunction car25519(o) {\n let c = 1;\n for (let i = 0; i < 16; i++) {\n let v = o[i] + c + 65535;\n c = Math.floor(v / 65536);\n o[i] = v - c * 65536;\n }\n o[0] += c - 1 + 37 * (c - 1);\n}\nfunction sel25519(p, q, b) {\n const c = ~(b - 1);\n for (let i = 0; i < 16; i++) {\n const t = c & (p[i] ^ q[i]);\n p[i] ^= t;\n q[i] ^= t;\n }\n}\nfunction pack25519(o, n) {\n const m = gf();\n const t = gf();\n for (let i = 0; i < 16; i++) {\n t[i] = n[i];\n }\n car25519(t);\n car25519(t);\n car25519(t);\n for (let j = 0; j < 2; j++) {\n m[0] = t[0] - 0xffed;\n for (let i = 1; i < 15; i++) {\n m[i] = t[i] - 0xffff - ((m[i - 1] >> 16) & 1);\n m[i - 1] &= 0xffff;\n }\n m[15] = t[15] - 0x7fff - ((m[14] >> 16) & 1);\n const b = (m[15] >> 16) & 1;\n m[14] &= 0xffff;\n sel25519(t, m, 1 - b);\n }\n for (let i = 0; i < 16; i++) {\n o[2 * i] = t[i] & 0xff;\n o[2 * i + 1] = t[i] >> 8;\n }\n}\nfunction unpack25519(o, n) {\n for (let i = 0; i < 16; i++) {\n o[i] = n[2 * i] + (n[2 * i + 1] << 8);\n }\n o[15] &= 0x7fff;\n}\nfunction add(o, a, b) {\n for (let i = 0; i < 16; i++) {\n o[i] = a[i] + b[i];\n }\n}\nfunction sub(o, a, b) {\n for (let i = 0; i < 16; i++) {\n o[i] = a[i] - b[i];\n }\n}\nfunction mul(o, a, b) {\n let v, c, t0 = 0, t1 = 0, t2 = 0, t3 = 0, t4 = 0, t5 = 0, t6 = 0, t7 = 0, t8 = 0, t9 = 0, t10 = 0, t11 = 0, t12 = 0, t13 = 0, t14 = 0, t15 = 0, t16 = 0, t17 = 0, t18 = 0, t19 = 0, t20 = 0, t21 = 0, t22 = 0, t23 = 0, t24 = 0, t25 = 0, t26 = 0, t27 = 0, t28 = 0, t29 = 0, t30 = 0, b0 = b[0], b1 = b[1], b2 = b[2], b3 = b[3], b4 = b[4], b5 = b[5], b6 = b[6], b7 = b[7], b8 = b[8], b9 = b[9], b10 = b[10], b11 = b[11], b12 = b[12], b13 = b[13], b14 = b[14], b15 = b[15];\n v = a[0];\n t0 += v * b0;\n t1 += v * b1;\n t2 += v * b2;\n t3 += v * b3;\n t4 += v * b4;\n t5 += v * b5;\n t6 += v * b6;\n t7 += v * b7;\n t8 += v * b8;\n t9 += v * b9;\n t10 += v * b10;\n t11 += v * b11;\n t12 += v * b12;\n t13 += v * b13;\n t14 += v * b14;\n t15 += v * b15;\n v = a[1];\n t1 += v * b0;\n t2 += v * b1;\n t3 += v * b2;\n t4 += v * b3;\n t5 += v * b4;\n t6 += v * b5;\n t7 += v * b6;\n t8 += v * b7;\n t9 += v * b8;\n t10 += v * b9;\n t11 += v * b10;\n t12 += v * b11;\n t13 += v * b12;\n t14 += v * b13;\n t15 += v * b14;\n t16 += v * b15;\n v = a[2];\n t2 += v * b0;\n t3 += v * b1;\n t4 += v * b2;\n t5 += v * b3;\n t6 += v * b4;\n t7 += v * b5;\n t8 += v * b6;\n t9 += v * b7;\n t10 += v * b8;\n t11 += v * b9;\n t12 += v * b10;\n t13 += v
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@wagmi/connectors/node_modules/@walletconnect/utils/dist/index.es.js":
|
|||
|
/*!*******************************************************************************************!*\
|
|||
|
!*** ./node_modules/@wagmi/connectors/node_modules/@walletconnect/utils/dist/index.es.js ***!
|
|||
|
\*******************************************************************************************/
|
|||
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ BASE10: () => (/* binding */ J),\n/* harmony export */ BASE16: () => (/* binding */ p),\n/* harmony export */ BASE64: () => (/* binding */ x),\n/* harmony export */ COLON: () => (/* binding */ Gn),\n/* harmony export */ DEFAULT_DEPTH: () => (/* binding */ ne),\n/* harmony export */ EMPTY_SPACE: () => (/* binding */ H),\n/* harmony export */ ENV_MAP: () => (/* binding */ m),\n/* harmony export */ MemoryStore: () => (/* binding */ er),\n/* harmony export */ ONE_THOUSAND: () => (/* binding */ Wn),\n/* harmony export */ REACT_NATIVE_PRODUCT: () => (/* binding */ Ce),\n/* harmony export */ RELAYER_DEFAULT_PROTOCOL: () => (/* binding */ Fe),\n/* harmony export */ SDK_TYPE: () => (/* binding */ je),\n/* harmony export */ SLASH: () => (/* binding */ $e),\n/* harmony export */ TYPE_0: () => (/* binding */ Q),\n/* harmony export */ TYPE_1: () => (/* binding */ _),\n/* harmony export */ UTF8: () => (/* binding */ F),\n/* harmony export */ appendToQueryString: () => (/* binding */ De),\n/* harmony export */ assertType: () => (/* binding */ Zn),\n/* harmony export */ buildApprovedNamespaces: () => (/* binding */ Ut),\n/* harmony export */ calcExpiry: () => (/* binding */ lt),\n/* harmony export */ capitalize: () => (/* binding */ ot),\n/* harmony export */ capitalizeWord: () => (/* binding */ xe),\n/* harmony export */ createDelayedPromise: () => (/* binding */ st),\n/* harmony export */ createExpiringPromise: () => (/* binding */ it),\n/* harmony export */ decodeTypeByte: () => (/* binding */ $),\n/* harmony export */ decrypt: () => (/* binding */ Ln),\n/* harmony export */ deriveSymKey: () => (/* binding */ kn),\n/* harmony export */ deserialize: () => (/* binding */ ee),\n/* harmony export */ encodeTypeByte: () => (/* binding */ Pe),\n/* harmony export */ encrypt: () => (/* binding */ Kn),\n/* harmony export */ engineEvent: () => (/* binding */ ft),\n/* harmony export */ enumify: () => (/* binding */ rt),\n/* harmony export */ formatAccountId: () => (/* binding */ Ee),\n/* harmony export */ formatAccountWithChain: () => (/* binding */ Pn),\n/* harmony export */ formatChainId: () => (/* binding */ ge),\n/* harmony export */ formatExpirerTarget: () => (/* binding */ re),\n/* harmony export */ formatIdTarget: () => (/* binding */ at),\n/* harmony export */ formatMessage: () => (/* binding */ Cn),\n/* harmony export */ formatMessageContext: () => (/* binding */ Xn),\n/* harmony export */ formatRelayParams: () => (/* binding */ We),\n/* harmony export */ formatRelayRpcUrl: () => (/* binding */ Jn),\n/* harmony export */ formatTopicTarget: () => (/* binding */ ct),\n/* harmony export */ formatUA: () => (/* binding */ Me),\n/* harmony export */ formatUri: () => (/* binding */ Nt),\n/* harmony export */ generateKeyPair: () => (/* binding */ jn),\n/* harmony export */ generateRandomBytes32: () => (/* binding */ Dn),\n/* harmony export */ getAccountsChains: () => (/* binding */ A),\n/* harmony export */ getAccountsFromNamespaces: () => (/* binding */ Rn),\n/* harmony export */ getAddressFromAccount: () => (/* binding */ be),\n/* harmony export */ getAddressesFromAccounts: () => (/* binding */ Tn),\n/* harmony export */ getAppMetadata: () => (/* binding */ zn),\n/* harmony export */ getBrowserOnlineStatus: () => (/* binding */ dn),\n/* harmony export */ getChainFromAccount: () => (/* binding */ Ne),\n/* harmony export */ getChainsFromAccounts: () => (/* binding */ Oe),\n/* harmony export */ getChainsFromNamespace: () => (/* binding */ K),\n/* harmony export */ getChainsFromNamespaces: () => (/* binding */ An),\n/* harmony export */ getChainsFromRequiredNamespaces: () => (/* binding */ Un),\n/* harmony export */ getDidAddress: () => (/* binding */ we),\n/* harmony export */ getDidAddressSegments: () => (/* binding */ L),\n/* harmony export */ getDidChainId: () => (/* binding */ Se),\n/*
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@walletconnect/relay-api/dist/esm/index.js":
|
|||
|
/*!*****************************************************************!*\
|
|||
|
!*** ./node_modules/@walletconnect/relay-api/dist/esm/index.js ***!
|
|||
|
\*****************************************************************/
|
|||
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ RELAY_JSONRPC: () => (/* reexport safe */ _jsonrpc__WEBPACK_IMPORTED_MODULE_2__.RELAY_JSONRPC),\n/* harmony export */ isPublishMethod: () => (/* reexport safe */ _validators__WEBPACK_IMPORTED_MODULE_3__.isPublishMethod),\n/* harmony export */ isPublishParams: () => (/* reexport safe */ _validators__WEBPACK_IMPORTED_MODULE_3__.isPublishParams),\n/* harmony export */ isPublishRequest: () => (/* reexport safe */ _validators__WEBPACK_IMPORTED_MODULE_3__.isPublishRequest),\n/* harmony export */ isSubscribeMethod: () => (/* reexport safe */ _validators__WEBPACK_IMPORTED_MODULE_3__.isSubscribeMethod),\n/* harmony export */ isSubscribeParams: () => (/* reexport safe */ _validators__WEBPACK_IMPORTED_MODULE_3__.isSubscribeParams),\n/* harmony export */ isSubscribeRequest: () => (/* reexport safe */ _validators__WEBPACK_IMPORTED_MODULE_3__.isSubscribeRequest),\n/* harmony export */ isSubscriptionMethod: () => (/* reexport safe */ _validators__WEBPACK_IMPORTED_MODULE_3__.isSubscriptionMethod),\n/* harmony export */ isSubscriptionParams: () => (/* reexport safe */ _validators__WEBPACK_IMPORTED_MODULE_3__.isSubscriptionParams),\n/* harmony export */ isSubscriptionRequest: () => (/* reexport safe */ _validators__WEBPACK_IMPORTED_MODULE_3__.isSubscriptionRequest),\n/* harmony export */ isUnsubscribeMethod: () => (/* reexport safe */ _validators__WEBPACK_IMPORTED_MODULE_3__.isUnsubscribeMethod),\n/* harmony export */ isUnsubscribeParams: () => (/* reexport safe */ _validators__WEBPACK_IMPORTED_MODULE_3__.isUnsubscribeParams),\n/* harmony export */ isUnsubscribeRequest: () => (/* reexport safe */ _validators__WEBPACK_IMPORTED_MODULE_3__.isUnsubscribeRequest),\n/* harmony export */ parsePublishRequest: () => (/* reexport safe */ _parsers__WEBPACK_IMPORTED_MODULE_1__.parsePublishRequest),\n/* harmony export */ parseSubscribeRequest: () => (/* reexport safe */ _parsers__WEBPACK_IMPORTED_MODULE_1__.parseSubscribeRequest),\n/* harmony export */ parseSubscriptionRequest: () => (/* reexport safe */ _parsers__WEBPACK_IMPORTED_MODULE_1__.parseSubscriptionRequest),\n/* harmony export */ parseUnsubscribeRequest: () => (/* reexport safe */ _parsers__WEBPACK_IMPORTED_MODULE_1__.parseUnsubscribeRequest)\n/* harmony export */ });\n/* harmony import */ var _types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./types */ \"./node_modules/@walletconnect/relay-api/dist/esm/types.js\");\n/* harmony import */ var _types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_types__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony reexport (unknown) */ var __WEBPACK_REEXPORT_OBJECT__ = {};\n/* harmony reexport (unknown) */ for(const __WEBPACK_IMPORT_KEY__ in _types__WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== \"default\") __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] = () => _types__WEBPACK_IMPORTED_MODULE_0__[__WEBPACK_IMPORT_KEY__]\n/* harmony reexport (unknown) */ __webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);\n/* harmony import */ var _parsers__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./parsers */ \"./node_modules/@walletconnect/relay-api/dist/esm/parsers.js\");\n/* harmony import */ var _jsonrpc__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./jsonrpc */ \"./node_modules/@walletconnect/relay-api/dist/esm/jsonrpc.js\");\n/* harmony import */ var _validators__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./validators */ \"./node_modules/@walletconnect/relay-api/dist/esm/validators.js\");\n\n\n\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@walletconnect/relay-api/dist/esm/index.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@walletconnect/relay-api/dist/esm/jsonrpc.js":
|
|||
|
/*!*******************************************************************!*\
|
|||
|
!*** ./node_modules/@walletconnect/relay-api/dist/esm/jsonrpc.js ***!
|
|||
|
\*******************************************************************/
|
|||
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ RELAY_JSONRPC: () => (/* binding */ RELAY_JSONRPC)\n/* harmony export */ });\nconst RELAY_JSONRPC = {\n waku: {\n publish: \"waku_publish\",\n batchPublish: \"waku_batchPublish\",\n subscribe: \"waku_subscribe\",\n batchSubscribe: \"waku_batchSubscribe\",\n subscription: \"waku_subscription\",\n unsubscribe: \"waku_unsubscribe\",\n batchUnsubscribe: \"waku_batchUnsubscribe\",\n },\n irn: {\n publish: \"irn_publish\",\n batchPublish: \"irn_batchPublish\",\n subscribe: \"irn_subscribe\",\n batchSubscribe: \"irn_batchSubscribe\",\n subscription: \"irn_subscription\",\n unsubscribe: \"irn_unsubscribe\",\n batchUnsubscribe: \"irn_batchUnsubscribe\",\n },\n iridium: {\n publish: \"iridium_publish\",\n batchPublish: \"iridium_batchPublish\",\n subscribe: \"iridium_subscribe\",\n batchSubscribe: \"iridium_batchSubscribe\",\n subscription: \"iridium_subscription\",\n unsubscribe: \"iridium_unsubscribe\",\n batchUnsubscribe: \"iridium_batchUnsubscribe\",\n },\n};\n//# sourceMappingURL=jsonrpc.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@walletconnect/relay-api/dist/esm/jsonrpc.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@walletconnect/relay-api/dist/esm/misc.js":
|
|||
|
/*!****************************************************************!*\
|
|||
|
!*** ./node_modules/@walletconnect/relay-api/dist/esm/misc.js ***!
|
|||
|
\****************************************************************/
|
|||
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ assertType: () => (/* binding */ assertType),\n/* harmony export */ checkParams: () => (/* binding */ checkParams),\n/* harmony export */ hasExactParamsLength: () => (/* binding */ hasExactParamsLength),\n/* harmony export */ hasRequiredParams: () => (/* binding */ hasRequiredParams),\n/* harmony export */ hasRequiredParamsLength: () => (/* binding */ hasRequiredParamsLength),\n/* harmony export */ methodEndsWith: () => (/* binding */ methodEndsWith)\n/* harmony export */ });\nfunction assertType(obj, key, type = \"string\") {\n if (!obj[key] || typeof obj[key] !== type) {\n throw new Error(`Missing or invalid \"${key}\" param`);\n }\n}\nfunction hasRequiredParams(params, required) {\n let matches = true;\n required.forEach(key => {\n const exists = key in params;\n if (!exists) {\n matches = false;\n }\n });\n return matches;\n}\nfunction hasExactParamsLength(params, length) {\n return Array.isArray(params)\n ? params.length === length\n : Object.keys(params).length === length;\n}\nfunction hasRequiredParamsLength(params, minLength) {\n return Array.isArray(params)\n ? params.length >= minLength\n : Object.keys(params).length >= minLength;\n}\nfunction checkParams(params, required, optional) {\n const exact = !optional.length;\n const matchesLength = exact\n ? hasExactParamsLength(params, required.length)\n : hasRequiredParamsLength(params, required.length);\n if (!matchesLength)\n return false;\n return hasRequiredParams(params, required);\n}\nfunction methodEndsWith(method, expected, separator = \"_\") {\n const split = method.split(separator);\n return (split[split.length - 1].trim().toLowerCase() ===\n expected.trim().toLowerCase());\n}\n//# sourceMappingURL=misc.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@walletconnect/relay-api/dist/esm/misc.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@walletconnect/relay-api/dist/esm/parsers.js":
|
|||
|
/*!*******************************************************************!*\
|
|||
|
!*** ./node_modules/@walletconnect/relay-api/dist/esm/parsers.js ***!
|
|||
|
\*******************************************************************/
|
|||
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ parsePublishRequest: () => (/* binding */ parsePublishRequest),\n/* harmony export */ parseSubscribeRequest: () => (/* binding */ parseSubscribeRequest),\n/* harmony export */ parseSubscriptionRequest: () => (/* binding */ parseSubscriptionRequest),\n/* harmony export */ parseUnsubscribeRequest: () => (/* binding */ parseUnsubscribeRequest)\n/* harmony export */ });\n/* harmony import */ var _misc__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./misc */ \"./node_modules/@walletconnect/relay-api/dist/esm/misc.js\");\n/* harmony import */ var _validators__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./validators */ \"./node_modules/@walletconnect/relay-api/dist/esm/validators.js\");\n\n\nfunction parseSubscribeRequest(request) {\n if (!(0,_validators__WEBPACK_IMPORTED_MODULE_1__.isSubscribeMethod)(request.method)) {\n throw new Error(\"JSON-RPC Request has invalid subscribe method\");\n }\n if (!(0,_validators__WEBPACK_IMPORTED_MODULE_1__.isSubscribeParams)(request.params)) {\n throw new Error(\"JSON-RPC Request has invalid subscribe params\");\n }\n const params = request.params;\n (0,_misc__WEBPACK_IMPORTED_MODULE_0__.assertType)(params, \"topic\");\n return params;\n}\nfunction parsePublishRequest(request) {\n if (!(0,_validators__WEBPACK_IMPORTED_MODULE_1__.isPublishMethod)(request.method)) {\n throw new Error(\"JSON-RPC Request has invalid publish method\");\n }\n if (!(0,_validators__WEBPACK_IMPORTED_MODULE_1__.isPublishParams)(request.params)) {\n throw new Error(\"JSON-RPC Request has invalid publish params\");\n }\n const params = request.params;\n (0,_misc__WEBPACK_IMPORTED_MODULE_0__.assertType)(params, \"topic\");\n (0,_misc__WEBPACK_IMPORTED_MODULE_0__.assertType)(params, \"message\");\n (0,_misc__WEBPACK_IMPORTED_MODULE_0__.assertType)(params, \"ttl\", \"number\");\n return params;\n}\nfunction parseUnsubscribeRequest(request) {\n if (!(0,_validators__WEBPACK_IMPORTED_MODULE_1__.isUnsubscribeMethod)(request.method)) {\n throw new Error(\"JSON-RPC Request has invalid unsubscribe method\");\n }\n if (!(0,_validators__WEBPACK_IMPORTED_MODULE_1__.isUnsubscribeParams)(request.params)) {\n throw new Error(\"JSON-RPC Request has invalid unsubscribe params\");\n }\n const params = request.params;\n (0,_misc__WEBPACK_IMPORTED_MODULE_0__.assertType)(params, \"id\");\n return params;\n}\nfunction parseSubscriptionRequest(request) {\n if (!(0,_validators__WEBPACK_IMPORTED_MODULE_1__.isSubscriptionMethod)(request.method)) {\n throw new Error(\"JSON-RPC Request has invalid subscription method\");\n }\n if (!(0,_validators__WEBPACK_IMPORTED_MODULE_1__.isSubscriptionParams)(request.params)) {\n throw new Error(\"JSON-RPC Request has invalid subscription params\");\n }\n const params = request.params;\n (0,_misc__WEBPACK_IMPORTED_MODULE_0__.assertType)(params, \"id\");\n (0,_misc__WEBPACK_IMPORTED_MODULE_0__.assertType)(params, \"data\");\n return params;\n}\n//# sourceMappingURL=parsers.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@walletconnect/relay-api/dist/esm/parsers.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@walletconnect/relay-api/dist/esm/types.js":
|
|||
|
/*!*****************************************************************!*\
|
|||
|
!*** ./node_modules/@walletconnect/relay-api/dist/esm/types.js ***!
|
|||
|
\*****************************************************************/
|
|||
|
/***/ (() => {
|
|||
|
|
|||
|
eval("//# sourceMappingURL=types.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@walletconnect/relay-api/dist/esm/types.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@walletconnect/relay-api/dist/esm/validators.js":
|
|||
|
/*!**********************************************************************!*\
|
|||
|
!*** ./node_modules/@walletconnect/relay-api/dist/esm/validators.js ***!
|
|||
|
\**********************************************************************/
|
|||
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ isPublishMethod: () => (/* binding */ isPublishMethod),\n/* harmony export */ isPublishParams: () => (/* binding */ isPublishParams),\n/* harmony export */ isPublishRequest: () => (/* binding */ isPublishRequest),\n/* harmony export */ isSubscribeMethod: () => (/* binding */ isSubscribeMethod),\n/* harmony export */ isSubscribeParams: () => (/* binding */ isSubscribeParams),\n/* harmony export */ isSubscribeRequest: () => (/* binding */ isSubscribeRequest),\n/* harmony export */ isSubscriptionMethod: () => (/* binding */ isSubscriptionMethod),\n/* harmony export */ isSubscriptionParams: () => (/* binding */ isSubscriptionParams),\n/* harmony export */ isSubscriptionRequest: () => (/* binding */ isSubscriptionRequest),\n/* harmony export */ isUnsubscribeMethod: () => (/* binding */ isUnsubscribeMethod),\n/* harmony export */ isUnsubscribeParams: () => (/* binding */ isUnsubscribeParams),\n/* harmony export */ isUnsubscribeRequest: () => (/* binding */ isUnsubscribeRequest)\n/* harmony export */ });\n/* harmony import */ var _misc__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./misc */ \"./node_modules/@walletconnect/relay-api/dist/esm/misc.js\");\n\nfunction isSubscribeRequest(request) {\n return isSubscribeMethod(request.method) && isSubscribeParams(request.params);\n}\nfunction isSubscribeMethod(method) {\n return (0,_misc__WEBPACK_IMPORTED_MODULE_0__.methodEndsWith)(method, \"subscribe\");\n}\nfunction isSubscribeParams(params) {\n const required = [\"topic\"];\n const optional = [];\n return (0,_misc__WEBPACK_IMPORTED_MODULE_0__.checkParams)(params, required, optional);\n}\nfunction isPublishRequest(request) {\n return isPublishMethod(request.method) && isPublishParams(request.params);\n}\nfunction isPublishMethod(method) {\n return (0,_misc__WEBPACK_IMPORTED_MODULE_0__.methodEndsWith)(method, \"publish\");\n}\nfunction isPublishParams(params) {\n const required = [\"message\", \"topic\", \"ttl\"];\n const optional = [\"prompt\", \"tag\"];\n return (0,_misc__WEBPACK_IMPORTED_MODULE_0__.checkParams)(params, required, optional);\n}\nfunction isUnsubscribeRequest(request) {\n return (isUnsubscribeMethod(request.method) && isUnsubscribeParams(request.params));\n}\nfunction isUnsubscribeMethod(method) {\n return (0,_misc__WEBPACK_IMPORTED_MODULE_0__.methodEndsWith)(method, \"unsubscribe\");\n}\nfunction isUnsubscribeParams(params) {\n const required = [\"id\", \"topic\"];\n const optional = [];\n return (0,_misc__WEBPACK_IMPORTED_MODULE_0__.checkParams)(params, required, optional);\n}\nfunction isSubscriptionRequest(request) {\n return (isSubscriptionMethod(request.method) && isSubscriptionParams(request.params));\n}\nfunction isSubscriptionMethod(method) {\n return (0,_misc__WEBPACK_IMPORTED_MODULE_0__.methodEndsWith)(method, \"subscription\");\n}\nfunction isSubscriptionParams(params) {\n const required = [\"id\", \"data\"];\n const optional = [];\n return (0,_misc__WEBPACK_IMPORTED_MODULE_0__.checkParams)(params, required, optional);\n}\n//# sourceMappingURL=validators.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@walletconnect/relay-api/dist/esm/validators.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@walletconnect/time/dist/cjs/constants/index.js":
|
|||
|
/*!**********************************************************************!*\
|
|||
|
!*** ./node_modules/@walletconnect/time/dist/cjs/constants/index.js ***!
|
|||
|
\**********************************************************************/
|
|||
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|||
|
|
|||
|
eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nconst tslib_1 = __webpack_require__(/*! tslib */ \"./node_modules/tslib/tslib.es6.js\");\ntslib_1.__exportStar(__webpack_require__(/*! ./misc */ \"./node_modules/@walletconnect/time/dist/cjs/constants/misc.js\"), exports);\ntslib_1.__exportStar(__webpack_require__(/*! ./time */ \"./node_modules/@walletconnect/time/dist/cjs/constants/time.js\"), exports);\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@walletconnect/time/dist/cjs/constants/index.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@walletconnect/time/dist/cjs/constants/misc.js":
|
|||
|
/*!*********************************************************************!*\
|
|||
|
!*** ./node_modules/@walletconnect/time/dist/cjs/constants/misc.js ***!
|
|||
|
\*********************************************************************/
|
|||
|
/***/ ((__unused_webpack_module, exports) => {
|
|||
|
|
|||
|
eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.ONE_THOUSAND = exports.ONE_HUNDRED = void 0;\nexports.ONE_HUNDRED = 100;\nexports.ONE_THOUSAND = 1000;\n//# sourceMappingURL=misc.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@walletconnect/time/dist/cjs/constants/misc.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@walletconnect/time/dist/cjs/constants/time.js":
|
|||
|
/*!*********************************************************************!*\
|
|||
|
!*** ./node_modules/@walletconnect/time/dist/cjs/constants/time.js ***!
|
|||
|
\*********************************************************************/
|
|||
|
/***/ ((__unused_webpack_module, exports) => {
|
|||
|
|
|||
|
eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.ONE_YEAR = exports.FOUR_WEEKS = exports.THREE_WEEKS = exports.TWO_WEEKS = exports.ONE_WEEK = exports.THIRTY_DAYS = exports.SEVEN_DAYS = exports.FIVE_DAYS = exports.THREE_DAYS = exports.ONE_DAY = exports.TWENTY_FOUR_HOURS = exports.TWELVE_HOURS = exports.SIX_HOURS = exports.THREE_HOURS = exports.ONE_HOUR = exports.SIXTY_MINUTES = exports.THIRTY_MINUTES = exports.TEN_MINUTES = exports.FIVE_MINUTES = exports.ONE_MINUTE = exports.SIXTY_SECONDS = exports.THIRTY_SECONDS = exports.TEN_SECONDS = exports.FIVE_SECONDS = exports.ONE_SECOND = void 0;\nexports.ONE_SECOND = 1;\nexports.FIVE_SECONDS = 5;\nexports.TEN_SECONDS = 10;\nexports.THIRTY_SECONDS = 30;\nexports.SIXTY_SECONDS = 60;\nexports.ONE_MINUTE = exports.SIXTY_SECONDS;\nexports.FIVE_MINUTES = exports.ONE_MINUTE * 5;\nexports.TEN_MINUTES = exports.ONE_MINUTE * 10;\nexports.THIRTY_MINUTES = exports.ONE_MINUTE * 30;\nexports.SIXTY_MINUTES = exports.ONE_MINUTE * 60;\nexports.ONE_HOUR = exports.SIXTY_MINUTES;\nexports.THREE_HOURS = exports.ONE_HOUR * 3;\nexports.SIX_HOURS = exports.ONE_HOUR * 6;\nexports.TWELVE_HOURS = exports.ONE_HOUR * 12;\nexports.TWENTY_FOUR_HOURS = exports.ONE_HOUR * 24;\nexports.ONE_DAY = exports.TWENTY_FOUR_HOURS;\nexports.THREE_DAYS = exports.ONE_DAY * 3;\nexports.FIVE_DAYS = exports.ONE_DAY * 5;\nexports.SEVEN_DAYS = exports.ONE_DAY * 7;\nexports.THIRTY_DAYS = exports.ONE_DAY * 30;\nexports.ONE_WEEK = exports.SEVEN_DAYS;\nexports.TWO_WEEKS = exports.ONE_WEEK * 2;\nexports.THREE_WEEKS = exports.ONE_WEEK * 3;\nexports.FOUR_WEEKS = exports.ONE_WEEK * 4;\nexports.ONE_YEAR = exports.ONE_DAY * 365;\n//# sourceMappingURL=time.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@walletconnect/time/dist/cjs/constants/time.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@walletconnect/time/dist/cjs/index.js":
|
|||
|
/*!************************************************************!*\
|
|||
|
!*** ./node_modules/@walletconnect/time/dist/cjs/index.js ***!
|
|||
|
\************************************************************/
|
|||
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|||
|
|
|||
|
eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nconst tslib_1 = __webpack_require__(/*! tslib */ \"./node_modules/tslib/tslib.es6.js\");\ntslib_1.__exportStar(__webpack_require__(/*! ./utils */ \"./node_modules/@walletconnect/time/dist/cjs/utils/index.js\"), exports);\ntslib_1.__exportStar(__webpack_require__(/*! ./watch */ \"./node_modules/@walletconnect/time/dist/cjs/watch.js\"), exports);\ntslib_1.__exportStar(__webpack_require__(/*! ./types */ \"./node_modules/@walletconnect/time/dist/cjs/types/index.js\"), exports);\ntslib_1.__exportStar(__webpack_require__(/*! ./constants */ \"./node_modules/@walletconnect/time/dist/cjs/constants/index.js\"), exports);\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@walletconnect/time/dist/cjs/index.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@walletconnect/time/dist/cjs/types/index.js":
|
|||
|
/*!******************************************************************!*\
|
|||
|
!*** ./node_modules/@walletconnect/time/dist/cjs/types/index.js ***!
|
|||
|
\******************************************************************/
|
|||
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|||
|
|
|||
|
eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nconst tslib_1 = __webpack_require__(/*! tslib */ \"./node_modules/tslib/tslib.es6.js\");\ntslib_1.__exportStar(__webpack_require__(/*! ./watch */ \"./node_modules/@walletconnect/time/dist/cjs/types/watch.js\"), exports);\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@walletconnect/time/dist/cjs/types/index.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@walletconnect/time/dist/cjs/types/watch.js":
|
|||
|
/*!******************************************************************!*\
|
|||
|
!*** ./node_modules/@walletconnect/time/dist/cjs/types/watch.js ***!
|
|||
|
\******************************************************************/
|
|||
|
/***/ ((__unused_webpack_module, exports) => {
|
|||
|
|
|||
|
eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.IWatch = void 0;\nclass IWatch {\n}\nexports.IWatch = IWatch;\n//# sourceMappingURL=watch.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@walletconnect/time/dist/cjs/types/watch.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@walletconnect/time/dist/cjs/utils/convert.js":
|
|||
|
/*!********************************************************************!*\
|
|||
|
!*** ./node_modules/@walletconnect/time/dist/cjs/utils/convert.js ***!
|
|||
|
\********************************************************************/
|
|||
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|||
|
|
|||
|
eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.fromMiliseconds = exports.toMiliseconds = void 0;\nconst constants_1 = __webpack_require__(/*! ../constants */ \"./node_modules/@walletconnect/time/dist/cjs/constants/index.js\");\nfunction toMiliseconds(seconds) {\n return seconds * constants_1.ONE_THOUSAND;\n}\nexports.toMiliseconds = toMiliseconds;\nfunction fromMiliseconds(miliseconds) {\n return Math.floor(miliseconds / constants_1.ONE_THOUSAND);\n}\nexports.fromMiliseconds = fromMiliseconds;\n//# sourceMappingURL=convert.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@walletconnect/time/dist/cjs/utils/convert.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@walletconnect/time/dist/cjs/utils/delay.js":
|
|||
|
/*!******************************************************************!*\
|
|||
|
!*** ./node_modules/@walletconnect/time/dist/cjs/utils/delay.js ***!
|
|||
|
\******************************************************************/
|
|||
|
/***/ ((__unused_webpack_module, exports) => {
|
|||
|
|
|||
|
eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.delay = void 0;\nfunction delay(timeout) {\n return new Promise(resolve => {\n setTimeout(() => {\n resolve(true);\n }, timeout);\n });\n}\nexports.delay = delay;\n//# sourceMappingURL=delay.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@walletconnect/time/dist/cjs/utils/delay.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@walletconnect/time/dist/cjs/utils/index.js":
|
|||
|
/*!******************************************************************!*\
|
|||
|
!*** ./node_modules/@walletconnect/time/dist/cjs/utils/index.js ***!
|
|||
|
\******************************************************************/
|
|||
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|||
|
|
|||
|
eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nconst tslib_1 = __webpack_require__(/*! tslib */ \"./node_modules/tslib/tslib.es6.js\");\ntslib_1.__exportStar(__webpack_require__(/*! ./delay */ \"./node_modules/@walletconnect/time/dist/cjs/utils/delay.js\"), exports);\ntslib_1.__exportStar(__webpack_require__(/*! ./convert */ \"./node_modules/@walletconnect/time/dist/cjs/utils/convert.js\"), exports);\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@walletconnect/time/dist/cjs/utils/index.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@walletconnect/time/dist/cjs/watch.js":
|
|||
|
/*!************************************************************!*\
|
|||
|
!*** ./node_modules/@walletconnect/time/dist/cjs/watch.js ***!
|
|||
|
\************************************************************/
|
|||
|
/***/ ((__unused_webpack_module, exports) => {
|
|||
|
|
|||
|
eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.Watch = void 0;\nclass Watch {\n constructor() {\n this.timestamps = new Map();\n }\n start(label) {\n if (this.timestamps.has(label)) {\n throw new Error(`Watch already started for label: ${label}`);\n }\n this.timestamps.set(label, { started: Date.now() });\n }\n stop(label) {\n const timestamp = this.get(label);\n if (typeof timestamp.elapsed !== \"undefined\") {\n throw new Error(`Watch already stopped for label: ${label}`);\n }\n const elapsed = Date.now() - timestamp.started;\n this.timestamps.set(label, { started: timestamp.started, elapsed });\n }\n get(label) {\n const timestamp = this.timestamps.get(label);\n if (typeof timestamp === \"undefined\") {\n throw new Error(`No timestamp found for label: ${label}`);\n }\n return timestamp;\n }\n elapsed(label) {\n const timestamp = this.get(label);\n const elapsed = timestamp.elapsed || Date.now() - timestamp.started;\n return elapsed;\n }\n}\nexports.Watch = Watch;\nexports[\"default\"] = Watch;\n//# sourceMappingURL=watch.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@walletconnect/time/dist/cjs/watch.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@walletconnect/window-getters/dist/cjs/index.js":
|
|||
|
/*!**********************************************************************!*\
|
|||
|
!*** ./node_modules/@walletconnect/window-getters/dist/cjs/index.js ***!
|
|||
|
\**********************************************************************/
|
|||
|
/***/ ((__unused_webpack_module, exports) => {
|
|||
|
|
|||
|
eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.getLocalStorage = exports.getLocalStorageOrThrow = exports.getCrypto = exports.getCryptoOrThrow = exports.getLocation = exports.getLocationOrThrow = exports.getNavigator = exports.getNavigatorOrThrow = exports.getDocument = exports.getDocumentOrThrow = exports.getFromWindowOrThrow = exports.getFromWindow = void 0;\nfunction getFromWindow(name) {\n let res = undefined;\n if (typeof window !== \"undefined\" && typeof window[name] !== \"undefined\") {\n res = window[name];\n }\n return res;\n}\nexports.getFromWindow = getFromWindow;\nfunction getFromWindowOrThrow(name) {\n const res = getFromWindow(name);\n if (!res) {\n throw new Error(`${name} is not defined in Window`);\n }\n return res;\n}\nexports.getFromWindowOrThrow = getFromWindowOrThrow;\nfunction getDocumentOrThrow() {\n return getFromWindowOrThrow(\"document\");\n}\nexports.getDocumentOrThrow = getDocumentOrThrow;\nfunction getDocument() {\n return getFromWindow(\"document\");\n}\nexports.getDocument = getDocument;\nfunction getNavigatorOrThrow() {\n return getFromWindowOrThrow(\"navigator\");\n}\nexports.getNavigatorOrThrow = getNavigatorOrThrow;\nfunction getNavigator() {\n return getFromWindow(\"navigator\");\n}\nexports.getNavigator = getNavigator;\nfunction getLocationOrThrow() {\n return getFromWindowOrThrow(\"location\");\n}\nexports.getLocationOrThrow = getLocationOrThrow;\nfunction getLocation() {\n return getFromWindow(\"location\");\n}\nexports.getLocation = getLocation;\nfunction getCryptoOrThrow() {\n return getFromWindowOrThrow(\"crypto\");\n}\nexports.getCryptoOrThrow = getCryptoOrThrow;\nfunction getCrypto() {\n return getFromWindow(\"crypto\");\n}\nexports.getCrypto = getCrypto;\nfunction getLocalStorageOrThrow() {\n return getFromWindowOrThrow(\"localStorage\");\n}\nexports.getLocalStorageOrThrow = getLocalStorageOrThrow;\nfunction getLocalStorage() {\n return getFromWindow(\"localStorage\");\n}\nexports.getLocalStorage = getLocalStorage;\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@walletconnect/window-getters/dist/cjs/index.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@walletconnect/window-metadata/dist/cjs/index.js":
|
|||
|
/*!***********************************************************************!*\
|
|||
|
!*** ./node_modules/@walletconnect/window-metadata/dist/cjs/index.js ***!
|
|||
|
\***********************************************************************/
|
|||
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|||
|
|
|||
|
eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.getWindowMetadata = void 0;\nconst window_getters_1 = __webpack_require__(/*! @walletconnect/window-getters */ \"./node_modules/@walletconnect/window-getters/dist/cjs/index.js\");\nfunction getWindowMetadata() {\n let doc;\n let loc;\n try {\n doc = window_getters_1.getDocumentOrThrow();\n loc = window_getters_1.getLocationOrThrow();\n }\n catch (e) {\n return null;\n }\n function getIcons() {\n const links = doc.getElementsByTagName(\"link\");\n const icons = [];\n for (let i = 0; i < links.length; i++) {\n const link = links[i];\n const rel = link.getAttribute(\"rel\");\n if (rel) {\n if (rel.toLowerCase().indexOf(\"icon\") > -1) {\n const href = link.getAttribute(\"href\");\n if (href) {\n if (href.toLowerCase().indexOf(\"https:\") === -1 &&\n href.toLowerCase().indexOf(\"http:\") === -1 &&\n href.indexOf(\"//\") !== 0) {\n let absoluteHref = loc.protocol + \"//\" + loc.host;\n if (href.indexOf(\"/\") === 0) {\n absoluteHref += href;\n }\n else {\n const path = loc.pathname.split(\"/\");\n path.pop();\n const finalPath = path.join(\"/\");\n absoluteHref += finalPath + \"/\" + href;\n }\n icons.push(absoluteHref);\n }\n else if (href.indexOf(\"//\") === 0) {\n const absoluteUrl = loc.protocol + href;\n icons.push(absoluteUrl);\n }\n else {\n icons.push(href);\n }\n }\n }\n }\n }\n return icons;\n }\n function getWindowMetadataOfAny(...args) {\n const metaTags = doc.getElementsByTagName(\"meta\");\n for (let i = 0; i < metaTags.length; i++) {\n const tag = metaTags[i];\n const attributes = [\"itemprop\", \"property\", \"name\"]\n .map((target) => tag.getAttribute(target))\n .filter((attr) => {\n if (attr) {\n return args.includes(attr);\n }\n return false;\n });\n if (attributes.length && attributes) {\n const content = tag.getAttribute(\"content\");\n if (content) {\n return content;\n }\n }\n }\n return \"\";\n }\n function getName() {\n let name = getWindowMetadataOfAny(\"name\", \"og:site_name\", \"og:title\", \"twitter:title\");\n if (!name) {\n name = doc.title;\n }\n return name;\n }\n function getDescription() {\n const description = getWindowMetadataOfAny(\"description\", \"og:description\", \"twitter:description\", \"keywords\");\n return description;\n }\n const name = getName();\n const description = getDescription();\n const url = loc.origin;\n const icons = getIcons();\n const meta = {\n description,\n url,\n icons,\n name,\n };\n return meta;\n}\nexports.getWindowMetadata = getWindowMetadata;\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@walletconnect/window-metadata/dist/cjs/index.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/base64-js/index.js":
|
|||
|
/*!*****************************************!*\
|
|||
|
!*** ./node_modules/base64-js/index.js ***!
|
|||
|
\*****************************************/
|
|||
|
/***/ ((__unused_webpack_module, exports) => {
|
|||
|
|
|||
|
eval("\n\nexports.byteLength = byteLength\nexports.toByteArray = toByteArray\nexports.fromByteArray = fromByteArray\n\nvar lookup = []\nvar revLookup = []\nvar Arr = typeof Uint8Array !== 'undefined' ? Uint8Array : Array\n\nvar code = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'\nfor (var i = 0, len = code.length; i < len; ++i) {\n lookup[i] = code[i]\n revLookup[code.charCodeAt(i)] = i\n}\n\n// Support decoding URL-safe base64 strings, as Node.js does.\n// See: https://en.wikipedia.org/wiki/Base64#URL_applications\nrevLookup['-'.charCodeAt(0)] = 62\nrevLookup['_'.charCodeAt(0)] = 63\n\nfunction getLens (b64) {\n var len = b64.length\n\n if (len % 4 > 0) {\n throw new Error('Invalid string. Length must be a multiple of 4')\n }\n\n // Trim off extra bytes after placeholder bytes are found\n // See: https://github.com/beatgammit/base64-js/issues/42\n var validLen = b64.indexOf('=')\n if (validLen === -1) validLen = len\n\n var placeHoldersLen = validLen === len\n ? 0\n : 4 - (validLen % 4)\n\n return [validLen, placeHoldersLen]\n}\n\n// base64 is 4/3 + up to two characters of the original data\nfunction byteLength (b64) {\n var lens = getLens(b64)\n var validLen = lens[0]\n var placeHoldersLen = lens[1]\n return ((validLen + placeHoldersLen) * 3 / 4) - placeHoldersLen\n}\n\nfunction _byteLength (b64, validLen, placeHoldersLen) {\n return ((validLen + placeHoldersLen) * 3 / 4) - placeHoldersLen\n}\n\nfunction toByteArray (b64) {\n var tmp\n var lens = getLens(b64)\n var validLen = lens[0]\n var placeHoldersLen = lens[1]\n\n var arr = new Arr(_byteLength(b64, validLen, placeHoldersLen))\n\n var curByte = 0\n\n // if there are placeholders, only get up to the last complete 4 chars\n var len = placeHoldersLen > 0\n ? validLen - 4\n : validLen\n\n var i\n for (i = 0; i < len; i += 4) {\n tmp =\n (revLookup[b64.charCodeAt(i)] << 18) |\n (revLookup[b64.charCodeAt(i + 1)] << 12) |\n (revLookup[b64.charCodeAt(i + 2)] << 6) |\n revLookup[b64.charCodeAt(i + 3)]\n arr[curByte++] = (tmp >> 16) & 0xFF\n arr[curByte++] = (tmp >> 8) & 0xFF\n arr[curByte++] = tmp & 0xFF\n }\n\n if (placeHoldersLen === 2) {\n tmp =\n (revLookup[b64.charCodeAt(i)] << 2) |\n (revLookup[b64.charCodeAt(i + 1)] >> 4)\n arr[curByte++] = tmp & 0xFF\n }\n\n if (placeHoldersLen === 1) {\n tmp =\n (revLookup[b64.charCodeAt(i)] << 10) |\n (revLookup[b64.charCodeAt(i + 1)] << 4) |\n (revLookup[b64.charCodeAt(i + 2)] >> 2)\n arr[curByte++] = (tmp >> 8) & 0xFF\n arr[curByte++] = tmp & 0xFF\n }\n\n return arr\n}\n\nfunction tripletToBase64 (num) {\n return lookup[num >> 18 & 0x3F] +\n lookup[num >> 12 & 0x3F] +\n lookup[num >> 6 & 0x3F] +\n lookup[num & 0x3F]\n}\n\nfunction encodeChunk (uint8, start, end) {\n var tmp\n var output = []\n for (var i = start; i < end; i += 3) {\n tmp =\n ((uint8[i] << 16) & 0xFF0000) +\n ((uint8[i + 1] << 8) & 0xFF00) +\n (uint8[i + 2] & 0xFF)\n output.push(tripletToBase64(tmp))\n }\n return output.join('')\n}\n\nfunction fromByteArray (uint8) {\n var tmp\n var len = uint8.length\n var extraBytes = len % 3 // if we have 1 byte left, pad 2 bytes\n var parts = []\n var maxChunkLength = 16383 // must be multiple of 3\n\n // go through the array every three bytes, we'll deal with trailing stuff later\n for (var i = 0, len2 = len - extraBytes; i < len2; i += maxChunkLength) {\n parts.push(encodeChunk(uint8, i, (i + maxChunkLength) > len2 ? len2 : (i + maxChunkLength)))\n }\n\n // pad the end with zeros, but make sure to not forget the extra bytes\n if (extraBytes === 1) {\n tmp = uint8[len - 1]\n parts.push(\n lookup[tmp >> 2] +\n lookup[(tmp << 4) & 0x3F] +\n '=='\n )\n } else if (extraBytes === 2) {\n tmp = (uint8[len - 2] << 8) + uint8[len - 1]\n parts.push(\n lookup[tmp >> 10] +\n lookup[(tmp >> 4) & 0x3F] +\n lookup[(tmp << 2) & 0x3F] +\n '='\n )\n }\n\n return parts.join('')\n}\n\n\n//# sourceURL=w
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/buffer/index.js":
|
|||
|
/*!**************************************!*\
|
|||
|
!*** ./node_modules/buffer/index.js ***!
|
|||
|
\**************************************/
|
|||
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|||
|
|
|||
|
eval("/*!\n * The buffer module from node.js, for the browser.\n *\n * @author Feross Aboukhadijeh <https://feross.org>\n * @license MIT\n */\n/* eslint-disable no-proto */\n\n\n\nconst base64 = __webpack_require__(/*! base64-js */ \"./node_modules/base64-js/index.js\")\nconst ieee754 = __webpack_require__(/*! ieee754 */ \"./node_modules/ieee754/index.js\")\nconst customInspectSymbol =\n (typeof Symbol === 'function' && typeof Symbol['for'] === 'function') // eslint-disable-line dot-notation\n ? Symbol['for']('nodejs.util.inspect.custom') // eslint-disable-line dot-notation\n : null\n\nexports.Buffer = Buffer\nexports.SlowBuffer = SlowBuffer\nexports.INSPECT_MAX_BYTES = 50\n\nconst K_MAX_LENGTH = 0x7fffffff\nexports.kMaxLength = K_MAX_LENGTH\n\n/**\n * If `Buffer.TYPED_ARRAY_SUPPORT`:\n * === true Use Uint8Array implementation (fastest)\n * === false Print warning and recommend using `buffer` v4.x which has an Object\n * implementation (most compatible, even IE6)\n *\n * Browsers that support typed arrays are IE 10+, Firefox 4+, Chrome 7+, Safari 5.1+,\n * Opera 11.6+, iOS 4.2+.\n *\n * We report that the browser does not support typed arrays if the are not subclassable\n * using __proto__. Firefox 4-29 lacks support for adding new properties to `Uint8Array`\n * (See: https://bugzilla.mozilla.org/show_bug.cgi?id=695438). IE 10 lacks support\n * for __proto__ and has a buggy typed array implementation.\n */\nBuffer.TYPED_ARRAY_SUPPORT = typedArraySupport()\n\nif (!Buffer.TYPED_ARRAY_SUPPORT && typeof console !== 'undefined' &&\n typeof console.error === 'function') {\n console.error(\n 'This browser lacks typed array (Uint8Array) support which is required by ' +\n '`buffer` v5.x. Use `buffer` v4.x if you require old browser support.'\n )\n}\n\nfunction typedArraySupport () {\n // Can typed array instances can be augmented?\n try {\n const arr = new Uint8Array(1)\n const proto = { foo: function () { return 42 } }\n Object.setPrototypeOf(proto, Uint8Array.prototype)\n Object.setPrototypeOf(arr, proto)\n return arr.foo() === 42\n } catch (e) {\n return false\n }\n}\n\nObject.defineProperty(Buffer.prototype, 'parent', {\n enumerable: true,\n get: function () {\n if (!Buffer.isBuffer(this)) return undefined\n return this.buffer\n }\n})\n\nObject.defineProperty(Buffer.prototype, 'offset', {\n enumerable: true,\n get: function () {\n if (!Buffer.isBuffer(this)) return undefined\n return this.byteOffset\n }\n})\n\nfunction createBuffer (length) {\n if (length > K_MAX_LENGTH) {\n throw new RangeError('The value \"' + length + '\" is invalid for option \"size\"')\n }\n // Return an augmented `Uint8Array` instance\n const buf = new Uint8Array(length)\n Object.setPrototypeOf(buf, Buffer.prototype)\n return buf\n}\n\n/**\n * The Buffer constructor returns instances of `Uint8Array` that have their\n * prototype changed to `Buffer.prototype`. Furthermore, `Buffer` is a subclass of\n * `Uint8Array`, so the returned instances will have all the node `Buffer` methods\n * and the `Uint8Array` methods. Square bracket notation works as expected -- it\n * returns a single octet.\n *\n * The `Uint8Array` prototype remains unmodified.\n */\n\nfunction Buffer (arg, encodingOrOffset, length) {\n // Common case.\n if (typeof arg === 'number') {\n if (typeof encodingOrOffset === 'string') {\n throw new TypeError(\n 'The \"string\" argument must be of type string. Received type number'\n )\n }\n return allocUnsafe(arg)\n }\n return from(arg, encodingOrOffset, length)\n}\n\nBuffer.poolSize = 8192 // not used by this implementation\n\nfunction from (value, encodingOrOffset, length) {\n if (typeof value === 'string') {\n return fromString(value, encodingOrOffset)\n }\n\n if (ArrayBuffer.isView(value)) {\n return fromArrayView(value)\n }\n\n if (value == null) {\n throw new TypeError(\n 'The first argument must be one of type string, Buffer, ArrayBuffer, Array, ' +\n 'or Array-like Object. Received type ' + (t
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/dayjs/dayjs.min.js":
|
|||
|
/*!*****************************************!*\
|
|||
|
!*** ./node_modules/dayjs/dayjs.min.js ***!
|
|||
|
\*****************************************/
|
|||
|
/***/ (function(module) {
|
|||
|
|
|||
|
eval("!function(t,e){ true?module.exports=e():0}(this,(function(){\"use strict\";var t=1e3,e=6e4,n=36e5,r=\"millisecond\",i=\"second\",s=\"minute\",u=\"hour\",a=\"day\",o=\"week\",c=\"month\",f=\"quarter\",h=\"year\",d=\"date\",l=\"Invalid Date\",$=/^(\\d{4})[-/]?(\\d{1,2})?[-/]?(\\d{0,2})[Tt\\s]*(\\d{1,2})?:?(\\d{1,2})?:?(\\d{1,2})?[.:]?(\\d+)?$/,y=/\\[([^\\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,M={name:\"en\",weekdays:\"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday\".split(\"_\"),months:\"January_February_March_April_May_June_July_August_September_October_November_December\".split(\"_\"),ordinal:function(t){var e=[\"th\",\"st\",\"nd\",\"rd\"],n=t%100;return\"[\"+t+(e[(n-20)%10]||e[n]||e[0])+\"]\"}},m=function(t,e,n){var r=String(t);return!r||r.length>=e?t:\"\"+Array(e+1-r.length).join(n)+t},v={s:m,z:function(t){var e=-t.utcOffset(),n=Math.abs(e),r=Math.floor(n/60),i=n%60;return(e<=0?\"+\":\"-\")+m(r,2,\"0\")+\":\"+m(i,2,\"0\")},m:function t(e,n){if(e.date()<n.date())return-t(n,e);var r=12*(n.year()-e.year())+(n.month()-e.month()),i=e.clone().add(r,c),s=n-i<0,u=e.clone().add(r+(s?-1:1),c);return+(-(r+(n-i)/(s?i-u:u-i))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(t){return{M:c,y:h,w:o,d:a,D:d,h:u,m:s,s:i,ms:r,Q:f}[t]||String(t||\"\").toLowerCase().replace(/s$/,\"\")},u:function(t){return void 0===t}},g=\"en\",D={};D[g]=M;var p=\"$isDayjsObject\",S=function(t){return t instanceof _||!(!t||!t[p])},w=function t(e,n,r){var i;if(!e)return g;if(\"string\"==typeof e){var s=e.toLowerCase();D[s]&&(i=s),n&&(D[s]=n,i=s);var u=e.split(\"-\");if(!i&&u.length>1)return t(u[0])}else{var a=e.name;D[a]=e,i=a}return!r&&i&&(g=i),i||!r&&g},O=function(t,e){if(S(t))return t.clone();var n=\"object\"==typeof e?e:{};return n.date=t,n.args=arguments,new _(n)},b=v;b.l=w,b.i=S,b.w=function(t,e){return O(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var _=function(){function M(t){this.$L=w(t.locale,null,!0),this.parse(t),this.$x=this.$x||t.x||{},this[p]=!0}var m=M.prototype;return m.parse=function(t){this.$d=function(t){var e=t.date,n=t.utc;if(null===e)return new Date(NaN);if(b.u(e))return new Date;if(e instanceof Date)return new Date(e);if(\"string\"==typeof e&&!/Z$/i.test(e)){var r=e.match($);if(r){var i=r[2]-1||0,s=(r[7]||\"0\").substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)}}return new Date(e)}(t),this.init()},m.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},m.$utils=function(){return b},m.isValid=function(){return!(this.$d.toString()===l)},m.isSame=function(t,e){var n=O(t);return this.startOf(e)<=n&&n<=this.endOf(e)},m.isAfter=function(t,e){return O(t)<this.startOf(e)},m.isBefore=function(t,e){return this.endOf(e)<O(t)},m.$g=function(t,e,n){return b.u(t)?this[e]:this.set(n,t)},m.unix=function(){return Math.floor(this.valueOf()/1e3)},m.valueOf=function(){return this.$d.getTime()},m.startOf=function(t,e){var n=this,r=!!b.u(e)||e,f=b.p(t),l=function(t,e){var i=b.w(n.$u?Date.UTC(n.$y,e,t):new Date(n.$y,e,t),n);return r?i:i.endOf(a)},$=function(t,e){return b.w(n.toDate()[t].apply(n.toDate(\"s\"),(r?[0,0,0,0]:[23,59,59,999]).slice(e)),n)},y=this.$W,M=this.$M,m=this.$D,v=\"set\"+(this.$u?\"UTC\":\"\");switch(f){case h:return r?l(1,0):l(31,11);case c:return r?l(1,M):l(0,M+1);case o:var g=this.$locale().weekStart||0,D=(y<g?y+7:y)-g;return l(r?m-D:m+(6-D),M);case a:case d:return $(v+\"Hours\",0);case u:return $(v+\"Minutes\",1);case s:return $(v+\"Seconds\",2);case i:return $(v+\"Milliseconds\",3);default:return this.clone()}},m.endOf=function(t){return this.startOf(t,!1)},m.$set=function(t,e){var n,o=b.p(t),f=\"set\"+(this.$u?\"UTC\":\"\"),l=(n={},n[a]=f+\"Date\",n[d]=f+\"Date\",n[c]=f+\"Month\",n[h]=f+\"FullYear\",n[u]=f+\"Hours\",n[s]=f+\"Minutes\",n[i]=f+\"Seconds\",n[r]=f+\"Milliseconds\",n)[o],$=o===a?this.$D+(e-this
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/dayjs/plugin/relativeTime.js":
|
|||
|
/*!***************************************************!*\
|
|||
|
!*** ./node_modules/dayjs/plugin/relativeTime.js ***!
|
|||
|
\***************************************************/
|
|||
|
/***/ (function(module) {
|
|||
|
|
|||
|
eval("!function(r,e){ true?module.exports=e():0}(this,(function(){\"use strict\";return function(r,e,t){r=r||{};var n=e.prototype,o={future:\"in %s\",past:\"%s ago\",s:\"a few seconds\",m:\"a minute\",mm:\"%d minutes\",h:\"an hour\",hh:\"%d hours\",d:\"a day\",dd:\"%d days\",M:\"a month\",MM:\"%d months\",y:\"a year\",yy:\"%d years\"};function i(r,e,t,o){return n.fromToBase(r,e,t,o)}t.en.relativeTime=o,n.fromToBase=function(e,n,i,d,u){for(var f,a,s,l=i.$locale().relativeTime||o,h=r.thresholds||[{l:\"s\",r:44,d:\"second\"},{l:\"m\",r:89},{l:\"mm\",r:44,d:\"minute\"},{l:\"h\",r:89},{l:\"hh\",r:21,d:\"hour\"},{l:\"d\",r:35},{l:\"dd\",r:25,d:\"day\"},{l:\"M\",r:45},{l:\"MM\",r:10,d:\"month\"},{l:\"y\",r:17},{l:\"yy\",d:\"year\"}],m=h.length,c=0;c<m;c+=1){var y=h[c];y.d&&(f=d?t(e).diff(i,y.d,!0):i.diff(e,y.d,!0));var p=(r.rounding||Math.round)(Math.abs(f));if(s=f>0,p<=y.r||!y.r){p<=1&&c>0&&(y=h[c-1]);var v=l[y.l];u&&(p=u(\"\"+p)),a=\"string\"==typeof v?v.replace(\"%d\",p):v(p,n,y.l,s);break}}if(n)return a;var M=s?l.future:l.past;return\"function\"==typeof M?M(a):M.replace(\"%s\",a)},n.to=function(r,e){return i(r,e,this,!0)},n.from=function(r,e){return i(r,e,this)};var d=function(r){return r.$u?t.utc():t()};n.toNow=function(r){return this.to(d(this),r)},n.fromNow=function(r){return this.from(d(this),r)}}}));\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/dayjs/plugin/relativeTime.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/dayjs/plugin/updateLocale.js":
|
|||
|
/*!***************************************************!*\
|
|||
|
!*** ./node_modules/dayjs/plugin/updateLocale.js ***!
|
|||
|
\***************************************************/
|
|||
|
/***/ (function(module) {
|
|||
|
|
|||
|
eval("!function(e,n){ true?module.exports=n():0}(this,(function(){\"use strict\";return function(e,n,t){t.updateLocale=function(e,n){var o=t.Ls[e];if(o)return(n?Object.keys(n):[]).forEach((function(e){o[e]=n[e]})),o}}}));\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/dayjs/plugin/updateLocale.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/decode-uri-component/index.js":
|
|||
|
/*!****************************************************!*\
|
|||
|
!*** ./node_modules/decode-uri-component/index.js ***!
|
|||
|
\****************************************************/
|
|||
|
/***/ ((module) => {
|
|||
|
|
|||
|
eval("\nvar token = '%[a-f0-9]{2}';\nvar singleMatcher = new RegExp('(' + token + ')|([^%]+?)', 'gi');\nvar multiMatcher = new RegExp('(' + token + ')+', 'gi');\n\nfunction decodeComponents(components, split) {\n\ttry {\n\t\t// Try to decode the entire string first\n\t\treturn [decodeURIComponent(components.join(''))];\n\t} catch (err) {\n\t\t// Do nothing\n\t}\n\n\tif (components.length === 1) {\n\t\treturn components;\n\t}\n\n\tsplit = split || 1;\n\n\t// Split the array in 2 parts\n\tvar left = components.slice(0, split);\n\tvar right = components.slice(split);\n\n\treturn Array.prototype.concat.call([], decodeComponents(left), decodeComponents(right));\n}\n\nfunction decode(input) {\n\ttry {\n\t\treturn decodeURIComponent(input);\n\t} catch (err) {\n\t\tvar tokens = input.match(singleMatcher) || [];\n\n\t\tfor (var i = 1; i < tokens.length; i++) {\n\t\t\tinput = decodeComponents(tokens, i).join('');\n\n\t\t\ttokens = input.match(singleMatcher) || [];\n\t\t}\n\n\t\treturn input;\n\t}\n}\n\nfunction customDecodeURIComponent(input) {\n\t// Keep track of all the replacements and prefill the map with the `BOM`\n\tvar replaceMap = {\n\t\t'%FE%FF': '\\uFFFD\\uFFFD',\n\t\t'%FF%FE': '\\uFFFD\\uFFFD'\n\t};\n\n\tvar match = multiMatcher.exec(input);\n\twhile (match) {\n\t\ttry {\n\t\t\t// Decode as big chunks as possible\n\t\t\treplaceMap[match[0]] = decodeURIComponent(match[0]);\n\t\t} catch (err) {\n\t\t\tvar result = decode(match[0]);\n\n\t\t\tif (result !== match[0]) {\n\t\t\t\treplaceMap[match[0]] = result;\n\t\t\t}\n\t\t}\n\n\t\tmatch = multiMatcher.exec(input);\n\t}\n\n\t// Add `%C2` at the end of the map to make sure it does not replace the combinator before everything else\n\treplaceMap['%C2'] = '\\uFFFD';\n\n\tvar entries = Object.keys(replaceMap);\n\n\tfor (var i = 0; i < entries.length; i++) {\n\t\t// Replace all decoded components\n\t\tvar key = entries[i];\n\t\tinput = input.replace(new RegExp(key, 'g'), replaceMap[key]);\n\t}\n\n\treturn input;\n}\n\nmodule.exports = function (encodedURI) {\n\tif (typeof encodedURI !== 'string') {\n\t\tthrow new TypeError('Expected `encodedURI` to be of type `string`, got `' + typeof encodedURI + '`');\n\t}\n\n\ttry {\n\t\tencodedURI = encodedURI.replace(/\\+/g, ' ');\n\n\t\t// Try the built in decoder first\n\t\treturn decodeURIComponent(encodedURI);\n\t} catch (err) {\n\t\t// Fallback to a more advanced decoder\n\t\treturn customDecodeURIComponent(encodedURI);\n\t}\n};\n\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/decode-uri-component/index.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/detect-browser/es/index.js":
|
|||
|
/*!*************************************************!*\
|
|||
|
!*** ./node_modules/detect-browser/es/index.js ***!
|
|||
|
\*************************************************/
|
|||
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ BotInfo: () => (/* binding */ BotInfo),\n/* harmony export */ BrowserInfo: () => (/* binding */ BrowserInfo),\n/* harmony export */ NodeInfo: () => (/* binding */ NodeInfo),\n/* harmony export */ ReactNativeInfo: () => (/* binding */ ReactNativeInfo),\n/* harmony export */ SearchBotDeviceInfo: () => (/* binding */ SearchBotDeviceInfo),\n/* harmony export */ browserName: () => (/* binding */ browserName),\n/* harmony export */ detect: () => (/* binding */ detect),\n/* harmony export */ detectOS: () => (/* binding */ detectOS),\n/* harmony export */ getNodeVersion: () => (/* binding */ getNodeVersion),\n/* harmony export */ parseUserAgent: () => (/* binding */ parseUserAgent)\n/* harmony export */ });\nvar __spreadArray = (undefined && undefined.__spreadArray) || function (to, from, pack) {\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\n if (ar || !(i in from)) {\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\n ar[i] = from[i];\n }\n }\n return to.concat(ar || Array.prototype.slice.call(from));\n};\nvar BrowserInfo = /** @class */ (function () {\n function BrowserInfo(name, version, os) {\n this.name = name;\n this.version = version;\n this.os = os;\n this.type = 'browser';\n }\n return BrowserInfo;\n}());\n\nvar NodeInfo = /** @class */ (function () {\n function NodeInfo(version) {\n this.version = version;\n this.type = 'node';\n this.name = 'node';\n this.os = process.platform;\n }\n return NodeInfo;\n}());\n\nvar SearchBotDeviceInfo = /** @class */ (function () {\n function SearchBotDeviceInfo(name, version, os, bot) {\n this.name = name;\n this.version = version;\n this.os = os;\n this.bot = bot;\n this.type = 'bot-device';\n }\n return SearchBotDeviceInfo;\n}());\n\nvar BotInfo = /** @class */ (function () {\n function BotInfo() {\n this.type = 'bot';\n this.bot = true; // NOTE: deprecated test name instead\n this.name = 'bot';\n this.version = null;\n this.os = null;\n }\n return BotInfo;\n}());\n\nvar ReactNativeInfo = /** @class */ (function () {\n function ReactNativeInfo() {\n this.type = 'react-native';\n this.name = 'react-native';\n this.version = null;\n this.os = null;\n }\n return ReactNativeInfo;\n}());\n\n// tslint:disable-next-line:max-line-length\nvar SEARCHBOX_UA_REGEX = /alexa|bot|crawl(er|ing)|facebookexternalhit|feedburner|google web preview|nagios|postrank|pingdom|slurp|spider|yahoo!|yandex/;\nvar SEARCHBOT_OS_REGEX = /(nuhk|curl|Googlebot|Yammybot|Openbot|Slurp|MSNBot|Ask\\ Jeeves\\/Teoma|ia_archiver)/;\nvar REQUIRED_VERSION_PARTS = 3;\nvar userAgentRules = [\n ['aol', /AOLShield\\/([0-9\\._]+)/],\n ['edge', /Edge\\/([0-9\\._]+)/],\n ['edge-ios', /EdgiOS\\/([0-9\\._]+)/],\n ['yandexbrowser', /YaBrowser\\/([0-9\\._]+)/],\n ['kakaotalk', /KAKAOTALK\\s([0-9\\.]+)/],\n ['samsung', /SamsungBrowser\\/([0-9\\.]+)/],\n ['silk', /\\bSilk\\/([0-9._-]+)\\b/],\n ['miui', /MiuiBrowser\\/([0-9\\.]+)$/],\n ['beaker', /BeakerBrowser\\/([0-9\\.]+)/],\n ['edge-chromium', /EdgA?\\/([0-9\\.]+)/],\n [\n 'chromium-webview',\n /(?!Chrom.*OPR)wv\\).*Chrom(?:e|ium)\\/([0-9\\.]+)(:?\\s|$)/,\n ],\n ['chrome', /(?!Chrom.*OPR)Chrom(?:e|ium)\\/([0-9\\.]+)(:?\\s|$)/],\n ['phantomjs', /PhantomJS\\/([0-9\\.]+)(:?\\s|$)/],\n ['crios', /CriOS\\/([0-9\\.]+)(:?\\s|$)/],\n ['firefox', /Firefox\\/([0-9\\.]+)(?:\\s|$)/],\n ['fxios', /FxiOS\\/([0-9\\.]+)/],\n ['opera-mini', /Opera Mini.*Version\\/([0-9\\.]+)/],\n ['opera', /Opera\\/([0-9\\.]+)(?:\\s|$)/],\n ['opera', /OPR\\/([0-9\\.]+)(:?\\s|$)/],\n ['pie', /^Microsoft Pocket Internet Explorer\\/(\\d+\\.\\d+)$/],\n ['pie', /^Mozilla\\/\\d\\.\\d+\\s\\(compatible
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/dijkstrajs/dijkstra.js":
|
|||
|
/*!*********************************************!*\
|
|||
|
!*** ./node_modules/dijkstrajs/dijkstra.js ***!
|
|||
|
\*********************************************/
|
|||
|
/***/ ((module) => {
|
|||
|
|
|||
|
eval("\n\n/******************************************************************************\n * Created 2008-08-19.\n *\n * Dijkstra path-finding functions. Adapted from the Dijkstar Python project.\n *\n * Copyright (C) 2008\n * Wyatt Baldwin <self@wyattbaldwin.com>\n * All rights reserved\n *\n * Licensed under the MIT license.\n *\n * http://www.opensource.org/licenses/mit-license.php\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n * THE SOFTWARE.\n *****************************************************************************/\nvar dijkstra = {\n single_source_shortest_paths: function(graph, s, d) {\n // Predecessor map for each node that has been encountered.\n // node ID => predecessor node ID\n var predecessors = {};\n\n // Costs of shortest paths from s to all nodes encountered.\n // node ID => cost\n var costs = {};\n costs[s] = 0;\n\n // Costs of shortest paths from s to all nodes encountered; differs from\n // `costs` in that it provides easy access to the node that currently has\n // the known shortest path from s.\n // XXX: Do we actually need both `costs` and `open`?\n var open = dijkstra.PriorityQueue.make();\n open.push(s, 0);\n\n var closest,\n u, v,\n cost_of_s_to_u,\n adjacent_nodes,\n cost_of_e,\n cost_of_s_to_u_plus_cost_of_e,\n cost_of_s_to_v,\n first_visit;\n while (!open.empty()) {\n // In the nodes remaining in graph that have a known cost from s,\n // find the node, u, that currently has the shortest path from s.\n closest = open.pop();\n u = closest.value;\n cost_of_s_to_u = closest.cost;\n\n // Get nodes adjacent to u...\n adjacent_nodes = graph[u] || {};\n\n // ...and explore the edges that connect u to those nodes, updating\n // the cost of the shortest paths to any or all of those nodes as\n // necessary. v is the node across the current edge from u.\n for (v in adjacent_nodes) {\n if (adjacent_nodes.hasOwnProperty(v)) {\n // Get the cost of the edge running from u to v.\n cost_of_e = adjacent_nodes[v];\n\n // Cost of s to u plus the cost of u to v across e--this is *a*\n // cost from s to v that may or may not be less than the current\n // known cost to v.\n cost_of_s_to_u_plus_cost_of_e = cost_of_s_to_u + cost_of_e;\n\n // If we haven't visited v yet OR if the current known cost from s to\n // v is greater than the new cost we just found (cost of s to u plus\n // cost of u to v across e), update v's cost in the cost list and\n // update v's predecessor in the predecessor list (it's now u).\n cost_of_s_to_v = costs[v];\n first_visit = (typeof costs[v] === 'undefined');\n if (first_visit || cost_of_s_to_v > cost_of_s_to_u_plus_cost_of_e) {\n costs[v] = cost_of_s_to_u_plus_cost_of_e;\n open.push(v, cost_of_s_to_u_plus_cost_of_e);\n predecessors[v] = u;\n }\n }\n }\n }\n\n if (typeof d !== 'undefined' && typeof costs[d] === 'undefined') {\n var msg = ['Could not find a path from ', s, ' to ', d, '.'].join('');\n throw new Error(msg);\n }\n\n return predecessors;\n },\n\n extract_shortest_path_from_predecessor_list: function(predecessors, d) {\n var nodes = [];\n var u = d;\n var predecessor;\n while (u) {\n nodes.push(u);\n predecessor = predecessors[u];\n u = predecessors[u];\n }\n nodes.reverse();\n return nodes;\n },\n\n find_path: function(graph, s, d) {\n var predecessors = d
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/encode-utf8/index.js":
|
|||
|
/*!*******************************************!*\
|
|||
|
!*** ./node_modules/encode-utf8/index.js ***!
|
|||
|
\*******************************************/
|
|||
|
/***/ ((module) => {
|
|||
|
|
|||
|
eval("\n\nmodule.exports = function encodeUtf8 (input) {\n var result = []\n var size = input.length\n\n for (var index = 0; index < size; index++) {\n var point = input.charCodeAt(index)\n\n if (point >= 0xD800 && point <= 0xDBFF && size > index + 1) {\n var second = input.charCodeAt(index + 1)\n\n if (second >= 0xDC00 && second <= 0xDFFF) {\n // https://mathiasbynens.be/notes/javascript-encoding#surrogate-formulae\n point = (point - 0xD800) * 0x400 + second - 0xDC00 + 0x10000\n index += 1\n }\n }\n\n // US-ASCII\n if (point < 0x80) {\n result.push(point)\n continue\n }\n\n // 2-byte UTF-8\n if (point < 0x800) {\n result.push((point >> 6) | 192)\n result.push((point & 63) | 128)\n continue\n }\n\n // 3-byte UTF-8\n if (point < 0xD800 || (point >= 0xE000 && point < 0x10000)) {\n result.push((point >> 12) | 224)\n result.push(((point >> 6) & 63) | 128)\n result.push((point & 63) | 128)\n continue\n }\n\n // 4-byte UTF-8\n if (point >= 0x10000 && point <= 0x10FFFF) {\n result.push((point >> 18) | 240)\n result.push(((point >> 12) & 63) | 128)\n result.push(((point >> 6) & 63) | 128)\n result.push((point & 63) | 128)\n continue\n }\n\n // Invalid character\n result.push(0xEF, 0xBF, 0xBD)\n }\n\n return new Uint8Array(result).buffer\n}\n\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/encode-utf8/index.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/eventemitter3/index.js":
|
|||
|
/*!*********************************************!*\
|
|||
|
!*** ./node_modules/eventemitter3/index.js ***!
|
|||
|
\*********************************************/
|
|||
|
/***/ ((module) => {
|
|||
|
|
|||
|
eval("\n\nvar has = Object.prototype.hasOwnProperty\n , prefix = '~';\n\n/**\n * Constructor to create a storage for our `EE` objects.\n * An `Events` instance is a plain object whose properties are event names.\n *\n * @constructor\n * @private\n */\nfunction Events() {}\n\n//\n// We try to not inherit from `Object.prototype`. In some engines creating an\n// instance in this way is faster than calling `Object.create(null)` directly.\n// If `Object.create(null)` is not supported we prefix the event names with a\n// character to make sure that the built-in object properties are not\n// overridden or used as an attack vector.\n//\nif (Object.create) {\n Events.prototype = Object.create(null);\n\n //\n // This hack is needed because the `__proto__` property is still inherited in\n // some old browsers like Android 4, iPhone 5.1, Opera 11 and Safari 5.\n //\n if (!new Events().__proto__) prefix = false;\n}\n\n/**\n * Representation of a single event listener.\n *\n * @param {Function} fn The listener function.\n * @param {*} context The context to invoke the listener with.\n * @param {Boolean} [once=false] Specify if the listener is a one-time listener.\n * @constructor\n * @private\n */\nfunction EE(fn, context, once) {\n this.fn = fn;\n this.context = context;\n this.once = once || false;\n}\n\n/**\n * Add a listener for a given event.\n *\n * @param {EventEmitter} emitter Reference to the `EventEmitter` instance.\n * @param {(String|Symbol)} event The event name.\n * @param {Function} fn The listener function.\n * @param {*} context The context to invoke the listener with.\n * @param {Boolean} once Specify if the listener is a one-time listener.\n * @returns {EventEmitter}\n * @private\n */\nfunction addListener(emitter, event, fn, context, once) {\n if (typeof fn !== 'function') {\n throw new TypeError('The listener must be a function');\n }\n\n var listener = new EE(fn, context || emitter, once)\n , evt = prefix ? prefix + event : event;\n\n if (!emitter._events[evt]) emitter._events[evt] = listener, emitter._eventsCount++;\n else if (!emitter._events[evt].fn) emitter._events[evt].push(listener);\n else emitter._events[evt] = [emitter._events[evt], listener];\n\n return emitter;\n}\n\n/**\n * Clear event by name.\n *\n * @param {EventEmitter} emitter Reference to the `EventEmitter` instance.\n * @param {(String|Symbol)} evt The Event name.\n * @private\n */\nfunction clearEvent(emitter, evt) {\n if (--emitter._eventsCount === 0) emitter._events = new Events();\n else delete emitter._events[evt];\n}\n\n/**\n * Minimal `EventEmitter` interface that is molded against the Node.js\n * `EventEmitter` interface.\n *\n * @constructor\n * @public\n */\nfunction EventEmitter() {\n this._events = new Events();\n this._eventsCount = 0;\n}\n\n/**\n * Return an array listing the events for which the emitter has registered\n * listeners.\n *\n * @returns {Array}\n * @public\n */\nEventEmitter.prototype.eventNames = function eventNames() {\n var names = []\n , events\n , name;\n\n if (this._eventsCount === 0) return names;\n\n for (name in (events = this._events)) {\n if (has.call(events, name)) names.push(prefix ? name.slice(1) : name);\n }\n\n if (Object.getOwnPropertySymbols) {\n return names.concat(Object.getOwnPropertySymbols(events));\n }\n\n return names;\n};\n\n/**\n * Return the listeners registered for a given event.\n *\n * @param {(String|Symbol)} event The event name.\n * @returns {Array} The registered listeners.\n * @public\n */\nEventEmitter.prototype.listeners = function listeners(event) {\n var evt = prefix ? prefix + event : event\n , handlers = this._events[evt];\n\n if (!handlers) return [];\n if (handlers.fn) return [handlers.fn];\n\n for (var i = 0, l = handlers.length, ee = new Array(l); i < l; i++) {\n ee[i] = handlers[i].fn;\n }\n\n return ee;\n};\n\n/**\n * Return the number of listeners listening to a given event.\n *\n * @param {(String|Symbol)} event The event name.\n * @returns {Number} The number of listeners.\n * @public\n */\nEventEmitter.proto
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/filter-obj/index.js":
|
|||
|
/*!******************************************!*\
|
|||
|
!*** ./node_modules/filter-obj/index.js ***!
|
|||
|
\******************************************/
|
|||
|
/***/ ((module) => {
|
|||
|
|
|||
|
eval("\nmodule.exports = function (obj, predicate) {\n\tvar ret = {};\n\tvar keys = Object.keys(obj);\n\tvar isArr = Array.isArray(predicate);\n\n\tfor (var i = 0; i < keys.length; i++) {\n\t\tvar key = keys[i];\n\t\tvar val = obj[key];\n\n\t\tif (isArr ? predicate.indexOf(key) !== -1 : predicate(key, val, obj)) {\n\t\t\tret[key] = val;\n\t\t}\n\t}\n\n\treturn ret;\n};\n\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/filter-obj/index.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/ieee754/index.js":
|
|||
|
/*!***************************************!*\
|
|||
|
!*** ./node_modules/ieee754/index.js ***!
|
|||
|
\***************************************/
|
|||
|
/***/ ((__unused_webpack_module, exports) => {
|
|||
|
|
|||
|
eval("/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */\nexports.read = function (buffer, offset, isLE, mLen, nBytes) {\n var e, m\n var eLen = (nBytes * 8) - mLen - 1\n var eMax = (1 << eLen) - 1\n var eBias = eMax >> 1\n var nBits = -7\n var i = isLE ? (nBytes - 1) : 0\n var d = isLE ? -1 : 1\n var s = buffer[offset + i]\n\n i += d\n\n e = s & ((1 << (-nBits)) - 1)\n s >>= (-nBits)\n nBits += eLen\n for (; nBits > 0; e = (e * 256) + buffer[offset + i], i += d, nBits -= 8) {}\n\n m = e & ((1 << (-nBits)) - 1)\n e >>= (-nBits)\n nBits += mLen\n for (; nBits > 0; m = (m * 256) + buffer[offset + i], i += d, nBits -= 8) {}\n\n if (e === 0) {\n e = 1 - eBias\n } else if (e === eMax) {\n return m ? NaN : ((s ? -1 : 1) * Infinity)\n } else {\n m = m + Math.pow(2, mLen)\n e = e - eBias\n }\n return (s ? -1 : 1) * m * Math.pow(2, e - mLen)\n}\n\nexports.write = function (buffer, value, offset, isLE, mLen, nBytes) {\n var e, m, c\n var eLen = (nBytes * 8) - mLen - 1\n var eMax = (1 << eLen) - 1\n var eBias = eMax >> 1\n var rt = (mLen === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0)\n var i = isLE ? 0 : (nBytes - 1)\n var d = isLE ? 1 : -1\n var s = value < 0 || (value === 0 && 1 / value < 0) ? 1 : 0\n\n value = Math.abs(value)\n\n if (isNaN(value) || value === Infinity) {\n m = isNaN(value) ? 1 : 0\n e = eMax\n } else {\n e = Math.floor(Math.log(value) / Math.LN2)\n if (value * (c = Math.pow(2, -e)) < 1) {\n e--\n c *= 2\n }\n if (e + eBias >= 1) {\n value += rt / c\n } else {\n value += rt * Math.pow(2, 1 - eBias)\n }\n if (value * c >= 2) {\n e++\n c /= 2\n }\n\n if (e + eBias >= eMax) {\n m = 0\n e = eMax\n } else if (e + eBias >= 1) {\n m = ((value * c) - 1) * Math.pow(2, mLen)\n e = e + eBias\n } else {\n m = value * Math.pow(2, eBias - 1) * Math.pow(2, mLen)\n e = 0\n }\n }\n\n for (; mLen >= 8; buffer[offset + i] = m & 0xff, i += d, m /= 256, mLen -= 8) {}\n\n e = (e << mLen) | m\n eLen += mLen\n for (; eLen > 0; buffer[offset + i] = e & 0xff, i += d, e /= 256, eLen -= 8) {}\n\n buffer[offset + i - d] |= s * 128\n}\n\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/ieee754/index.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/proxy-compare/dist/index.modern.js":
|
|||
|
/*!*********************************************************!*\
|
|||
|
!*** ./node_modules/proxy-compare/dist/index.modern.js ***!
|
|||
|
\*********************************************************/
|
|||
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ affectedToPathList: () => (/* binding */ w),\n/* harmony export */ createProxy: () => (/* binding */ a),\n/* harmony export */ getUntracked: () => (/* binding */ y),\n/* harmony export */ isChanged: () => (/* binding */ p),\n/* harmony export */ markToTrack: () => (/* binding */ h),\n/* harmony export */ replaceNewProxy: () => (/* binding */ O),\n/* harmony export */ trackMemo: () => (/* binding */ g)\n/* harmony export */ });\nconst e=Symbol(),t=Symbol(),r=\"a\",n=\"w\";let o=(e,t)=>new Proxy(e,t);const s=Object.getPrototypeOf,c=new WeakMap,l=e=>e&&(c.has(e)?c.get(e):s(e)===Object.prototype||s(e)===Array.prototype),f=e=>\"object\"==typeof e&&null!==e,i=e=>{if(Array.isArray(e))return Array.from(e);const t=Object.getOwnPropertyDescriptors(e);return Object.values(t).forEach(e=>{e.configurable=!0}),Object.create(s(e),t)},u=e=>e[t]||e,a=(s,c,f,p)=>{if(!l(s))return s;let g=p&&p.get(s);if(!g){const e=u(s);g=(e=>Object.values(Object.getOwnPropertyDescriptors(e)).some(e=>!e.configurable&&!e.writable))(e)?[e,i(e)]:[e],null==p||p.set(s,g)}const[y,h]=g;let w=f&&f.get(y);return w&&w[1].f===!!h||(w=((o,s)=>{const c={f:s};let l=!1;const f=(e,t)=>{if(!l){let s=c[r].get(o);if(s||(s={},c[r].set(o,s)),e===n)s[n]=!0;else{let r=s[e];r||(r=new Set,s[e]=r),r.add(t)}}},i={get:(e,n)=>n===t?o:(f(\"k\",n),a(Reflect.get(e,n),c[r],c.c,c.t)),has:(t,n)=>n===e?(l=!0,c[r].delete(o),!0):(f(\"h\",n),Reflect.has(t,n)),getOwnPropertyDescriptor:(e,t)=>(f(\"o\",t),Reflect.getOwnPropertyDescriptor(e,t)),ownKeys:e=>(f(n),Reflect.ownKeys(e))};return s&&(i.set=i.deleteProperty=()=>!1),[i,c]})(y,!!h),w[1].p=o(h||y,w[0]),f&&f.set(y,w)),w[1][r]=c,w[1].c=f,w[1].t=p,w[1].p},p=(e,t,r,o)=>{if(Object.is(e,t))return!1;if(!f(e)||!f(t))return!0;const s=r.get(u(e));if(!s)return!0;if(o){const r=o.get(e);if(r&&r.n===t)return r.g;o.set(e,{n:t,g:!1})}let c=null;try{for(const r of s.h||[])if(c=Reflect.has(e,r)!==Reflect.has(t,r),c)return c;if(!0===s[n]){if(c=((e,t)=>{const r=Reflect.ownKeys(e),n=Reflect.ownKeys(t);return r.length!==n.length||r.some((e,t)=>e!==n[t])})(e,t),c)return c}else for(const r of s.o||[])if(c=!!Reflect.getOwnPropertyDescriptor(e,r)!=!!Reflect.getOwnPropertyDescriptor(t,r),c)return c;for(const n of s.k||[])if(c=p(e[n],t[n],r,o),c)return c;return null===c&&(c=!0),c}finally{o&&o.set(e,{n:t,g:c})}},g=t=>!!l(t)&&e in t,y=e=>l(e)&&e[t]||null,h=(e,t=!0)=>{c.set(e,t)},w=(e,t,r)=>{const o=[],s=new WeakSet,c=(e,l)=>{if(s.has(e))return;f(e)&&s.add(e);const i=f(e)&&t.get(u(e));if(i){var a,p;if(null==(a=i.h)||a.forEach(e=>{const t=`:has(${String(e)})`;o.push(l?[...l,t]:[t])}),!0===i[n]){const e=\":ownKeys\";o.push(l?[...l,e]:[e])}else{var g;null==(g=i.o)||g.forEach(e=>{const t=`:hasOwn(${String(e)})`;o.push(l?[...l,t]:[t])})}null==(p=i.k)||p.forEach(t=>{r&&!(\"value\"in(Object.getOwnPropertyDescriptor(e,t)||{}))||c(e[t],l?[...l,t]:[t])})}else l&&o.push(l)};return c(e),o},O=e=>{o=e};\n//# sourceMappingURL=index.modern.mjs.map\n\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/proxy-compare/dist/index.modern.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/qrcode/lib/browser.js":
|
|||
|
/*!********************************************!*\
|
|||
|
!*** ./node_modules/qrcode/lib/browser.js ***!
|
|||
|
\********************************************/
|
|||
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|||
|
|
|||
|
eval("\nconst canPromise = __webpack_require__(/*! ./can-promise */ \"./node_modules/qrcode/lib/can-promise.js\")\n\nconst QRCode = __webpack_require__(/*! ./core/qrcode */ \"./node_modules/qrcode/lib/core/qrcode.js\")\nconst CanvasRenderer = __webpack_require__(/*! ./renderer/canvas */ \"./node_modules/qrcode/lib/renderer/canvas.js\")\nconst SvgRenderer = __webpack_require__(/*! ./renderer/svg-tag.js */ \"./node_modules/qrcode/lib/renderer/svg-tag.js\")\n\nfunction renderCanvas (renderFunc, canvas, text, opts, cb) {\n const args = [].slice.call(arguments, 1)\n const argsNum = args.length\n const isLastArgCb = typeof args[argsNum - 1] === 'function'\n\n if (!isLastArgCb && !canPromise()) {\n throw new Error('Callback required as last argument')\n }\n\n if (isLastArgCb) {\n if (argsNum < 2) {\n throw new Error('Too few arguments provided')\n }\n\n if (argsNum === 2) {\n cb = text\n text = canvas\n canvas = opts = undefined\n } else if (argsNum === 3) {\n if (canvas.getContext && typeof cb === 'undefined') {\n cb = opts\n opts = undefined\n } else {\n cb = opts\n opts = text\n text = canvas\n canvas = undefined\n }\n }\n } else {\n if (argsNum < 1) {\n throw new Error('Too few arguments provided')\n }\n\n if (argsNum === 1) {\n text = canvas\n canvas = opts = undefined\n } else if (argsNum === 2 && !canvas.getContext) {\n opts = text\n text = canvas\n canvas = undefined\n }\n\n return new Promise(function (resolve, reject) {\n try {\n const data = QRCode.create(text, opts)\n resolve(renderFunc(data, canvas, opts))\n } catch (e) {\n reject(e)\n }\n })\n }\n\n try {\n const data = QRCode.create(text, opts)\n cb(null, renderFunc(data, canvas, opts))\n } catch (e) {\n cb(e)\n }\n}\n\nexports.create = QRCode.create\nexports.toCanvas = renderCanvas.bind(null, CanvasRenderer.render)\nexports.toDataURL = renderCanvas.bind(null, CanvasRenderer.renderToDataURL)\n\n// only svg for now.\nexports.toString = renderCanvas.bind(null, function (data, _, opts) {\n return SvgRenderer.render(data, opts)\n})\n\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/qrcode/lib/browser.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/qrcode/lib/can-promise.js":
|
|||
|
/*!************************************************!*\
|
|||
|
!*** ./node_modules/qrcode/lib/can-promise.js ***!
|
|||
|
\************************************************/
|
|||
|
/***/ ((module) => {
|
|||
|
|
|||
|
eval("// can-promise has a crash in some versions of react native that dont have\n// standard global objects\n// https://github.com/soldair/node-qrcode/issues/157\n\nmodule.exports = function () {\n return typeof Promise === 'function' && Promise.prototype && Promise.prototype.then\n}\n\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/qrcode/lib/can-promise.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/qrcode/lib/core/alignment-pattern.js":
|
|||
|
/*!***********************************************************!*\
|
|||
|
!*** ./node_modules/qrcode/lib/core/alignment-pattern.js ***!
|
|||
|
\***********************************************************/
|
|||
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|||
|
|
|||
|
eval("/**\n * Alignment pattern are fixed reference pattern in defined positions\n * in a matrix symbology, which enables the decode software to re-synchronise\n * the coordinate mapping of the image modules in the event of moderate amounts\n * of distortion of the image.\n *\n * Alignment patterns are present only in QR Code symbols of version 2 or larger\n * and their number depends on the symbol version.\n */\n\nconst getSymbolSize = (__webpack_require__(/*! ./utils */ \"./node_modules/qrcode/lib/core/utils.js\").getSymbolSize)\n\n/**\n * Calculate the row/column coordinates of the center module of each alignment pattern\n * for the specified QR Code version.\n *\n * The alignment patterns are positioned symmetrically on either side of the diagonal\n * running from the top left corner of the symbol to the bottom right corner.\n *\n * Since positions are simmetrical only half of the coordinates are returned.\n * Each item of the array will represent in turn the x and y coordinate.\n * @see {@link getPositions}\n *\n * @param {Number} version QR Code version\n * @return {Array} Array of coordinate\n */\nexports.getRowColCoords = function getRowColCoords (version) {\n if (version === 1) return []\n\n const posCount = Math.floor(version / 7) + 2\n const size = getSymbolSize(version)\n const intervals = size === 145 ? 26 : Math.ceil((size - 13) / (2 * posCount - 2)) * 2\n const positions = [size - 7] // Last coord is always (size - 7)\n\n for (let i = 1; i < posCount - 1; i++) {\n positions[i] = positions[i - 1] - intervals\n }\n\n positions.push(6) // First coord is always 6\n\n return positions.reverse()\n}\n\n/**\n * Returns an array containing the positions of each alignment pattern.\n * Each array's element represent the center point of the pattern as (x, y) coordinates\n *\n * Coordinates are calculated expanding the row/column coordinates returned by {@link getRowColCoords}\n * and filtering out the items that overlaps with finder pattern\n *\n * @example\n * For a Version 7 symbol {@link getRowColCoords} returns values 6, 22 and 38.\n * The alignment patterns, therefore, are to be centered on (row, column)\n * positions (6,22), (22,6), (22,22), (22,38), (38,22), (38,38).\n * Note that the coordinates (6,6), (6,38), (38,6) are occupied by finder patterns\n * and are not therefore used for alignment patterns.\n *\n * let pos = getPositions(7)\n * // [[6,22], [22,6], [22,22], [22,38], [38,22], [38,38]]\n *\n * @param {Number} version QR Code version\n * @return {Array} Array of coordinates\n */\nexports.getPositions = function getPositions (version) {\n const coords = []\n const pos = exports.getRowColCoords(version)\n const posLength = pos.length\n\n for (let i = 0; i < posLength; i++) {\n for (let j = 0; j < posLength; j++) {\n // Skip if position is occupied by finder patterns\n if ((i === 0 && j === 0) || // top-left\n (i === 0 && j === posLength - 1) || // bottom-left\n (i === posLength - 1 && j === 0)) { // top-right\n continue\n }\n\n coords.push([pos[i], pos[j]])\n }\n }\n\n return coords\n}\n\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/qrcode/lib/core/alignment-pattern.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/qrcode/lib/core/alphanumeric-data.js":
|
|||
|
/*!***********************************************************!*\
|
|||
|
!*** ./node_modules/qrcode/lib/core/alphanumeric-data.js ***!
|
|||
|
\***********************************************************/
|
|||
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|||
|
|
|||
|
eval("const Mode = __webpack_require__(/*! ./mode */ \"./node_modules/qrcode/lib/core/mode.js\")\n\n/**\n * Array of characters available in alphanumeric mode\n *\n * As per QR Code specification, to each character\n * is assigned a value from 0 to 44 which in this case coincides\n * with the array index\n *\n * @type {Array}\n */\nconst ALPHA_NUM_CHARS = [\n '0', '1', '2', '3', '4', '5', '6', '7', '8', '9',\n 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M',\n 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z',\n ' ', '$', '%', '*', '+', '-', '.', '/', ':'\n]\n\nfunction AlphanumericData (data) {\n this.mode = Mode.ALPHANUMERIC\n this.data = data\n}\n\nAlphanumericData.getBitsLength = function getBitsLength (length) {\n return 11 * Math.floor(length / 2) + 6 * (length % 2)\n}\n\nAlphanumericData.prototype.getLength = function getLength () {\n return this.data.length\n}\n\nAlphanumericData.prototype.getBitsLength = function getBitsLength () {\n return AlphanumericData.getBitsLength(this.data.length)\n}\n\nAlphanumericData.prototype.write = function write (bitBuffer) {\n let i\n\n // Input data characters are divided into groups of two characters\n // and encoded as 11-bit binary codes.\n for (i = 0; i + 2 <= this.data.length; i += 2) {\n // The character value of the first character is multiplied by 45\n let value = ALPHA_NUM_CHARS.indexOf(this.data[i]) * 45\n\n // The character value of the second digit is added to the product\n value += ALPHA_NUM_CHARS.indexOf(this.data[i + 1])\n\n // The sum is then stored as 11-bit binary number\n bitBuffer.put(value, 11)\n }\n\n // If the number of input data characters is not a multiple of two,\n // the character value of the final character is encoded as a 6-bit binary number.\n if (this.data.length % 2) {\n bitBuffer.put(ALPHA_NUM_CHARS.indexOf(this.data[i]), 6)\n }\n}\n\nmodule.exports = AlphanumericData\n\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/qrcode/lib/core/alphanumeric-data.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/qrcode/lib/core/bit-buffer.js":
|
|||
|
/*!****************************************************!*\
|
|||
|
!*** ./node_modules/qrcode/lib/core/bit-buffer.js ***!
|
|||
|
\****************************************************/
|
|||
|
/***/ ((module) => {
|
|||
|
|
|||
|
eval("function BitBuffer () {\n this.buffer = []\n this.length = 0\n}\n\nBitBuffer.prototype = {\n\n get: function (index) {\n const bufIndex = Math.floor(index / 8)\n return ((this.buffer[bufIndex] >>> (7 - index % 8)) & 1) === 1\n },\n\n put: function (num, length) {\n for (let i = 0; i < length; i++) {\n this.putBit(((num >>> (length - i - 1)) & 1) === 1)\n }\n },\n\n getLengthInBits: function () {\n return this.length\n },\n\n putBit: function (bit) {\n const bufIndex = Math.floor(this.length / 8)\n if (this.buffer.length <= bufIndex) {\n this.buffer.push(0)\n }\n\n if (bit) {\n this.buffer[bufIndex] |= (0x80 >>> (this.length % 8))\n }\n\n this.length++\n }\n}\n\nmodule.exports = BitBuffer\n\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/qrcode/lib/core/bit-buffer.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/qrcode/lib/core/bit-matrix.js":
|
|||
|
/*!****************************************************!*\
|
|||
|
!*** ./node_modules/qrcode/lib/core/bit-matrix.js ***!
|
|||
|
\****************************************************/
|
|||
|
/***/ ((module) => {
|
|||
|
|
|||
|
eval("/**\n * Helper class to handle QR Code symbol modules\n *\n * @param {Number} size Symbol size\n */\nfunction BitMatrix (size) {\n if (!size || size < 1) {\n throw new Error('BitMatrix size must be defined and greater than 0')\n }\n\n this.size = size\n this.data = new Uint8Array(size * size)\n this.reservedBit = new Uint8Array(size * size)\n}\n\n/**\n * Set bit value at specified location\n * If reserved flag is set, this bit will be ignored during masking process\n *\n * @param {Number} row\n * @param {Number} col\n * @param {Boolean} value\n * @param {Boolean} reserved\n */\nBitMatrix.prototype.set = function (row, col, value, reserved) {\n const index = row * this.size + col\n this.data[index] = value\n if (reserved) this.reservedBit[index] = true\n}\n\n/**\n * Returns bit value at specified location\n *\n * @param {Number} row\n * @param {Number} col\n * @return {Boolean}\n */\nBitMatrix.prototype.get = function (row, col) {\n return this.data[row * this.size + col]\n}\n\n/**\n * Applies xor operator at specified location\n * (used during masking process)\n *\n * @param {Number} row\n * @param {Number} col\n * @param {Boolean} value\n */\nBitMatrix.prototype.xor = function (row, col, value) {\n this.data[row * this.size + col] ^= value\n}\n\n/**\n * Check if bit at specified location is reserved\n *\n * @param {Number} row\n * @param {Number} col\n * @return {Boolean}\n */\nBitMatrix.prototype.isReserved = function (row, col) {\n return this.reservedBit[row * this.size + col]\n}\n\nmodule.exports = BitMatrix\n\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/qrcode/lib/core/bit-matrix.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/qrcode/lib/core/byte-data.js":
|
|||
|
/*!***************************************************!*\
|
|||
|
!*** ./node_modules/qrcode/lib/core/byte-data.js ***!
|
|||
|
\***************************************************/
|
|||
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|||
|
|
|||
|
eval("const encodeUtf8 = __webpack_require__(/*! encode-utf8 */ \"./node_modules/encode-utf8/index.js\")\nconst Mode = __webpack_require__(/*! ./mode */ \"./node_modules/qrcode/lib/core/mode.js\")\n\nfunction ByteData (data) {\n this.mode = Mode.BYTE\n if (typeof (data) === 'string') {\n data = encodeUtf8(data)\n }\n this.data = new Uint8Array(data)\n}\n\nByteData.getBitsLength = function getBitsLength (length) {\n return length * 8\n}\n\nByteData.prototype.getLength = function getLength () {\n return this.data.length\n}\n\nByteData.prototype.getBitsLength = function getBitsLength () {\n return ByteData.getBitsLength(this.data.length)\n}\n\nByteData.prototype.write = function (bitBuffer) {\n for (let i = 0, l = this.data.length; i < l; i++) {\n bitBuffer.put(this.data[i], 8)\n }\n}\n\nmodule.exports = ByteData\n\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/qrcode/lib/core/byte-data.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/qrcode/lib/core/error-correction-code.js":
|
|||
|
/*!***************************************************************!*\
|
|||
|
!*** ./node_modules/qrcode/lib/core/error-correction-code.js ***!
|
|||
|
\***************************************************************/
|
|||
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|||
|
|
|||
|
eval("const ECLevel = __webpack_require__(/*! ./error-correction-level */ \"./node_modules/qrcode/lib/core/error-correction-level.js\")\r\n\r\nconst EC_BLOCKS_TABLE = [\r\n// L M Q H\r\n 1, 1, 1, 1,\r\n 1, 1, 1, 1,\r\n 1, 1, 2, 2,\r\n 1, 2, 2, 4,\r\n 1, 2, 4, 4,\r\n 2, 4, 4, 4,\r\n 2, 4, 6, 5,\r\n 2, 4, 6, 6,\r\n 2, 5, 8, 8,\r\n 4, 5, 8, 8,\r\n 4, 5, 8, 11,\r\n 4, 8, 10, 11,\r\n 4, 9, 12, 16,\r\n 4, 9, 16, 16,\r\n 6, 10, 12, 18,\r\n 6, 10, 17, 16,\r\n 6, 11, 16, 19,\r\n 6, 13, 18, 21,\r\n 7, 14, 21, 25,\r\n 8, 16, 20, 25,\r\n 8, 17, 23, 25,\r\n 9, 17, 23, 34,\r\n 9, 18, 25, 30,\r\n 10, 20, 27, 32,\r\n 12, 21, 29, 35,\r\n 12, 23, 34, 37,\r\n 12, 25, 34, 40,\r\n 13, 26, 35, 42,\r\n 14, 28, 38, 45,\r\n 15, 29, 40, 48,\r\n 16, 31, 43, 51,\r\n 17, 33, 45, 54,\r\n 18, 35, 48, 57,\r\n 19, 37, 51, 60,\r\n 19, 38, 53, 63,\r\n 20, 40, 56, 66,\r\n 21, 43, 59, 70,\r\n 22, 45, 62, 74,\r\n 24, 47, 65, 77,\r\n 25, 49, 68, 81\r\n]\r\n\r\nconst EC_CODEWORDS_TABLE = [\r\n// L M Q H\r\n 7, 10, 13, 17,\r\n 10, 16, 22, 28,\r\n 15, 26, 36, 44,\r\n 20, 36, 52, 64,\r\n 26, 48, 72, 88,\r\n 36, 64, 96, 112,\r\n 40, 72, 108, 130,\r\n 48, 88, 132, 156,\r\n 60, 110, 160, 192,\r\n 72, 130, 192, 224,\r\n 80, 150, 224, 264,\r\n 96, 176, 260, 308,\r\n 104, 198, 288, 352,\r\n 120, 216, 320, 384,\r\n 132, 240, 360, 432,\r\n 144, 280, 408, 480,\r\n 168, 308, 448, 532,\r\n 180, 338, 504, 588,\r\n 196, 364, 546, 650,\r\n 224, 416, 600, 700,\r\n 224, 442, 644, 750,\r\n 252, 476, 690, 816,\r\n 270, 504, 750, 900,\r\n 300, 560, 810, 960,\r\n 312, 588, 870, 1050,\r\n 336, 644, 952, 1110,\r\n 360, 700, 1020, 1200,\r\n 390, 728, 1050, 1260,\r\n 420, 784, 1140, 1350,\r\n 450, 812, 1200, 1440,\r\n 480, 868, 1290, 1530,\r\n 510, 924, 1350, 1620,\r\n 540, 980, 1440, 1710,\r\n 570, 1036, 1530, 1800,\r\n 570, 1064, 1590, 1890,\r\n 600, 1120, 1680, 1980,\r\n 630, 1204, 1770, 2100,\r\n 660, 1260, 1860, 2220,\r\n 720, 1316, 1950, 2310,\r\n 750, 1372, 2040, 2430\r\n]\r\n\r\n/**\r\n * Returns the number of error correction block that the QR Code should contain\r\n * for the specified version and error correction level.\r\n *\r\n * @param {Number} version QR Code version\r\n * @param {Number} errorCorrectionLevel Error correction level\r\n * @return {Number} Number of error correction blocks\r\n */\r\nexports.getBlocksCount = function getBlocksCount (version, errorCorrectionLevel) {\r\n switch (errorCorrectionLevel) {\r\n case ECLevel.L:\r\n return EC_BLOCKS_TABLE[(version - 1) * 4 + 0]\r\n case ECLevel.M:\r\n return EC_BLOCKS_TABLE[(version - 1) * 4 + 1]\r\n case ECLevel.Q:\r\n return EC_BLOCKS_TABLE[(version - 1) * 4 + 2]\r\n case ECLevel.H:\r\n return EC_BLOCKS_TABLE[(version - 1) * 4 + 3]\r\n default:\r\n return undefined\r\n }\r\n}\r\n\r\n/**\r\n * Returns the number of error correction codewords to use for the specified\r\n * version and error correction level.\r\n *\r\n * @param {Number} version QR Code version\r\n * @param {Number} errorCorrectionLevel Error correction level\r\n * @return {Number} Number of error correction codewords\r\n */\r\nexports.getTotalCodewordsCount = function getTotalCodewordsCount (version, errorCorrectionLevel) {\r\n switch (errorCorrectionLevel) {\r\n case ECLevel.L:\r\n return EC_CODEWORDS_TABLE[(version - 1) * 4 + 0]\r\n case ECLevel.M:\r\n return EC_CODEWORDS_TABLE[(version - 1) * 4 + 1]\r\n case ECLevel.Q:\r\n return EC_CODEWORDS_TABLE[(version - 1) * 4 + 2]\r\n case ECLevel.H:\r\n return EC_CODEWORDS_TABLE[(version - 1) * 4 + 3]\r\n default:\r\n return undefined\r\n }\r\n}\r\n\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/qrcode/lib/core/error-correction-code.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/qrcode/lib/core/error-correction-level.js":
|
|||
|
/*!****************************************************************!*\
|
|||
|
!*** ./node_modules/qrcode/lib/core/error-correction-level.js ***!
|
|||
|
\****************************************************************/
|
|||
|
/***/ ((__unused_webpack_module, exports) => {
|
|||
|
|
|||
|
eval("exports.L = { bit: 1 }\nexports.M = { bit: 0 }\nexports.Q = { bit: 3 }\nexports.H = { bit: 2 }\n\nfunction fromString (string) {\n if (typeof string !== 'string') {\n throw new Error('Param is not a string')\n }\n\n const lcStr = string.toLowerCase()\n\n switch (lcStr) {\n case 'l':\n case 'low':\n return exports.L\n\n case 'm':\n case 'medium':\n return exports.M\n\n case 'q':\n case 'quartile':\n return exports.Q\n\n case 'h':\n case 'high':\n return exports.H\n\n default:\n throw new Error('Unknown EC Level: ' + string)\n }\n}\n\nexports.isValid = function isValid (level) {\n return level && typeof level.bit !== 'undefined' &&\n level.bit >= 0 && level.bit < 4\n}\n\nexports.from = function from (value, defaultValue) {\n if (exports.isValid(value)) {\n return value\n }\n\n try {\n return fromString(value)\n } catch (e) {\n return defaultValue\n }\n}\n\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/qrcode/lib/core/error-correction-level.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/qrcode/lib/core/finder-pattern.js":
|
|||
|
/*!********************************************************!*\
|
|||
|
!*** ./node_modules/qrcode/lib/core/finder-pattern.js ***!
|
|||
|
\********************************************************/
|
|||
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|||
|
|
|||
|
eval("const getSymbolSize = (__webpack_require__(/*! ./utils */ \"./node_modules/qrcode/lib/core/utils.js\").getSymbolSize)\nconst FINDER_PATTERN_SIZE = 7\n\n/**\n * Returns an array containing the positions of each finder pattern.\n * Each array's element represent the top-left point of the pattern as (x, y) coordinates\n *\n * @param {Number} version QR Code version\n * @return {Array} Array of coordinates\n */\nexports.getPositions = function getPositions (version) {\n const size = getSymbolSize(version)\n\n return [\n // top-left\n [0, 0],\n // top-right\n [size - FINDER_PATTERN_SIZE, 0],\n // bottom-left\n [0, size - FINDER_PATTERN_SIZE]\n ]\n}\n\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/qrcode/lib/core/finder-pattern.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/qrcode/lib/core/format-info.js":
|
|||
|
/*!*****************************************************!*\
|
|||
|
!*** ./node_modules/qrcode/lib/core/format-info.js ***!
|
|||
|
\*****************************************************/
|
|||
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|||
|
|
|||
|
eval("const Utils = __webpack_require__(/*! ./utils */ \"./node_modules/qrcode/lib/core/utils.js\")\n\nconst G15 = (1 << 10) | (1 << 8) | (1 << 5) | (1 << 4) | (1 << 2) | (1 << 1) | (1 << 0)\nconst G15_MASK = (1 << 14) | (1 << 12) | (1 << 10) | (1 << 4) | (1 << 1)\nconst G15_BCH = Utils.getBCHDigit(G15)\n\n/**\n * Returns format information with relative error correction bits\n *\n * The format information is a 15-bit sequence containing 5 data bits,\n * with 10 error correction bits calculated using the (15, 5) BCH code.\n *\n * @param {Number} errorCorrectionLevel Error correction level\n * @param {Number} mask Mask pattern\n * @return {Number} Encoded format information bits\n */\nexports.getEncodedBits = function getEncodedBits (errorCorrectionLevel, mask) {\n const data = ((errorCorrectionLevel.bit << 3) | mask)\n let d = data << 10\n\n while (Utils.getBCHDigit(d) - G15_BCH >= 0) {\n d ^= (G15 << (Utils.getBCHDigit(d) - G15_BCH))\n }\n\n // xor final data with mask pattern in order to ensure that\n // no combination of Error Correction Level and data mask pattern\n // will result in an all-zero data string\n return ((data << 10) | d) ^ G15_MASK\n}\n\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/qrcode/lib/core/format-info.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/qrcode/lib/core/galois-field.js":
|
|||
|
/*!******************************************************!*\
|
|||
|
!*** ./node_modules/qrcode/lib/core/galois-field.js ***!
|
|||
|
\******************************************************/
|
|||
|
/***/ ((__unused_webpack_module, exports) => {
|
|||
|
|
|||
|
eval("const EXP_TABLE = new Uint8Array(512)\nconst LOG_TABLE = new Uint8Array(256)\n/**\n * Precompute the log and anti-log tables for faster computation later\n *\n * For each possible value in the galois field 2^8, we will pre-compute\n * the logarithm and anti-logarithm (exponential) of this value\n *\n * ref {@link https://en.wikiversity.org/wiki/Reed%E2%80%93Solomon_codes_for_coders#Introduction_to_mathematical_fields}\n */\n;(function initTables () {\n let x = 1\n for (let i = 0; i < 255; i++) {\n EXP_TABLE[i] = x\n LOG_TABLE[x] = i\n\n x <<= 1 // multiply by 2\n\n // The QR code specification says to use byte-wise modulo 100011101 arithmetic.\n // This means that when a number is 256 or larger, it should be XORed with 0x11D.\n if (x & 0x100) { // similar to x >= 256, but a lot faster (because 0x100 == 256)\n x ^= 0x11D\n }\n }\n\n // Optimization: double the size of the anti-log table so that we don't need to mod 255 to\n // stay inside the bounds (because we will mainly use this table for the multiplication of\n // two GF numbers, no more).\n // @see {@link mul}\n for (let i = 255; i < 512; i++) {\n EXP_TABLE[i] = EXP_TABLE[i - 255]\n }\n}())\n\n/**\n * Returns log value of n inside Galois Field\n *\n * @param {Number} n\n * @return {Number}\n */\nexports.log = function log (n) {\n if (n < 1) throw new Error('log(' + n + ')')\n return LOG_TABLE[n]\n}\n\n/**\n * Returns anti-log value of n inside Galois Field\n *\n * @param {Number} n\n * @return {Number}\n */\nexports.exp = function exp (n) {\n return EXP_TABLE[n]\n}\n\n/**\n * Multiplies two number inside Galois Field\n *\n * @param {Number} x\n * @param {Number} y\n * @return {Number}\n */\nexports.mul = function mul (x, y) {\n if (x === 0 || y === 0) return 0\n\n // should be EXP_TABLE[(LOG_TABLE[x] + LOG_TABLE[y]) % 255] if EXP_TABLE wasn't oversized\n // @see {@link initTables}\n return EXP_TABLE[LOG_TABLE[x] + LOG_TABLE[y]]\n}\n\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/qrcode/lib/core/galois-field.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/qrcode/lib/core/kanji-data.js":
|
|||
|
/*!****************************************************!*\
|
|||
|
!*** ./node_modules/qrcode/lib/core/kanji-data.js ***!
|
|||
|
\****************************************************/
|
|||
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|||
|
|
|||
|
eval("const Mode = __webpack_require__(/*! ./mode */ \"./node_modules/qrcode/lib/core/mode.js\")\nconst Utils = __webpack_require__(/*! ./utils */ \"./node_modules/qrcode/lib/core/utils.js\")\n\nfunction KanjiData (data) {\n this.mode = Mode.KANJI\n this.data = data\n}\n\nKanjiData.getBitsLength = function getBitsLength (length) {\n return length * 13\n}\n\nKanjiData.prototype.getLength = function getLength () {\n return this.data.length\n}\n\nKanjiData.prototype.getBitsLength = function getBitsLength () {\n return KanjiData.getBitsLength(this.data.length)\n}\n\nKanjiData.prototype.write = function (bitBuffer) {\n let i\n\n // In the Shift JIS system, Kanji characters are represented by a two byte combination.\n // These byte values are shifted from the JIS X 0208 values.\n // JIS X 0208 gives details of the shift coded representation.\n for (i = 0; i < this.data.length; i++) {\n let value = Utils.toSJIS(this.data[i])\n\n // For characters with Shift JIS values from 0x8140 to 0x9FFC:\n if (value >= 0x8140 && value <= 0x9FFC) {\n // Subtract 0x8140 from Shift JIS value\n value -= 0x8140\n\n // For characters with Shift JIS values from 0xE040 to 0xEBBF\n } else if (value >= 0xE040 && value <= 0xEBBF) {\n // Subtract 0xC140 from Shift JIS value\n value -= 0xC140\n } else {\n throw new Error(\n 'Invalid SJIS character: ' + this.data[i] + '\\n' +\n 'Make sure your charset is UTF-8')\n }\n\n // Multiply most significant byte of result by 0xC0\n // and add least significant byte to product\n value = (((value >>> 8) & 0xff) * 0xC0) + (value & 0xff)\n\n // Convert result to a 13-bit binary string\n bitBuffer.put(value, 13)\n }\n}\n\nmodule.exports = KanjiData\n\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/qrcode/lib/core/kanji-data.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/qrcode/lib/core/mask-pattern.js":
|
|||
|
/*!******************************************************!*\
|
|||
|
!*** ./node_modules/qrcode/lib/core/mask-pattern.js ***!
|
|||
|
\******************************************************/
|
|||
|
/***/ ((__unused_webpack_module, exports) => {
|
|||
|
|
|||
|
eval("/**\n * Data mask pattern reference\n * @type {Object}\n */\nexports.Patterns = {\n PATTERN000: 0,\n PATTERN001: 1,\n PATTERN010: 2,\n PATTERN011: 3,\n PATTERN100: 4,\n PATTERN101: 5,\n PATTERN110: 6,\n PATTERN111: 7\n}\n\n/**\n * Weighted penalty scores for the undesirable features\n * @type {Object}\n */\nconst PenaltyScores = {\n N1: 3,\n N2: 3,\n N3: 40,\n N4: 10\n}\n\n/**\n * Check if mask pattern value is valid\n *\n * @param {Number} mask Mask pattern\n * @return {Boolean} true if valid, false otherwise\n */\nexports.isValid = function isValid (mask) {\n return mask != null && mask !== '' && !isNaN(mask) && mask >= 0 && mask <= 7\n}\n\n/**\n * Returns mask pattern from a value.\n * If value is not valid, returns undefined\n *\n * @param {Number|String} value Mask pattern value\n * @return {Number} Valid mask pattern or undefined\n */\nexports.from = function from (value) {\n return exports.isValid(value) ? parseInt(value, 10) : undefined\n}\n\n/**\n* Find adjacent modules in row/column with the same color\n* and assign a penalty value.\n*\n* Points: N1 + i\n* i is the amount by which the number of adjacent modules of the same color exceeds 5\n*/\nexports.getPenaltyN1 = function getPenaltyN1 (data) {\n const size = data.size\n let points = 0\n let sameCountCol = 0\n let sameCountRow = 0\n let lastCol = null\n let lastRow = null\n\n for (let row = 0; row < size; row++) {\n sameCountCol = sameCountRow = 0\n lastCol = lastRow = null\n\n for (let col = 0; col < size; col++) {\n let module = data.get(row, col)\n if (module === lastCol) {\n sameCountCol++\n } else {\n if (sameCountCol >= 5) points += PenaltyScores.N1 + (sameCountCol - 5)\n lastCol = module\n sameCountCol = 1\n }\n\n module = data.get(col, row)\n if (module === lastRow) {\n sameCountRow++\n } else {\n if (sameCountRow >= 5) points += PenaltyScores.N1 + (sameCountRow - 5)\n lastRow = module\n sameCountRow = 1\n }\n }\n\n if (sameCountCol >= 5) points += PenaltyScores.N1 + (sameCountCol - 5)\n if (sameCountRow >= 5) points += PenaltyScores.N1 + (sameCountRow - 5)\n }\n\n return points\n}\n\n/**\n * Find 2x2 blocks with the same color and assign a penalty value\n *\n * Points: N2 * (m - 1) * (n - 1)\n */\nexports.getPenaltyN2 = function getPenaltyN2 (data) {\n const size = data.size\n let points = 0\n\n for (let row = 0; row < size - 1; row++) {\n for (let col = 0; col < size - 1; col++) {\n const last = data.get(row, col) +\n data.get(row, col + 1) +\n data.get(row + 1, col) +\n data.get(row + 1, col + 1)\n\n if (last === 4 || last === 0) points++\n }\n }\n\n return points * PenaltyScores.N2\n}\n\n/**\n * Find 1:1:3:1:1 ratio (dark:light:dark:light:dark) pattern in row/column,\n * preceded or followed by light area 4 modules wide\n *\n * Points: N3 * number of pattern found\n */\nexports.getPenaltyN3 = function getPenaltyN3 (data) {\n const size = data.size\n let points = 0\n let bitsCol = 0\n let bitsRow = 0\n\n for (let row = 0; row < size; row++) {\n bitsCol = bitsRow = 0\n for (let col = 0; col < size; col++) {\n bitsCol = ((bitsCol << 1) & 0x7FF) | data.get(row, col)\n if (col >= 10 && (bitsCol === 0x5D0 || bitsCol === 0x05D)) points++\n\n bitsRow = ((bitsRow << 1) & 0x7FF) | data.get(col, row)\n if (col >= 10 && (bitsRow === 0x5D0 || bitsRow === 0x05D)) points++\n }\n }\n\n return points * PenaltyScores.N3\n}\n\n/**\n * Calculate proportion of dark modules in entire symbol\n *\n * Points: N4 * k\n *\n * k is the rating of the deviation of the proportion of dark modules\n * in the symbol from 50% in steps of 5%\n */\nexports.getPenaltyN4 = function getPenaltyN4 (data) {\n let darkCount = 0\n const modulesCount = data.data.length\n\n for (let i = 0; i < modulesCount; i++) darkCount += data.data[i]\n\n const k = Math.abs(Math.ceil((darkCount * 100 / modulesCount) / 5) - 10)\n\n return k * Pe
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/qrcode/lib/core/mode.js":
|
|||
|
/*!**********************************************!*\
|
|||
|
!*** ./node_modules/qrcode/lib/core/mode.js ***!
|
|||
|
\**********************************************/
|
|||
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|||
|
|
|||
|
eval("const VersionCheck = __webpack_require__(/*! ./version-check */ \"./node_modules/qrcode/lib/core/version-check.js\")\nconst Regex = __webpack_require__(/*! ./regex */ \"./node_modules/qrcode/lib/core/regex.js\")\n\n/**\n * Numeric mode encodes data from the decimal digit set (0 - 9)\n * (byte values 30HEX to 39HEX).\n * Normally, 3 data characters are represented by 10 bits.\n *\n * @type {Object}\n */\nexports.NUMERIC = {\n id: 'Numeric',\n bit: 1 << 0,\n ccBits: [10, 12, 14]\n}\n\n/**\n * Alphanumeric mode encodes data from a set of 45 characters,\n * i.e. 10 numeric digits (0 - 9),\n * 26 alphabetic characters (A - Z),\n * and 9 symbols (SP, $, %, *, +, -, ., /, :).\n * Normally, two input characters are represented by 11 bits.\n *\n * @type {Object}\n */\nexports.ALPHANUMERIC = {\n id: 'Alphanumeric',\n bit: 1 << 1,\n ccBits: [9, 11, 13]\n}\n\n/**\n * In byte mode, data is encoded at 8 bits per character.\n *\n * @type {Object}\n */\nexports.BYTE = {\n id: 'Byte',\n bit: 1 << 2,\n ccBits: [8, 16, 16]\n}\n\n/**\n * The Kanji mode efficiently encodes Kanji characters in accordance with\n * the Shift JIS system based on JIS X 0208.\n * The Shift JIS values are shifted from the JIS X 0208 values.\n * JIS X 0208 gives details of the shift coded representation.\n * Each two-byte character value is compacted to a 13-bit binary codeword.\n *\n * @type {Object}\n */\nexports.KANJI = {\n id: 'Kanji',\n bit: 1 << 3,\n ccBits: [8, 10, 12]\n}\n\n/**\n * Mixed mode will contain a sequences of data in a combination of any of\n * the modes described above\n *\n * @type {Object}\n */\nexports.MIXED = {\n bit: -1\n}\n\n/**\n * Returns the number of bits needed to store the data length\n * according to QR Code specifications.\n *\n * @param {Mode} mode Data mode\n * @param {Number} version QR Code version\n * @return {Number} Number of bits\n */\nexports.getCharCountIndicator = function getCharCountIndicator (mode, version) {\n if (!mode.ccBits) throw new Error('Invalid mode: ' + mode)\n\n if (!VersionCheck.isValid(version)) {\n throw new Error('Invalid version: ' + version)\n }\n\n if (version >= 1 && version < 10) return mode.ccBits[0]\n else if (version < 27) return mode.ccBits[1]\n return mode.ccBits[2]\n}\n\n/**\n * Returns the most efficient mode to store the specified data\n *\n * @param {String} dataStr Input data string\n * @return {Mode} Best mode\n */\nexports.getBestModeForData = function getBestModeForData (dataStr) {\n if (Regex.testNumeric(dataStr)) return exports.NUMERIC\n else if (Regex.testAlphanumeric(dataStr)) return exports.ALPHANUMERIC\n else if (Regex.testKanji(dataStr)) return exports.KANJI\n else return exports.BYTE\n}\n\n/**\n * Return mode name as string\n *\n * @param {Mode} mode Mode object\n * @returns {String} Mode name\n */\nexports.toString = function toString (mode) {\n if (mode && mode.id) return mode.id\n throw new Error('Invalid mode')\n}\n\n/**\n * Check if input param is a valid mode object\n *\n * @param {Mode} mode Mode object\n * @returns {Boolean} True if valid mode, false otherwise\n */\nexports.isValid = function isValid (mode) {\n return mode && mode.bit && mode.ccBits\n}\n\n/**\n * Get mode object from its name\n *\n * @param {String} string Mode name\n * @returns {Mode} Mode object\n */\nfunction fromString (string) {\n if (typeof string !== 'string') {\n throw new Error('Param is not a string')\n }\n\n const lcStr = string.toLowerCase()\n\n switch (lcStr) {\n case 'numeric':\n return exports.NUMERIC\n case 'alphanumeric':\n return exports.ALPHANUMERIC\n case 'kanji':\n return exports.KANJI\n case 'byte':\n return exports.BYTE\n default:\n throw new Error('Unknown mode: ' + string)\n }\n}\n\n/**\n * Returns mode from a value.\n * If value is not a valid mode, returns defaultValue\n *\n * @param {Mode|String} value Encoding mode\n * @param {Mode} defaultValue Fallback value\n * @return {Mode} Encoding mode\n */\nexports.fr
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/qrcode/lib/core/numeric-data.js":
|
|||
|
/*!******************************************************!*\
|
|||
|
!*** ./node_modules/qrcode/lib/core/numeric-data.js ***!
|
|||
|
\******************************************************/
|
|||
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|||
|
|
|||
|
eval("const Mode = __webpack_require__(/*! ./mode */ \"./node_modules/qrcode/lib/core/mode.js\")\n\nfunction NumericData (data) {\n this.mode = Mode.NUMERIC\n this.data = data.toString()\n}\n\nNumericData.getBitsLength = function getBitsLength (length) {\n return 10 * Math.floor(length / 3) + ((length % 3) ? ((length % 3) * 3 + 1) : 0)\n}\n\nNumericData.prototype.getLength = function getLength () {\n return this.data.length\n}\n\nNumericData.prototype.getBitsLength = function getBitsLength () {\n return NumericData.getBitsLength(this.data.length)\n}\n\nNumericData.prototype.write = function write (bitBuffer) {\n let i, group, value\n\n // The input data string is divided into groups of three digits,\n // and each group is converted to its 10-bit binary equivalent.\n for (i = 0; i + 3 <= this.data.length; i += 3) {\n group = this.data.substr(i, 3)\n value = parseInt(group, 10)\n\n bitBuffer.put(value, 10)\n }\n\n // If the number of input digits is not an exact multiple of three,\n // the final one or two digits are converted to 4 or 7 bits respectively.\n const remainingNum = this.data.length - i\n if (remainingNum > 0) {\n group = this.data.substr(i)\n value = parseInt(group, 10)\n\n bitBuffer.put(value, remainingNum * 3 + 1)\n }\n}\n\nmodule.exports = NumericData\n\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/qrcode/lib/core/numeric-data.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/qrcode/lib/core/polynomial.js":
|
|||
|
/*!****************************************************!*\
|
|||
|
!*** ./node_modules/qrcode/lib/core/polynomial.js ***!
|
|||
|
\****************************************************/
|
|||
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|||
|
|
|||
|
eval("const GF = __webpack_require__(/*! ./galois-field */ \"./node_modules/qrcode/lib/core/galois-field.js\")\n\n/**\n * Multiplies two polynomials inside Galois Field\n *\n * @param {Uint8Array} p1 Polynomial\n * @param {Uint8Array} p2 Polynomial\n * @return {Uint8Array} Product of p1 and p2\n */\nexports.mul = function mul (p1, p2) {\n const coeff = new Uint8Array(p1.length + p2.length - 1)\n\n for (let i = 0; i < p1.length; i++) {\n for (let j = 0; j < p2.length; j++) {\n coeff[i + j] ^= GF.mul(p1[i], p2[j])\n }\n }\n\n return coeff\n}\n\n/**\n * Calculate the remainder of polynomials division\n *\n * @param {Uint8Array} divident Polynomial\n * @param {Uint8Array} divisor Polynomial\n * @return {Uint8Array} Remainder\n */\nexports.mod = function mod (divident, divisor) {\n let result = new Uint8Array(divident)\n\n while ((result.length - divisor.length) >= 0) {\n const coeff = result[0]\n\n for (let i = 0; i < divisor.length; i++) {\n result[i] ^= GF.mul(divisor[i], coeff)\n }\n\n // remove all zeros from buffer head\n let offset = 0\n while (offset < result.length && result[offset] === 0) offset++\n result = result.slice(offset)\n }\n\n return result\n}\n\n/**\n * Generate an irreducible generator polynomial of specified degree\n * (used by Reed-Solomon encoder)\n *\n * @param {Number} degree Degree of the generator polynomial\n * @return {Uint8Array} Buffer containing polynomial coefficients\n */\nexports.generateECPolynomial = function generateECPolynomial (degree) {\n let poly = new Uint8Array([1])\n for (let i = 0; i < degree; i++) {\n poly = exports.mul(poly, new Uint8Array([1, GF.exp(i)]))\n }\n\n return poly\n}\n\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/qrcode/lib/core/polynomial.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/qrcode/lib/core/qrcode.js":
|
|||
|
/*!************************************************!*\
|
|||
|
!*** ./node_modules/qrcode/lib/core/qrcode.js ***!
|
|||
|
\************************************************/
|
|||
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|||
|
|
|||
|
eval("const Utils = __webpack_require__(/*! ./utils */ \"./node_modules/qrcode/lib/core/utils.js\")\nconst ECLevel = __webpack_require__(/*! ./error-correction-level */ \"./node_modules/qrcode/lib/core/error-correction-level.js\")\nconst BitBuffer = __webpack_require__(/*! ./bit-buffer */ \"./node_modules/qrcode/lib/core/bit-buffer.js\")\nconst BitMatrix = __webpack_require__(/*! ./bit-matrix */ \"./node_modules/qrcode/lib/core/bit-matrix.js\")\nconst AlignmentPattern = __webpack_require__(/*! ./alignment-pattern */ \"./node_modules/qrcode/lib/core/alignment-pattern.js\")\nconst FinderPattern = __webpack_require__(/*! ./finder-pattern */ \"./node_modules/qrcode/lib/core/finder-pattern.js\")\nconst MaskPattern = __webpack_require__(/*! ./mask-pattern */ \"./node_modules/qrcode/lib/core/mask-pattern.js\")\nconst ECCode = __webpack_require__(/*! ./error-correction-code */ \"./node_modules/qrcode/lib/core/error-correction-code.js\")\nconst ReedSolomonEncoder = __webpack_require__(/*! ./reed-solomon-encoder */ \"./node_modules/qrcode/lib/core/reed-solomon-encoder.js\")\nconst Version = __webpack_require__(/*! ./version */ \"./node_modules/qrcode/lib/core/version.js\")\nconst FormatInfo = __webpack_require__(/*! ./format-info */ \"./node_modules/qrcode/lib/core/format-info.js\")\nconst Mode = __webpack_require__(/*! ./mode */ \"./node_modules/qrcode/lib/core/mode.js\")\nconst Segments = __webpack_require__(/*! ./segments */ \"./node_modules/qrcode/lib/core/segments.js\")\n\n/**\n * QRCode for JavaScript\n *\n * modified by Ryan Day for nodejs support\n * Copyright (c) 2011 Ryan Day\n *\n * Licensed under the MIT license:\n * http://www.opensource.org/licenses/mit-license.php\n *\n//---------------------------------------------------------------------\n// QRCode for JavaScript\n//\n// Copyright (c) 2009 Kazuhiko Arase\n//\n// URL: http://www.d-project.com/\n//\n// Licensed under the MIT license:\n// http://www.opensource.org/licenses/mit-license.php\n//\n// The word \"QR Code\" is registered trademark of\n// DENSO WAVE INCORPORATED\n// http://www.denso-wave.com/qrcode/faqpatent-e.html\n//\n//---------------------------------------------------------------------\n*/\n\n/**\n * Add finder patterns bits to matrix\n *\n * @param {BitMatrix} matrix Modules matrix\n * @param {Number} version QR Code version\n */\nfunction setupFinderPattern (matrix, version) {\n const size = matrix.size\n const pos = FinderPattern.getPositions(version)\n\n for (let i = 0; i < pos.length; i++) {\n const row = pos[i][0]\n const col = pos[i][1]\n\n for (let r = -1; r <= 7; r++) {\n if (row + r <= -1 || size <= row + r) continue\n\n for (let c = -1; c <= 7; c++) {\n if (col + c <= -1 || size <= col + c) continue\n\n if ((r >= 0 && r <= 6 && (c === 0 || c === 6)) ||\n (c >= 0 && c <= 6 && (r === 0 || r === 6)) ||\n (r >= 2 && r <= 4 && c >= 2 && c <= 4)) {\n matrix.set(row + r, col + c, true, true)\n } else {\n matrix.set(row + r, col + c, false, true)\n }\n }\n }\n }\n}\n\n/**\n * Add timing pattern bits to matrix\n *\n * Note: this function must be called before {@link setupAlignmentPattern}\n *\n * @param {BitMatrix} matrix Modules matrix\n */\nfunction setupTimingPattern (matrix) {\n const size = matrix.size\n\n for (let r = 8; r < size - 8; r++) {\n const value = r % 2 === 0\n matrix.set(r, 6, value, true)\n matrix.set(6, r, value, true)\n }\n}\n\n/**\n * Add alignment patterns bits to matrix\n *\n * Note: this function must be called after {@link setupTimingPattern}\n *\n * @param {BitMatrix} matrix Modules matrix\n * @param {Number} version QR Code version\n */\nfunction setupAlignmentPattern (matrix, version) {\n const pos = AlignmentPattern.getPositions(version)\n\n for (let i = 0; i < pos.length; i++) {\n const row = pos[i][0]\n const col = pos[i][1]\n\n for (let r = -2; r <= 2; r++) {\n for (let c = -2; c <= 2; c++) {\n if (r === -2 || r === 2 || c === -2 || c === 2 ||\n (r === 0 && c ===
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/qrcode/lib/core/reed-solomon-encoder.js":
|
|||
|
/*!**************************************************************!*\
|
|||
|
!*** ./node_modules/qrcode/lib/core/reed-solomon-encoder.js ***!
|
|||
|
\**************************************************************/
|
|||
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|||
|
|
|||
|
eval("const Polynomial = __webpack_require__(/*! ./polynomial */ \"./node_modules/qrcode/lib/core/polynomial.js\")\n\nfunction ReedSolomonEncoder (degree) {\n this.genPoly = undefined\n this.degree = degree\n\n if (this.degree) this.initialize(this.degree)\n}\n\n/**\n * Initialize the encoder.\n * The input param should correspond to the number of error correction codewords.\n *\n * @param {Number} degree\n */\nReedSolomonEncoder.prototype.initialize = function initialize (degree) {\n // create an irreducible generator polynomial\n this.degree = degree\n this.genPoly = Polynomial.generateECPolynomial(this.degree)\n}\n\n/**\n * Encodes a chunk of data\n *\n * @param {Uint8Array} data Buffer containing input data\n * @return {Uint8Array} Buffer containing encoded data\n */\nReedSolomonEncoder.prototype.encode = function encode (data) {\n if (!this.genPoly) {\n throw new Error('Encoder not initialized')\n }\n\n // Calculate EC for this data block\n // extends data size to data+genPoly size\n const paddedData = new Uint8Array(data.length + this.degree)\n paddedData.set(data)\n\n // The error correction codewords are the remainder after dividing the data codewords\n // by a generator polynomial\n const remainder = Polynomial.mod(paddedData, this.genPoly)\n\n // return EC data blocks (last n byte, where n is the degree of genPoly)\n // If coefficients number in remainder are less than genPoly degree,\n // pad with 0s to the left to reach the needed number of coefficients\n const start = this.degree - remainder.length\n if (start > 0) {\n const buff = new Uint8Array(this.degree)\n buff.set(remainder, start)\n\n return buff\n }\n\n return remainder\n}\n\nmodule.exports = ReedSolomonEncoder\n\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/qrcode/lib/core/reed-solomon-encoder.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/qrcode/lib/core/regex.js":
|
|||
|
/*!***********************************************!*\
|
|||
|
!*** ./node_modules/qrcode/lib/core/regex.js ***!
|
|||
|
\***********************************************/
|
|||
|
/***/ ((__unused_webpack_module, exports) => {
|
|||
|
|
|||
|
eval("const numeric = '[0-9]+'\nconst alphanumeric = '[A-Z $%*+\\\\-./:]+'\nlet kanji = '(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|' +\n '[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|' +\n '[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|' +\n '[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+'\nkanji = kanji.replace(/u/g, '\\\\u')\n\nconst byte = '(?:(?![A-Z0-9 $%*+\\\\-./:]|' + kanji + ')(?:.|[\\r\\n]))+'\n\nexports.KANJI = new RegExp(kanji, 'g')\nexports.BYTE_KANJI = new RegExp('[^A-Z0-9 $%*+\\\\-./:]+', 'g')\nexports.BYTE = new RegExp(byte, 'g')\nexports.NUMERIC = new RegExp(numeric, 'g')\nexports.ALPHANUMERIC = new RegExp(alphanumeric, 'g')\n\nconst TEST_KANJI = new RegExp('^' + kanji + '$')\nconst TEST_NUMERIC = new RegExp('^' + numeric + '$')\nconst TEST_ALPHANUMERIC = new RegExp('^[A-Z0-9 $%*+\\\\-./:]+$')\n\nexports.testKanji = function testKanji (str) {\n return TEST_KANJI.test(str)\n}\n\nexports.testNumeric = function testNumeric (str) {\n return TEST_NUMERIC.test(str)\n}\n\nexports.testAlphanumeric = function testAlphanumeric (str) {\n return TEST_ALPHANUMERIC.test(str)\n}\n\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/qrcode/lib/core/regex.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/qrcode/lib/core/segments.js":
|
|||
|
/*!**************************************************!*\
|
|||
|
!*** ./node_modules/qrcode/lib/core/segments.js ***!
|
|||
|
\**************************************************/
|
|||
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|||
|
|
|||
|
eval("const Mode = __webpack_require__(/*! ./mode */ \"./node_modules/qrcode/lib/core/mode.js\")\nconst NumericData = __webpack_require__(/*! ./numeric-data */ \"./node_modules/qrcode/lib/core/numeric-data.js\")\nconst AlphanumericData = __webpack_require__(/*! ./alphanumeric-data */ \"./node_modules/qrcode/lib/core/alphanumeric-data.js\")\nconst ByteData = __webpack_require__(/*! ./byte-data */ \"./node_modules/qrcode/lib/core/byte-data.js\")\nconst KanjiData = __webpack_require__(/*! ./kanji-data */ \"./node_modules/qrcode/lib/core/kanji-data.js\")\nconst Regex = __webpack_require__(/*! ./regex */ \"./node_modules/qrcode/lib/core/regex.js\")\nconst Utils = __webpack_require__(/*! ./utils */ \"./node_modules/qrcode/lib/core/utils.js\")\nconst dijkstra = __webpack_require__(/*! dijkstrajs */ \"./node_modules/dijkstrajs/dijkstra.js\")\n\n/**\n * Returns UTF8 byte length\n *\n * @param {String} str Input string\n * @return {Number} Number of byte\n */\nfunction getStringByteLength (str) {\n return unescape(encodeURIComponent(str)).length\n}\n\n/**\n * Get a list of segments of the specified mode\n * from a string\n *\n * @param {Mode} mode Segment mode\n * @param {String} str String to process\n * @return {Array} Array of object with segments data\n */\nfunction getSegments (regex, mode, str) {\n const segments = []\n let result\n\n while ((result = regex.exec(str)) !== null) {\n segments.push({\n data: result[0],\n index: result.index,\n mode: mode,\n length: result[0].length\n })\n }\n\n return segments\n}\n\n/**\n * Extracts a series of segments with the appropriate\n * modes from a string\n *\n * @param {String} dataStr Input string\n * @return {Array} Array of object with segments data\n */\nfunction getSegmentsFromString (dataStr) {\n const numSegs = getSegments(Regex.NUMERIC, Mode.NUMERIC, dataStr)\n const alphaNumSegs = getSegments(Regex.ALPHANUMERIC, Mode.ALPHANUMERIC, dataStr)\n let byteSegs\n let kanjiSegs\n\n if (Utils.isKanjiModeEnabled()) {\n byteSegs = getSegments(Regex.BYTE, Mode.BYTE, dataStr)\n kanjiSegs = getSegments(Regex.KANJI, Mode.KANJI, dataStr)\n } else {\n byteSegs = getSegments(Regex.BYTE_KANJI, Mode.BYTE, dataStr)\n kanjiSegs = []\n }\n\n const segs = numSegs.concat(alphaNumSegs, byteSegs, kanjiSegs)\n\n return segs\n .sort(function (s1, s2) {\n return s1.index - s2.index\n })\n .map(function (obj) {\n return {\n data: obj.data,\n mode: obj.mode,\n length: obj.length\n }\n })\n}\n\n/**\n * Returns how many bits are needed to encode a string of\n * specified length with the specified mode\n *\n * @param {Number} length String length\n * @param {Mode} mode Segment mode\n * @return {Number} Bit length\n */\nfunction getSegmentBitsLength (length, mode) {\n switch (mode) {\n case Mode.NUMERIC:\n return NumericData.getBitsLength(length)\n case Mode.ALPHANUMERIC:\n return AlphanumericData.getBitsLength(length)\n case Mode.KANJI:\n return KanjiData.getBitsLength(length)\n case Mode.BYTE:\n return ByteData.getBitsLength(length)\n }\n}\n\n/**\n * Merges adjacent segments which have the same mode\n *\n * @param {Array} segs Array of object with segments data\n * @return {Array} Array of object with segments data\n */\nfunction mergeSegments (segs) {\n return segs.reduce(function (acc, curr) {\n const prevSeg = acc.length - 1 >= 0 ? acc[acc.length - 1] : null\n if (prevSeg && prevSeg.mode === curr.mode) {\n acc[acc.length - 1].data += curr.data\n return acc\n }\n\n acc.push(curr)\n return acc\n }, [])\n}\n\n/**\n * Generates a list of all possible nodes combination which\n * will be used to build a segments graph.\n *\n * Nodes are divided by groups. Each group will contain a list of all the modes\n * in which is possible to encode the given text.\n *\n * For example the text '12345' can be encoded as Numeric, Alphanumeric or Byte.\n * The group for '12345' will contain then 3 objects, one for each\n *
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/qrcode/lib/core/utils.js":
|
|||
|
/*!***********************************************!*\
|
|||
|
!*** ./node_modules/qrcode/lib/core/utils.js ***!
|
|||
|
\***********************************************/
|
|||
|
/***/ ((__unused_webpack_module, exports) => {
|
|||
|
|
|||
|
eval("let toSJISFunction\nconst CODEWORDS_COUNT = [\n 0, // Not used\n 26, 44, 70, 100, 134, 172, 196, 242, 292, 346,\n 404, 466, 532, 581, 655, 733, 815, 901, 991, 1085,\n 1156, 1258, 1364, 1474, 1588, 1706, 1828, 1921, 2051, 2185,\n 2323, 2465, 2611, 2761, 2876, 3034, 3196, 3362, 3532, 3706\n]\n\n/**\n * Returns the QR Code size for the specified version\n *\n * @param {Number} version QR Code version\n * @return {Number} size of QR code\n */\nexports.getSymbolSize = function getSymbolSize (version) {\n if (!version) throw new Error('\"version\" cannot be null or undefined')\n if (version < 1 || version > 40) throw new Error('\"version\" should be in range from 1 to 40')\n return version * 4 + 17\n}\n\n/**\n * Returns the total number of codewords used to store data and EC information.\n *\n * @param {Number} version QR Code version\n * @return {Number} Data length in bits\n */\nexports.getSymbolTotalCodewords = function getSymbolTotalCodewords (version) {\n return CODEWORDS_COUNT[version]\n}\n\n/**\n * Encode data with Bose-Chaudhuri-Hocquenghem\n *\n * @param {Number} data Value to encode\n * @return {Number} Encoded value\n */\nexports.getBCHDigit = function (data) {\n let digit = 0\n\n while (data !== 0) {\n digit++\n data >>>= 1\n }\n\n return digit\n}\n\nexports.setToSJISFunction = function setToSJISFunction (f) {\n if (typeof f !== 'function') {\n throw new Error('\"toSJISFunc\" is not a valid function.')\n }\n\n toSJISFunction = f\n}\n\nexports.isKanjiModeEnabled = function () {\n return typeof toSJISFunction !== 'undefined'\n}\n\nexports.toSJIS = function toSJIS (kanji) {\n return toSJISFunction(kanji)\n}\n\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/qrcode/lib/core/utils.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/qrcode/lib/core/version-check.js":
|
|||
|
/*!*******************************************************!*\
|
|||
|
!*** ./node_modules/qrcode/lib/core/version-check.js ***!
|
|||
|
\*******************************************************/
|
|||
|
/***/ ((__unused_webpack_module, exports) => {
|
|||
|
|
|||
|
eval("/**\n * Check if QR Code version is valid\n *\n * @param {Number} version QR Code version\n * @return {Boolean} true if valid version, false otherwise\n */\nexports.isValid = function isValid (version) {\n return !isNaN(version) && version >= 1 && version <= 40\n}\n\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/qrcode/lib/core/version-check.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/qrcode/lib/core/version.js":
|
|||
|
/*!*************************************************!*\
|
|||
|
!*** ./node_modules/qrcode/lib/core/version.js ***!
|
|||
|
\*************************************************/
|
|||
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|||
|
|
|||
|
eval("const Utils = __webpack_require__(/*! ./utils */ \"./node_modules/qrcode/lib/core/utils.js\")\nconst ECCode = __webpack_require__(/*! ./error-correction-code */ \"./node_modules/qrcode/lib/core/error-correction-code.js\")\nconst ECLevel = __webpack_require__(/*! ./error-correction-level */ \"./node_modules/qrcode/lib/core/error-correction-level.js\")\nconst Mode = __webpack_require__(/*! ./mode */ \"./node_modules/qrcode/lib/core/mode.js\")\nconst VersionCheck = __webpack_require__(/*! ./version-check */ \"./node_modules/qrcode/lib/core/version-check.js\")\n\n// Generator polynomial used to encode version information\nconst G18 = (1 << 12) | (1 << 11) | (1 << 10) | (1 << 9) | (1 << 8) | (1 << 5) | (1 << 2) | (1 << 0)\nconst G18_BCH = Utils.getBCHDigit(G18)\n\nfunction getBestVersionForDataLength (mode, length, errorCorrectionLevel) {\n for (let currentVersion = 1; currentVersion <= 40; currentVersion++) {\n if (length <= exports.getCapacity(currentVersion, errorCorrectionLevel, mode)) {\n return currentVersion\n }\n }\n\n return undefined\n}\n\nfunction getReservedBitsCount (mode, version) {\n // Character count indicator + mode indicator bits\n return Mode.getCharCountIndicator(mode, version) + 4\n}\n\nfunction getTotalBitsFromDataArray (segments, version) {\n let totalBits = 0\n\n segments.forEach(function (data) {\n const reservedBits = getReservedBitsCount(data.mode, version)\n totalBits += reservedBits + data.getBitsLength()\n })\n\n return totalBits\n}\n\nfunction getBestVersionForMixedData (segments, errorCorrectionLevel) {\n for (let currentVersion = 1; currentVersion <= 40; currentVersion++) {\n const length = getTotalBitsFromDataArray(segments, currentVersion)\n if (length <= exports.getCapacity(currentVersion, errorCorrectionLevel, Mode.MIXED)) {\n return currentVersion\n }\n }\n\n return undefined\n}\n\n/**\n * Returns version number from a value.\n * If value is not a valid version, returns defaultValue\n *\n * @param {Number|String} value QR Code version\n * @param {Number} defaultValue Fallback value\n * @return {Number} QR Code version number\n */\nexports.from = function from (value, defaultValue) {\n if (VersionCheck.isValid(value)) {\n return parseInt(value, 10)\n }\n\n return defaultValue\n}\n\n/**\n * Returns how much data can be stored with the specified QR code version\n * and error correction level\n *\n * @param {Number} version QR Code version (1-40)\n * @param {Number} errorCorrectionLevel Error correction level\n * @param {Mode} mode Data mode\n * @return {Number} Quantity of storable data\n */\nexports.getCapacity = function getCapacity (version, errorCorrectionLevel, mode) {\n if (!VersionCheck.isValid(version)) {\n throw new Error('Invalid QR Code version')\n }\n\n // Use Byte mode as default\n if (typeof mode === 'undefined') mode = Mode.BYTE\n\n // Total codewords for this QR code version (Data + Error correction)\n const totalCodewords = Utils.getSymbolTotalCodewords(version)\n\n // Total number of error correction codewords\n const ecTotalCodewords = ECCode.getTotalCodewordsCount(version, errorCorrectionLevel)\n\n // Total number of data codewords\n const dataTotalCodewordsBits = (totalCodewords - ecTotalCodewords) * 8\n\n if (mode === Mode.MIXED) return dataTotalCodewordsBits\n\n const usableBits = dataTotalCodewordsBits - getReservedBitsCount(mode, version)\n\n // Return max number of storable codewords\n switch (mode) {\n case Mode.NUMERIC:\n return Math.floor((usableBits / 10) * 3)\n\n case Mode.ALPHANUMERIC:\n return Math.floor((usableBits / 11) * 2)\n\n case Mode.KANJI:\n return Math.floor(usableBits / 13)\n\n case Mode.BYTE:\n default:\n return Math.floor(usableBits / 8)\n }\n}\n\n/**\n * Returns the minimum version needed to contain the amount of data\n *\n * @param {Segment} data Segment of data\n * @param {Number} [errorCorrectionLevel=H] Error correction leve
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/qrcode/lib/renderer/canvas.js":
|
|||
|
/*!****************************************************!*\
|
|||
|
!*** ./node_modules/qrcode/lib/renderer/canvas.js ***!
|
|||
|
\****************************************************/
|
|||
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|||
|
|
|||
|
eval("const Utils = __webpack_require__(/*! ./utils */ \"./node_modules/qrcode/lib/renderer/utils.js\")\n\nfunction clearCanvas (ctx, canvas, size) {\n ctx.clearRect(0, 0, canvas.width, canvas.height)\n\n if (!canvas.style) canvas.style = {}\n canvas.height = size\n canvas.width = size\n canvas.style.height = size + 'px'\n canvas.style.width = size + 'px'\n}\n\nfunction getCanvasElement () {\n try {\n return document.createElement('canvas')\n } catch (e) {\n throw new Error('You need to specify a canvas element')\n }\n}\n\nexports.render = function render (qrData, canvas, options) {\n let opts = options\n let canvasEl = canvas\n\n if (typeof opts === 'undefined' && (!canvas || !canvas.getContext)) {\n opts = canvas\n canvas = undefined\n }\n\n if (!canvas) {\n canvasEl = getCanvasElement()\n }\n\n opts = Utils.getOptions(opts)\n const size = Utils.getImageWidth(qrData.modules.size, opts)\n\n const ctx = canvasEl.getContext('2d')\n const image = ctx.createImageData(size, size)\n Utils.qrToImageData(image.data, qrData, opts)\n\n clearCanvas(ctx, canvasEl, size)\n ctx.putImageData(image, 0, 0)\n\n return canvasEl\n}\n\nexports.renderToDataURL = function renderToDataURL (qrData, canvas, options) {\n let opts = options\n\n if (typeof opts === 'undefined' && (!canvas || !canvas.getContext)) {\n opts = canvas\n canvas = undefined\n }\n\n if (!opts) opts = {}\n\n const canvasEl = exports.render(qrData, canvas, opts)\n\n const type = opts.type || 'image/png'\n const rendererOpts = opts.rendererOpts || {}\n\n return canvasEl.toDataURL(type, rendererOpts.quality)\n}\n\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/qrcode/lib/renderer/canvas.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/qrcode/lib/renderer/svg-tag.js":
|
|||
|
/*!*****************************************************!*\
|
|||
|
!*** ./node_modules/qrcode/lib/renderer/svg-tag.js ***!
|
|||
|
\*****************************************************/
|
|||
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|||
|
|
|||
|
eval("const Utils = __webpack_require__(/*! ./utils */ \"./node_modules/qrcode/lib/renderer/utils.js\")\n\nfunction getColorAttrib (color, attrib) {\n const alpha = color.a / 255\n const str = attrib + '=\"' + color.hex + '\"'\n\n return alpha < 1\n ? str + ' ' + attrib + '-opacity=\"' + alpha.toFixed(2).slice(1) + '\"'\n : str\n}\n\nfunction svgCmd (cmd, x, y) {\n let str = cmd + x\n if (typeof y !== 'undefined') str += ' ' + y\n\n return str\n}\n\nfunction qrToPath (data, size, margin) {\n let path = ''\n let moveBy = 0\n let newRow = false\n let lineLength = 0\n\n for (let i = 0; i < data.length; i++) {\n const col = Math.floor(i % size)\n const row = Math.floor(i / size)\n\n if (!col && !newRow) newRow = true\n\n if (data[i]) {\n lineLength++\n\n if (!(i > 0 && col > 0 && data[i - 1])) {\n path += newRow\n ? svgCmd('M', col + margin, 0.5 + row + margin)\n : svgCmd('m', moveBy, 0)\n\n moveBy = 0\n newRow = false\n }\n\n if (!(col + 1 < size && data[i + 1])) {\n path += svgCmd('h', lineLength)\n lineLength = 0\n }\n } else {\n moveBy++\n }\n }\n\n return path\n}\n\nexports.render = function render (qrData, options, cb) {\n const opts = Utils.getOptions(options)\n const size = qrData.modules.size\n const data = qrData.modules.data\n const qrcodesize = size + opts.margin * 2\n\n const bg = !opts.color.light.a\n ? ''\n : '<path ' + getColorAttrib(opts.color.light, 'fill') +\n ' d=\"M0 0h' + qrcodesize + 'v' + qrcodesize + 'H0z\"/>'\n\n const path =\n '<path ' + getColorAttrib(opts.color.dark, 'stroke') +\n ' d=\"' + qrToPath(data, size, opts.margin) + '\"/>'\n\n const viewBox = 'viewBox=\"' + '0 0 ' + qrcodesize + ' ' + qrcodesize + '\"'\n\n const width = !opts.width ? '' : 'width=\"' + opts.width + '\" height=\"' + opts.width + '\" '\n\n const svgTag = '<svg xmlns=\"http://www.w3.org/2000/svg\" ' + width + viewBox + ' shape-rendering=\"crispEdges\">' + bg + path + '</svg>\\n'\n\n if (typeof cb === 'function') {\n cb(null, svgTag)\n }\n\n return svgTag\n}\n\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/qrcode/lib/renderer/svg-tag.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/qrcode/lib/renderer/utils.js":
|
|||
|
/*!***************************************************!*\
|
|||
|
!*** ./node_modules/qrcode/lib/renderer/utils.js ***!
|
|||
|
\***************************************************/
|
|||
|
/***/ ((__unused_webpack_module, exports) => {
|
|||
|
|
|||
|
eval("function hex2rgba (hex) {\n if (typeof hex === 'number') {\n hex = hex.toString()\n }\n\n if (typeof hex !== 'string') {\n throw new Error('Color should be defined as hex string')\n }\n\n let hexCode = hex.slice().replace('#', '').split('')\n if (hexCode.length < 3 || hexCode.length === 5 || hexCode.length > 8) {\n throw new Error('Invalid hex color: ' + hex)\n }\n\n // Convert from short to long form (fff -> ffffff)\n if (hexCode.length === 3 || hexCode.length === 4) {\n hexCode = Array.prototype.concat.apply([], hexCode.map(function (c) {\n return [c, c]\n }))\n }\n\n // Add default alpha value\n if (hexCode.length === 6) hexCode.push('F', 'F')\n\n const hexValue = parseInt(hexCode.join(''), 16)\n\n return {\n r: (hexValue >> 24) & 255,\n g: (hexValue >> 16) & 255,\n b: (hexValue >> 8) & 255,\n a: hexValue & 255,\n hex: '#' + hexCode.slice(0, 6).join('')\n }\n}\n\nexports.getOptions = function getOptions (options) {\n if (!options) options = {}\n if (!options.color) options.color = {}\n\n const margin = typeof options.margin === 'undefined' ||\n options.margin === null ||\n options.margin < 0\n ? 4\n : options.margin\n\n const width = options.width && options.width >= 21 ? options.width : undefined\n const scale = options.scale || 4\n\n return {\n width: width,\n scale: width ? 4 : scale,\n margin: margin,\n color: {\n dark: hex2rgba(options.color.dark || '#000000ff'),\n light: hex2rgba(options.color.light || '#ffffffff')\n },\n type: options.type,\n rendererOpts: options.rendererOpts || {}\n }\n}\n\nexports.getScale = function getScale (qrSize, opts) {\n return opts.width && opts.width >= qrSize + opts.margin * 2\n ? opts.width / (qrSize + opts.margin * 2)\n : opts.scale\n}\n\nexports.getImageWidth = function getImageWidth (qrSize, opts) {\n const scale = exports.getScale(qrSize, opts)\n return Math.floor((qrSize + opts.margin * 2) * scale)\n}\n\nexports.qrToImageData = function qrToImageData (imgData, qr, opts) {\n const size = qr.modules.size\n const data = qr.modules.data\n const scale = exports.getScale(size, opts)\n const symbolSize = Math.floor((size + opts.margin * 2) * scale)\n const scaledMargin = opts.margin * scale\n const palette = [opts.color.light, opts.color.dark]\n\n for (let i = 0; i < symbolSize; i++) {\n for (let j = 0; j < symbolSize; j++) {\n let posDst = (i * symbolSize + j) * 4\n let pxColor = opts.color.light\n\n if (i >= scaledMargin && j >= scaledMargin &&\n i < symbolSize - scaledMargin && j < symbolSize - scaledMargin) {\n const iSrc = Math.floor((i - scaledMargin) / scale)\n const jSrc = Math.floor((j - scaledMargin) / scale)\n pxColor = palette[data[iSrc * size + jSrc] ? 1 : 0]\n }\n\n imgData[posDst++] = pxColor.r\n imgData[posDst++] = pxColor.g\n imgData[posDst++] = pxColor.b\n imgData[posDst] = pxColor.a\n }\n }\n}\n\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/qrcode/lib/renderer/utils.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/query-string/index.js":
|
|||
|
/*!********************************************!*\
|
|||
|
!*** ./node_modules/query-string/index.js ***!
|
|||
|
\********************************************/
|
|||
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|||
|
|
|||
|
eval("\nconst strictUriEncode = __webpack_require__(/*! strict-uri-encode */ \"./node_modules/strict-uri-encode/index.js\");\nconst decodeComponent = __webpack_require__(/*! decode-uri-component */ \"./node_modules/decode-uri-component/index.js\");\nconst splitOnFirst = __webpack_require__(/*! split-on-first */ \"./node_modules/split-on-first/index.js\");\nconst filterObject = __webpack_require__(/*! filter-obj */ \"./node_modules/filter-obj/index.js\");\n\nconst isNullOrUndefined = value => value === null || value === undefined;\n\nconst encodeFragmentIdentifier = Symbol('encodeFragmentIdentifier');\n\nfunction encoderForArrayFormat(options) {\n\tswitch (options.arrayFormat) {\n\t\tcase 'index':\n\t\t\treturn key => (result, value) => {\n\t\t\t\tconst index = result.length;\n\n\t\t\t\tif (\n\t\t\t\t\tvalue === undefined ||\n\t\t\t\t\t(options.skipNull && value === null) ||\n\t\t\t\t\t(options.skipEmptyString && value === '')\n\t\t\t\t) {\n\t\t\t\t\treturn result;\n\t\t\t\t}\n\n\t\t\t\tif (value === null) {\n\t\t\t\t\treturn [...result, [encode(key, options), '[', index, ']'].join('')];\n\t\t\t\t}\n\n\t\t\t\treturn [\n\t\t\t\t\t...result,\n\t\t\t\t\t[encode(key, options), '[', encode(index, options), ']=', encode(value, options)].join('')\n\t\t\t\t];\n\t\t\t};\n\n\t\tcase 'bracket':\n\t\t\treturn key => (result, value) => {\n\t\t\t\tif (\n\t\t\t\t\tvalue === undefined ||\n\t\t\t\t\t(options.skipNull && value === null) ||\n\t\t\t\t\t(options.skipEmptyString && value === '')\n\t\t\t\t) {\n\t\t\t\t\treturn result;\n\t\t\t\t}\n\n\t\t\t\tif (value === null) {\n\t\t\t\t\treturn [...result, [encode(key, options), '[]'].join('')];\n\t\t\t\t}\n\n\t\t\t\treturn [...result, [encode(key, options), '[]=', encode(value, options)].join('')];\n\t\t\t};\n\n\t\tcase 'colon-list-separator':\n\t\t\treturn key => (result, value) => {\n\t\t\t\tif (\n\t\t\t\t\tvalue === undefined ||\n\t\t\t\t\t(options.skipNull && value === null) ||\n\t\t\t\t\t(options.skipEmptyString && value === '')\n\t\t\t\t) {\n\t\t\t\t\treturn result;\n\t\t\t\t}\n\n\t\t\t\tif (value === null) {\n\t\t\t\t\treturn [...result, [encode(key, options), ':list='].join('')];\n\t\t\t\t}\n\n\t\t\t\treturn [...result, [encode(key, options), ':list=', encode(value, options)].join('')];\n\t\t\t};\n\n\t\tcase 'comma':\n\t\tcase 'separator':\n\t\tcase 'bracket-separator': {\n\t\t\tconst keyValueSep = options.arrayFormat === 'bracket-separator' ?\n\t\t\t\t'[]=' :\n\t\t\t\t'=';\n\n\t\t\treturn key => (result, value) => {\n\t\t\t\tif (\n\t\t\t\t\tvalue === undefined ||\n\t\t\t\t\t(options.skipNull && value === null) ||\n\t\t\t\t\t(options.skipEmptyString && value === '')\n\t\t\t\t) {\n\t\t\t\t\treturn result;\n\t\t\t\t}\n\n\t\t\t\t// Translate null to an empty string so that it doesn't serialize as 'null'\n\t\t\t\tvalue = value === null ? '' : value;\n\n\t\t\t\tif (result.length === 0) {\n\t\t\t\t\treturn [[encode(key, options), keyValueSep, encode(value, options)].join('')];\n\t\t\t\t}\n\n\t\t\t\treturn [[result, encode(value, options)].join(options.arrayFormatSeparator)];\n\t\t\t};\n\t\t}\n\n\t\tdefault:\n\t\t\treturn key => (result, value) => {\n\t\t\t\tif (\n\t\t\t\t\tvalue === undefined ||\n\t\t\t\t\t(options.skipNull && value === null) ||\n\t\t\t\t\t(options.skipEmptyString && value === '')\n\t\t\t\t) {\n\t\t\t\t\treturn result;\n\t\t\t\t}\n\n\t\t\t\tif (value === null) {\n\t\t\t\t\treturn [...result, encode(key, options)];\n\t\t\t\t}\n\n\t\t\t\treturn [...result, [encode(key, options), '=', encode(value, options)].join('')];\n\t\t\t};\n\t}\n}\n\nfunction parserForArrayFormat(options) {\n\tlet result;\n\n\tswitch (options.arrayFormat) {\n\t\tcase 'index':\n\t\t\treturn (key, value, accumulator) => {\n\t\t\t\tresult = /\\[(\\d*)\\]$/.exec(key);\n\n\t\t\t\tkey = key.replace(/\\[\\d*\\]$/, '');\n\n\t\t\t\tif (!result) {\n\t\t\t\t\taccumulator[key] = value;\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tif (accumulator[key] === undefined) {\n\t\t\t\t\taccumulator[key] = {};\n\t\t\t\t}\n\n\t\t\t\taccumulator[key][result[1]] = value;\n\t\t\t};\n\n\t\tcase 'bracket':\n\t\t\treturn (key, value, a
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/split-on-first/index.js":
|
|||
|
/*!**********************************************!*\
|
|||
|
!*** ./node_modules/split-on-first/index.js ***!
|
|||
|
\**********************************************/
|
|||
|
/***/ ((module) => {
|
|||
|
|
|||
|
eval("\n\nmodule.exports = (string, separator) => {\n\tif (!(typeof string === 'string' && typeof separator === 'string')) {\n\t\tthrow new TypeError('Expected the arguments to be of type `string`');\n\t}\n\n\tif (separator === '') {\n\t\treturn [string];\n\t}\n\n\tconst separatorIndex = string.indexOf(separator);\n\n\tif (separatorIndex === -1) {\n\t\treturn [string];\n\t}\n\n\treturn [\n\t\tstring.slice(0, separatorIndex),\n\t\tstring.slice(separatorIndex + separator.length)\n\t];\n};\n\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/split-on-first/index.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/strict-uri-encode/index.js":
|
|||
|
/*!*************************************************!*\
|
|||
|
!*** ./node_modules/strict-uri-encode/index.js ***!
|
|||
|
\*************************************************/
|
|||
|
/***/ ((module) => {
|
|||
|
|
|||
|
eval("\nmodule.exports = str => encodeURIComponent(str).replace(/[!'()*]/g, x => `%${x.charCodeAt(0).toString(16).toUpperCase()}`);\n\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/strict-uri-encode/index.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/tslib/tslib.es6.js":
|
|||
|
/*!*****************************************!*\
|
|||
|
!*** ./node_modules/tslib/tslib.es6.js ***!
|
|||
|
\*****************************************/
|
|||
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ __assign: () => (/* binding */ __assign),\n/* harmony export */ __asyncDelegator: () => (/* binding */ __asyncDelegator),\n/* harmony export */ __asyncGenerator: () => (/* binding */ __asyncGenerator),\n/* harmony export */ __asyncValues: () => (/* binding */ __asyncValues),\n/* harmony export */ __await: () => (/* binding */ __await),\n/* harmony export */ __awaiter: () => (/* binding */ __awaiter),\n/* harmony export */ __classPrivateFieldGet: () => (/* binding */ __classPrivateFieldGet),\n/* harmony export */ __classPrivateFieldSet: () => (/* binding */ __classPrivateFieldSet),\n/* harmony export */ __createBinding: () => (/* binding */ __createBinding),\n/* harmony export */ __decorate: () => (/* binding */ __decorate),\n/* harmony export */ __exportStar: () => (/* binding */ __exportStar),\n/* harmony export */ __extends: () => (/* binding */ __extends),\n/* harmony export */ __generator: () => (/* binding */ __generator),\n/* harmony export */ __importDefault: () => (/* binding */ __importDefault),\n/* harmony export */ __importStar: () => (/* binding */ __importStar),\n/* harmony export */ __makeTemplateObject: () => (/* binding */ __makeTemplateObject),\n/* harmony export */ __metadata: () => (/* binding */ __metadata),\n/* harmony export */ __param: () => (/* binding */ __param),\n/* harmony export */ __read: () => (/* binding */ __read),\n/* harmony export */ __rest: () => (/* binding */ __rest),\n/* harmony export */ __spread: () => (/* binding */ __spread),\n/* harmony export */ __spreadArrays: () => (/* binding */ __spreadArrays),\n/* harmony export */ __values: () => (/* binding */ __values)\n/* harmony export */ });\n/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nfunction __extends(d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nvar __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nfunction __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./src/main.ts":
|
|||
|
/*!*********************!*\
|
|||
|
!*** ./src/main.ts ***!
|
|||
|
\*********************/
|
|||
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _web3modal_wagmi__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @web3modal/wagmi */ \"./node_modules/@web3modal/wagmi/dist/esm/exports/index.js\");\n/* harmony import */ var _wagmi_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wagmi/core */ \"./node_modules/@wagmi/core/dist/chunk-TSH6VVF4.js\");\n/* harmony import */ var viem_chains__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! viem/chains */ \"./node_modules/viem/_esm/chains/definitions/goerli.js\");\n/* harmony import */ var _wagmi_core_providers_public__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @wagmi/core/providers/public */ \"./node_modules/@wagmi/core/dist/providers/public.js\");\n/* harmony import */ var _wagmi_core__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @wagmi/core */ \"./node_modules/@wagmi/connectors/dist/chunk-JTELPB65.js\");\n/* harmony import */ var _wagmi_core_connectors_coinbaseWallet__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @wagmi/core/connectors/coinbaseWallet */ \"./node_modules/@wagmi/connectors/dist/coinbaseWallet.js\");\n/* harmony import */ var _wagmi_core_connectors_walletConnect__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @wagmi/core/connectors/walletConnect */ \"./node_modules/@wagmi/connectors/dist/walletConnect.js\");\n\n\n\n\n\n\n\n\n\nconst projectId = '0ff537ebcebc5ce0947866d3a90e0ebf'\n\nconst { chains, publicClient } = (0,_wagmi_core__WEBPACK_IMPORTED_MODULE_1__.configureChains)([viem_chains__WEBPACK_IMPORTED_MODULE_2__.goerli], [\n (0,_web3modal_wagmi__WEBPACK_IMPORTED_MODULE_0__.walletConnectProvider)({ projectId }),\n (0,_wagmi_core_providers_public__WEBPACK_IMPORTED_MODULE_3__.publicProvider)()\n])\n\nconst metadata = {\n name: 'Test Web3Modal',\n description: 'Web3Modal Test',\n url: 'https://web3modal.com',\n icons: ['https://avatars.githubusercontent.com/u/37784886']\n}\n\nconst wagmiConfig = (0,_wagmi_core__WEBPACK_IMPORTED_MODULE_1__.createConfig)({\n autoConnect: true,\n connectors: [\n new _wagmi_core_connectors_walletConnect__WEBPACK_IMPORTED_MODULE_4__.WalletConnectConnector({ chains, options: { projectId, showQrModal: false, metadata } }),\n new _web3modal_wagmi__WEBPACK_IMPORTED_MODULE_0__.EIP6963Connector({ chains }),\n new _wagmi_core__WEBPACK_IMPORTED_MODULE_5__.InjectedConnector({ chains, options: { shimDisconnect: true } }),\n new _wagmi_core_connectors_coinbaseWallet__WEBPACK_IMPORTED_MODULE_6__.CoinbaseWalletConnector({ chains, options: { appName: metadata.name } })\n ],\n publicClient\n})\n\nconst testWalletIds = [\n 'statusDesktopTest',\n 'af9a6dfff9e63977bbde28fb23518834f08b696fe8bff6dd6827acad1814c6be' // Status Mobile\n]\nconst modal = (0,_web3modal_wagmi__WEBPACK_IMPORTED_MODULE_0__.createWeb3Modal)({ wagmiConfig, projectId, chains,\n customWallets: [\n {\n id: 'statusDesktopTest',\n name: 'Status Desktop Test',\n homepage: 'https://status.app/', // Optional\n image_url: 'https://res.cloudinary.com/dhgck7ebz/image/upload/f_auto,c_limit,w_1080,q_auto/Brand/Logo%20Section/Mark/Mark_01', // Optional\n //mobile_link: 'mobile_link', // Optional - Deeplink or universal\n desktop_link: 'status-app://', // Optional - Deeplink\n //webapp_link: 'webapp_link', // Optional\n //app_store: 'app_store', // Optional\n //play_store: 'play_store' // Optional\n }\n ],\n featuredWalletIds: testWalletIds,\n includeWalletIds: testWalletIds\n})\nmodal.open({ view: 'All wallets' })\n\n//# sourceURL=webpack://wallet_connect_modal_test/./src/main.ts?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "?25ed":
|
|||
|
/*!************************!*\
|
|||
|
!*** crypto (ignored) ***!
|
|||
|
\************************/
|
|||
|
/***/ (() => {
|
|||
|
|
|||
|
eval("/* (ignored) */\n\n//# sourceURL=webpack://wallet_connect_modal_test/crypto_(ignored)?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@noble/curves/esm/abstract/utils.js":
|
|||
|
/*!**********************************************************!*\
|
|||
|
!*** ./node_modules/@noble/curves/esm/abstract/utils.js ***!
|
|||
|
\**********************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ bitGet: () => (/* binding */ bitGet),\n/* harmony export */ bitLen: () => (/* binding */ bitLen),\n/* harmony export */ bitMask: () => (/* binding */ bitMask),\n/* harmony export */ bitSet: () => (/* binding */ bitSet),\n/* harmony export */ bytesToHex: () => (/* binding */ bytesToHex),\n/* harmony export */ bytesToNumberBE: () => (/* binding */ bytesToNumberBE),\n/* harmony export */ bytesToNumberLE: () => (/* binding */ bytesToNumberLE),\n/* harmony export */ concatBytes: () => (/* binding */ concatBytes),\n/* harmony export */ createHmacDrbg: () => (/* binding */ createHmacDrbg),\n/* harmony export */ ensureBytes: () => (/* binding */ ensureBytes),\n/* harmony export */ equalBytes: () => (/* binding */ equalBytes),\n/* harmony export */ hexToBytes: () => (/* binding */ hexToBytes),\n/* harmony export */ hexToNumber: () => (/* binding */ hexToNumber),\n/* harmony export */ numberToBytesBE: () => (/* binding */ numberToBytesBE),\n/* harmony export */ numberToBytesLE: () => (/* binding */ numberToBytesLE),\n/* harmony export */ numberToHexUnpadded: () => (/* binding */ numberToHexUnpadded),\n/* harmony export */ numberToVarBytesBE: () => (/* binding */ numberToVarBytesBE),\n/* harmony export */ utf8ToBytes: () => (/* binding */ utf8ToBytes),\n/* harmony export */ validateObject: () => (/* binding */ validateObject)\n/* harmony export */ });\n/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */\n// 100 lines of code in the file are duplicated from noble-hashes (utils).\n// This is OK: `abstract` directory does not use noble-hashes.\n// User may opt-in into using different hashing library. This way, noble-hashes\n// won't be included into their bundle.\nconst _0n = BigInt(0);\nconst _1n = BigInt(1);\nconst _2n = BigInt(2);\nconst u8a = (a) => a instanceof Uint8Array;\nconst hexes = /* @__PURE__ */ Array.from({ length: 256 }, (_, i) => i.toString(16).padStart(2, '0'));\n/**\n * @example bytesToHex(Uint8Array.from([0xca, 0xfe, 0x01, 0x23])) // 'cafe0123'\n */\nfunction bytesToHex(bytes) {\n if (!u8a(bytes))\n throw new Error('Uint8Array expected');\n // pre-caching improves the speed 6x\n let hex = '';\n for (let i = 0; i < bytes.length; i++) {\n hex += hexes[bytes[i]];\n }\n return hex;\n}\nfunction numberToHexUnpadded(num) {\n const hex = num.toString(16);\n return hex.length & 1 ? `0${hex}` : hex;\n}\nfunction hexToNumber(hex) {\n if (typeof hex !== 'string')\n throw new Error('hex string expected, got ' + typeof hex);\n // Big Endian\n return BigInt(hex === '' ? '0' : `0x${hex}`);\n}\n/**\n * @example hexToBytes('cafe0123') // Uint8Array.from([0xca, 0xfe, 0x01, 0x23])\n */\nfunction hexToBytes(hex) {\n if (typeof hex !== 'string')\n throw new Error('hex string expected, got ' + typeof hex);\n const len = hex.length;\n if (len % 2)\n throw new Error('padded hex string expected, got unpadded hex of length ' + len);\n const array = new Uint8Array(len / 2);\n for (let i = 0; i < array.length; i++) {\n const j = i * 2;\n const hexByte = hex.slice(j, j + 2);\n const byte = Number.parseInt(hexByte, 16);\n if (Number.isNaN(byte) || byte < 0)\n throw new Error('Invalid byte sequence');\n array[i] = byte;\n }\n return array;\n}\n// BE: Big Endian, LE: Little Endian\nfunction bytesToNumberBE(bytes) {\n return hexToNumber(bytesToHex(bytes));\n}\nfunction bytesToNumberLE(bytes) {\n if (!u8a(bytes))\n throw new Error('Uint8Array expected');\n return hexToNumber(bytesToHex(Uint8Array.from(bytes).reverse()));\n}\nfunction numberToBytesBE(n, len) {\n return hexToBytes(n.toString(16).padStart(len * 2, '0'));\n}\nfunction numberToBytesLE(n, len) {\n return numberToBytesBE(n, len).reverse();\n}\n// Unpadded, rarely used\nfunction numberToVarBytesBE(n) {\n return hexToBytes(numberToHexUnpadde
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@noble/hashes/esm/_assert.js":
|
|||
|
/*!***************************************************!*\
|
|||
|
!*** ./node_modules/@noble/hashes/esm/_assert.js ***!
|
|||
|
\***************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ bool: () => (/* binding */ bool),\n/* harmony export */ bytes: () => (/* binding */ bytes),\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__),\n/* harmony export */ exists: () => (/* binding */ exists),\n/* harmony export */ hash: () => (/* binding */ hash),\n/* harmony export */ number: () => (/* binding */ number),\n/* harmony export */ output: () => (/* binding */ output)\n/* harmony export */ });\nfunction number(n) {\n if (!Number.isSafeInteger(n) || n < 0)\n throw new Error(`Wrong positive integer: ${n}`);\n}\nfunction bool(b) {\n if (typeof b !== 'boolean')\n throw new Error(`Expected boolean, not ${b}`);\n}\nfunction bytes(b, ...lengths) {\n if (!(b instanceof Uint8Array))\n throw new Error('Expected Uint8Array');\n if (lengths.length > 0 && !lengths.includes(b.length))\n throw new Error(`Expected Uint8Array of length ${lengths}, not of length=${b.length}`);\n}\nfunction hash(hash) {\n if (typeof hash !== 'function' || typeof hash.create !== 'function')\n throw new Error('Hash should be wrapped by utils.wrapConstructor');\n number(hash.outputLen);\n number(hash.blockLen);\n}\nfunction exists(instance, checkFinished = true) {\n if (instance.destroyed)\n throw new Error('Hash instance has been destroyed');\n if (checkFinished && instance.finished)\n throw new Error('Hash#digest() has already been called');\n}\nfunction output(out, instance) {\n bytes(out);\n const min = instance.outputLen;\n if (out.length < min) {\n throw new Error(`digestInto() expects output buffer of length at least ${min}`);\n }\n}\n\nconst assert = { number, bool, bytes, hash, exists, output };\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (assert);\n//# sourceMappingURL=_assert.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@noble/hashes/esm/_assert.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@noble/hashes/esm/_u64.js":
|
|||
|
/*!************************************************!*\
|
|||
|
!*** ./node_modules/@noble/hashes/esm/_u64.js ***!
|
|||
|
\************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ add: () => (/* binding */ add),\n/* harmony export */ add3H: () => (/* binding */ add3H),\n/* harmony export */ add3L: () => (/* binding */ add3L),\n/* harmony export */ add4H: () => (/* binding */ add4H),\n/* harmony export */ add4L: () => (/* binding */ add4L),\n/* harmony export */ add5H: () => (/* binding */ add5H),\n/* harmony export */ add5L: () => (/* binding */ add5L),\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__),\n/* harmony export */ fromBig: () => (/* binding */ fromBig),\n/* harmony export */ rotlBH: () => (/* binding */ rotlBH),\n/* harmony export */ rotlBL: () => (/* binding */ rotlBL),\n/* harmony export */ rotlSH: () => (/* binding */ rotlSH),\n/* harmony export */ rotlSL: () => (/* binding */ rotlSL),\n/* harmony export */ rotr32H: () => (/* binding */ rotr32H),\n/* harmony export */ rotr32L: () => (/* binding */ rotr32L),\n/* harmony export */ rotrBH: () => (/* binding */ rotrBH),\n/* harmony export */ rotrBL: () => (/* binding */ rotrBL),\n/* harmony export */ rotrSH: () => (/* binding */ rotrSH),\n/* harmony export */ rotrSL: () => (/* binding */ rotrSL),\n/* harmony export */ shrSH: () => (/* binding */ shrSH),\n/* harmony export */ shrSL: () => (/* binding */ shrSL),\n/* harmony export */ split: () => (/* binding */ split),\n/* harmony export */ toBig: () => (/* binding */ toBig)\n/* harmony export */ });\nconst U32_MASK64 = /* @__PURE__ */ BigInt(2 ** 32 - 1);\nconst _32n = /* @__PURE__ */ BigInt(32);\n// We are not using BigUint64Array, because they are extremely slow as per 2022\nfunction fromBig(n, le = false) {\n if (le)\n return { h: Number(n & U32_MASK64), l: Number((n >> _32n) & U32_MASK64) };\n return { h: Number((n >> _32n) & U32_MASK64) | 0, l: Number(n & U32_MASK64) | 0 };\n}\nfunction split(lst, le = false) {\n let Ah = new Uint32Array(lst.length);\n let Al = new Uint32Array(lst.length);\n for (let i = 0; i < lst.length; i++) {\n const { h, l } = fromBig(lst[i], le);\n [Ah[i], Al[i]] = [h, l];\n }\n return [Ah, Al];\n}\nconst toBig = (h, l) => (BigInt(h >>> 0) << _32n) | BigInt(l >>> 0);\n// for Shift in [0, 32)\nconst shrSH = (h, _l, s) => h >>> s;\nconst shrSL = (h, l, s) => (h << (32 - s)) | (l >>> s);\n// Right rotate for Shift in [1, 32)\nconst rotrSH = (h, l, s) => (h >>> s) | (l << (32 - s));\nconst rotrSL = (h, l, s) => (h << (32 - s)) | (l >>> s);\n// Right rotate for Shift in (32, 64), NOTE: 32 is special case.\nconst rotrBH = (h, l, s) => (h << (64 - s)) | (l >>> (s - 32));\nconst rotrBL = (h, l, s) => (h >>> (s - 32)) | (l << (64 - s));\n// Right rotate for shift===32 (just swaps l&h)\nconst rotr32H = (_h, l) => l;\nconst rotr32L = (h, _l) => h;\n// Left rotate for Shift in [1, 32)\nconst rotlSH = (h, l, s) => (h << s) | (l >>> (32 - s));\nconst rotlSL = (h, l, s) => (l << s) | (h >>> (32 - s));\n// Left rotate for Shift in (32, 64), NOTE: 32 is special case.\nconst rotlBH = (h, l, s) => (l << (s - 32)) | (h >>> (64 - s));\nconst rotlBL = (h, l, s) => (h << (s - 32)) | (l >>> (64 - s));\n// JS uses 32-bit signed integers for bitwise operations which means we cannot\n// simple take carry out of low bit sum by shift, we need to use division.\nfunction add(Ah, Al, Bh, Bl) {\n const l = (Al >>> 0) + (Bl >>> 0);\n return { h: (Ah + Bh + ((l / 2 ** 32) | 0)) | 0, l: l | 0 };\n}\n// Addition with more than 2 elements\nconst add3L = (Al, Bl, Cl) => (Al >>> 0) + (Bl >>> 0) + (Cl >>> 0);\nconst add3H = (low, Ah, Bh, Ch) => (Ah + Bh + Ch + ((low / 2 ** 32) | 0)) | 0;\nconst add4L = (Al, Bl, Cl, Dl) => (Al >>> 0) + (Bl >>> 0) + (Cl >>> 0) + (Dl >>> 0);\nconst add4H = (low, Ah, Bh, Ch, Dh) => (Ah + Bh + Ch + Dh + ((low / 2 ** 32) | 0)) | 0;\nconst add5L = (Al, Bl, Cl, Dl, El) => (Al >>> 0) + (Bl >>> 0) + (Cl >>> 0) + (Dl >>> 0) + (El >>> 0);\nconst add5H = (low, Ah, Bh, Ch, Dh, Eh) => (Ah + Bh + Ch + Dh + Eh + ((low / 2 ** 32) | 0))
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@noble/hashes/esm/crypto.js":
|
|||
|
/*!**************************************************!*\
|
|||
|
!*** ./node_modules/@noble/hashes/esm/crypto.js ***!
|
|||
|
\**************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ crypto: () => (/* binding */ crypto)\n/* harmony export */ });\nconst crypto = typeof globalThis === 'object' && 'crypto' in globalThis ? globalThis.crypto : undefined;\n//# sourceMappingURL=crypto.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@noble/hashes/esm/crypto.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@noble/hashes/esm/sha3.js":
|
|||
|
/*!************************************************!*\
|
|||
|
!*** ./node_modules/@noble/hashes/esm/sha3.js ***!
|
|||
|
\************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ Keccak: () => (/* binding */ Keccak),\n/* harmony export */ keccakP: () => (/* binding */ keccakP),\n/* harmony export */ keccak_224: () => (/* binding */ keccak_224),\n/* harmony export */ keccak_256: () => (/* binding */ keccak_256),\n/* harmony export */ keccak_384: () => (/* binding */ keccak_384),\n/* harmony export */ keccak_512: () => (/* binding */ keccak_512),\n/* harmony export */ sha3_224: () => (/* binding */ sha3_224),\n/* harmony export */ sha3_256: () => (/* binding */ sha3_256),\n/* harmony export */ sha3_384: () => (/* binding */ sha3_384),\n/* harmony export */ sha3_512: () => (/* binding */ sha3_512),\n/* harmony export */ shake128: () => (/* binding */ shake128),\n/* harmony export */ shake256: () => (/* binding */ shake256)\n/* harmony export */ });\n/* harmony import */ var _assert_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./_assert.js */ \"./node_modules/@noble/hashes/esm/_assert.js\");\n/* harmony import */ var _u64_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_u64.js */ \"./node_modules/@noble/hashes/esm/_u64.js\");\n/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./utils.js */ \"./node_modules/@noble/hashes/esm/utils.js\");\n\n\n\n// SHA3 (keccak) is based on a new design: basically, the internal state is bigger than output size.\n// It's called a sponge function.\n// Various per round constants calculations\nconst [SHA3_PI, SHA3_ROTL, _SHA3_IOTA] = [[], [], []];\nconst _0n = /* @__PURE__ */ BigInt(0);\nconst _1n = /* @__PURE__ */ BigInt(1);\nconst _2n = /* @__PURE__ */ BigInt(2);\nconst _7n = /* @__PURE__ */ BigInt(7);\nconst _256n = /* @__PURE__ */ BigInt(256);\nconst _0x71n = /* @__PURE__ */ BigInt(0x71);\nfor (let round = 0, R = _1n, x = 1, y = 0; round < 24; round++) {\n // Pi\n [x, y] = [y, (2 * x + 3 * y) % 5];\n SHA3_PI.push(2 * (5 * y + x));\n // Rotational\n SHA3_ROTL.push((((round + 1) * (round + 2)) / 2) % 64);\n // Iota\n let t = _0n;\n for (let j = 0; j < 7; j++) {\n R = ((R << _1n) ^ ((R >> _7n) * _0x71n)) % _256n;\n if (R & _2n)\n t ^= _1n << ((_1n << /* @__PURE__ */ BigInt(j)) - _1n);\n }\n _SHA3_IOTA.push(t);\n}\nconst [SHA3_IOTA_H, SHA3_IOTA_L] = /* @__PURE__ */ (0,_u64_js__WEBPACK_IMPORTED_MODULE_0__.split)(_SHA3_IOTA, true);\n// Left rotation (without 0, 32, 64)\nconst rotlH = (h, l, s) => (s > 32 ? (0,_u64_js__WEBPACK_IMPORTED_MODULE_0__.rotlBH)(h, l, s) : (0,_u64_js__WEBPACK_IMPORTED_MODULE_0__.rotlSH)(h, l, s));\nconst rotlL = (h, l, s) => (s > 32 ? (0,_u64_js__WEBPACK_IMPORTED_MODULE_0__.rotlBL)(h, l, s) : (0,_u64_js__WEBPACK_IMPORTED_MODULE_0__.rotlSL)(h, l, s));\n// Same as keccakf1600, but allows to skip some rounds\nfunction keccakP(s, rounds = 24) {\n const B = new Uint32Array(5 * 2);\n // NOTE: all indices are x2 since we store state as u32 instead of u64 (bigints to slow in js)\n for (let round = 24 - rounds; round < 24; round++) {\n // Theta θ\n for (let x = 0; x < 10; x++)\n B[x] = s[x] ^ s[x + 10] ^ s[x + 20] ^ s[x + 30] ^ s[x + 40];\n for (let x = 0; x < 10; x += 2) {\n const idx1 = (x + 8) % 10;\n const idx0 = (x + 2) % 10;\n const B0 = B[idx0];\n const B1 = B[idx0 + 1];\n const Th = rotlH(B0, B1, 1) ^ B[idx1];\n const Tl = rotlL(B0, B1, 1) ^ B[idx1 + 1];\n for (let y = 0; y < 50; y += 10) {\n s[x + y] ^= Th;\n s[x + y + 1] ^= Tl;\n }\n }\n // Rho (ρ) and Pi (π)\n let curH = s[2];\n let curL = s[3];\n for (let t = 0; t < 24; t++) {\n const shift = SHA3_ROTL[t];\n const Th = rotlH(curH, curL, shift);\n const Tl = rotlL(curH, curL, shift);\n const PI = SHA3_PI[t];\n curH = s[PI];\n curL = s[PI + 1];\n s[PI
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@noble/hashes/esm/utils.js":
|
|||
|
/*!*************************************************!*\
|
|||
|
!*** ./node_modules/@noble/hashes/esm/utils.js ***!
|
|||
|
\*************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ Hash: () => (/* binding */ Hash),\n/* harmony export */ asyncLoop: () => (/* binding */ asyncLoop),\n/* harmony export */ bytesToHex: () => (/* binding */ bytesToHex),\n/* harmony export */ checkOpts: () => (/* binding */ checkOpts),\n/* harmony export */ concatBytes: () => (/* binding */ concatBytes),\n/* harmony export */ createView: () => (/* binding */ createView),\n/* harmony export */ hexToBytes: () => (/* binding */ hexToBytes),\n/* harmony export */ isLE: () => (/* binding */ isLE),\n/* harmony export */ nextTick: () => (/* binding */ nextTick),\n/* harmony export */ randomBytes: () => (/* binding */ randomBytes),\n/* harmony export */ rotr: () => (/* binding */ rotr),\n/* harmony export */ toBytes: () => (/* binding */ toBytes),\n/* harmony export */ u32: () => (/* binding */ u32),\n/* harmony export */ u8: () => (/* binding */ u8),\n/* harmony export */ utf8ToBytes: () => (/* binding */ utf8ToBytes),\n/* harmony export */ wrapConstructor: () => (/* binding */ wrapConstructor),\n/* harmony export */ wrapConstructorWithOpts: () => (/* binding */ wrapConstructorWithOpts),\n/* harmony export */ wrapXOFConstructorWithOpts: () => (/* binding */ wrapXOFConstructorWithOpts)\n/* harmony export */ });\n/* harmony import */ var _noble_hashes_crypto__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @noble/hashes/crypto */ \"./node_modules/@noble/hashes/esm/crypto.js\");\n/*! noble-hashes - MIT License (c) 2022 Paul Miller (paulmillr.com) */\n// We use WebCrypto aka globalThis.crypto, which exists in browsers and node.js 16+.\n// node.js versions earlier than v19 don't declare it in global scope.\n// For node.js, package.json#exports field mapping rewrites import\n// from `crypto` to `cryptoNode`, which imports native module.\n// Makes the utils un-importable in browsers without a bundler.\n// Once node.js 18 is deprecated, we can just drop the import.\n\nconst u8a = (a) => a instanceof Uint8Array;\n// Cast array to different type\nconst u8 = (arr) => new Uint8Array(arr.buffer, arr.byteOffset, arr.byteLength);\nconst u32 = (arr) => new Uint32Array(arr.buffer, arr.byteOffset, Math.floor(arr.byteLength / 4));\n// Cast array to view\nconst createView = (arr) => new DataView(arr.buffer, arr.byteOffset, arr.byteLength);\n// The rotate right (circular right shift) operation for uint32\nconst rotr = (word, shift) => (word << (32 - shift)) | (word >>> shift);\n// big-endian hardware is rare. Just in case someone still decides to run hashes:\n// early-throw an error because we don't support BE yet.\nconst isLE = new Uint8Array(new Uint32Array([0x11223344]).buffer)[0] === 0x44;\nif (!isLE)\n throw new Error('Non little-endian hardware is not supported');\nconst hexes = /* @__PURE__ */ Array.from({ length: 256 }, (_, i) => i.toString(16).padStart(2, '0'));\n/**\n * @example bytesToHex(Uint8Array.from([0xca, 0xfe, 0x01, 0x23])) // 'cafe0123'\n */\nfunction bytesToHex(bytes) {\n if (!u8a(bytes))\n throw new Error('Uint8Array expected');\n // pre-caching improves the speed 6x\n let hex = '';\n for (let i = 0; i < bytes.length; i++) {\n hex += hexes[bytes[i]];\n }\n return hex;\n}\n/**\n * @example hexToBytes('cafe0123') // Uint8Array.from([0xca, 0xfe, 0x01, 0x23])\n */\nfunction hexToBytes(hex) {\n if (typeof hex !== 'string')\n throw new Error('hex string expected, got ' + typeof hex);\n const len = hex.length;\n if (len % 2)\n throw new Error('padded hex string expected, got unpadded hex of length ' + len);\n const array = new Uint8Array(len / 2);\n for (let i = 0; i < array.length; i++) {\n const j = i * 2;\n const hexByte = hex.slice(j, j + 2);\n const byte = Number.parseInt(hexByte, 16);\n if (Number.isNaN(byte) || byte < 0)\n throw new Error('Invalid byte sequence');\n array[i] = byte;\n }\n return array;\n}\n// There is no setImmediate in
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@wagmi/connectors/dist/chunk-JTELPB65.js":
|
|||
|
/*!***************************************************************!*\
|
|||
|
!*** ./node_modules/@wagmi/connectors/dist/chunk-JTELPB65.js ***!
|
|||
|
\***************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ InjectedConnector: () => (/* binding */ InjectedConnector)\n/* harmony export */ });\n/* harmony import */ var _chunk_UGBGYVBH_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./chunk-UGBGYVBH.js */ \"./node_modules/@wagmi/connectors/dist/chunk-UGBGYVBH.js\");\n/* harmony import */ var _chunk_OQILYQDO_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./chunk-OQILYQDO.js */ \"./node_modules/@wagmi/connectors/dist/chunk-OQILYQDO.js\");\n/* harmony import */ var _chunk_W65LBPLT_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./chunk-W65LBPLT.js */ \"./node_modules/@wagmi/connectors/dist/chunk-W65LBPLT.js\");\n/* harmony import */ var viem__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! viem */ \"./node_modules/viem/_esm/utils/address/getAddress.js\");\n/* harmony import */ var viem__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! viem */ \"./node_modules/viem/_esm/errors/rpc.js\");\n/* harmony import */ var viem__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! viem */ \"./node_modules/viem/_esm/clients/createWalletClient.js\");\n/* harmony import */ var viem__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! viem */ \"./node_modules/viem/_esm/clients/transports/custom.js\");\n/* harmony import */ var viem__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! viem */ \"./node_modules/viem/_esm/utils/encoding/toHex.js\");\n\n\n\n\n// src/injected.ts\n\n\n// src/utils/getInjectedName.ts\nfunction getInjectedName(ethereum) {\n if (!ethereum)\n return \"Injected\";\n const getName = (provider) => {\n if (provider.isApexWallet)\n return \"Apex Wallet\";\n if (provider.isAvalanche)\n return \"Core Wallet\";\n if (provider.isBackpack)\n return \"Backpack\";\n if (provider.isBifrost)\n return \"Bifrost Wallet\";\n if (provider.isBitKeep)\n return \"BitKeep\";\n if (provider.isBitski)\n return \"Bitski\";\n if (provider.isBlockWallet)\n return \"BlockWallet\";\n if (provider.isBraveWallet)\n return \"Brave Wallet\";\n if (provider.isCoin98)\n return \"Coin98 Wallet\";\n if (provider.isCoinbaseWallet)\n return \"Coinbase Wallet\";\n if (provider.isDawn)\n return \"Dawn Wallet\";\n if (provider.isDefiant)\n return \"Defiant\";\n if (provider.isDesig)\n return \"Desig Wallet\";\n if (provider.isEnkrypt)\n return \"Enkrypt\";\n if (provider.isExodus)\n return \"Exodus\";\n if (provider.isFordefi)\n return \"Fordefi\";\n if (provider.isFrame)\n return \"Frame\";\n if (provider.isFrontier)\n return \"Frontier Wallet\";\n if (provider.isGamestop)\n return \"GameStop Wallet\";\n if (provider.isHaqqWallet)\n return \"HAQQ Wallet\";\n if (provider.isHyperPay)\n return \"HyperPay Wallet\";\n if (provider.isImToken)\n return \"ImToken\";\n if (provider.isHaloWallet)\n return \"Halo Wallet\";\n if (provider.isKuCoinWallet)\n return \"KuCoin Wallet\";\n if (provider.isMathWallet)\n return \"MathWallet\";\n if (provider.isNovaWallet)\n return \"Nova Wallet\";\n if (provider.isOkxWallet || provider.isOKExWallet)\n return \"OKX Wallet\";\n if (provider.isOneInchIOSWallet || provider.isOneInchAndroidWallet)\n return \"1inch Wallet\";\n if (provider.isOpera)\n return \"Opera\";\n if (provider.isPhantom)\n return \"Phantom\";\n if (provider.isPortal)\n return \"Ripio Portal\";\n if (provider.isRabby)\n return \"Rabby Wallet\";\n if (provider.isRainbow)\n return \"Rainbow\";\n if (provider.isSafePal)\n return \"SafePal Wallet\";\n if (provider.isStatus)\n return \"Status\";\n if (provider.isSubWallet)\n return \"SubWallet\";\n if (provider.isTalisman)\n return \"Talisman\";\n if (provider.isTally)\n return \"Taho\";\n if (provider.isTokenPocket)\n return
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@wagmi/connectors/dist/chunk-OQILYQDO.js":
|
|||
|
/*!***************************************************************!*\
|
|||
|
!*** ./node_modules/@wagmi/connectors/dist/chunk-OQILYQDO.js ***!
|
|||
|
\***************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ normalizeChainId: () => (/* binding */ normalizeChainId)\n/* harmony export */ });\n// src/utils/normalizeChainId.ts\nfunction normalizeChainId(chainId) {\n if (typeof chainId === \"string\")\n return Number.parseInt(\n chainId,\n chainId.trim().substring(0, 2) === \"0x\" ? 16 : 10\n );\n if (typeof chainId === \"bigint\")\n return Number(chainId);\n return chainId;\n}\n\n\n\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@wagmi/connectors/dist/chunk-OQILYQDO.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@wagmi/connectors/dist/chunk-UGBGYVBH.js":
|
|||
|
/*!***************************************************************!*\
|
|||
|
!*** ./node_modules/@wagmi/connectors/dist/chunk-UGBGYVBH.js ***!
|
|||
|
\***************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ ChainNotConfiguredForConnectorError: () => (/* binding */ ChainNotConfiguredForConnectorError),\n/* harmony export */ ConnectorNotFoundError: () => (/* binding */ ConnectorNotFoundError)\n/* harmony export */ });\n// src/errors.ts\nvar ChainNotConfiguredForConnectorError = class extends Error {\n constructor({\n chainId,\n connectorId\n }) {\n super(`Chain \"${chainId}\" not configured for connector \"${connectorId}\".`);\n this.name = \"ChainNotConfiguredForConnectorError\";\n }\n};\nvar ConnectorNotFoundError = class extends Error {\n constructor() {\n super(...arguments);\n this.name = \"ConnectorNotFoundError\";\n this.message = \"Connector not found\";\n }\n};\n\n\n\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@wagmi/connectors/dist/chunk-UGBGYVBH.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@wagmi/connectors/dist/chunk-W65LBPLT.js":
|
|||
|
/*!***************************************************************!*\
|
|||
|
!*** ./node_modules/@wagmi/connectors/dist/chunk-W65LBPLT.js ***!
|
|||
|
\***************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ Connector: () => (/* binding */ Connector),\n/* harmony export */ __privateAdd: () => (/* binding */ __privateAdd),\n/* harmony export */ __privateGet: () => (/* binding */ __privateGet),\n/* harmony export */ __privateMethod: () => (/* binding */ __privateMethod),\n/* harmony export */ __privateSet: () => (/* binding */ __privateSet)\n/* harmony export */ });\n/* harmony import */ var eventemitter3__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! eventemitter3 */ \"./node_modules/eventemitter3/index.js\");\n/* harmony import */ var viem_chains__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! viem/chains */ \"./node_modules/viem/_esm/chains/definitions/mainnet.js\");\n/* harmony import */ var viem_chains__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! viem/chains */ \"./node_modules/viem/_esm/chains/definitions/goerli.js\");\nvar __accessCheck = (obj, member, msg) => {\n if (!member.has(obj))\n throw TypeError(\"Cannot \" + msg);\n};\nvar __privateGet = (obj, member, getter) => {\n __accessCheck(obj, member, \"read from private field\");\n return getter ? getter.call(obj) : member.get(obj);\n};\nvar __privateAdd = (obj, member, value) => {\n if (member.has(obj))\n throw TypeError(\"Cannot add the same private member more than once\");\n member instanceof WeakSet ? member.add(obj) : member.set(obj, value);\n};\nvar __privateSet = (obj, member, value, setter) => {\n __accessCheck(obj, member, \"write to private field\");\n setter ? setter.call(obj, value) : member.set(obj, value);\n return value;\n};\nvar __privateMethod = (obj, member, method) => {\n __accessCheck(obj, member, \"access private method\");\n return method;\n};\n\n// src/base.ts\n\n\nvar Connector = class extends eventemitter3__WEBPACK_IMPORTED_MODULE_0__ {\n constructor({\n chains = [viem_chains__WEBPACK_IMPORTED_MODULE_1__.mainnet, viem_chains__WEBPACK_IMPORTED_MODULE_2__.goerli],\n options\n }) {\n super();\n this.chains = chains;\n this.options = options;\n }\n getBlockExplorerUrls(chain) {\n const { default: blockExplorer, ...blockExplorers } = chain.blockExplorers ?? {};\n if (blockExplorer)\n return [\n blockExplorer.url,\n ...Object.values(blockExplorers).map((x) => x.url)\n ];\n }\n isChainUnsupported(chainId) {\n return !this.chains.some((x) => x.id === chainId);\n }\n setStorage(storage) {\n this.storage = storage;\n }\n};\n\n\n\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@wagmi/connectors/dist/chunk-W65LBPLT.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@wagmi/connectors/dist/coinbaseWallet.js":
|
|||
|
/*!***************************************************************!*\
|
|||
|
!*** ./node_modules/@wagmi/connectors/dist/coinbaseWallet.js ***!
|
|||
|
\***************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ CoinbaseWalletConnector: () => (/* binding */ CoinbaseWalletConnector)\n/* harmony export */ });\n/* harmony import */ var _chunk_UGBGYVBH_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./chunk-UGBGYVBH.js */ \"./node_modules/@wagmi/connectors/dist/chunk-UGBGYVBH.js\");\n/* harmony import */ var _chunk_OQILYQDO_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./chunk-OQILYQDO.js */ \"./node_modules/@wagmi/connectors/dist/chunk-OQILYQDO.js\");\n/* harmony import */ var _chunk_W65LBPLT_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./chunk-W65LBPLT.js */ \"./node_modules/@wagmi/connectors/dist/chunk-W65LBPLT.js\");\n/* harmony import */ var viem__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! viem */ \"./node_modules/viem/_esm/utils/address/getAddress.js\");\n/* harmony import */ var viem__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! viem */ \"./node_modules/viem/_esm/errors/rpc.js\");\n/* harmony import */ var viem__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! viem */ \"./node_modules/viem/_esm/clients/createWalletClient.js\");\n/* harmony import */ var viem__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! viem */ \"./node_modules/viem/_esm/clients/transports/custom.js\");\n/* harmony import */ var viem__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! viem */ \"./node_modules/viem/_esm/utils/encoding/toHex.js\");\n\n\n\n\n// src/coinbaseWallet.ts\n\nvar _client, _provider;\nvar CoinbaseWalletConnector = class extends _chunk_W65LBPLT_js__WEBPACK_IMPORTED_MODULE_0__.Connector {\n constructor({ chains, options }) {\n super({\n chains,\n options: {\n reloadOnDisconnect: false,\n ...options\n }\n });\n this.id = \"coinbaseWallet\";\n this.name = \"Coinbase Wallet\";\n this.ready = true;\n (0,_chunk_W65LBPLT_js__WEBPACK_IMPORTED_MODULE_0__.__privateAdd)(this, _client, void 0);\n (0,_chunk_W65LBPLT_js__WEBPACK_IMPORTED_MODULE_0__.__privateAdd)(this, _provider, void 0);\n this.onAccountsChanged = (accounts) => {\n if (accounts.length === 0)\n this.emit(\"disconnect\");\n else\n this.emit(\"change\", { account: (0,viem__WEBPACK_IMPORTED_MODULE_1__.getAddress)(accounts[0]) });\n };\n this.onChainChanged = (chainId) => {\n const id = (0,_chunk_OQILYQDO_js__WEBPACK_IMPORTED_MODULE_2__.normalizeChainId)(chainId);\n const unsupported = this.isChainUnsupported(id);\n this.emit(\"change\", { chain: { id, unsupported } });\n };\n this.onDisconnect = () => {\n this.emit(\"disconnect\");\n };\n }\n async connect({ chainId } = {}) {\n try {\n const provider = await this.getProvider();\n provider.on(\"accountsChanged\", this.onAccountsChanged);\n provider.on(\"chainChanged\", this.onChainChanged);\n provider.on(\"disconnect\", this.onDisconnect);\n this.emit(\"message\", { type: \"connecting\" });\n const accounts = await provider.enable();\n const account = (0,viem__WEBPACK_IMPORTED_MODULE_1__.getAddress)(accounts[0]);\n let id = await this.getChainId();\n let unsupported = this.isChainUnsupported(id);\n if (chainId && id !== chainId) {\n const chain = await this.switchChain(chainId);\n id = chain.id;\n unsupported = this.isChainUnsupported(id);\n }\n return {\n account,\n chain: { id, unsupported }\n };\n } catch (error) {\n if (/(user closed modal|accounts received is empty)/i.test(\n error.message\n ))\n throw new viem__WEBPACK_IMPORTED_MODULE_3__.UserRejectedRequestError(error);\n throw error;\n }\n }\n async disconnect() {\n if (!(0,_chunk_W65LBPLT_js__WEBPACK_IMPORTED_MODULE_0__.__privateGet)(this, _provider))\n return;\n const provider = await this.getProvider();\n provider.removeListener(\"accountsChanged\", this.onAccountsChanged);\n provider.removeListener(\"
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@wagmi/connectors/dist/walletConnect.js":
|
|||
|
/*!**************************************************************!*\
|
|||
|
!*** ./node_modules/@wagmi/connectors/dist/walletConnect.js ***!
|
|||
|
\**************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ WalletConnectConnector: () => (/* binding */ WalletConnectConnector)\n/* harmony export */ });\n/* harmony import */ var _chunk_W65LBPLT_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./chunk-W65LBPLT.js */ \"./node_modules/@wagmi/connectors/dist/chunk-W65LBPLT.js\");\n/* harmony import */ var _walletconnect_utils__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @walletconnect/utils */ \"./node_modules/@wagmi/connectors/node_modules/@walletconnect/utils/dist/index.es.js\");\n/* harmony import */ var viem__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! viem */ \"./node_modules/viem/_esm/utils/address/getAddress.js\");\n/* harmony import */ var viem__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! viem */ \"./node_modules/viem/_esm/errors/rpc.js\");\n/* harmony import */ var viem__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! viem */ \"./node_modules/viem/_esm/clients/createWalletClient.js\");\n/* harmony import */ var viem__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! viem */ \"./node_modules/viem/_esm/clients/transports/custom.js\");\n/* harmony import */ var viem__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! viem */ \"./node_modules/viem/_esm/utils/encoding/toHex.js\");\n\n\n// src/walletConnect.ts\n\n\nvar NAMESPACE = \"eip155\";\nvar STORE_KEY = \"store\";\nvar REQUESTED_CHAINS_KEY = \"requestedChains\";\nvar ADD_ETH_CHAIN_METHOD = \"wallet_addEthereumChain\";\nvar _provider, _initProviderPromise, _createProvider, createProvider_fn, _initProvider, initProvider_fn, _isChainsStale, isChainsStale_fn, _setupListeners, setupListeners_fn, _removeListeners, removeListeners_fn, _setRequestedChainsIds, setRequestedChainsIds_fn, _getRequestedChainsIds, getRequestedChainsIds_fn, _getNamespaceChainsIds, getNamespaceChainsIds_fn, _getNamespaceMethods, getNamespaceMethods_fn;\nvar WalletConnectConnector = class extends _chunk_W65LBPLT_js__WEBPACK_IMPORTED_MODULE_0__.Connector {\n constructor(config) {\n super({\n ...config,\n options: { isNewChainsStale: true, ...config.options }\n });\n (0,_chunk_W65LBPLT_js__WEBPACK_IMPORTED_MODULE_0__.__privateAdd)(this, _createProvider);\n (0,_chunk_W65LBPLT_js__WEBPACK_IMPORTED_MODULE_0__.__privateAdd)(this, _initProvider);\n (0,_chunk_W65LBPLT_js__WEBPACK_IMPORTED_MODULE_0__.__privateAdd)(this, _isChainsStale);\n (0,_chunk_W65LBPLT_js__WEBPACK_IMPORTED_MODULE_0__.__privateAdd)(this, _setupListeners);\n (0,_chunk_W65LBPLT_js__WEBPACK_IMPORTED_MODULE_0__.__privateAdd)(this, _removeListeners);\n (0,_chunk_W65LBPLT_js__WEBPACK_IMPORTED_MODULE_0__.__privateAdd)(this, _setRequestedChainsIds);\n (0,_chunk_W65LBPLT_js__WEBPACK_IMPORTED_MODULE_0__.__privateAdd)(this, _getRequestedChainsIds);\n (0,_chunk_W65LBPLT_js__WEBPACK_IMPORTED_MODULE_0__.__privateAdd)(this, _getNamespaceChainsIds);\n (0,_chunk_W65LBPLT_js__WEBPACK_IMPORTED_MODULE_0__.__privateAdd)(this, _getNamespaceMethods);\n this.id = \"walletConnect\";\n this.name = \"WalletConnect\";\n this.ready = true;\n (0,_chunk_W65LBPLT_js__WEBPACK_IMPORTED_MODULE_0__.__privateAdd)(this, _provider, void 0);\n (0,_chunk_W65LBPLT_js__WEBPACK_IMPORTED_MODULE_0__.__privateAdd)(this, _initProviderPromise, void 0);\n this.onAccountsChanged = (accounts) => {\n if (accounts.length === 0)\n this.emit(\"disconnect\");\n else\n this.emit(\"change\", { account: (0,viem__WEBPACK_IMPORTED_MODULE_1__.getAddress)(accounts[0]) });\n };\n this.onChainChanged = (chainId) => {\n const id = Number(chainId);\n const unsupported = this.isChainUnsupported(id);\n this.emit(\"change\", { chain: { id, unsupported } });\n };\n this.onDisconnect = () => {\n (0,_chunk_W65LBPLT_js__WEBPACK_IMPORTED_MODULE_0__.__privateMethod)(this, _setRequestedChainsIds, setRequestedChainsIds_fn).call(this, []);\n this.emit(\"disconnect\");\n };\n this.onDisplayUri = (uri) => {
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@wagmi/core/dist/chunk-MQXBDTVK.js":
|
|||
|
/*!*********************************************************!*\
|
|||
|
!*** ./node_modules/@wagmi/core/dist/chunk-MQXBDTVK.js ***!
|
|||
|
\*********************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ __privateAdd: () => (/* binding */ __privateAdd),\n/* harmony export */ __privateGet: () => (/* binding */ __privateGet),\n/* harmony export */ __privateMethod: () => (/* binding */ __privateMethod),\n/* harmony export */ __privateSet: () => (/* binding */ __privateSet)\n/* harmony export */ });\nvar __accessCheck = (obj, member, msg) => {\n if (!member.has(obj))\n throw TypeError(\"Cannot \" + msg);\n};\nvar __privateGet = (obj, member, getter) => {\n __accessCheck(obj, member, \"read from private field\");\n return getter ? getter.call(obj) : member.get(obj);\n};\nvar __privateAdd = (obj, member, value) => {\n if (member.has(obj))\n throw TypeError(\"Cannot add the same private member more than once\");\n member instanceof WeakSet ? member.add(obj) : member.set(obj, value);\n};\nvar __privateSet = (obj, member, value, setter) => {\n __accessCheck(obj, member, \"write to private field\");\n setter ? setter.call(obj, value) : member.set(obj, value);\n return value;\n};\nvar __privateMethod = (obj, member, method) => {\n __accessCheck(obj, member, \"access private method\");\n return method;\n};\n\n\n\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@wagmi/core/dist/chunk-MQXBDTVK.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@wagmi/core/dist/chunk-TSH6VVF4.js":
|
|||
|
/*!*********************************************************!*\
|
|||
|
!*** ./node_modules/@wagmi/core/dist/chunk-TSH6VVF4.js ***!
|
|||
|
\*********************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ ChainMismatchError: () => (/* binding */ ChainMismatchError),\n/* harmony export */ ChainNotConfiguredError: () => (/* binding */ ChainNotConfiguredError),\n/* harmony export */ Config: () => (/* binding */ Config),\n/* harmony export */ ConfigChainsNotFound: () => (/* binding */ ConfigChainsNotFound),\n/* harmony export */ ConnectorAlreadyConnectedError: () => (/* binding */ ConnectorAlreadyConnectedError),\n/* harmony export */ ConnectorNotFoundError: () => (/* reexport safe */ _wagmi_connectors__WEBPACK_IMPORTED_MODULE_14__.ConnectorNotFoundError),\n/* harmony export */ SwitchChainNotSupportedError: () => (/* binding */ SwitchChainNotSupportedError),\n/* harmony export */ configureChains: () => (/* binding */ configureChains),\n/* harmony export */ connect: () => (/* binding */ connect),\n/* harmony export */ createConfig: () => (/* binding */ createConfig),\n/* harmony export */ createStorage: () => (/* binding */ createStorage),\n/* harmony export */ deepEqual: () => (/* binding */ deepEqual),\n/* harmony export */ deserialize: () => (/* binding */ deserialize),\n/* harmony export */ disconnect: () => (/* binding */ disconnect),\n/* harmony export */ erc20ABI: () => (/* binding */ erc20ABI),\n/* harmony export */ erc4626ABI: () => (/* binding */ erc4626ABI),\n/* harmony export */ erc721ABI: () => (/* binding */ erc721ABI),\n/* harmony export */ fetchBalance: () => (/* binding */ fetchBalance),\n/* harmony export */ fetchBlockNumber: () => (/* binding */ fetchBlockNumber),\n/* harmony export */ fetchEnsAddress: () => (/* binding */ fetchEnsAddress),\n/* harmony export */ fetchEnsAvatar: () => (/* binding */ fetchEnsAvatar),\n/* harmony export */ fetchEnsName: () => (/* binding */ fetchEnsName),\n/* harmony export */ fetchEnsResolver: () => (/* binding */ fetchEnsResolver),\n/* harmony export */ fetchFeeData: () => (/* binding */ fetchFeeData),\n/* harmony export */ fetchToken: () => (/* binding */ fetchToken),\n/* harmony export */ fetchTransaction: () => (/* binding */ fetchTransaction),\n/* harmony export */ getAccount: () => (/* binding */ getAccount),\n/* harmony export */ getCallParameters: () => (/* binding */ getCallParameters),\n/* harmony export */ getConfig: () => (/* binding */ getConfig),\n/* harmony export */ getContract: () => (/* binding */ getContract),\n/* harmony export */ getNetwork: () => (/* binding */ getNetwork),\n/* harmony export */ getPublicClient: () => (/* binding */ getPublicClient),\n/* harmony export */ getSendTransactionParameters: () => (/* binding */ getSendTransactionParameters),\n/* harmony export */ getUnit: () => (/* binding */ getUnit),\n/* harmony export */ getWalletClient: () => (/* binding */ getWalletClient),\n/* harmony export */ getWebSocketPublicClient: () => (/* binding */ getWebSocketPublicClient),\n/* harmony export */ multicall: () => (/* binding */ multicall),\n/* harmony export */ noopStorage: () => (/* binding */ noopStorage),\n/* harmony export */ prepareSendTransaction: () => (/* binding */ prepareSendTransaction),\n/* harmony export */ prepareWriteContract: () => (/* binding */ prepareWriteContract),\n/* harmony export */ readContract: () => (/* binding */ readContract),\n/* harmony export */ readContracts: () => (/* binding */ readContracts),\n/* harmony export */ sendTransaction: () => (/* binding */ sendTransaction),\n/* harmony export */ serialize: () => (/* binding */ serialize),\n/* harmony export */ signMessage: () => (/* binding */ signMessage),\n/* harmony export */ signTypedData: () => (/* binding */ signTypedData),\n/* harmony export */ switchNetwork: () => (/* binding */ switchNetwork),\n/* harmony export */ waitForTransaction: () => (/* binding */ waitForTransaction),\n/* harmony export */ watchAccount: () => (/* binding */ watchAccount),\n/* harmony export */ watchBlockNumber: () => (/* binding */ watchBlockNumbe
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@wagmi/core/dist/providers/public.js":
|
|||
|
/*!***********************************************************!*\
|
|||
|
!*** ./node_modules/@wagmi/core/dist/providers/public.js ***!
|
|||
|
\***********************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ publicProvider: () => (/* binding */ publicProvider)\n/* harmony export */ });\n\n\n// src/providers/public.ts\nfunction publicProvider() {\n return function(chain) {\n if (!chain.rpcUrls.public.http[0])\n return null;\n return {\n chain,\n rpcUrls: chain.rpcUrls.public\n };\n };\n}\n\n\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@wagmi/core/dist/providers/public.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/common/dist/esm/index.js":
|
|||
|
/*!**********************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/common/dist/esm/index.js ***!
|
|||
|
\**********************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ DateUtil: () => (/* reexport safe */ _src_utils_DateUtil_js__WEBPACK_IMPORTED_MODULE_0__.DateUtil)\n/* harmony export */ });\n/* harmony import */ var _src_utils_DateUtil_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./src/utils/DateUtil.js */ \"./node_modules/@web3modal/common/dist/esm/src/utils/DateUtil.js\");\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/common/dist/esm/index.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/common/dist/esm/src/utils/DateUtil.js":
|
|||
|
/*!***********************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/common/dist/esm/src/utils/DateUtil.js ***!
|
|||
|
\***********************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ DateUtil: () => (/* binding */ DateUtil)\n/* harmony export */ });\n/* harmony import */ var dayjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! dayjs */ \"./node_modules/dayjs/dayjs.min.js\");\n/* harmony import */ var dayjs_plugin_updateLocale_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! dayjs/plugin/updateLocale.js */ \"./node_modules/dayjs/plugin/updateLocale.js\");\n/* harmony import */ var dayjs_plugin_relativeTime_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! dayjs/plugin/relativeTime.js */ \"./node_modules/dayjs/plugin/relativeTime.js\");\n\n\n\ndayjs__WEBPACK_IMPORTED_MODULE_0__.extend(dayjs_plugin_relativeTime_js__WEBPACK_IMPORTED_MODULE_2__);\ndayjs__WEBPACK_IMPORTED_MODULE_0__.extend(dayjs_plugin_updateLocale_js__WEBPACK_IMPORTED_MODULE_1__);\ndayjs__WEBPACK_IMPORTED_MODULE_0__.updateLocale('en', {\n relativeTime: {\n future: 'in %s',\n past: '%s ago',\n s: '%s sec',\n m: '1 min',\n mm: '%d min',\n h: '1 hr',\n hh: '%d hrs',\n d: '1 d',\n dd: '%d d',\n M: '1 mo',\n MM: '%d mo',\n y: '1 yr',\n yy: '%d yr'\n }\n});\nconst DateUtil = {\n getYear(date = new Date().toISOString()) {\n return dayjs__WEBPACK_IMPORTED_MODULE_0__(date).year();\n },\n getRelativeDateFromNow(date) {\n return dayjs__WEBPACK_IMPORTED_MODULE_0__(date).fromNow(true);\n }\n};\n//# sourceMappingURL=DateUtil.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/common/dist/esm/src/utils/DateUtil.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/core/dist/esm/index.js":
|
|||
|
/*!********************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/core/dist/esm/index.js ***!
|
|||
|
\********************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ AccountController: () => (/* reexport safe */ _src_controllers_AccountController_js__WEBPACK_IMPORTED_MODULE_2__.AccountController),\n/* harmony export */ ApiController: () => (/* reexport safe */ _src_controllers_ApiController_js__WEBPACK_IMPORTED_MODULE_8__.ApiController),\n/* harmony export */ AssetController: () => (/* reexport safe */ _src_controllers_AssetController_js__WEBPACK_IMPORTED_MODULE_9__.AssetController),\n/* harmony export */ AssetUtil: () => (/* reexport safe */ _src_utils_AssetUtil_js__WEBPACK_IMPORTED_MODULE_16__.AssetUtil),\n/* harmony export */ BlockchainApiController: () => (/* reexport safe */ _src_controllers_BlockchainApiController_js__WEBPACK_IMPORTED_MODULE_12__.BlockchainApiController),\n/* harmony export */ ConnectionController: () => (/* reexport safe */ _src_controllers_ConnectionController_js__WEBPACK_IMPORTED_MODULE_4__.ConnectionController),\n/* harmony export */ ConnectorController: () => (/* reexport safe */ _src_controllers_ConnectorController_js__WEBPACK_IMPORTED_MODULE_6__.ConnectorController),\n/* harmony export */ ConstantsUtil: () => (/* reexport safe */ _src_utils_ConstantsUtil_js__WEBPACK_IMPORTED_MODULE_17__.ConstantsUtil),\n/* harmony export */ CoreHelperUtil: () => (/* reexport safe */ _src_utils_CoreHelperUtil_js__WEBPACK_IMPORTED_MODULE_18__.CoreHelperUtil),\n/* harmony export */ EventsController: () => (/* reexport safe */ _src_controllers_EventsController_js__WEBPACK_IMPORTED_MODULE_14__.EventsController),\n/* harmony export */ ModalController: () => (/* reexport safe */ _src_controllers_ModalController_js__WEBPACK_IMPORTED_MODULE_0__.ModalController),\n/* harmony export */ NetworkController: () => (/* reexport safe */ _src_controllers_NetworkController_js__WEBPACK_IMPORTED_MODULE_3__.NetworkController),\n/* harmony export */ OptionsController: () => (/* reexport safe */ _src_controllers_OptionsController_js__WEBPACK_IMPORTED_MODULE_11__.OptionsController),\n/* harmony export */ PublicStateController: () => (/* reexport safe */ _src_controllers_PublicStateController_js__WEBPACK_IMPORTED_MODULE_13__.PublicStateController),\n/* harmony export */ RouterController: () => (/* reexport safe */ _src_controllers_RouterController_js__WEBPACK_IMPORTED_MODULE_1__.RouterController),\n/* harmony export */ SIWEController: () => (/* reexport safe */ _src_controllers_SIWEController_js__WEBPACK_IMPORTED_MODULE_5__.SIWEController),\n/* harmony export */ SnackController: () => (/* reexport safe */ _src_controllers_SnackController_js__WEBPACK_IMPORTED_MODULE_7__.SnackController),\n/* harmony export */ StorageUtil: () => (/* reexport safe */ _src_utils_StorageUtil_js__WEBPACK_IMPORTED_MODULE_19__.StorageUtil),\n/* harmony export */ ThemeController: () => (/* reexport safe */ _src_controllers_ThemeController_js__WEBPACK_IMPORTED_MODULE_10__.ThemeController),\n/* harmony export */ TransactionsController: () => (/* reexport safe */ _src_controllers_TransactionsController_js__WEBPACK_IMPORTED_MODULE_15__.TransactionsController)\n/* harmony export */ });\n/* harmony import */ var _src_controllers_ModalController_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./src/controllers/ModalController.js */ \"./node_modules/@web3modal/core/dist/esm/src/controllers/ModalController.js\");\n/* harmony import */ var _src_controllers_RouterController_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./src/controllers/RouterController.js */ \"./node_modules/@web3modal/core/dist/esm/src/controllers/RouterController.js\");\n/* harmony import */ var _src_controllers_AccountController_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./src/controllers/AccountController.js */ \"./node_modules/@web3modal/core/dist/esm/src/controllers/AccountController.js\");\n/* harmony import */ var _src_controllers_NetworkController_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./src/controllers/NetworkController.js
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/core/dist/esm/src/controllers/AccountController.js":
|
|||
|
/*!************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/core/dist/esm/src/controllers/AccountController.js ***!
|
|||
|
\************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ AccountController: () => (/* binding */ AccountController)\n/* harmony export */ });\n/* harmony import */ var valtio_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! valtio/utils */ \"./node_modules/valtio/esm/vanilla/utils.mjs\");\n/* harmony import */ var valtio_vanilla__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! valtio/vanilla */ \"./node_modules/valtio/esm/vanilla.mjs\");\n/* harmony import */ var _utils_CoreHelperUtil_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils/CoreHelperUtil.js */ \"./node_modules/@web3modal/core/dist/esm/src/utils/CoreHelperUtil.js\");\n\n\n\nconst state = (0,valtio_vanilla__WEBPACK_IMPORTED_MODULE_1__.proxy)({\n isConnected: false\n});\nconst AccountController = {\n state,\n subscribe(callback) {\n return (0,valtio_vanilla__WEBPACK_IMPORTED_MODULE_1__.subscribe)(state, () => callback(state));\n },\n subscribeKey(key, callback) {\n return (0,valtio_utils__WEBPACK_IMPORTED_MODULE_2__.subscribeKey)(state, key, callback);\n },\n setIsConnected(isConnected) {\n state.isConnected = isConnected;\n },\n setCaipAddress(caipAddress) {\n state.caipAddress = caipAddress;\n state.address = caipAddress ? _utils_CoreHelperUtil_js__WEBPACK_IMPORTED_MODULE_0__.CoreHelperUtil.getPlainAddress(caipAddress) : undefined;\n },\n setBalance(balance, balanceSymbol) {\n state.balance = balance;\n state.balanceSymbol = balanceSymbol;\n },\n setProfileName(profileName) {\n state.profileName = profileName;\n },\n setProfileImage(profileImage) {\n state.profileImage = profileImage;\n },\n setAddressExplorerUrl(explorerUrl) {\n state.addressExplorerUrl = explorerUrl;\n },\n resetAccount() {\n state.isConnected = false;\n state.caipAddress = undefined;\n state.address = undefined;\n state.balance = undefined;\n state.balanceSymbol = undefined;\n state.profileName = undefined;\n state.profileImage = undefined;\n state.addressExplorerUrl = undefined;\n }\n};\n//# sourceMappingURL=AccountController.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/core/dist/esm/src/controllers/AccountController.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/core/dist/esm/src/controllers/ApiController.js":
|
|||
|
/*!********************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/core/dist/esm/src/controllers/ApiController.js ***!
|
|||
|
\********************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ ApiController: () => (/* binding */ ApiController)\n/* harmony export */ });\n/* harmony import */ var valtio_utils__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! valtio/utils */ \"./node_modules/valtio/esm/vanilla/utils.mjs\");\n/* harmony import */ var valtio_vanilla__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! valtio/vanilla */ \"./node_modules/valtio/esm/vanilla.mjs\");\n/* harmony import */ var _utils_CoreHelperUtil_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils/CoreHelperUtil.js */ \"./node_modules/@web3modal/core/dist/esm/src/utils/CoreHelperUtil.js\");\n/* harmony import */ var _utils_FetchUtil_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils/FetchUtil.js */ \"./node_modules/@web3modal/core/dist/esm/src/utils/FetchUtil.js\");\n/* harmony import */ var _utils_StorageUtil_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils/StorageUtil.js */ \"./node_modules/@web3modal/core/dist/esm/src/utils/StorageUtil.js\");\n/* harmony import */ var _AssetController_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./AssetController.js */ \"./node_modules/@web3modal/core/dist/esm/src/controllers/AssetController.js\");\n/* harmony import */ var _ConnectorController_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./ConnectorController.js */ \"./node_modules/@web3modal/core/dist/esm/src/controllers/ConnectorController.js\");\n/* harmony import */ var _NetworkController_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./NetworkController.js */ \"./node_modules/@web3modal/core/dist/esm/src/controllers/NetworkController.js\");\n/* harmony import */ var _OptionsController_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./OptionsController.js */ \"./node_modules/@web3modal/core/dist/esm/src/controllers/OptionsController.js\");\n\n\n\n\n\n\n\n\n\nconst baseUrl = _utils_CoreHelperUtil_js__WEBPACK_IMPORTED_MODULE_0__.CoreHelperUtil.getApiUrl();\nconst api = new _utils_FetchUtil_js__WEBPACK_IMPORTED_MODULE_1__.FetchUtil({ baseUrl });\nconst entries = '40';\nconst recommendedEntries = '4';\nconst state = (0,valtio_vanilla__WEBPACK_IMPORTED_MODULE_7__.proxy)({\n page: 1,\n count: 0,\n featured: [],\n recommended: [],\n wallets: [],\n search: []\n});\nconst ApiController = {\n state,\n subscribeKey(key, callback) {\n return (0,valtio_utils__WEBPACK_IMPORTED_MODULE_8__.subscribeKey)(state, key, callback);\n },\n _getApiHeaders() {\n const { projectId, sdkType, sdkVersion } = _OptionsController_js__WEBPACK_IMPORTED_MODULE_6__.OptionsController.state;\n return {\n 'x-project-id': projectId,\n 'x-sdk-type': sdkType,\n 'x-sdk-version': sdkVersion\n };\n },\n async _fetchWalletImage(imageId) {\n const imageUrl = `${api.baseUrl}/getWalletImage/${imageId}`;\n const blob = await api.getBlob({ path: imageUrl, headers: ApiController._getApiHeaders() });\n _AssetController_js__WEBPACK_IMPORTED_MODULE_3__.AssetController.setWalletImage(imageId, URL.createObjectURL(blob));\n },\n async _fetchNetworkImage(imageId) {\n const imageUrl = `${api.baseUrl}/public/getAssetImage/${imageId}`;\n const blob = await api.getBlob({ path: imageUrl, headers: ApiController._getApiHeaders() });\n _AssetController_js__WEBPACK_IMPORTED_MODULE_3__.AssetController.setNetworkImage(imageId, URL.createObjectURL(blob));\n },\n async _fetchConnectorImage(imageId) {\n const imageUrl = `${api.baseUrl}/public/getAssetImage/${imageId}`;\n const blob = await api.getBlob({ path: imageUrl, headers: ApiController._getApiHeaders() });\n _AssetController_js__WEBPACK_IMPORTED_MODULE_3__.AssetController.setConnectorImage(imageId, URL.createObjectURL(blob));\n },\n async fetchNetworkImages() {\n const { requestedCaipNetworks } = _NetworkController_js__WEBPACK_IMPORTED_MO
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/core/dist/esm/src/controllers/AssetController.js":
|
|||
|
/*!**********************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/core/dist/esm/src/controllers/AssetController.js ***!
|
|||
|
\**********************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ AssetController: () => (/* binding */ AssetController)\n/* harmony export */ });\n/* harmony import */ var valtio_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! valtio/utils */ \"./node_modules/valtio/esm/vanilla/utils.mjs\");\n/* harmony import */ var valtio_vanilla__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! valtio/vanilla */ \"./node_modules/valtio/esm/vanilla.mjs\");\n\n\nconst state = (0,valtio_vanilla__WEBPACK_IMPORTED_MODULE_0__.proxy)({\n walletImages: {},\n networkImages: {},\n connectorImages: {},\n tokenImages: {}\n});\nconst AssetController = {\n state,\n subscribeNetworkImages(callback) {\n return (0,valtio_vanilla__WEBPACK_IMPORTED_MODULE_0__.subscribe)(state.networkImages, () => callback(state.networkImages));\n },\n subscribeKey(key, callback) {\n return (0,valtio_utils__WEBPACK_IMPORTED_MODULE_1__.subscribeKey)(state, key, callback);\n },\n setWalletImage(key, value) {\n state.walletImages[key] = value;\n },\n setNetworkImage(key, value) {\n state.networkImages[key] = value;\n },\n setConnectorImage(key, value) {\n state.connectorImages[key] = value;\n },\n setTokenImage(key, value) {\n state.tokenImages[key] = value;\n }\n};\n//# sourceMappingURL=AssetController.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/core/dist/esm/src/controllers/AssetController.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/core/dist/esm/src/controllers/BlockchainApiController.js":
|
|||
|
/*!******************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/core/dist/esm/src/controllers/BlockchainApiController.js ***!
|
|||
|
\******************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ BlockchainApiController: () => (/* binding */ BlockchainApiController)\n/* harmony export */ });\n/* harmony import */ var _utils_CoreHelperUtil_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils/CoreHelperUtil.js */ \"./node_modules/@web3modal/core/dist/esm/src/utils/CoreHelperUtil.js\");\n/* harmony import */ var _utils_FetchUtil_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils/FetchUtil.js */ \"./node_modules/@web3modal/core/dist/esm/src/utils/FetchUtil.js\");\n/* harmony import */ var _OptionsController_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./OptionsController.js */ \"./node_modules/@web3modal/core/dist/esm/src/controllers/OptionsController.js\");\n\n\n\nconst baseUrl = _utils_CoreHelperUtil_js__WEBPACK_IMPORTED_MODULE_0__.CoreHelperUtil.getBlockchainApiUrl();\nconst api = new _utils_FetchUtil_js__WEBPACK_IMPORTED_MODULE_1__.FetchUtil({ baseUrl });\nconst BlockchainApiController = {\n fetchIdentity({ caipChainId, address }) {\n return api.get({\n path: `/v1/identity/${address}`,\n params: {\n chainId: caipChainId,\n projectId: _OptionsController_js__WEBPACK_IMPORTED_MODULE_2__.OptionsController.state.projectId\n }\n });\n },\n fetchTransactions({ account, projectId, cursor }) {\n const queryParams = cursor ? { cursor } : {};\n return api.get({\n path: `/v1/account/${account}/history?projectId=${projectId}`,\n params: queryParams\n });\n }\n};\n//# sourceMappingURL=BlockchainApiController.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/core/dist/esm/src/controllers/BlockchainApiController.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/core/dist/esm/src/controllers/ConnectionController.js":
|
|||
|
/*!***************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/core/dist/esm/src/controllers/ConnectionController.js ***!
|
|||
|
\***************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ ConnectionController: () => (/* binding */ ConnectionController)\n/* harmony export */ });\n/* harmony import */ var valtio_utils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! valtio/utils */ \"./node_modules/valtio/esm/vanilla/utils.mjs\");\n/* harmony import */ var valtio_vanilla__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! valtio/vanilla */ \"./node_modules/valtio/esm/vanilla.mjs\");\n/* harmony import */ var _utils_CoreHelperUtil_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils/CoreHelperUtil.js */ \"./node_modules/@web3modal/core/dist/esm/src/utils/CoreHelperUtil.js\");\n/* harmony import */ var _utils_StorageUtil_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils/StorageUtil.js */ \"./node_modules/@web3modal/core/dist/esm/src/utils/StorageUtil.js\");\n/* harmony import */ var _TransactionsController_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./TransactionsController.js */ \"./node_modules/@web3modal/core/dist/esm/src/controllers/TransactionsController.js\");\n\n\n\n\n\nconst state = (0,valtio_vanilla__WEBPACK_IMPORTED_MODULE_3__.proxy)({\n wcError: false,\n buffering: false\n});\nconst ConnectionController = {\n state,\n subscribeKey(key, callback) {\n return (0,valtio_utils__WEBPACK_IMPORTED_MODULE_4__.subscribeKey)(state, key, callback);\n },\n _getClient() {\n if (!state._client) {\n throw new Error('ConnectionController client not set');\n }\n return state._client;\n },\n setClient(client) {\n state._client = (0,valtio_vanilla__WEBPACK_IMPORTED_MODULE_3__.ref)(client);\n },\n connectWalletConnect() {\n state.wcPromise = this._getClient().connectWalletConnect(uri => {\n state.wcUri = uri;\n state.wcPairingExpiry = _utils_CoreHelperUtil_js__WEBPACK_IMPORTED_MODULE_0__.CoreHelperUtil.getPairingExpiry();\n });\n },\n async connectExternal(options) {\n await this._getClient().connectExternal?.(options);\n },\n checkInstalled(ids) {\n return this._getClient().checkInstalled?.(ids);\n },\n resetWcConnection() {\n state.wcUri = undefined;\n state.wcPairingExpiry = undefined;\n state.wcPromise = undefined;\n state.wcLinking = undefined;\n state.recentWallet = undefined;\n _TransactionsController_js__WEBPACK_IMPORTED_MODULE_2__.TransactionsController.resetTransactions();\n _utils_StorageUtil_js__WEBPACK_IMPORTED_MODULE_1__.StorageUtil.deleteWalletConnectDeepLink();\n },\n setWcLinking(wcLinking) {\n state.wcLinking = wcLinking;\n },\n setWcError(wcError) {\n state.wcError = wcError;\n state.buffering = false;\n },\n setRecentWallet(wallet) {\n state.recentWallet = wallet;\n },\n setBuffering(buffering) {\n state.buffering = buffering;\n },\n async disconnect() {\n await this._getClient().disconnect();\n this.resetWcConnection();\n }\n};\n//# sourceMappingURL=ConnectionController.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/core/dist/esm/src/controllers/ConnectionController.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/core/dist/esm/src/controllers/ConnectorController.js":
|
|||
|
/*!**************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/core/dist/esm/src/controllers/ConnectorController.js ***!
|
|||
|
\**************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ ConnectorController: () => (/* binding */ ConnectorController)\n/* harmony export */ });\n/* harmony import */ var valtio_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! valtio/utils */ \"./node_modules/valtio/esm/vanilla/utils.mjs\");\n/* harmony import */ var valtio_vanilla__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! valtio/vanilla */ \"./node_modules/valtio/esm/vanilla.mjs\");\n\n\nconst state = (0,valtio_vanilla__WEBPACK_IMPORTED_MODULE_0__.proxy)({\n connectors: []\n});\nconst ConnectorController = {\n state,\n subscribeKey(key, callback) {\n return (0,valtio_utils__WEBPACK_IMPORTED_MODULE_1__.subscribeKey)(state, key, callback);\n },\n setConnectors(connectors) {\n state.connectors = connectors.map(c => (0,valtio_vanilla__WEBPACK_IMPORTED_MODULE_0__.ref)(c));\n },\n addConnector(connector) {\n state.connectors.push((0,valtio_vanilla__WEBPACK_IMPORTED_MODULE_0__.ref)(connector));\n },\n getConnectors() {\n return state.connectors;\n }\n};\n//# sourceMappingURL=ConnectorController.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/core/dist/esm/src/controllers/ConnectorController.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/core/dist/esm/src/controllers/EventsController.js":
|
|||
|
/*!***********************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/core/dist/esm/src/controllers/EventsController.js ***!
|
|||
|
\***********************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ EventsController: () => (/* binding */ EventsController)\n/* harmony export */ });\n/* harmony import */ var valtio_vanilla__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! valtio/vanilla */ \"./node_modules/valtio/esm/vanilla.mjs\");\n/* harmony import */ var _utils_CoreHelperUtil_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils/CoreHelperUtil.js */ \"./node_modules/@web3modal/core/dist/esm/src/utils/CoreHelperUtil.js\");\n/* harmony import */ var _utils_FetchUtil_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils/FetchUtil.js */ \"./node_modules/@web3modal/core/dist/esm/src/utils/FetchUtil.js\");\n/* harmony import */ var _OptionsController_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./OptionsController.js */ \"./node_modules/@web3modal/core/dist/esm/src/controllers/OptionsController.js\");\n\n\n\n\nconst baseUrl = _utils_CoreHelperUtil_js__WEBPACK_IMPORTED_MODULE_0__.CoreHelperUtil.getAnalyticsUrl();\nconst api = new _utils_FetchUtil_js__WEBPACK_IMPORTED_MODULE_1__.FetchUtil({ baseUrl });\nconst excluded = ['MODAL_CREATED'];\nconst state = (0,valtio_vanilla__WEBPACK_IMPORTED_MODULE_3__.proxy)({\n timestamp: Date.now(),\n data: {\n type: 'track',\n event: 'MODAL_CREATED'\n }\n});\nconst EventsController = {\n state,\n subscribe(callback) {\n return (0,valtio_vanilla__WEBPACK_IMPORTED_MODULE_3__.subscribe)(state, () => callback(state));\n },\n _getApiHeaders() {\n const { projectId, sdkType, sdkVersion } = _OptionsController_js__WEBPACK_IMPORTED_MODULE_2__.OptionsController.state;\n return {\n 'x-project-id': projectId,\n 'x-sdk-type': sdkType,\n 'x-sdk-version': sdkVersion\n };\n },\n async _sendAnalyticsEvent(payload) {\n try {\n if (excluded.includes(payload.data.event) || typeof window === 'undefined') {\n return;\n }\n await api.post({\n path: '/e',\n headers: EventsController._getApiHeaders(),\n body: {\n eventId: _utils_CoreHelperUtil_js__WEBPACK_IMPORTED_MODULE_0__.CoreHelperUtil.getUUID(),\n url: window.location.href,\n domain: window.location.hostname,\n timestamp: payload.timestamp,\n props: payload.data\n }\n });\n }\n catch {\n }\n },\n sendEvent(data) {\n state.timestamp = Date.now();\n state.data = data;\n if (_OptionsController_js__WEBPACK_IMPORTED_MODULE_2__.OptionsController.state.enableAnalytics) {\n EventsController._sendAnalyticsEvent(state);\n }\n }\n};\n//# sourceMappingURL=EventsController.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/core/dist/esm/src/controllers/EventsController.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/core/dist/esm/src/controllers/ModalController.js":
|
|||
|
/*!**********************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/core/dist/esm/src/controllers/ModalController.js ***!
|
|||
|
\**********************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ ModalController: () => (/* binding */ ModalController)\n/* harmony export */ });\n/* harmony import */ var valtio_utils__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! valtio/utils */ \"./node_modules/valtio/esm/vanilla/utils.mjs\");\n/* harmony import */ var valtio_vanilla__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! valtio/vanilla */ \"./node_modules/valtio/esm/vanilla.mjs\");\n/* harmony import */ var _AccountController_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./AccountController.js */ \"./node_modules/@web3modal/core/dist/esm/src/controllers/AccountController.js\");\n/* harmony import */ var _ApiController_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./ApiController.js */ \"./node_modules/@web3modal/core/dist/esm/src/controllers/ApiController.js\");\n/* harmony import */ var _EventsController_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./EventsController.js */ \"./node_modules/@web3modal/core/dist/esm/src/controllers/EventsController.js\");\n/* harmony import */ var _PublicStateController_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./PublicStateController.js */ \"./node_modules/@web3modal/core/dist/esm/src/controllers/PublicStateController.js\");\n/* harmony import */ var _RouterController_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./RouterController.js */ \"./node_modules/@web3modal/core/dist/esm/src/controllers/RouterController.js\");\n\n\n\n\n\n\n\nconst state = (0,valtio_vanilla__WEBPACK_IMPORTED_MODULE_5__.proxy)({\n open: false\n});\nconst ModalController = {\n state,\n subscribeKey(key, callback) {\n return (0,valtio_utils__WEBPACK_IMPORTED_MODULE_6__.subscribeKey)(state, key, callback);\n },\n async open(options) {\n await _ApiController_js__WEBPACK_IMPORTED_MODULE_1__.ApiController.state.prefetchPromise;\n if (options?.view) {\n _RouterController_js__WEBPACK_IMPORTED_MODULE_4__.RouterController.reset(options.view);\n }\n else if (_AccountController_js__WEBPACK_IMPORTED_MODULE_0__.AccountController.state.isConnected) {\n _RouterController_js__WEBPACK_IMPORTED_MODULE_4__.RouterController.reset('Account');\n }\n else {\n _RouterController_js__WEBPACK_IMPORTED_MODULE_4__.RouterController.reset('Connect');\n }\n state.open = true;\n _PublicStateController_js__WEBPACK_IMPORTED_MODULE_3__.PublicStateController.set({ open: true });\n _EventsController_js__WEBPACK_IMPORTED_MODULE_2__.EventsController.sendEvent({ type: 'track', event: 'MODAL_OPEN' });\n },\n close() {\n state.open = false;\n _PublicStateController_js__WEBPACK_IMPORTED_MODULE_3__.PublicStateController.set({ open: false });\n _EventsController_js__WEBPACK_IMPORTED_MODULE_2__.EventsController.sendEvent({ type: 'track', event: 'MODAL_CLOSE' });\n }\n};\n//# sourceMappingURL=ModalController.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/core/dist/esm/src/controllers/ModalController.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/core/dist/esm/src/controllers/NetworkController.js":
|
|||
|
/*!************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/core/dist/esm/src/controllers/NetworkController.js ***!
|
|||
|
\************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ NetworkController: () => (/* binding */ NetworkController)\n/* harmony export */ });\n/* harmony import */ var valtio_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! valtio/utils */ \"./node_modules/valtio/esm/vanilla/utils.mjs\");\n/* harmony import */ var valtio_vanilla__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! valtio/vanilla */ \"./node_modules/valtio/esm/vanilla.mjs\");\n/* harmony import */ var _PublicStateController_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./PublicStateController.js */ \"./node_modules/@web3modal/core/dist/esm/src/controllers/PublicStateController.js\");\n\n\n\nconst state = (0,valtio_vanilla__WEBPACK_IMPORTED_MODULE_1__.proxy)({\n supportsAllNetworks: true,\n isDefaultCaipNetwork: false\n});\nconst NetworkController = {\n state,\n subscribeKey(key, callback) {\n return (0,valtio_utils__WEBPACK_IMPORTED_MODULE_2__.subscribeKey)(state, key, callback);\n },\n _getClient() {\n if (!state._client) {\n throw new Error('NetworkController client not set');\n }\n return state._client;\n },\n setClient(client) {\n state._client = (0,valtio_vanilla__WEBPACK_IMPORTED_MODULE_1__.ref)(client);\n },\n setCaipNetwork(caipNetwork) {\n state.caipNetwork = caipNetwork;\n _PublicStateController_js__WEBPACK_IMPORTED_MODULE_0__.PublicStateController.set({ selectedNetworkId: caipNetwork?.id });\n },\n setDefaultCaipNetwork(caipNetwork) {\n state.caipNetwork = caipNetwork;\n _PublicStateController_js__WEBPACK_IMPORTED_MODULE_0__.PublicStateController.set({ selectedNetworkId: caipNetwork?.id });\n state.isDefaultCaipNetwork = true;\n },\n setRequestedCaipNetworks(requestedNetworks) {\n state.requestedCaipNetworks = requestedNetworks;\n },\n async getApprovedCaipNetworksData() {\n const data = await this._getClient().getApprovedCaipNetworksData();\n state.supportsAllNetworks = data.supportsAllNetworks;\n state.approvedCaipNetworkIds = data.approvedCaipNetworkIds;\n },\n async switchActiveNetwork(network) {\n await this._getClient().switchCaipNetwork(network);\n state.caipNetwork = network;\n },\n resetNetwork() {\n if (!state.isDefaultCaipNetwork) {\n state.caipNetwork = undefined;\n }\n state.approvedCaipNetworkIds = undefined;\n state.supportsAllNetworks = true;\n }\n};\n//# sourceMappingURL=NetworkController.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/core/dist/esm/src/controllers/NetworkController.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/core/dist/esm/src/controllers/OptionsController.js":
|
|||
|
/*!************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/core/dist/esm/src/controllers/OptionsController.js ***!
|
|||
|
\************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ OptionsController: () => (/* binding */ OptionsController)\n/* harmony export */ });\n/* harmony import */ var valtio_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! valtio/utils */ \"./node_modules/valtio/esm/vanilla/utils.mjs\");\n/* harmony import */ var valtio_vanilla__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! valtio/vanilla */ \"./node_modules/valtio/esm/vanilla.mjs\");\n\n\nconst state = (0,valtio_vanilla__WEBPACK_IMPORTED_MODULE_0__.proxy)({\n projectId: '',\n sdkType: 'w3m',\n sdkVersion: 'html-wagmi-undefined'\n});\nconst OptionsController = {\n state,\n subscribeKey(key, callback) {\n return (0,valtio_utils__WEBPACK_IMPORTED_MODULE_1__.subscribeKey)(state, key, callback);\n },\n setProjectId(projectId) {\n state.projectId = projectId;\n },\n setIncludeWalletIds(includeWalletIds) {\n state.includeWalletIds = includeWalletIds;\n },\n setExcludeWalletIds(excludeWalletIds) {\n state.excludeWalletIds = excludeWalletIds;\n },\n setFeaturedWalletIds(featuredWalletIds) {\n state.featuredWalletIds = featuredWalletIds;\n },\n setTokens(tokens) {\n state.tokens = tokens;\n },\n setTermsConditionsUrl(termsConditionsUrl) {\n state.termsConditionsUrl = termsConditionsUrl;\n },\n setPrivacyPolicyUrl(privacyPolicyUrl) {\n state.privacyPolicyUrl = privacyPolicyUrl;\n },\n setCustomWallets(customWallets) {\n state.customWallets = customWallets;\n },\n setEnableAnalytics(enableAnalytics) {\n state.enableAnalytics = enableAnalytics;\n },\n setSdkVersion(sdkVersion) {\n state.sdkVersion = sdkVersion;\n },\n setMetadata(metadata) {\n state.metadata = metadata;\n }\n};\n//# sourceMappingURL=OptionsController.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/core/dist/esm/src/controllers/OptionsController.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/core/dist/esm/src/controllers/PublicStateController.js":
|
|||
|
/*!****************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/core/dist/esm/src/controllers/PublicStateController.js ***!
|
|||
|
\****************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ PublicStateController: () => (/* binding */ PublicStateController)\n/* harmony export */ });\n/* harmony import */ var valtio_vanilla__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! valtio/vanilla */ \"./node_modules/valtio/esm/vanilla.mjs\");\n\nconst state = (0,valtio_vanilla__WEBPACK_IMPORTED_MODULE_0__.proxy)({\n open: false,\n selectedNetworkId: undefined\n});\nconst PublicStateController = {\n state,\n subscribe(callback) {\n return (0,valtio_vanilla__WEBPACK_IMPORTED_MODULE_0__.subscribe)(state, () => callback(state));\n },\n set(newState) {\n Object.assign(state, { ...state, ...newState });\n }\n};\n//# sourceMappingURL=PublicStateController.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/core/dist/esm/src/controllers/PublicStateController.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/core/dist/esm/src/controllers/RouterController.js":
|
|||
|
/*!***********************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/core/dist/esm/src/controllers/RouterController.js ***!
|
|||
|
\***********************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ RouterController: () => (/* binding */ RouterController)\n/* harmony export */ });\n/* harmony import */ var valtio_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! valtio/utils */ \"./node_modules/valtio/esm/vanilla/utils.mjs\");\n/* harmony import */ var valtio_vanilla__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! valtio/vanilla */ \"./node_modules/valtio/esm/vanilla.mjs\");\n\n\nconst state = (0,valtio_vanilla__WEBPACK_IMPORTED_MODULE_0__.proxy)({\n view: 'Connect',\n history: ['Connect']\n});\nconst RouterController = {\n state,\n subscribeKey(key, callback) {\n return (0,valtio_utils__WEBPACK_IMPORTED_MODULE_1__.subscribeKey)(state, key, callback);\n },\n push(view, data) {\n if (view !== state.view) {\n state.view = view;\n state.history.push(view);\n state.data = data;\n }\n },\n reset(view) {\n state.view = view;\n state.history = [view];\n },\n replace(view) {\n if (state.history.length > 1 && state.history.at(-1) !== view) {\n state.view = view;\n state.history[state.history.length - 1] = view;\n }\n },\n goBack() {\n if (state.history.length > 1) {\n state.history.pop();\n const [last] = state.history.slice(-1);\n if (last) {\n state.view = last;\n }\n }\n }\n};\n//# sourceMappingURL=RouterController.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/core/dist/esm/src/controllers/RouterController.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/core/dist/esm/src/controllers/SIWEController.js":
|
|||
|
/*!*********************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/core/dist/esm/src/controllers/SIWEController.js ***!
|
|||
|
\*********************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ SIWEController: () => (/* binding */ SIWEController)\n/* harmony export */ });\n/* harmony import */ var valtio_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! valtio/utils */ \"./node_modules/valtio/esm/vanilla/utils.mjs\");\n/* harmony import */ var valtio_vanilla__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! valtio/vanilla */ \"./node_modules/valtio/esm/vanilla.mjs\");\n\n\nconst state = (0,valtio_vanilla__WEBPACK_IMPORTED_MODULE_0__.proxy)({\n status: 'uninitialized'\n});\nconst SIWEController = {\n state,\n subscribeKey(key, callback) {\n return (0,valtio_utils__WEBPACK_IMPORTED_MODULE_1__.subscribeKey)(state, key, callback);\n },\n subscribe(callback) {\n return (0,valtio_vanilla__WEBPACK_IMPORTED_MODULE_0__.subscribe)(state, () => callback(state));\n },\n _getClient() {\n if (!state._client) {\n throw new Error('SIWEController client not set');\n }\n return state._client;\n },\n setSIWEClient(client) {\n state._client = (0,valtio_vanilla__WEBPACK_IMPORTED_MODULE_0__.ref)(client);\n state.status = 'ready';\n },\n setNonce(nonce) {\n state.nonce = nonce;\n },\n setStatus(status) {\n state.status = status;\n },\n setMessage(message) {\n state.message = message;\n },\n setSession(session) {\n state.session = session;\n }\n};\n//# sourceMappingURL=SIWEController.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/core/dist/esm/src/controllers/SIWEController.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/core/dist/esm/src/controllers/SnackController.js":
|
|||
|
/*!**********************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/core/dist/esm/src/controllers/SnackController.js ***!
|
|||
|
\**********************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ SnackController: () => (/* binding */ SnackController)\n/* harmony export */ });\n/* harmony import */ var valtio_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! valtio/utils */ \"./node_modules/valtio/esm/vanilla/utils.mjs\");\n/* harmony import */ var valtio_vanilla__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! valtio/vanilla */ \"./node_modules/valtio/esm/vanilla.mjs\");\n\n\nconst state = (0,valtio_vanilla__WEBPACK_IMPORTED_MODULE_0__.proxy)({\n message: '',\n variant: 'success',\n open: false\n});\nconst SnackController = {\n state,\n subscribeKey(key, callback) {\n return (0,valtio_utils__WEBPACK_IMPORTED_MODULE_1__.subscribeKey)(state, key, callback);\n },\n showSuccess(message) {\n state.message = message;\n state.variant = 'success';\n state.open = true;\n },\n showError(message) {\n state.message = message;\n state.variant = 'error';\n state.open = true;\n },\n hide() {\n state.open = false;\n }\n};\n//# sourceMappingURL=SnackController.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/core/dist/esm/src/controllers/SnackController.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/core/dist/esm/src/controllers/ThemeController.js":
|
|||
|
/*!**********************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/core/dist/esm/src/controllers/ThemeController.js ***!
|
|||
|
\**********************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ ThemeController: () => (/* binding */ ThemeController)\n/* harmony export */ });\n/* harmony import */ var valtio_vanilla__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! valtio/vanilla */ \"./node_modules/valtio/esm/vanilla.mjs\");\n\nconst state = (0,valtio_vanilla__WEBPACK_IMPORTED_MODULE_0__.proxy)({\n themeMode: 'dark',\n themeVariables: {}\n});\nconst ThemeController = {\n state,\n subscribe(callback) {\n return (0,valtio_vanilla__WEBPACK_IMPORTED_MODULE_0__.subscribe)(state, () => callback(state));\n },\n setThemeMode(themeMode) {\n state.themeMode = themeMode;\n },\n setThemeVariables(themeVariables) {\n state.themeVariables = { ...state.themeVariables, ...themeVariables };\n }\n};\n//# sourceMappingURL=ThemeController.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/core/dist/esm/src/controllers/ThemeController.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/core/dist/esm/src/controllers/TransactionsController.js":
|
|||
|
/*!*****************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/core/dist/esm/src/controllers/TransactionsController.js ***!
|
|||
|
\*****************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ TransactionsController: () => (/* binding */ TransactionsController)\n/* harmony export */ });\n/* harmony import */ var valtio_vanilla__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! valtio/vanilla */ \"./node_modules/valtio/esm/vanilla.mjs\");\n/* harmony import */ var _BlockchainApiController_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./BlockchainApiController.js */ \"./node_modules/@web3modal/core/dist/esm/src/controllers/BlockchainApiController.js\");\n/* harmony import */ var _OptionsController_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./OptionsController.js */ \"./node_modules/@web3modal/core/dist/esm/src/controllers/OptionsController.js\");\n/* harmony import */ var _EventsController_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./EventsController.js */ \"./node_modules/@web3modal/core/dist/esm/src/controllers/EventsController.js\");\n/* harmony import */ var _SnackController_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./SnackController.js */ \"./node_modules/@web3modal/core/dist/esm/src/controllers/SnackController.js\");\n\n\n\n\n\nconst state = (0,valtio_vanilla__WEBPACK_IMPORTED_MODULE_4__.proxy)({\n transactions: [],\n transactionsByYear: {},\n loading: false,\n empty: false,\n next: undefined\n});\nconst TransactionsController = {\n state,\n subscribe(callback) {\n return (0,valtio_vanilla__WEBPACK_IMPORTED_MODULE_4__.subscribe)(state, () => callback(state));\n },\n async fetchTransactions(accountAddress) {\n const { projectId } = _OptionsController_js__WEBPACK_IMPORTED_MODULE_1__.OptionsController.state;\n if (!projectId || !accountAddress) {\n throw new Error(\"Transactions can't be fetched without a projectId and an accountAddress\");\n }\n state.loading = true;\n try {\n const response = await _BlockchainApiController_js__WEBPACK_IMPORTED_MODULE_0__.BlockchainApiController.fetchTransactions({\n account: accountAddress,\n projectId,\n cursor: state.next\n });\n const nonSpamTransactions = this.filterSpamTransactions(response.data);\n const filteredTransactions = [...state.transactions, ...nonSpamTransactions];\n state.loading = false;\n state.transactions = filteredTransactions;\n state.transactionsByYear = this.groupTransactionsByYear(state.transactionsByYear, nonSpamTransactions);\n state.empty = filteredTransactions.length === 0;\n state.next = response.next ? response.next : undefined;\n }\n catch (error) {\n _EventsController_js__WEBPACK_IMPORTED_MODULE_2__.EventsController.sendEvent({\n type: 'track',\n event: 'ERROR_FETCH_TRANSACTIONS',\n properties: {\n address: accountAddress,\n projectId,\n cursor: state.next\n }\n });\n _SnackController_js__WEBPACK_IMPORTED_MODULE_3__.SnackController.showError('Failed to fetch transactions');\n state.loading = false;\n state.empty = true;\n }\n },\n groupTransactionsByYear(transactionsMap = {}, transactions = []) {\n const grouped = transactionsMap;\n transactions.forEach(transaction => {\n const year = new Date(transaction.metadata.minedAt).getFullYear();\n if (!grouped[year]) {\n grouped[year] = [];\n }\n grouped[year]?.push(transaction);\n });\n return grouped;\n },\n filterSpamTransactions(transactions) {\n return transactions.filter(transaction => {\n const isAllSpam = transaction.transfers.every(transfer => transfer.nft_info?.flags.is_spam === true);\n return !isAllSpam;\n });\n },\n resetTransactions() {\
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/core/dist/esm/src/utils/AssetUtil.js":
|
|||
|
/*!**********************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/core/dist/esm/src/utils/AssetUtil.js ***!
|
|||
|
\**********************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ AssetUtil: () => (/* binding */ AssetUtil)\n/* harmony export */ });\n/* harmony import */ var _controllers_AssetController_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../controllers/AssetController.js */ \"./node_modules/@web3modal/core/dist/esm/src/controllers/AssetController.js\");\n\nconst AssetUtil = {\n getWalletImage(wallet) {\n if (wallet?.image_url) {\n return wallet?.image_url;\n }\n if (wallet?.image_id) {\n return _controllers_AssetController_js__WEBPACK_IMPORTED_MODULE_0__.AssetController.state.walletImages[wallet.image_id];\n }\n return undefined;\n },\n getNetworkImage(network) {\n if (network?.imageUrl) {\n return network?.imageUrl;\n }\n if (network?.imageId) {\n return _controllers_AssetController_js__WEBPACK_IMPORTED_MODULE_0__.AssetController.state.networkImages[network.imageId];\n }\n return undefined;\n },\n getConnectorImage(connector) {\n if (connector?.imageUrl) {\n return connector.imageUrl;\n }\n if (connector?.imageId) {\n return _controllers_AssetController_js__WEBPACK_IMPORTED_MODULE_0__.AssetController.state.connectorImages[connector.imageId];\n }\n return undefined;\n }\n};\n//# sourceMappingURL=AssetUtil.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/core/dist/esm/src/utils/AssetUtil.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/core/dist/esm/src/utils/ConstantsUtil.js":
|
|||
|
/*!**************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/core/dist/esm/src/utils/ConstantsUtil.js ***!
|
|||
|
\**************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ ConstantsUtil: () => (/* binding */ ConstantsUtil)\n/* harmony export */ });\nconst ConstantsUtil = {\n FOUR_MINUTES_MS: 240000,\n TEN_SEC_MS: 10000,\n ONE_SEC_MS: 1000,\n RESTRICTED_TIMEZONES: [\n 'ASIA/SHANGHAI',\n 'ASIA/URUMQI',\n 'ASIA/CHONGQING',\n 'ASIA/HARBIN',\n 'ASIA/KASHGAR',\n 'ASIA/MACAU',\n 'ASIA/HONG_KONG',\n 'ASIA/MACAO',\n 'ASIA/BEIJING',\n 'ASIA/HARBIN'\n ]\n};\n//# sourceMappingURL=ConstantsUtil.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/core/dist/esm/src/utils/ConstantsUtil.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/core/dist/esm/src/utils/CoreHelperUtil.js":
|
|||
|
/*!***************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/core/dist/esm/src/utils/CoreHelperUtil.js ***!
|
|||
|
\***************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ CoreHelperUtil: () => (/* binding */ CoreHelperUtil)\n/* harmony export */ });\n/* harmony import */ var _ConstantsUtil_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ConstantsUtil.js */ \"./node_modules/@web3modal/core/dist/esm/src/utils/ConstantsUtil.js\");\n\nconst CoreHelperUtil = {\n isMobile() {\n if (typeof window !== 'undefined') {\n return Boolean(window.matchMedia('(pointer:coarse)').matches ||\n /Android|webOS|iPhone|iPad|iPod|BlackBerry|Opera Mini/u.test(navigator.userAgent));\n }\n return false;\n },\n isAndroid() {\n const ua = navigator.userAgent.toLowerCase();\n return CoreHelperUtil.isMobile() && ua.includes('android');\n },\n isIos() {\n const ua = navigator.userAgent.toLowerCase();\n return CoreHelperUtil.isMobile() && (ua.includes('iphone') || ua.includes('ipad'));\n },\n isClient() {\n return typeof window !== 'undefined';\n },\n isPairingExpired(expiry) {\n return expiry ? expiry - Date.now() <= _ConstantsUtil_js__WEBPACK_IMPORTED_MODULE_0__.ConstantsUtil.TEN_SEC_MS : true;\n },\n isAllowedRetry(lastRetry) {\n return Date.now() - lastRetry >= _ConstantsUtil_js__WEBPACK_IMPORTED_MODULE_0__.ConstantsUtil.ONE_SEC_MS;\n },\n copyToClopboard(text) {\n navigator.clipboard.writeText(text);\n },\n getPairingExpiry() {\n return Date.now() + _ConstantsUtil_js__WEBPACK_IMPORTED_MODULE_0__.ConstantsUtil.FOUR_MINUTES_MS;\n },\n getPlainAddress(caipAddress) {\n return caipAddress.split(':')[2];\n },\n async wait(milliseconds) {\n return new Promise(resolve => {\n setTimeout(resolve, milliseconds);\n });\n },\n debounce(func, timeout = 500) {\n let timer = undefined;\n return (...args) => {\n function next() {\n func(...args);\n }\n if (timer) {\n clearTimeout(timer);\n }\n timer = setTimeout(next, timeout);\n };\n },\n isHttpUrl(url) {\n return url.startsWith('http://') || url.startsWith('https://');\n },\n formatNativeUrl(appUrl, wcUri) {\n if (CoreHelperUtil.isHttpUrl(appUrl)) {\n return this.formatUniversalUrl(appUrl, wcUri);\n }\n let safeAppUrl = appUrl;\n if (!safeAppUrl.includes('://')) {\n safeAppUrl = appUrl.replaceAll('/', '').replaceAll(':', '');\n safeAppUrl = `${safeAppUrl}://`;\n }\n if (!safeAppUrl.endsWith('/')) {\n safeAppUrl = `${safeAppUrl}/`;\n }\n const encodedWcUrl = encodeURIComponent(wcUri);\n return {\n redirect: `${safeAppUrl}wc?uri=${encodedWcUrl}`,\n href: safeAppUrl\n };\n },\n formatUniversalUrl(appUrl, wcUri) {\n if (!CoreHelperUtil.isHttpUrl(appUrl)) {\n return this.formatNativeUrl(appUrl, wcUri);\n }\n let safeAppUrl = appUrl;\n if (!safeAppUrl.endsWith('/')) {\n safeAppUrl = `${safeAppUrl}/`;\n }\n const encodedWcUrl = encodeURIComponent(wcUri);\n return {\n redirect: `${safeAppUrl}wc?uri=${encodedWcUrl}`,\n href: safeAppUrl\n };\n },\n openHref(href, target) {\n window.open(href, target, 'noreferrer noopener');\n },\n async preloadImage(src) {\n const imagePromise = new Promise((resolve, reject) => {\n const image = new Image();\n image.onload = resolve;\n image.onerror = reject;\n image.crossOrigin = 'anonymous';\n image.src = src;\n });\n return Promise.race([imagePromise, CoreHelperUtil.wait(2000)]);\n },\n formatBalance(balance, symbol) {\n let formattedBalance = undefined;\n if (balance === '0') {\n formattedBalance = '0.000';\n }
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/core/dist/esm/src/utils/FetchUtil.js":
|
|||
|
/*!**********************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/core/dist/esm/src/utils/FetchUtil.js ***!
|
|||
|
\**********************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ FetchUtil: () => (/* binding */ FetchUtil)\n/* harmony export */ });\nclass FetchUtil {\n constructor({ baseUrl }) {\n this.baseUrl = baseUrl;\n }\n async get({ headers, ...args }) {\n const url = this.createUrl(args);\n const response = await fetch(url, { method: 'GET', headers });\n return response.json();\n }\n async getBlob({ headers, ...args }) {\n const url = this.createUrl(args);\n const response = await fetch(url, { method: 'GET', headers });\n return response.blob();\n }\n async post({ body, headers, ...args }) {\n const url = this.createUrl(args);\n const response = await fetch(url, {\n method: 'POST',\n headers,\n body: body ? JSON.stringify(body) : undefined\n });\n return response.json();\n }\n async put({ body, headers, ...args }) {\n const url = this.createUrl(args);\n const response = await fetch(url, {\n method: 'PUT',\n headers,\n body: body ? JSON.stringify(body) : undefined\n });\n return response.json();\n }\n async delete({ body, headers, ...args }) {\n const url = this.createUrl(args);\n const response = await fetch(url, {\n method: 'DELETE',\n headers,\n body: body ? JSON.stringify(body) : undefined\n });\n return response.json();\n }\n createUrl({ path, params }) {\n const url = new URL(path, this.baseUrl);\n if (params) {\n Object.entries(params).forEach(([key, value]) => {\n if (value) {\n url.searchParams.append(key, value);\n }\n });\n }\n return url;\n }\n}\n//# sourceMappingURL=FetchUtil.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/core/dist/esm/src/utils/FetchUtil.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/core/dist/esm/src/utils/StorageUtil.js":
|
|||
|
/*!************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/core/dist/esm/src/utils/StorageUtil.js ***!
|
|||
|
\************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ StorageUtil: () => (/* binding */ StorageUtil)\n/* harmony export */ });\nconst WC_DEEPLINK = 'WALLETCONNECT_DEEPLINK_CHOICE';\nconst W3M_RECENT = '@w3m/recent';\nconst W3M_CONNECTED_WALLET_IMAGE_URL = '@w3m/connected_wallet_image_url';\nconst StorageUtil = {\n setWalletConnectDeepLink({ href, name }) {\n try {\n localStorage.setItem(WC_DEEPLINK, JSON.stringify({ href, name }));\n }\n catch {\n console.info('Unable to set WalletConnect deep link');\n }\n },\n getWalletConnectDeepLink() {\n try {\n const deepLink = localStorage.getItem(WC_DEEPLINK);\n if (deepLink) {\n return JSON.parse(deepLink);\n }\n }\n catch {\n console.info('Unable to get WalletConnect deep link');\n }\n return undefined;\n },\n deleteWalletConnectDeepLink() {\n try {\n localStorage.removeItem(WC_DEEPLINK);\n }\n catch {\n console.info('Unable to delete WalletConnect deep link');\n }\n },\n setWeb3ModalRecent(wallet) {\n try {\n const recentWallets = StorageUtil.getRecentWallets();\n const exists = recentWallets.find(w => w.id === wallet.id);\n if (!exists) {\n recentWallets.unshift(wallet);\n if (recentWallets.length > 2) {\n recentWallets.pop();\n }\n localStorage.setItem(W3M_RECENT, JSON.stringify(recentWallets));\n }\n }\n catch {\n console.info('Unable to set Web3Modal recent');\n }\n },\n getRecentWallets() {\n try {\n const recent = localStorage.getItem(W3M_RECENT);\n return recent ? JSON.parse(recent) : [];\n }\n catch {\n console.info('Unable to get Web3Modal recent');\n }\n return [];\n },\n setConnectedWalletImageUrl(imageUrl) {\n try {\n localStorage.setItem(W3M_CONNECTED_WALLET_IMAGE_URL, imageUrl);\n }\n catch {\n console.info('Unable to set Connected Wallet Image Url');\n }\n },\n getConnectedWalletImageUrl() {\n try {\n return localStorage.getItem(W3M_CONNECTED_WALLET_IMAGE_URL);\n }\n catch {\n console.info('Unable to set Connected Wallet Image Url');\n }\n return undefined;\n }\n};\n//# sourceMappingURL=StorageUtil.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/core/dist/esm/src/utils/StorageUtil.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/polyfills/dist/esm/index.js":
|
|||
|
/*!*************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/polyfills/dist/esm/index.js ***!
|
|||
|
\*************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var buffer__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! buffer */ \"./node_modules/buffer/index.js\");\n\nif (typeof window !== 'undefined') {\n if (!window.Buffer) {\n window.Buffer = buffer__WEBPACK_IMPORTED_MODULE_0__.Buffer;\n }\n if (!window.global) {\n window.global = window;\n }\n if (!window.process) {\n window.process = {};\n }\n if (!window.process?.env) {\n window.process = { env: {} };\n }\n}\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/polyfills/dist/esm/index.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/scaffold-utils/dist/esm/index.js":
|
|||
|
/*!******************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/scaffold-utils/dist/esm/index.js ***!
|
|||
|
\******************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ ConstantsUtil: () => (/* reexport safe */ _src_ConstantsUtil_js__WEBPACK_IMPORTED_MODULE_0__.ConstantsUtil),\n/* harmony export */ HelpersUtil: () => (/* reexport safe */ _src_HelpersUtil_js__WEBPACK_IMPORTED_MODULE_2__.HelpersUtil),\n/* harmony export */ PresetsUtil: () => (/* reexport safe */ _src_PresetsUtil_js__WEBPACK_IMPORTED_MODULE_1__.PresetsUtil)\n/* harmony export */ });\n/* harmony import */ var _src_ConstantsUtil_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./src/ConstantsUtil.js */ \"./node_modules/@web3modal/scaffold-utils/dist/esm/src/ConstantsUtil.js\");\n/* harmony import */ var _src_PresetsUtil_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./src/PresetsUtil.js */ \"./node_modules/@web3modal/scaffold-utils/dist/esm/src/PresetsUtil.js\");\n/* harmony import */ var _src_HelpersUtil_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./src/HelpersUtil.js */ \"./node_modules/@web3modal/scaffold-utils/dist/esm/src/HelpersUtil.js\");\n\n\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/scaffold-utils/dist/esm/index.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/scaffold-utils/dist/esm/src/ConstantsUtil.js":
|
|||
|
/*!******************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/scaffold-utils/dist/esm/src/ConstantsUtil.js ***!
|
|||
|
\******************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ ConstantsUtil: () => (/* binding */ ConstantsUtil)\n/* harmony export */ });\nconst ConstantsUtil = {\n WALLET_CONNECT_CONNECTOR_ID: 'walletConnect',\n INJECTED_CONNECTOR_ID: 'injected',\n COINBASE_CONNECTOR_ID: 'coinbaseWallet',\n SAFE_CONNECTOR_ID: 'safe',\n LEDGER_CONNECTOR_ID: 'ledger',\n EIP6963_CONNECTOR_ID: 'eip6963',\n EIP155: 'eip155',\n ADD_CHAIN_METHOD: 'wallet_addEthereumChain',\n EIP6963_ANNOUNCE_EVENT: 'eip6963:announceProvider',\n EIP6963_REQUEST_EVENT: 'eip6963:requestProvider',\n VERSION: '3.4.0'\n};\n//# sourceMappingURL=ConstantsUtil.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/scaffold-utils/dist/esm/src/ConstantsUtil.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/scaffold-utils/dist/esm/src/HelpersUtil.js":
|
|||
|
/*!****************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/scaffold-utils/dist/esm/src/HelpersUtil.js ***!
|
|||
|
\****************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ HelpersUtil: () => (/* binding */ HelpersUtil)\n/* harmony export */ });\n/* harmony import */ var _ConstantsUtil_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ConstantsUtil.js */ \"./node_modules/@web3modal/scaffold-utils/dist/esm/src/ConstantsUtil.js\");\n\nconst HelpersUtil = {\n caipNetworkIdToNumber(caipnetworkId) {\n return caipnetworkId ? Number(caipnetworkId.split(':')[1]) : undefined;\n },\n getCaipTokens(tokens) {\n if (!tokens) {\n return undefined;\n }\n const caipTokens = {};\n Object.entries(tokens).forEach(([id, token]) => {\n caipTokens[`${_ConstantsUtil_js__WEBPACK_IMPORTED_MODULE_0__.ConstantsUtil.EIP155}:${id}`] = token;\n });\n return caipTokens;\n }\n};\n//# sourceMappingURL=HelpersUtil.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/scaffold-utils/dist/esm/src/HelpersUtil.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/scaffold-utils/dist/esm/src/PresetsUtil.js":
|
|||
|
/*!****************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/scaffold-utils/dist/esm/src/PresetsUtil.js ***!
|
|||
|
\****************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ PresetsUtil: () => (/* binding */ PresetsUtil)\n/* harmony export */ });\n/* harmony import */ var _ConstantsUtil_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ConstantsUtil.js */ \"./node_modules/@web3modal/scaffold-utils/dist/esm/src/ConstantsUtil.js\");\n\nconst PresetsUtil = {\n ConnectorExplorerIds: {\n [_ConstantsUtil_js__WEBPACK_IMPORTED_MODULE_0__.ConstantsUtil.COINBASE_CONNECTOR_ID]: 'fd20dc426fb37566d803205b19bbc1d4096b248ac04548e3cfb6b3a38bd033aa',\n [_ConstantsUtil_js__WEBPACK_IMPORTED_MODULE_0__.ConstantsUtil.SAFE_CONNECTOR_ID]: '225affb176778569276e484e1b92637ad061b01e13a048b35a9d280c3b58970f',\n [_ConstantsUtil_js__WEBPACK_IMPORTED_MODULE_0__.ConstantsUtil.LEDGER_CONNECTOR_ID]: '19177a98252e07ddfc9af2083ba8e07ef627cb6103467ffebb3f8f4205fd7927'\n },\n EIP155NetworkImageIds: {\n 1: '692ed6ba-e569-459a-556a-776476829e00',\n 42161: '600a9a04-c1b9-42ca-6785-9b4b6ff85200',\n 43114: '30c46e53-e989-45fb-4549-be3bd4eb3b00',\n 56: '93564157-2e8e-4ce7-81df-b264dbee9b00',\n 250: '06b26297-fe0c-4733-5d6b-ffa5498aac00',\n 10: 'ab9c186a-c52f-464b-2906-ca59d760a400',\n 137: '41d04d42-da3b-4453-8506-668cc0727900',\n 100: '02b53f6a-e3d4-479e-1cb4-21178987d100',\n 9001: 'f926ff41-260d-4028-635e-91913fc28e00',\n 324: 'b310f07f-4ef7-49f3-7073-2a0a39685800',\n 314: '5a73b3dd-af74-424e-cae0-0de859ee9400',\n 4689: '34e68754-e536-40da-c153-6ef2e7188a00',\n 1088: '3897a66d-40b9-4833-162f-a2c90531c900',\n 1284: '161038da-44ae-4ec7-1208-0ea569454b00',\n 1285: 'f1d73bb6-5450-4e18-38f7-fb6484264a00',\n 7777777: '845c60df-d429-4991-e687-91ae45791600',\n 42220: 'ab781bbc-ccc6-418d-d32d-789b15da1f00',\n 8453: '7289c336-3981-4081-c5f4-efc26ac64a00',\n 1313161554: '3ff73439-a619-4894-9262-4470c773a100'\n },\n ConnectorImageIds: {\n [_ConstantsUtil_js__WEBPACK_IMPORTED_MODULE_0__.ConstantsUtil.COINBASE_CONNECTOR_ID]: '0c2840c3-5b04-4c44-9661-fbd4b49e1800',\n [_ConstantsUtil_js__WEBPACK_IMPORTED_MODULE_0__.ConstantsUtil.SAFE_CONNECTOR_ID]: '461db637-8616-43ce-035a-d89b8a1d5800',\n [_ConstantsUtil_js__WEBPACK_IMPORTED_MODULE_0__.ConstantsUtil.LEDGER_CONNECTOR_ID]: '54a1aa77-d202-4f8d-0fb2-5d2bb6db0300',\n [_ConstantsUtil_js__WEBPACK_IMPORTED_MODULE_0__.ConstantsUtil.WALLET_CONNECT_CONNECTOR_ID]: 'ef1a1fcf-7fe8-4d69-bd6d-fda1345b4400',\n [_ConstantsUtil_js__WEBPACK_IMPORTED_MODULE_0__.ConstantsUtil.INJECTED_CONNECTOR_ID]: '07ba87ed-43aa-4adf-4540-9e6a2b9cae00'\n },\n ConnectorNamesMap: {\n [_ConstantsUtil_js__WEBPACK_IMPORTED_MODULE_0__.ConstantsUtil.INJECTED_CONNECTOR_ID]: 'Browser Wallet',\n [_ConstantsUtil_js__WEBPACK_IMPORTED_MODULE_0__.ConstantsUtil.WALLET_CONNECT_CONNECTOR_ID]: 'WalletConnect',\n [_ConstantsUtil_js__WEBPACK_IMPORTED_MODULE_0__.ConstantsUtil.COINBASE_CONNECTOR_ID]: 'Coinbase',\n [_ConstantsUtil_js__WEBPACK_IMPORTED_MODULE_0__.ConstantsUtil.LEDGER_CONNECTOR_ID]: 'Ledger',\n [_ConstantsUtil_js__WEBPACK_IMPORTED_MODULE_0__.ConstantsUtil.SAFE_CONNECTOR_ID]: 'Safe'\n },\n ConnectorTypesMap: {\n [_ConstantsUtil_js__WEBPACK_IMPORTED_MODULE_0__.ConstantsUtil.INJECTED_CONNECTOR_ID]: 'INJECTED',\n [_ConstantsUtil_js__WEBPACK_IMPORTED_MODULE_0__.ConstantsUtil.WALLET_CONNECT_CONNECTOR_ID]: 'WALLET_CONNECT',\n [_ConstantsUtil_js__WEBPACK_IMPORTED_MODULE_0__.ConstantsUtil.EIP6963_CONNECTOR_ID]: 'ANNOUNCED'\n }\n};\n//# sourceMappingURL=PresetsUtil.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/scaffold-utils/dist/esm/src/PresetsUtil.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/scaffold/dist/esm/index.js":
|
|||
|
/*!************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/scaffold/dist/esm/index.js ***!
|
|||
|
\************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ CoreHelperUtil: () => (/* reexport safe */ _web3modal_core__WEBPACK_IMPORTED_MODULE_35__.CoreHelperUtil),\n/* harmony export */ W3mAccountButton: () => (/* reexport safe */ _src_modal_w3m_account_button_index_js__WEBPACK_IMPORTED_MODULE_0__.W3mAccountButton),\n/* harmony export */ W3mAccountView: () => (/* reexport safe */ _src_views_w3m_account_view_index_js__WEBPACK_IMPORTED_MODULE_6__.W3mAccountView),\n/* harmony export */ W3mAllWalletsList: () => (/* reexport safe */ _src_partials_w3m_all_wallets_list_index_js__WEBPACK_IMPORTED_MODULE_19__.W3mAllWalletsList),\n/* harmony export */ W3mAllWalletsSearch: () => (/* reexport safe */ _src_partials_w3m_all_wallets_search_index_js__WEBPACK_IMPORTED_MODULE_20__.W3mAllWalletsSearch),\n/* harmony export */ W3mAllWalletsView: () => (/* reexport safe */ _src_views_w3m_all_wallets_view_index_js__WEBPACK_IMPORTED_MODULE_7__.W3mAllWalletsView),\n/* harmony export */ W3mButton: () => (/* reexport safe */ _src_modal_w3m_button_index_js__WEBPACK_IMPORTED_MODULE_1__.W3mButton),\n/* harmony export */ W3mConnectButton: () => (/* reexport safe */ _src_modal_w3m_connect_button_index_js__WEBPACK_IMPORTED_MODULE_2__.W3mConnectButton),\n/* harmony export */ W3mConnectView: () => (/* reexport safe */ _src_views_w3m_connect_view_index_js__WEBPACK_IMPORTED_MODULE_8__.W3mConnectView),\n/* harmony export */ W3mConnectingExternalView: () => (/* reexport safe */ _src_views_w3m_connecting_external_view_index_js__WEBPACK_IMPORTED_MODULE_9__.W3mConnectingExternalView),\n/* harmony export */ W3mConnectingHeader: () => (/* reexport safe */ _src_partials_w3m_connecting_header_index_js__WEBPACK_IMPORTED_MODULE_21__.W3mConnectingHeader),\n/* harmony export */ W3mConnectingSiwe: () => (/* reexport safe */ _src_partials_w3m_connecting_siwe_index_js__WEBPACK_IMPORTED_MODULE_26__.W3mConnectingSiwe),\n/* harmony export */ W3mConnectingSiweView: () => (/* reexport safe */ _src_views_w3m_connecting_siwe_view_index_js__WEBPACK_IMPORTED_MODULE_10__.W3mConnectingSiweView),\n/* harmony export */ W3mConnectingWcBrowser: () => (/* reexport safe */ _src_partials_w3m_connecting_wc_browser_index_js__WEBPACK_IMPORTED_MODULE_22__.W3mConnectingWcBrowser),\n/* harmony export */ W3mConnectingWcDesktop: () => (/* reexport safe */ _src_partials_w3m_connecting_wc_desktop_index_js__WEBPACK_IMPORTED_MODULE_23__.W3mConnectingWcDesktop),\n/* harmony export */ W3mConnectingWcMobile: () => (/* reexport safe */ _src_partials_w3m_connecting_wc_mobile_index_js__WEBPACK_IMPORTED_MODULE_24__.W3mConnectingWcMobile),\n/* harmony export */ W3mConnectingWcQrcode: () => (/* reexport safe */ _src_partials_w3m_connecting_wc_qrcode_index_js__WEBPACK_IMPORTED_MODULE_25__.W3mConnectingWcQrcode),\n/* harmony export */ W3mConnectingWcUnsupported: () => (/* reexport safe */ _src_partials_w3m_connecting_wc_unsupported_index_js__WEBPACK_IMPORTED_MODULE_27__.W3mConnectingWcUnsupported),\n/* harmony export */ W3mConnectingWcView: () => (/* reexport safe */ _src_views_w3m_connecting_wc_view_index_js__WEBPACK_IMPORTED_MODULE_11__.W3mConnectingWcView),\n/* harmony export */ W3mConnectingWcWeb: () => (/* reexport safe */ _src_partials_w3m_connecting_wc_web_index_js__WEBPACK_IMPORTED_MODULE_28__.W3mConnectingWcWeb),\n/* harmony export */ W3mDownloadsView: () => (/* reexport safe */ _src_views_w3m_downloads_view_index_js__WEBPACK_IMPORTED_MODULE_12__.W3mDownloadsView),\n/* harmony export */ W3mGetWalletView: () => (/* reexport safe */ _src_views_w3m_get_wallet_view_index_js__WEBPACK_IMPORTED_MODULE_13__.W3mGetWalletView),\n/* harmony export */ W3mHeader: () => (/* reexport safe */ _src_partials_w3m_header_index_js__WEBPACK_IMPORTED_MODULE_29__.W3mHeader),\n/* harmony export */ W3mHelpWidget: () => (/* reexport safe */ _src_partials_w3m_help_widget_index_js__WEBPACK_IMPORTED_MODULE_30__.W3mHelpWidget),\n/* harmony export */ W3mLegalFooter: () => (/* reexport safe */ _src_partials
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/scaffold/dist/esm/src/client.js":
|
|||
|
/*!*****************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/scaffold/dist/esm/src/client.js ***!
|
|||
|
\*****************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ Web3ModalScaffold: () => (/* binding */ Web3ModalScaffold)\n/* harmony export */ });\n/* harmony import */ var _web3modal_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @web3modal/core */ \"./node_modules/@web3modal/core/dist/esm/index.js\");\n/* harmony import */ var _web3modal_ui__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @web3modal/ui */ \"./node_modules/@web3modal/ui/dist/esm/index.js\");\n\n\nlet isInitialized = false;\nclass Web3ModalScaffold {\n constructor(options) {\n this.initPromise = undefined;\n this.setIsConnected = isConnected => {\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.AccountController.setIsConnected(isConnected);\n };\n this.setCaipAddress = caipAddress => {\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.AccountController.setCaipAddress(caipAddress);\n };\n this.setBalance = (balance, balanceSymbol) => {\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.AccountController.setBalance(balance, balanceSymbol);\n };\n this.setProfileName = profileName => {\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.AccountController.setProfileName(profileName);\n };\n this.setProfileImage = profileImage => {\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.AccountController.setProfileImage(profileImage);\n };\n this.resetAccount = () => {\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.AccountController.resetAccount();\n };\n this.setCaipNetwork = caipNetwork => {\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.NetworkController.setCaipNetwork(caipNetwork);\n };\n this.getCaipNetwork = () => _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.NetworkController.state.caipNetwork;\n this.setRequestedCaipNetworks = requestedCaipNetworks => {\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.NetworkController.setRequestedCaipNetworks(requestedCaipNetworks);\n };\n this.getApprovedCaipNetworksData = () => _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.NetworkController.getApprovedCaipNetworksData();\n this.resetNetwork = () => {\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.NetworkController.resetNetwork();\n };\n this.setConnectors = connectors => {\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ConnectorController.setConnectors(connectors);\n };\n this.addConnector = connector => {\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ConnectorController.addConnector(connector);\n };\n this.getConnectors = () => _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ConnectorController.getConnectors();\n this.resetWcConnection = () => {\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ConnectionController.resetWcConnection();\n };\n this.fetchIdentity = request => _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.BlockchainApiController.fetchIdentity(request);\n this.setAddressExplorerUrl = addressExplorerUrl => {\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.AccountController.setAddressExplorerUrl(addressExplorerUrl);\n };\n this.setSIWENonce = nonce => {\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.SIWEController.setNonce(nonce);\n };\n this.setSIWESession = session => {\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.SIWEController.setSession(session);\n };\n this.setSIWEStatus = status => {\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.SIWEController.setStatus(status);\n };\n this.setSIWEMessage = message => {\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.SIWEController.setMessage(message);\n };\n this.getSIWENonce = () => _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.SIWEController.state.nonce;\n this.getSIWESession =
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/scaffold/dist/esm/src/modal/w3m-account-button/index.js":
|
|||
|
/*!*****************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/scaffold/dist/esm/src/modal/w3m-account-button/index.js ***!
|
|||
|
\*****************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ W3mAccountButton: () => (/* binding */ W3mAccountButton)\n/* harmony export */ });\n/* harmony import */ var _web3modal_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @web3modal/core */ \"./node_modules/@web3modal/core/dist/esm/index.js\");\n/* harmony import */ var _web3modal_ui__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @web3modal/ui */ \"./node_modules/@web3modal/ui/dist/esm/index.js\");\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/scaffold/node_modules/lit/index.js\");\n/* harmony import */ var lit_decorators_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! lit/decorators.js */ \"./node_modules/@web3modal/scaffold/node_modules/lit/decorators.js\");\n/* harmony import */ var lit_directives_if_defined_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! lit/directives/if-defined.js */ \"./node_modules/@web3modal/scaffold/node_modules/lit/directives/if-defined.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\n\nlet W3mAccountButton = class W3mAccountButton extends lit__WEBPACK_IMPORTED_MODULE_2__.LitElement {\n constructor() {\n super();\n this.unsubscribe = [];\n this.networkImages = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.AssetController.state.networkImages;\n this.disabled = false;\n this.balance = 'show';\n this.address = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.AccountController.state.address;\n this.balanceVal = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.AccountController.state.balance;\n this.balanceSymbol = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.AccountController.state.balanceSymbol;\n this.profileName = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.AccountController.state.profileName;\n this.profileImage = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.AccountController.state.profileImage;\n this.network = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.NetworkController.state.caipNetwork;\n this.unsubscribe.push(...[\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.AccountController.subscribe(val => {\n if (val.isConnected) {\n this.address = val.address;\n this.balanceVal = val.balance;\n this.profileName = val.profileName;\n this.profileImage = val.profileImage;\n this.balanceSymbol = val.balanceSymbol;\n }\n else {\n this.address = '';\n this.balanceVal = '';\n this.profileName = '';\n this.profileImage = '';\n this.balanceSymbol = '';\n }\n }),\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.NetworkController.subscribeKey('caipNetwork', val => (this.network = val))\n ]);\n }\n disconnectedCallback() {\n this.unsubscribe.forEach(unsubscribe => unsubscribe());\n }\n render() {\n const networkImage = this.networkImages[this.network?.imageId ?? ''];\n const showBalance = this.balance === 'show';\n return (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `\n <wui-account-button\n .disabled=${Boolean(this.disabled)}\n address=${(0,lit_directives_if_defined_js__WEBPACK_IMPORTED_MODULE_4_
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/scaffold/dist/esm/src/modal/w3m-button/index.js":
|
|||
|
/*!*********************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/scaffold/dist/esm/src/modal/w3m-button/index.js ***!
|
|||
|
\*********************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ W3mButton: () => (/* binding */ W3mButton)\n/* harmony export */ });\n/* harmony import */ var _web3modal_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @web3modal/core */ \"./node_modules/@web3modal/core/dist/esm/index.js\");\n/* harmony import */ var _web3modal_ui__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @web3modal/ui */ \"./node_modules/@web3modal/ui/dist/esm/index.js\");\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/scaffold/node_modules/lit/index.js\");\n/* harmony import */ var lit_decorators_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! lit/decorators.js */ \"./node_modules/@web3modal/scaffold/node_modules/lit/decorators.js\");\n/* harmony import */ var lit_directives_if_defined_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! lit/directives/if-defined.js */ \"./node_modules/@web3modal/scaffold/node_modules/lit/directives/if-defined.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\n\nlet W3mButton = class W3mButton extends lit__WEBPACK_IMPORTED_MODULE_2__.LitElement {\n constructor() {\n super();\n this.unsubscribe = [];\n this.disabled = false;\n this.balance = undefined;\n this.size = undefined;\n this.label = undefined;\n this.loadingLabel = undefined;\n this.isAccount = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.AccountController.state.isConnected;\n this.unsubscribe.push(_web3modal_core__WEBPACK_IMPORTED_MODULE_0__.AccountController.subscribeKey('isConnected', val => {\n this.isAccount = val;\n }));\n }\n disconnectedCallback() {\n this.unsubscribe.forEach(unsubscribe => unsubscribe());\n }\n render() {\n return this.isAccount\n ? (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `\n <w3m-account-button\n .disabled=${Boolean(this.disabled)}\n balance=${(0,lit_directives_if_defined_js__WEBPACK_IMPORTED_MODULE_4__.ifDefined)(this.balance)}\n >\n </w3m-account-button>\n `\n : (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `\n <w3m-connect-button\n size=${(0,lit_directives_if_defined_js__WEBPACK_IMPORTED_MODULE_4__.ifDefined)(this.size)}\n label=${(0,lit_directives_if_defined_js__WEBPACK_IMPORTED_MODULE_4__.ifDefined)(this.label)}\n loadingLabel=${(0,lit_directives_if_defined_js__WEBPACK_IMPORTED_MODULE_4__.ifDefined)(this.loadingLabel)}\n ></w3m-connect-button>\n `;\n }\n};\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_3__.property)({ type: Boolean })\n], W3mButton.prototype, \"disabled\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_3__.property)()\n], W3mButton.prototype, \"balance\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_3__.property)()\n], W3mButton.prototype, \"size\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_3__.property)()\n], W3mButton.prototype, \"label\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_3__.property)()\n], W3mButton.prototype, \"loadingLabel\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_3__.state)()\n], W3mButton.prototype, \"isAccount\", void 0);\nW3mButton = __decorate([\n
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/scaffold/dist/esm/src/modal/w3m-connect-button/index.js":
|
|||
|
/*!*****************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/scaffold/dist/esm/src/modal/w3m-connect-button/index.js ***!
|
|||
|
\*****************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ W3mConnectButton: () => (/* binding */ W3mConnectButton)\n/* harmony export */ });\n/* harmony import */ var _web3modal_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @web3modal/core */ \"./node_modules/@web3modal/core/dist/esm/index.js\");\n/* harmony import */ var _web3modal_ui__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @web3modal/ui */ \"./node_modules/@web3modal/ui/dist/esm/index.js\");\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/scaffold/node_modules/lit/index.js\");\n/* harmony import */ var lit_decorators_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! lit/decorators.js */ \"./node_modules/@web3modal/scaffold/node_modules/lit/decorators.js\");\n/* harmony import */ var lit_directives_if_defined_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! lit/directives/if-defined.js */ \"./node_modules/@web3modal/scaffold/node_modules/lit/directives/if-defined.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\n\nlet W3mConnectButton = class W3mConnectButton extends lit__WEBPACK_IMPORTED_MODULE_2__.LitElement {\n constructor() {\n super();\n this.unsubscribe = [];\n this.size = 'md';\n this.label = 'Connect Wallet';\n this.loadingLabel = 'Connecting...';\n this.open = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ModalController.state.open;\n this.unsubscribe.push(_web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ModalController.subscribeKey('open', val => (this.open = val)));\n }\n disconnectedCallback() {\n this.unsubscribe.forEach(unsubscribe => unsubscribe());\n }\n render() {\n return (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `\n <wui-connect-button\n size=${(0,lit_directives_if_defined_js__WEBPACK_IMPORTED_MODULE_4__.ifDefined)(this.size)}\n .loading=${this.open}\n @click=${this.onClick.bind(this)}\n >\n ${this.open ? this.loadingLabel : this.label}\n </wui-connect-button>\n `;\n }\n onClick() {\n if (this.open) {\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ModalController.close();\n }\n else {\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ModalController.open();\n }\n }\n};\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_3__.property)()\n], W3mConnectButton.prototype, \"size\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_3__.property)()\n], W3mConnectButton.prototype, \"label\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_3__.property)()\n], W3mConnectButton.prototype, \"loadingLabel\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_3__.state)()\n], W3mConnectButton.prototype, \"open\", void 0);\nW3mConnectButton = __decorate([\n (0,_web3modal_ui__WEBPACK_IMPORTED_MODULE_1__.customElement)('w3m-connect-button')\n], W3mConnectButton);\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/scaffold/dist/esm/src/modal/w3m-connect-button/index.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/scaffold/dist/esm/src/modal/w3m-modal/index.js":
|
|||
|
/*!********************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/scaffold/dist/esm/src/modal/w3m-modal/index.js ***!
|
|||
|
\********************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ W3mModal: () => (/* binding */ W3mModal)\n/* harmony export */ });\n/* harmony import */ var _web3modal_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @web3modal/core */ \"./node_modules/@web3modal/core/dist/esm/index.js\");\n/* harmony import */ var _web3modal_ui__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @web3modal/ui */ \"./node_modules/@web3modal/ui/dist/esm/index.js\");\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/scaffold/node_modules/lit/index.js\");\n/* harmony import */ var lit_decorators_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! lit/decorators.js */ \"./node_modules/@web3modal/scaffold/node_modules/lit/decorators.js\");\n/* harmony import */ var _styles_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./styles.js */ \"./node_modules/@web3modal/scaffold/dist/esm/src/modal/w3m-modal/styles.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\n\nconst SCROLL_LOCK = 'scroll-lock';\nlet W3mModal = class W3mModal extends lit__WEBPACK_IMPORTED_MODULE_2__.LitElement {\n constructor() {\n super();\n this.unsubscribe = [];\n this.abortController = undefined;\n this.open = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ModalController.state.open;\n this.initializeTheming();\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ApiController.prefetch();\n this.unsubscribe.push(_web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ModalController.subscribeKey('open', val => (val ? this.onOpen() : this.onClose())));\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.EventsController.sendEvent({ type: 'track', event: 'MODAL_LOADED' });\n }\n disconnectedCallback() {\n this.unsubscribe.forEach(unsubscribe => unsubscribe());\n this.onRemoveKeyboardListener();\n }\n render() {\n return this.open\n ? (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `\n <wui-flex @click=${this.onOverlayClick.bind(this)}>\n <wui-card role=\"alertdialog\" aria-modal=\"true\" tabindex=\"0\">\n <w3m-header></w3m-header>\n <w3m-router></w3m-router>\n <w3m-snackbar></w3m-snackbar>\n </wui-card>\n </wui-flex>\n `\n : null;\n }\n onOverlayClick(event) {\n if (event.target === event.currentTarget) {\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ModalController.close();\n }\n }\n initializeTheming() {\n const { themeVariables, themeMode } = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ThemeController.state;\n const defaultThemeMode = _web3modal_ui__WEBPACK_IMPORTED_MODULE_1__.UiHelperUtil.getColorTheme(themeMode);\n (0,_web3modal_ui__WEBPACK_IMPORTED_MODULE_1__.initializeTheming)(themeVariables, defaultThemeMode);\n }\n async onClose() {\n this.onScrollUnlock();\n await this.animate([{ opacity: 1 }, { opacity: 0 }], {\n duration: 200,\n easing: 'ease',\n fill: 'forwards'\n }).finished;\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.SnackController.hide();\n this.open = false;\n this.onRemoveKeyboardListener();\n }\n async onOpen() {\n this.onScrollLock();\n this.open = true;\n await this.animate([{ opacity: 0 }, { opacit
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/scaffold/dist/esm/src/modal/w3m-modal/styles.js":
|
|||
|
/*!*********************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/scaffold/dist/esm/src/modal/w3m-modal/styles.js ***!
|
|||
|
\*********************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/scaffold/node_modules/lit/index.js\");\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,lit__WEBPACK_IMPORTED_MODULE_0__.css) `\n :host {\n z-index: var(--w3m-z-index);\n display: block;\n backface-visibility: hidden;\n will-change: opacity;\n position: fixed;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n pointer-events: none;\n opacity: 0;\n background-color: var(--wui-cover);\n }\n\n @keyframes zoom-in {\n 0% {\n transform: scale(0.95) translateY(0);\n }\n 100% {\n transform: scale(1) translateY(0);\n }\n }\n\n @keyframes slide-in {\n 0% {\n transform: scale(1) translateY(50px);\n }\n 100% {\n transform: scale(1) translateY(0);\n }\n }\n\n wui-card {\n max-width: 360px;\n width: 100%;\n position: relative;\n animation-delay: 0.3s;\n animation-duration: 0.2s;\n animation-name: zoom-in;\n animation-fill-mode: backwards;\n animation-timing-function: var(--wui-ease-out-power-2);\n outline: none;\n }\n\n wui-flex {\n overflow-x: hidden;\n overflow-y: auto;\n display: flex;\n align-items: center;\n justify-content: center;\n width: 100%;\n height: 100%;\n }\n\n @media (max-height: 700px) and (min-width: 431px) {\n wui-flex {\n align-items: flex-start;\n }\n\n wui-card {\n margin: var(--wui-spacing-xxl) 0px;\n }\n }\n\n @media (max-width: 430px) {\n wui-flex {\n align-items: flex-end;\n }\n\n wui-card {\n max-width: 100%;\n border-bottom-left-radius: 0;\n border-bottom-right-radius: 0;\n border-bottom: none;\n animation-name: slide-in;\n }\n }\n`);\n//# sourceMappingURL=styles.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/scaffold/dist/esm/src/modal/w3m-modal/styles.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/scaffold/dist/esm/src/modal/w3m-network-button/index.js":
|
|||
|
/*!*****************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/scaffold/dist/esm/src/modal/w3m-network-button/index.js ***!
|
|||
|
\*****************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ W3mNetworkButton: () => (/* binding */ W3mNetworkButton)\n/* harmony export */ });\n/* harmony import */ var _web3modal_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @web3modal/core */ \"./node_modules/@web3modal/core/dist/esm/index.js\");\n/* harmony import */ var _web3modal_ui__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @web3modal/ui */ \"./node_modules/@web3modal/ui/dist/esm/index.js\");\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/scaffold/node_modules/lit/index.js\");\n/* harmony import */ var lit_decorators_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! lit/decorators.js */ \"./node_modules/@web3modal/scaffold/node_modules/lit/decorators.js\");\n/* harmony import */ var lit_directives_if_defined_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! lit/directives/if-defined.js */ \"./node_modules/@web3modal/scaffold/node_modules/lit/directives/if-defined.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\n\nlet W3mNetworkButton = class W3mNetworkButton extends lit__WEBPACK_IMPORTED_MODULE_2__.LitElement {\n constructor() {\n super();\n this.unsubscribe = [];\n this.disabled = false;\n this.network = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.NetworkController.state.caipNetwork;\n this.connected = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.AccountController.state.isConnected;\n this.unsubscribe.push(...[\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.NetworkController.subscribeKey('caipNetwork', val => (this.network = val)),\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.AccountController.subscribeKey('isConnected', val => (this.connected = val))\n ]);\n }\n disconnectedCallback() {\n this.unsubscribe.forEach(unsubscribe => unsubscribe());\n }\n render() {\n return (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `\n <wui-network-button\n .disabled=${Boolean(this.disabled)}\n imageSrc=${(0,lit_directives_if_defined_js__WEBPACK_IMPORTED_MODULE_4__.ifDefined)(_web3modal_core__WEBPACK_IMPORTED_MODULE_0__.AssetUtil.getNetworkImage(this.network))}\n @click=${this.onClick.bind(this)}\n >\n ${this.network?.name ?? (this.connected ? 'Unknown Network' : 'Select Network')}\n </wui-network-button>\n `;\n }\n onClick() {\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ModalController.open({ view: 'Networks' });\n }\n};\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_3__.property)({ type: Boolean })\n], W3mNetworkButton.prototype, \"disabled\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_3__.state)()\n], W3mNetworkButton.prototype, \"network\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_3__.state)()\n], W3mNetworkButton.prototype, \"connected\", void 0);\nW3mNetworkButton = __decorate([\n (0,_web3modal_ui__WEBPACK_IMPORTED_MODULE_1__.customElement)('w3m-network-button')\n], W3mNetworkButton);\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/scaffold/dist/esm/src/modal/w3m-network-button/index.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/scaffold/dist/esm/src/modal/w3m-router/index.js":
|
|||
|
/*!*********************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/scaffold/dist/esm/src/modal/w3m-router/index.js ***!
|
|||
|
\*********************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ W3mRouter: () => (/* binding */ W3mRouter)\n/* harmony export */ });\n/* harmony import */ var _web3modal_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @web3modal/core */ \"./node_modules/@web3modal/core/dist/esm/index.js\");\n/* harmony import */ var _web3modal_ui__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @web3modal/ui */ \"./node_modules/@web3modal/ui/dist/esm/index.js\");\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/scaffold/node_modules/lit/index.js\");\n/* harmony import */ var lit_decorators_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! lit/decorators.js */ \"./node_modules/@web3modal/scaffold/node_modules/lit/decorators.js\");\n/* harmony import */ var _styles_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./styles.js */ \"./node_modules/@web3modal/scaffold/dist/esm/src/modal/w3m-router/styles.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\n\nlet W3mRouter = class W3mRouter extends lit__WEBPACK_IMPORTED_MODULE_2__.LitElement {\n constructor() {\n super();\n this.resizeObserver = undefined;\n this.prevHeight = '0px';\n this.prevHistoryLength = 1;\n this.unsubscribe = [];\n this.view = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.RouterController.state.view;\n this.unsubscribe.push(_web3modal_core__WEBPACK_IMPORTED_MODULE_0__.RouterController.subscribeKey('view', val => this.onViewChange(val)));\n }\n firstUpdated() {\n this.resizeObserver = new ResizeObserver(async ([content]) => {\n const height = `${content?.contentRect.height}px`;\n if (this.prevHeight !== '0px') {\n await this.animate([{ height: this.prevHeight }, { height }], {\n duration: 150,\n easing: 'ease',\n fill: 'forwards'\n }).finished;\n this.style.height = 'auto';\n }\n this.prevHeight = height;\n });\n this.resizeObserver.observe(this.getWrapper());\n }\n disconnectedCallback() {\n this.resizeObserver?.unobserve(this.getWrapper());\n this.unsubscribe.forEach(unsubscribe => unsubscribe());\n }\n render() {\n return (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `<div>${this.viewTemplate()}</div>`;\n }\n viewTemplate() {\n switch (this.view) {\n case 'Connect':\n return (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `<w3m-connect-view></w3m-connect-view>`;\n case 'ConnectingWalletConnect':\n return (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `<w3m-connecting-wc-view></w3m-connecting-wc-view>`;\n case 'ConnectingExternal':\n return (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `<w3m-connecting-external-view></w3m-connecting-external-view>`;\n case 'ConnectingSiwe':\n return (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `<w3m-connecting-siwe-view></w3m-connecting-siwe-view>`;\n case 'AllWallets':\n return (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `<w3m-all-wallets-view></w3m-all-wallets-view>`;\n case 'Networks':\n return (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `<w3m-networks-view></w3m-networks-view>`;\n case 'SwitchNetwork':\n
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/scaffold/dist/esm/src/modal/w3m-router/styles.js":
|
|||
|
/*!**********************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/scaffold/dist/esm/src/modal/w3m-router/styles.js ***!
|
|||
|
\**********************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/scaffold/node_modules/lit/index.js\");\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,lit__WEBPACK_IMPORTED_MODULE_0__.css) `\n :host {\n display: block;\n will-change: transform, opacity;\n }\n`);\n//# sourceMappingURL=styles.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/scaffold/dist/esm/src/modal/w3m-router/styles.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-all-wallets-list/index.js":
|
|||
|
/*!**********************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-all-wallets-list/index.js ***!
|
|||
|
\**********************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ W3mAllWalletsList: () => (/* binding */ W3mAllWalletsList)\n/* harmony export */ });\n/* harmony import */ var _web3modal_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @web3modal/core */ \"./node_modules/@web3modal/core/dist/esm/index.js\");\n/* harmony import */ var _web3modal_ui__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @web3modal/ui */ \"./node_modules/@web3modal/ui/dist/esm/index.js\");\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/scaffold/node_modules/lit/index.js\");\n/* harmony import */ var lit_decorators_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! lit/decorators.js */ \"./node_modules/@web3modal/scaffold/node_modules/lit/decorators.js\");\n/* harmony import */ var lit_directives_if_defined_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! lit/directives/if-defined.js */ \"./node_modules/@web3modal/scaffold/node_modules/lit/directives/if-defined.js\");\n/* harmony import */ var _styles_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./styles.js */ \"./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-all-wallets-list/styles.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\n\n\nconst PAGINATOR_ID = 'local-paginator';\nlet W3mAllWalletsList = class W3mAllWalletsList extends lit__WEBPACK_IMPORTED_MODULE_2__.LitElement {\n constructor() {\n super();\n this.unsubscribe = [];\n this.paginationObserver = undefined;\n this.initial = !_web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ApiController.state.wallets.length;\n this.wallets = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ApiController.state.wallets;\n this.recommended = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ApiController.state.recommended;\n this.featured = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ApiController.state.featured;\n this.unsubscribe.push(...[\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ApiController.subscribeKey('wallets', val => (this.wallets = val)),\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ApiController.subscribeKey('recommended', val => (this.recommended = val)),\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ApiController.subscribeKey('featured', val => (this.featured = val))\n ]);\n }\n firstUpdated() {\n this.initialFetch();\n this.createPaginationObserver();\n }\n disconnectedCallback() {\n this.unsubscribe.forEach(unsubscribe => unsubscribe());\n this.paginationObserver?.disconnect();\n }\n render() {\n return (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `\n <wui-grid\n data-scroll=${!this.initial}\n .padding=${['0', 's', 's', 's']}\n columnGap=\"xxs\"\n rowGap=\"l\"\n justifyContent=\"space-between\"\n >\n ${this.initial ? this.shimmerTemplate(16) : this.walletsTemplate()}\n ${this.paginationLoaderTemplate()}\n </wui-grid>\n `;\n }\n async initialFetch() {\n const gridEl = this.shadowRoot?.querySelector('wui-grid');\n if (this.initial && gridEl) {\n await _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ApiController.fetchWallets({ page: 1 });\n await gridEl.animate([{ opacity: 1 }, { opacity: 0 }], {\n duration: 200,\n
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-all-wallets-list/styles.js":
|
|||
|
/*!***********************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-all-wallets-list/styles.js ***!
|
|||
|
\***********************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/scaffold/node_modules/lit/index.js\");\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,lit__WEBPACK_IMPORTED_MODULE_0__.css) `\n wui-grid {\n max-height: clamp(360px, 400px, 80vh);\n overflow: scroll;\n scrollbar-width: none;\n grid-auto-rows: min-content;\n grid-template-columns: repeat(auto-fill, 76px);\n }\n\n @media (max-width: 435px) {\n wui-grid {\n grid-template-columns: repeat(auto-fill, 77px);\n }\n }\n\n wui-grid[data-scroll='false'] {\n overflow: hidden;\n }\n\n wui-grid::-webkit-scrollbar {\n display: none;\n }\n\n wui-loading-spinner {\n padding-top: var(--wui-spacing-l);\n padding-bottom: var(--wui-spacing-l);\n justify-content: center;\n grid-column: 1 / span 4;\n }\n`);\n//# sourceMappingURL=styles.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-all-wallets-list/styles.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-all-wallets-search/index.js":
|
|||
|
/*!************************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-all-wallets-search/index.js ***!
|
|||
|
\************************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ W3mAllWalletsSearch: () => (/* binding */ W3mAllWalletsSearch)\n/* harmony export */ });\n/* harmony import */ var _web3modal_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @web3modal/core */ \"./node_modules/@web3modal/core/dist/esm/index.js\");\n/* harmony import */ var _web3modal_ui__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @web3modal/ui */ \"./node_modules/@web3modal/ui/dist/esm/index.js\");\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/scaffold/node_modules/lit/index.js\");\n/* harmony import */ var lit_decorators_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! lit/decorators.js */ \"./node_modules/@web3modal/scaffold/node_modules/lit/decorators.js\");\n/* harmony import */ var lit_directives_if_defined_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! lit/directives/if-defined.js */ \"./node_modules/@web3modal/scaffold/node_modules/lit/directives/if-defined.js\");\n/* harmony import */ var _styles_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./styles.js */ \"./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-all-wallets-search/styles.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\n\n\nlet W3mAllWalletsSearch = class W3mAllWalletsSearch extends lit__WEBPACK_IMPORTED_MODULE_2__.LitElement {\n constructor() {\n super(...arguments);\n this.prevQuery = '';\n this.loading = true;\n this.query = '';\n }\n render() {\n this.onSearch();\n return this.loading\n ? (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `<wui-loading-spinner color=\"accent-100\"></wui-loading-spinner>`\n : this.walletsTemplate();\n }\n async onSearch() {\n if (this.query !== this.prevQuery) {\n this.prevQuery = this.query;\n this.loading = true;\n await _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ApiController.searchWallet({ search: this.query });\n this.loading = false;\n }\n }\n walletsTemplate() {\n const { search } = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ApiController.state;\n if (!search.length) {\n return (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `\n <wui-flex justifyContent=\"center\" alignItems=\"center\" gap=\"s\" flexDirection=\"column\">\n <wui-icon-box\n size=\"lg\"\n iconColor=\"fg-200\"\n backgroundColor=\"fg-300\"\n icon=\"wallet\"\n background=\"transparent\"\n ></wui-icon-box>\n <wui-text color=\"fg-200\" variant=\"paragraph-500\">No Wallet found</wui-text>\n </wui-flex>\n `;\n }\n return (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `\n <wui-grid\n .padding=${['0', 's', 's', 's']}\n gridTemplateColumns=\"repeat(4, 1fr)\"\n rowGap=\"l\"\n columnGap=\"xs\"\n >\n ${search.map(wallet => (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `\n <wui-card-select\n imageSrc=${(0,lit_directives_if_defined_js__WEBPACK_IMPORTED_MODULE_4__.ifDefined)(_web3modal_core__WEBPACK_IMPORTED_MODULE_0__.AssetUtil.getWalletImage(wallet))}\n type=\"wallet\"\n name=${wallet.name}\n @click=${() => this.onConnectWallet(wallet)}\n ></wui-card-select>\n
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-all-wallets-search/styles.js":
|
|||
|
/*!*************************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-all-wallets-search/styles.js ***!
|
|||
|
\*************************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/scaffold/node_modules/lit/index.js\");\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,lit__WEBPACK_IMPORTED_MODULE_0__.css) `\n wui-grid,\n wui-loading-spinner,\n wui-flex {\n height: 360px;\n }\n\n wui-grid {\n overflow: scroll;\n scrollbar-width: none;\n grid-auto-rows: min-content;\n }\n\n wui-grid[data-scroll='false'] {\n overflow: hidden;\n }\n\n wui-grid::-webkit-scrollbar {\n display: none;\n }\n\n wui-loading-spinner {\n justify-content: center;\n align-items: center;\n }\n`);\n//# sourceMappingURL=styles.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-all-wallets-search/styles.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-connecting-header/index.js":
|
|||
|
/*!***********************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-connecting-header/index.js ***!
|
|||
|
\***********************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ W3mConnectingHeader: () => (/* binding */ W3mConnectingHeader)\n/* harmony export */ });\n/* harmony import */ var _web3modal_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @web3modal/core */ \"./node_modules/@web3modal/core/dist/esm/index.js\");\n/* harmony import */ var _web3modal_ui__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @web3modal/ui */ \"./node_modules/@web3modal/ui/dist/esm/index.js\");\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/scaffold/node_modules/lit/index.js\");\n/* harmony import */ var lit_decorators_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! lit/decorators.js */ \"./node_modules/@web3modal/scaffold/node_modules/lit/decorators.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\nlet W3mConnectingHeader = class W3mConnectingHeader extends lit__WEBPACK_IMPORTED_MODULE_2__.LitElement {\n constructor() {\n super();\n this.platformTabs = [];\n this.unsubscribe = [];\n this.platforms = [];\n this.onSelectPlatfrom = undefined;\n this.buffering = false;\n this.unsubscribe.push(_web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ConnectionController.subscribeKey('buffering', val => (this.buffering = val)));\n }\n disconnectCallback() {\n this.unsubscribe.forEach(unsubscribe => unsubscribe());\n }\n render() {\n const tabs = this.generateTabs();\n return (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `\n <wui-flex justifyContent=\"center\" .padding=${['l', '0', '0', '0']}>\n <wui-tabs\n ?disabled=${this.buffering}\n .tabs=${tabs}\n .onTabChange=${this.onTabChange.bind(this)}\n ></wui-tabs>\n </wui-flex>\n `;\n }\n generateTabs() {\n const tabs = this.platforms.map(platform => {\n if (platform === 'browser') {\n return { label: 'Browser', icon: 'extension', platform: 'browser' };\n }\n else if (platform === 'mobile') {\n return { label: 'Mobile', icon: 'mobile', platform: 'mobile' };\n }\n else if (platform === 'qrcode') {\n return { label: 'Mobile', icon: 'mobile', platform: 'qrcode' };\n }\n else if (platform === 'web') {\n return { label: 'Webapp', icon: 'browser', platform: 'web' };\n }\n else if (platform === 'desktop') {\n return { label: 'Desktop', icon: 'desktop', platform: 'desktop' };\n }\n return { label: 'Browser', icon: 'extension', platform: 'unsupported' };\n });\n this.platformTabs = tabs.map(({ platform }) => platform);\n return tabs;\n }\n onTabChange(index) {\n const tab = this.platformTabs[index];\n if (tab) {\n this.onSelectPlatfrom?.(tab);\n }\n }\n};\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_3__.property)({ type: Array })\n], W3mConnectingHeader.prototype, \"platforms\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_3__.property)()\n], W3mConnectingHeader.prototype, \"onSelectPlatfrom\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_3__.state)()\n], W3mConnectingHeader.prototype, \"buffering\", void 0);\nW3mConnectingHeader =
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-connecting-siwe/index.js":
|
|||
|
/*!*********************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-connecting-siwe/index.js ***!
|
|||
|
\*********************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ W3mConnectingSiwe: () => (/* binding */ W3mConnectingSiwe)\n/* harmony export */ });\n/* harmony import */ var _web3modal_ui__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @web3modal/ui */ \"./node_modules/@web3modal/ui/dist/esm/index.js\");\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/scaffold/node_modules/lit/index.js\");\n/* harmony import */ var _styles_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./styles.js */ \"./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-connecting-siwe/styles.js\");\n/* harmony import */ var _web3modal_core__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @web3modal/core */ \"./node_modules/@web3modal/core/dist/esm/index.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\nlet W3mConnectingSiwe = class W3mConnectingSiwe extends lit__WEBPACK_IMPORTED_MODULE_1__.LitElement {\n constructor() {\n super(...arguments);\n this.dappImageUrl = _web3modal_core__WEBPACK_IMPORTED_MODULE_3__.OptionsController.state.metadata?.icons;\n this.walletImageUrl = _web3modal_core__WEBPACK_IMPORTED_MODULE_3__.StorageUtil.getConnectedWalletImageUrl();\n }\n firstUpdated() {\n const visuals = this.shadowRoot?.querySelectorAll('wui-visual-thumbnail');\n if (visuals?.[0]) {\n this.createAnimation(visuals[0], 'translate(18px)');\n }\n if (visuals?.[1]) {\n this.createAnimation(visuals[1], 'translate(-18px)');\n }\n }\n render() {\n return (0,lit__WEBPACK_IMPORTED_MODULE_1__.html) `\n <wui-visual-thumbnail\n ?borderRadiusFull=${true}\n .imageSrc=${this.dappImageUrl?.[0]}\n ></wui-visual-thumbnail>\n <wui-visual-thumbnail .imageSrc=${this.walletImageUrl}></wui-visual-thumbnail>\n `;\n }\n createAnimation(element, translation) {\n element.animate([{ transform: 'translateX(0px)' }, { transform: translation }], {\n duration: 1600,\n easing: 'cubic-bezier(0.56, 0, 0.48, 1)',\n direction: 'alternate',\n iterations: Infinity\n });\n }\n};\nW3mConnectingSiwe.styles = _styles_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"];\nW3mConnectingSiwe = __decorate([\n (0,_web3modal_ui__WEBPACK_IMPORTED_MODULE_0__.customElement)('w3m-connecting-siwe')\n], W3mConnectingSiwe);\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-connecting-siwe/index.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-connecting-siwe/styles.js":
|
|||
|
/*!**********************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-connecting-siwe/styles.js ***!
|
|||
|
\**********************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/scaffold/node_modules/lit/index.js\");\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,lit__WEBPACK_IMPORTED_MODULE_0__.css) `\n :host {\n display: flex;\n justify-content: center;\n gap: var(--wui-spacing-2xl);\n }\n\n wui-visual-thumbnail:nth-child(1) {\n z-index: 1;\n }\n`);\n//# sourceMappingURL=styles.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-connecting-siwe/styles.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-connecting-wc-browser/index.js":
|
|||
|
/*!***************************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-connecting-wc-browser/index.js ***!
|
|||
|
\***************************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ W3mConnectingWcBrowser: () => (/* binding */ W3mConnectingWcBrowser)\n/* harmony export */ });\n/* harmony import */ var _web3modal_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @web3modal/core */ \"./node_modules/@web3modal/core/dist/esm/index.js\");\n/* harmony import */ var _web3modal_ui__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @web3modal/ui */ \"./node_modules/@web3modal/ui/dist/esm/index.js\");\n/* harmony import */ var _utils_w3m_connecting_widget_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../utils/w3m-connecting-widget/index.js */ \"./node_modules/@web3modal/scaffold/dist/esm/src/utils/w3m-connecting-widget/index.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\nlet W3mConnectingWcBrowser = class W3mConnectingWcBrowser extends _utils_w3m_connecting_widget_index_js__WEBPACK_IMPORTED_MODULE_2__.W3mConnectingWidget {\n constructor() {\n super();\n if (!this.wallet) {\n throw new Error('w3m-connecting-wc-browser: No wallet provided');\n }\n this.onConnect = this.onConnectProxy.bind(this);\n this.onAutoConnect = this.onConnectProxy.bind(this);\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.EventsController.sendEvent({\n type: 'track',\n event: 'SELECT_WALLET',\n properties: { name: this.wallet.name, platform: 'browser' }\n });\n }\n async onConnectProxy() {\n try {\n this.error = false;\n const { connectors } = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ConnectorController.state;\n const announcedConnector = connectors.find(c => c.type === 'ANNOUNCED' && c.info?.rdns === this.wallet?.rdns);\n const injectedConnector = connectors.find(c => c.type === 'INJECTED');\n if (announcedConnector) {\n await _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ConnectionController.connectExternal(announcedConnector);\n }\n else if (injectedConnector) {\n await _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ConnectionController.connectExternal(injectedConnector);\n }\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ModalController.close();\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.EventsController.sendEvent({\n type: 'track',\n event: 'CONNECT_SUCCESS',\n properties: { method: 'browser' }\n });\n }\n catch (error) {\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.EventsController.sendEvent({\n type: 'track',\n event: 'CONNECT_ERROR',\n properties: { message: error?.message ?? 'Unknown' }\n });\n this.error = true;\n }\n }\n};\nW3mConnectingWcBrowser = __decorate([\n (0,_web3modal_ui__WEBPACK_IMPORTED_MODULE_1__.customElement)('w3m-connecting-wc-browser')\n], W3mConnectingWcBrowser);\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-connecting-wc-browser/index.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-connecting-wc-desktop/index.js":
|
|||
|
/*!***************************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-connecting-wc-desktop/index.js ***!
|
|||
|
\***************************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ W3mConnectingWcDesktop: () => (/* binding */ W3mConnectingWcDesktop)\n/* harmony export */ });\n/* harmony import */ var _web3modal_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @web3modal/core */ \"./node_modules/@web3modal/core/dist/esm/index.js\");\n/* harmony import */ var _web3modal_ui__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @web3modal/ui */ \"./node_modules/@web3modal/ui/dist/esm/index.js\");\n/* harmony import */ var _utils_w3m_connecting_widget_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../utils/w3m-connecting-widget/index.js */ \"./node_modules/@web3modal/scaffold/dist/esm/src/utils/w3m-connecting-widget/index.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\nlet W3mConnectingWcDesktop = class W3mConnectingWcDesktop extends _utils_w3m_connecting_widget_index_js__WEBPACK_IMPORTED_MODULE_2__.W3mConnectingWidget {\n constructor() {\n super();\n if (!this.wallet) {\n throw new Error('w3m-connecting-wc-desktop: No wallet provided');\n }\n this.onConnect = this.onConnectProxy.bind(this);\n this.onRender = this.onRenderProxy.bind(this);\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.EventsController.sendEvent({\n type: 'track',\n event: 'SELECT_WALLET',\n properties: { name: this.wallet.name, platform: 'desktop' }\n });\n }\n onRenderProxy() {\n if (!this.ready && this.uri) {\n this.ready = true;\n this.timeout = setTimeout(() => {\n this.onConnect?.();\n }, 200);\n }\n }\n onConnectProxy() {\n if (this.wallet?.desktop_link && this.uri) {\n try {\n this.error = false;\n const { desktop_link, name } = this.wallet;\n const { redirect, href } = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.CoreHelperUtil.formatNativeUrl(desktop_link, this.uri);\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ConnectionController.setWcLinking({ name, href });\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ConnectionController.setRecentWallet(this.wallet);\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.CoreHelperUtil.openHref(redirect, '_self');\n }\n catch {\n this.error = true;\n }\n }\n }\n};\nW3mConnectingWcDesktop = __decorate([\n (0,_web3modal_ui__WEBPACK_IMPORTED_MODULE_1__.customElement)('w3m-connecting-wc-desktop')\n], W3mConnectingWcDesktop);\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-connecting-wc-desktop/index.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-connecting-wc-mobile/index.js":
|
|||
|
/*!**************************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-connecting-wc-mobile/index.js ***!
|
|||
|
\**************************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ W3mConnectingWcMobile: () => (/* binding */ W3mConnectingWcMobile)\n/* harmony export */ });\n/* harmony import */ var _web3modal_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @web3modal/core */ \"./node_modules/@web3modal/core/dist/esm/index.js\");\n/* harmony import */ var _web3modal_ui__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @web3modal/ui */ \"./node_modules/@web3modal/ui/dist/esm/index.js\");\n/* harmony import */ var _utils_w3m_connecting_widget_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../utils/w3m-connecting-widget/index.js */ \"./node_modules/@web3modal/scaffold/dist/esm/src/utils/w3m-connecting-widget/index.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\nlet W3mConnectingWcMobile = class W3mConnectingWcMobile extends _utils_w3m_connecting_widget_index_js__WEBPACK_IMPORTED_MODULE_2__.W3mConnectingWidget {\n constructor() {\n super();\n if (!this.wallet) {\n throw new Error('w3m-connecting-wc-mobile: No wallet provided');\n }\n this.onConnect = this.onConnectProxy.bind(this);\n this.onRender = this.onRenderProxy.bind(this);\n document.addEventListener('visibilitychange', this.onBuffering.bind(this));\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.EventsController.sendEvent({\n type: 'track',\n event: 'SELECT_WALLET',\n properties: { name: this.wallet.name, platform: 'mobile' }\n });\n }\n disconnectedCallback() {\n super.disconnectedCallback();\n document.removeEventListener('visibilitychange', this.onBuffering.bind(this));\n }\n onRenderProxy() {\n if (!this.ready && this.uri) {\n this.ready = true;\n this.onConnect?.();\n }\n }\n onConnectProxy() {\n if (this.wallet?.mobile_link && this.uri) {\n try {\n this.error = false;\n const { mobile_link, name } = this.wallet;\n const { redirect, href } = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.CoreHelperUtil.formatNativeUrl(mobile_link, this.uri);\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ConnectionController.setWcLinking({ name, href });\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ConnectionController.setRecentWallet(this.wallet);\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.CoreHelperUtil.openHref(redirect, '_self');\n }\n catch {\n this.error = true;\n }\n }\n }\n onBuffering() {\n const isIos = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.CoreHelperUtil.isIos();\n if (document?.visibilityState === 'visible' && !this.error && isIos) {\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ConnectionController.setBuffering(true);\n setTimeout(() => {\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ConnectionController.setBuffering(false);\n }, 5000);\n }\n }\n};\nW3mConnectingWcMobile = __decorate([\n (0,_web3modal_ui__WEBPACK_IMPORTED_MODULE_1__.customElement)('w3m-connecting-wc-mobile')\n], W3mConnectingWcMobile);\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-connecting-wc-mobile/index.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-connecting-wc-qrcode/index.js":
|
|||
|
/*!**************************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-connecting-wc-qrcode/index.js ***!
|
|||
|
\**************************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ W3mConnectingWcQrcode: () => (/* binding */ W3mConnectingWcQrcode)\n/* harmony export */ });\n/* harmony import */ var _web3modal_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @web3modal/core */ \"./node_modules/@web3modal/core/dist/esm/index.js\");\n/* harmony import */ var _web3modal_ui__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @web3modal/ui */ \"./node_modules/@web3modal/ui/dist/esm/index.js\");\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/scaffold/node_modules/lit/index.js\");\n/* harmony import */ var lit_directives_if_defined_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! lit/directives/if-defined.js */ \"./node_modules/@web3modal/scaffold/node_modules/lit/directives/if-defined.js\");\n/* harmony import */ var _utils_w3m_connecting_widget_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../utils/w3m-connecting-widget/index.js */ \"./node_modules/@web3modal/scaffold/dist/esm/src/utils/w3m-connecting-widget/index.js\");\n/* harmony import */ var _styles_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./styles.js */ \"./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-connecting-wc-qrcode/styles.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\n\n\nlet W3mConnectingWcQrcode = class W3mConnectingWcQrcode extends _utils_w3m_connecting_widget_index_js__WEBPACK_IMPORTED_MODULE_4__.W3mConnectingWidget {\n constructor() {\n super();\n this.forceUpdate = () => {\n this.requestUpdate();\n };\n window.addEventListener('resize', this.forceUpdate);\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.EventsController.sendEvent({\n type: 'track',\n event: 'SELECT_WALLET',\n properties: { name: this.wallet?.name ?? 'WalletConnect', platform: 'qrcode' }\n });\n }\n disconnectedCallback() {\n super.disconnectedCallback();\n window.removeEventListener('resize', this.forceUpdate);\n }\n render() {\n this.onRenderProxy();\n return (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `\n <wui-flex padding=\"xl\" flexDirection=\"column\" gap=\"xl\" alignItems=\"center\">\n <wui-shimmer borderRadius=\"l\" width=\"100%\"> ${this.qrCodeTemplate()} </wui-shimmer>\n\n <wui-text variant=\"paragraph-500\" color=\"fg-100\">\n Scan this QR Code with your phone\n </wui-text>\n\n <wui-link @click=${this.onCopyUri} color=\"fg-200\">\n <wui-icon size=\"sm\" color=\"fg-200\" slot=\"iconLeft\" name=\"copy\"></wui-icon>\n Copy Link\n </wui-link>\n </wui-flex>\n\n <w3m-mobile-download-links .wallet=${this.wallet}></w3m-mobile-download-links>\n `;\n }\n onRenderProxy() {\n if (!this.ready && this.uri) {\n this.timeout = setTimeout(() => {\n this.ready = true;\n }, 200);\n }\n }\n qrCodeTemplate() {\n if (!this.uri || !this.ready) {\n return null;\n }\n const size = this.getBoundingClientRect().width - 40;\n const alt = this.wallet ? this.wallet.name : undefined;\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ConnectionController.setWcLinking(undefined);\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ConnectionControlle
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-connecting-wc-qrcode/styles.js":
|
|||
|
/*!***************************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-connecting-wc-qrcode/styles.js ***!
|
|||
|
\***************************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/scaffold/node_modules/lit/index.js\");\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,lit__WEBPACK_IMPORTED_MODULE_0__.css) `\n @keyframes fadein {\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n }\n\n wui-shimmer {\n width: 100%;\n aspect-ratio: 1 / 1;\n border-radius: clamp(0px, var(--wui-border-radius-l), 40px) !important;\n }\n\n wui-qr-code {\n opacity: 0;\n animation-duration: 200ms;\n animation-timing-function: ease;\n animation-name: fadein;\n animation-fill-mode: forwards;\n }\n`);\n//# sourceMappingURL=styles.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-connecting-wc-qrcode/styles.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-connecting-wc-unsupported/index.js":
|
|||
|
/*!*******************************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-connecting-wc-unsupported/index.js ***!
|
|||
|
\*******************************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ W3mConnectingWcUnsupported: () => (/* binding */ W3mConnectingWcUnsupported)\n/* harmony export */ });\n/* harmony import */ var _web3modal_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @web3modal/core */ \"./node_modules/@web3modal/core/dist/esm/index.js\");\n/* harmony import */ var _web3modal_ui__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @web3modal/ui */ \"./node_modules/@web3modal/ui/dist/esm/index.js\");\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/scaffold/node_modules/lit/index.js\");\n/* harmony import */ var lit_directives_if_defined_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! lit/directives/if-defined.js */ \"./node_modules/@web3modal/scaffold/node_modules/lit/directives/if-defined.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\nlet W3mConnectingWcUnsupported = class W3mConnectingWcUnsupported extends lit__WEBPACK_IMPORTED_MODULE_2__.LitElement {\n constructor() {\n super();\n this.wallet = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.RouterController.state.data?.wallet;\n if (!this.wallet) {\n throw new Error('w3m-connecting-wc-unsupported: No wallet provided');\n }\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.EventsController.sendEvent({\n type: 'track',\n event: 'SELECT_WALLET',\n properties: { name: this.wallet.name, platform: 'browser' }\n });\n }\n render() {\n return (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `\n <wui-flex\n flexDirection=\"column\"\n alignItems=\"center\"\n .padding=${['3xl', 'xl', 'xl', 'xl']}\n gap=\"xl\"\n >\n <wui-wallet-image\n size=\"lg\"\n imageSrc=${(0,lit_directives_if_defined_js__WEBPACK_IMPORTED_MODULE_3__.ifDefined)(_web3modal_core__WEBPACK_IMPORTED_MODULE_0__.AssetUtil.getWalletImage(this.wallet))}\n ></wui-wallet-image>\n\n <wui-text variant=\"paragraph-500\" color=\"fg-100\">Not Detected</wui-text>\n </wui-flex>\n\n <w3m-mobile-download-links .wallet=${this.wallet}></w3m-mobile-download-links>\n `;\n }\n};\nW3mConnectingWcUnsupported = __decorate([\n (0,_web3modal_ui__WEBPACK_IMPORTED_MODULE_1__.customElement)('w3m-connecting-wc-unsupported')\n], W3mConnectingWcUnsupported);\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-connecting-wc-unsupported/index.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-connecting-wc-web/index.js":
|
|||
|
/*!***********************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-connecting-wc-web/index.js ***!
|
|||
|
\***********************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ W3mConnectingWcWeb: () => (/* binding */ W3mConnectingWcWeb)\n/* harmony export */ });\n/* harmony import */ var _web3modal_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @web3modal/core */ \"./node_modules/@web3modal/core/dist/esm/index.js\");\n/* harmony import */ var _web3modal_ui__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @web3modal/ui */ \"./node_modules/@web3modal/ui/dist/esm/index.js\");\n/* harmony import */ var _utils_w3m_connecting_widget_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../utils/w3m-connecting-widget/index.js */ \"./node_modules/@web3modal/scaffold/dist/esm/src/utils/w3m-connecting-widget/index.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\nlet W3mConnectingWcWeb = class W3mConnectingWcWeb extends _utils_w3m_connecting_widget_index_js__WEBPACK_IMPORTED_MODULE_2__.W3mConnectingWidget {\n constructor() {\n super();\n if (!this.wallet) {\n throw new Error('w3m-connecting-wc-web: No wallet provided');\n }\n this.onConnect = this.onConnectProxy.bind(this);\n this.secondaryBtnLabel = 'Open';\n this.secondaryLabel = 'Open and continue in a new browser tab';\n this.secondaryBtnIcon = 'externalLink';\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.EventsController.sendEvent({\n type: 'track',\n event: 'SELECT_WALLET',\n properties: { name: this.wallet.name, platform: 'web' }\n });\n }\n onConnectProxy() {\n if (this.wallet?.webapp_link && this.uri) {\n try {\n this.error = false;\n const { webapp_link, name } = this.wallet;\n const { redirect, href } = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.CoreHelperUtil.formatUniversalUrl(webapp_link, this.uri);\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ConnectionController.setWcLinking({ name, href });\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ConnectionController.setRecentWallet(this.wallet);\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.CoreHelperUtil.openHref(redirect, '_blank');\n }\n catch {\n this.error = true;\n }\n }\n }\n};\nW3mConnectingWcWeb = __decorate([\n (0,_web3modal_ui__WEBPACK_IMPORTED_MODULE_1__.customElement)('w3m-connecting-wc-web')\n], W3mConnectingWcWeb);\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-connecting-wc-web/index.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-header/index.js":
|
|||
|
/*!************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-header/index.js ***!
|
|||
|
\************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ W3mHeader: () => (/* binding */ W3mHeader)\n/* harmony export */ });\n/* harmony import */ var _web3modal_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @web3modal/core */ \"./node_modules/@web3modal/core/dist/esm/index.js\");\n/* harmony import */ var _web3modal_ui__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @web3modal/ui */ \"./node_modules/@web3modal/ui/dist/esm/index.js\");\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/scaffold/node_modules/lit/index.js\");\n/* harmony import */ var lit_decorators_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! lit/decorators.js */ \"./node_modules/@web3modal/scaffold/node_modules/lit/decorators.js\");\n/* harmony import */ var _styles_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./styles.js */ \"./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-header/styles.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\n\nfunction headings() {\n const connectorName = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.RouterController.state.data?.connector?.name;\n const walletName = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.RouterController.state.data?.wallet?.name;\n const networkName = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.RouterController.state.data?.network?.name;\n const name = walletName ?? connectorName;\n return {\n Connect: 'Connect Wallet',\n Account: undefined,\n ConnectingExternal: name ?? 'Connect Wallet',\n ConnectingWalletConnect: name ?? 'WalletConnect',\n ConnectingSiwe: 'Sign In',\n Networks: 'Choose Network',\n SwitchNetwork: networkName ?? 'Switch Network',\n AllWallets: 'All Wallets',\n WhatIsANetwork: 'What is a network?',\n WhatIsAWallet: 'What is a wallet?',\n GetWallet: 'Get a Wallet',\n Downloads: name ? `Get ${name}` : 'Downloads',\n Transactions: 'Activity'\n };\n}\nlet W3mHeader = class W3mHeader extends lit__WEBPACK_IMPORTED_MODULE_2__.LitElement {\n constructor() {\n super();\n this.unsubscribe = [];\n this.heading = headings()[_web3modal_core__WEBPACK_IMPORTED_MODULE_0__.RouterController.state.view];\n this.buffering = false;\n this.showBack = false;\n this.unsubscribe.push(_web3modal_core__WEBPACK_IMPORTED_MODULE_0__.RouterController.subscribeKey('view', val => {\n this.onViewChange(val);\n this.onHistoryChange();\n }), _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ConnectionController.subscribeKey('buffering', val => (this.buffering = val)));\n }\n disconnectCallback() {\n this.unsubscribe.forEach(unsubscribe => unsubscribe());\n }\n render() {\n return (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `\n <wui-flex .padding=${this.getPadding()} justifyContent=\"space-between\" alignItems=\"center\">\n ${this.dynamicButtonTemplate()} ${this.titleTemplate()}\n <wui-icon-link\n ?disabled=${this.buffering}\n icon=\"close\"\n @click=${_web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ModalController.close}\n ></wui-icon-link>\n </wui-flex>\n ${this.separatorTemplate()}\n `;\n }\n onWalletHelp() {\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.EventsController.sendEvent({ type:
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-header/styles.js":
|
|||
|
/*!*************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-header/styles.js ***!
|
|||
|
\*************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/scaffold/node_modules/lit/index.js\");\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,lit__WEBPACK_IMPORTED_MODULE_0__.css) `\n wui-icon-link[data-hidden='true'] {\n opacity: 0 !important;\n pointer-events: none;\n }\n`);\n//# sourceMappingURL=styles.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-header/styles.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-help-widget/index.js":
|
|||
|
/*!*****************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-help-widget/index.js ***!
|
|||
|
\*****************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ W3mHelpWidget: () => (/* binding */ W3mHelpWidget)\n/* harmony export */ });\n/* harmony import */ var _web3modal_ui__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @web3modal/ui */ \"./node_modules/@web3modal/ui/dist/esm/index.js\");\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/scaffold/node_modules/lit/index.js\");\n/* harmony import */ var lit_decorators_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lit/decorators.js */ \"./node_modules/@web3modal/scaffold/node_modules/lit/decorators.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\nlet W3mHelpWidget = class W3mHelpWidget extends lit__WEBPACK_IMPORTED_MODULE_1__.LitElement {\n constructor() {\n super(...arguments);\n this.data = [];\n }\n render() {\n return (0,lit__WEBPACK_IMPORTED_MODULE_1__.html) `\n <wui-flex flexDirection=\"column\" alignItems=\"center\" gap=\"l\">\n ${this.data.map(item => (0,lit__WEBPACK_IMPORTED_MODULE_1__.html) `\n <wui-flex flexDirection=\"column\" alignItems=\"center\" gap=\"xl\">\n <wui-flex flexDirection=\"row\" justifyContent=\"center\" gap=\"1xs\">\n ${item.images.map(image => (0,lit__WEBPACK_IMPORTED_MODULE_1__.html) `<wui-visual name=${image}></wui-visual>`)}\n </wui-flex>\n </wui-flex>\n <wui-flex flexDirection=\"column\" alignItems=\"center\" gap=\"xxs\">\n <wui-text variant=\"paragraph-500\" color=\"fg-100\" align=\"center\">\n ${item.title}\n </wui-text>\n <wui-text variant=\"small-500\" color=\"fg-200\" align=\"center\">${item.text}</wui-text>\n </wui-flex>\n `)}\n </wui-flex>\n `;\n }\n};\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_2__.property)({ type: Array })\n], W3mHelpWidget.prototype, \"data\", void 0);\nW3mHelpWidget = __decorate([\n (0,_web3modal_ui__WEBPACK_IMPORTED_MODULE_0__.customElement)('w3m-help-widget')\n], W3mHelpWidget);\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-help-widget/index.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-legal-footer/index.js":
|
|||
|
/*!******************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-legal-footer/index.js ***!
|
|||
|
\******************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ W3mLegalFooter: () => (/* binding */ W3mLegalFooter)\n/* harmony export */ });\n/* harmony import */ var _web3modal_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @web3modal/core */ \"./node_modules/@web3modal/core/dist/esm/index.js\");\n/* harmony import */ var _web3modal_ui__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @web3modal/ui */ \"./node_modules/@web3modal/ui/dist/esm/index.js\");\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/scaffold/node_modules/lit/index.js\");\n/* harmony import */ var _styles_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./styles.js */ \"./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-legal-footer/styles.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\nlet W3mLegalFooter = class W3mLegalFooter extends lit__WEBPACK_IMPORTED_MODULE_2__.LitElement {\n render() {\n const { termsConditionsUrl, privacyPolicyUrl } = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.OptionsController.state;\n if (!termsConditionsUrl && !privacyPolicyUrl) {\n return null;\n }\n return (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `\n <wui-flex .padding=${['m', 's', 's', 's']} justifyContent=\"center\">\n <wui-text color=\"fg-250\" variant=\"small-500\" align=\"center\">\n By connecting your wallet, you agree to our <br />\n ${this.termsTemplate()} ${this.andTemplate()} ${this.privacyTemplate()}\n </wui-text>\n </wui-flex>\n `;\n }\n andTemplate() {\n const { termsConditionsUrl, privacyPolicyUrl } = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.OptionsController.state;\n return termsConditionsUrl && privacyPolicyUrl ? 'and' : '';\n }\n termsTemplate() {\n const { termsConditionsUrl } = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.OptionsController.state;\n if (!termsConditionsUrl) {\n return null;\n }\n return (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `<a href=${termsConditionsUrl}>Terms of Service</a>`;\n }\n privacyTemplate() {\n const { privacyPolicyUrl } = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.OptionsController.state;\n if (!privacyPolicyUrl) {\n return null;\n }\n return (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `<a href=${privacyPolicyUrl}>Privacy Policy</a>`;\n }\n};\nW3mLegalFooter.styles = [_styles_js__WEBPACK_IMPORTED_MODULE_3__[\"default\"]];\nW3mLegalFooter = __decorate([\n (0,_web3modal_ui__WEBPACK_IMPORTED_MODULE_1__.customElement)('w3m-legal-footer')\n], W3mLegalFooter);\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-legal-footer/index.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-legal-footer/styles.js":
|
|||
|
/*!*******************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-legal-footer/styles.js ***!
|
|||
|
\*******************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/scaffold/node_modules/lit/index.js\");\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,lit__WEBPACK_IMPORTED_MODULE_0__.css) `\n wui-flex {\n background-color: var(--wui-gray-glass-005);\n }\n\n a {\n text-decoration: none;\n color: var(--wui-color-fg-175);\n font-weight: 600;\n }\n`);\n//# sourceMappingURL=styles.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-legal-footer/styles.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-mobile-download-links/index.js":
|
|||
|
/*!***************************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-mobile-download-links/index.js ***!
|
|||
|
\***************************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ W3mMobileDownloadLinks: () => (/* binding */ W3mMobileDownloadLinks)\n/* harmony export */ });\n/* harmony import */ var _web3modal_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @web3modal/core */ \"./node_modules/@web3modal/core/dist/esm/index.js\");\n/* harmony import */ var _web3modal_ui__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @web3modal/ui */ \"./node_modules/@web3modal/ui/dist/esm/index.js\");\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/scaffold/node_modules/lit/index.js\");\n/* harmony import */ var lit_decorators_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! lit/decorators.js */ \"./node_modules/@web3modal/scaffold/node_modules/lit/decorators.js\");\n/* harmony import */ var _styles_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./styles.js */ \"./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-mobile-download-links/styles.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\n\nlet W3mMobileDownloadLinks = class W3mMobileDownloadLinks extends lit__WEBPACK_IMPORTED_MODULE_2__.LitElement {\n constructor() {\n super(...arguments);\n this.wallet = undefined;\n }\n render() {\n if (!this.wallet) {\n this.style.display = 'none';\n return null;\n }\n const { name, app_store, play_store, chrome_store, homepage } = this.wallet;\n const isMobile = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.CoreHelperUtil.isMobile();\n const isIos = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.CoreHelperUtil.isIos();\n const isAndroid = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.CoreHelperUtil.isAndroid();\n const isMultiple = [app_store, play_store, homepage, chrome_store].filter(Boolean).length > 1;\n const shortName = _web3modal_ui__WEBPACK_IMPORTED_MODULE_1__.UiHelperUtil.getTruncateString({\n string: name,\n charsStart: 12,\n charsEnd: 0,\n truncate: 'end'\n });\n if (isMultiple && !isMobile) {\n return (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `\n <wui-cta-button\n label=${`Don't have ${shortName}?`}\n buttonLabel=\"Get\"\n @click=${() => _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.RouterController.push('Downloads', { wallet: this.wallet })}\n ></wui-cta-button>\n `;\n }\n if (!isMultiple && homepage) {\n return (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `\n <wui-cta-button\n label=${`Don't have ${shortName}?`}\n buttonLabel=\"Get\"\n @click=${this.onHomePage.bind(this)}\n ></wui-cta-button>\n `;\n }\n if (app_store && isIos) {\n return (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `\n <wui-cta-button\n label=${`Don't have ${shortName}?`}\n buttonLabel=\"Get\"\n @click=${this.onAppStore.bind(this)}\n ></wui-cta-button>\n `;\n }\n if (play_store && isAndroid) {\n return (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `\n <wui-cta-button\n label=${`Don't have ${shortName}?`}\n buttonLabel=\"Get\"\n @click=${this.onPlayStore.bind(this)}\n ></wui-cta-button>\n `;\n }\n this.style.display = 'n
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-mobile-download-links/styles.js":
|
|||
|
/*!****************************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-mobile-download-links/styles.js ***!
|
|||
|
\****************************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/scaffold/node_modules/lit/index.js\");\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,lit__WEBPACK_IMPORTED_MODULE_0__.css) `\n :host {\n display: block;\n padding: 0 var(--wui-spacing-xl) var(--wui-spacing-xl);\n }\n`);\n//# sourceMappingURL=styles.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-mobile-download-links/styles.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-snackbar/index.js":
|
|||
|
/*!**************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-snackbar/index.js ***!
|
|||
|
\**************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ W3mSnackBar: () => (/* binding */ W3mSnackBar)\n/* harmony export */ });\n/* harmony import */ var _web3modal_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @web3modal/core */ \"./node_modules/@web3modal/core/dist/esm/index.js\");\n/* harmony import */ var _web3modal_ui__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @web3modal/ui */ \"./node_modules/@web3modal/ui/dist/esm/index.js\");\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/scaffold/node_modules/lit/index.js\");\n/* harmony import */ var lit_decorators_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! lit/decorators.js */ \"./node_modules/@web3modal/scaffold/node_modules/lit/decorators.js\");\n/* harmony import */ var _styles_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./styles.js */ \"./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-snackbar/styles.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\n\nconst presets = {\n success: {\n backgroundColor: 'success-100',\n iconColor: 'success-100',\n icon: 'checkmark'\n },\n error: {\n backgroundColor: 'error-100',\n iconColor: 'error-100',\n icon: 'close'\n }\n};\nlet W3mSnackBar = class W3mSnackBar extends lit__WEBPACK_IMPORTED_MODULE_2__.LitElement {\n constructor() {\n super();\n this.unsubscribe = [];\n this.timeout = undefined;\n this.open = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.SnackController.state.open;\n this.unsubscribe.push(_web3modal_core__WEBPACK_IMPORTED_MODULE_0__.SnackController.subscribeKey('open', val => {\n this.open = val;\n this.onOpen();\n }));\n }\n disconnectedCallback() {\n clearTimeout(this.timeout);\n this.unsubscribe.forEach(unsubscribe => unsubscribe());\n }\n render() {\n const { message, variant } = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.SnackController.state;\n const preset = presets[variant];\n return (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `\n <wui-snackbar\n message=${message}\n backgroundColor=${preset.backgroundColor}\n iconColor=${preset.iconColor}\n icon=${preset.icon}\n ></wui-snackbar>\n `;\n }\n onOpen() {\n clearTimeout(this.timeout);\n if (this.open) {\n this.animate([\n { opacity: 0, transform: 'translateX(-50%) scale(0.85)' },\n { opacity: 1, transform: 'translateX(-50%) scale(1)' }\n ], {\n duration: 150,\n fill: 'forwards',\n easing: 'ease'\n });\n this.timeout = setTimeout(() => _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.SnackController.hide(), 2500);\n }\n else {\n this.animate([\n { opacity: 1, transform: 'translateX(-50%) scale(1)' },\n { opacity: 0, transform: 'translateX(-50%) scale(0.85)' }\n ], {\n duration: 150,\n fill: 'forwards',\n easing: 'ease'\n });\n }\n }\n};\nW3mSnackBar.styles = _styles_js__WEBPACK_IMPORTED_MODULE_4__[\"default\"];\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_3__.state)()\n], W3mSnackBar.prototype, \"open\", void 0);\nW
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-snackbar/styles.js":
|
|||
|
/*!***************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-snackbar/styles.js ***!
|
|||
|
\***************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/scaffold/node_modules/lit/index.js\");\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,lit__WEBPACK_IMPORTED_MODULE_0__.css) `\n :host {\n display: block;\n position: absolute;\n opacity: 0;\n pointer-events: none;\n top: 11px;\n left: 50%;\n }\n`);\n//# sourceMappingURL=styles.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-snackbar/styles.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/scaffold/dist/esm/src/utils/w3m-connecting-widget/index.js":
|
|||
|
/*!********************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/scaffold/dist/esm/src/utils/w3m-connecting-widget/index.js ***!
|
|||
|
\********************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ W3mConnectingWidget: () => (/* binding */ W3mConnectingWidget)\n/* harmony export */ });\n/* harmony import */ var _web3modal_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @web3modal/core */ \"./node_modules/@web3modal/core/dist/esm/index.js\");\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/scaffold/node_modules/lit/index.js\");\n/* harmony import */ var lit_decorators_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lit/decorators.js */ \"./node_modules/@web3modal/scaffold/node_modules/lit/decorators.js\");\n/* harmony import */ var lit_directives_if_defined_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! lit/directives/if-defined.js */ \"./node_modules/@web3modal/scaffold/node_modules/lit/directives/if-defined.js\");\n/* harmony import */ var _styles_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./styles.js */ \"./node_modules/@web3modal/scaffold/dist/esm/src/utils/w3m-connecting-widget/styles.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\n\nclass W3mConnectingWidget extends lit__WEBPACK_IMPORTED_MODULE_1__.LitElement {\n constructor() {\n super();\n this.wallet = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.RouterController.state.data?.wallet;\n this.connector = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.RouterController.state.data?.connector;\n this.timeout = undefined;\n this.secondaryBtnLabel = 'Try again';\n this.secondaryBtnIcon = 'refresh';\n this.secondaryLabel = 'Accept connection request in the wallet';\n this.onConnect = undefined;\n this.onRender = undefined;\n this.onAutoConnect = undefined;\n this.isWalletConnect = true;\n this.unsubscribe = [];\n this.imageSrc = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.AssetUtil.getWalletImage(this.wallet) ?? _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.AssetUtil.getConnectorImage(this.connector);\n this.name = this.wallet?.name ?? this.connector?.name ?? 'Wallet';\n this.isRetrying = false;\n this.uri = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ConnectionController.state.wcUri;\n this.error = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ConnectionController.state.wcError;\n this.ready = false;\n this.showRetry = false;\n this.buffering = false;\n this.isMobile = false;\n this.onRetry = undefined;\n this.unsubscribe.push(...[\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ConnectionController.subscribeKey('wcUri', val => {\n this.uri = val;\n if (this.isRetrying && this.onRetry) {\n this.isRetrying = false;\n this.onConnect?.();\n }\n }),\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ConnectionController.subscribeKey('wcError', val => (this.error = val)),\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ConnectionController.subscribeKey('buffering', val => (this.buffering = val))\n ]);\n }\n firstUpdated() {\n this.onAutoConnect?.();\n this.showRetry = !this.onAutoConnect;\n }\n disconnectedCallback() {\n this.unsubscribe.forEach(unsubscribe => unsubscribe());\n clearTimeout(this.timeout);\n }\n render() {\n this
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/scaffold/dist/esm/src/utils/w3m-connecting-widget/styles.js":
|
|||
|
/*!*********************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/scaffold/dist/esm/src/utils/w3m-connecting-widget/styles.js ***!
|
|||
|
\*********************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/scaffold/node_modules/lit/index.js\");\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,lit__WEBPACK_IMPORTED_MODULE_0__.css) `\n @keyframes shake {\n 0% {\n transform: translateX(0);\n }\n 25% {\n transform: translateX(3px);\n }\n 50% {\n transform: translateX(-3px);\n }\n 75% {\n transform: translateX(3px);\n }\n 100% {\n transform: translateX(0);\n }\n }\n\n wui-flex:first-child:not(:only-child) {\n position: relative;\n }\n\n wui-loading-thumbnail {\n position: absolute;\n }\n\n wui-icon-box {\n position: absolute;\n right: calc(var(--wui-spacing-3xs) * -1);\n bottom: calc(var(--wui-spacing-3xs) * -1);\n opacity: 0;\n transform: scale(0.5);\n transition: all var(--wui-ease-out-power-2) var(--wui-duration-lg);\n }\n\n wui-text[align='center'] {\n width: 100%;\n padding: 0px var(--wui-spacing-l);\n }\n\n [data-error='true'] wui-icon-box {\n opacity: 1;\n transform: scale(1);\n }\n\n [data-error='true'] > wui-flex:first-child {\n animation: shake 250ms cubic-bezier(0.36, 0.07, 0.19, 0.97) both;\n }\n\n [data-retry='false'] wui-link {\n display: none;\n }\n\n [data-retry='true'] wui-link {\n display: block;\n opacity: 1;\n }\n`);\n//# sourceMappingURL=styles.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/scaffold/dist/esm/src/utils/w3m-connecting-widget/styles.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/scaffold/dist/esm/src/views/w3m-account-view/index.js":
|
|||
|
/*!***************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/scaffold/dist/esm/src/views/w3m-account-view/index.js ***!
|
|||
|
\***************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ W3mAccountView: () => (/* binding */ W3mAccountView)\n/* harmony export */ });\n/* harmony import */ var _web3modal_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @web3modal/core */ \"./node_modules/@web3modal/core/dist/esm/index.js\");\n/* harmony import */ var _web3modal_ui__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @web3modal/ui */ \"./node_modules/@web3modal/ui/dist/esm/index.js\");\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/scaffold/node_modules/lit/index.js\");\n/* harmony import */ var lit_decorators_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! lit/decorators.js */ \"./node_modules/@web3modal/scaffold/node_modules/lit/decorators.js\");\n/* harmony import */ var lit_directives_if_defined_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! lit/directives/if-defined.js */ \"./node_modules/@web3modal/scaffold/node_modules/lit/directives/if-defined.js\");\n/* harmony import */ var _styles_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./styles.js */ \"./node_modules/@web3modal/scaffold/dist/esm/src/views/w3m-account-view/styles.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\n\n\nlet W3mAccountView = class W3mAccountView extends lit__WEBPACK_IMPORTED_MODULE_2__.LitElement {\n constructor() {\n super();\n this.usubscribe = [];\n this.networkImages = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.AssetController.state.networkImages;\n this.address = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.AccountController.state.address;\n this.profileImage = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.AccountController.state.profileImage;\n this.profileName = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.AccountController.state.profileName;\n this.balance = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.AccountController.state.balance;\n this.balanceSymbol = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.AccountController.state.balanceSymbol;\n this.network = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.NetworkController.state.caipNetwork;\n this.disconecting = false;\n this.usubscribe.push(...[\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.AccountController.subscribe(val => {\n if (val.address) {\n this.address = val.address;\n this.profileImage = val.profileImage;\n this.profileName = val.profileName;\n this.balance = val.balance;\n this.balanceSymbol = val.balanceSymbol;\n }\n else {\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ModalController.close();\n }\n })\n ], _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.NetworkController.subscribeKey('caipNetwork', val => {\n if (val?.id) {\n this.network = val;\n }\n }));\n }\n disconnectedCallback() {\n this.usubscribe.forEach(unsubscribe => unsubscribe());\n }\n render() {\n if (!this.address) {\n throw new Error('w3m-account-view: No account provided');\n }\n const networkImage = this.networkImages[this.network?.imageId ?? ''];\n return (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `\n <wui-f
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/scaffold/dist/esm/src/views/w3m-account-view/styles.js":
|
|||
|
/*!****************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/scaffold/dist/esm/src/views/w3m-account-view/styles.js ***!
|
|||
|
\****************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/scaffold/node_modules/lit/index.js\");\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,lit__WEBPACK_IMPORTED_MODULE_0__.css) `\n wui-flex {\n width: 100%;\n }\n\n :host > wui-flex:first-child {\n transform: translateY(calc(var(--wui-spacing-xxs) * -1));\n }\n\n wui-icon-link {\n margin-right: calc(var(--wui-icon-box-size-md) * -1);\n }\n`);\n//# sourceMappingURL=styles.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/scaffold/dist/esm/src/views/w3m-account-view/styles.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/scaffold/dist/esm/src/views/w3m-all-wallets-view/index.js":
|
|||
|
/*!*******************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/scaffold/dist/esm/src/views/w3m-all-wallets-view/index.js ***!
|
|||
|
\*******************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ W3mAllWalletsView: () => (/* binding */ W3mAllWalletsView)\n/* harmony export */ });\n/* harmony import */ var _web3modal_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @web3modal/core */ \"./node_modules/@web3modal/core/dist/esm/index.js\");\n/* harmony import */ var _web3modal_ui__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @web3modal/ui */ \"./node_modules/@web3modal/ui/dist/esm/index.js\");\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/scaffold/node_modules/lit/index.js\");\n/* harmony import */ var lit_decorators_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! lit/decorators.js */ \"./node_modules/@web3modal/scaffold/node_modules/lit/decorators.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\nlet W3mAllWalletsView = class W3mAllWalletsView extends lit__WEBPACK_IMPORTED_MODULE_2__.LitElement {\n constructor() {\n super(...arguments);\n this.search = '';\n this.onDebouncedSearch = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.CoreHelperUtil.debounce((value) => {\n this.search = value;\n });\n }\n render() {\n const isSearch = this.search.length >= 2;\n return (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `\n <wui-flex padding=\"s\" gap=\"s\">\n <wui-search-bar @inputChange=${this.onInputChange.bind(this)}></wui-search-bar>\n ${this.qrButtonTemplate()}\n </wui-flex>\n ${isSearch\n ? (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `<w3m-all-wallets-search query=${this.search}></w3m-all-wallets-search>`\n : (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `<w3m-all-wallets-list></w3m-all-wallets-list>`}\n `;\n }\n onInputChange(event) {\n this.onDebouncedSearch(event.detail);\n }\n qrButtonTemplate() {\n if (_web3modal_core__WEBPACK_IMPORTED_MODULE_0__.CoreHelperUtil.isMobile()) {\n return (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `\n <wui-icon-box\n size=\"lg\"\n iconSize=\"xl\"\n iconColor=\"accent-100\"\n backgroundColor=\"accent-100\"\n icon=\"qrCode\"\n background=\"transparent\"\n border\n borderColor=\"wui-accent-glass-010\"\n @click=${this.onWalletConnectQr.bind(this)}\n ></wui-icon-box>\n `;\n }\n return null;\n }\n onWalletConnectQr() {\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.RouterController.push('ConnectingWalletConnect');\n }\n};\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_3__.state)()\n], W3mAllWalletsView.prototype, \"search\", void 0);\nW3mAllWalletsView = __decorate([\n (0,_web3modal_ui__WEBPACK_IMPORTED_MODULE_1__.customElement)('w3m-all-wallets-view')\n], W3mAllWalletsView);\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/scaffold/dist/esm/src/views/w3m-all-wallets-view/index.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/scaffold/dist/esm/src/views/w3m-connect-view/index.js":
|
|||
|
/*!***************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/scaffold/dist/esm/src/views/w3m-connect-view/index.js ***!
|
|||
|
\***************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ W3mConnectView: () => (/* binding */ W3mConnectView)\n/* harmony export */ });\n/* harmony import */ var _web3modal_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @web3modal/core */ \"./node_modules/@web3modal/core/dist/esm/index.js\");\n/* harmony import */ var _web3modal_ui__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @web3modal/ui */ \"./node_modules/@web3modal/ui/dist/esm/index.js\");\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/scaffold/node_modules/lit/index.js\");\n/* harmony import */ var lit_decorators_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! lit/decorators.js */ \"./node_modules/@web3modal/scaffold/node_modules/lit/decorators.js\");\n/* harmony import */ var lit_directives_if_defined_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! lit/directives/if-defined.js */ \"./node_modules/@web3modal/scaffold/node_modules/lit/directives/if-defined.js\");\n/* harmony import */ var _styles_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./styles.js */ \"./node_modules/@web3modal/scaffold/dist/esm/src/views/w3m-connect-view/styles.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\n\n\nlet W3mConnectView = class W3mConnectView extends lit__WEBPACK_IMPORTED_MODULE_2__.LitElement {\n constructor() {\n super();\n this.unsubscribe = [];\n this.connectors = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ConnectorController.state.connectors;\n this.unsubscribe.push(_web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ConnectorController.subscribeKey('connectors', val => (this.connectors = val)));\n }\n disconnectedCallback() {\n this.unsubscribe.forEach(unsubscribe => unsubscribe());\n }\n render() {\n return (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `\n <wui-flex flexDirection=\"column\" padding=\"s\" gap=\"xs\">\n ${this.walletConnectConnectorTemplate()} ${this.recentTemplate()}\n ${this.announcedTemplate()} ${this.injectedTemplate()} ${this.featuredTemplate()}\n ${this.customTemplate()} ${this.recommendedTemplate()} ${this.connectorsTemplate()}\n ${this.allWalletsTemplate()}\n </wui-flex>\n <w3m-legal-footer></w3m-legal-footer>\n `;\n }\n walletConnectConnectorTemplate() {\n if (_web3modal_core__WEBPACK_IMPORTED_MODULE_0__.CoreHelperUtil.isMobile()) {\n return null;\n }\n const connector = this.connectors.find(c => c.type === 'WALLET_CONNECT');\n if (!connector) {\n return null;\n }\n return (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `\n <wui-list-wallet\n imageSrc=${(0,lit_directives_if_defined_js__WEBPACK_IMPORTED_MODULE_4__.ifDefined)(_web3modal_core__WEBPACK_IMPORTED_MODULE_0__.AssetUtil.getConnectorImage(connector))}\n name=${connector.name ?? 'Unknown'}\n @click=${() => this.onConnector(connector)}\n tagLabel=\"qr code\"\n tagVariant=\"main\"\n >\n </wui-list-wallet>\n `;\n }\n customTemplate() {\n const { customWallets } = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.OptionsController.state;\n if (!customWallets?.length) {\n return null;\n }\n const wallets = this.filterOutDuplicateWallets(customWallets);\n return wallets.map(wallet => (0,lit
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/scaffold/dist/esm/src/views/w3m-connect-view/styles.js":
|
|||
|
/*!****************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/scaffold/dist/esm/src/views/w3m-connect-view/styles.js ***!
|
|||
|
\****************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/scaffold/node_modules/lit/index.js\");\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,lit__WEBPACK_IMPORTED_MODULE_0__.css) `\n wui-flex {\n max-height: clamp(360px, 540px, 80vh);\n overflow: scroll;\n scrollbar-width: none;\n }\n\n wui-flex::-webkit-scrollbar {\n display: none;\n }\n`);\n//# sourceMappingURL=styles.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/scaffold/dist/esm/src/views/w3m-connect-view/styles.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/scaffold/dist/esm/src/views/w3m-connecting-external-view/index.js":
|
|||
|
/*!***************************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/scaffold/dist/esm/src/views/w3m-connecting-external-view/index.js ***!
|
|||
|
\***************************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ W3mConnectingExternalView: () => (/* binding */ W3mConnectingExternalView)\n/* harmony export */ });\n/* harmony import */ var _web3modal_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @web3modal/core */ \"./node_modules/@web3modal/core/dist/esm/index.js\");\n/* harmony import */ var _web3modal_ui__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @web3modal/ui */ \"./node_modules/@web3modal/ui/dist/esm/index.js\");\n/* harmony import */ var _utils_w3m_connecting_widget_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../utils/w3m-connecting-widget/index.js */ \"./node_modules/@web3modal/scaffold/dist/esm/src/utils/w3m-connecting-widget/index.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\nconst platformMap = {\n INJECTED: 'browser',\n ANNOUNCED: 'browser'\n};\nlet W3mConnectingExternalView = class W3mConnectingExternalView extends _utils_w3m_connecting_widget_index_js__WEBPACK_IMPORTED_MODULE_2__.W3mConnectingWidget {\n constructor() {\n super();\n if (!this.connector) {\n throw new Error('w3m-connecting-view: No connector provided');\n }\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.EventsController.sendEvent({\n type: 'track',\n event: 'SELECT_WALLET',\n properties: {\n name: this.connector.name ?? 'Unknown',\n platform: platformMap[this.connector.type] ?? 'external'\n }\n });\n this.onConnect = this.onConnectProxy.bind(this);\n this.onAutoConnect = this.onConnectProxy.bind(this);\n this.isWalletConnect = false;\n }\n async onConnectProxy() {\n try {\n this.error = false;\n if (this.connector) {\n if (this.connector.imageUrl) {\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.StorageUtil.setConnectedWalletImageUrl(this.connector.imageUrl);\n }\n await _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ConnectionController.connectExternal(this.connector);\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ModalController.close();\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.EventsController.sendEvent({\n type: 'track',\n event: 'CONNECT_SUCCESS',\n properties: { method: 'external' }\n });\n }\n }\n catch (error) {\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.EventsController.sendEvent({\n type: 'track',\n event: 'CONNECT_ERROR',\n properties: { message: error?.message ?? 'Unknown' }\n });\n this.error = true;\n }\n }\n};\nW3mConnectingExternalView = __decorate([\n (0,_web3modal_ui__WEBPACK_IMPORTED_MODULE_1__.customElement)('w3m-connecting-external-view')\n], W3mConnectingExternalView);\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/scaffold/dist/esm/src/views/w3m-connecting-external-view/index.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/scaffold/dist/esm/src/views/w3m-connecting-siwe-view/index.js":
|
|||
|
/*!***********************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/scaffold/dist/esm/src/views/w3m-connecting-siwe-view/index.js ***!
|
|||
|
\***********************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ W3mConnectingSiweView: () => (/* binding */ W3mConnectingSiweView)\n/* harmony export */ });\n/* harmony import */ var _web3modal_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @web3modal/core */ \"./node_modules/@web3modal/core/dist/esm/index.js\");\n/* harmony import */ var _web3modal_ui__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @web3modal/ui */ \"./node_modules/@web3modal/ui/dist/esm/index.js\");\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/scaffold/node_modules/lit/index.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\nlet W3mConnectingSiweView = class W3mConnectingSiweView extends lit__WEBPACK_IMPORTED_MODULE_2__.LitElement {\n constructor() {\n super(...arguments);\n this.dappUrl = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.OptionsController.state.metadata?.url;\n this.dappName = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.OptionsController.state.metadata?.name;\n }\n render() {\n return (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `\n <wui-flex justifyContent=\"center\" .padding=${['2xl', '0', 'xxl', '0']}>\n <w3m-connecting-siwe></w3m-connecting-siwe>\n </wui-flex>\n <wui-flex\n .padding=${['0', '4xl', 'l', '4xl']}\n gap=\"s\"\n justifyContent=\"space-between\"\n >\n <wui-text variant=\"paragraph-500\" align=\"center\" color=\"fg-100\"\n >${this.dappName ?? 'Dapp'} wants to connect to your wallet</wui-text\n >\n </wui-flex>\n ${this.urlTemplate()}\n <wui-flex\n .padding=${['0', '3xl', 'l', '3xl']}\n gap=\"s\"\n justifyContent=\"space-between\"\n >\n <wui-text variant=\"small-400\" align=\"center\" color=\"fg-200\"\n >Sign this message to prove you own this wallet and to continue</wui-text\n >\n </wui-flex>\n <wui-flex .padding=${['l', 'xl', 'xl', 'xl']} gap=\"s\" justifyContent=\"space-between\">\n <wui-button size=\"md\" ?fullwidth=${true} variant=\"shade\" @click=${this.onCancel.bind(this)}>\n Cancel\n </wui-button>\n <wui-button size=\"md\" ?fullwidth=${true} variant=\"fill\" @click=${this.onSign.bind(this)}>\n Sign\n </wui-button>\n </wui-flex>\n `;\n }\n urlTemplate() {\n if (this.dappUrl) {\n return (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `<wui-flex .padding=${['0', '0', 'l', '0']} justifyContent=\"center\">\n <wui-button size=\"sm\" variant=\"accentBg\" @click=${this.onDappLink.bind(this)}>\n ${this.dappUrl}\n <wui-icon size=\"sm\" color=\"inherit\" slot=\"iconRight\" name=\"externalLink\"></wui-icon>\n </wui-button>\n </wui-flex>`;\n }\n return null;\n }\n onDappLink() {\n if (this.dappUrl) {\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.CoreHelperUtil.openHref(this.dappUrl, '_blank');\n }\n }\n onSign() {\n }\n onCancel() {\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.RouterController.goBack();\n }\n};\nW3mConnectingSiweView = __decorate([\n (0,_web3modal_ui__WEBPACK_IMPORTED_MODULE_1__.customElement)('w3m-connecting-siwe-view')\n], W3mConnectingSiweView);\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_mod
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/scaffold/dist/esm/src/views/w3m-connecting-wc-view/index.js":
|
|||
|
/*!*********************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/scaffold/dist/esm/src/views/w3m-connecting-wc-view/index.js ***!
|
|||
|
\*********************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ W3mConnectingWcView: () => (/* binding */ W3mConnectingWcView)\n/* harmony export */ });\n/* harmony import */ var _web3modal_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @web3modal/core */ \"./node_modules/@web3modal/core/dist/esm/index.js\");\n/* harmony import */ var _web3modal_ui__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @web3modal/ui */ \"./node_modules/@web3modal/ui/dist/esm/index.js\");\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/scaffold/node_modules/lit/index.js\");\n/* harmony import */ var lit_decorators_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! lit/decorators.js */ \"./node_modules/@web3modal/scaffold/node_modules/lit/decorators.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\nlet W3mConnectingWcView = class W3mConnectingWcView extends lit__WEBPACK_IMPORTED_MODULE_2__.LitElement {\n constructor() {\n super();\n this.interval = undefined;\n this.lastRetry = Date.now();\n this.wallet = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.RouterController.state.data?.wallet;\n this.platform = undefined;\n this.platforms = [];\n this.initializeConnection();\n this.interval = setInterval(this.initializeConnection.bind(this), _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ConstantsUtil.TEN_SEC_MS);\n }\n disconnectedCallback() {\n clearTimeout(this.interval);\n }\n render() {\n if (!this.wallet) {\n return (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `<w3m-connecting-wc-qrcode></w3m-connecting-wc-qrcode>`;\n }\n this.determinePlatforms();\n return (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `\n ${this.headerTemplate()}\n <div>${this.platformTemplate()}</div>\n `;\n }\n async initializeConnection(retry = false) {\n try {\n const { wcPairingExpiry } = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ConnectionController.state;\n if (retry || _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.CoreHelperUtil.isPairingExpired(wcPairingExpiry)) {\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ConnectionController.connectWalletConnect();\n if (this.wallet) {\n const url = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.AssetUtil.getWalletImage(this.wallet);\n if (url) {\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.StorageUtil.setConnectedWalletImageUrl(url);\n }\n }\n else {\n const connectors = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ConnectorController.state.connectors;\n const connector = connectors.find(c => c.type === 'WALLET_CONNECT');\n const url = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.AssetUtil.getConnectorImage(connector);\n if (url) {\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.StorageUtil.setConnectedWalletImageUrl(url);\n }\n }\n await _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ConnectionController.state.wcPromise;\n this.finalizeConnection();\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ModalController.close();\n }\n }\
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/scaffold/dist/esm/src/views/w3m-downloads-view/index.js":
|
|||
|
/*!*****************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/scaffold/dist/esm/src/views/w3m-downloads-view/index.js ***!
|
|||
|
\*****************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ W3mDownloadsView: () => (/* binding */ W3mDownloadsView)\n/* harmony export */ });\n/* harmony import */ var _web3modal_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @web3modal/core */ \"./node_modules/@web3modal/core/dist/esm/index.js\");\n/* harmony import */ var _web3modal_ui__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @web3modal/ui */ \"./node_modules/@web3modal/ui/dist/esm/index.js\");\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/scaffold/node_modules/lit/index.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\nlet W3mDownloadsView = class W3mDownloadsView extends lit__WEBPACK_IMPORTED_MODULE_2__.LitElement {\n constructor() {\n super(...arguments);\n this.wallet = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.RouterController.state.data?.wallet;\n }\n render() {\n if (!this.wallet) {\n throw new Error('w3m-downloads-view');\n }\n return (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `\n <wui-flex gap=\"xs\" flexDirection=\"column\" .padding=${['s', 's', 'l', 's']}>\n ${this.chromeTemplate()} ${this.iosTemplate()} ${this.androidTemplate()}\n ${this.homepageTemplate()}\n </wui-flex>\n `;\n }\n chromeTemplate() {\n if (!this.wallet?.chrome_store) {\n return null;\n }\n return (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `<wui-list-item\n variant=\"icon\"\n icon=\"chromeStore\"\n iconVariant=\"square\"\n @click=${this.onChromeStore.bind(this)}\n chevron\n >\n <wui-text variant=\"paragraph-500\" color=\"fg-100\">Chrome Extension</wui-text>\n </wui-list-item>`;\n }\n iosTemplate() {\n if (!this.wallet?.app_store) {\n return null;\n }\n return (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `<wui-list-item\n variant=\"icon\"\n icon=\"appStore\"\n iconVariant=\"square\"\n @click=${this.onAppStore.bind(this)}\n chevron\n >\n <wui-text variant=\"paragraph-500\" color=\"fg-100\">iOS App</wui-text>\n </wui-list-item>`;\n }\n androidTemplate() {\n if (!this.wallet?.play_store) {\n return null;\n }\n return (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `<wui-list-item\n variant=\"icon\"\n icon=\"playStore\"\n iconVariant=\"square\"\n @click=${this.onPlayStore.bind(this)}\n chevron\n >\n <wui-text variant=\"paragraph-500\" color=\"fg-100\">Android App</wui-text>\n </wui-list-item>`;\n }\n homepageTemplate() {\n if (!this.wallet?.homepage) {\n return null;\n }\n return (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `\n <wui-list-item\n variant=\"icon\"\n icon=\"browser\"\n iconVariant=\"square-blue\"\n @click=${this.onHomePage.bind(this)}\n chevron\n >\n <wui-text variant=\"paragraph-500\" color=\"fg-100\">Website</wui-text>\n </wui-list-item>\n `;\n }\n onChromeStore() {\n if (this.wallet?.chrome_store) {\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.CoreHelperUtil.openHref(this.wallet.chrome_store, '_blank');\n }\n }\n onAppStore() {\n if (this.wallet?.app_store) {\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.CoreHelper
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/scaffold/dist/esm/src/views/w3m-get-wallet-view/index.js":
|
|||
|
/*!******************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/scaffold/dist/esm/src/views/w3m-get-wallet-view/index.js ***!
|
|||
|
\******************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ W3mGetWalletView: () => (/* binding */ W3mGetWalletView)\n/* harmony export */ });\n/* harmony import */ var _web3modal_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @web3modal/core */ \"./node_modules/@web3modal/core/dist/esm/index.js\");\n/* harmony import */ var _web3modal_ui__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @web3modal/ui */ \"./node_modules/@web3modal/ui/dist/esm/index.js\");\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/scaffold/node_modules/lit/index.js\");\n/* harmony import */ var lit_directives_if_defined_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! lit/directives/if-defined.js */ \"./node_modules/@web3modal/scaffold/node_modules/lit/directives/if-defined.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\nconst EXPLORER = 'https://walletconnect.com/explorer';\nlet W3mGetWalletView = class W3mGetWalletView extends lit__WEBPACK_IMPORTED_MODULE_2__.LitElement {\n render() {\n return (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `\n <wui-flex flexDirection=\"column\" padding=\"s\" gap=\"xs\">\n ${this.recommendedWalletsTemplate()}\n <wui-list-wallet\n name=\"Explore all\"\n showAllWallets\n walletIcon=\"allWallets\"\n icon=\"externalLink\"\n @click=${() => {\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.CoreHelperUtil.openHref('https://walletconnect.com/explorer?type=wallet', '_blank');\n }}\n ></wui-list-wallet>\n </wui-flex>\n `;\n }\n recommendedWalletsTemplate() {\n const { recommended, featured } = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ApiController.state;\n const { customWallets } = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.OptionsController.state;\n const wallets = [...featured, ...(customWallets ?? []), ...recommended].slice(0, 4);\n return wallets.map(wallet => (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `\n <wui-list-wallet\n name=${wallet.name ?? 'Unknown'}\n tagVariant=\"main\"\n imageSrc=${(0,lit_directives_if_defined_js__WEBPACK_IMPORTED_MODULE_3__.ifDefined)(_web3modal_core__WEBPACK_IMPORTED_MODULE_0__.AssetUtil.getWalletImage(wallet))}\n @click=${() => {\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.CoreHelperUtil.openHref(wallet.homepage ?? EXPLORER, '_blank');\n }}\n ></wui-list-wallet>\n `);\n }\n};\nW3mGetWalletView = __decorate([\n (0,_web3modal_ui__WEBPACK_IMPORTED_MODULE_1__.customElement)('w3m-get-wallet-view')\n], W3mGetWalletView);\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/scaffold/dist/esm/src/views/w3m-get-wallet-view/index.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/scaffold/dist/esm/src/views/w3m-network-switch-view/index.js":
|
|||
|
/*!**********************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/scaffold/dist/esm/src/views/w3m-network-switch-view/index.js ***!
|
|||
|
\**********************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ W3mNetworkSwitchView: () => (/* binding */ W3mNetworkSwitchView)\n/* harmony export */ });\n/* harmony import */ var _web3modal_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @web3modal/core */ \"./node_modules/@web3modal/core/dist/esm/index.js\");\n/* harmony import */ var _web3modal_ui__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @web3modal/ui */ \"./node_modules/@web3modal/ui/dist/esm/index.js\");\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/scaffold/node_modules/lit/index.js\");\n/* harmony import */ var lit_decorators_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! lit/decorators.js */ \"./node_modules/@web3modal/scaffold/node_modules/lit/decorators.js\");\n/* harmony import */ var lit_directives_if_defined_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! lit/directives/if-defined.js */ \"./node_modules/@web3modal/scaffold/node_modules/lit/directives/if-defined.js\");\n/* harmony import */ var _styles_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./styles.js */ \"./node_modules/@web3modal/scaffold/dist/esm/src/views/w3m-network-switch-view/styles.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\n\n\nlet W3mNetworkSwitchView = class W3mNetworkSwitchView extends lit__WEBPACK_IMPORTED_MODULE_2__.LitElement {\n constructor() {\n super();\n this.network = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.RouterController.state.data?.network;\n this.unsubscribe = [];\n this.showRetry = false;\n this.error = false;\n this.currentNetwork = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.NetworkController.state.caipNetwork;\n this.unsubscribe.push(_web3modal_core__WEBPACK_IMPORTED_MODULE_0__.NetworkController.subscribeKey('caipNetwork', val => {\n if (val?.id !== this.currentNetwork?.id) {\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.RouterController.goBack();\n }\n }));\n }\n disconnectedCallback() {\n this.unsubscribe.forEach(unsubscribe => unsubscribe());\n }\n firstUpdated() {\n this.onSwitchNetwork();\n }\n render() {\n if (!this.network) {\n throw new Error('w3m-network-switch-view: No network provided');\n }\n this.onShowRetry();\n const label = this.error ? 'Switch declined' : 'Approve in wallet';\n const subLabel = this.error\n ? 'Switch can be declined if chain is not supported by a wallet or previous request is still active'\n : 'Accept connection request in your wallet';\n return (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `\n <wui-flex\n data-error=${this.error}\n flexDirection=\"column\"\n alignItems=\"center\"\n .padding=${['3xl', 'xl', '3xl', 'xl']}\n gap=\"xl\"\n >\n <wui-flex justifyContent=\"center\" alignItems=\"center\">\n <wui-network-image\n size=\"lg\"\n imageSrc=${(0,lit_directives_if_defined_js__WEBPACK_IMPORTED_MODULE_4__.ifDefined)(_web3modal_core__WEBPACK_IMPORTED_MODULE_0__.AssetUtil.getNetworkImage(this.network))}\n ></wui-network-image>\n\n ${this.error ? null : (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `<wui-loading-hexagon></wui-loading-hexagon>`}\n\n <wui-icon-box\n b
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/scaffold/dist/esm/src/views/w3m-network-switch-view/styles.js":
|
|||
|
/*!***********************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/scaffold/dist/esm/src/views/w3m-network-switch-view/styles.js ***!
|
|||
|
\***********************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/scaffold/node_modules/lit/index.js\");\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,lit__WEBPACK_IMPORTED_MODULE_0__.css) `\n @keyframes shake {\n 0% {\n transform: translateX(0);\n }\n 25% {\n transform: translateX(3px);\n }\n 50% {\n transform: translateX(-3px);\n }\n 75% {\n transform: translateX(3px);\n }\n 100% {\n transform: translateX(0);\n }\n }\n\n wui-flex:first-child:not(:only-child) {\n position: relative;\n }\n\n wui-loading-hexagon {\n position: absolute;\n }\n\n wui-icon-box {\n position: absolute;\n right: 4px;\n bottom: 0;\n opacity: 0;\n transform: scale(0.5);\n z-index: 1;\n transition: all var(--wui-ease-out-power-2) var(--wui-duration-lg);\n }\n\n wui-button {\n display: none;\n }\n\n [data-error='true'] wui-icon-box {\n opacity: 1;\n transform: scale(1);\n }\n\n [data-error='true'] > wui-flex:first-child {\n animation: shake 250ms cubic-bezier(0.36, 0.07, 0.19, 0.97) both;\n }\n\n wui-button[data-retry='true'] {\n display: block;\n opacity: 1;\n }\n`);\n//# sourceMappingURL=styles.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/scaffold/dist/esm/src/views/w3m-network-switch-view/styles.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/scaffold/dist/esm/src/views/w3m-networks-view/index.js":
|
|||
|
/*!****************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/scaffold/dist/esm/src/views/w3m-networks-view/index.js ***!
|
|||
|
\****************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ W3mNetworksView: () => (/* binding */ W3mNetworksView)\n/* harmony export */ });\n/* harmony import */ var _web3modal_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @web3modal/core */ \"./node_modules/@web3modal/core/dist/esm/index.js\");\n/* harmony import */ var _web3modal_ui__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @web3modal/ui */ \"./node_modules/@web3modal/ui/dist/esm/index.js\");\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/scaffold/node_modules/lit/index.js\");\n/* harmony import */ var lit_decorators_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! lit/decorators.js */ \"./node_modules/@web3modal/scaffold/node_modules/lit/decorators.js\");\n/* harmony import */ var lit_directives_if_defined_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! lit/directives/if-defined.js */ \"./node_modules/@web3modal/scaffold/node_modules/lit/directives/if-defined.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\n\nlet W3mNetworksView = class W3mNetworksView extends lit__WEBPACK_IMPORTED_MODULE_2__.LitElement {\n constructor() {\n super();\n this.unsubscribe = [];\n this.caipNetwork = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.NetworkController.state.caipNetwork;\n this.unsubscribe.push(_web3modal_core__WEBPACK_IMPORTED_MODULE_0__.NetworkController.subscribeKey('caipNetwork', val => (this.caipNetwork = val)));\n }\n disconnectedCallback() {\n this.unsubscribe.forEach(unsubscribe => unsubscribe());\n }\n render() {\n return (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `\n <wui-grid padding=\"s\" gridTemplateColumns=\"repeat(4, 1fr)\" rowGap=\"l\" columnGap=\"xs\">\n ${this.networksTemplate()}\n </wui-grid>\n\n <wui-separator></wui-separator>\n\n <wui-flex padding=\"s\" flexDirection=\"column\" gap=\"m\" alignItems=\"center\">\n <wui-text variant=\"small-500\" color=\"fg-300\" align=\"center\">\n Your connected wallet may not support some of the networks available for this dApp\n </wui-text>\n <wui-link @click=${this.onNetworkHelp.bind(this)}>\n <wui-icon size=\"xs\" color=\"accent-100\" slot=\"iconLeft\" name=\"helpCircle\"></wui-icon>\n What is a network\n </wui-link>\n </wui-flex>\n `;\n }\n onNetworkHelp() {\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.EventsController.sendEvent({ type: 'track', event: 'CLICK_NETWORK_HELP' });\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.RouterController.push('WhatIsANetwork');\n }\n networksTemplate() {\n const { approvedCaipNetworkIds, requestedCaipNetworks, supportsAllNetworks } = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.NetworkController.state;\n const approvedIds = approvedCaipNetworkIds;\n const requested = requestedCaipNetworks;\n if (approvedIds?.length) {\n requested?.sort((a, b) => approvedIds.indexOf(b.id) - approvedIds.indexOf(a.id));\n }\n return requested?.map(network => (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `\n <wui-card-select\n .selected=${this.caipNetwork?.id === network.id}\n imageSrc=${(0,lit_directives_if_defined_js__WEBPACK_IMPORTED_MODULE_4__.ifDefined)(_web3modal_core__WEBPACK_IMPORTED_MODULE_0__.AssetUtil.getNe
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/scaffold/dist/esm/src/views/w3m-transactions-view/index.js":
|
|||
|
/*!********************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/scaffold/dist/esm/src/views/w3m-transactions-view/index.js ***!
|
|||
|
\********************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ W3mTransactionsView: () => (/* binding */ W3mTransactionsView)\n/* harmony export */ });\n/* harmony import */ var _web3modal_common__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @web3modal/common */ \"./node_modules/@web3modal/common/dist/esm/index.js\");\n/* harmony import */ var _web3modal_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @web3modal/core */ \"./node_modules/@web3modal/core/dist/esm/index.js\");\n/* harmony import */ var _web3modal_ui__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @web3modal/ui */ \"./node_modules/@web3modal/ui/dist/esm/index.js\");\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/scaffold/node_modules/lit/index.js\");\n/* harmony import */ var lit_decorators_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! lit/decorators.js */ \"./node_modules/@web3modal/scaffold/node_modules/lit/decorators.js\");\n/* harmony import */ var _styles_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./styles.js */ \"./node_modules/@web3modal/scaffold/dist/esm/src/views/w3m-transactions-view/styles.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\n\n\nconst PAGINATOR_ID = 'last-transaction';\nconst LOADING_ITEM_COUNT = 7;\nlet W3mTransactionsView = class W3mTransactionsView extends lit__WEBPACK_IMPORTED_MODULE_3__.LitElement {\n constructor() {\n super();\n this.unsubscribe = [];\n this.paginationObserver = undefined;\n this.address = _web3modal_core__WEBPACK_IMPORTED_MODULE_1__.AccountController.state.address;\n this.transactions = _web3modal_core__WEBPACK_IMPORTED_MODULE_1__.TransactionsController.state.transactions;\n this.transactionsByYear = _web3modal_core__WEBPACK_IMPORTED_MODULE_1__.TransactionsController.state.transactionsByYear;\n this.loading = _web3modal_core__WEBPACK_IMPORTED_MODULE_1__.TransactionsController.state.loading;\n this.empty = _web3modal_core__WEBPACK_IMPORTED_MODULE_1__.TransactionsController.state.empty;\n this.next = _web3modal_core__WEBPACK_IMPORTED_MODULE_1__.TransactionsController.state.next;\n this.unsubscribe.push(...[\n _web3modal_core__WEBPACK_IMPORTED_MODULE_1__.AccountController.subscribe(val => {\n if (val.isConnected) {\n if (this.address !== val.address) {\n this.address = val.address;\n _web3modal_core__WEBPACK_IMPORTED_MODULE_1__.TransactionsController.resetTransactions();\n _web3modal_core__WEBPACK_IMPORTED_MODULE_1__.TransactionsController.fetchTransactions(val.address);\n }\n }\n }),\n _web3modal_core__WEBPACK_IMPORTED_MODULE_1__.TransactionsController.subscribe(val => {\n this.transactions = val.transactions;\n this.transactionsByYear = val.transactionsByYear;\n this.loading = val.loading;\n this.empty = val.empty;\n this.next = val.next;\n })\n ]);\n }\n firstUpdated() {\n if (this.transactions.length === 0) {\n _web3modal_core__WEBPACK_IMPORTED_MODULE_1__.TransactionsController.fetchTransactions(this.address);\n }\n this.createPaginationObserver();\n }\n updated() {\n this.setPag
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/scaffold/dist/esm/src/views/w3m-transactions-view/styles.js":
|
|||
|
/*!*********************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/scaffold/dist/esm/src/views/w3m-transactions-view/styles.js ***!
|
|||
|
\*********************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/scaffold/node_modules/lit/index.js\");\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,lit__WEBPACK_IMPORTED_MODULE_0__.css) `\n :host > wui-flex:first-child {\n height: 500px;\n overflow-y: auto;\n overflow-x: hidden;\n scrollbar-width: none;\n }\n`);\n//# sourceMappingURL=styles.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/scaffold/dist/esm/src/views/w3m-transactions-view/styles.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/scaffold/dist/esm/src/views/w3m-what-is-a-network-view/index.js":
|
|||
|
/*!*************************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/scaffold/dist/esm/src/views/w3m-what-is-a-network-view/index.js ***!
|
|||
|
\*************************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ W3mWhatIsANetworkView: () => (/* binding */ W3mWhatIsANetworkView)\n/* harmony export */ });\n/* harmony import */ var _web3modal_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @web3modal/core */ \"./node_modules/@web3modal/core/dist/esm/index.js\");\n/* harmony import */ var _web3modal_ui__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @web3modal/ui */ \"./node_modules/@web3modal/ui/dist/esm/index.js\");\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/scaffold/node_modules/lit/index.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\nconst data = [\n {\n images: ['network', 'layers', 'system'],\n title: 'The system’s nuts and bolts',\n text: 'A network is what brings the blockchain to life, as this technical infrastructure allows apps to access the ledger and smart contract services.'\n },\n {\n images: ['noun', 'defiAlt', 'dao'],\n title: 'Designed for different uses',\n text: 'Each network is designed differently, and may therefore suit certain apps and experiences.'\n }\n];\nlet W3mWhatIsANetworkView = class W3mWhatIsANetworkView extends lit__WEBPACK_IMPORTED_MODULE_2__.LitElement {\n render() {\n return (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `\n <wui-flex\n flexDirection=\"column\"\n .padding=${['xxl', 'xl', 'xl', 'xl']}\n alignItems=\"center\"\n gap=\"xl\"\n >\n <w3m-help-widget .data=${data}></w3m-help-widget>\n <wui-button\n variant=\"fill\"\n size=\"sm\"\n @click=${() => {\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.CoreHelperUtil.openHref('https://ethereum.org/en/developers/docs/networks/', '_blank');\n }}\n >\n Learn more\n <wui-icon color=\"inherit\" slot=\"iconRight\" name=\"externalLink\"></wui-icon>\n </wui-button>\n </wui-flex>\n `;\n }\n};\nW3mWhatIsANetworkView = __decorate([\n (0,_web3modal_ui__WEBPACK_IMPORTED_MODULE_1__.customElement)('w3m-what-is-a-network-view')\n], W3mWhatIsANetworkView);\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/scaffold/dist/esm/src/views/w3m-what-is-a-network-view/index.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/scaffold/dist/esm/src/views/w3m-what-is-a-wallet-view/index.js":
|
|||
|
/*!************************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/scaffold/dist/esm/src/views/w3m-what-is-a-wallet-view/index.js ***!
|
|||
|
\************************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ W3mWhatIsAWalletView: () => (/* binding */ W3mWhatIsAWalletView)\n/* harmony export */ });\n/* harmony import */ var _web3modal_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @web3modal/core */ \"./node_modules/@web3modal/core/dist/esm/index.js\");\n/* harmony import */ var _web3modal_ui__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @web3modal/ui */ \"./node_modules/@web3modal/ui/dist/esm/index.js\");\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/scaffold/node_modules/lit/index.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\nconst data = [\n {\n images: ['login', 'profile', 'lock'],\n title: 'One login for all of web3',\n text: 'Log in to any app by connecting your wallet. Say goodbye to countless passwords!'\n },\n {\n images: ['defi', 'nft', 'eth'],\n title: 'A home for your digital assets',\n text: 'A wallet lets you store, send and receive digital assets like cryptocurrencies and NFTs.'\n },\n {\n images: ['browser', 'noun', 'dao'],\n title: 'Your gateway to a new web',\n text: 'With your wallet, you can explore and interact with DeFi, NFTs, DAOs, and much more.'\n }\n];\nlet W3mWhatIsAWalletView = class W3mWhatIsAWalletView extends lit__WEBPACK_IMPORTED_MODULE_2__.LitElement {\n render() {\n return (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `\n <wui-flex\n flexDirection=\"column\"\n .padding=${['xxl', 'xl', 'xl', 'xl']}\n alignItems=\"center\"\n gap=\"xl\"\n >\n <w3m-help-widget .data=${data}></w3m-help-widget>\n <wui-button variant=\"fill\" size=\"sm\" @click=${this.onGetWallet.bind(this)}>\n <wui-icon color=\"inherit\" slot=\"iconLeft\" name=\"wallet\"></wui-icon>\n Get a Wallet\n </wui-button>\n </wui-flex>\n `;\n }\n onGetWallet() {\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.EventsController.sendEvent({ type: 'track', event: 'CLICK_GET_WALLET' });\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.RouterController.push('GetWallet');\n }\n};\nW3mWhatIsAWalletView = __decorate([\n (0,_web3modal_ui__WEBPACK_IMPORTED_MODULE_1__.customElement)('w3m-what-is-a-wallet-view')\n], W3mWhatIsAWalletView);\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/scaffold/dist/esm/src/views/w3m-what-is-a-wallet-view/index.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/scaffold/node_modules/@lit/reactive-element/development/css-tag.js":
|
|||
|
/*!****************************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/scaffold/node_modules/@lit/reactive-element/development/css-tag.js ***!
|
|||
|
\****************************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ CSSResult: () => (/* binding */ CSSResult),\n/* harmony export */ adoptStyles: () => (/* binding */ adoptStyles),\n/* harmony export */ css: () => (/* binding */ css),\n/* harmony export */ getCompatibleStyle: () => (/* binding */ getCompatibleStyle),\n/* harmony export */ supportsAdoptingStyleSheets: () => (/* binding */ supportsAdoptingStyleSheets),\n/* harmony export */ unsafeCSS: () => (/* binding */ unsafeCSS)\n/* harmony export */ });\n/**\n * @license\n * Copyright 2019 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\nconst NODE_MODE = false;\n// Allows minifiers to rename references to globalThis\nconst global = globalThis;\n/**\n * Whether the current browser supports `adoptedStyleSheets`.\n */\nconst supportsAdoptingStyleSheets = global.ShadowRoot &&\n (global.ShadyCSS === undefined || global.ShadyCSS.nativeShadow) &&\n 'adoptedStyleSheets' in Document.prototype &&\n 'replace' in CSSStyleSheet.prototype;\nconst constructionToken = Symbol();\nconst cssTagCache = new WeakMap();\n/**\n * A container for a string of CSS text, that may be used to create a CSSStyleSheet.\n *\n * CSSResult is the return value of `css`-tagged template literals and\n * `unsafeCSS()`. In order to ensure that CSSResults are only created via the\n * `css` tag and `unsafeCSS()`, CSSResult cannot be constructed directly.\n */\nclass CSSResult {\n constructor(cssText, strings, safeToken) {\n // This property needs to remain unminified.\n this['_$cssResult$'] = true;\n if (safeToken !== constructionToken) {\n throw new Error('CSSResult is not constructable. Use `unsafeCSS` or `css` instead.');\n }\n this.cssText = cssText;\n this._strings = strings;\n }\n // This is a getter so that it's lazy. In practice, this means stylesheets\n // are not created until the first element instance is made.\n get styleSheet() {\n // If `supportsAdoptingStyleSheets` is true then we assume CSSStyleSheet is\n // constructable.\n let styleSheet = this._styleSheet;\n const strings = this._strings;\n if (supportsAdoptingStyleSheets && styleSheet === undefined) {\n const cacheable = strings !== undefined && strings.length === 1;\n if (cacheable) {\n styleSheet = cssTagCache.get(strings);\n }\n if (styleSheet === undefined) {\n (this._styleSheet = styleSheet = new CSSStyleSheet()).replaceSync(this.cssText);\n if (cacheable) {\n cssTagCache.set(strings, styleSheet);\n }\n }\n }\n return styleSheet;\n }\n toString() {\n return this.cssText;\n }\n}\nconst textFromCSSResult = (value) => {\n // This property needs to remain unminified.\n if (value['_$cssResult$'] === true) {\n return value.cssText;\n }\n else if (typeof value === 'number') {\n return value;\n }\n else {\n throw new Error(`Value passed to 'css' function must be a 'css' function result: ` +\n `${value}. Use 'unsafeCSS' to pass non-literal values, but take care ` +\n `to ensure page security.`);\n }\n};\n/**\n * Wrap a value for interpolation in a {@linkcode css} tagged template literal.\n *\n * This is unsafe because untrusted CSS text can be used to phone home\n * or exfiltrate data to an attacker controlled site. Take care to only use\n * this with trusted input.\n */\nconst unsafeCSS = (value) => new CSSResult(typeof value === 'string' ? value : String(value), undefined, constructionToken);\n/**\n * A template literal tag which can be used with LitElement's\n * {@linkcode LitElement.styles} property to set element styles.\n *\n * For security reasons, only literal string values and number may be used in\n * embedded expressions. To incorporate non-literal values {@linkcode unsafeCSS}\n * may be used inside an exp
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/scaffold/node_modules/@lit/reactive-element/development/decorators/base.js":
|
|||
|
/*!************************************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/scaffold/node_modules/@lit/reactive-element/development/decorators/base.js ***!
|
|||
|
\************************************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ desc: () => (/* binding */ desc)\n/* harmony export */ });\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\n/**\n * Wraps up a few best practices when returning a property descriptor from a\n * decorator.\n *\n * Marks the defined property as configurable, and enumerable, and handles\n * the case where we have a busted Reflect.decorate zombiefill (e.g. in Angular\n * apps).\n *\n * @internal\n */\nconst desc = (obj, name, descriptor) => {\n // For backwards compatibility, we keep them configurable and enumerable.\n descriptor.configurable = true;\n descriptor.enumerable = true;\n if (\n // We check for Reflect.decorate each time, in case the zombiefill\n // is applied via lazy loading some Angular code.\n Reflect.decorate &&\n typeof name !== 'object') {\n // If we're called as a legacy decorator, and Reflect.decorate is present\n // then we have no guarantees that the returned descriptor will be\n // defined on the class, so we must apply it directly ourselves.\n Object.defineProperty(obj, name, descriptor);\n }\n return descriptor;\n};\n//# sourceMappingURL=base.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/scaffold/node_modules/@lit/reactive-element/development/decorators/base.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/scaffold/node_modules/@lit/reactive-element/development/decorators/custom-element.js":
|
|||
|
/*!**********************************************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/scaffold/node_modules/@lit/reactive-element/development/decorators/custom-element.js ***!
|
|||
|
\**********************************************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ customElement: () => (/* binding */ customElement)\n/* harmony export */ });\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\n/**\n * Class decorator factory that defines the decorated class as a custom element.\n *\n * ```js\n * @customElement('my-element')\n * class MyElement extends LitElement {\n * render() {\n * return html``;\n * }\n * }\n * ```\n * @category Decorator\n * @param tagName The tag name of the custom element to define.\n */\nconst customElement = (tagName) => (classOrTarget, context) => {\n if (context !== undefined) {\n context.addInitializer(() => {\n customElements.define(tagName, classOrTarget);\n });\n }\n else {\n customElements.define(tagName, classOrTarget);\n }\n};\n//# sourceMappingURL=custom-element.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/scaffold/node_modules/@lit/reactive-element/development/decorators/custom-element.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/scaffold/node_modules/@lit/reactive-element/development/decorators/event-options.js":
|
|||
|
/*!*********************************************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/scaffold/node_modules/@lit/reactive-element/development/decorators/event-options.js ***!
|
|||
|
\*********************************************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ eventOptions: () => (/* binding */ eventOptions)\n/* harmony export */ });\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\n/**\n * Adds event listener options to a method used as an event listener in a\n * lit-html template.\n *\n * @param options An object that specifies event listener options as accepted by\n * `EventTarget#addEventListener` and `EventTarget#removeEventListener`.\n *\n * Current browsers support the `capture`, `passive`, and `once` options. See:\n * https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener#Parameters\n *\n * ```ts\n * class MyElement {\n * clicked = false;\n *\n * render() {\n * return html`\n * <div @click=${this._onClick}>\n * <button></button>\n * </div>\n * `;\n * }\n *\n * @eventOptions({capture: true})\n * _onClick(e) {\n * this.clicked = true;\n * }\n * }\n * ```\n * @category Decorator\n */\nfunction eventOptions(options) {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n return ((protoOrValue, nameOrContext) => {\n const method = typeof protoOrValue === 'function'\n ? protoOrValue\n : protoOrValue[nameOrContext];\n Object.assign(method, options);\n });\n}\n//# sourceMappingURL=event-options.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/scaffold/node_modules/@lit/reactive-element/development/decorators/event-options.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/scaffold/node_modules/@lit/reactive-element/development/decorators/property.js":
|
|||
|
/*!****************************************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/scaffold/node_modules/@lit/reactive-element/development/decorators/property.js ***!
|
|||
|
\****************************************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ property: () => (/* binding */ property),\n/* harmony export */ standardProperty: () => (/* binding */ standardProperty)\n/* harmony export */ });\n/* harmony import */ var _reactive_element_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../reactive-element.js */ \"./node_modules/@web3modal/scaffold/node_modules/@lit/reactive-element/development/reactive-element.js\");\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\n/*\n * IMPORTANT: For compatibility with tsickle and the Closure JS compiler, all\n * property decorators (but not class decorators) in this file that have\n * an @ExportDecoratedItems annotation must be defined as a regular function,\n * not an arrow function.\n */\n\nconst DEV_MODE = true;\nlet issueWarning;\nif (DEV_MODE) {\n // Ensure warnings are issued only 1x, even if multiple versions of Lit\n // are loaded.\n const issuedWarnings = (globalThis.litIssuedWarnings ??= new Set());\n // Issue a warning, if we haven't already.\n issueWarning = (code, warning) => {\n warning += ` See https://lit.dev/msg/${code} for more information.`;\n if (!issuedWarnings.has(warning)) {\n console.warn(warning);\n issuedWarnings.add(warning);\n }\n };\n}\nconst legacyProperty = (options, proto, name) => {\n const hasOwnProperty = proto.hasOwnProperty(name);\n proto.constructor.createProperty(name, hasOwnProperty ? { ...options, wrapped: true } : options);\n // For accessors (which have a descriptor on the prototype) we need to\n // return a descriptor, otherwise TypeScript overwrites the descriptor we\n // define in createProperty() with the original descriptor. We don't do this\n // for fields, which don't have a descriptor, because this could overwrite\n // descriptor defined by other decorators.\n return hasOwnProperty\n ? Object.getOwnPropertyDescriptor(proto, name)\n : undefined;\n};\n// This is duplicated from a similar variable in reactive-element.ts, but\n// actually makes sense to have this default defined with the decorator, so\n// that different decorators could have different defaults.\nconst defaultPropertyDeclaration = {\n attribute: true,\n type: String,\n converter: _reactive_element_js__WEBPACK_IMPORTED_MODULE_0__.defaultConverter,\n reflect: false,\n hasChanged: _reactive_element_js__WEBPACK_IMPORTED_MODULE_0__.notEqual,\n};\n/**\n * Wraps a class accessor or setter so that `requestUpdate()` is called with the\n * property name and old value when the accessor is set.\n */\nconst standardProperty = (options = defaultPropertyDeclaration, target, context) => {\n const { kind, metadata } = context;\n if (DEV_MODE && metadata == null) {\n issueWarning('missing-class-metadata', `The class ${target} is missing decorator metadata. This ` +\n `could mean that you're using a compiler that supports decorators ` +\n `but doesn't support decorator metadata, such as TypeScript 5.1. ` +\n `Please update your compiler.`);\n }\n // Store the property options\n let properties = globalThis.litPropertyMetadata.get(metadata);\n if (properties === undefined) {\n globalThis.litPropertyMetadata.set(metadata, (properties = new Map()));\n }\n properties.set(context.name, options);\n if (kind === 'accessor') {\n // Standard decorators cannot dynamically modify the class, so we can't\n // replace a field with accessors. The user must use the new `accessor`\n // keyword instead.\n const { name } = context;\n return {\n set(v) {\n const oldValue = target.get.call(this);\n target.set.call(this, v);\n this.requestUpdate(name, oldValue, options);\n },\n init(v) {\n if (v !== undefined) {\n this._$changePropert
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/scaffold/node_modules/@lit/reactive-element/development/decorators/query-all.js":
|
|||
|
/*!*****************************************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/scaffold/node_modules/@lit/reactive-element/development/decorators/query-all.js ***!
|
|||
|
\*****************************************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ queryAll: () => (/* binding */ queryAll)\n/* harmony export */ });\n/* harmony import */ var _base_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./base.js */ \"./node_modules/@web3modal/scaffold/node_modules/@lit/reactive-element/development/decorators/base.js\");\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\n\n// Shared fragment used to generate empty NodeLists when a render root is\n// undefined\nlet fragment;\n/**\n * A property decorator that converts a class property into a getter\n * that executes a querySelectorAll on the element's renderRoot.\n *\n * @param selector A DOMString containing one or more selectors to match.\n *\n * See:\n * https://developer.mozilla.org/en-US/docs/Web/API/Document/querySelectorAll\n *\n * ```ts\n * class MyElement {\n * @queryAll('div')\n * divs: NodeListOf<HTMLDivElement>;\n *\n * render() {\n * return html`\n * <div id=\"first\"></div>\n * <div id=\"second\"></div>\n * `;\n * }\n * }\n * ```\n * @category Decorator\n */\nfunction queryAll(selector) {\n return ((obj, name) => {\n return (0,_base_js__WEBPACK_IMPORTED_MODULE_0__.desc)(obj, name, {\n get() {\n const container = this.renderRoot ?? (fragment ??= document.createDocumentFragment());\n return container.querySelectorAll(selector);\n },\n });\n });\n}\n//# sourceMappingURL=query-all.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/scaffold/node_modules/@lit/reactive-element/development/decorators/query-all.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/scaffold/node_modules/@lit/reactive-element/development/decorators/query-assigned-elements.js":
|
|||
|
/*!*******************************************************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/scaffold/node_modules/@lit/reactive-element/development/decorators/query-assigned-elements.js ***!
|
|||
|
\*******************************************************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ queryAssignedElements: () => (/* binding */ queryAssignedElements)\n/* harmony export */ });\n/* harmony import */ var _base_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./base.js */ \"./node_modules/@web3modal/scaffold/node_modules/@lit/reactive-element/development/decorators/base.js\");\n/**\n * @license\n * Copyright 2021 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\n\n/**\n * A property decorator that converts a class property into a getter that\n * returns the `assignedElements` of the given `slot`. Provides a declarative\n * way to use\n * [`HTMLSlotElement.assignedElements`](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSlotElement/assignedElements).\n *\n * Can be passed an optional {@linkcode QueryAssignedElementsOptions} object.\n *\n * Example usage:\n * ```ts\n * class MyElement {\n * @queryAssignedElements({ slot: 'list' })\n * listItems!: Array<HTMLElement>;\n * @queryAssignedElements()\n * unnamedSlotEls!: Array<HTMLElement>;\n *\n * render() {\n * return html`\n * <slot name=\"list\"></slot>\n * <slot></slot>\n * `;\n * }\n * }\n * ```\n *\n * Note, the type of this property should be annotated as `Array<HTMLElement>`.\n *\n * @category Decorator\n */\nfunction queryAssignedElements(options) {\n return ((obj, name) => {\n const { slot, selector } = options ?? {};\n const slotSelector = `slot${slot ? `[name=${slot}]` : ':not([name])'}`;\n return (0,_base_js__WEBPACK_IMPORTED_MODULE_0__.desc)(obj, name, {\n get() {\n const slotEl = this.renderRoot?.querySelector(slotSelector);\n const elements = slotEl?.assignedElements(options) ?? [];\n return (selector === undefined\n ? elements\n : elements.filter((node) => node.matches(selector)));\n },\n });\n });\n}\n//# sourceMappingURL=query-assigned-elements.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/scaffold/node_modules/@lit/reactive-element/development/decorators/query-assigned-elements.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/scaffold/node_modules/@lit/reactive-element/development/decorators/query-assigned-nodes.js":
|
|||
|
/*!****************************************************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/scaffold/node_modules/@lit/reactive-element/development/decorators/query-assigned-nodes.js ***!
|
|||
|
\****************************************************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ queryAssignedNodes: () => (/* binding */ queryAssignedNodes)\n/* harmony export */ });\n/* harmony import */ var _base_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./base.js */ \"./node_modules/@web3modal/scaffold/node_modules/@lit/reactive-element/development/decorators/base.js\");\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\n\n/**\n * A property decorator that converts a class property into a getter that\n * returns the `assignedNodes` of the given `slot`.\n *\n * Can be passed an optional {@linkcode QueryAssignedNodesOptions} object.\n *\n * Example usage:\n * ```ts\n * class MyElement {\n * @queryAssignedNodes({slot: 'list', flatten: true})\n * listItems!: Array<Node>;\n *\n * render() {\n * return html`\n * <slot name=\"list\"></slot>\n * `;\n * }\n * }\n * ```\n *\n * Note the type of this property should be annotated as `Array<Node>`. Use the\n * queryAssignedElements decorator to list only elements, and optionally filter\n * the element list using a CSS selector.\n *\n * @category Decorator\n */\nfunction queryAssignedNodes(options) {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n return ((obj, name) => {\n const { slot } = options ?? {};\n const slotSelector = `slot${slot ? `[name=${slot}]` : ':not([name])'}`;\n return (0,_base_js__WEBPACK_IMPORTED_MODULE_0__.desc)(obj, name, {\n get() {\n const slotEl = this.renderRoot?.querySelector(slotSelector);\n return (slotEl?.assignedNodes(options) ?? []);\n },\n });\n });\n}\n//# sourceMappingURL=query-assigned-nodes.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/scaffold/node_modules/@lit/reactive-element/development/decorators/query-assigned-nodes.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/scaffold/node_modules/@lit/reactive-element/development/decorators/query-async.js":
|
|||
|
/*!*******************************************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/scaffold/node_modules/@lit/reactive-element/development/decorators/query-async.js ***!
|
|||
|
\*******************************************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ queryAsync: () => (/* binding */ queryAsync)\n/* harmony export */ });\n/* harmony import */ var _base_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./base.js */ \"./node_modules/@web3modal/scaffold/node_modules/@lit/reactive-element/development/decorators/base.js\");\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\n\n// Note, in the future, we may extend this decorator to support the use case\n// where the queried element may need to do work to become ready to interact\n// with (e.g. load some implementation code). If so, we might elect to\n// add a second argument defining a function that can be run to make the\n// queried element loaded/updated/ready.\n/**\n * A property decorator that converts a class property into a getter that\n * returns a promise that resolves to the result of a querySelector on the\n * element's renderRoot done after the element's `updateComplete` promise\n * resolves. When the queried property may change with element state, this\n * decorator can be used instead of requiring users to await the\n * `updateComplete` before accessing the property.\n *\n * @param selector A DOMString containing one or more selectors to match.\n *\n * See: https://developer.mozilla.org/en-US/docs/Web/API/Document/querySelector\n *\n * ```ts\n * class MyElement {\n * @queryAsync('#first')\n * first: Promise<HTMLDivElement>;\n *\n * render() {\n * return html`\n * <div id=\"first\"></div>\n * <div id=\"second\"></div>\n * `;\n * }\n * }\n *\n * // external usage\n * async doSomethingWithFirst() {\n * (await aMyElement.first).doSomething();\n * }\n * ```\n * @category Decorator\n */\nfunction queryAsync(selector) {\n return ((obj, name) => {\n return (0,_base_js__WEBPACK_IMPORTED_MODULE_0__.desc)(obj, name, {\n async get() {\n await this.updateComplete;\n return this.renderRoot?.querySelector(selector) ?? null;\n },\n });\n });\n}\n//# sourceMappingURL=query-async.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/scaffold/node_modules/@lit/reactive-element/development/decorators/query-async.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/scaffold/node_modules/@lit/reactive-element/development/decorators/query.js":
|
|||
|
/*!*************************************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/scaffold/node_modules/@lit/reactive-element/development/decorators/query.js ***!
|
|||
|
\*************************************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ query: () => (/* binding */ query)\n/* harmony export */ });\n/* harmony import */ var _base_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./base.js */ \"./node_modules/@web3modal/scaffold/node_modules/@lit/reactive-element/development/decorators/base.js\");\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\n\nconst DEV_MODE = true;\nlet issueWarning;\nif (DEV_MODE) {\n // Ensure warnings are issued only 1x, even if multiple versions of Lit\n // are loaded.\n const issuedWarnings = (globalThis.litIssuedWarnings ??= new Set());\n // Issue a warning, if we haven't already.\n issueWarning = (code, warning) => {\n warning += code\n ? ` See https://lit.dev/msg/${code} for more information.`\n : '';\n if (!issuedWarnings.has(warning)) {\n console.warn(warning);\n issuedWarnings.add(warning);\n }\n };\n}\n/**\n * A property decorator that converts a class property into a getter that\n * executes a querySelector on the element's renderRoot.\n *\n * @param selector A DOMString containing one or more selectors to match.\n * @param cache An optional boolean which when true performs the DOM query only\n * once and caches the result.\n *\n * See: https://developer.mozilla.org/en-US/docs/Web/API/Document/querySelector\n *\n * ```ts\n * class MyElement {\n * @query('#first')\n * first: HTMLDivElement;\n *\n * render() {\n * return html`\n * <div id=\"first\"></div>\n * <div id=\"second\"></div>\n * `;\n * }\n * }\n * ```\n * @category Decorator\n */\nfunction query(selector, cache) {\n return ((protoOrTarget, nameOrContext, descriptor) => {\n const doQuery = (el) => {\n const result = (el.renderRoot?.querySelector(selector) ?? null);\n if (DEV_MODE && result === null && cache && !el.hasUpdated) {\n const name = typeof nameOrContext === 'object'\n ? nameOrContext.name\n : nameOrContext;\n issueWarning('', `@query'd field ${JSON.stringify(String(name))} with the 'cache' ` +\n `flag set for selector '${selector}' has been accessed before ` +\n `the first update and returned null. This is expected if the ` +\n `renderRoot tree has not been provided beforehand (e.g. via ` +\n `Declarative Shadow DOM). Therefore the value hasn't been cached.`);\n }\n // TODO: if we want to allow users to assert that the query will never\n // return null, we need a new option and to throw here if the result\n // is null.\n return result;\n };\n if (cache) {\n // Accessors to wrap from either:\n // 1. The decorator target, in the case of standard decorators\n // 2. The property descriptor, in the case of experimental decorators\n // on auto-accessors.\n // 3. Functions that access our own cache-key property on the instance,\n // in the case of experimental decorators on fields.\n const { get, set } = typeof nameOrContext === 'object'\n ? protoOrTarget\n : descriptor ??\n (() => {\n const key = DEV_MODE\n ? Symbol(`${String(nameOrContext)} (@query() cache)`)\n : Symbol();\n return {\n get() {\n return this[key];\n },\n set(v) {\n this[key] = v;\n },\n };\n })();\n return (0,_base_js__WEBPACK_IMPORTED_MODULE_0__.desc)(protoOrTarget, nameOrContext, {\n
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/scaffold/node_modules/@lit/reactive-element/development/decorators/state.js":
|
|||
|
/*!*************************************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/scaffold/node_modules/@lit/reactive-element/development/decorators/state.js ***!
|
|||
|
\*************************************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ state: () => (/* binding */ state)\n/* harmony export */ });\n/* harmony import */ var _property_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./property.js */ \"./node_modules/@web3modal/scaffold/node_modules/@lit/reactive-element/development/decorators/property.js\");\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\n/*\n * IMPORTANT: For compatibility with tsickle and the Closure JS compiler, all\n * property decorators (but not class decorators) in this file that have\n * an @ExportDecoratedItems annotation must be defined as a regular function,\n * not an arrow function.\n */\n\n/**\n * Declares a private or protected reactive property that still triggers\n * updates to the element when it changes. It does not reflect from the\n * corresponding attribute.\n *\n * Properties declared this way must not be used from HTML or HTML templating\n * systems, they're solely for properties internal to the element. These\n * properties may be renamed by optimization tools like closure compiler.\n * @category Decorator\n */\nfunction state(options) {\n return (0,_property_js__WEBPACK_IMPORTED_MODULE_0__.property)({\n ...options,\n // Add both `state` and `attribute` because we found a third party\n // controller that is keying off of PropertyOptions.state to determine\n // whether a field is a private internal property or not.\n state: true,\n attribute: false,\n });\n}\n//# sourceMappingURL=state.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/scaffold/node_modules/@lit/reactive-element/development/decorators/state.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/scaffold/node_modules/@lit/reactive-element/development/reactive-element.js":
|
|||
|
/*!*************************************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/scaffold/node_modules/@lit/reactive-element/development/reactive-element.js ***!
|
|||
|
\*************************************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ CSSResult: () => (/* reexport safe */ _css_tag_js__WEBPACK_IMPORTED_MODULE_0__.CSSResult),\n/* harmony export */ ReactiveElement: () => (/* binding */ ReactiveElement),\n/* harmony export */ adoptStyles: () => (/* reexport safe */ _css_tag_js__WEBPACK_IMPORTED_MODULE_0__.adoptStyles),\n/* harmony export */ css: () => (/* reexport safe */ _css_tag_js__WEBPACK_IMPORTED_MODULE_0__.css),\n/* harmony export */ defaultConverter: () => (/* binding */ defaultConverter),\n/* harmony export */ getCompatibleStyle: () => (/* reexport safe */ _css_tag_js__WEBPACK_IMPORTED_MODULE_0__.getCompatibleStyle),\n/* harmony export */ notEqual: () => (/* binding */ notEqual),\n/* harmony export */ supportsAdoptingStyleSheets: () => (/* reexport safe */ _css_tag_js__WEBPACK_IMPORTED_MODULE_0__.supportsAdoptingStyleSheets),\n/* harmony export */ unsafeCSS: () => (/* reexport safe */ _css_tag_js__WEBPACK_IMPORTED_MODULE_0__.unsafeCSS)\n/* harmony export */ });\n/* harmony import */ var _css_tag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./css-tag.js */ \"./node_modules/@web3modal/scaffold/node_modules/@lit/reactive-element/development/css-tag.js\");\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\n/**\n * Use this module if you want to create your own base class extending\n * {@link ReactiveElement}.\n * @packageDocumentation\n */\n\n// In the Node build, this import will be injected by Rollup:\n// import {HTMLElement, customElements} from '@lit-labs/ssr-dom-shim';\n\n// TODO (justinfagnani): Add `hasOwn` here when we ship ES2022\nconst { is, defineProperty, getOwnPropertyDescriptor, getOwnPropertyNames, getOwnPropertySymbols, getPrototypeOf, } = Object;\nconst NODE_MODE = false;\n// Lets a minifier replace globalThis references with a minified name\nconst global = globalThis;\nif (NODE_MODE) {\n global.customElements ??= customElements;\n}\nconst DEV_MODE = true;\nlet issueWarning;\nconst trustedTypes = global\n .trustedTypes;\n// Temporary workaround for https://crbug.com/993268\n// Currently, any attribute starting with \"on\" is considered to be a\n// TrustedScript source. Such boolean attributes must be set to the equivalent\n// trusted emptyScript value.\nconst emptyStringForBooleanAttribute = trustedTypes\n ? trustedTypes.emptyScript\n : '';\nconst polyfillSupport = DEV_MODE\n ? global.reactiveElementPolyfillSupportDevMode\n : global.reactiveElementPolyfillSupport;\nif (DEV_MODE) {\n // Ensure warnings are issued only 1x, even if multiple versions of Lit\n // are loaded.\n const issuedWarnings = (global.litIssuedWarnings ??=\n new Set());\n // Issue a warning, if we haven't already.\n issueWarning = (code, warning) => {\n warning += ` See https://lit.dev/msg/${code} for more information.`;\n if (!issuedWarnings.has(warning)) {\n console.warn(warning);\n issuedWarnings.add(warning);\n }\n };\n issueWarning('dev-mode', `Lit is in dev mode. Not recommended for production!`);\n // Issue polyfill support warning.\n if (global.ShadyDOM?.inUse && polyfillSupport === undefined) {\n issueWarning('polyfill-support-missing', `Shadow DOM is being polyfilled via \\`ShadyDOM\\` but ` +\n `the \\`polyfill-support\\` module has not been loaded.`);\n }\n}\n/**\n * Useful for visualizing and logging insights into what the Lit template system is doing.\n *\n * Compiled out of prod mode builds.\n */\nconst debugLogEvent = DEV_MODE\n ? (event) => {\n const shouldEmit = global\n .emitLitDebugLogEvents;\n if (!shouldEmit) {\n return;\n }\n global.dispatchEvent(new CustomEvent('lit-debug', {\n detail: event,\n }));\n }\n : undefined;\n/*\n * When using Closure Compiler, JSCompiler_renameProperty(property, object) is\n * replaced at compile time by the munged
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/scaffold/node_modules/lit-element/development/lit-element.js":
|
|||
|
/*!**********************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/scaffold/node_modules/lit-element/development/lit-element.js ***!
|
|||
|
\**********************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ CSSResult: () => (/* reexport safe */ _lit_reactive_element__WEBPACK_IMPORTED_MODULE_0__.CSSResult),\n/* harmony export */ LitElement: () => (/* binding */ LitElement),\n/* harmony export */ ReactiveElement: () => (/* reexport safe */ _lit_reactive_element__WEBPACK_IMPORTED_MODULE_0__.ReactiveElement),\n/* harmony export */ _$LE: () => (/* binding */ _$LE),\n/* harmony export */ _$LH: () => (/* reexport safe */ lit_html__WEBPACK_IMPORTED_MODULE_1__._$LH),\n/* harmony export */ adoptStyles: () => (/* reexport safe */ _lit_reactive_element__WEBPACK_IMPORTED_MODULE_0__.adoptStyles),\n/* harmony export */ css: () => (/* reexport safe */ _lit_reactive_element__WEBPACK_IMPORTED_MODULE_0__.css),\n/* harmony export */ defaultConverter: () => (/* reexport safe */ _lit_reactive_element__WEBPACK_IMPORTED_MODULE_0__.defaultConverter),\n/* harmony export */ getCompatibleStyle: () => (/* reexport safe */ _lit_reactive_element__WEBPACK_IMPORTED_MODULE_0__.getCompatibleStyle),\n/* harmony export */ html: () => (/* reexport safe */ lit_html__WEBPACK_IMPORTED_MODULE_1__.html),\n/* harmony export */ noChange: () => (/* reexport safe */ lit_html__WEBPACK_IMPORTED_MODULE_1__.noChange),\n/* harmony export */ notEqual: () => (/* reexport safe */ _lit_reactive_element__WEBPACK_IMPORTED_MODULE_0__.notEqual),\n/* harmony export */ nothing: () => (/* reexport safe */ lit_html__WEBPACK_IMPORTED_MODULE_1__.nothing),\n/* harmony export */ render: () => (/* reexport safe */ lit_html__WEBPACK_IMPORTED_MODULE_1__.render),\n/* harmony export */ supportsAdoptingStyleSheets: () => (/* reexport safe */ _lit_reactive_element__WEBPACK_IMPORTED_MODULE_0__.supportsAdoptingStyleSheets),\n/* harmony export */ svg: () => (/* reexport safe */ lit_html__WEBPACK_IMPORTED_MODULE_1__.svg),\n/* harmony export */ unsafeCSS: () => (/* reexport safe */ _lit_reactive_element__WEBPACK_IMPORTED_MODULE_0__.unsafeCSS)\n/* harmony export */ });\n/* harmony import */ var _lit_reactive_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @lit/reactive-element */ \"./node_modules/@web3modal/scaffold/node_modules/@lit/reactive-element/development/reactive-element.js\");\n/* harmony import */ var lit_html__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lit-html */ \"./node_modules/@web3modal/scaffold/node_modules/lit-html/development/lit-html.js\");\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\n/**\n * The main LitElement module, which defines the {@linkcode LitElement} base\n * class and related APIs.\n *\n * LitElement components can define a template and a set of observed\n * properties. Changing an observed property triggers a re-render of the\n * element.\n *\n * Import {@linkcode LitElement} and {@linkcode html} from this module to\n * create a component:\n *\n * ```js\n * import {LitElement, html} from 'lit-element';\n *\n * class MyElement extends LitElement {\n *\n * // Declare observed properties\n * static get properties() {\n * return {\n * adjective: {}\n * }\n * }\n *\n * constructor() {\n * this.adjective = 'awesome';\n * }\n *\n * // Define the element's template\n * render() {\n * return html`<p>your ${adjective} template here</p>`;\n * }\n * }\n *\n * customElements.define('my-element', MyElement);\n * ```\n *\n * `LitElement` extends {@linkcode ReactiveElement} and adds lit-html\n * templating. The `ReactiveElement` class is provided for users that want to\n * build their own custom element base classes that don't use lit-html.\n *\n * @packageDocumentation\n */\n\n\n\n\n/*\n * When using Closure Compiler, JSCompiler_renameProperty(property, object) is\n * replaced at compile time by the munged name for object[property]. We cannot\n * alias this function, so we have to use a small shim that has the same\n * behavior when not compiling.\n */\n/*@__INLINE__*/\nconst JSCompiler_renamePropert
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/scaffold/node_modules/lit-html/development/directives/if-defined.js":
|
|||
|
/*!*****************************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/scaffold/node_modules/lit-html/development/directives/if-defined.js ***!
|
|||
|
\*****************************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ ifDefined: () => (/* binding */ ifDefined)\n/* harmony export */ });\n/* harmony import */ var _lit_html_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../lit-html.js */ \"./node_modules/@web3modal/scaffold/node_modules/lit-html/development/lit-html.js\");\n/**\n * @license\n * Copyright 2018 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\n\n/**\n * For AttributeParts, sets the attribute if the value is defined and removes\n * the attribute if the value is undefined.\n *\n * For other part types, this directive is a no-op.\n */\nconst ifDefined = (value) => value ?? _lit_html_js__WEBPACK_IMPORTED_MODULE_0__.nothing;\n//# sourceMappingURL=if-defined.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/scaffold/node_modules/lit-html/development/directives/if-defined.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/scaffold/node_modules/lit-html/development/is-server.js":
|
|||
|
/*!*****************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/scaffold/node_modules/lit-html/development/is-server.js ***!
|
|||
|
\*****************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ isServer: () => (/* binding */ isServer)\n/* harmony export */ });\n/**\n * @license\n * Copyright 2022 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\n/**\n * @fileoverview\n *\n * This file exports a boolean const whose value will depend on what environment\n * the module is being imported from.\n */\nconst NODE_MODE = false;\n/**\n * A boolean that will be `true` in server environments like Node, and `false`\n * in browser environments. Note that your server environment or toolchain must\n * support the `\"node\"` export condition for this to be `true`.\n *\n * This can be used when authoring components to change behavior based on\n * whether or not the component is executing in an SSR context.\n */\nconst isServer = NODE_MODE;\n//# sourceMappingURL=is-server.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/scaffold/node_modules/lit-html/development/is-server.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/scaffold/node_modules/lit-html/development/lit-html.js":
|
|||
|
/*!****************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/scaffold/node_modules/lit-html/development/lit-html.js ***!
|
|||
|
\****************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ _$LH: () => (/* binding */ _$LH),\n/* harmony export */ html: () => (/* binding */ html),\n/* harmony export */ noChange: () => (/* binding */ noChange),\n/* harmony export */ nothing: () => (/* binding */ nothing),\n/* harmony export */ render: () => (/* binding */ render),\n/* harmony export */ svg: () => (/* binding */ svg)\n/* harmony export */ });\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\nconst DEV_MODE = true;\nconst ENABLE_EXTRA_SECURITY_HOOKS = true;\nconst ENABLE_SHADYDOM_NOPATCH = true;\nconst NODE_MODE = false;\n// Allows minifiers to rename references to globalThis\nconst global = globalThis;\n/**\n * Useful for visualizing and logging insights into what the Lit template system is doing.\n *\n * Compiled out of prod mode builds.\n */\nconst debugLogEvent = DEV_MODE\n ? (event) => {\n const shouldEmit = global\n .emitLitDebugLogEvents;\n if (!shouldEmit) {\n return;\n }\n global.dispatchEvent(new CustomEvent('lit-debug', {\n detail: event,\n }));\n }\n : undefined;\n// Used for connecting beginRender and endRender events when there are nested\n// renders when errors are thrown preventing an endRender event from being\n// called.\nlet debugLogRenderId = 0;\nlet issueWarning;\nif (DEV_MODE) {\n global.litIssuedWarnings ??= new Set();\n // Issue a warning, if we haven't already.\n issueWarning = (code, warning) => {\n warning += code\n ? ` See https://lit.dev/msg/${code} for more information.`\n : '';\n if (!global.litIssuedWarnings.has(warning)) {\n console.warn(warning);\n global.litIssuedWarnings.add(warning);\n }\n };\n issueWarning('dev-mode', `Lit is in dev mode. Not recommended for production!`);\n}\nconst wrap = ENABLE_SHADYDOM_NOPATCH &&\n global.ShadyDOM?.inUse &&\n global.ShadyDOM?.noPatch === true\n ? global.ShadyDOM.wrap\n : (node) => node;\nconst trustedTypes = global.trustedTypes;\n/**\n * Our TrustedTypePolicy for HTML which is declared using the html template\n * tag function.\n *\n * That HTML is a developer-authored constant, and is parsed with innerHTML\n * before any untrusted expressions have been mixed in. Therefor it is\n * considered safe by construction.\n */\nconst policy = trustedTypes\n ? trustedTypes.createPolicy('lit-html', {\n createHTML: (s) => s,\n })\n : undefined;\nconst identityFunction = (value) => value;\nconst noopSanitizer = (_node, _name, _type) => identityFunction;\n/** Sets the global sanitizer factory. */\nconst setSanitizer = (newSanitizer) => {\n if (!ENABLE_EXTRA_SECURITY_HOOKS) {\n return;\n }\n if (sanitizerFactoryInternal !== noopSanitizer) {\n throw new Error(`Attempted to overwrite existing lit-html security policy.` +\n ` setSanitizeDOMValueFactory should be called at most once.`);\n }\n sanitizerFactoryInternal = newSanitizer;\n};\n/**\n * Only used in internal tests, not a part of the public API.\n */\nconst _testOnlyClearSanitizerFactoryDoNotCallOrElse = () => {\n sanitizerFactoryInternal = noopSanitizer;\n};\nconst createSanitizer = (node, name, type) => {\n return sanitizerFactoryInternal(node, name, type);\n};\n// Added to an attribute name to mark the attribute as bound so we can find\n// it easily.\nconst boundAttributeSuffix = '$lit$';\n// This marker is used in many syntactic positions in HTML, so it must be\n// a valid element name and attribute name. We don't support dynamic names (yet)\n// but this at least ensures that the parse tree is closer to the template\n// intention.\nconst marker = `lit$${String(Math.random()).slice(9)}$`;\n// String used to tell if a comment is a marker comment\nconst markerMatch = '?' + marker;\n// Text used to insert a comment marker node. We use processing instruction\n// syntax because it
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/scaffold/node_modules/lit/decorators.js":
|
|||
|
/*!*************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/scaffold/node_modules/lit/decorators.js ***!
|
|||
|
\*************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ customElement: () => (/* reexport safe */ _lit_reactive_element_decorators_custom_element_js__WEBPACK_IMPORTED_MODULE_0__.customElement),\n/* harmony export */ eventOptions: () => (/* reexport safe */ _lit_reactive_element_decorators_event_options_js__WEBPACK_IMPORTED_MODULE_3__.eventOptions),\n/* harmony export */ property: () => (/* reexport safe */ _lit_reactive_element_decorators_property_js__WEBPACK_IMPORTED_MODULE_1__.property),\n/* harmony export */ query: () => (/* reexport safe */ _lit_reactive_element_decorators_query_js__WEBPACK_IMPORTED_MODULE_4__.query),\n/* harmony export */ queryAll: () => (/* reexport safe */ _lit_reactive_element_decorators_query_all_js__WEBPACK_IMPORTED_MODULE_5__.queryAll),\n/* harmony export */ queryAssignedElements: () => (/* reexport safe */ _lit_reactive_element_decorators_query_assigned_elements_js__WEBPACK_IMPORTED_MODULE_7__.queryAssignedElements),\n/* harmony export */ queryAssignedNodes: () => (/* reexport safe */ _lit_reactive_element_decorators_query_assigned_nodes_js__WEBPACK_IMPORTED_MODULE_8__.queryAssignedNodes),\n/* harmony export */ queryAsync: () => (/* reexport safe */ _lit_reactive_element_decorators_query_async_js__WEBPACK_IMPORTED_MODULE_6__.queryAsync),\n/* harmony export */ standardProperty: () => (/* reexport safe */ _lit_reactive_element_decorators_property_js__WEBPACK_IMPORTED_MODULE_1__.standardProperty),\n/* harmony export */ state: () => (/* reexport safe */ _lit_reactive_element_decorators_state_js__WEBPACK_IMPORTED_MODULE_2__.state)\n/* harmony export */ });\n/* harmony import */ var _lit_reactive_element_decorators_custom_element_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @lit/reactive-element/decorators/custom-element.js */ \"./node_modules/@web3modal/scaffold/node_modules/@lit/reactive-element/development/decorators/custom-element.js\");\n/* harmony import */ var _lit_reactive_element_decorators_property_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @lit/reactive-element/decorators/property.js */ \"./node_modules/@web3modal/scaffold/node_modules/@lit/reactive-element/development/decorators/property.js\");\n/* harmony import */ var _lit_reactive_element_decorators_state_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @lit/reactive-element/decorators/state.js */ \"./node_modules/@web3modal/scaffold/node_modules/@lit/reactive-element/development/decorators/state.js\");\n/* harmony import */ var _lit_reactive_element_decorators_event_options_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @lit/reactive-element/decorators/event-options.js */ \"./node_modules/@web3modal/scaffold/node_modules/@lit/reactive-element/development/decorators/event-options.js\");\n/* harmony import */ var _lit_reactive_element_decorators_query_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @lit/reactive-element/decorators/query.js */ \"./node_modules/@web3modal/scaffold/node_modules/@lit/reactive-element/development/decorators/query.js\");\n/* harmony import */ var _lit_reactive_element_decorators_query_all_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @lit/reactive-element/decorators/query-all.js */ \"./node_modules/@web3modal/scaffold/node_modules/@lit/reactive-element/development/decorators/query-all.js\");\n/* harmony import */ var _lit_reactive_element_decorators_query_async_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @lit/reactive-element/decorators/query-async.js */ \"./node_modules/@web3modal/scaffold/node_modules/@lit/reactive-element/development/decorators/query-async.js\");\n/* harmony import */ var _lit_reactive_element_decorators_query_assigned_elements_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @lit/reactive-element/decorators/query-assigned-elements.js */ \"./node_modules/@web3modal/scaffold/node_modules/@lit/reactive-element/development/decorators/query-assigned-elements.js\");\n/* harmony import */ var _lit_re
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/scaffold/node_modules/lit/directives/if-defined.js":
|
|||
|
/*!************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/scaffold/node_modules/lit/directives/if-defined.js ***!
|
|||
|
\************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ ifDefined: () => (/* reexport safe */ lit_html_directives_if_defined_js__WEBPACK_IMPORTED_MODULE_0__.ifDefined)\n/* harmony export */ });\n/* harmony import */ var lit_html_directives_if_defined_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit-html/directives/if-defined.js */ \"./node_modules/@web3modal/scaffold/node_modules/lit-html/development/directives/if-defined.js\");\n\n//# sourceMappingURL=if-defined.js.map\n\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/scaffold/node_modules/lit/directives/if-defined.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/scaffold/node_modules/lit/index.js":
|
|||
|
/*!********************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/scaffold/node_modules/lit/index.js ***!
|
|||
|
\********************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ CSSResult: () => (/* reexport safe */ lit_element_lit_element_js__WEBPACK_IMPORTED_MODULE_2__.CSSResult),\n/* harmony export */ LitElement: () => (/* reexport safe */ lit_element_lit_element_js__WEBPACK_IMPORTED_MODULE_2__.LitElement),\n/* harmony export */ ReactiveElement: () => (/* reexport safe */ lit_element_lit_element_js__WEBPACK_IMPORTED_MODULE_2__.ReactiveElement),\n/* harmony export */ _$LE: () => (/* reexport safe */ lit_element_lit_element_js__WEBPACK_IMPORTED_MODULE_2__._$LE),\n/* harmony export */ _$LH: () => (/* reexport safe */ lit_element_lit_element_js__WEBPACK_IMPORTED_MODULE_2__._$LH),\n/* harmony export */ adoptStyles: () => (/* reexport safe */ lit_element_lit_element_js__WEBPACK_IMPORTED_MODULE_2__.adoptStyles),\n/* harmony export */ css: () => (/* reexport safe */ lit_element_lit_element_js__WEBPACK_IMPORTED_MODULE_2__.css),\n/* harmony export */ defaultConverter: () => (/* reexport safe */ lit_element_lit_element_js__WEBPACK_IMPORTED_MODULE_2__.defaultConverter),\n/* harmony export */ getCompatibleStyle: () => (/* reexport safe */ lit_element_lit_element_js__WEBPACK_IMPORTED_MODULE_2__.getCompatibleStyle),\n/* harmony export */ html: () => (/* reexport safe */ lit_element_lit_element_js__WEBPACK_IMPORTED_MODULE_2__.html),\n/* harmony export */ isServer: () => (/* reexport safe */ lit_html_is_server_js__WEBPACK_IMPORTED_MODULE_3__.isServer),\n/* harmony export */ noChange: () => (/* reexport safe */ lit_element_lit_element_js__WEBPACK_IMPORTED_MODULE_2__.noChange),\n/* harmony export */ notEqual: () => (/* reexport safe */ lit_element_lit_element_js__WEBPACK_IMPORTED_MODULE_2__.notEqual),\n/* harmony export */ nothing: () => (/* reexport safe */ lit_element_lit_element_js__WEBPACK_IMPORTED_MODULE_2__.nothing),\n/* harmony export */ render: () => (/* reexport safe */ lit_element_lit_element_js__WEBPACK_IMPORTED_MODULE_2__.render),\n/* harmony export */ supportsAdoptingStyleSheets: () => (/* reexport safe */ lit_element_lit_element_js__WEBPACK_IMPORTED_MODULE_2__.supportsAdoptingStyleSheets),\n/* harmony export */ svg: () => (/* reexport safe */ lit_element_lit_element_js__WEBPACK_IMPORTED_MODULE_2__.svg),\n/* harmony export */ unsafeCSS: () => (/* reexport safe */ lit_element_lit_element_js__WEBPACK_IMPORTED_MODULE_2__.unsafeCSS)\n/* harmony export */ });\n/* harmony import */ var _lit_reactive_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @lit/reactive-element */ \"./node_modules/@web3modal/scaffold/node_modules/@lit/reactive-element/development/reactive-element.js\");\n/* harmony import */ var lit_html__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lit-html */ \"./node_modules/@web3modal/scaffold/node_modules/lit-html/development/lit-html.js\");\n/* harmony import */ var lit_element_lit_element_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lit-element/lit-element.js */ \"./node_modules/@web3modal/scaffold/node_modules/lit-element/development/lit-element.js\");\n/* harmony import */ var lit_html_is_server_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! lit-html/is-server.js */ \"./node_modules/@web3modal/scaffold/node_modules/lit-html/development/is-server.js\");\n\n//# sourceMappingURL=index.js.map\n\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/scaffold/node_modules/lit/index.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/index.js":
|
|||
|
/*!******************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/index.js ***!
|
|||
|
\******************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ TransactionUtil: () => (/* reexport safe */ _src_utils_TransactionUtil_js__WEBPACK_IMPORTED_MODULE_48__.TransactionUtil),\n/* harmony export */ UiHelperUtil: () => (/* reexport safe */ _src_utils_UiHelperUtil_js__WEBPACK_IMPORTED_MODULE_47__.UiHelperUtil),\n/* harmony export */ WuiAccountButton: () => (/* reexport safe */ _src_composites_wui_account_button_index_js__WEBPACK_IMPORTED_MODULE_9__.WuiAccountButton),\n/* harmony export */ WuiAllWalletsImage: () => (/* reexport safe */ _src_composites_wui_all_wallets_image_index_js__WEBPACK_IMPORTED_MODULE_10__.WuiAllWalletsImage),\n/* harmony export */ WuiAvatar: () => (/* reexport safe */ _src_composites_wui_avatar_index_js__WEBPACK_IMPORTED_MODULE_11__.WuiAvatar),\n/* harmony export */ WuiButton: () => (/* reexport safe */ _src_composites_wui_button_index_js__WEBPACK_IMPORTED_MODULE_12__.WuiButton),\n/* harmony export */ WuiCard: () => (/* reexport safe */ _src_components_wui_card_index_js__WEBPACK_IMPORTED_MODULE_0__.WuiCard),\n/* harmony export */ WuiCardSelect: () => (/* reexport safe */ _src_composites_wui_card_select_index_js__WEBPACK_IMPORTED_MODULE_14__.WuiCardSelect),\n/* harmony export */ WuiCardSelectLoader: () => (/* reexport safe */ _src_composites_wui_card_select_loader_index_js__WEBPACK_IMPORTED_MODULE_13__.WuiCardSelectLoader),\n/* harmony export */ WuiChip: () => (/* reexport safe */ _src_composites_wui_chip_index_js__WEBPACK_IMPORTED_MODULE_15__.WuiChip),\n/* harmony export */ WuiConnectButton: () => (/* reexport safe */ _src_composites_wui_connect_button_index_js__WEBPACK_IMPORTED_MODULE_16__.WuiConnectButton),\n/* harmony export */ WuiCtaButton: () => (/* reexport safe */ _src_composites_wui_cta_button_index_js__WEBPACK_IMPORTED_MODULE_17__.WuiCtaButton),\n/* harmony export */ WuiEmailInput: () => (/* reexport safe */ _src_composites_wui_email_input_index_js__WEBPACK_IMPORTED_MODULE_18__.WuiEmailInput),\n/* harmony export */ WuiFlex: () => (/* reexport safe */ _src_layout_wui_flex_index_js__WEBPACK_IMPORTED_MODULE_43__.WuiFlex),\n/* harmony export */ WuiGrid: () => (/* reexport safe */ _src_layout_wui_grid_index_js__WEBPACK_IMPORTED_MODULE_44__.WuiGrid),\n/* harmony export */ WuiIcon: () => (/* reexport safe */ _src_components_wui_icon_index_js__WEBPACK_IMPORTED_MODULE_1__.WuiIcon),\n/* harmony export */ WuiIconBox: () => (/* reexport safe */ _src_composites_wui_icon_box_index_js__WEBPACK_IMPORTED_MODULE_19__.WuiIconBox),\n/* harmony export */ WuiIconLink: () => (/* reexport safe */ _src_composites_wui_icon_link_index_js__WEBPACK_IMPORTED_MODULE_20__.WuiIconLink),\n/* harmony export */ WuiImage: () => (/* reexport safe */ _src_components_wui_image_index_js__WEBPACK_IMPORTED_MODULE_2__.WuiImage),\n/* harmony export */ WuiInputElement: () => (/* reexport safe */ _src_composites_wui_input_element_index_js__WEBPACK_IMPORTED_MODULE_21__.WuiInputElement),\n/* harmony export */ WuiInputNumeric: () => (/* reexport safe */ _src_composites_wui_input_numeric_index_js__WEBPACK_IMPORTED_MODULE_22__.WuiInputNumeric),\n/* harmony export */ WuiInputText: () => (/* reexport safe */ _src_composites_wui_input_text_index_js__WEBPACK_IMPORTED_MODULE_23__.WuiInputText),\n/* harmony export */ WuiLink: () => (/* reexport safe */ _src_composites_wui_link_index_js__WEBPACK_IMPORTED_MODULE_24__.WuiLink),\n/* harmony export */ WuiListItem: () => (/* reexport safe */ _src_composites_wui_list_item_index_js__WEBPACK_IMPORTED_MODULE_25__.WuiListItem),\n/* harmony export */ WuiListWallet: () => (/* reexport safe */ _src_composites_wui_list_wallet_index_js__WEBPACK_IMPORTED_MODULE_28__.WuiListWallet),\n/* harmony export */ WuiLoadingHexagon: () => (/* reexport safe */ _src_components_wui_loading_hexagon_index_js__WEBPACK_IMPORTED_MODULE_3__.WuiLoadingHexagon),\n/* harmony export */ WuiLoadingSpinner: () => (/* reexport safe */ _src_components_wui_loading_spinner_index_js__WEBPACK_IMPORTED_MODULE_4_
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/assets/svg/all-wallets.js":
|
|||
|
/*!***************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/assets/svg/all-wallets.js ***!
|
|||
|
\***************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ allWalletsSvg: () => (/* binding */ allWalletsSvg)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nconst allWalletsSvg = (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `<svg fill=\"none\" viewBox=\"0 0 24 24\">\n <path\n style=\"fill: var(--wui-color-accent-100);\"\n d=\"M10.2 6.6a3.6 3.6 0 1 1-7.2 0 3.6 3.6 0 0 1 7.2 0ZM21 6.6a3.6 3.6 0 1 1-7.2 0 3.6 3.6 0 0 1 7.2 0ZM10.2 17.4a3.6 3.6 0 1 1-7.2 0 3.6 3.6 0 0 1 7.2 0ZM21 17.4a3.6 3.6 0 1 1-7.2 0 3.6 3.6 0 0 1 7.2 0Z\"\n />\n</svg>`;\n//# sourceMappingURL=all-wallets.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/assets/svg/all-wallets.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/assets/svg/app-store.js":
|
|||
|
/*!*************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/assets/svg/app-store.js ***!
|
|||
|
\*************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ appStoreSvg: () => (/* binding */ appStoreSvg)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nconst appStoreSvg = (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `\n<svg width=\"36\" height=\"36\">\n <path\n d=\"M28.724 0H7.271A7.269 7.269 0 0 0 0 7.272v21.46A7.268 7.268 0 0 0 7.271 36H28.73A7.272 7.272 0 0 0 36 28.728V7.272A7.275 7.275 0 0 0 28.724 0Z\"\n fill=\"url(#a)\"\n />\n <path\n d=\"m17.845 8.271.729-1.26a1.64 1.64 0 1 1 2.843 1.638l-7.023 12.159h5.08c1.646 0 2.569 1.935 1.853 3.276H6.434a1.632 1.632 0 0 1-1.638-1.638c0-.909.73-1.638 1.638-1.638h4.176l5.345-9.265-1.67-2.898a1.642 1.642 0 0 1 2.844-1.638l.716 1.264Zm-6.317 17.5-1.575 2.732a1.64 1.64 0 1 1-2.844-1.638l1.17-2.025c1.323-.41 2.398-.095 3.249.931Zm13.56-4.954h4.262c.909 0 1.638.729 1.638 1.638 0 .909-.73 1.638-1.638 1.638h-2.367l1.597 2.772c.45.788.185 1.782-.602 2.241a1.642 1.642 0 0 1-2.241-.603c-2.69-4.666-4.711-8.159-6.052-10.485-1.372-2.367-.391-4.743.576-5.549 1.075 1.846 2.682 4.631 4.828 8.348Z\"\n fill=\"#fff\"\n />\n <defs>\n <linearGradient id=\"a\" x1=\"18\" y1=\"0\" x2=\"18\" y2=\"36\" gradientUnits=\"userSpaceOnUse\">\n <stop stop-color=\"#18BFFB\" />\n <stop offset=\"1\" stop-color=\"#2072F3\" />\n </linearGradient>\n </defs>\n</svg>`;\n//# sourceMappingURL=app-store.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/assets/svg/app-store.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/assets/svg/apple.js":
|
|||
|
/*!*********************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/assets/svg/apple.js ***!
|
|||
|
\*********************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ appleSvg: () => (/* binding */ appleSvg)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nconst appleSvg = (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `<svg fill=\"none\" viewBox=\"0 0 40 40\">\n <g clip-path=\"url(#a)\">\n <g clip-path=\"url(#b)\">\n <circle cx=\"20\" cy=\"19.89\" r=\"20\" fill=\"#000\" />\n <g clip-path=\"url(#c)\">\n <path\n fill=\"#fff\"\n d=\"M28.77 23.3c-.69 1.99-2.75 5.52-4.87 5.56-1.4.03-1.86-.84-3.46-.84-1.61 0-2.12.81-3.45.86-2.25.1-5.72-5.1-5.72-9.62 0-4.15 2.9-6.2 5.42-6.25 1.36-.02 2.64.92 3.47.92.83 0 2.38-1.13 4.02-.97.68.03 2.6.28 3.84 2.08-3.27 2.14-2.76 6.61.75 8.25ZM24.2 7.88c-2.47.1-4.49 2.69-4.2 4.84 2.28.17 4.47-2.39 4.2-4.84Z\"\n />\n </g>\n </g>\n </g>\n <defs>\n <clipPath id=\"a\"><rect width=\"40\" height=\"40\" fill=\"#fff\" rx=\"20\" /></clipPath>\n <clipPath id=\"b\"><path fill=\"#fff\" d=\"M0 0h40v40H0z\" /></clipPath>\n <clipPath id=\"c\"><path fill=\"#fff\" d=\"M8 7.89h24v24H8z\" /></clipPath>\n </defs>\n</svg>`;\n//# sourceMappingURL=apple.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/assets/svg/apple.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/assets/svg/arrow-bottom.js":
|
|||
|
/*!****************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/assets/svg/arrow-bottom.js ***!
|
|||
|
\****************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ arrowBottomSvg: () => (/* binding */ arrowBottomSvg)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nconst arrowBottomSvg = (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `<svg fill=\"none\" viewBox=\"0 0 14 15\">\n <path\n fill=\"currentColor\"\n fill-rule=\"evenodd\"\n d=\"M7 1.99a1 1 0 0 1 1 1v7.58l2.46-2.46a1 1 0 0 1 1.41 1.42L7.7 13.69a1 1 0 0 1-1.41 0L2.12 9.53A1 1 0 0 1 3.54 8.1L6 10.57V3a1 1 0 0 1 1-1Z\"\n clip-rule=\"evenodd\"\n />\n</svg>`;\n//# sourceMappingURL=arrow-bottom.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/assets/svg/arrow-bottom.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/assets/svg/arrow-left.js":
|
|||
|
/*!**************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/assets/svg/arrow-left.js ***!
|
|||
|
\**************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ arrowLeftSvg: () => (/* binding */ arrowLeftSvg)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nconst arrowLeftSvg = (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `<svg fill=\"none\" viewBox=\"0 0 14 15\">\n <path\n fill=\"currentColor\"\n fill-rule=\"evenodd\"\n d=\"M13 7.99a1 1 0 0 1-1 1H4.4l2.46 2.46a1 1 0 1 1-1.41 1.41L1.29 8.7a1 1 0 0 1 0-1.41L5.46 3.1a1 1 0 0 1 1.41 1.42L4.41 6.99H12a1 1 0 0 1 1 1Z\"\n clip-rule=\"evenodd\"\n />\n</svg>`;\n//# sourceMappingURL=arrow-left.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/assets/svg/arrow-left.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/assets/svg/arrow-right.js":
|
|||
|
/*!***************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/assets/svg/arrow-right.js ***!
|
|||
|
\***************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ arrowRightSvg: () => (/* binding */ arrowRightSvg)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nconst arrowRightSvg = (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `<svg fill=\"none\" viewBox=\"0 0 14 15\">\n <path\n fill=\"currentColor\"\n fill-rule=\"evenodd\"\n d=\"M1 7.99a1 1 0 0 1 1-1h7.58L7.12 4.53A1 1 0 1 1 8.54 3.1l4.16 4.17a1 1 0 0 1 0 1.41l-4.16 4.17a1 1 0 1 1-1.42-1.41l2.46-2.46H2a1 1 0 0 1-1-1Z\"\n clip-rule=\"evenodd\"\n />\n</svg>`;\n//# sourceMappingURL=arrow-right.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/assets/svg/arrow-right.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/assets/svg/arrow-top.js":
|
|||
|
/*!*************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/assets/svg/arrow-top.js ***!
|
|||
|
\*************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ arrowTopSvg: () => (/* binding */ arrowTopSvg)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nconst arrowTopSvg = (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `<svg fill=\"none\" viewBox=\"0 0 14 15\">\n <path\n fill=\"currentColor\"\n fill-rule=\"evenodd\"\n d=\"M7 13.99a1 1 0 0 1-1-1V5.4L3.54 7.86a1 1 0 0 1-1.42-1.41L6.3 2.28a1 1 0 0 1 1.41 0l4.17 4.17a1 1 0 1 1-1.41 1.41L8 5.4v7.59a1 1 0 0 1-1 1Z\"\n clip-rule=\"evenodd\"\n />\n</svg>`;\n//# sourceMappingURL=arrow-top.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/assets/svg/arrow-top.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/assets/svg/browser.js":
|
|||
|
/*!***********************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/assets/svg/browser.js ***!
|
|||
|
\***********************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ browserSvg: () => (/* binding */ browserSvg)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nconst browserSvg = (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `<svg fill=\"none\" viewBox=\"0 0 20 20\">\n <path\n fill=\"currentColor\"\n fill-rule=\"evenodd\"\n d=\"M4 6.4a1 1 0 0 1-.46.89 6.98 6.98 0 0 0 .38 6.18A7 7 0 0 0 16.46 7.3a1 1 0 0 1-.47-.92 7 7 0 0 0-12 .03Zm-2.02-.5a9 9 0 1 1 16.03 8.2A9 9 0 0 1 1.98 5.9Z\"\n clip-rule=\"evenodd\"\n />\n <path\n fill=\"currentColor\"\n fill-rule=\"evenodd\"\n d=\"M6.03 8.63c-1.46-.3-2.72-.75-3.6-1.35l-.02-.01-.14-.11a1 1 0 0 1 1.2-1.6l.1.08c.6.4 1.52.74 2.69 1 .16-.99.39-1.88.67-2.65.3-.79.68-1.5 1.15-2.02A2.58 2.58 0 0 1 9.99 1c.8 0 1.45.44 1.92.97.47.52.84 1.23 1.14 2.02.29.77.52 1.66.68 2.64a8 8 0 0 0 2.7-1l.26-.18h.48a1 1 0 0 1 .12 2c-.86.51-2.01.91-3.34 1.18a22.24 22.24 0 0 1-.03 3.19c1.45.29 2.7.73 3.58 1.31a1 1 0 0 1-1.1 1.68c-.6-.4-1.56-.76-2.75-1-.15.8-.36 1.55-.6 2.2-.3.79-.67 1.5-1.14 2.02-.47.53-1.12.97-1.92.97-.8 0-1.45-.44-1.91-.97a6.51 6.51 0 0 1-1.15-2.02c-.24-.65-.44-1.4-.6-2.2-1.18.24-2.13.6-2.73.99a1 1 0 1 1-1.1-1.67c.88-.58 2.12-1.03 3.57-1.31a22.03 22.03 0 0 1-.04-3.2Zm2.2-1.7c.15-.86.34-1.61.58-2.24.24-.65.51-1.12.76-1.4.25-.28.4-.29.42-.29.03 0 .17.01.42.3.25.27.52.74.77 1.4.23.62.43 1.37.57 2.22a19.96 19.96 0 0 1-3.52 0Zm-.18 4.6a20.1 20.1 0 0 1-.03-2.62 21.95 21.95 0 0 0 3.94 0 20.4 20.4 0 0 1-.03 2.63 21.97 21.97 0 0 0-3.88 0Zm.27 2c.13.66.3 1.26.49 1.78.24.65.51 1.12.76 1.4.25.28.4.29.42.29.03 0 .17-.01.42-.3.25-.27.52-.74.77-1.4.19-.5.36-1.1.49-1.78a20.03 20.03 0 0 0-3.35 0Z\"\n clip-rule=\"evenodd\"\n />\n</svg>`;\n//# sourceMappingURL=browser.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/assets/svg/browser.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/assets/svg/checkmark.js":
|
|||
|
/*!*************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/assets/svg/checkmark.js ***!
|
|||
|
\*************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ checkmarkSvg: () => (/* binding */ checkmarkSvg)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nconst checkmarkSvg = (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `<svg fill=\"none\" viewBox=\"0 0 14 15\">\n <path\n fill=\"currentColor\"\n fill-rule=\"evenodd\"\n d=\"M12.04 2.65c.47.3.6.91.3 1.38l-5.78 9a1 1 0 0 1-1.61.1L1.73 9.27A1 1 0 1 1 3.27 8L5.6 10.8l5.05-7.85a1 1 0 0 1 1.38-.3Z\"\n clip-rule=\"evenodd\"\n />\n</svg>`;\n//# sourceMappingURL=checkmark.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/assets/svg/checkmark.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/assets/svg/chevron-bottom.js":
|
|||
|
/*!******************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/assets/svg/chevron-bottom.js ***!
|
|||
|
\******************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ chevronBottomSvg: () => (/* binding */ chevronBottomSvg)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nconst chevronBottomSvg = (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `<svg fill=\"none\" viewBox=\"0 0 16 16\">\n <path\n fill=\"currentColor\"\n fill-rule=\"evenodd\"\n d=\"M1.46 4.96a1 1 0 0 1 1.41 0L8 10.09l5.13-5.13a1 1 0 1 1 1.41 1.41l-5.83 5.84a1 1 0 0 1-1.42 0L1.46 6.37a1 1 0 0 1 0-1.41Z\"\n clip-rule=\"evenodd\"\n />\n</svg>`;\n//# sourceMappingURL=chevron-bottom.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/assets/svg/chevron-bottom.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/assets/svg/chevron-left.js":
|
|||
|
/*!****************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/assets/svg/chevron-left.js ***!
|
|||
|
\****************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ chevronLeftSvg: () => (/* binding */ chevronLeftSvg)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nconst chevronLeftSvg = (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `<svg fill=\"none\" viewBox=\"0 0 16 16\">\n <path\n fill=\"currentColor\"\n fill-rule=\"evenodd\"\n d=\"M11.04 1.46a1 1 0 0 1 0 1.41L5.91 8l5.13 5.13a1 1 0 1 1-1.41 1.41L3.79 8.71a1 1 0 0 1 0-1.42l5.84-5.83a1 1 0 0 1 1.41 0Z\"\n clip-rule=\"evenodd\"\n />\n</svg>`;\n//# sourceMappingURL=chevron-left.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/assets/svg/chevron-left.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/assets/svg/chevron-right.js":
|
|||
|
/*!*****************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/assets/svg/chevron-right.js ***!
|
|||
|
\*****************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ chevronRightSvg: () => (/* binding */ chevronRightSvg)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nconst chevronRightSvg = (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `<svg fill=\"none\" viewBox=\"0 0 16 16\">\n <path\n fill=\"currentColor\"\n fill-rule=\"evenodd\"\n d=\"M4.96 14.54a1 1 0 0 1 0-1.41L10.09 8 4.96 2.87a1 1 0 0 1 1.41-1.41l5.84 5.83a1 1 0 0 1 0 1.42l-5.84 5.83a1 1 0 0 1-1.41 0Z\"\n clip-rule=\"evenodd\"\n />\n</svg>`;\n//# sourceMappingURL=chevron-right.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/assets/svg/chevron-right.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/assets/svg/chevron-top.js":
|
|||
|
/*!***************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/assets/svg/chevron-top.js ***!
|
|||
|
\***************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ chevronTopSvg: () => (/* binding */ chevronTopSvg)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nconst chevronTopSvg = (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `<svg fill=\"none\" viewBox=\"0 0 16 16\">\n <path\n fill=\"currentColor\"\n fill-rule=\"evenodd\"\n d=\"M14.54 11.04a1 1 0 0 1-1.41 0L8 5.92l-5.13 5.12a1 1 0 1 1-1.41-1.41l5.83-5.84a1 1 0 0 1 1.42 0l5.83 5.84a1 1 0 0 1 0 1.41Z\"\n clip-rule=\"evenodd\"\n />\n</svg>`;\n//# sourceMappingURL=chevron-top.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/assets/svg/chevron-top.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/assets/svg/chrome-store.js":
|
|||
|
/*!****************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/assets/svg/chrome-store.js ***!
|
|||
|
\****************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ chromeStoreSvg: () => (/* binding */ chromeStoreSvg)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nconst chromeStoreSvg = (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `<svg width=\"36\" height=\"36\" fill=\"none\">\n <path\n fill=\"#fff\"\n fill-opacity=\".05\"\n d=\"M0 14.94c0-5.55 0-8.326 1.182-10.4a9 9 0 0 1 3.359-3.358C6.614 0 9.389 0 14.94 0h6.12c5.55 0 8.326 0 10.4 1.182a9 9 0 0 1 3.358 3.359C36 6.614 36 9.389 36 14.94v6.12c0 5.55 0 8.326-1.182 10.4a9 9 0 0 1-3.359 3.358C29.386 36 26.611 36 21.06 36h-6.12c-5.55 0-8.326 0-10.4-1.182a9 9 0 0 1-3.358-3.359C0 29.386 0 26.611 0 21.06v-6.12Z\"\n />\n <path\n stroke=\"#fff\"\n stroke-opacity=\".05\"\n d=\"M14.94.5h6.12c2.785 0 4.84 0 6.46.146 1.612.144 2.743.43 3.691.97a8.5 8.5 0 0 1 3.172 3.173c.541.948.826 2.08.971 3.692.145 1.62.146 3.675.146 6.459v6.12c0 2.785 0 4.84-.146 6.46-.145 1.612-.43 2.743-.97 3.691a8.5 8.5 0 0 1-3.173 3.172c-.948.541-2.08.826-3.692.971-1.62.145-3.674.146-6.459.146h-6.12c-2.784 0-4.84 0-6.46-.146-1.612-.145-2.743-.43-3.691-.97a8.5 8.5 0 0 1-3.172-3.173c-.541-.948-.827-2.08-.971-3.692C.5 25.9.5 23.845.5 21.06v-6.12c0-2.784 0-4.84.146-6.46.144-1.612.43-2.743.97-3.691A8.5 8.5 0 0 1 4.79 1.617C5.737 1.076 6.869.79 8.48.646 10.1.5 12.156.5 14.94.5Z\"\n />\n <path\n fill=\"url(#a)\"\n d=\"M17.998 10.8h12.469a14.397 14.397 0 0 0-24.938.001l6.234 10.798.006-.001a7.19 7.19 0 0 1 6.23-10.799Z\"\n />\n <path\n fill=\"url(#b)\"\n d=\"m24.237 21.598-6.234 10.798A14.397 14.397 0 0 0 30.47 10.798H18.002l-.002.006a7.191 7.191 0 0 1 6.237 10.794Z\"\n />\n <path\n fill=\"url(#c)\"\n d=\"M11.765 21.601 5.531 10.803A14.396 14.396 0 0 0 18.001 32.4l6.235-10.798-.004-.004a7.19 7.19 0 0 1-12.466.004Z\"\n />\n <path fill=\"#fff\" d=\"M18 25.2a7.2 7.2 0 1 0 0-14.4 7.2 7.2 0 0 0 0 14.4Z\" />\n <path fill=\"#1A73E8\" d=\"M18 23.7a5.7 5.7 0 1 0 0-11.4 5.7 5.7 0 0 0 0 11.4Z\" />\n <defs>\n <linearGradient\n id=\"a\"\n x1=\"6.294\"\n x2=\"41.1\"\n y1=\"5.995\"\n y2=\"5.995\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop stop-color=\"#D93025\" />\n <stop offset=\"1\" stop-color=\"#EA4335\" />\n </linearGradient>\n <linearGradient\n id=\"b\"\n x1=\"20.953\"\n x2=\"37.194\"\n y1=\"32.143\"\n y2=\"2.701\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop stop-color=\"#FCC934\" />\n <stop offset=\"1\" stop-color=\"#FBBC04\" />\n </linearGradient>\n <linearGradient\n id=\"c\"\n x1=\"25.873\"\n x2=\"9.632\"\n y1=\"31.2\"\n y2=\"1.759\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop stop-color=\"#1E8E3E\" />\n <stop offset=\"1\" stop-color=\"#34A853\" />\n </linearGradient>\n </defs>\n</svg>`;\n//# sourceMappingURL=chrome-store.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/assets/svg/chrome-store.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/assets/svg/clock.js":
|
|||
|
/*!*********************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/assets/svg/clock.js ***!
|
|||
|
\*********************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ clockSvg: () => (/* binding */ clockSvg)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nconst clockSvg = (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `<svg fill=\"none\" viewBox=\"0 0 16 16\">\n <path\n fill=\"currentColor\"\n fill-rule=\"evenodd\"\n d=\"M7 2.99a5 5 0 1 0 0 10 5 5 0 0 0 0-10Zm-7 5a7 7 0 1 1 14 0 7 7 0 0 1-14 0Zm7-4a1 1 0 0 1 1 1v2.58l1.85 1.85a1 1 0 0 1-1.41 1.42L6.29 8.69A1 1 0 0 1 6 8v-3a1 1 0 0 1 1-1Z\"\n clip-rule=\"evenodd\"\n />\n</svg>`;\n//# sourceMappingURL=clock.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/assets/svg/clock.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/assets/svg/close.js":
|
|||
|
/*!*********************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/assets/svg/close.js ***!
|
|||
|
\*********************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ closeSvg: () => (/* binding */ closeSvg)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nconst closeSvg = (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `<svg fill=\"none\" viewBox=\"0 0 16 16\">\n <path\n fill=\"currentColor\"\n fill-rule=\"evenodd\"\n d=\"M2.54 2.54a1 1 0 0 1 1.42 0L8 6.6l4.04-4.05a1 1 0 1 1 1.42 1.42L9.4 8l4.05 4.04a1 1 0 0 1-1.42 1.42L8 9.4l-4.04 4.05a1 1 0 0 1-1.42-1.42L6.6 8 2.54 3.96a1 1 0 0 1 0-1.42Z\"\n clip-rule=\"evenodd\"\n />\n</svg>`;\n//# sourceMappingURL=close.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/assets/svg/close.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/assets/svg/coinPlaceholder.js":
|
|||
|
/*!*******************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/assets/svg/coinPlaceholder.js ***!
|
|||
|
\*******************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ coinPlaceholderSvg: () => (/* binding */ coinPlaceholderSvg)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nconst coinPlaceholderSvg = (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `<svg fill=\"none\" viewBox=\"0 0 20 20\">\n <path\n fill=\"currentColor\"\n fill-rule=\"evenodd\"\n d=\"M10 3a7 7 0 0 0-6.85 8.44l8.29-8.3C10.97 3.06 10.49 3 10 3Zm3.49.93-9.56 9.56c.32.55.71 1.06 1.16 1.5L15 5.1a7.03 7.03 0 0 0-1.5-1.16Zm2.7 2.8-9.46 9.46a7 7 0 0 0 9.46-9.46ZM1.99 5.9A9 9 0 1 1 18 14.09 9 9 0 0 1 1.98 5.91Z\"\n clip-rule=\"evenodd\"\n />\n</svg>`;\n//# sourceMappingURL=coinPlaceholder.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/assets/svg/coinPlaceholder.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/assets/svg/compass.js":
|
|||
|
/*!***********************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/assets/svg/compass.js ***!
|
|||
|
\***********************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ compassSvg: () => (/* binding */ compassSvg)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nconst compassSvg = (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `<svg fill=\"none\" viewBox=\"0 0 16 16\">\n <path\n fill=\"currentColor\"\n fill-rule=\"evenodd\"\n d=\"M8 2a6 6 0 1 0 0 12A6 6 0 0 0 8 2ZM0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8Zm10.66-2.65a1 1 0 0 1 .23 1.06L9.83 9.24a1 1 0 0 1-.59.58l-2.83 1.06A1 1 0 0 1 5.13 9.6l1.06-2.82a1 1 0 0 1 .58-.59L9.6 5.12a1 1 0 0 1 1.06.23ZM7.9 7.89l-.13.35.35-.13.12-.35-.34.13Z\"\n clip-rule=\"evenodd\"\n />\n</svg>`;\n//# sourceMappingURL=compass.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/assets/svg/compass.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/assets/svg/copy.js":
|
|||
|
/*!********************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/assets/svg/copy.js ***!
|
|||
|
\********************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ copySvg: () => (/* binding */ copySvg)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nconst copySvg = (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `<svg fill=\"none\" viewBox=\"0 0 16 16\">\n <path\n fill=\"currentColor\"\n fill-rule=\"evenodd\"\n d=\"M9.5 0h1.67c.68 0 1.26 0 1.73.04.5.05.97.14 1.42.4.52.3.95.72 1.24 1.24.26.45.35.92.4 1.42.04.47.04 1.05.04 1.73V6.5c0 .69 0 1.26-.04 1.74-.05.5-.14.97-.4 1.41-.3.52-.72.95-1.24 1.25-.45.25-.92.35-1.42.4-.43.03-.95.03-1.57.03 0 .62 0 1.14-.04 1.57-.04.5-.14.97-.4 1.42-.29.52-.72.95-1.24 1.24-.44.26-.92.35-1.41.4-.48.04-1.05.04-1.74.04H4.83c-.68 0-1.26 0-1.73-.04-.5-.05-.97-.14-1.42-.4-.52-.3-.95-.72-1.24-1.24a3.39 3.39 0 0 1-.4-1.42A20.9 20.9 0 0 1 0 11.17V9.5c0-.69 0-1.26.04-1.74.05-.5.14-.97.4-1.41.3-.52.72-.95 1.24-1.25.45-.25.92-.35 1.42-.4.43-.03.95-.03 1.57-.03 0-.62 0-1.14.04-1.57.04-.5.14-.97.4-1.42.29-.52.72-.95 1.24-1.24.44-.26.92-.35 1.41-.4A20.9 20.9 0 0 1 9.5 0ZM4.67 6.67c-.63 0-1.06 0-1.4.03-.35.03-.5.09-.6.14-.2.12-.38.3-.5.5-.05.1-.1.24-.14.6C2 8.32 2 8.8 2 9.54v1.59c0 .73 0 1.22.03 1.6.04.35.1.5.15.6.11.2.29.38.5.5.09.05.24.1.6.14.37.03.86.03 1.6.03h1.58c.74 0 1.22 0 1.6-.03.36-.04.5-.1.6-.15.2-.11.38-.29.5-.5.05-.09.1-.24.14-.6.03-.33.03-.76.03-1.39-.6 0-1.13 0-1.57-.04-.5-.04-.97-.14-1.41-.4-.52-.29-.95-.72-1.25-1.24a3.39 3.39 0 0 1-.4-1.41c-.03-.44-.03-.96-.03-1.57Zm3.27-4.64c-.36.04-.5.1-.6.15-.2.11-.38.29-.5.5-.05.09-.1.24-.14.6-.03.37-.03.86-.03 1.6v1.58c0 .74 0 1.22.03 1.6.03.36.09.5.14.6.12.2.3.38.5.5.1.05.24.1.6.14.38.03.86.03 1.6.03h1.59c.73 0 1.22 0 1.6-.03.35-.03.5-.09.6-.14.2-.12.38-.3.5-.5.05-.1.1-.24.14-.6.03-.38.03-.86.03-1.6V4.87c0-.73 0-1.22-.03-1.6a1.46 1.46 0 0 0-.15-.6c-.11-.2-.29-.38-.5-.5-.09-.05-.24-.1-.6-.14-.37-.03-.86-.03-1.6-.03H9.55c-.74 0-1.22 0-1.6.03Z\"\n clip-rule=\"evenodd\"\n />\n</svg>`;\n//# sourceMappingURL=copy.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/assets/svg/copy.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/assets/svg/cursor.js":
|
|||
|
/*!**********************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/assets/svg/cursor.js ***!
|
|||
|
\**********************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ cursorSvg: () => (/* binding */ cursorSvg)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nconst cursorSvg = (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) ` <svg fill=\"none\" viewBox=\"0 0 13 4\">\n <path fill=\"currentColor\" d=\"M.5 0h12L8.9 3.13a3.76 3.76 0 0 1-4.8 0L.5 0Z\" />\n</svg>`;\n//# sourceMappingURL=cursor.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/assets/svg/cursor.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/assets/svg/desktop.js":
|
|||
|
/*!***********************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/assets/svg/desktop.js ***!
|
|||
|
\***********************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ desktopSvg: () => (/* binding */ desktopSvg)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nconst desktopSvg = (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `<svg fill=\"none\" viewBox=\"0 0 20 20\">\n <path\n fill=\"currentColor\"\n fill-rule=\"evenodd\"\n d=\"M13.66 2H6.34c-1.07 0-1.96 0-2.68.08-.74.08-1.42.25-2.01.68a4 4 0 0 0-.89.89c-.43.6-.6 1.27-.68 2.01C0 6.38 0 7.26 0 8.34v.89c0 1.07 0 1.96.08 2.68.08.74.25 1.42.68 2.01a4 4 0 0 0 .89.89c.6.43 1.27.6 2.01.68a27 27 0 0 0 2.68.08h7.32a27 27 0 0 0 2.68-.08 4.03 4.03 0 0 0 2.01-.68 4 4 0 0 0 .89-.89c.43-.6.6-1.27.68-2.01.08-.72.08-1.6.08-2.68v-.89c0-1.07 0-1.96-.08-2.68a4.04 4.04 0 0 0-.68-2.01 4 4 0 0 0-.89-.89c-.6-.43-1.27-.6-2.01-.68C15.62 2 14.74 2 13.66 2ZM2.82 4.38c.2-.14.48-.25 1.06-.31C4.48 4 5.25 4 6.4 4h7.2c1.15 0 1.93 0 2.52.07.58.06.86.17 1.06.31a2 2 0 0 1 .44.44c.14.2.25.48.31 1.06.07.6.07 1.37.07 2.52v.77c0 1.15 0 1.93-.07 2.52-.06.58-.17.86-.31 1.06a2 2 0 0 1-.44.44c-.2.14-.48.25-1.06.32-.6.06-1.37.06-2.52.06H6.4c-1.15 0-1.93 0-2.52-.06-.58-.07-.86-.18-1.06-.32a2 2 0 0 1-.44-.44c-.14-.2-.25-.48-.31-1.06C2 11.1 2 10.32 2 9.17V8.4c0-1.15 0-1.93.07-2.52.06-.58.17-.86.31-1.06a2 2 0 0 1 .44-.44Z\"\n clip-rule=\"evenodd\"\n />\n <path fill=\"currentColor\" d=\"M6.14 17.57a1 1 0 1 0 0 2h7.72a1 1 0 1 0 0-2H6.14Z\" />\n</svg>`;\n//# sourceMappingURL=desktop.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/assets/svg/desktop.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/assets/svg/disconnect.js":
|
|||
|
/*!**************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/assets/svg/disconnect.js ***!
|
|||
|
\**************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ disconnectSvg: () => (/* binding */ disconnectSvg)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nconst disconnectSvg = (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `<svg fill=\"none\" viewBox=\"0 0 16 16\">\n <path\n fill=\"currentColor\"\n fill-rule=\"evenodd\"\n d=\"M6.07 1h.57a1 1 0 0 1 0 2h-.52c-.98 0-1.64 0-2.14.06-.48.05-.7.14-.84.24-.13.1-.25.22-.34.35-.1.14-.2.35-.25.83-.05.5-.05 1.16-.05 2.15v2.74c0 .99 0 1.65.05 2.15.05.48.14.7.25.83.1.14.2.25.34.35.14.1.36.2.84.25.5.05 1.16.05 2.14.05h.52a1 1 0 0 1 0 2h-.57c-.92 0-1.69 0-2.3-.07a3.6 3.6 0 0 1-1.8-.61c-.3-.22-.57-.49-.8-.8a3.6 3.6 0 0 1-.6-1.79C.5 11.11.5 10.35.5 9.43V6.58c0-.92 0-1.7.06-2.31a3.6 3.6 0 0 1 .62-1.8c.22-.3.48-.57.79-.79a3.6 3.6 0 0 1 1.8-.61C4.37 1 5.14 1 6.06 1ZM9.5 3a1 1 0 0 1 1.42 0l4.28 4.3a1 1 0 0 1 0 1.4L10.93 13a1 1 0 0 1-1.42-1.42L12.1 9H6.8a1 1 0 1 1 0-2h5.3L9.51 4.42a1 1 0 0 1 0-1.41Z\"\n clip-rule=\"evenodd\"\n />\n</svg>`;\n//# sourceMappingURL=disconnect.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/assets/svg/disconnect.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/assets/svg/discord.js":
|
|||
|
/*!***********************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/assets/svg/discord.js ***!
|
|||
|
\***********************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ discordSvg: () => (/* binding */ discordSvg)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nconst discordSvg = (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `<svg fill=\"none\" viewBox=\"0 0 40 40\">\n <g clip-path=\"url(#a)\">\n <g clip-path=\"url(#b)\">\n <circle cx=\"20\" cy=\"19.89\" r=\"20\" fill=\"#5865F2\" />\n <path\n fill=\"#fff\"\n fill-rule=\"evenodd\"\n d=\"M25.71 28.15C30.25 28 32 25.02 32 25.02c0-6.61-2.96-11.98-2.96-11.98-2.96-2.22-5.77-2.15-5.77-2.15l-.29.32c3.5 1.07 5.12 2.61 5.12 2.61a16.75 16.75 0 0 0-10.34-1.93l-.35.04a15.43 15.43 0 0 0-5.88 1.9s1.71-1.63 5.4-2.7l-.2-.24s-2.81-.07-5.77 2.15c0 0-2.96 5.37-2.96 11.98 0 0 1.73 2.98 6.27 3.13l1.37-1.7c-2.6-.79-3.6-2.43-3.6-2.43l.58.35.09.06.08.04.02.01.08.05a17.25 17.25 0 0 0 4.52 1.58 14.4 14.4 0 0 0 8.3-.86c.72-.27 1.52-.66 2.37-1.21 0 0-1.03 1.68-3.72 2.44.61.78 1.35 1.67 1.35 1.67Zm-9.55-9.6c-1.17 0-2.1 1.03-2.1 2.28 0 1.25.95 2.28 2.1 2.28 1.17 0 2.1-1.03 2.1-2.28.01-1.25-.93-2.28-2.1-2.28Zm7.5 0c-1.17 0-2.1 1.03-2.1 2.28 0 1.25.95 2.28 2.1 2.28 1.17 0 2.1-1.03 2.1-2.28 0-1.25-.93-2.28-2.1-2.28Z\"\n clip-rule=\"evenodd\"\n />\n </g>\n </g>\n <defs>\n <clipPath id=\"a\"><rect width=\"40\" height=\"40\" fill=\"#fff\" rx=\"20\" /></clipPath>\n <clipPath id=\"b\"><path fill=\"#fff\" d=\"M0 0h40v40H0z\" /></clipPath>\n </defs>\n</svg>`;\n//# sourceMappingURL=discord.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/assets/svg/discord.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/assets/svg/etherscan.js":
|
|||
|
/*!*************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/assets/svg/etherscan.js ***!
|
|||
|
\*************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ etherscanSvg: () => (/* binding */ etherscanSvg)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nconst etherscanSvg = (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `<svg fill=\"none\" viewBox=\"0 0 16 16\">\n <path\n fill=\"currentColor\"\n d=\"M4.25 7a.63.63 0 0 0-.63.63v3.97c0 .28-.2.51-.47.54l-.75.07a.93.93 0 0 1-.9-.47A7.51 7.51 0 0 1 5.54.92a7.5 7.5 0 0 1 9.54 4.62c.12.35.06.72-.16 1-.74.97-1.68 1.78-2.6 2.44V4.44a.64.64 0 0 0-.63-.64h-1.06c-.35 0-.63.3-.63.64v5.5c0 .23-.12.42-.32.5l-.52.23V6.05c0-.36-.3-.64-.64-.64H7.45c-.35 0-.64.3-.64.64v4.97c0 .25-.17.46-.4.52a5.8 5.8 0 0 0-.45.11v-4c0-.36-.3-.65-.64-.65H4.25ZM14.07 12.4A7.49 7.49 0 0 1 3.6 14.08c4.09-.58 9.14-2.5 11.87-6.6v.03a7.56 7.56 0 0 1-1.41 4.91Z\"\n />\n</svg>`;\n//# sourceMappingURL=etherscan.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/assets/svg/etherscan.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/assets/svg/extension.js":
|
|||
|
/*!*************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/assets/svg/extension.js ***!
|
|||
|
\*************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ extensionSvg: () => (/* binding */ extensionSvg)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nconst extensionSvg = (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `<svg fill=\"none\" viewBox=\"0 0 14 15\">\n <path\n fill=\"currentColor\"\n fill-rule=\"evenodd\"\n d=\"M6.71 2.99a.57.57 0 0 0-.57.57 1 1 0 0 1-1 1c-.58 0-.96 0-1.24.03-.27.03-.37.07-.42.1a.97.97 0 0 0-.36.35c-.04.08-.09.21-.11.67a2.57 2.57 0 0 1 0 5.13c.02.45.07.6.11.66.09.15.21.28.36.36.07.04.21.1.67.12a2.57 2.57 0 0 1 5.12 0c.46-.03.6-.08.67-.12a.97.97 0 0 0 .36-.36c.03-.04.07-.14.1-.41.02-.29.03-.66.03-1.24a1 1 0 0 1 1-1 .57.57 0 0 0 0-1.15 1 1 0 0 1-1-1c0-.58 0-.95-.03-1.24a1.04 1.04 0 0 0-.1-.42.97.97 0 0 0-.36-.36 1.04 1.04 0 0 0-.42-.1c-.28-.02-.65-.02-1.24-.02a1 1 0 0 1-1-1 .57.57 0 0 0-.57-.57ZM5.15 13.98a1 1 0 0 0 .99-1v-.78a.57.57 0 0 1 1.14 0v.78a1 1 0 0 0 .99 1H8.36a66.26 66.26 0 0 0 .73 0 3.78 3.78 0 0 0 1.84-.38c.46-.26.85-.64 1.1-1.1.23-.4.32-.8.36-1.22.02-.2.03-.4.03-.63a2.57 2.57 0 0 0 0-4.75c0-.23-.01-.44-.03-.63a2.96 2.96 0 0 0-.35-1.22 2.97 2.97 0 0 0-1.1-1.1c-.4-.22-.8-.31-1.22-.35a8.7 8.7 0 0 0-.64-.04 2.57 2.57 0 0 0-4.74 0c-.23 0-.44.02-.63.04-.42.04-.83.13-1.22.35-.46.26-.84.64-1.1 1.1-.33.57-.37 1.2-.39 1.84a21.39 21.39 0 0 0 0 .72v.1a1 1 0 0 0 1 .99h.78a.57.57 0 0 1 0 1.15h-.77a1 1 0 0 0-1 .98v.1a63.87 63.87 0 0 0 0 .73c0 .64.05 1.27.38 1.83.26.47.64.85 1.1 1.11.56.32 1.2.37 1.84.38a20.93 20.93 0 0 0 .72 0h.1Z\"\n clip-rule=\"evenodd\"\n />\n</svg>`;\n//# sourceMappingURL=extension.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/assets/svg/extension.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/assets/svg/external-link.js":
|
|||
|
/*!*****************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/assets/svg/external-link.js ***!
|
|||
|
\*****************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ externalLinkSvg: () => (/* binding */ externalLinkSvg)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nconst externalLinkSvg = (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `<svg fill=\"none\" viewBox=\"0 0 14 15\">\n <path\n fill=\"currentColor\"\n fill-rule=\"evenodd\"\n d=\"M3.74 3.99a1 1 0 0 1 1-1H11a1 1 0 0 1 1 1v6.26a1 1 0 0 1-2 0V6.4l-6.3 6.3a1 1 0 0 1-1.4-1.42l6.29-6.3H4.74a1 1 0 0 1-1-1Z\"\n clip-rule=\"evenodd\"\n />\n</svg>`;\n//# sourceMappingURL=external-link.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/assets/svg/external-link.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/assets/svg/facebook.js":
|
|||
|
/*!************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/assets/svg/facebook.js ***!
|
|||
|
\************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ facebookSvg: () => (/* binding */ facebookSvg)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nconst facebookSvg = (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `<svg fill=\"none\" viewBox=\"0 0 40 40\">\n <g clip-path=\"url(#a)\">\n <g clip-path=\"url(#b)\">\n <circle cx=\"20\" cy=\"19.89\" r=\"20\" fill=\"#1877F2\" />\n <g clip-path=\"url(#c)\">\n <path\n fill=\"#fff\"\n d=\"M26 12.38h-2.89c-.92 0-1.61.38-1.61 1.34v1.66H26l-.36 4.5H21.5v12H17v-12h-3v-4.5h3V12.5c0-3.03 1.6-4.62 5.2-4.62H26v4.5Z\"\n />\n </g>\n </g>\n <path\n fill=\"#1877F2\"\n d=\"M40 20a20 20 0 1 0-23.13 19.76V25.78H11.8V20h5.07v-4.4c0-5.02 3-7.79 7.56-7.79 2.19 0 4.48.4 4.48.4v4.91h-2.53c-2.48 0-3.25 1.55-3.25 3.13V20h5.54l-.88 5.78h-4.66v13.98A20 20 0 0 0 40 20Z\"\n />\n <path\n fill=\"#fff\"\n d=\"m27.79 25.78.88-5.78h-5.55v-3.75c0-1.58.78-3.13 3.26-3.13h2.53V8.2s-2.3-.39-4.48-.39c-4.57 0-7.55 2.77-7.55 7.78V20H11.8v5.78h5.07v13.98a20.15 20.15 0 0 0 6.25 0V25.78h4.67Z\"\n />\n </g>\n <defs>\n <clipPath id=\"a\"><rect width=\"40\" height=\"40\" fill=\"#fff\" rx=\"20\" /></clipPath>\n <clipPath id=\"b\"><path fill=\"#fff\" d=\"M0 0h40v40H0z\" /></clipPath>\n <clipPath id=\"c\"><path fill=\"#fff\" d=\"M8 7.89h24v24H8z\" /></clipPath>\n </defs>\n</svg>`;\n//# sourceMappingURL=facebook.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/assets/svg/facebook.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/assets/svg/filters.js":
|
|||
|
/*!***********************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/assets/svg/filters.js ***!
|
|||
|
\***********************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ filtersSvg: () => (/* binding */ filtersSvg)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nconst filtersSvg = (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `<svg fill=\"none\" viewBox=\"0 0 16 16\">\n <path\n fill=\"currentColor\"\n fill-rule=\"evenodd\"\n d=\"M0 3a1 1 0 0 1 1-1h14a1 1 0 1 1 0 2H1a1 1 0 0 1-1-1Zm2.63 5.25a1 1 0 0 1 1-1h8.75a1 1 0 1 1 0 2H3.63a1 1 0 0 1-1-1Zm2.62 5.25a1 1 0 0 1 1-1h3.5a1 1 0 0 1 0 2h-3.5a1 1 0 0 1-1-1Z\"\n clip-rule=\"evenodd\"\n />\n</svg>`;\n//# sourceMappingURL=filters.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/assets/svg/filters.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/assets/svg/github.js":
|
|||
|
/*!**********************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/assets/svg/github.js ***!
|
|||
|
\**********************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ githubSvg: () => (/* binding */ githubSvg)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nconst githubSvg = (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `<svg fill=\"none\" viewBox=\"0 0 40 40\">\n <g clip-path=\"url(#a)\">\n <g clip-path=\"url(#b)\">\n <circle cx=\"20\" cy=\"19.89\" r=\"20\" fill=\"#1B1F23\" />\n <g clip-path=\"url(#c)\">\n <path\n fill=\"#fff\"\n d=\"M8 19.89a12 12 0 1 1 15.8 11.38c-.6.12-.8-.26-.8-.57v-3.3c0-1.12-.4-1.85-.82-2.22 2.67-.3 5.48-1.31 5.48-5.92 0-1.31-.47-2.38-1.24-3.22.13-.3.54-1.52-.12-3.18 0 0-1-.32-3.3 1.23a11.54 11.54 0 0 0-6 0c-2.3-1.55-3.3-1.23-3.3-1.23a4.32 4.32 0 0 0-.12 3.18 4.64 4.64 0 0 0-1.24 3.22c0 4.6 2.8 5.63 5.47 5.93-.34.3-.65.83-.76 1.6-.69.31-2.42.84-3.5-1 0 0-.63-1.15-1.83-1.23 0 0-1.18-.02-.09.73 0 0 .8.37 1.34 1.76 0 0 .7 2.14 4.03 1.41v2.24c0 .31-.2.68-.8.57A12 12 0 0 1 8 19.9Z\"\n />\n </g>\n </g>\n </g>\n <defs>\n <clipPath id=\"a\"><rect width=\"40\" height=\"40\" fill=\"#fff\" rx=\"20\" /></clipPath>\n <clipPath id=\"b\"><path fill=\"#fff\" d=\"M0 0h40v40H0z\" /></clipPath>\n <clipPath id=\"c\"><path fill=\"#fff\" d=\"M8 7.89h24v24H8z\" /></clipPath>\n </defs>\n</svg>`;\n//# sourceMappingURL=github.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/assets/svg/github.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/assets/svg/google.js":
|
|||
|
/*!**********************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/assets/svg/google.js ***!
|
|||
|
\**********************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ googleSvg: () => (/* binding */ googleSvg)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nconst googleSvg = (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `<svg fill=\"none\" viewBox=\"0 0 40 40\">\n <g clip-path=\"url(#a)\">\n <g clip-path=\"url(#b)\">\n <circle cx=\"20\" cy=\"19.89\" r=\"20\" fill=\"#fff\" fill-opacity=\".05\" />\n <g clip-path=\"url(#c)\">\n <path\n fill=\"#4285F4\"\n d=\"M20 17.7v4.65h6.46a5.53 5.53 0 0 1-2.41 3.61l3.9 3.02c2.26-2.09 3.57-5.17 3.57-8.82 0-.85-.08-1.67-.22-2.46H20Z\"\n />\n <path\n fill=\"#34A853\"\n d=\"m13.27 22.17-.87.67-3.11 2.42A12 12 0 0 0 20 31.9c3.24 0 5.96-1.07 7.94-2.9l-3.9-3.03A7.15 7.15 0 0 1 20 27.12a7.16 7.16 0 0 1-6.72-4.94v-.01Z\"\n />\n <path\n fill=\"#FBBC05\"\n d=\"M9.29 14.5a11.85 11.85 0 0 0 0 10.76l3.99-3.1a7.19 7.19 0 0 1 0-4.55l-4-3.1Z\"\n />\n <path\n fill=\"#EA4335\"\n d=\"M20 12.66c1.77 0 3.34.61 4.6 1.8l3.43-3.44A11.51 11.51 0 0 0 20 7.89c-4.7 0-8.74 2.69-10.71 6.62l3.99 3.1A7.16 7.16 0 0 1 20 12.66Z\"\n />\n </g>\n </g>\n </g>\n <defs>\n <clipPath id=\"a\"><rect width=\"40\" height=\"40\" fill=\"#fff\" rx=\"20\" /></clipPath>\n <clipPath id=\"b\"><path fill=\"#fff\" d=\"M0 0h40v40H0z\" /></clipPath>\n <clipPath id=\"c\"><path fill=\"#fff\" d=\"M8 7.89h24v24H8z\" /></clipPath>\n </defs>\n</svg>`;\n//# sourceMappingURL=google.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/assets/svg/google.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/assets/svg/help-circle.js":
|
|||
|
/*!***************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/assets/svg/help-circle.js ***!
|
|||
|
\***************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ helpCircleSvg: () => (/* binding */ helpCircleSvg)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nconst helpCircleSvg = (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `<svg fill=\"none\" viewBox=\"0 0 16 16\">\n <path\n fill=\"currentColor\"\n d=\"M8.51 5.66a.83.83 0 0 0-.57-.2.83.83 0 0 0-.52.28.8.8 0 0 0-.25.52 1 1 0 0 1-2 0c0-.75.34-1.43.81-1.91a2.75 2.75 0 0 1 4.78 1.92c0 1.24-.8 1.86-1.25 2.2l-.04.03c-.47.36-.5.43-.5.65a1 1 0 1 1-2 0c0-1.25.8-1.86 1.24-2.2l.04-.04c.47-.36.5-.43.5-.65 0-.3-.1-.49-.24-.6ZM9.12 11.87a1.13 1.13 0 1 1-2.25 0 1.13 1.13 0 0 1 2.25 0Z\"\n />\n <path\n fill=\"currentColor\"\n fill-rule=\"evenodd\"\n d=\"M0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8Zm8-6a6 6 0 1 0 0 12A6 6 0 0 0 8 2Z\"\n clip-rule=\"evenodd\"\n />\n</svg>`;\n//# sourceMappingURL=help-circle.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/assets/svg/help-circle.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/assets/svg/info-circle.js":
|
|||
|
/*!***************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/assets/svg/info-circle.js ***!
|
|||
|
\***************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ infoCircleSvg: () => (/* binding */ infoCircleSvg)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nconst infoCircleSvg = (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `<svg fill=\"none\" viewBox=\"0 0 14 15\">\n <path\n fill=\"currentColor\"\n d=\"M6 10.49a1 1 0 1 0 2 0v-2a1 1 0 0 0-2 0v2ZM7 4.49a1 1 0 1 0 0 2 1 1 0 0 0 0-2Z\"\n />\n <path\n fill=\"currentColor\"\n fill-rule=\"evenodd\"\n d=\"M7 14.99a7 7 0 1 0 0-14 7 7 0 0 0 0 14Zm5-7a5 5 0 1 1-10 0 5 5 0 0 1 10 0Z\"\n clip-rule=\"evenodd\"\n />\n</svg>`;\n//# sourceMappingURL=info-circle.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/assets/svg/info-circle.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/assets/svg/mail.js":
|
|||
|
/*!********************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/assets/svg/mail.js ***!
|
|||
|
\********************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ mailSvg: () => (/* binding */ mailSvg)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nconst mailSvg = (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `<svg fill=\"none\" viewBox=\"0 0 16 16\">\n <path\n fill=\"currentColor\"\n fill-rule=\"evenodd\"\n d=\"M4.83 1.34h6.34c.68 0 1.26 0 1.73.04.5.05.97.15 1.42.4.52.3.95.72 1.24 1.24.26.45.35.92.4 1.42.04.47.04 1.05.04 1.73v3.71c0 .69 0 1.26-.04 1.74-.05.5-.14.97-.4 1.41-.3.52-.72.95-1.24 1.25-.45.25-.92.35-1.42.4-.47.03-1.05.03-1.73.03H4.83c-.68 0-1.26 0-1.73-.04-.5-.04-.97-.14-1.42-.4-.52-.29-.95-.72-1.24-1.24a3.39 3.39 0 0 1-.4-1.41A20.9 20.9 0 0 1 0 9.88v-3.7c0-.7 0-1.27.04-1.74.05-.5.14-.97.4-1.42.3-.52.72-.95 1.24-1.24.45-.25.92-.35 1.42-.4.47-.04 1.05-.04 1.73-.04ZM3.28 3.38c-.36.03-.51.08-.6.14-.21.11-.39.29-.5.5a.8.8 0 0 0-.08.19l5.16 3.44c.45.3 1.03.3 1.48 0L13.9 4.2a.79.79 0 0 0-.08-.2c-.11-.2-.29-.38-.5-.5-.09-.05-.24-.1-.6-.13-.37-.04-.86-.04-1.6-.04H4.88c-.73 0-1.22 0-1.6.04ZM14 6.54 9.85 9.31a3.33 3.33 0 0 1-3.7 0L2 6.54v3.3c0 .74 0 1.22.03 1.6.04.36.1.5.15.6.11.2.29.38.5.5.09.05.24.1.6.14.37.03.86.03 1.6.03h6.25c.73 0 1.22 0 1.6-.03.35-.03.5-.09.6-.14.2-.12.38-.3.5-.5.05-.1.1-.24.14-.6.03-.38.03-.86.03-1.6v-3.3Z\"\n clip-rule=\"evenodd\"\n />\n</svg>`;\n//# sourceMappingURL=mail.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/assets/svg/mail.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/assets/svg/mobile.js":
|
|||
|
/*!**********************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/assets/svg/mobile.js ***!
|
|||
|
\**********************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ mobileSvg: () => (/* binding */ mobileSvg)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nconst mobileSvg = (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `<svg fill=\"none\" viewBox=\"0 0 20 20\">\n <path fill=\"currentColor\" d=\"M10.81 5.81a2 2 0 1 1-4 0 2 2 0 0 1 4 0Z\" />\n <path\n fill=\"currentColor\"\n fill-rule=\"evenodd\"\n d=\"M3 4.75A4.75 4.75 0 0 1 7.75 0h4.5A4.75 4.75 0 0 1 17 4.75v10.5A4.75 4.75 0 0 1 12.25 20h-4.5A4.75 4.75 0 0 1 3 15.25V4.75ZM7.75 2A2.75 2.75 0 0 0 5 4.75v10.5A2.75 2.75 0 0 0 7.75 18h4.5A2.75 2.75 0 0 0 15 15.25V4.75A2.75 2.75 0 0 0 12.25 2h-4.5Z\"\n clip-rule=\"evenodd\"\n />\n</svg>`;\n//# sourceMappingURL=mobile.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/assets/svg/mobile.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/assets/svg/network-placeholder.js":
|
|||
|
/*!***********************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/assets/svg/network-placeholder.js ***!
|
|||
|
\***********************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ networkPlaceholderSvg: () => (/* binding */ networkPlaceholderSvg)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nconst networkPlaceholderSvg = (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `<svg fill=\"none\" viewBox=\"0 0 22 20\">\n <path\n fill=\"currentColor\"\n fill-rule=\"evenodd\"\n d=\"M16.32 13.62a3.14 3.14 0 1 1-.99 1.72l-1.6-.93a3.83 3.83 0 0 1-3.71 1 3.66 3.66 0 0 1-1.74-1l-1.6.94a3.14 3.14 0 1 1-1-1.73l1.6-.94a3.7 3.7 0 0 1 0-2 3.81 3.81 0 0 1 1.8-2.33c.29-.17.6-.3.92-.38V6.1a3.14 3.14 0 1 1 2 0l-.01.02v1.85H12a3.82 3.82 0 0 1 2.33 1.8 3.7 3.7 0 0 1 .39 2.91l1.6.93ZM2.6 16.54a1.14 1.14 0 0 0 1.98-1.14 1.14 1.14 0 0 0-1.98 1.14ZM11 2.01a1.14 1.14 0 1 0 0 2.28 1.14 1.14 0 0 0 0-2.28Zm1.68 10.45c.08-.19.14-.38.16-.58v-.05l.02-.13v-.13a1.92 1.92 0 0 0-.24-.8l-.11-.15a1.89 1.89 0 0 0-.74-.6 1.86 1.86 0 0 0-.77-.17h-.19a1.97 1.97 0 0 0-.89.34 1.98 1.98 0 0 0-.61.74 1.99 1.99 0 0 0-.16.9v.05a1.87 1.87 0 0 0 .24.74l.1.15c.12.16.26.3.42.42l.16.1.13.07.04.02a1.84 1.84 0 0 0 .76.17h.17a2 2 0 0 0 .91-.35 1.78 1.78 0 0 0 .52-.58l.03-.05a.84.84 0 0 0 .05-.11Zm5.15 4.5a1.14 1.14 0 0 0 1.14-1.97 1.13 1.13 0 0 0-1.55.41c-.32.55-.13 1.25.41 1.56Z\"\n clip-rule=\"evenodd\"\n />\n <path\n fill=\"currentColor\"\n fill-rule=\"evenodd\"\n d=\"M4.63 9.43a1.5 1.5 0 1 0 1.5-2.6 1.5 1.5 0 0 0-1.5 2.6Zm.32-1.55a.5.5 0 0 1 .68-.19.5.5 0 0 1 .18.68.5.5 0 0 1-.68.19.5.5 0 0 1-.18-.68ZM17.94 8.88a1.5 1.5 0 1 1-2.6-1.5 1.5 1.5 0 1 1 2.6 1.5ZM16.9 7.69a.5.5 0 0 0-.68.19.5.5 0 0 0 .18.68.5.5 0 0 0 .68-.19.5.5 0 0 0-.18-.68ZM9.75 17.75a1.5 1.5 0 1 1 2.6 1.5 1.5 1.5 0 1 1-2.6-1.5Zm1.05 1.18a.5.5 0 0 0 .68-.18.5.5 0 0 0-.18-.68.5.5 0 0 0-.68.18.5.5 0 0 0 .18.68Z\"\n clip-rule=\"evenodd\"\n />\n</svg>`;\n//# sourceMappingURL=network-placeholder.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/assets/svg/network-placeholder.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/assets/svg/network.js":
|
|||
|
/*!***********************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/assets/svg/network.js ***!
|
|||
|
\***********************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ networkSvg: () => (/* binding */ networkSvg)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nconst networkSvg = (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `<svg viewBox=\"0 0 48 54\" fill=\"none\">\n <path\n d=\"M43.4605 10.7248L28.0485 1.61089C25.5438 0.129705 22.4562 0.129705 19.9515 1.61088L4.53951 10.7248C2.03626 12.2051 0.5 14.9365 0.5 17.886V36.1139C0.5 39.0635 2.03626 41.7949 4.53951 43.2752L19.9515 52.3891C22.4562 53.8703 25.5438 53.8703 28.0485 52.3891L43.4605 43.2752C45.9637 41.7949 47.5 39.0635 47.5 36.114V17.8861C47.5 14.9365 45.9637 12.2051 43.4605 10.7248Z\"\n />\n</svg>`;\n//# sourceMappingURL=network.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/assets/svg/network.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/assets/svg/networkLg.js":
|
|||
|
/*!*************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/assets/svg/networkLg.js ***!
|
|||
|
\*************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ networkLgSvg: () => (/* binding */ networkLgSvg)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nconst networkLgSvg = (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `<svg width=\"86\" height=\"96\" fill=\"none\">\n <path\n d=\"M78.3244 18.926L50.1808 2.45078C45.7376 -0.150261 40.2624 -0.150262 35.8192 2.45078L7.6756 18.926C3.23322 21.5266 0.5 26.3301 0.5 31.5248V64.4752C0.5 69.6699 3.23322 74.4734 7.6756 77.074L35.8192 93.5492C40.2624 96.1503 45.7376 96.1503 50.1808 93.5492L78.3244 77.074C82.7668 74.4734 85.5 69.6699 85.5 64.4752V31.5248C85.5 26.3301 82.7668 21.5266 78.3244 18.926Z\"\n />\n</svg>`;\n//# sourceMappingURL=networkLg.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/assets/svg/networkLg.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/assets/svg/nftPlaceholder.js":
|
|||
|
/*!******************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/assets/svg/nftPlaceholder.js ***!
|
|||
|
\******************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ nftPlaceholderSvg: () => (/* binding */ nftPlaceholderSvg)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nconst nftPlaceholderSvg = (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `<svg fill=\"none\" viewBox=\"0 0 20 20\">\n <path\n fill=\"currentColor\"\n fill-rule=\"evenodd\"\n d=\"M9.13 1h1.71c1.46 0 2.63 0 3.56.1.97.1 1.8.33 2.53.85a5 5 0 0 1 1.1 1.11c.53.73.75 1.56.86 2.53.1.93.1 2.1.1 3.55v1.72c0 1.45 0 2.62-.1 3.55-.1.97-.33 1.8-.86 2.53a5 5 0 0 1-1.1 1.1c-.73.53-1.56.75-2.53.86-.93.1-2.1.1-3.55.1H9.13c-1.45 0-2.62 0-3.56-.1-.96-.1-1.8-.33-2.52-.85a5 5 0 0 1-1.1-1.11 5.05 5.05 0 0 1-.86-2.53c-.1-.93-.1-2.1-.1-3.55V9.14c0-1.45 0-2.62.1-3.55.1-.97.33-1.8.85-2.53a5 5 0 0 1 1.1-1.1 5.05 5.05 0 0 1 2.53-.86C6.51 1 7.67 1 9.13 1ZM5.79 3.09a3.1 3.1 0 0 0-1.57.48 3 3 0 0 0-.66.67c-.24.32-.4.77-.48 1.56-.1.82-.1 1.88-.1 3.4v1.6c0 1.15 0 2.04.05 2.76l.41-.42c.5-.5.93-.92 1.32-1.24.41-.33.86-.6 1.43-.7a3 3 0 0 1 .94 0c.35.06.66.2.95.37a17.11 17.11 0 0 0 .8.45c.1-.08.2-.2.41-.4l.04-.03a27 27 0 0 1 1.95-1.84 4.03 4.03 0 0 1 1.91-.94 4 4 0 0 1 1.25 0c.73.11 1.33.46 1.91.94l.64.55V9.2c0-1.52 0-2.58-.1-3.4a3.1 3.1 0 0 0-.48-1.56 3 3 0 0 0-.66-.67 3.1 3.1 0 0 0-1.56-.48C13.37 3 12.3 3 10.79 3h-1.6c-1.52 0-2.59 0-3.4.09Zm11.18 10-.04-.05a26.24 26.24 0 0 0-1.83-1.74c-.45-.36-.73-.48-.97-.52a2 2 0 0 0-.63 0c-.24.04-.51.16-.97.52-.46.38-1.01.93-1.83 1.74l-.02.02c-.17.18-.34.34-.49.47a2.04 2.04 0 0 1-1.08.5 1.97 1.97 0 0 1-1.25-.27l-.79-.46-.02-.02a.65.65 0 0 0-.24-.1 1 1 0 0 0-.31 0c-.08.02-.21.06-.49.28-.3.24-.65.59-1.2 1.14l-.56.56-.65.66a3 3 0 0 0 .62.6c.33.24.77.4 1.57.49.81.09 1.88.09 3.4.09h1.6c1.52 0 2.58 0 3.4-.09a3.1 3.1 0 0 0 1.56-.48 3 3 0 0 0 .66-.67c.24-.32.4-.77.49-1.56l.07-1.12Zm-8.02-1.03ZM4.99 7a2 2 0 1 1 4 0 2 2 0 0 1-4 0Z\"\n clip-rule=\"evenodd\"\n />\n</svg>`;\n//# sourceMappingURL=nftPlaceholder.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/assets/svg/nftPlaceholder.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/assets/svg/off.js":
|
|||
|
/*!*******************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/assets/svg/off.js ***!
|
|||
|
\*******************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ offSvg: () => (/* binding */ offSvg)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nconst offSvg = (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `<svg fill=\"none\" viewBox=\"0 0 16 16\">\n <path\n fill=\"currentColor\"\n fill-rule=\"evenodd\"\n d=\"M8 0a1 1 0 0 1 1 1v5.38a1 1 0 0 1-2 0V1a1 1 0 0 1 1-1ZM5.26 2.6a1 1 0 0 1-.28 1.39 5.46 5.46 0 1 0 6.04 0 1 1 0 1 1 1.1-1.67 7.46 7.46 0 1 1-8.25 0 1 1 0 0 1 1.4.28Z\"\n clip-rule=\"evenodd\"\n />\n</svg>`;\n//# sourceMappingURL=off.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/assets/svg/off.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/assets/svg/play-store.js":
|
|||
|
/*!**************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/assets/svg/play-store.js ***!
|
|||
|
\**************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ playStoreSvg: () => (/* binding */ playStoreSvg)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nconst playStoreSvg = (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) ` <svg\n width=\"36\"\n height=\"36\"\n fill=\"none\"\n>\n <path\n d=\"M0 8a8 8 0 0 1 8-8h20a8 8 0 0 1 8 8v20a8 8 0 0 1-8 8H8a8 8 0 0 1-8-8V8Z\"\n fill=\"#fff\"\n fill-opacity=\".05\"\n />\n <path\n d=\"m18.262 17.513-8.944 9.49v.01a2.417 2.417 0 0 0 3.56 1.452l.026-.017 10.061-5.803-4.703-5.132Z\"\n fill=\"#EA4335\"\n />\n <path\n d=\"m27.307 15.9-.008-.008-4.342-2.52-4.896 4.36 4.913 4.912 4.325-2.494a2.42 2.42 0 0 0 .008-4.25Z\"\n fill=\"#FBBC04\"\n />\n <path\n d=\"M9.318 8.997c-.05.202-.084.403-.084.622V26.39c0 .218.025.42.084.621l9.246-9.247-9.246-8.768Z\"\n fill=\"#4285F4\"\n />\n <path\n d=\"m18.33 18 4.627-4.628-10.053-5.828a2.427 2.427 0 0 0-3.586 1.444L18.329 18Z\"\n fill=\"#34A853\"\n />\n <path\n d=\"M8 .5h20A7.5 7.5 0 0 1 35.5 8v20a7.5 7.5 0 0 1-7.5 7.5H8A7.5 7.5 0 0 1 .5 28V8A7.5 7.5 0 0 1 8 .5Z\"\n stroke=\"#fff\"\n stroke-opacity=\".05\"\n />\n</svg>`;\n//# sourceMappingURL=play-store.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/assets/svg/play-store.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/assets/svg/qr-code.js":
|
|||
|
/*!***********************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/assets/svg/qr-code.js ***!
|
|||
|
\***********************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ qrCodeIcon: () => (/* binding */ qrCodeIcon)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nconst qrCodeIcon = (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `<svg fill=\"none\" viewBox=\"0 0 20 20\">\n <path\n fill=\"currentColor\"\n d=\"M3 6a3 3 0 0 1 3-3h1a1 1 0 1 0 0-2H6a5 5 0 0 0-5 5v1a1 1 0 0 0 2 0V6ZM13 1a1 1 0 1 0 0 2h1a3 3 0 0 1 3 3v1a1 1 0 1 0 2 0V6a5 5 0 0 0-5-5h-1ZM3 13a1 1 0 1 0-2 0v1a5 5 0 0 0 5 5h1a1 1 0 1 0 0-2H6a3 3 0 0 1-3-3v-1ZM19 13a1 1 0 1 0-2 0v1a3 3 0 0 1-3 3h-1a1 1 0 1 0 0 2h1.01a5 5 0 0 0 5-5v-1ZM5.3 6.36c-.04.2-.04.43-.04.89s0 .7.05.89c.14.52.54.92 1.06 1.06.19.05.42.05.89.05.46 0 .7 0 .88-.05A1.5 1.5 0 0 0 9.2 8.14c.06-.2.06-.43.06-.89s0-.7-.06-.89A1.5 1.5 0 0 0 8.14 5.3c-.19-.05-.42-.05-.88-.05-.47 0-.7 0-.9.05a1.5 1.5 0 0 0-1.05 1.06ZM10.8 6.36c-.04.2-.04.43-.04.89s0 .7.05.89c.14.52.54.92 1.06 1.06.19.05.42.05.89.05.46 0 .7 0 .88-.05a1.5 1.5 0 0 0 1.06-1.06c.06-.2.06-.43.06-.89s0-.7-.06-.89a1.5 1.5 0 0 0-1.06-1.06c-.19-.05-.42-.05-.88-.05-.47 0-.7 0-.9.05a1.5 1.5 0 0 0-1.05 1.06ZM5.26 12.75c0-.46 0-.7.05-.89a1.5 1.5 0 0 1 1.06-1.06c.19-.05.42-.05.89-.05.46 0 .7 0 .88.05.52.14.93.54 1.06 1.06.06.2.06.43.06.89s0 .7-.06.89a1.5 1.5 0 0 1-1.06 1.06c-.19.05-.42.05-.88.05-.47 0-.7 0-.9-.05a1.5 1.5 0 0 1-1.05-1.06c-.05-.2-.05-.43-.05-.89ZM10.8 11.86c-.04.2-.04.43-.04.89s0 .7.05.89c.14.52.54.92 1.06 1.06.19.05.42.05.89.05.46 0 .7 0 .88-.05a1.5 1.5 0 0 0 1.06-1.06c.06-.2.06-.43.06-.89s0-.7-.06-.89a1.5 1.5 0 0 0-1.06-1.06c-.19-.05-.42-.05-.88-.05-.47 0-.7 0-.9.05a1.5 1.5 0 0 0-1.05 1.06Z\"\n />\n</svg>`;\n//# sourceMappingURL=qr-code.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/assets/svg/qr-code.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/assets/svg/refresh.js":
|
|||
|
/*!***********************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/assets/svg/refresh.js ***!
|
|||
|
\***********************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ refreshSvg: () => (/* binding */ refreshSvg)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nconst refreshSvg = (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `<svg fill=\"none\" viewBox=\"0 0 14 16\">\n <path\n fill=\"currentColor\"\n fill-rule=\"evenodd\"\n d=\"M3.94 1.04a1 1 0 0 1 .7 1.23l-.48 1.68a5.85 5.85 0 0 1 8.53 4.32 5.86 5.86 0 0 1-11.4 2.56 1 1 0 0 1 1.9-.57 3.86 3.86 0 1 0 1.83-4.5l1.87.53a1 1 0 0 1-.55 1.92l-4.1-1.15a1 1 0 0 1-.69-1.23l1.16-4.1a1 1 0 0 1 1.23-.7Z\"\n clip-rule=\"evenodd\"\n />\n</svg>`;\n//# sourceMappingURL=refresh.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/assets/svg/refresh.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/assets/svg/search.js":
|
|||
|
/*!**********************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/assets/svg/search.js ***!
|
|||
|
\**********************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ searchSvg: () => (/* binding */ searchSvg)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nconst searchSvg = (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `<svg fill=\"none\" viewBox=\"0 0 20 20\">\n <path\n fill=\"currentColor\"\n fill-rule=\"evenodd\"\n d=\"M9.36 4.21a5.14 5.14 0 1 0 0 10.29 5.14 5.14 0 0 0 0-10.29ZM1.64 9.36a7.71 7.71 0 1 1 14 4.47l2.52 2.5a1.29 1.29 0 1 1-1.82 1.83l-2.51-2.51A7.71 7.71 0 0 1 1.65 9.36Z\"\n clip-rule=\"evenodd\"\n />\n</svg>`;\n//# sourceMappingURL=search.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/assets/svg/search.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/assets/svg/swapHorizontal.js":
|
|||
|
/*!******************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/assets/svg/swapHorizontal.js ***!
|
|||
|
\******************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ swapHorizontalSvg: () => (/* binding */ swapHorizontalSvg)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nconst swapHorizontalSvg = (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `<svg fill=\"none\" viewBox=\"0 0 20 20\">\n <path\n fill=\"currentColor\"\n fill-rule=\"evenodd\"\n d=\"M6.76.3a1 1 0 0 1 0 1.4L4.07 4.4h9a1 1 0 1 1 0 2h-9l2.69 2.68a1 1 0 1 1-1.42 1.42L.95 6.09a1 1 0 0 1 0-1.4l4.4-4.4a1 1 0 0 1 1.4 0Zm6.49 9.21a1 1 0 0 1 1.41 0l4.39 4.4a1 1 0 0 1 0 1.4l-4.39 4.4a1 1 0 0 1-1.41-1.42l2.68-2.68h-9a1 1 0 0 1 0-2h9l-2.68-2.68a1 1 0 0 1 0-1.42Z\"\n clip-rule=\"evenodd\"\n />\n</svg>`;\n//# sourceMappingURL=swapHorizontal.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/assets/svg/swapHorizontal.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/assets/svg/swapHorizontalBold.js":
|
|||
|
/*!**********************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/assets/svg/swapHorizontalBold.js ***!
|
|||
|
\**********************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ swapHorizontalBoldSvg: () => (/* binding */ swapHorizontalBoldSvg)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nconst swapHorizontalBoldSvg = (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `<svg width=\"10\" height=\"10\" viewBox=\"0 0 10 10\">\n <path\n fill=\"currentColor\"\n fill-rule=\"evenodd\"\n d=\"M3.77986 0.566631C4.0589 0.845577 4.0589 1.29784 3.77986 1.57678L3.08261 2.2738H6.34184C6.73647 2.2738 7.05637 2.5936 7.05637 2.98808C7.05637 3.38257 6.73647 3.70237 6.34184 3.70237H3.08261L3.77986 4.39938C4.0589 4.67833 4.0589 5.13059 3.77986 5.40954C3.50082 5.68848 3.04841 5.68848 2.76937 5.40954L0.852346 3.49316C0.573306 3.21421 0.573306 2.76195 0.852346 2.48301L2.76937 0.566631C3.04841 0.287685 3.50082 0.287685 3.77986 0.566631ZM6.22 4.59102C6.49904 4.31208 6.95145 4.31208 7.23049 4.59102L9.14751 6.5074C9.42655 6.78634 9.42655 7.23861 9.14751 7.51755L7.23049 9.43393C6.95145 9.71287 6.49904 9.71287 6.22 9.43393C5.94096 9.15498 5.94096 8.70272 6.22 8.42377L6.91725 7.72676L3.65802 7.72676C3.26339 7.72676 2.94349 7.40696 2.94349 7.01247C2.94349 6.61798 3.26339 6.29819 3.65802 6.29819L6.91725 6.29819L6.22 5.60117C5.94096 5.32223 5.94096 4.86997 6.22 4.59102Z\"\n clip-rule=\"evenodd\"\n />\n</svg>`;\n//# sourceMappingURL=swapHorizontalBold.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/assets/svg/swapHorizontalBold.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/assets/svg/swapVertical.js":
|
|||
|
/*!****************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/assets/svg/swapVertical.js ***!
|
|||
|
\****************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ swapVerticalSvg: () => (/* binding */ swapVerticalSvg)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nconst swapVerticalSvg = (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `<svg fill=\"none\" viewBox=\"0 0 14 14\">\n <path\n fill=\"currentColor\"\n fill-rule=\"evenodd\"\n d=\"M3.48 2.18a1 1 0 0 1 1.41 0l2.68 2.68a1 1 0 1 1-1.41 1.42l-.98-.98v4.56a1 1 0 0 1-2 0V5.3l-.97.98A1 1 0 0 1 .79 4.86l2.69-2.68Zm6.34 2.93a1 1 0 0 1 1 1v4.56l.97-.98a1 1 0 1 1 1.42 1.42l-2.69 2.68a1 1 0 0 1-1.41 0l-2.68-2.68a1 1 0 0 1 1.41-1.42l.98.98V6.1a1 1 0 0 1 1-1Z\"\n clip-rule=\"evenodd\"\n />\n</svg>`;\n//# sourceMappingURL=swapVertical.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/assets/svg/swapVertical.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/assets/svg/telegram.js":
|
|||
|
/*!************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/assets/svg/telegram.js ***!
|
|||
|
\************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ telegramSvg: () => (/* binding */ telegramSvg)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nconst telegramSvg = (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `<svg fill=\"none\" viewBox=\"0 0 40 40\">\n <g clip-path=\"url(#a)\">\n <g clip-path=\"url(#b)\">\n <circle cx=\"20\" cy=\"19.89\" r=\"20\" fill=\"#5865F2\" />\n <path\n fill=\"#fff\"\n fill-rule=\"evenodd\"\n d=\"M25.71 28.15C30.25 28 32 25.02 32 25.02c0-6.61-2.96-11.98-2.96-11.98-2.96-2.22-5.77-2.15-5.77-2.15l-.29.32c3.5 1.07 5.12 2.61 5.12 2.61a16.75 16.75 0 0 0-10.34-1.93l-.35.04a15.43 15.43 0 0 0-5.88 1.9s1.71-1.63 5.4-2.7l-.2-.24s-2.81-.07-5.77 2.15c0 0-2.96 5.37-2.96 11.98 0 0 1.73 2.98 6.27 3.13l1.37-1.7c-2.6-.79-3.6-2.43-3.6-2.43l.58.35.09.06.08.04.02.01.08.05a17.25 17.25 0 0 0 4.52 1.58 14.4 14.4 0 0 0 8.3-.86c.72-.27 1.52-.66 2.37-1.21 0 0-1.03 1.68-3.72 2.44.61.78 1.35 1.67 1.35 1.67Zm-9.55-9.6c-1.17 0-2.1 1.03-2.1 2.28 0 1.25.95 2.28 2.1 2.28 1.17 0 2.1-1.03 2.1-2.28.01-1.25-.93-2.28-2.1-2.28Zm7.5 0c-1.17 0-2.1 1.03-2.1 2.28 0 1.25.95 2.28 2.1 2.28 1.17 0 2.1-1.03 2.1-2.28 0-1.25-.93-2.28-2.1-2.28Z\"\n clip-rule=\"evenodd\"\n />\n </g>\n </g>\n <defs>\n <clipPath id=\"a\"><rect width=\"40\" height=\"40\" fill=\"#fff\" rx=\"20\" /></clipPath>\n <clipPath id=\"b\"><path fill=\"#fff\" d=\"M0 0h40v40H0z\" /></clipPath>\n </defs>\n</svg> `;\n//# sourceMappingURL=telegram.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/assets/svg/telegram.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/assets/svg/twitch.js":
|
|||
|
/*!**********************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/assets/svg/twitch.js ***!
|
|||
|
\**********************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ twitchSvg: () => (/* binding */ twitchSvg)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nconst twitchSvg = (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `<svg fill=\"none\" viewBox=\"0 0 40 40\">\n <g clip-path=\"url(#a)\">\n <g clip-path=\"url(#b)\">\n <circle cx=\"20\" cy=\"19.89\" r=\"20\" fill=\"#5A3E85\" />\n <g clip-path=\"url(#c)\">\n <path\n fill=\"#fff\"\n d=\"M18.22 25.7 20 23.91h3.34l2.1-2.1v-6.68H15.4v8.78h2.82v1.77Zm3.87-8.16h1.25v3.66H22.1v-3.66Zm-3.34 0H20v3.66h-1.25v-3.66ZM20 7.9a12 12 0 1 0 0 24 12 12 0 0 0 0-24Zm6.69 14.56-3.66 3.66h-2.72l-1.77 1.78h-1.88V26.1H13.3v-9.82l.94-2.4H26.7v8.56Z\"\n />\n </g>\n </g>\n </g>\n <defs>\n <clipPath id=\"a\"><rect width=\"40\" height=\"40\" fill=\"#fff\" rx=\"20\" /></clipPath>\n <clipPath id=\"b\"><path fill=\"#fff\" d=\"M0 0h40v40H0z\" /></clipPath>\n <clipPath id=\"c\"><path fill=\"#fff\" d=\"M8 7.89h24v24H8z\" /></clipPath>\n </defs>\n</svg>`;\n//# sourceMappingURL=twitch.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/assets/svg/twitch.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/assets/svg/twitter.js":
|
|||
|
/*!***********************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/assets/svg/twitter.js ***!
|
|||
|
\***********************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ twitterSvg: () => (/* binding */ twitterSvg)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nconst twitterSvg = (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `<svg fill=\"none\" viewBox=\"0 0 40 40\">\n <g clip-path=\"url(#a)\">\n <g clip-path=\"url(#b)\">\n <circle cx=\"20\" cy=\"19.89\" r=\"20\" fill=\"#1D9BF0\" />\n <path\n fill=\"#fff\"\n d=\"M30 13.81c-.74.33-1.53.55-2.36.65.85-.51 1.5-1.32 1.8-2.27-.79.47-1.66.8-2.6 1a4.1 4.1 0 0 0-7 3.73c-3.4-.17-6.42-1.8-8.45-4.28a4.1 4.1 0 0 0 1.27 5.47c-.67-.02-1.3-.2-1.86-.5a4.1 4.1 0 0 0 3.3 4.07c-.58.15-1.21.19-1.86.07a4.1 4.1 0 0 0 3.83 2.85A8.25 8.25 0 0 1 10 26.3a11.62 11.62 0 0 0 6.29 1.84c7.62 0 11.92-6.44 11.66-12.2.8-.59 1.5-1.3 2.05-2.13Z\"\n />\n </g>\n </g>\n <defs>\n <clipPath id=\"a\"><rect width=\"40\" height=\"40\" fill=\"#fff\" rx=\"20\" /></clipPath>\n <clipPath id=\"b\"><path fill=\"#fff\" d=\"M0 0h40v40H0z\" /></clipPath>\n </defs>\n</svg>`;\n//# sourceMappingURL=twitter.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/assets/svg/twitter.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/assets/svg/twitterIcon.js":
|
|||
|
/*!***************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/assets/svg/twitterIcon.js ***!
|
|||
|
\***************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ twitterIconSvg: () => (/* binding */ twitterIconSvg)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nconst twitterIconSvg = (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `<svg fill=\"none\" viewBox=\"0 0 16 16\">\n <path\n fill=\"currentColor\"\n d=\"m14.36 4.74.01.42c0 4.34-3.3 9.34-9.34 9.34A9.3 9.3 0 0 1 0 13.03a6.6 6.6 0 0 0 4.86-1.36 3.29 3.29 0 0 1-3.07-2.28c.5.1 1 .07 1.48-.06A3.28 3.28 0 0 1 .64 6.11v-.04c.46.26.97.4 1.49.41A3.29 3.29 0 0 1 1.11 2.1a9.32 9.32 0 0 0 6.77 3.43 3.28 3.28 0 0 1 5.6-3 6.59 6.59 0 0 0 2.08-.8 3.3 3.3 0 0 1-1.45 1.82A6.53 6.53 0 0 0 16 3.04c-.44.66-1 1.23-1.64 1.7Z\"\n />\n</svg>`;\n//# sourceMappingURL=twitterIcon.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/assets/svg/twitterIcon.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/assets/svg/wallet-placeholder.js":
|
|||
|
/*!**********************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/assets/svg/wallet-placeholder.js ***!
|
|||
|
\**********************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ walletPlaceholderSvg: () => (/* binding */ walletPlaceholderSvg)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nconst walletPlaceholderSvg = (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `\n <svg fill=\"none\" viewBox=\"0 0 48 44\">\n <path\n style=\"fill: var(--wui-color-bg-300);\"\n d=\"M4.56 8.64c-1.23 1.68-1.23 4.08-1.23 8.88v8.96c0 4.8 0 7.2 1.23 8.88.39.55.87 1.02 1.41 1.42C7.65 38 10.05 38 14.85 38h14.3c4.8 0 7.2 0 8.88-1.22a6.4 6.4 0 0 0 1.41-1.42c.83-1.14 1.1-2.6 1.19-4.92a6.4 6.4 0 0 0 5.16-4.65c.21-.81.21-1.8.21-3.79 0-1.98 0-2.98-.22-3.79a6.4 6.4 0 0 0-5.15-4.65c-.1-2.32-.36-3.78-1.19-4.92a6.4 6.4 0 0 0-1.41-1.42C36.35 6 33.95 6 29.15 6h-14.3c-4.8 0-7.2 0-8.88 1.22a6.4 6.4 0 0 0-1.41 1.42Z\"\n />\n <path\n style=\"fill: var(--wui-color-fg-200);\"\n fill-rule=\"evenodd\"\n d=\"M2.27 11.33a6.4 6.4 0 0 1 6.4-6.4h26.66a6.4 6.4 0 0 1 6.4 6.4v1.7a6.4 6.4 0 0 1 5.34 6.3v5.34a6.4 6.4 0 0 1-5.34 6.3v1.7a6.4 6.4 0 0 1-6.4 6.4H8.67a6.4 6.4 0 0 1-6.4-6.4V11.33ZM39.6 31.07h-6.93a9.07 9.07 0 1 1 0-18.14h6.93v-1.6a4.27 4.27 0 0 0-4.27-4.26H8.67a4.27 4.27 0 0 0-4.27 4.26v21.34a4.27 4.27 0 0 0 4.27 4.26h26.66a4.27 4.27 0 0 0 4.27-4.26v-1.6Zm-6.93-16a6.93 6.93 0 0 0 0 13.86h8a4.27 4.27 0 0 0 4.26-4.26v-5.34a4.27 4.27 0 0 0-4.26-4.26h-8Z\"\n clip-rule=\"evenodd\"\n />\n </svg>\n`;\n//# sourceMappingURL=wallet-placeholder.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/assets/svg/wallet-placeholder.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/assets/svg/wallet.js":
|
|||
|
/*!**********************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/assets/svg/wallet.js ***!
|
|||
|
\**********************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ walletSvg: () => (/* binding */ walletSvg)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nconst walletSvg = (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `<svg fill=\"none\" viewBox=\"0 0 20 20\">\n <path\n fill=\"currentColor\"\n fill-rule=\"evenodd\"\n d=\"M0 5.5c0-1.8 1.46-3.25 3.25-3.25H14.5c1.8 0 3.25 1.46 3.25 3.25v.28A3.25 3.25 0 0 1 20 8.88v2.24c0 1.45-.94 2.68-2.25 3.1v.28c0 1.8-1.46 3.25-3.25 3.25H3.25A3.25 3.25 0 0 1 0 14.5v-9Zm15.75 8.88h-2.38a4.38 4.38 0 0 1 0-8.76h2.38V5.5c0-.69-.56-1.25-1.25-1.25H3.25C2.56 4.25 2 4.81 2 5.5v9c0 .69.56 1.25 1.25 1.25H14.5c.69 0 1.25-.56 1.25-1.25v-.13Zm-2.38-6.76a2.37 2.37 0 1 0 0 4.75h3.38c.69 0 1.25-.55 1.25-1.24V8.87c0-.69-.56-1.24-1.25-1.24h-3.38Z\"\n clip-rule=\"evenodd\"\n />\n</svg>`;\n//# sourceMappingURL=wallet.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/assets/svg/wallet.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/assets/svg/walletconnect.js":
|
|||
|
/*!*****************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/assets/svg/walletconnect.js ***!
|
|||
|
\*****************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ walletConnectSvg: () => (/* binding */ walletConnectSvg)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nconst walletConnectSvg = (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `<svg fill=\"none\" viewBox=\"0 0 96 67\">\n <path\n fill=\"currentColor\"\n d=\"M25.32 18.8a32.56 32.56 0 0 1 45.36 0l1.5 1.47c.63.62.63 1.61 0 2.22l-5.15 5.05c-.31.3-.82.3-1.14 0l-2.07-2.03a22.71 22.71 0 0 0-31.64 0l-2.22 2.18c-.31.3-.82.3-1.14 0l-5.15-5.05a1.55 1.55 0 0 1 0-2.22l1.65-1.62Zm56.02 10.44 4.59 4.5c.63.6.63 1.6 0 2.21l-20.7 20.26c-.62.61-1.63.61-2.26 0L48.28 41.83a.4.4 0 0 0-.56 0L33.03 56.21c-.63.61-1.64.61-2.27 0L10.07 35.95a1.55 1.55 0 0 1 0-2.22l4.59-4.5a1.63 1.63 0 0 1 2.27 0L31.6 43.63a.4.4 0 0 0 .57 0l14.69-14.38a1.63 1.63 0 0 1 2.26 0l14.69 14.38a.4.4 0 0 0 .57 0l14.68-14.38a1.63 1.63 0 0 1 2.27 0Z\"\n />\n <path\n stroke=\"#000\"\n stroke-opacity=\".1\"\n d=\"M25.67 19.15a32.06 32.06 0 0 1 44.66 0l1.5 1.48c.43.42.43 1.09 0 1.5l-5.15 5.05a.31.31 0 0 1-.44 0l-2.07-2.03a23.21 23.21 0 0 0-32.34 0l-2.22 2.18a.31.31 0 0 1-.44 0l-5.15-5.05a1.05 1.05 0 0 1 0-1.5l1.65-1.63ZM81 29.6l4.6 4.5c.42.41.42 1.09 0 1.5l-20.7 20.26c-.43.43-1.14.43-1.57 0L48.63 41.47a.9.9 0 0 0-1.26 0L32.68 55.85c-.43.43-1.14.43-1.57 0L10.42 35.6a1.05 1.05 0 0 1 0-1.5l4.59-4.5a1.13 1.13 0 0 1 1.57 0l14.68 14.38a.9.9 0 0 0 1.27 0l-.35-.35.35.35L47.22 29.6a1.13 1.13 0 0 1 1.56 0l14.7 14.38a.9.9 0 0 0 1.26 0L79.42 29.6a1.13 1.13 0 0 1 1.57 0Z\"\n />\n</svg>`;\n//# sourceMappingURL=walletconnect.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/assets/svg/walletconnect.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/assets/svg/warning-circle.js":
|
|||
|
/*!******************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/assets/svg/warning-circle.js ***!
|
|||
|
\******************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ warningCircleSvg: () => (/* binding */ warningCircleSvg)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nconst warningCircleSvg = (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `<svg fill=\"none\" viewBox=\"0 0 20 20\">\n <path\n fill=\"currentColor\"\n d=\"M11 6.67a1 1 0 1 0-2 0v2.66a1 1 0 0 0 2 0V6.67ZM10 14.5a1.25 1.25 0 1 0 0-2.5 1.25 1.25 0 0 0 0 2.5Z\"\n />\n <path\n fill=\"currentColor\"\n fill-rule=\"evenodd\"\n d=\"M10 1a9 9 0 1 0 0 18 9 9 0 0 0 0-18Zm-7 9a7 7 0 1 1 14 0 7 7 0 0 1-14 0Z\"\n clip-rule=\"evenodd\"\n />\n</svg>`;\n//# sourceMappingURL=warning-circle.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/assets/svg/warning-circle.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/assets/visual/browser.js":
|
|||
|
/*!**************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/assets/visual/browser.js ***!
|
|||
|
\**************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ browserSvg: () => (/* binding */ browserSvg)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nconst browserSvg = (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `<svg fill=\"none\" viewBox=\"0 0 60 60\">\n <rect width=\"60\" height=\"60\" fill=\"#1DC956\" rx=\"30\" />\n <circle cx=\"30\" cy=\"30\" r=\"3\" fill=\"#fff\" />\n <path\n fill=\"#2BEE6C\"\n stroke=\"#fff\"\n stroke-width=\"2\"\n d=\"m45.32 17.9-.88-.42.88.42.02-.05c.1-.2.21-.44.26-.7l-.82-.15.82.16a2 2 0 0 0-.24-1.4c-.13-.23-.32-.42-.47-.57a8.42 8.42 0 0 1-.04-.04l-.04-.04a2.9 2.9 0 0 0-.56-.47l-.51.86.5-.86a2 2 0 0 0-1.4-.24c-.26.05-.5.16-.69.26l-.05.02-15.05 7.25-.1.05c-1.14.55-1.85.89-2.46 1.37a7 7 0 0 0-1.13 1.14c-.5.6-.83 1.32-1.38 2.45l-.05.11-7.25 15.05-.02.05c-.1.2-.21.43-.26.69a2 2 0 0 0 .24 1.4l.85-.5-.85.5c.13.23.32.42.47.57l.04.04.04.04c.15.15.34.34.56.47a2 2 0 0 0 1.41.24l-.2-.98.2.98c.25-.05.5-.17.69-.26l.05-.02-.42-.87.42.87 15.05-7.25.1-.05c1.14-.55 1.85-.89 2.46-1.38a7 7 0 0 0 1.13-1.13 12.87 12.87 0 0 0 1.43-2.56l7.25-15.05Z\"\n />\n <path\n fill=\"#1DC956\"\n d=\"M33.38 32.72 30.7 29.3 15.86 44.14l.2.2a1 1 0 0 0 1.14.2l15.1-7.27a3 3 0 0 0 1.08-4.55Z\"\n />\n <path\n fill=\"#86F999\"\n d=\"m26.62 27.28 2.67 3.43 14.85-14.85-.2-.2a1 1 0 0 0-1.14-.2l-15.1 7.27a3 3 0 0 0-1.08 4.55Z\"\n />\n <circle cx=\"30\" cy=\"30\" r=\"3\" fill=\"#fff\" transform=\"rotate(45 30 30)\" />\n <rect width=\"59\" height=\"59\" x=\".5\" y=\".5\" stroke=\"#062B2B\" stroke-opacity=\".1\" rx=\"29.5\" />\n</svg> `;\n//# sourceMappingURL=browser.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/assets/visual/browser.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/assets/visual/dao.js":
|
|||
|
/*!**********************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/assets/visual/dao.js ***!
|
|||
|
\**********************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ daoSvg: () => (/* binding */ daoSvg)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nconst daoSvg = (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `<svg viewBox=\"0 0 60 60\" fill=\"none\">\n <g clip-path=\"url(#clip0_7734_50402)\">\n <path\n d=\"M0 24.9C0 15.6485 0 11.0228 1.97053 7.56812C3.3015 5.23468 5.23468 3.3015 7.56812 1.97053C11.0228 0 15.6485 0 24.9 0H35.1C44.3514 0 48.9772 0 52.4319 1.97053C54.7653 3.3015 56.6985 5.23468 58.0295 7.56812C60 11.0228 60 15.6485 60 24.9V35.1C60 44.3514 60 48.9772 58.0295 52.4319C56.6985 54.7653 54.7653 56.6985 52.4319 58.0295C48.9772 60 44.3514 60 35.1 60H24.9C15.6485 60 11.0228 60 7.56812 58.0295C5.23468 56.6985 3.3015 54.7653 1.97053 52.4319C0 48.9772 0 44.3514 0 35.1V24.9Z\"\n fill=\"#EB8B47\"\n />\n <path\n d=\"M0.5 24.9C0.5 20.2652 0.50047 16.8221 0.744315 14.105C0.987552 11.3946 1.46987 9.45504 2.40484 7.81585C3.69145 5.56019 5.56019 3.69145 7.81585 2.40484C9.45504 1.46987 11.3946 0.987552 14.105 0.744315C16.8221 0.50047 20.2652 0.5 24.9 0.5H35.1C39.7348 0.5 43.1779 0.50047 45.895 0.744315C48.6054 0.987552 50.545 1.46987 52.1841 2.40484C54.4398 3.69145 56.3086 5.56019 57.5952 7.81585C58.5301 9.45504 59.0124 11.3946 59.2557 14.105C59.4995 16.8221 59.5 20.2652 59.5 24.9V35.1C59.5 39.7348 59.4995 43.1779 59.2557 45.895C59.0124 48.6054 58.5301 50.545 57.5952 52.1841C56.3086 54.4398 54.4398 56.3086 52.1841 57.5952C50.545 58.5301 48.6054 59.0124 45.895 59.2557C43.1779 59.4995 39.7348 59.5 35.1 59.5H24.9C20.2652 59.5 16.8221 59.4995 14.105 59.2557C11.3946 59.0124 9.45504 58.5301 7.81585 57.5952C5.56019 56.3086 3.69145 54.4398 2.40484 52.1841C1.46987 50.545 0.987552 48.6054 0.744315 45.895C0.50047 43.1779 0.5 39.7348 0.5 35.1V24.9Z\"\n stroke=\"#062B2B\"\n stroke-opacity=\"0.1\"\n />\n <path\n d=\"M19 52C24.5228 52 29 47.5228 29 42C29 36.4772 24.5228 32 19 32C13.4772 32 9 36.4772 9 42C9 47.5228 13.4772 52 19 52Z\"\n fill=\"#FF974C\"\n stroke=\"white\"\n stroke-width=\"2\"\n />\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M42.8437 8.3264C42.4507 7.70891 41.5493 7.70891 41.1564 8.32641L28.978 27.4638C28.5544 28.1295 29.0326 29.0007 29.8217 29.0007H54.1783C54.9674 29.0007 55.4456 28.1295 55.022 27.4638L42.8437 8.3264Z\"\n fill=\"white\"\n />\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M42.3348 11.6456C42.659 11.7608 42.9061 12.1492 43.4005 12.926L50.7332 24.4488C51.2952 25.332 51.5763 25.7737 51.5254 26.1382C51.4915 26.3808 51.3698 26.6026 51.1833 26.7614C50.9031 27 50.3796 27 49.3327 27H34.6673C33.6204 27 33.0969 27 32.8167 26.7614C32.6302 26.6026 32.5085 26.3808 32.4746 26.1382C32.4237 25.7737 32.7048 25.332 33.2669 24.4488L40.5995 12.926C41.0939 12.1492 41.341 11.7608 41.6652 11.6456C41.8818 11.5687 42.1182 11.5687 42.3348 11.6456ZM35.0001 26.999C38.8661 26.999 42.0001 23.865 42.0001 19.999C42.0001 23.865 45.1341 26.999 49.0001 26.999H35.0001Z\"\n fill=\"#FF974C\"\n />\n <path\n d=\"M10.1061 9.35712C9.9973 9.67775 9.99867 10.0388 9.99978 10.3323C9.99989 10.3611 10 10.3893 10 10.4167V25.5833C10 25.6107 9.99989 25.6389 9.99978 25.6677C9.99867 25.9612 9.9973 26.3222 10.1061 26.6429C10.306 27.2317 10.7683 27.694 11.3571 27.8939C11.6777 28.0027 12.0388 28.0013 12.3323 28.0002C12.3611 28.0001 12.3893 28 12.4167 28H19C24.5228 28 29 23.5228 29 18C29 12.4772 24.5228 8 19 8H12.4167C12.3893 8 12.3611 7.99989 12.3323 7.99978C12.0388 7.99867 11.6778 7.9973 11.3571 8.10614C10.7683 8.306 10.306 8.76834 10.1061 9.35712Z\"\n fill=\"#FF974C\"\n stroke=\"white\"\n stroke-width=\"2\"\n />\n <circle cx=\"19\" cy=\"18\" r=\"4\" fill=\"#EB8B47\" stroke=\"white\" stroke-width=\"2\" />\n <circle cx=\"19\" cy=\"42\" r=\"4\" fill=\"#EB8B47\" stroke=\"white\" stroke
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/assets/visual/defi.js":
|
|||
|
/*!***********************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/assets/visual/defi.js ***!
|
|||
|
\***********************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ defiSvg: () => (/* binding */ defiSvg)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nconst defiSvg = (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `<svg fill=\"none\" viewBox=\"0 0 60 60\">\n <g clip-path=\"url(#a)\">\n <path\n fill=\"#1DC956\"\n d=\"M0 25.01c0-9.25 0-13.88 1.97-17.33a15 15 0 0 1 5.6-5.6C11.02.11 15.65.11 24.9.11h10.2c9.25 0 13.88 0 17.33 1.97a15 15 0 0 1 5.6 5.6C60 11.13 60 15.76 60 25v10.2c0 9.25 0 13.88-1.97 17.33a15 15 0 0 1-5.6 5.6c-3.45 1.97-8.08 1.97-17.33 1.97H24.9c-9.25 0-13.88 0-17.33-1.97a15 15 0 0 1-5.6-5.6C0 49.1 0 44.46 0 35.21v-10.2Z\"\n />\n <path\n fill=\"#2BEE6C\"\n d=\"M16.1 60c-3.82-.18-6.4-.64-8.53-1.86a15 15 0 0 1-5.6-5.6C.55 50.06.16 46.97.04 41.98L4.2 40.6a4 4 0 0 0 2.48-2.39l4.65-12.4a2 2 0 0 1 2.5-1.2l2.53.84a2 2 0 0 0 2.43-1l2.96-5.94a2 2 0 0 1 3.7.32l3.78 12.58a2 2 0 0 0 3.03 1.09l3.34-2.23a2 2 0 0 0 .65-.7l5.3-9.72a2 2 0 0 1 1.42-1.01l4.14-.69a2 2 0 0 1 1.6.44l3.9 3.24a2 2 0 0 0 2.7-.12l4.62-4.63c.08 2.2.08 4.8.08 7.93v10.2c0 9.25 0 13.88-1.97 17.33a15 15 0 0 1-5.6 5.6c-2.13 1.22-4.7 1.68-8.54 1.86H16.11Z\"\n />\n <path\n fill=\"#fff\"\n d=\"m.07 43.03-.05-2.1 3.85-1.28a3 3 0 0 0 1.86-1.79l4.66-12.4a3 3 0 0 1 3.75-1.8l2.53.84a1 1 0 0 0 1.21-.5l2.97-5.94a3 3 0 0 1 5.56.48l3.77 12.58a1 1 0 0 0 1.51.55l3.34-2.23a1 1 0 0 0 .33-.35l5.3-9.71a3 3 0 0 1 2.14-1.53l4.13-.69a3 3 0 0 1 2.41.66l3.9 3.24a1 1 0 0 0 1.34-.06l5.28-5.28c.05.85.08 1.75.1 2.73L56 22.41a3 3 0 0 1-4.04.19l-3.9-3.25a1 1 0 0 0-.8-.21l-4.13.69a1 1 0 0 0-.72.5l-5.3 9.72a3 3 0 0 1-.97 1.05l-3.34 2.23a3 3 0 0 1-4.53-1.63l-3.78-12.58a1 1 0 0 0-1.85-.16l-2.97 5.94a3 3 0 0 1-3.63 1.5l-2.53-.84a1 1 0 0 0-1.25.6l-4.65 12.4a5 5 0 0 1-3.1 3L.07 43.02Z\"\n />\n <path\n fill=\"#fff\"\n fill-rule=\"evenodd\"\n d=\"M49.5 19a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0Z\"\n clip-rule=\"evenodd\"\n />\n <path fill=\"#fff\" d=\"M45 .28v59.66l-2 .1V.19c.7.02 1.37.05 2 .1Z\" />\n <path fill=\"#2BEE6C\" d=\"M47.5 19a3.5 3.5 0 1 1-7 0 3.5 3.5 0 0 1 7 0Z\" />\n <path\n stroke=\"#fff\"\n stroke-opacity=\".1\"\n d=\"M.5 25.01c0-4.63 0-8.08.24-10.8.25-2.7.73-4.64 1.66-6.28a14.5 14.5 0 0 1 5.42-5.41C9.46 1.58 11.39 1.1 14.1.85A133 133 0 0 1 24.9.61h10.2c4.63 0 8.08 0 10.8.24 2.7.25 4.65.73 6.28 1.67a14.5 14.5 0 0 1 5.42 5.4c.93 1.65 1.41 3.58 1.66 6.3.24 2.71.24 6.16.24 10.79v10.2c0 4.64 0 8.08-.24 10.8-.25 2.7-.73 4.65-1.66 6.28a14.5 14.5 0 0 1-5.42 5.42c-1.63.93-3.57 1.41-6.28 1.66-2.72.24-6.17.24-10.8.24H24.9c-4.63 0-8.08 0-10.8-.24-2.7-.25-4.64-.73-6.28-1.66a14.5 14.5 0 0 1-5.42-5.42C1.47 50.66 1 48.72.74 46.01A133 133 0 0 1 .5 35.2v-10.2Z\"\n />\n </g>\n <defs>\n <clipPath id=\"a\"><path fill=\"#fff\" d=\"M0 0h60v60H0z\" /></clipPath>\n </defs>\n</svg>`;\n//# sourceMappingURL=defi.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/assets/visual/defi.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/assets/visual/defiAlt.js":
|
|||
|
/*!**************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/assets/visual/defiAlt.js ***!
|
|||
|
\**************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ defiAltSvg: () => (/* binding */ defiAltSvg)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nconst defiAltSvg = (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `<svg fill=\"none\" viewBox=\"0 0 60 60\">\n <g clip-path=\"url(#a)\">\n <rect width=\"60\" height=\"60\" fill=\"#C653C6\" rx=\"30\" />\n <path\n fill=\"#E87DE8\"\n d=\"M57.98.01v19.5a4.09 4.09 0 0 0-2.63 2.29L50.7 34.2a2 2 0 0 1-2.5 1.2l-2.53-.84a2 2 0 0 0-2.42 1l-2.97 5.94a2 2 0 0 1-3.7-.32L32.8 28.6a2 2 0 0 0-3.02-1.09l-3.35 2.23a2 2 0 0 0-.64.7l-5.3 9.72a2 2 0 0 1-1.43 1.01l-4.13.69a2 2 0 0 1-1.61-.44l-3.9-3.24a2 2 0 0 0-2.69.12L2.1 42.93.02 43V.01h57.96Z\"\n />\n <path\n fill=\"#fff\"\n d=\"m61.95 16.94.05 2.1-3.85 1.28a3 3 0 0 0-1.86 1.79l-4.65 12.4a3 3 0 0 1-3.76 1.8l-2.53-.84a1 1 0 0 0-1.2.5l-2.98 5.94a3 3 0 0 1-5.55-.48l-3.78-12.58a1 1 0 0 0-1.5-.55l-3.35 2.23a1 1 0 0 0-.32.35l-5.3 9.72a3 3 0 0 1-2.14 1.52l-4.14.69a3 3 0 0 1-2.41-.66l-3.9-3.24a1 1 0 0 0-1.34.06l-5.28 5.28c-.05-.84-.08-1.75-.1-2.73l3.97-3.96a3 3 0 0 1 4.04-.19l3.89 3.25a1 1 0 0 0 .8.21l4.14-.68a1 1 0 0 0 .71-.51l5.3-9.71a3 3 0 0 1 .97-1.06l3.34-2.23a3 3 0 0 1 4.54 1.63l3.77 12.58a1 1 0 0 0 1.86.16l2.96-5.93a3 3 0 0 1 3.64-1.5l2.52.83a1 1 0 0 0 1.25-.6l4.66-12.4a5 5 0 0 1 3.1-2.99l4.43-1.48Z\"\n />\n <path\n fill=\"#fff\"\n fill-rule=\"evenodd\"\n d=\"M35.5 27a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0Z\"\n clip-rule=\"evenodd\"\n />\n <path fill=\"#fff\" d=\"M31 0v60h-2V0h2Z\" />\n <path fill=\"#E87DE8\" d=\"M33.5 27a3.5 3.5 0 1 1-7 0 3.5 3.5 0 0 1 7 0Z\" />\n </g>\n <rect width=\"59\" height=\"59\" x=\".5\" y=\".5\" stroke=\"#fff\" stroke-opacity=\".1\" rx=\"29.5\" />\n <defs>\n <clipPath id=\"a\"><rect width=\"60\" height=\"60\" fill=\"#fff\" rx=\"30\" /></clipPath>\n </defs>\n</svg> `;\n//# sourceMappingURL=defiAlt.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/assets/visual/defiAlt.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/assets/visual/eth.js":
|
|||
|
/*!**********************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/assets/visual/eth.js ***!
|
|||
|
\**********************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ ethSvg: () => (/* binding */ ethSvg)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nconst ethSvg = (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `<svg fill=\"none\" viewBox=\"0 0 60 60\">\n <g clip-path=\"url(#a)\">\n <rect width=\"60\" height=\"60\" fill=\"#987DE8\" rx=\"30\" />\n <path\n fill=\"#fff\"\n fill-rule=\"evenodd\"\n d=\"m15.48 28.37 11.97-19.3a3 3 0 0 1 5.1 0l11.97 19.3a6 6 0 0 1 .9 3.14v.03a6 6 0 0 1-1.16 3.56L33.23 50.2a4 4 0 0 1-6.46 0L15.73 35.1a6 6 0 0 1-1.15-3.54v-.03a6 6 0 0 1 .9-3.16Z\"\n clip-rule=\"evenodd\"\n />\n <path\n fill=\"#643CDD\"\n d=\"M30.84 10.11a1 1 0 0 0-.84-.46V24.5l12.6 5.53a2 2 0 0 0-.28-1.4L30.84 10.11Z\"\n />\n <path\n fill=\"#BDADEB\"\n d=\"M30 9.65a1 1 0 0 0-.85.46L17.66 28.64a2 2 0 0 0-.26 1.39L30 24.5V9.65Z\"\n />\n <path\n fill=\"#643CDD\"\n d=\"M30 50.54a1 1 0 0 0 .8-.4l11.24-15.38c.3-.44-.2-1-.66-.73l-9.89 5.68a3 3 0 0 1-1.5.4v10.43Z\"\n />\n <path\n fill=\"#BDADEB\"\n d=\"m17.97 34.76 11.22 15.37c.2.28.5.41.8.41V40.11a3 3 0 0 1-1.49-.4l-9.88-5.68c-.47-.27-.97.3-.65.73Z\"\n />\n <path\n fill=\"#401AB3\"\n d=\"M42.6 30.03 30 24.5v13.14a3 3 0 0 0 1.5-.4l10.14-5.83a2 2 0 0 0 .95-1.38Z\"\n />\n <path\n fill=\"#7C5AE2\"\n d=\"M30 37.64V24.46l-12.6 5.57a2 2 0 0 0 .97 1.39l10.13 5.82a3 3 0 0 0 1.5.4Z\"\n />\n </g>\n <rect width=\"59\" height=\"59\" x=\".5\" y=\".5\" stroke=\"#fff\" stroke-opacity=\".1\" rx=\"29.5\" />\n <defs>\n <clipPath id=\"a\"><rect width=\"60\" height=\"60\" fill=\"#fff\" rx=\"30\" /></clipPath>\n </defs>\n</svg> `;\n//# sourceMappingURL=eth.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/assets/visual/eth.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/assets/visual/layers.js":
|
|||
|
/*!*************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/assets/visual/layers.js ***!
|
|||
|
\*************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ layersSvg: () => (/* binding */ layersSvg)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nconst layersSvg = (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `<svg fill=\"none\" viewBox=\"0 0 60 60\">\n <rect width=\"60\" height=\"60\" fill=\"#1DC956\" rx=\"3\" />\n <path\n fill=\"#1FAD7E\"\n stroke=\"#fff\"\n stroke-width=\"2\"\n d=\"m30.49 29.13-.49-.27-.49.27-12.77 7.1-.05.02c-.86.48-1.58.88-2.1 1.24-.54.37-1.04.81-1.28 1.45a3 3 0 0 0 0 2.12c.24.63.74 1.08 1.27 1.45.53.36 1.25.76 2.11 1.24l.05.03 6.33 3.51.17.1c2.33 1.3 3.72 2.06 5.22 2.32a9 9 0 0 0 3.08 0c1.5-.26 2.9-1.03 5.22-2.32l.18-.1 6.32-3.51.05-.03a26.9 26.9 0 0 0 2.1-1.24 3.21 3.21 0 0 0 1.28-1.45l-.94-.35.94.35a3 3 0 0 0 0-2.12l-.94.35.94-.35a3.21 3.21 0 0 0-1.27-1.45c-.53-.36-1.25-.76-2.11-1.24l-.05-.03-12.77-7.1Z\"\n />\n <path\n fill=\"#2BEE6C\"\n stroke=\"#fff\"\n stroke-width=\"2\"\n d=\"m30.49 19.13-.49-.27-.49.27-12.77 7.1-.05.02c-.86.48-1.58.88-2.1 1.24-.54.37-1.04.81-1.28 1.45a3 3 0 0 0 0 2.12c.24.63.74 1.08 1.27 1.45.53.36 1.25.76 2.11 1.24l.05.03 6.33 3.51.17.1c2.33 1.3 3.72 2.06 5.22 2.32a9 9 0 0 0 3.08 0c1.5-.26 2.9-1.03 5.22-2.32l.18-.1 6.32-3.51.05-.03a26.9 26.9 0 0 0 2.1-1.24 3.21 3.21 0 0 0 1.28-1.45l-.94-.35.94.35a3 3 0 0 0 0-2.12l-.94.35.94-.35a3.21 3.21 0 0 0-1.27-1.45c-.53-.36-1.25-.76-2.11-1.24l-.05-.03-12.77-7.1Z\"\n />\n <path\n fill=\"#86F999\"\n stroke=\"#fff\"\n stroke-width=\"2\"\n d=\"m46.69 21.06-.94-.35.94.35a3 3 0 0 0 0-2.12l-.94.35.94-.35a3.21 3.21 0 0 0-1.27-1.45c-.53-.36-1.25-.76-2.11-1.24l-.05-.03-6.32-3.51-.18-.1c-2.33-1.3-3.72-2.06-5.22-2.33a9 9 0 0 0-3.08 0c-1.5.27-2.9 1.04-5.22 2.33l-.17.1-6.33 3.51-.05.03c-.86.48-1.58.88-2.1 1.24-.54.37-1.04.81-1.28 1.45a3 3 0 0 0 0 2.12c.24.63.74 1.08 1.27 1.45.53.36 1.25.76 2.11 1.24l.05.03 6.33 3.51.17.1c2.33 1.3 3.72 2.06 5.22 2.32a9 9 0 0 0 3.08 0c1.5-.26 2.9-1.03 5.22-2.32l.18-.1 6.32-3.51.05-.03a26.9 26.9 0 0 0 2.1-1.24 3.21 3.21 0 0 0 1.28-1.45Z\"\n />\n <rect width=\"59\" height=\"59\" x=\".5\" y=\".5\" stroke=\"#fff\" stroke-opacity=\".1\" rx=\"2.5\" />\n</svg>`;\n//# sourceMappingURL=layers.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/assets/visual/layers.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/assets/visual/lock.js":
|
|||
|
/*!***********************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/assets/visual/lock.js ***!
|
|||
|
\***********************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ lockSvg: () => (/* binding */ lockSvg)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nconst lockSvg = (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `<svg fill=\"none\" viewBox=\"0 0 60 60\">\n <rect width=\"60\" height=\"60\" fill=\"#C653C6\" rx=\"3\" />\n <path\n fill=\"#fff\"\n d=\"M20.03 15.22C20 15.6 20 16.07 20 17v2.8c0 1.14 0 1.7-.2 2.12-.15.31-.3.5-.58.71-.37.28-1.06.42-2.43.7-.59.12-1.11.29-1.6.51a9 9 0 0 0-4.35 4.36C10 30 10 32.34 10 37c0 4.66 0 7 .84 8.8a9 9 0 0 0 4.36 4.36C17 51 19.34 51 24 51h12c4.66 0 7 0 8.8-.84a9 9 0 0 0 4.36-4.36C50 44 50 41.66 50 37c0-4.66 0-7-.84-8.8a9 9 0 0 0-4.36-4.36c-.48-.22-1-.39-1.6-.5-1.36-.29-2.05-.43-2.42-.7-.27-.22-.43-.4-.58-.72-.2-.42-.2-.98-.2-2.11V17c0-.93 0-1.4-.03-1.78a9 9 0 0 0-8.19-8.19C31.4 7 30.93 7 30 7s-1.4 0-1.78.03a9 9 0 0 0-8.19 8.19Z\"\n />\n <path\n fill=\"#E87DE8\"\n d=\"M22 17c0-.93 0-1.4.04-1.78a7 7 0 0 1 6.18-6.18C28.6 9 29.07 9 30 9s1.4 0 1.78.04a7 7 0 0 1 6.18 6.18c.04.39.04.85.04 1.78v4.5a1.5 1.5 0 0 1-3 0V17c0-.93 0-1.4-.08-1.78a4 4 0 0 0-3.14-3.14C31.39 12 30.93 12 30 12s-1.4 0-1.78.08a4 4 0 0 0-3.14 3.14c-.08.39-.08.85-.08 1.78v4.5a1.5 1.5 0 0 1-3 0V17Z\"\n />\n <path\n fill=\"#E87DE8\"\n fill-rule=\"evenodd\"\n d=\"M12 36.62c0-4.32 0-6.48.92-8.09a7 7 0 0 1 2.61-2.61C17.14 25 19.3 25 23.62 25h6.86c.46 0 .7 0 .9.02 2.73.22 4.37 2.43 4.62 4.98.27-2.7 2.11-5 5.02-5A6.98 6.98 0 0 1 48 31.98v5.4c0 4.32 0 6.48-.92 8.09a7 7 0 0 1-2.61 2.61c-1.61.92-3.77.92-8.09.92h-5.86c-.46 0-.7 0-.9-.02-2.73-.22-4.37-2.43-4.62-4.98-.26 2.58-1.94 4.82-4.71 4.99l-.7.01c-.55 0-.82 0-1.05-.02a7 7 0 0 1-6.52-6.52c-.02-.23-.02-.5-.02-1.05v-4.79Zm21.24-.27a4 4 0 1 0-6.48 0 31.28 31.28 0 0 1 1.57 2.23c.17.4.17.81.17 1.24V42.5a1.5 1.5 0 0 0 3 0V39.82c0-.43 0-.85.17-1.24.09-.2.58-.87 1.57-2.23Z\"\n clip-rule=\"evenodd\"\n />\n <rect width=\"59\" height=\"59\" x=\".5\" y=\".5\" stroke=\"#fff\" stroke-opacity=\".1\" rx=\"2.5\" />\n</svg>`;\n//# sourceMappingURL=lock.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/assets/visual/lock.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/assets/visual/login.js":
|
|||
|
/*!************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/assets/visual/login.js ***!
|
|||
|
\************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ loginSvg: () => (/* binding */ loginSvg)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nconst loginSvg = (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `<svg fill=\"none\" viewBox=\"0 0 60 60\">\n <g clip-path=\"url(#a)\">\n <path\n fill=\"#EB8B47\"\n d=\"M0 24.9c0-9.25 0-13.88 1.97-17.33a15 15 0 0 1 5.6-5.6C11.02 0 15.65 0 24.9 0h10.2c9.25 0 13.88 0 17.33 1.97a15 15 0 0 1 5.6 5.6C60 11.02 60 15.65 60 24.9v10.2c0 9.25 0 13.88-1.97 17.33a15 15 0 0 1-5.6 5.6C48.98 60 44.35 60 35.1 60H24.9c-9.25 0-13.88 0-17.33-1.97a15 15 0 0 1-5.6-5.6C0 48.98 0 44.35 0 35.1V24.9Z\"\n />\n <path\n stroke=\"#062B2B\"\n stroke-opacity=\".1\"\n d=\"M.5 24.9c0-4.64 0-8.08.24-10.8.25-2.7.73-4.65 1.66-6.28A14.5 14.5 0 0 1 7.82 2.4C9.46 1.47 11.39 1 14.1.74A133 133 0 0 1 24.9.5h10.2c4.63 0 8.08 0 10.8.24 2.7.25 4.65.73 6.28 1.66a14.5 14.5 0 0 1 5.42 5.42c.93 1.63 1.41 3.57 1.66 6.28.24 2.72.24 6.16.24 10.8v10.2c0 4.63 0 8.08-.24 10.8-.25 2.7-.73 4.64-1.66 6.28a14.5 14.5 0 0 1-5.42 5.41c-1.63.94-3.57 1.42-6.28 1.67-2.72.24-6.17.24-10.8.24H24.9c-4.63 0-8.08 0-10.8-.24-2.7-.25-4.64-.73-6.28-1.67a14.5 14.5 0 0 1-5.42-5.4C1.47 50.53 1 48.6.74 45.88A133 133 0 0 1 .5 35.1V24.9Z\"\n />\n <path\n fill=\"#FF974C\"\n stroke=\"#fff\"\n stroke-width=\"2\"\n d=\"M39.2 29.2a13 13 0 1 0-18.4 0l1.3 1.28a12.82 12.82 0 0 1 2.1 2.39 6 6 0 0 1 .6 1.47c.2.76.2 1.56.2 3.17v11.24c0 1.08 0 1.61.13 2.12a4 4 0 0 0 .41.98c.26.45.64.83 1.4 1.6l.3.29c.65.65.98.98 1.36 1.09.26.07.54.07.8 0 .38-.11.7-.44 1.36-1.1l3.48-3.47c.65-.65.98-.98 1.09-1.36a1.5 1.5 0 0 0 0-.8c-.1-.38-.44-.7-1.1-1.36l-.47-.48c-.65-.65-.98-.98-1.09-1.36a1.5 1.5 0 0 1 0-.8c.1-.38.44-.7 1.1-1.36l.47-.48c.65-.65.98-.98 1.09-1.36a1.5 1.5 0 0 0 0-.8c-.1-.38-.44-.7-1.1-1.36l-.48-.5c-.65-.64-.98-.97-1.08-1.35a1.5 1.5 0 0 1 0-.79c.1-.38.42-.7 1.06-1.36l5.46-5.55Z\"\n />\n <circle cx=\"30\" cy=\"17\" r=\"4\" fill=\"#EB8B47\" stroke=\"#fff\" stroke-width=\"2\" />\n </g>\n <defs>\n <clipPath id=\"a\"><path fill=\"#fff\" d=\"M0 0h60v60H0z\" /></clipPath>\n </defs>\n</svg> `;\n//# sourceMappingURL=login.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/assets/visual/login.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/assets/visual/network.js":
|
|||
|
/*!**************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/assets/visual/network.js ***!
|
|||
|
\**************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ networkSvg: () => (/* binding */ networkSvg)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nconst networkSvg = (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `<svg fill=\"none\" viewBox=\"0 0 60 60\">\n <g clip-path=\"url(#a)\">\n <rect width=\"60\" height=\"60\" fill=\"#00ACE6\" rx=\"30\" />\n <circle cx=\"64\" cy=\"39\" r=\"50\" fill=\"#1AC6FF\" stroke=\"#fff\" stroke-width=\"2\" />\n <circle cx=\"78\" cy=\"30\" r=\"50\" fill=\"#4DD2FF\" stroke=\"#fff\" stroke-width=\"2\" />\n <circle cx=\"72\" cy=\"15\" r=\"35\" fill=\"#80DFFF\" stroke=\"#fff\" stroke-width=\"2\" />\n <circle cx=\"34\" cy=\"-17\" r=\"45\" stroke=\"#fff\" stroke-width=\"2\" />\n <circle cx=\"34\" cy=\"-5\" r=\"50\" stroke=\"#fff\" stroke-width=\"2\" />\n <circle cx=\"30\" cy=\"45\" r=\"4\" fill=\"#4DD2FF\" stroke=\"#fff\" stroke-width=\"2\" />\n <circle cx=\"39.5\" cy=\"27.5\" r=\"4\" fill=\"#80DFFF\" stroke=\"#fff\" stroke-width=\"2\" />\n <circle cx=\"16\" cy=\"24\" r=\"4\" fill=\"#19C6FF\" stroke=\"#fff\" stroke-width=\"2\" />\n </g>\n <rect width=\"59\" height=\"59\" x=\".5\" y=\".5\" stroke=\"#062B2B\" stroke-opacity=\".1\" rx=\"29.5\" />\n <defs>\n <clipPath id=\"a\"><rect width=\"60\" height=\"60\" fill=\"#fff\" rx=\"30\" /></clipPath>\n </defs>\n</svg>`;\n//# sourceMappingURL=network.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/assets/visual/network.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/assets/visual/nft.js":
|
|||
|
/*!**********************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/assets/visual/nft.js ***!
|
|||
|
\**********************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ nftSvg: () => (/* binding */ nftSvg)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nconst nftSvg = (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `<svg fill=\"none\" viewBox=\"0 0 60 60\">\n <g clip-path=\"url(#a)\">\n <rect width=\"60\" height=\"60\" fill=\"#C653C6\" rx=\"3\" />\n <path\n fill=\"#E87DE8\"\n stroke=\"#fff\"\n stroke-width=\"2\"\n d=\"M52.1 47.34c0-4.24-1.44-9.55-5.9-12.4a2.86 2.86 0 0 0-1.6-3.89v-.82c0-1.19-.52-2.26-1.35-3a4.74 4.74 0 0 0-2.4-6.26v-5.5a11.31 11.31 0 1 0-22.63 0v2.15a3.34 3.34 0 0 0-1.18 5.05 4.74 4.74 0 0 0-.68 6.44A5.22 5.22 0 0 0 14 35.92c-3.06 4.13-6.1 8.3-6.1 15.64 0 2.67.37 4.86.74 6.39a20.3 20.3 0 0 0 .73 2.39l.02.04v.01l.92-.39-.92.4.26.6h38.26l.3-.49-.87-.51.86.5.02-.01.03-.07a16.32 16.32 0 0 0 .57-1.05c.36-.72.85-1.74 1.33-2.96a25.51 25.51 0 0 0 1.94-9.07Z\"\n />\n <path\n fill=\"#fff\"\n fill-rule=\"evenodd\"\n d=\"M26.5 29.5c-3-.5-5.5-3-5.5-7v-7c0-.47 0-.7.03-.9a3 3 0 0 1 2.58-2.57c.2-.03.42-.03.89-.03 2 0 2.5-2.5 2.5-2.5s0 2.5 2.5 2.5c1.4 0 2.1 0 2.65.23a3 3 0 0 1 1.62 1.62c.23.55.23 1.25.23 2.65v6c0 4-3 7-6.5 7 1.35.23 4 0 6.5-2v9.53C34 38.5 31.5 40 28 40s-6-1.5-6-2.97L24 34l2.5 1.5v-6ZM26 47h4.5c2.5 0 3 4 3 5.5h-3l-1-1.5H26v-4Zm-6.25 5.5H24V57h-8c0-1 1-4.5 3.75-4.5Z\"\n clip-rule=\"evenodd\"\n />\n </g>\n <rect width=\"59\" height=\"59\" x=\".5\" y=\".5\" stroke=\"#fff\" stroke-opacity=\".1\" rx=\"2.5\" />\n <defs>\n <clipPath id=\"a\"><rect width=\"60\" height=\"60\" fill=\"#fff\" rx=\"3\" /></clipPath>\n </defs>\n</svg> `;\n//# sourceMappingURL=nft.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/assets/visual/nft.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/assets/visual/noun.js":
|
|||
|
/*!***********************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/assets/visual/noun.js ***!
|
|||
|
\***********************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ nounSvg: () => (/* binding */ nounSvg)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nconst nounSvg = (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `<svg fill=\"none\" viewBox=\"0 0 60 60\">\n <rect width=\"60\" height=\"60\" fill=\"#794CFF\" rx=\"3\" />\n <path\n fill=\"#987DE8\"\n stroke=\"#fff\"\n stroke-width=\"2\"\n d=\"M33 22.5v-1H16v5H8.5V36H13v-5h3v7.5h17V31h1v7.5h17v-17H34v5h-1v-4Z\"\n />\n <path fill=\"#fff\" d=\"M37.5 25h10v10h-10z\" />\n <path fill=\"#4019B2\" d=\"M42.5 25h5v10h-5z\" />\n <path fill=\"#fff\" d=\"M19.5 25h10v10h-10z\" />\n <path fill=\"#4019B2\" d=\"M24.5 25h5v10h-5z\" />\n <path fill=\"#fff\" d=\"M12 30.5h4V37h-4v-6.5Z\" />\n <rect width=\"59\" height=\"59\" x=\".5\" y=\".5\" stroke=\"#fff\" stroke-opacity=\".1\" rx=\"2.5\" />\n</svg>`;\n//# sourceMappingURL=noun.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/assets/visual/noun.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/assets/visual/profile.js":
|
|||
|
/*!**************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/assets/visual/profile.js ***!
|
|||
|
\**************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ profileSvg: () => (/* binding */ profileSvg)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nconst profileSvg = (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `<svg\n viewBox=\"0 0 60 60\"\n fill=\"none\"\n>\n <g clip-path=\"url(#1)\">\n <rect width=\"60\" height=\"60\" rx=\"30\" fill=\"#00ACE6\" />\n <path\n d=\"M59 73C59 89.0163 46.0163 102 30 102C13.9837 102 1 89.0163 1 73C1 56.9837 12 44 30 44C48 44 59 56.9837 59 73Z\"\n fill=\"#1AC6FF\"\n stroke=\"white\"\n stroke-width=\"2\"\n />\n <path\n d=\"M18.6904 19.9015C19.6264 15.3286 23.3466 11.8445 27.9708 11.2096C29.3231 11.024 30.6751 11.0238 32.0289 11.2096C36.6532 11.8445 40.3733 15.3286 41.3094 19.9015C41.4868 20.7681 41.6309 21.6509 41.7492 22.5271C41.8811 23.5041 41.8811 24.4944 41.7492 25.4715C41.6309 26.3476 41.4868 27.2304 41.3094 28.097C40.3733 32.6699 36.6532 36.154 32.0289 36.7889C30.6772 36.9744 29.3216 36.9743 27.9708 36.7889C23.3466 36.154 19.6264 32.6699 18.6904 28.097C18.513 27.2304 18.3689 26.3476 18.2506 25.4715C18.1186 24.4944 18.1186 23.5041 18.2506 22.5271C18.3689 21.6509 18.513 20.7681 18.6904 19.9015Z\"\n fill=\"#1AC6FF\"\n stroke=\"white\"\n stroke-width=\"2\"\n />\n <circle cx=\"24.5\" cy=\"23.5\" r=\"1.5\" fill=\"white\" />\n <circle cx=\"35.5\" cy=\"23.5\" r=\"1.5\" fill=\"white\" />\n <path\n d=\"M31 20L28 28H32\"\n stroke=\"white\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n </g>\n <rect x=\"0.5\" y=\"0.5\" width=\"59\" height=\"59\" rx=\"29.5\" stroke=\"white\" stroke-opacity=\"0.1\" />\n <defs>\n <clipPath id=\"1\">\n <rect width=\"60\" height=\"60\" rx=\"30\" fill=\"white\" />\n </clipPath>\n </defs>\n</svg> `;\n//# sourceMappingURL=profile.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/assets/visual/profile.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/assets/visual/system.js":
|
|||
|
/*!*************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/assets/visual/system.js ***!
|
|||
|
\*************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ systemSvg: () => (/* binding */ systemSvg)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nconst systemSvg = (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `<svg viewBox=\"0 0 60 60\" fill=\"none\">\n <g clip-path=\"url(#1)\">\n <path\n d=\"M0 24.9C0 15.6485 0 11.0228 1.97053 7.56812C3.3015 5.23468 5.23468 3.3015 7.56812 1.97053C11.0228 0 15.6485 0 24.9 0H35.1C44.3514 0 48.9772 0 52.4319 1.97053C54.7653 3.3015 56.6985 5.23468 58.0295 7.56812C60 11.0228 60 15.6485 60 24.9V35.1C60 44.3514 60 48.9772 58.0295 52.4319C56.6985 54.7653 54.7653 56.6985 52.4319 58.0295C48.9772 60 44.3514 60 35.1 60H24.9C15.6485 60 11.0228 60 7.56812 58.0295C5.23468 56.6985 3.3015 54.7653 1.97053 52.4319C0 48.9772 0 44.3514 0 35.1V24.9Z\"\n fill=\"#794CFF\"\n />\n <path\n d=\"M0.5 24.9C0.5 20.2652 0.50047 16.8221 0.744315 14.105C0.987552 11.3946 1.46987 9.45504 2.40484 7.81585C3.69145 5.56019 5.56019 3.69145 7.81585 2.40484C9.45504 1.46987 11.3946 0.987552 14.105 0.744315C16.8221 0.50047 20.2652 0.5 24.9 0.5H35.1C39.7348 0.5 43.1779 0.50047 45.895 0.744315C48.6054 0.987552 50.545 1.46987 52.1841 2.40484C54.4398 3.69145 56.3086 5.56019 57.5952 7.81585C58.5301 9.45504 59.0124 11.3946 59.2557 14.105C59.4995 16.8221 59.5 20.2652 59.5 24.9V35.1C59.5 39.7348 59.4995 43.1779 59.2557 45.895C59.0124 48.6054 58.5301 50.545 57.5952 52.1841C56.3086 54.4398 54.4398 56.3086 52.1841 57.5952C50.545 58.5301 48.6054 59.0124 45.895 59.2557C43.1779 59.4995 39.7348 59.5 35.1 59.5H24.9C20.2652 59.5 16.8221 59.4995 14.105 59.2557C11.3946 59.0124 9.45504 58.5301 7.81585 57.5952C5.56019 56.3086 3.69145 54.4398 2.40484 52.1841C1.46987 50.545 0.987552 48.6054 0.744315 45.895C0.50047 43.1779 0.5 39.7348 0.5 35.1V24.9Z\"\n stroke=\"#062B2B\"\n stroke-opacity=\"0.1\"\n />\n <path\n d=\"M35.1403 31.5016C35.1193 30.9637 35.388 30.4558 35.8446 30.1707C36.1207 29.9982 36.4761 29.8473 36.7921 29.7685C37.3143 29.6382 37.8664 29.7977 38.2386 30.1864C38.8507 30.8257 39.3004 31.6836 39.8033 32.408C40.2796 33.0942 41.4695 33.2512 41.9687 32.5047C42.4839 31.7341 42.9405 30.8229 43.572 30.1399C43.9375 29.7447 44.4866 29.5756 45.0111 29.6967C45.3283 29.7701 45.6863 29.9147 45.9655 30.0823C46.4269 30.3595 46.7045 30.8626 46.6928 31.4008C46.6731 32.3083 46.3764 33.2571 46.2158 34.1473C46.061 35.0048 46.9045 35.8337 47.7592 35.664C48.6464 35.4878 49.5899 35.1747 50.497 35.1391C51.0348 35.1181 51.5427 35.3868 51.8279 35.8433C52.0004 36.1195 52.1513 36.4749 52.2301 36.7908C52.3604 37.3131 52.2009 37.8651 51.8121 38.2374C51.1729 38.8495 50.3151 39.2991 49.5908 39.8019C48.9046 40.2782 48.7473 41.4683 49.4939 41.9675C50.2644 42.4827 51.1757 42.9393 51.8587 43.5708C52.2539 43.9362 52.423 44.4854 52.3018 45.0099C52.2285 45.3271 52.0839 45.6851 51.9162 45.9642C51.6391 46.4257 51.1359 46.7032 50.5978 46.6916C49.6903 46.6719 48.7417 46.3753 47.8516 46.2146C46.9939 46.0598 46.1648 46.9035 46.3346 47.7583C46.5108 48.6454 46.8239 49.5888 46.8594 50.4958C46.8805 51.0336 46.6117 51.5415 46.1552 51.8267C45.879 51.9992 45.5236 52.15 45.2077 52.2289C44.6854 52.3592 44.1334 52.1997 43.7611 51.8109C43.1491 51.1718 42.6996 50.314 42.1968 49.5897C41.7203 48.9034 40.5301 48.7463 40.0309 49.493C39.5157 50.2634 39.0592 51.1746 38.4278 51.8574C38.0623 52.2527 37.5132 52.4218 36.9887 52.3006C36.6715 52.2273 36.3135 52.0826 36.0343 51.915C35.5729 51.6379 35.2953 51.1347 35.307 50.5966C35.3267 49.6891 35.6233 48.7405 35.7839 47.8505C35.9388 46.9928 35.0951 46.1636 34.2402 46.3334C33.3531 46.5096 32.4098 46.8227 31.5028 46.8582C30.9649 46.8793 30.457 46.6105 30.1719 46.154C29.9994 45.8778 29.8485 45.5224 29.7697 45.2065C29.6394 44.6842 29.7989 44.1322 30.1877 43.7599C30.8269 43.1479 31.6847 42.6982 32.4091 42.1954C33.0954 41.7189 33.2522 40.5289 32.5056 40.0297C31.7351 39.5145 30.824 39.058 30.1411 38.4265C29.74
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/components/wui-card/index.js":
|
|||
|
/*!******************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/components/wui-card/index.js ***!
|
|||
|
\******************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ WuiCard: () => (/* binding */ WuiCard)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n/* harmony import */ var _utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../utils/ThemeUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/ThemeUtil.js\");\n/* harmony import */ var _utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../utils/WebComponentsUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/WebComponentsUtil.js\");\n/* harmony import */ var _styles_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./styles.js */ \"./node_modules/@web3modal/ui/dist/esm/src/components/wui-card/styles.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\nlet WuiCard = class WuiCard extends lit__WEBPACK_IMPORTED_MODULE_0__.LitElement {\n render() {\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `<slot></slot>`;\n }\n};\nWuiCard.styles = [_utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_1__.resetStyles, _styles_js__WEBPACK_IMPORTED_MODULE_3__[\"default\"]];\nWuiCard = __decorate([\n (0,_utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_2__.customElement)('wui-card')\n], WuiCard);\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/components/wui-card/index.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/components/wui-card/styles.js":
|
|||
|
/*!*******************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/components/wui-card/styles.js ***!
|
|||
|
\*******************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,lit__WEBPACK_IMPORTED_MODULE_0__.css) `\n :host {\n display: block;\n border-radius: clamp(0px, var(--wui-border-radius-l), 44px);\n border: 1px solid var(--wui-gray-glass-005);\n background-color: var(--wui-color-modal-bg);\n overflow: hidden;\n }\n`);\n//# sourceMappingURL=styles.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/components/wui-card/styles.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/components/wui-icon/index.js":
|
|||
|
/*!******************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/components/wui-icon/index.js ***!
|
|||
|
\******************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ WuiIcon: () => (/* binding */ WuiIcon)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n/* harmony import */ var lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lit/decorators.js */ \"./node_modules/@web3modal/ui/node_modules/lit/decorators.js\");\n/* harmony import */ var _utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../utils/ThemeUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/ThemeUtil.js\");\n/* harmony import */ var _utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../utils/WebComponentsUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/WebComponentsUtil.js\");\n/* harmony import */ var _styles_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./styles.js */ \"./node_modules/@web3modal/ui/dist/esm/src/components/wui-icon/styles.js\");\n/* harmony import */ var _assets_svg_all_wallets_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../assets/svg/all-wallets.js */ \"./node_modules/@web3modal/ui/dist/esm/src/assets/svg/all-wallets.js\");\n/* harmony import */ var _assets_svg_app_store_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../assets/svg/app-store.js */ \"./node_modules/@web3modal/ui/dist/esm/src/assets/svg/app-store.js\");\n/* harmony import */ var _assets_svg_apple_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../assets/svg/apple.js */ \"./node_modules/@web3modal/ui/dist/esm/src/assets/svg/apple.js\");\n/* harmony import */ var _assets_svg_arrow_bottom_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../assets/svg/arrow-bottom.js */ \"./node_modules/@web3modal/ui/dist/esm/src/assets/svg/arrow-bottom.js\");\n/* harmony import */ var _assets_svg_arrow_left_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../assets/svg/arrow-left.js */ \"./node_modules/@web3modal/ui/dist/esm/src/assets/svg/arrow-left.js\");\n/* harmony import */ var _assets_svg_arrow_right_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../assets/svg/arrow-right.js */ \"./node_modules/@web3modal/ui/dist/esm/src/assets/svg/arrow-right.js\");\n/* harmony import */ var _assets_svg_arrow_top_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../../assets/svg/arrow-top.js */ \"./node_modules/@web3modal/ui/dist/esm/src/assets/svg/arrow-top.js\");\n/* harmony import */ var _assets_svg_browser_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../../assets/svg/browser.js */ \"./node_modules/@web3modal/ui/dist/esm/src/assets/svg/browser.js\");\n/* harmony import */ var _assets_svg_checkmark_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../../assets/svg/checkmark.js */ \"./node_modules/@web3modal/ui/dist/esm/src/assets/svg/checkmark.js\");\n/* harmony import */ var _assets_svg_chevron_bottom_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../../assets/svg/chevron-bottom.js */ \"./node_modules/@web3modal/ui/dist/esm/src/assets/svg/chevron-bottom.js\");\n/* harmony import */ var _assets_svg_chevron_left_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../../assets/svg/chevron-left.js */ \"./node_modules/@web3modal/ui/dist/esm/src/assets/svg/chevron-left.js\");\n/* harmony import */ var _assets_svg_chevron_right_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ../../assets/svg/chevron-right.js */ \"./node_modules/@web3modal/ui/dist/esm/src/assets/svg/chevron-right.js\");\n/* harmony import */ var _assets_svg_chevron_top_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ../../assets/svg/chevron-top.js */ \"./node_modules/@web3modal/ui/dist/esm/src/assets/svg/chevron-top.js\");\n/* harmony import */ var _assets_svg_chrome_store_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ../../assets/svg/chrome-store.js */ \"./
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/components/wui-icon/styles.js":
|
|||
|
/*!*******************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/components/wui-icon/styles.js ***!
|
|||
|
\*******************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,lit__WEBPACK_IMPORTED_MODULE_0__.css) `\n :host {\n display: flex;\n aspect-ratio: 1 / 1;\n color: var(--local-color);\n width: var(--local-width);\n }\n\n svg {\n width: inherit;\n height: inherit;\n object-fit: contain;\n object-position: center;\n }\n`);\n//# sourceMappingURL=styles.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/components/wui-icon/styles.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/components/wui-image/index.js":
|
|||
|
/*!*******************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/components/wui-image/index.js ***!
|
|||
|
\*******************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ WuiImage: () => (/* binding */ WuiImage)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n/* harmony import */ var lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lit/decorators.js */ \"./node_modules/@web3modal/ui/node_modules/lit/decorators.js\");\n/* harmony import */ var _utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../utils/ThemeUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/ThemeUtil.js\");\n/* harmony import */ var _utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../utils/WebComponentsUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/WebComponentsUtil.js\");\n/* harmony import */ var _styles_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./styles.js */ \"./node_modules/@web3modal/ui/dist/esm/src/components/wui-image/styles.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\n\nlet WuiImage = class WuiImage extends lit__WEBPACK_IMPORTED_MODULE_0__.LitElement {\n constructor() {\n super(...arguments);\n this.src = './path/to/image.jpg';\n this.alt = 'Image';\n }\n render() {\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `<img src=${this.src} alt=${this.alt} />`;\n }\n};\nWuiImage.styles = [_utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_2__.resetStyles, _utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_2__.colorStyles, _styles_js__WEBPACK_IMPORTED_MODULE_4__[\"default\"]];\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiImage.prototype, \"src\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiImage.prototype, \"alt\", void 0);\nWuiImage = __decorate([\n (0,_utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_3__.customElement)('wui-image')\n], WuiImage);\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/components/wui-image/index.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/components/wui-image/styles.js":
|
|||
|
/*!********************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/components/wui-image/styles.js ***!
|
|||
|
\********************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,lit__WEBPACK_IMPORTED_MODULE_0__.css) `\n :host {\n display: block;\n width: 100%;\n height: 100%;\n }\n\n img {\n display: block;\n width: 100%;\n height: 100%;\n object-fit: cover;\n object-position: center center;\n border-radius: inherit;\n }\n`);\n//# sourceMappingURL=styles.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/components/wui-image/styles.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/components/wui-loading-hexagon/index.js":
|
|||
|
/*!*****************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/components/wui-loading-hexagon/index.js ***!
|
|||
|
\*****************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ WuiLoadingHexagon: () => (/* binding */ WuiLoadingHexagon)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n/* harmony import */ var _utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../utils/ThemeUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/ThemeUtil.js\");\n/* harmony import */ var _utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../utils/WebComponentsUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/WebComponentsUtil.js\");\n/* harmony import */ var _styles_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./styles.js */ \"./node_modules/@web3modal/ui/dist/esm/src/components/wui-loading-hexagon/styles.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\nlet WuiLoadingHexagon = class WuiLoadingHexagon extends lit__WEBPACK_IMPORTED_MODULE_0__.LitElement {\n render() {\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `\n <svg viewBox=\"0 0 54 59\">\n <path\n id=\"wui-loader-path\"\n d=\"M17.22 5.295c3.877-2.277 5.737-3.363 7.72-3.726a11.44 11.44 0 0 1 4.12 0c1.983.363 3.844 1.45 7.72 3.726l6.065 3.562c3.876 2.276 5.731 3.372 7.032 4.938a11.896 11.896 0 0 1 2.06 3.63c.683 1.928.688 4.11.688 8.663v7.124c0 4.553-.005 6.735-.688 8.664a11.896 11.896 0 0 1-2.06 3.63c-1.3 1.565-3.156 2.66-7.032 4.937l-6.065 3.563c-3.877 2.276-5.737 3.362-7.72 3.725a11.46 11.46 0 0 1-4.12 0c-1.983-.363-3.844-1.449-7.72-3.726l-6.065-3.562c-3.876-2.276-5.731-3.372-7.032-4.938a11.885 11.885 0 0 1-2.06-3.63c-.682-1.928-.688-4.11-.688-8.663v-7.124c0-4.553.006-6.735.688-8.664a11.885 11.885 0 0 1 2.06-3.63c1.3-1.565 3.156-2.66 7.032-4.937l6.065-3.562Z\"\n />\n <use xlink:href=\"#wui-loader-path\"></use>\n </svg>\n `;\n }\n};\nWuiLoadingHexagon.styles = [_utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_1__.resetStyles, _styles_js__WEBPACK_IMPORTED_MODULE_3__[\"default\"]];\nWuiLoadingHexagon = __decorate([\n (0,_utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_2__.customElement)('wui-loading-hexagon')\n], WuiLoadingHexagon);\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/components/wui-loading-hexagon/index.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/components/wui-loading-hexagon/styles.js":
|
|||
|
/*!******************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/components/wui-loading-hexagon/styles.js ***!
|
|||
|
\******************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,lit__WEBPACK_IMPORTED_MODULE_0__.css) `\n :host {\n display: block;\n width: var(--wui-box-size-lg);\n height: var(--wui-box-size-lg);\n }\n\n svg {\n width: var(--wui-box-size-lg);\n height: var(--wui-box-size-lg);\n fill: none;\n stroke: transparent;\n stroke-linecap: round;\n transition: all var(--wui-ease-in-power-3) var(--wui-duration-lg);\n }\n\n use {\n stroke: var(--wui-color-accent-100);\n stroke-width: 2px;\n stroke-dasharray: 54, 118;\n stroke-dashoffset: 172;\n animation: dash 1s linear infinite;\n }\n\n @keyframes dash {\n to {\n stroke-dashoffset: 0px;\n }\n }\n`);\n//# sourceMappingURL=styles.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/components/wui-loading-hexagon/styles.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/components/wui-loading-spinner/index.js":
|
|||
|
/*!*****************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/components/wui-loading-spinner/index.js ***!
|
|||
|
\*****************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ WuiLoadingSpinner: () => (/* binding */ WuiLoadingSpinner)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n/* harmony import */ var lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lit/decorators.js */ \"./node_modules/@web3modal/ui/node_modules/lit/decorators.js\");\n/* harmony import */ var _utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../utils/ThemeUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/ThemeUtil.js\");\n/* harmony import */ var _utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../utils/WebComponentsUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/WebComponentsUtil.js\");\n/* harmony import */ var _styles_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./styles.js */ \"./node_modules/@web3modal/ui/dist/esm/src/components/wui-loading-spinner/styles.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\n\nlet WuiLoadingSpinner = class WuiLoadingSpinner extends lit__WEBPACK_IMPORTED_MODULE_0__.LitElement {\n constructor() {\n super(...arguments);\n this.color = 'accent-100';\n this.size = 'lg';\n }\n render() {\n this.style.cssText = `--local-color: var(--wui-color-${this.color});`;\n this.dataset['size'] = this.size;\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `<svg viewBox=\"25 25 50 50\">\n <circle r=\"20\" cy=\"50\" cx=\"50\"></circle>\n </svg>`;\n }\n};\nWuiLoadingSpinner.styles = [_utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_2__.resetStyles, _styles_js__WEBPACK_IMPORTED_MODULE_4__[\"default\"]];\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiLoadingSpinner.prototype, \"color\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiLoadingSpinner.prototype, \"size\", void 0);\nWuiLoadingSpinner = __decorate([\n (0,_utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_3__.customElement)('wui-loading-spinner')\n], WuiLoadingSpinner);\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/components/wui-loading-spinner/index.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/components/wui-loading-spinner/styles.js":
|
|||
|
/*!******************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/components/wui-loading-spinner/styles.js ***!
|
|||
|
\******************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,lit__WEBPACK_IMPORTED_MODULE_0__.css) `\n :host {\n display: flex;\n }\n\n :host([data-size='sm']) > svg {\n width: 12px;\n height: 12px;\n }\n\n :host([data-size='md']) > svg {\n width: 14px;\n height: 14px;\n }\n\n :host([data-size='lg']) > svg {\n width: 24px;\n height: 24px;\n }\n\n svg {\n animation: rotate 2s linear infinite;\n transition: all var(--wui-ease-in-power-3) var(--wui-duration-lg);\n }\n\n circle {\n fill: none;\n stroke: var(--local-color);\n stroke-width: 4px;\n stroke-dasharray: 1, 124;\n stroke-dashoffset: 0;\n stroke-linecap: round;\n animation: dash 1.5s ease-in-out infinite;\n }\n\n :host([data-size='md']) > svg > circle {\n stroke-width: 6px;\n }\n\n :host([data-size='sm']) > svg > circle {\n stroke-width: 8px;\n }\n\n @keyframes rotate {\n 100% {\n transform: rotate(360deg);\n }\n }\n\n @keyframes dash {\n 0% {\n stroke-dasharray: 1, 124;\n stroke-dashoffset: 0;\n }\n\n 50% {\n stroke-dasharray: 90, 124;\n stroke-dashoffset: -35;\n }\n\n 100% {\n stroke-dashoffset: -125;\n }\n }\n`);\n//# sourceMappingURL=styles.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/components/wui-loading-spinner/styles.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/components/wui-loading-thumbnail/index.js":
|
|||
|
/*!*******************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/components/wui-loading-thumbnail/index.js ***!
|
|||
|
\*******************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ WuiLoadingThumbnail: () => (/* binding */ WuiLoadingThumbnail)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n/* harmony import */ var lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lit/decorators.js */ \"./node_modules/@web3modal/ui/node_modules/lit/decorators.js\");\n/* harmony import */ var _utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../utils/ThemeUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/ThemeUtil.js\");\n/* harmony import */ var _utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../utils/WebComponentsUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/WebComponentsUtil.js\");\n/* harmony import */ var _styles_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./styles.js */ \"./node_modules/@web3modal/ui/dist/esm/src/components/wui-loading-thumbnail/styles.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\n\nlet WuiLoadingThumbnail = class WuiLoadingThumbnail extends lit__WEBPACK_IMPORTED_MODULE_0__.LitElement {\n constructor() {\n super(...arguments);\n this.radius = 36;\n }\n render() {\n return this.svgLoaderTemplate();\n }\n svgLoaderTemplate() {\n const radius = this.radius > 50 ? 50 : this.radius;\n const standardValue = 36;\n const radiusFactor = standardValue - radius;\n const dashArrayStart = 116 + radiusFactor;\n const dashArrayEnd = 245 + radiusFactor;\n const dashOffset = 360 + radiusFactor * 1.75;\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `\n <svg viewBox=\"0 0 110 110\" width=\"110\" height=\"110\">\n <rect\n x=\"2\"\n y=\"2\"\n width=\"106\"\n height=\"106\"\n rx=${radius}\n stroke-dasharray=\"${dashArrayStart} ${dashArrayEnd}\"\n stroke-dashoffset=${dashOffset}\n />\n </svg>\n `;\n }\n};\nWuiLoadingThumbnail.styles = [_utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_2__.resetStyles, _styles_js__WEBPACK_IMPORTED_MODULE_4__[\"default\"]];\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)({ type: Number })\n], WuiLoadingThumbnail.prototype, \"radius\", void 0);\nWuiLoadingThumbnail = __decorate([\n (0,_utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_3__.customElement)('wui-loading-thumbnail')\n], WuiLoadingThumbnail);\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/components/wui-loading-thumbnail/index.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/components/wui-loading-thumbnail/styles.js":
|
|||
|
/*!********************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/components/wui-loading-thumbnail/styles.js ***!
|
|||
|
\********************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,lit__WEBPACK_IMPORTED_MODULE_0__.css) `\n :host {\n display: block;\n width: var(--wui-box-size-md);\n height: var(--wui-box-size-md);\n }\n\n svg {\n width: var(--wui-box-size-md);\n height: var(--wui-box-size-md);\n transition: all var(--wui-ease-in-power-3) var(--wui-duration-lg);\n }\n\n rect {\n fill: none;\n stroke: var(--wui-color-accent-100);\n stroke-width: 4px;\n stroke-linecap: round;\n animation: dash 1s linear infinite;\n }\n\n @keyframes dash {\n to {\n stroke-dashoffset: 0px;\n }\n }\n`);\n//# sourceMappingURL=styles.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/components/wui-loading-thumbnail/styles.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/components/wui-shimmer/index.js":
|
|||
|
/*!*********************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/components/wui-shimmer/index.js ***!
|
|||
|
\*********************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ WuiShimmer: () => (/* binding */ WuiShimmer)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n/* harmony import */ var lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lit/decorators.js */ \"./node_modules/@web3modal/ui/node_modules/lit/decorators.js\");\n/* harmony import */ var _utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../utils/WebComponentsUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/WebComponentsUtil.js\");\n/* harmony import */ var _styles_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./styles.js */ \"./node_modules/@web3modal/ui/dist/esm/src/components/wui-shimmer/styles.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\nlet WuiShimmer = class WuiShimmer extends lit__WEBPACK_IMPORTED_MODULE_0__.LitElement {\n constructor() {\n super(...arguments);\n this.width = '';\n this.height = '';\n this.borderRadius = 'm';\n }\n render() {\n this.style.cssText = `\n width: ${this.width};\n height: ${this.height};\n border-radius: ${`clamp(0px,var(--wui-border-radius-${this.borderRadius}), 40px)`};\n `;\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `<slot></slot>`;\n }\n};\nWuiShimmer.styles = [_styles_js__WEBPACK_IMPORTED_MODULE_3__[\"default\"]];\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiShimmer.prototype, \"width\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiShimmer.prototype, \"height\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiShimmer.prototype, \"borderRadius\", void 0);\nWuiShimmer = __decorate([\n (0,_utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_2__.customElement)('wui-shimmer')\n], WuiShimmer);\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/components/wui-shimmer/index.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/components/wui-shimmer/styles.js":
|
|||
|
/*!**********************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/components/wui-shimmer/styles.js ***!
|
|||
|
\**********************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,lit__WEBPACK_IMPORTED_MODULE_0__.css) `\n :host {\n display: block;\n box-shadow: inset 0 0 0 1px var(--wui-gray-glass-005);\n background: linear-gradient(\n 120deg,\n var(--wui-color-bg-200) 5%,\n var(--wui-color-bg-200) 48%,\n var(--wui-color-bg-300) 55%,\n var(--wui-color-bg-300) 60%,\n var(--wui-color-bg-300) calc(60% + 10px),\n var(--wui-color-bg-200) calc(60% + 12px),\n var(--wui-color-bg-200) 100%\n );\n background-size: 250%;\n animation: shimmer 3s linear infinite reverse;\n }\n\n @keyframes shimmer {\n from {\n background-position: -250% 0;\n }\n to {\n background-position: 250% 0;\n }\n }\n`);\n//# sourceMappingURL=styles.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/components/wui-shimmer/styles.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/components/wui-text/index.js":
|
|||
|
/*!******************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/components/wui-text/index.js ***!
|
|||
|
\******************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ WuiText: () => (/* binding */ WuiText)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n/* harmony import */ var lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lit/decorators.js */ \"./node_modules/@web3modal/ui/node_modules/lit/decorators.js\");\n/* harmony import */ var lit_directives_class_map_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lit/directives/class-map.js */ \"./node_modules/@web3modal/ui/node_modules/lit/directives/class-map.js\");\n/* harmony import */ var _utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../utils/ThemeUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/ThemeUtil.js\");\n/* harmony import */ var _utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../utils/WebComponentsUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/WebComponentsUtil.js\");\n/* harmony import */ var _styles_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./styles.js */ \"./node_modules/@web3modal/ui/dist/esm/src/components/wui-text/styles.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\n\n\nlet WuiText = class WuiText extends lit__WEBPACK_IMPORTED_MODULE_0__.LitElement {\n constructor() {\n super(...arguments);\n this.variant = 'paragraph-500';\n this.color = 'fg-300';\n this.align = 'left';\n }\n render() {\n const classes = {\n [`wui-font-${this.variant}`]: true,\n [`wui-color-${this.color}`]: true\n };\n this.style.cssText = `\n --local-align: ${this.align};\n --local-color: var(--wui-color-${this.color});\n `;\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `<slot class=${(0,lit_directives_class_map_js__WEBPACK_IMPORTED_MODULE_2__.classMap)(classes)}></slot>`;\n }\n};\nWuiText.styles = [_utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_3__.resetStyles, _styles_js__WEBPACK_IMPORTED_MODULE_5__[\"default\"]];\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiText.prototype, \"variant\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiText.prototype, \"color\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiText.prototype, \"align\", void 0);\nWuiText = __decorate([\n (0,_utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_4__.customElement)('wui-text')\n], WuiText);\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/components/wui-text/index.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/components/wui-text/styles.js":
|
|||
|
/*!*******************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/components/wui-text/styles.js ***!
|
|||
|
\*******************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,lit__WEBPACK_IMPORTED_MODULE_0__.css) `\n :host {\n display: flex !important;\n }\n\n slot {\n display: inline-block;\n font-style: normal;\n font-family: var(--wui-font-family);\n font-feature-settings:\n 'tnum' on,\n 'lnum' on,\n 'case' on;\n line-height: 130%;\n font-weight: var(--wui-font-weight-regular);\n overflow: inherit;\n text-overflow: inherit;\n text-align: var(--local-align);\n color: var(--local-color);\n }\n\n .wui-font-large-500,\n .wui-font-large-600,\n .wui-font-large-700 {\n font-size: var(--wui-font-size-large);\n letter-spacing: var(--wui-letter-spacing-large);\n }\n\n .wui-font-paragraph-500,\n .wui-font-paragraph-600,\n .wui-font-paragraph-700 {\n font-size: var(--wui-font-size-paragraph);\n letter-spacing: var(--wui-letter-spacing-paragraph);\n }\n\n .wui-font-small-400,\n .wui-font-small-500,\n .wui-font-small-600 {\n font-size: var(--wui-font-size-small);\n letter-spacing: var(--wui-letter-spacing-small);\n }\n\n .wui-font-tiny-500,\n .wui-font-tiny-600 {\n font-size: var(--wui-font-size-tiny);\n letter-spacing: var(--wui-letter-spacing-tiny);\n }\n\n .wui-font-micro-700,\n .wui-font-micro-600 {\n font-size: var(--wui-font-size-micro);\n letter-spacing: var(--wui-letter-spacing-micro);\n text-transform: uppercase;\n }\n\n .wui-font-small-400 {\n font-weight: var(--wui-font-weight-light);\n }\n\n .wui-font-large-700,\n .wui-font-paragraph-700,\n .wui-font-micro-700 {\n font-weight: var(--wui-font-weight-bold);\n }\n\n .wui-font-large-600,\n .wui-font-paragraph-600,\n .wui-font-small-600,\n .wui-font-tiny-600,\n .wui-font-micro-600 {\n font-weight: var(--wui-font-weight-medium);\n }\n`);\n//# sourceMappingURL=styles.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/components/wui-text/styles.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/components/wui-visual/index.js":
|
|||
|
/*!********************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/components/wui-visual/index.js ***!
|
|||
|
\********************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ WuiVisual: () => (/* binding */ WuiVisual)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n/* harmony import */ var lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lit/decorators.js */ \"./node_modules/@web3modal/ui/node_modules/lit/decorators.js\");\n/* harmony import */ var _assets_visual_browser_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../assets/visual/browser.js */ \"./node_modules/@web3modal/ui/dist/esm/src/assets/visual/browser.js\");\n/* harmony import */ var _assets_visual_dao_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../assets/visual/dao.js */ \"./node_modules/@web3modal/ui/dist/esm/src/assets/visual/dao.js\");\n/* harmony import */ var _assets_visual_defi_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../assets/visual/defi.js */ \"./node_modules/@web3modal/ui/dist/esm/src/assets/visual/defi.js\");\n/* harmony import */ var _assets_visual_defiAlt_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../assets/visual/defiAlt.js */ \"./node_modules/@web3modal/ui/dist/esm/src/assets/visual/defiAlt.js\");\n/* harmony import */ var _assets_visual_eth_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../assets/visual/eth.js */ \"./node_modules/@web3modal/ui/dist/esm/src/assets/visual/eth.js\");\n/* harmony import */ var _assets_visual_layers_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../assets/visual/layers.js */ \"./node_modules/@web3modal/ui/dist/esm/src/assets/visual/layers.js\");\n/* harmony import */ var _assets_visual_lock_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../assets/visual/lock.js */ \"./node_modules/@web3modal/ui/dist/esm/src/assets/visual/lock.js\");\n/* harmony import */ var _assets_visual_login_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../assets/visual/login.js */ \"./node_modules/@web3modal/ui/dist/esm/src/assets/visual/login.js\");\n/* harmony import */ var _assets_visual_network_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../assets/visual/network.js */ \"./node_modules/@web3modal/ui/dist/esm/src/assets/visual/network.js\");\n/* harmony import */ var _assets_visual_nft_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../../assets/visual/nft.js */ \"./node_modules/@web3modal/ui/dist/esm/src/assets/visual/nft.js\");\n/* harmony import */ var _assets_visual_noun_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../../assets/visual/noun.js */ \"./node_modules/@web3modal/ui/dist/esm/src/assets/visual/noun.js\");\n/* harmony import */ var _assets_visual_profile_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../../assets/visual/profile.js */ \"./node_modules/@web3modal/ui/dist/esm/src/assets/visual/profile.js\");\n/* harmony import */ var _assets_visual_system_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../../assets/visual/system.js */ \"./node_modules/@web3modal/ui/dist/esm/src/assets/visual/system.js\");\n/* harmony import */ var _utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../../utils/ThemeUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/ThemeUtil.js\");\n/* harmony import */ var _utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ../../utils/WebComponentsUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/WebComponentsUtil.js\");\n/* harmony import */ var _styles_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./styles.js */ \"./node_modules/@web3modal/ui/dist/esm/src/components/wui-visual/styles.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/components/wui-visual/styles.js":
|
|||
|
/*!*********************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/components/wui-visual/styles.js ***!
|
|||
|
\*********************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,lit__WEBPACK_IMPORTED_MODULE_0__.css) `\n :host {\n display: block;\n width: 55px;\n height: 55px;\n }\n`);\n//# sourceMappingURL=styles.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/components/wui-visual/styles.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-account-button/index.js":
|
|||
|
/*!****************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-account-button/index.js ***!
|
|||
|
\****************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ WuiAccountButton: () => (/* binding */ WuiAccountButton)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n/* harmony import */ var lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lit/decorators.js */ \"./node_modules/@web3modal/ui/node_modules/lit/decorators.js\");\n/* harmony import */ var lit_directives_if_defined_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lit/directives/if-defined.js */ \"./node_modules/@web3modal/ui/node_modules/lit/directives/if-defined.js\");\n/* harmony import */ var _components_wui_image_index_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../components/wui-image/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/components/wui-image/index.js\");\n/* harmony import */ var _components_wui_text_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../components/wui-text/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/components/wui-text/index.js\");\n/* harmony import */ var _layout_wui_flex_index_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../layout/wui-flex/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/layout/wui-flex/index.js\");\n/* harmony import */ var _utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../utils/ThemeUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/ThemeUtil.js\");\n/* harmony import */ var _utils_UiHelperUtil_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../utils/UiHelperUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/UiHelperUtil.js\");\n/* harmony import */ var _utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../utils/WebComponentsUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/WebComponentsUtil.js\");\n/* harmony import */ var _wui_avatar_index_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../wui-avatar/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-avatar/index.js\");\n/* harmony import */ var _wui_icon_box_index_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../wui-icon-box/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-icon-box/index.js\");\n/* harmony import */ var _styles_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./styles.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-account-button/styles.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\n\n\n\n\n\n\n\n\nlet WuiAccountButton = class WuiAccountButton extends lit__WEBPACK_IMPORTED_MODULE_0__.LitElement {\n constructor() {\n super(...arguments);\n this.networkSrc = undefined;\n this.avatarSrc = undefined;\n this.balance = undefined;\n this.disabled = false;\n this.isProfileName = false;\n this.address = '';\n }\n render() {\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `\n <button ?disabled=${this.disabled}>\n ${this.balanceTemplate()}\n <wui-flex\n gap=\"xxs\"\n alignItems=\"center\"\n class=${(0,lit_directives_if_defined_js__WEBPACK_IMPORTED_MODULE_2__.ifDefined)(this.balance ? undefined : 'local-no-balance')}\n >\n <wui-avatar\n .imageSrc
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-account-button/styles.js":
|
|||
|
/*!*****************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-account-button/styles.js ***!
|
|||
|
\*****************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,lit__WEBPACK_IMPORTED_MODULE_0__.css) `\n :host {\n display: block;\n }\n\n button {\n border-radius: var(--wui-border-radius-3xl);\n background: var(--wui-gray-glass-002);\n display: flex;\n gap: var(--wui-spacing-xs);\n padding: var(--wui-spacing-3xs) var(--wui-spacing-xs) var(--wui-spacing-3xs)\n var(--wui-spacing-xs);\n border: 1px solid var(--wui-gray-glass-005);\n }\n\n button:disabled {\n background: var(--wui-gray-glass-015);\n }\n\n button:disabled > wui-text {\n color: var(--wui-gray-glass-015);\n }\n\n button:disabled > wui-flex > wui-text {\n color: var(--wui-gray-glass-015);\n }\n\n button:disabled > wui-image,\n button:disabled > wui-icon-box,\n button:disabled > wui-flex > wui-avatar {\n filter: grayscale(1);\n }\n\n button:has(wui-image) {\n padding: var(--wui-spacing-3xs) var(--wui-spacing-3xs) var(--wui-spacing-3xs)\n var(--wui-spacing-xs);\n }\n\n wui-text {\n color: var(--wui-color-fg-100);\n }\n\n wui-flex > wui-text {\n color: var(--wui-color-fg-200);\n transition: all var(--wui-ease-out-power-1) var(--wui-duration-lg);\n }\n\n wui-image,\n wui-icon-box {\n border-radius: var(--wui-border-radius-3xl);\n width: 24px;\n height: 24px;\n box-shadow: 0 0 0 2px var(--wui-gray-glass-005);\n }\n\n wui-flex {\n border-radius: var(--wui-border-radius-3xl);\n border: 1px solid var(--wui-gray-glass-005);\n background: var(--wui-gray-glass-005);\n padding: 4px var(--wui-spacing-m) 4px var(--wui-spacing-xxs);\n }\n\n wui-flex.local-no-balance {\n border-radius: 0px;\n border: none;\n background: transparent;\n }\n\n wui-avatar {\n width: 20px;\n height: 20px;\n box-shadow: 0 0 0 2px var(--wui-accent-glass-010);\n }\n\n @media (hover: hover) and (pointer: fine) {\n button:hover:enabled > wui-flex > wui-text {\n color: var(--wui-color-fg-175);\n }\n\n button:active:enabled > wui-flex > wui-text {\n color: var(--wui-color-fg-175);\n }\n }\n`);\n//# sourceMappingURL=styles.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/composites/wui-account-button/styles.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-all-wallets-image/index.js":
|
|||
|
/*!*******************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-all-wallets-image/index.js ***!
|
|||
|
\*******************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ WuiAllWalletsImage: () => (/* binding */ WuiAllWalletsImage)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n/* harmony import */ var lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lit/decorators.js */ \"./node_modules/@web3modal/ui/node_modules/lit/decorators.js\");\n/* harmony import */ var lit_directives_if_defined_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lit/directives/if-defined.js */ \"./node_modules/@web3modal/ui/node_modules/lit/directives/if-defined.js\");\n/* harmony import */ var _utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../utils/ThemeUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/ThemeUtil.js\");\n/* harmony import */ var _utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../utils/WebComponentsUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/WebComponentsUtil.js\");\n/* harmony import */ var _wui_wallet_image_index_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../wui-wallet-image/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-wallet-image/index.js\");\n/* harmony import */ var _styles_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./styles.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-all-wallets-image/styles.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\n\n\n\nconst TOTAL_IMAGES = 4;\nlet WuiAllWalletsImage = class WuiAllWalletsImage extends lit__WEBPACK_IMPORTED_MODULE_0__.LitElement {\n constructor() {\n super(...arguments);\n this.walletImages = [];\n }\n render() {\n const isPlaceholders = this.walletImages.length < TOTAL_IMAGES;\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `${this.walletImages\n .slice(0, TOTAL_IMAGES)\n .map(({ src, walletName }) => (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `\n <wui-wallet-image\n size=\"inherit\"\n imageSrc=${src}\n name=${(0,lit_directives_if_defined_js__WEBPACK_IMPORTED_MODULE_2__.ifDefined)(walletName)}\n ></wui-wallet-image>\n `)}\n ${isPlaceholders\n ? [...Array(TOTAL_IMAGES - this.walletImages.length)].map(() => (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) ` <wui-wallet-image size=\"inherit\" name=\"\"></wui-wallet-image>`)\n : null}`;\n }\n};\nWuiAllWalletsImage.styles = [_utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_3__.resetStyles, _styles_js__WEBPACK_IMPORTED_MODULE_6__[\"default\"]];\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)({ type: Array })\n], WuiAllWalletsImage.prototype, \"walletImages\", void 0);\nWuiAllWalletsImage = __decorate([\n (0,_utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_4__.customElement)('wui-all-wallets-image')\n], WuiAllWalletsImage);\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/composites/wui-all-wallets-image/index.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-all-wallets-image/styles.js":
|
|||
|
/*!********************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-all-wallets-image/styles.js ***!
|
|||
|
\********************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,lit__WEBPACK_IMPORTED_MODULE_0__.css) `\n :host {\n position: relative;\n border-radius: var(--wui-border-radius-xxs);\n width: 40px;\n height: 40px;\n overflow: hidden;\n background: var(--wui-gray-glass-002);\n display: flex;\n justify-content: center;\n align-items: center;\n flex-wrap: wrap;\n gap: var(--wui-spacing-4xs);\n padding: 3.75px !important;\n }\n\n :host::after {\n content: '';\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n border-radius: inherit;\n border: 1px solid var(--wui-gray-glass-010);\n pointer-events: none;\n }\n\n :host > wui-wallet-image {\n width: 14px;\n height: 14px;\n border-radius: var(--wui-border-radius-5xs);\n }\n`);\n//# sourceMappingURL=styles.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/composites/wui-all-wallets-image/styles.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-avatar/index.js":
|
|||
|
/*!********************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-avatar/index.js ***!
|
|||
|
\********************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ WuiAvatar: () => (/* binding */ WuiAvatar)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n/* harmony import */ var lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lit/decorators.js */ \"./node_modules/@web3modal/ui/node_modules/lit/decorators.js\");\n/* harmony import */ var _components_wui_image_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../components/wui-image/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/components/wui-image/index.js\");\n/* harmony import */ var _utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../utils/ThemeUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/ThemeUtil.js\");\n/* harmony import */ var _utils_UiHelperUtil_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../utils/UiHelperUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/UiHelperUtil.js\");\n/* harmony import */ var _utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../utils/WebComponentsUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/WebComponentsUtil.js\");\n/* harmony import */ var _styles_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./styles.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-avatar/styles.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\n\n\n\nlet WuiAvatar = class WuiAvatar extends lit__WEBPACK_IMPORTED_MODULE_0__.LitElement {\n constructor() {\n super(...arguments);\n this.imageSrc = undefined;\n this.alt = undefined;\n this.address = undefined;\n }\n render() {\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `${this.visualTemplate()}`;\n }\n visualTemplate() {\n if (this.imageSrc) {\n this.dataset['variant'] = 'image';\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `<wui-image src=${this.imageSrc} alt=${this.alt ?? 'avatar'}></wui-image>`;\n }\n else if (this.address) {\n this.dataset['variant'] = 'generated';\n const cssColors = _utils_UiHelperUtil_js__WEBPACK_IMPORTED_MODULE_4__.UiHelperUtil.generateAvatarColors(this.address);\n this.style.cssText = cssColors;\n return null;\n }\n this.dataset['variant'] = 'default';\n return null;\n }\n};\nWuiAvatar.styles = [_utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_3__.resetStyles, _styles_js__WEBPACK_IMPORTED_MODULE_6__[\"default\"]];\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiAvatar.prototype, \"imageSrc\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiAvatar.prototype, \"alt\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiAvatar.prototype, \"address\", void 0);\nWuiAvatar = __decorate([\n (0,_utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_5__.customElement)('wui-avatar')\n], WuiAvatar);\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/composites/wui-avatar/index.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-avatar/styles.js":
|
|||
|
/*!*********************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-avatar/styles.js ***!
|
|||
|
\*********************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,lit__WEBPACK_IMPORTED_MODULE_0__.css) `\n :host {\n display: block;\n width: 64px;\n height: 64px;\n border-radius: var(--wui-border-radius-3xl);\n box-shadow: 0 0 0 8px var(--wui-gray-glass-005);\n overflow: hidden;\n position: relative;\n }\n\n :host([data-variant='generated']) {\n --mixed-local-color-1: var(--local-color-1);\n --mixed-local-color-2: var(--local-color-2);\n --mixed-local-color-3: var(--local-color-3);\n --mixed-local-color-4: var(--local-color-4);\n --mixed-local-color-5: var(--local-color-5);\n }\n\n @supports (background: color-mix(in srgb, white 50%, black)) {\n :host([data-variant='generated']) {\n --mixed-local-color-1: color-mix(\n in srgb,\n var(--w3m-color-mix) var(--w3m-color-mix-strength),\n var(--local-color-1)\n );\n --mixed-local-color-2: color-mix(\n in srgb,\n var(--w3m-color-mix) var(--w3m-color-mix-strength),\n var(--local-color-2)\n );\n --mixed-local-color-3: color-mix(\n in srgb,\n var(--w3m-color-mix) var(--w3m-color-mix-strength),\n var(--local-color-3)\n );\n --mixed-local-color-4: color-mix(\n in srgb,\n var(--w3m-color-mix) var(--w3m-color-mix-strength),\n var(--local-color-4)\n );\n --mixed-local-color-5: color-mix(\n in srgb,\n var(--w3m-color-mix) var(--w3m-color-mix-strength),\n var(--local-color-5)\n );\n }\n }\n\n :host([data-variant='generated']) {\n box-shadow: 0 0 0 8px var(--wui-gray-glass-005);\n background: radial-gradient(\n 75.29% 75.29% at 64.96% 24.36%,\n #fff 0.52%,\n var(--mixed-local-color-5) 31.25%,\n var(--mixed-local-color-3) 51.56%,\n var(--mixed-local-color-2) 65.63%,\n var(--mixed-local-color-1) 82.29%,\n var(--mixed-local-color-4) 100%\n );\n }\n\n :host([data-variant='default']) {\n box-shadow: 0 0 0 8px var(--wui-gray-glass-005);\n background: radial-gradient(\n 75.29% 75.29% at 64.96% 24.36%,\n #fff 0.52%,\n #f5ccfc 31.25%,\n #dba4f5 51.56%,\n #9a8ee8 65.63%,\n #6493da 82.29%,\n #6ebdea 100%\n );\n }\n`);\n//# sourceMappingURL=styles.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/composites/wui-avatar/styles.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-button/index.js":
|
|||
|
/*!********************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-button/index.js ***!
|
|||
|
\********************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ WuiButton: () => (/* binding */ WuiButton)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n/* harmony import */ var lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lit/decorators.js */ \"./node_modules/@web3modal/ui/node_modules/lit/decorators.js\");\n/* harmony import */ var _components_wui_icon_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../components/wui-icon/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/components/wui-icon/index.js\");\n/* harmony import */ var _components_wui_loading_spinner_index_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../components/wui-loading-spinner/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/components/wui-loading-spinner/index.js\");\n/* harmony import */ var _components_wui_text_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../components/wui-text/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/components/wui-text/index.js\");\n/* harmony import */ var _utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../utils/ThemeUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/ThemeUtil.js\");\n/* harmony import */ var _utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../utils/WebComponentsUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/WebComponentsUtil.js\");\n/* harmony import */ var _styles_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./styles.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-button/styles.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\n\n\n\n\nlet WuiButton = class WuiButton extends lit__WEBPACK_IMPORTED_MODULE_0__.LitElement {\n constructor() {\n super(...arguments);\n this.size = 'md';\n this.disabled = false;\n this.fullWidth = false;\n this.loading = false;\n this.variant = 'fill';\n }\n render() {\n this.style.cssText = `\n --local-width: ${this.fullWidth ? '100%' : 'auto'};\n --local-opacity-100: ${this.loading ? 0 : 1};\n --local-opacity-000: ${this.loading ? 1 : 0};`;\n const textVariant = this.size === 'md' ? 'paragraph-600' : 'small-600';\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `\n <button\n data-variant=${this.variant}\n data-size=${this.size}\n ?disabled=${this.disabled || this.loading}\n ontouchstart\n >\n ${this.loadingTemplate()}\n <slot name=\"iconLeft\"></slot>\n <wui-text variant=${textVariant} color=\"inherit\">\n <slot></slot>\n </wui-text>\n <slot name=\"iconRight\"></slot>\n </button>\n `;\n }\n loadingTemplate() {\n if (this.loading) {\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `<wui-loading-spinner color=\"fg-300\"></wui-loading-spinner>`;\n }\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) ``;\n }\n};\nWuiButton.styles = [_utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_5__.resetStyles, _utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_5__.elementStyles, _styles_js__WEBPACK_IMPORTED_MODULE_7__[\"default\"]];\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n]
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-button/styles.js":
|
|||
|
/*!*********************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-button/styles.js ***!
|
|||
|
\*********************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,lit__WEBPACK_IMPORTED_MODULE_0__.css) `\n :host {\n width: var(--local-width);\n position: relative;\n }\n\n button {\n border: 1px solid var(--wui-gray-glass-010);\n border-radius: var(--wui-border-radius-m);\n width: var(--local-width);\n }\n\n button:disabled {\n border: 1px solid var(--wui-gray-glass-010);\n }\n\n button[data-size='sm'] {\n padding: 6px 12px;\n }\n\n ::slotted(*) {\n transition: opacity 200ms ease-in-out;\n opacity: var(--local-opacity-100);\n }\n\n button > wui-text {\n transition: opacity 200ms ease-in-out;\n opacity: var(--local-opacity-100);\n }\n\n button[data-size='md'] {\n padding: 9px var(--wui-spacing-l) 9px var(--wui-spacing-l);\n }\n\n wui-loading-spinner {\n position: absolute;\n left: 50%;\n top: 50%;\n transition: all 200ms ease-in-out;\n transform: translate(-50%, -50%);\n opacity: var(--local-opacity-000);\n }\n`);\n//# sourceMappingURL=styles.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/composites/wui-button/styles.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-card-select-loader/index.js":
|
|||
|
/*!********************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-card-select-loader/index.js ***!
|
|||
|
\********************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ WuiCardSelectLoader: () => (/* binding */ WuiCardSelectLoader)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n/* harmony import */ var lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lit/decorators.js */ \"./node_modules/@web3modal/ui/node_modules/lit/decorators.js\");\n/* harmony import */ var _assets_svg_network_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../assets/svg/network.js */ \"./node_modules/@web3modal/ui/dist/esm/src/assets/svg/network.js\");\n/* harmony import */ var _components_wui_shimmer_index_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../components/wui-shimmer/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/components/wui-shimmer/index.js\");\n/* harmony import */ var _utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../utils/ThemeUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/ThemeUtil.js\");\n/* harmony import */ var _utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../utils/WebComponentsUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/WebComponentsUtil.js\");\n/* harmony import */ var _styles_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./styles.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-card-select-loader/styles.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\n\n\n\nlet WuiCardSelectLoader = class WuiCardSelectLoader extends lit__WEBPACK_IMPORTED_MODULE_0__.LitElement {\n constructor() {\n super(...arguments);\n this.type = 'wallet';\n }\n render() {\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `\n ${this.shimmerTemplate()}\n <wui-shimmer width=\"56px\" height=\"20px\" borderRadius=\"xs\"></wui-shimmer>\n `;\n }\n shimmerTemplate() {\n if (this.type === 'network') {\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) ` <wui-shimmer\n data-type=${this.type}\n width=\"48px\"\n height=\"54px\"\n borderRadius=\"xs\"\n ></wui-shimmer>\n ${_assets_svg_network_js__WEBPACK_IMPORTED_MODULE_2__.networkSvg}`;\n }\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `<wui-shimmer width=\"56px\" height=\"56px\" borderRadius=\"xs\"></wui-shimmer>`;\n }\n};\nWuiCardSelectLoader.styles = [_utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_4__.resetStyles, _utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_4__.elementStyles, _styles_js__WEBPACK_IMPORTED_MODULE_6__[\"default\"]];\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiCardSelectLoader.prototype, \"type\", void 0);\nWuiCardSelectLoader = __decorate([\n (0,_utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_5__.customElement)('wui-card-select-loader')\n], WuiCardSelectLoader);\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/composites/wui-card-select-loader/index.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-card-select-loader/styles.js":
|
|||
|
/*!*********************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-card-select-loader/styles.js ***!
|
|||
|
\*********************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,lit__WEBPACK_IMPORTED_MODULE_0__.css) `\n :host {\n display: flex;\n flex-direction: column;\n align-items: center;\n width: 76px;\n row-gap: var(--wui-spacing-xs);\n padding: var(--wui-spacing-xs) 10px;\n background-color: var(--wui-gray-glass-002);\n border-radius: clamp(0px, var(--wui-border-radius-xs), 20px);\n position: relative;\n }\n\n wui-shimmer[data-type='network'] {\n border: none;\n -webkit-clip-path: var(--wui-path-network);\n clip-path: var(--wui-path-network);\n }\n\n svg {\n position: absolute;\n width: 48px;\n height: 54px;\n z-index: 1;\n }\n\n svg > path {\n stroke: var(--wui-gray-glass-010);\n stroke-width: 1px;\n }\n`);\n//# sourceMappingURL=styles.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/composites/wui-card-select-loader/styles.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-card-select/index.js":
|
|||
|
/*!*************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-card-select/index.js ***!
|
|||
|
\*************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ WuiCardSelect: () => (/* binding */ WuiCardSelect)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n/* harmony import */ var lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lit/decorators.js */ \"./node_modules/@web3modal/ui/node_modules/lit/decorators.js\");\n/* harmony import */ var lit_directives_if_defined_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lit/directives/if-defined.js */ \"./node_modules/@web3modal/ui/node_modules/lit/directives/if-defined.js\");\n/* harmony import */ var _components_wui_text_index_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../components/wui-text/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/components/wui-text/index.js\");\n/* harmony import */ var _utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../utils/ThemeUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/ThemeUtil.js\");\n/* harmony import */ var _utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../utils/WebComponentsUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/WebComponentsUtil.js\");\n/* harmony import */ var _wui_network_image_index_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../wui-network-image/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-network-image/index.js\");\n/* harmony import */ var _wui_wallet_image_index_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../wui-wallet-image/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-wallet-image/index.js\");\n/* harmony import */ var _styles_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./styles.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-card-select/styles.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\n\n\n\n\n\nlet WuiCardSelect = class WuiCardSelect extends lit__WEBPACK_IMPORTED_MODULE_0__.LitElement {\n constructor() {\n super(...arguments);\n this.name = 'Unknown';\n this.type = 'wallet';\n this.imageSrc = undefined;\n this.disabled = false;\n this.selected = false;\n }\n render() {\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `\n <button data-selected=${(0,lit_directives_if_defined_js__WEBPACK_IMPORTED_MODULE_2__.ifDefined)(this.selected)} ?disabled=${this.disabled} ontouchstart>\n ${this.imageTemplate()}\n <wui-text variant=\"tiny-500\" color=${this.selected ? 'accent-100' : 'inherit'}>\n ${this.name}\n </wui-text>\n </button>\n `;\n }\n imageTemplate() {\n if (this.type === 'network') {\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `\n <wui-network-image\n .selected=${this.selected}\n imageSrc=${(0,lit_directives_if_defined_js__WEBPACK_IMPORTED_MODULE_2__.ifDefined)(this.imageSrc)}\n name=${this.name}\n >\n </wui-network-image>\n `;\n }\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `\n <wui-wallet-image size=\"md\" imageSrc=${(0,lit_directives_if_defined_js__WEBPACK_IMPORTED_MODULE_2__.ifDefined)(this.imageSrc)} name=${this.name}>\n </wui-wallet-image>\n `;\n }\n};\nWuiCardSelect
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-card-select/styles.js":
|
|||
|
/*!**************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-card-select/styles.js ***!
|
|||
|
\**************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,lit__WEBPACK_IMPORTED_MODULE_0__.css) `\n button {\n flex-direction: column;\n width: 76px;\n row-gap: var(--wui-spacing-xs);\n padding: var(--wui-spacing-xs) var(--wui-spacing-0);\n background-color: var(--wui-gray-glass-002);\n border-radius: clamp(0px, var(--wui-border-radius-xs), 20px);\n }\n\n button > wui-text {\n color: var(--wui-color-fg-100);\n max-width: 64px;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n justify-content: center;\n }\n\n button:disabled > wui-text {\n color: var(--wui-gray-glass-015);\n }\n\n [data-selected='true'] {\n background-color: var(--wui-accent-glass-020);\n }\n\n @media (hover: hover) and (pointer: fine) {\n [data-selected='true']:hover:enabled {\n background-color: var(--wui-accent-glass-015);\n }\n }\n\n [data-selected='true']:active:enabled {\n background-color: var(--wui-accent-glass-010);\n }\n`);\n//# sourceMappingURL=styles.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/composites/wui-card-select/styles.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-chip/index.js":
|
|||
|
/*!******************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-chip/index.js ***!
|
|||
|
\******************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ WuiChip: () => (/* binding */ WuiChip)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n/* harmony import */ var lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lit/decorators.js */ \"./node_modules/@web3modal/ui/node_modules/lit/decorators.js\");\n/* harmony import */ var _components_wui_icon_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../components/wui-icon/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/components/wui-icon/index.js\");\n/* harmony import */ var _components_wui_image_index_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../components/wui-image/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/components/wui-image/index.js\");\n/* harmony import */ var _components_wui_text_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../components/wui-text/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/components/wui-text/index.js\");\n/* harmony import */ var _utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../utils/ThemeUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/ThemeUtil.js\");\n/* harmony import */ var _utils_UiHelperUtil_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../utils/UiHelperUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/UiHelperUtil.js\");\n/* harmony import */ var _utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../utils/WebComponentsUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/WebComponentsUtil.js\");\n/* harmony import */ var _styles_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./styles.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-chip/styles.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\n\n\n\n\n\nlet WuiChip = class WuiChip extends lit__WEBPACK_IMPORTED_MODULE_0__.LitElement {\n constructor() {\n super(...arguments);\n this.variant = 'fill';\n this.imageSrc = undefined;\n this.disabled = false;\n this.icon = 'externalLink';\n this.href = '';\n }\n render() {\n const textVariant = this.variant === 'transparent' ? 'small-600' : 'paragraph-600';\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `\n <a\n rel=\"noreferrer\"\n target=\"_blank\"\n href=${this.href}\n class=${this.disabled ? 'disabled' : ''}\n data-variant=${this.variant}\n >\n ${this.imageTemplate()}\n <wui-text variant=${textVariant} color=\"inherit\">\n ${_utils_UiHelperUtil_js__WEBPACK_IMPORTED_MODULE_6__.UiHelperUtil.getHostName(this.href)}\n </wui-text>\n <wui-icon name=${this.icon} color=\"inherit\" size=\"inherit\"></wui-icon>\n </a>\n `;\n }\n imageTemplate() {\n if (this.imageSrc) {\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `<wui-image src=${this.imageSrc}></wui-image>`;\n }\n return null;\n }\n};\nWuiChip.styles = [_utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_5__.resetStyles, _utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_5__.elementStyles, _styles_js__WEBPACK_IMPORTED_MODULE_8__[\"default\"]];\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-chip/styles.js":
|
|||
|
/*!*******************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-chip/styles.js ***!
|
|||
|
\*******************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,lit__WEBPACK_IMPORTED_MODULE_0__.css) `\n a {\n border: 1px solid var(--wui-gray-glass-010);\n border-radius: var(--wui-border-radius-3xl);\n }\n\n wui-image {\n border-radius: var(--wui-border-radius-3xl);\n overflow: hidden;\n }\n\n a.disabled > wui-icon,\n a.disabled > wui-image {\n filter: grayscale(1);\n }\n\n a[data-variant='fill'] {\n color: var(--wui-color-inverse-100);\n background-color: var(--wui-color-accent-100);\n }\n\n a[data-variant='shade'] {\n background-color: transparent;\n background-color: var(--wui-gray-glass-010);\n color: var(--wui-color-fg-200);\n }\n\n a[data-variant='transparent'] {\n column-gap: var(--wui-spacing-xxs);\n background-color: transparent;\n padding: 7px var(--wui-spacing-s) 7px 10px;\n color: var(--wui-color-fg-150);\n }\n\n a[data-variant='transparent']:has(wui-text:first-child) {\n padding: 7px var(--wui-spacing-s);\n }\n\n a[data-variant='fill'],\n a[data-variant='shade'] {\n column-gap: var(--wui-spacing-xs);\n padding: var(--wui-spacing-xxs) var(--wui-spacing-m) var(--wui-spacing-xxs)\n var(--wui-spacing-xs);\n }\n\n a[data-variant='fill']:has(wui-text:first-child),\n a[data-variant='shade']:has(wui-text:first-child) {\n padding: 8.5px var(--wui-spacing-m) 9.5px var(--wui-spacing-m);\n }\n\n a[data-variant='fill'] > wui-image,\n a[data-variant='shade'] > wui-image {\n width: 24px;\n height: 24px;\n }\n\n a[data-variant='fill'] > wui-image {\n border: 1px solid var(--wui-color-accent-090);\n }\n\n a[data-variant='shade'] > wui-image {\n border: 1px solid var(--wui-gray-glass-010);\n }\n\n a[data-variant='fill'] > wui-icon,\n a[data-variant='shade'] > wui-icon {\n width: 14px;\n height: 14px;\n }\n\n a[data-variant='transparent'] > wui-image {\n width: 14px;\n height: 14px;\n }\n\n a[data-variant='transparent'] > wui-icon {\n width: 12px;\n height: 12px;\n }\n\n a[data-variant='fill']:focus-visible {\n background-color: var(--wui-color-accent-090);\n }\n\n a[data-variant='shade']:focus-visible {\n background-color: var(--wui-gray-glass-015);\n }\n\n a[data-variant='transparent']:focus-visible {\n background-color: var(--wui-gray-glass-005);\n }\n\n a.disabled {\n color: var(--wui-gray-glass-015);\n background-color: var(--wui-gray-glass-015);\n pointer-events: none;\n }\n\n @media (hover: hover) and (pointer: fine) {\n a[data-variant='fill']:hover {\n background-color: var(--wui-color-accent-090);\n }\n\n a[data-variant='shade']:hover {\n background-color: var(--wui-gray-glass-015);\n }\n\n a[data-variant='transparent']:hover {\n background-color: var(--wui-gray-glass-005);\n }\n }\n\n a[data-variant='fill']:active {\n background-color: var(--wui-color-accent-080);\n }\n\n a[data-variant='shade']:active {\n background-color: var(--wui-gray-glass-020);\n }\n\n a[data-variant='transparent']:active {\n background-color: var(--wui-gray-glass-010);\n }\n`);\n//# sourceMappingURL=styles.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/composites/wui-chip/styles.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-connect-button/index.js":
|
|||
|
/*!****************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-connect-button/index.js ***!
|
|||
|
\****************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ WuiConnectButton: () => (/* binding */ WuiConnectButton)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n/* harmony import */ var lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lit/decorators.js */ \"./node_modules/@web3modal/ui/node_modules/lit/decorators.js\");\n/* harmony import */ var _components_wui_icon_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../components/wui-icon/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/components/wui-icon/index.js\");\n/* harmony import */ var _components_wui_loading_spinner_index_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../components/wui-loading-spinner/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/components/wui-loading-spinner/index.js\");\n/* harmony import */ var _components_wui_text_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../components/wui-text/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/components/wui-text/index.js\");\n/* harmony import */ var _utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../utils/ThemeUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/ThemeUtil.js\");\n/* harmony import */ var _utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../utils/WebComponentsUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/WebComponentsUtil.js\");\n/* harmony import */ var _styles_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./styles.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-connect-button/styles.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\n\n\n\n\nlet WuiConnectButton = class WuiConnectButton extends lit__WEBPACK_IMPORTED_MODULE_0__.LitElement {\n constructor() {\n super(...arguments);\n this.size = 'md';\n this.loading = false;\n }\n render() {\n const textVariant = this.size === 'md' ? 'paragraph-600' : 'small-600';\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `\n <button data-size=${this.size} ?disabled=${this.loading} ontouchstart>\n ${this.loadingTemplate()}\n <wui-text variant=${textVariant} color=${this.loading ? 'accent-100' : 'inherit'}>\n <slot></slot>\n </wui-text>\n </button>\n `;\n }\n loadingTemplate() {\n if (!this.loading) {\n return null;\n }\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `<wui-loading-spinner size=${this.size} color=\"accent-100\"></wui-loading-spinner>`;\n }\n};\nWuiConnectButton.styles = [_utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_5__.resetStyles, _utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_5__.elementStyles, _styles_js__WEBPACK_IMPORTED_MODULE_7__[\"default\"]];\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiConnectButton.prototype, \"size\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)({ type: Boolean })\n], WuiConnectButton.prototype, \"loading\", void 0);\nWuiConnectButton = __decorate([\n (0,_utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_6__.customElement)('wui-connect-button')\n], WuiConnectButton);\n\n//# sourceMappingURL=index.js.map\n\n//# sou
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-connect-button/styles.js":
|
|||
|
/*!*****************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-connect-button/styles.js ***!
|
|||
|
\*****************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,lit__WEBPACK_IMPORTED_MODULE_0__.css) `\n :host {\n position: relative;\n display: block;\n }\n\n button {\n background: var(--wui-color-accent-100);\n border: 1px solid var(--wui-gray-glass-010);\n border-radius: var(--wui-border-radius-m);\n gap: var(--wui-spacing-xs);\n }\n\n button.loading {\n background: var(--wui-gray-glass-010);\n border: 1px solid var(--wui-gray-glass-010);\n pointer-events: none;\n }\n\n button:disabled {\n background-color: var(--wui-gray-glass-015);\n border: 1px solid var(--wui-gray-glass-010);\n }\n\n button:disabled > wui-text {\n color: var(--wui-gray-glass-015);\n }\n\n @media (hover: hover) and (pointer: fine) {\n button:hover:enabled {\n background-color: var(--wui-color-accent-090);\n }\n\n button:active:enabled {\n background-color: var(--wui-color-accent-080);\n }\n }\n\n button:focus-visible {\n border: 1px solid var(--wui-gray-glass-010);\n background-color: var(--wui-color-accent-090);\n -webkit-box-shadow: 0px 0px 0px 4px var(--wui-box-shadow-blue);\n -moz-box-shadow: 0px 0px 0px 4px var(--wui-box-shadow-blue);\n box-shadow: 0px 0px 0px 4px var(--wui-box-shadow-blue);\n }\n\n button[data-size='sm'] {\n padding: 6.75px 10px 7.25px;\n }\n\n ::slotted(*) {\n transition: opacity 200ms ease-in-out;\n opacity: var(--local-opacity-100);\n }\n\n button > wui-text {\n transition: opacity 200ms ease-in-out;\n opacity: var(--local-opacity-100);\n color: var(--wui-color-inverse-100);\n }\n\n button[data-size='md'] {\n padding: 9px var(--wui-spacing-l) 9px var(--wui-spacing-l);\n }\n\n button[data-size='md'] + wui-text {\n padding-left: var(--wui-spacing-3xs);\n }\n\n wui-loading-spinner {\n width: 14px;\n height: 14px;\n }\n\n wui-loading-spinner::slotted(svg) {\n width: 10px !important;\n height: 10px !important;\n }\n\n button[data-size='sm'] > wui-loading-spinner {\n width: 12px;\n height: 12px;\n }\n`);\n//# sourceMappingURL=styles.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/composites/wui-connect-button/styles.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-cta-button/index.js":
|
|||
|
/*!************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-cta-button/index.js ***!
|
|||
|
\************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ WuiCtaButton: () => (/* binding */ WuiCtaButton)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n/* harmony import */ var lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lit/decorators.js */ \"./node_modules/@web3modal/ui/node_modules/lit/decorators.js\");\n/* harmony import */ var _components_wui_icon_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../components/wui-icon/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/components/wui-icon/index.js\");\n/* harmony import */ var _components_wui_text_index_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../components/wui-text/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/components/wui-text/index.js\");\n/* harmony import */ var _composites_wui_button_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../composites/wui-button/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-button/index.js\");\n/* harmony import */ var _layout_wui_flex_index_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../layout/wui-flex/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/layout/wui-flex/index.js\");\n/* harmony import */ var _utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../utils/ThemeUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/ThemeUtil.js\");\n/* harmony import */ var _utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../utils/WebComponentsUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/WebComponentsUtil.js\");\n/* harmony import */ var _styles_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./styles.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-cta-button/styles.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\n\n\n\n\n\nlet WuiCtaButton = class WuiCtaButton extends lit__WEBPACK_IMPORTED_MODULE_0__.LitElement {\n constructor() {\n super(...arguments);\n this.disabled = false;\n this.label = '';\n this.buttonLabel = '';\n }\n render() {\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `\n <wui-flex\n justifyContent=\"space-between\"\n alignItems=\"center\"\n .padding=${['1xs', '2l', '1xs', '2l']}\n >\n <wui-text variant=\"paragraph-500\" colo=\"fg-200\">${this.label}</wui-text>\n <wui-button size=\"sm\" variant=\"accent\">\n ${this.buttonLabel}\n <wui-icon size=\"sm\" color=\"inherit\" slot=\"iconRight\" name=\"chevronRight\"></wui-icon>\n </wui-button>\n </wui-flex>\n `;\n }\n};\nWuiCtaButton.styles = [_utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_6__.resetStyles, _utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_6__.elementStyles, _styles_js__WEBPACK_IMPORTED_MODULE_8__[\"default\"]];\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)({ type: Boolean })\n], WuiCtaButton.prototype, \"disabled\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiCtaButton.prototype, \"label\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiCtaButton.prototype, \"buttonLabel\", void 0);\nWuiCtaB
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-cta-button/styles.js":
|
|||
|
/*!*************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-cta-button/styles.js ***!
|
|||
|
\*************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,lit__WEBPACK_IMPORTED_MODULE_0__.css) `\n wui-flex {\n width: 100%;\n background-color: var(--wui-gray-glass-002);\n border-radius: var(--wui-border-radius-xs);\n }\n`);\n//# sourceMappingURL=styles.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/composites/wui-cta-button/styles.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-email-input/index.js":
|
|||
|
/*!*************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-email-input/index.js ***!
|
|||
|
\*************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ WuiEmailInput: () => (/* binding */ WuiEmailInput)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n/* harmony import */ var lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lit/decorators.js */ \"./node_modules/@web3modal/ui/node_modules/lit/decorators.js\");\n/* harmony import */ var _components_wui_icon_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../components/wui-icon/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/components/wui-icon/index.js\");\n/* harmony import */ var _components_wui_text_index_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../components/wui-text/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/components/wui-text/index.js\");\n/* harmony import */ var _utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../utils/ThemeUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/ThemeUtil.js\");\n/* harmony import */ var _utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../utils/WebComponentsUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/WebComponentsUtil.js\");\n/* harmony import */ var _wui_input_text_index_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../wui-input-text/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-input-text/index.js\");\n/* harmony import */ var _styles_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./styles.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-email-input/styles.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\n\n\n\n\nlet WuiEmailInput = class WuiEmailInput extends lit__WEBPACK_IMPORTED_MODULE_0__.LitElement {\n render() {\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `\n <wui-input-text placeholder=\"Email\" icon=\"mail\" size=\"md\">\n <wui-icon size=\"inherit\" color=\"fg-100\" name=\"chevronRight\"></wui-icon>\n </wui-input-text>\n ${this.templateError()}\n `;\n }\n templateError() {\n if (this.errorMessage) {\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `<wui-text variant=\"tiny-500\" color=\"error-100\">${this.errorMessage}</wui-text>`;\n }\n return null;\n }\n};\nWuiEmailInput.styles = [_utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_4__.resetStyles, _styles_js__WEBPACK_IMPORTED_MODULE_7__[\"default\"]];\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiEmailInput.prototype, \"errorMessage\", void 0);\nWuiEmailInput = __decorate([\n (0,_utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_5__.customElement)('wui-email-input')\n], WuiEmailInput);\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/composites/wui-email-input/index.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-email-input/styles.js":
|
|||
|
/*!**************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-email-input/styles.js ***!
|
|||
|
\**************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,lit__WEBPACK_IMPORTED_MODULE_0__.css) `\n :host {\n position: relative;\n display: inline-block;\n }\n\n wui-icon {\n padding: var(--wui-spacing-xl);\n cursor: pointer;\n transition: all var(--wui-duration-lg) var(--wui-ease-in-power-1);\n }\n\n wui-icon:hover {\n color: var(--wui-color-fg-200) !important;\n }\n\n wui-icon::part(chevronRight) {\n width: 12px;\n height: 12px;\n }\n\n wui-text {\n margin: var(--wui-spacing-xxs) var(--wui-spacing-m) var(--wui-spacing-0) var(--wui-spacing-m);\n }\n`);\n//# sourceMappingURL=styles.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/composites/wui-email-input/styles.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-icon-box/index.js":
|
|||
|
/*!**********************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-icon-box/index.js ***!
|
|||
|
\**********************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ WuiIconBox: () => (/* binding */ WuiIconBox)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n/* harmony import */ var lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lit/decorators.js */ \"./node_modules/@web3modal/ui/node_modules/lit/decorators.js\");\n/* harmony import */ var _components_wui_icon_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../components/wui-icon/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/components/wui-icon/index.js\");\n/* harmony import */ var _utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../utils/ThemeUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/ThemeUtil.js\");\n/* harmony import */ var _utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../utils/WebComponentsUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/WebComponentsUtil.js\");\n/* harmony import */ var _styles_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./styles.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-icon-box/styles.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\n\n\nlet WuiIconBox = class WuiIconBox extends lit__WEBPACK_IMPORTED_MODULE_0__.LitElement {\n constructor() {\n super(...arguments);\n this.size = 'md';\n this.backgroundColor = 'accent-100';\n this.iconColor = 'accent-100';\n this.background = 'transparent';\n this.border = false;\n this.borderColor = 'wui-color-bg-125';\n this.icon = 'copy';\n }\n render() {\n const iconSize = this.iconSize || this.size;\n const isLg = this.size === 'lg';\n const bgMix = isLg ? '12%' : '16%';\n const borderRadius = isLg ? 'xxs' : '3xl';\n const isGray = this.background === 'gray';\n const isOpaque = this.background === 'opaque';\n const isColorChange = (this.backgroundColor === 'accent-100' && isOpaque) ||\n (this.backgroundColor === 'success-100' && isOpaque) ||\n (this.backgroundColor === 'error-100' && isOpaque) ||\n (this.backgroundColor === 'inverse-100' && isOpaque);\n let bgValueVariable = `var(--wui-color-${this.backgroundColor})`;\n if (isColorChange) {\n bgValueVariable = `var(--wui-icon-box-bg-${this.backgroundColor})`;\n }\n else if (isGray) {\n bgValueVariable = `var(--wui-gray-${this.backgroundColor})`;\n }\n this.style.cssText = `\n --local-bg-value: ${bgValueVariable};\n --local-bg-mix: ${isColorChange || isGray ? `100%` : bgMix};\n --local-border-radius: var(--wui-border-radius-${borderRadius});\n --local-size: var(--wui-icon-box-size-${this.size});\n --local-border: ${this.borderColor === 'wui-color-bg-125' ? `2px` : `1px`} solid ${this.border ? `var(--${this.borderColor})` : `transparent`}\n `;\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) ` <wui-icon color=${this.iconColor} size=${iconSize} name=${this.icon}></wui-icon> `;\n }\n};\nWuiIconBox.styles = [_utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_3__.resetStyles, _utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_3__.elementStyles, _styles_js__WEBPACK_IMPORTED_MODULE_5__[\"
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-icon-box/styles.js":
|
|||
|
/*!***********************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-icon-box/styles.js ***!
|
|||
|
\***********************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,lit__WEBPACK_IMPORTED_MODULE_0__.css) `\n :host {\n display: inline-flex;\n justify-content: center;\n align-items: center;\n position: relative;\n overflow: hidden;\n background-color: var(--wui-gray-glass-020);\n border-radius: var(--local-border-radius);\n box-shadow: 0 0 0 1px var(--local-border);\n width: var(--local-size);\n height: var(--local-size);\n min-height: var(--local-size);\n min-width: var(--local-size);\n }\n\n @supports (background: color-mix(in srgb, white 50%, black)) {\n :host {\n background-color: color-mix(in srgb, var(--local-bg-value) var(--local-bg-mix), transparent);\n }\n }\n`);\n//# sourceMappingURL=styles.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/composites/wui-icon-box/styles.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-icon-link/index.js":
|
|||
|
/*!***********************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-icon-link/index.js ***!
|
|||
|
\***********************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ WuiIconLink: () => (/* binding */ WuiIconLink)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n/* harmony import */ var lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lit/decorators.js */ \"./node_modules/@web3modal/ui/node_modules/lit/decorators.js\");\n/* harmony import */ var _components_wui_icon_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../components/wui-icon/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/components/wui-icon/index.js\");\n/* harmony import */ var _utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../utils/ThemeUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/ThemeUtil.js\");\n/* harmony import */ var _utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../utils/WebComponentsUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/WebComponentsUtil.js\");\n/* harmony import */ var _styles_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./styles.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-icon-link/styles.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\n\n\nlet WuiIconLink = class WuiIconLink extends lit__WEBPACK_IMPORTED_MODULE_0__.LitElement {\n constructor() {\n super(...arguments);\n this.size = 'md';\n this.disabled = false;\n this.icon = 'copy';\n this.iconColor = 'inherit';\n }\n render() {\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `\n <button ?disabled=${this.disabled} ontouchstart>\n <wui-icon color=${this.iconColor} size=${this.size} name=${this.icon}></wui-icon>\n </button>\n `;\n }\n};\nWuiIconLink.styles = [_utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_3__.resetStyles, _utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_3__.elementStyles, _utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_3__.colorStyles, _styles_js__WEBPACK_IMPORTED_MODULE_5__[\"default\"]];\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiIconLink.prototype, \"size\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)({ type: Boolean })\n], WuiIconLink.prototype, \"disabled\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiIconLink.prototype, \"icon\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiIconLink.prototype, \"iconColor\", void 0);\nWuiIconLink = __decorate([\n (0,_utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_4__.customElement)('wui-icon-link')\n], WuiIconLink);\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/composites/wui-icon-link/index.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-icon-link/styles.js":
|
|||
|
/*!************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-icon-link/styles.js ***!
|
|||
|
\************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,lit__WEBPACK_IMPORTED_MODULE_0__.css) `\n button {\n border-radius: var(--wui-border-radius-xxs);\n color: var(--wui-color-fg-100);\n padding: var(--wui-spacing-2xs);\n }\n\n @media (max-width: 700px) {\n button {\n padding: var(--wui-spacing-s);\n }\n }\n\n button > wui-icon {\n pointer-events: none;\n }\n\n button:disabled > wui-icon {\n color: var(--wui-color-bg-300) !important;\n }\n\n button:disabled {\n background-color: transparent;\n }\n`);\n//# sourceMappingURL=styles.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/composites/wui-icon-link/styles.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-input-element/index.js":
|
|||
|
/*!***************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-input-element/index.js ***!
|
|||
|
\***************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ WuiInputElement: () => (/* binding */ WuiInputElement)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n/* harmony import */ var lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lit/decorators.js */ \"./node_modules/@web3modal/ui/node_modules/lit/decorators.js\");\n/* harmony import */ var _components_wui_icon_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../components/wui-icon/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/components/wui-icon/index.js\");\n/* harmony import */ var _utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../utils/ThemeUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/ThemeUtil.js\");\n/* harmony import */ var _utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../utils/WebComponentsUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/WebComponentsUtil.js\");\n/* harmony import */ var _styles_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./styles.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-input-element/styles.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\n\n\nlet WuiInputElement = class WuiInputElement extends lit__WEBPACK_IMPORTED_MODULE_0__.LitElement {\n constructor() {\n super(...arguments);\n this.icon = 'copy';\n }\n render() {\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `\n <button>\n <wui-icon color=\"inherit\" size=\"xxs\" name=${this.icon}></wui-icon>\n </button>\n `;\n }\n};\nWuiInputElement.styles = [_utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_3__.resetStyles, _utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_3__.elementStyles, _styles_js__WEBPACK_IMPORTED_MODULE_5__[\"default\"]];\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiInputElement.prototype, \"icon\", void 0);\nWuiInputElement = __decorate([\n (0,_utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_4__.customElement)('wui-input-element')\n], WuiInputElement);\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/composites/wui-input-element/index.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-input-element/styles.js":
|
|||
|
/*!****************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-input-element/styles.js ***!
|
|||
|
\****************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,lit__WEBPACK_IMPORTED_MODULE_0__.css) `\n button {\n background-color: var(--wui-color-fg-300);\n border-radius: var(--wui-border-radius-4xs);\n width: 16px;\n height: 16px;\n }\n\n button:disabled {\n background-color: var(--wui-color-bg-300);\n }\n\n wui-icon {\n color: var(--wui-color-bg-200) !important;\n }\n\n button:focus-visible {\n background-color: var(--wui-color-fg-250);\n border: 1px solid var(--wui-color-accent-100);\n }\n\n button:active:enabled {\n background-color: var(--wui-color-fg-225);\n }\n\n @media (hover: hover) and (pointer: fine) {\n button:hover:enabled {\n background-color: var(--wui-color-fg-250);\n }\n }\n`);\n//# sourceMappingURL=styles.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/composites/wui-input-element/styles.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-input-numeric/index.js":
|
|||
|
/*!***************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-input-numeric/index.js ***!
|
|||
|
\***************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ WuiInputNumeric: () => (/* binding */ WuiInputNumeric)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n/* harmony import */ var lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lit/decorators.js */ \"./node_modules/@web3modal/ui/node_modules/lit/decorators.js\");\n/* harmony import */ var _utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../utils/ThemeUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/ThemeUtil.js\");\n/* harmony import */ var _utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../utils/WebComponentsUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/WebComponentsUtil.js\");\n/* harmony import */ var _styles_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./styles.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-input-numeric/styles.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\n\nlet WuiInputNumeric = class WuiInputNumeric extends lit__WEBPACK_IMPORTED_MODULE_0__.LitElement {\n constructor() {\n super(...arguments);\n this.disabled = false;\n }\n render() {\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `<input\n type=\"number\"\n maxlength=\"1\"\n inputmode=\"numeric\"\n autofocus\n ?disabled=${this.disabled}\n /> `;\n }\n};\nWuiInputNumeric.styles = [_utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_2__.resetStyles, _utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_2__.elementStyles, _styles_js__WEBPACK_IMPORTED_MODULE_4__[\"default\"]];\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)({ type: Boolean })\n], WuiInputNumeric.prototype, \"disabled\", void 0);\nWuiInputNumeric = __decorate([\n (0,_utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_3__.customElement)('wui-input-numeric')\n], WuiInputNumeric);\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/composites/wui-input-numeric/index.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-input-numeric/styles.js":
|
|||
|
/*!****************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-input-numeric/styles.js ***!
|
|||
|
\****************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,lit__WEBPACK_IMPORTED_MODULE_0__.css) `\n :host {\n position: relative;\n display: inline-block;\n }\n\n input {\n width: 50px;\n height: 50px;\n background: var(--wui-gray-glass-005);\n border-radius: var(--wui-border-radius-xs);\n border: 1px solid var(--wui-gray-glass-005);\n font-family: var(--wui-font-family);\n font-size: var(--wui-font-size-large);\n font-weight: var(--wui-font-weight-regular);\n letter-spacing: var(--wui-letter-spacing-large);\n text-align: center;\n color: var(--wui-color-fg-100);\n caret-color: var(--wui-color-accent-100);\n transition: all var(--wui-ease-inout-power-1) var(--wui-duration-lg);\n box-sizing: border-box;\n -webkit-appearance: none;\n -moz-appearance: textfield;\n padding: 0px;\n }\n\n input::-webkit-outer-spin-button,\n input::-webkit-inner-spin-button {\n -webkit-appearance: none;\n margin: 0;\n }\n\n input[type='number'] {\n -moz-appearance: textfield;\n }\n\n input:disabled {\n cursor: not-allowed;\n border: 1px solid var(--wui-gray-glass-010);\n background: var(--wui-gray-glass-015);\n }\n\n input:focus:enabled {\n transition: all var(--wui-ease-out-power-2) var(--wui-duration-sm);\n background-color: var(--wui-gray-glass-010);\n border: 1px solid var(--wui-color-accent-100);\n -webkit-box-shadow: 0px 0px 0px 4px var(--wui-box-shadow-blue);\n -moz-box-shadow: 0px 0px 0px 4px var(--wui-box-shadow-blue);\n box-shadow: 0px 0px 0px 4px var(--wui-box-shadow-blue);\n }\n\n input:hover:enabled {\n background-color: var(--wui-gray-glass-010);\n }\n`);\n//# sourceMappingURL=styles.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/composites/wui-input-numeric/styles.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-input-text/index.js":
|
|||
|
/*!************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-input-text/index.js ***!
|
|||
|
\************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ WuiInputText: () => (/* binding */ WuiInputText)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n/* harmony import */ var lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lit/decorators.js */ \"./node_modules/@web3modal/ui/node_modules/lit/decorators.js\");\n/* harmony import */ var lit_directives_if_defined_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lit/directives/if-defined.js */ \"./node_modules/@web3modal/ui/node_modules/lit/directives/if-defined.js\");\n/* harmony import */ var lit_directives_ref_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! lit/directives/ref.js */ \"./node_modules/@web3modal/ui/node_modules/lit/directives/ref.js\");\n/* harmony import */ var _components_wui_icon_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../components/wui-icon/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/components/wui-icon/index.js\");\n/* harmony import */ var _utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../utils/ThemeUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/ThemeUtil.js\");\n/* harmony import */ var _utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../utils/WebComponentsUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/WebComponentsUtil.js\");\n/* harmony import */ var _styles_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./styles.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-input-text/styles.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\n\n\n\n\nlet WuiInputText = class WuiInputText extends lit__WEBPACK_IMPORTED_MODULE_0__.LitElement {\n constructor() {\n super(...arguments);\n this.size = 'md';\n this.disabled = false;\n this.placeholder = '';\n this.type = 'text';\n this.inputElementRef = (0,lit_directives_ref_js__WEBPACK_IMPORTED_MODULE_3__.createRef)();\n }\n render() {\n const sizeClass = `wui-size-${this.size}`;\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) ` ${this.templateIcon()}\n <input\n ${(0,lit_directives_ref_js__WEBPACK_IMPORTED_MODULE_3__.ref)(this.inputElementRef)}\n class=${sizeClass}\n type=${this.type}\n enterkeyhint=${(0,lit_directives_if_defined_js__WEBPACK_IMPORTED_MODULE_2__.ifDefined)(this.enterKeyHint)}\n ?disabled=${this.disabled}\n placeholder=${this.placeholder}\n @input=${this.dispatchInputChangeEvent.bind(this)}\n />\n <slot></slot>`;\n }\n templateIcon() {\n if (this.icon) {\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `<wui-icon\n data-input=${this.size}\n size=\"md\"\n color=\"inherit\"\n name=${this.icon}\n ></wui-icon>`;\n }\n return null;\n }\n dispatchInputChangeEvent() {\n this.dispatchEvent(new CustomEvent('inputChange', {\n detail: this.inputElementRef.value?.value,\n bubbles: true,\n composed: true\n }));\n }\n};\nWuiInputText.styles = [_utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_5__.resetStyles, _utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_5__.elementStyles, _styles_js__WEBPACK_IMPORTED_MOD
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-input-text/styles.js":
|
|||
|
/*!*************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-input-text/styles.js ***!
|
|||
|
\*************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,lit__WEBPACK_IMPORTED_MODULE_0__.css) `\n :host {\n position: relative;\n width: 100%;\n display: inline-block;\n color: var(--wui-color-fg-275);\n }\n\n input {\n width: 100%;\n border-radius: var(--wui-border-radius-xxs);\n border: 1px solid var(--wui-gray-glass-005);\n background: var(--wui-gray-glass-005);\n font-size: var(--wui-font-size-paragraph);\n font-weight: var(--wui-font-weight-regular);\n letter-spacing: var(--wui-letter-spacing-paragraph);\n color: var(--wui-color-fg-100);\n transition: all var(--wui-ease-inout-power-1) var(--wui-duration-lg);\n caret-color: var(--wui-color-accent-100);\n }\n\n input:disabled {\n cursor: not-allowed;\n border: 1px solid var(--wui-gray-glass-010);\n background: var(--wui-gray-glass-015);\n }\n\n input:disabled::placeholder,\n input:disabled + wui-icon {\n color: var(--wui-color-fg-300);\n }\n\n input::placeholder {\n color: var(--wui-color-fg-275);\n }\n\n input:focus:enabled {\n transition: all var(--wui-ease-out-power-2) var(--wui-duration-sm);\n background-color: var(--wui-gray-glass-010);\n border: 1px solid var(--wui-color-accent-100);\n -webkit-box-shadow: 0px 0px 0px 4px var(--wui-box-shadow-blue);\n -moz-box-shadow: 0px 0px 0px 4px var(--wui-box-shadow-blue);\n box-shadow: 0px 0px 0px 4px var(--wui-box-shadow-blue);\n }\n\n input:hover:enabled {\n background-color: var(--wui-gray-glass-010);\n }\n\n wui-icon {\n position: absolute;\n top: 50%;\n transform: translateY(-50%);\n pointer-events: none;\n }\n\n .wui-size-sm {\n padding: 9px var(--wui-spacing-m) 10px var(--wui-spacing-s);\n }\n\n wui-icon + .wui-size-sm {\n padding: 9px var(--wui-spacing-m) 10px 36px;\n }\n\n wui-icon[data-input='sm'] {\n left: var(--wui-spacing-s);\n }\n\n .wui-size-md {\n padding: 15px var(--wui-spacing-m) var(--wui-spacing-l) var(--wui-spacing-m);\n }\n\n wui-icon + .wui-size-md {\n padding: 15px var(--wui-spacing-m) var(--wui-spacing-l) 42px;\n }\n\n wui-icon[data-input='md'] {\n left: var(--wui-spacing-m);\n }\n\n input:placeholder-shown ~ ::slotted(wui-input-element),\n input:placeholder-shown ~ ::slotted(wui-icon) {\n opacity: 0;\n pointer-events: none;\n }\n\n ::slotted(wui-input-element),\n ::slotted(wui-icon) {\n position: absolute;\n top: 50%;\n transform: translateY(-50%);\n transition: all var(--wui-ease-in-power-2) var(--wui-duration-md);\n }\n\n ::slotted(wui-input-element) {\n right: var(--wui-spacing-m);\n }\n\n ::slotted(wui-icon) {\n right: 0px;\n }\n`);\n//# sourceMappingURL=styles.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/composites/wui-input-text/styles.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-link/index.js":
|
|||
|
/*!******************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-link/index.js ***!
|
|||
|
\******************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ WuiLink: () => (/* binding */ WuiLink)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n/* harmony import */ var lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lit/decorators.js */ \"./node_modules/@web3modal/ui/node_modules/lit/decorators.js\");\n/* harmony import */ var _components_wui_icon_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../components/wui-icon/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/components/wui-icon/index.js\");\n/* harmony import */ var _components_wui_text_index_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../components/wui-text/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/components/wui-text/index.js\");\n/* harmony import */ var _utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../utils/ThemeUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/ThemeUtil.js\");\n/* harmony import */ var _utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../utils/WebComponentsUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/WebComponentsUtil.js\");\n/* harmony import */ var _styles_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./styles.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-link/styles.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\n\n\n\nlet WuiLink = class WuiLink extends lit__WEBPACK_IMPORTED_MODULE_0__.LitElement {\n constructor() {\n super(...arguments);\n this.disabled = false;\n this.color = 'inherit';\n }\n render() {\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `\n <button ?disabled=${this.disabled} ontouchstart>\n <slot name=\"iconLeft\"></slot>\n <wui-text variant=\"small-600\" color=${this.color}>\n <slot></slot>\n </wui-text>\n <slot name=\"iconRight\"></slot>\n </button>\n `;\n }\n};\nWuiLink.styles = [_utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_4__.resetStyles, _utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_4__.elementStyles, _styles_js__WEBPACK_IMPORTED_MODULE_6__[\"default\"]];\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)({ type: Boolean })\n], WuiLink.prototype, \"disabled\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiLink.prototype, \"color\", void 0);\nWuiLink = __decorate([\n (0,_utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_5__.customElement)('wui-link')\n], WuiLink);\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/composites/wui-link/index.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-link/styles.js":
|
|||
|
/*!*******************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-link/styles.js ***!
|
|||
|
\*******************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,lit__WEBPACK_IMPORTED_MODULE_0__.css) `\n button {\n padding: var(--wui-spacing-4xs) var(--wui-spacing-xxs);\n border-radius: var(--wui-border-radius-3xs);\n background-color: transparent;\n color: var(--wui-color-accent-100);\n }\n\n button:disabled {\n background-color: transparent;\n color: var(--wui-gray-glass-015);\n }\n`);\n//# sourceMappingURL=styles.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/composites/wui-link/styles.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-list-item/index.js":
|
|||
|
/*!***********************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-list-item/index.js ***!
|
|||
|
\***********************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ WuiListItem: () => (/* binding */ WuiListItem)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n/* harmony import */ var lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lit/decorators.js */ \"./node_modules/@web3modal/ui/node_modules/lit/decorators.js\");\n/* harmony import */ var lit_directives_if_defined_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lit/directives/if-defined.js */ \"./node_modules/@web3modal/ui/node_modules/lit/directives/if-defined.js\");\n/* harmony import */ var _components_wui_icon_index_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../components/wui-icon/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/components/wui-icon/index.js\");\n/* harmony import */ var _components_wui_image_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../components/wui-image/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/components/wui-image/index.js\");\n/* harmony import */ var _components_wui_loading_spinner_index_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../components/wui-loading-spinner/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/components/wui-loading-spinner/index.js\");\n/* harmony import */ var _components_wui_text_index_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../components/wui-text/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/components/wui-text/index.js\");\n/* harmony import */ var _layout_wui_flex_index_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../layout/wui-flex/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/layout/wui-flex/index.js\");\n/* harmony import */ var _utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../utils/ThemeUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/ThemeUtil.js\");\n/* harmony import */ var _utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../utils/WebComponentsUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/WebComponentsUtil.js\");\n/* harmony import */ var _wui_icon_box_index_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../wui-icon-box/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-icon-box/index.js\");\n/* harmony import */ var _styles_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./styles.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-list-item/styles.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\n\n\n\n\n\n\n\n\nlet WuiListItem = class WuiListItem extends lit__WEBPACK_IMPORTED_MODULE_0__.LitElement {\n constructor() {\n super(...arguments);\n this.variant = 'icon';\n this.disabled = false;\n this.imageSrc = undefined;\n this.alt = undefined;\n this.chevron = false;\n this.loading = false;\n }\n render() {\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `\n <button\n ?disabled=${this.loading ? true : Boolean(this.disabled)}\n data-loading=${this.loading}\n data-iconvariant=${(0,lit_directives_if_defined_js__WEBPACK_IMPORTED_MODULE_2__.ifDefined)(this.iconVariant)}\n ontouchstart\n >\n ${this.loadingTemplate()} ${this.vi
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-list-item/styles.js":
|
|||
|
/*!************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-list-item/styles.js ***!
|
|||
|
\************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,lit__WEBPACK_IMPORTED_MODULE_0__.css) `\n button {\n column-gap: var(--wui-spacing-s);\n padding: 11px 18px 11px var(--wui-spacing-s);\n width: 100%;\n background-color: var(--wui-gray-glass-002);\n border-radius: var(--wui-border-radius-xs);\n color: var(--wui-color-fg-250);\n }\n\n button[data-iconvariant='square'],\n button[data-iconvariant='square-blue'] {\n padding: 6px 18px 6px 9px;\n }\n\n button > wui-flex {\n flex: 1;\n }\n\n button > wui-image {\n width: 32px;\n height: 32px;\n box-shadow: 0 0 0 2px var(--wui-gray-glass-005);\n border-radius: var(--wui-border-radius-3xl);\n }\n\n button > wui-icon {\n width: 36px;\n height: 36px;\n }\n\n button > wui-icon-box[data-variant='blue'] {\n box-shadow: 0 0 0 2px var(--wui-accent-glass-005);\n }\n\n button > wui-icon-box[data-variant='overlay'] {\n box-shadow: 0 0 0 2px var(--wui-gray-glass-005);\n }\n\n button > wui-icon-box[data-variant='square-blue'] {\n border-radius: var(--wui-border-radius-3xs);\n position: relative;\n border: none;\n width: 36px;\n height: 36px;\n }\n\n button > wui-icon-box[data-variant='square-blue']::after {\n content: '';\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n border-radius: inherit;\n border: 1px solid var(--wui-accent-glass-010);\n pointer-events: none;\n }\n\n button > wui-icon:last-child {\n width: 14px;\n height: 14px;\n }\n\n button:disabled {\n background-color: var(--wui-gray-glass-015);\n color: var(--wui-gray-glass-015);\n }\n\n button[data-loading='true'] > wui-icon {\n transition: opacity 200ms ease-in-out;\n opacity: 0;\n }\n\n wui-loading-spinner {\n position: absolute;\n right: 18px;\n top: 50%;\n transform: translateY(-50%);\n }\n`);\n//# sourceMappingURL=styles.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/composites/wui-list-item/styles.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-list-wallet/index.js":
|
|||
|
/*!*************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-list-wallet/index.js ***!
|
|||
|
\*************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ WuiListWallet: () => (/* binding */ WuiListWallet)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n/* harmony import */ var lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lit/decorators.js */ \"./node_modules/@web3modal/ui/node_modules/lit/decorators.js\");\n/* harmony import */ var _components_wui_icon_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../components/wui-icon/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/components/wui-icon/index.js\");\n/* harmony import */ var _components_wui_text_index_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../components/wui-text/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/components/wui-text/index.js\");\n/* harmony import */ var _utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../utils/ThemeUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/ThemeUtil.js\");\n/* harmony import */ var _utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../utils/WebComponentsUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/WebComponentsUtil.js\");\n/* harmony import */ var _wui_all_wallets_image_index_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../wui-all-wallets-image/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-all-wallets-image/index.js\");\n/* harmony import */ var _wui_tag_index_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../wui-tag/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-tag/index.js\");\n/* harmony import */ var _wui_wallet_image_index_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../wui-wallet-image/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-wallet-image/index.js\");\n/* harmony import */ var _styles_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./styles.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-list-wallet/styles.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\n\n\n\n\n\n\nlet WuiListWallet = class WuiListWallet extends lit__WEBPACK_IMPORTED_MODULE_0__.LitElement {\n constructor() {\n super(...arguments);\n this.walletImages = [];\n this.imageSrc = '';\n this.name = '';\n this.disabled = false;\n this.showAllWallets = false;\n }\n render() {\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `\n <button ?disabled=${this.disabled} ontouchstart>\n ${this.templateAllWallets()} ${this.templateWalletImage()}\n <wui-text variant=\"paragraph-500\" color=\"inherit\">${this.name}</wui-text>\n ${this.templateStatus()}\n </button>\n `;\n }\n templateAllWallets() {\n if (this.showAllWallets && this.imageSrc) {\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) ` <wui-all-wallets-image .imageeSrc=${this.imageSrc}> </wui-all-wallets-image> `;\n }\n else if (this.showAllWallets && this.walletIcon) {\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) ` <wui-wallet-image .walletIcon=${this.walletIcon} size=\"sm\"> </wui-wallet-image> `;\n }\n return null;\n }\n templateWalletImage() {\n if (!this.showAll
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-list-wallet/styles.js":
|
|||
|
/*!**************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-list-wallet/styles.js ***!
|
|||
|
\**************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,lit__WEBPACK_IMPORTED_MODULE_0__.css) `\n button {\n column-gap: var(--wui-spacing-s);\n padding: 7px var(--wui-spacing-l) 7px var(--wui-spacing-xs);\n width: 100%;\n background-color: var(--wui-gray-glass-002);\n border-radius: var(--wui-border-radius-xs);\n color: var(--wui-color-fg-100);\n }\n\n button > wui-text:nth-child(2) {\n display: flex;\n flex: 1;\n }\n\n wui-icon {\n color: var(--wui-color-fg-200) !important;\n }\n\n button:disabled {\n background-color: var(--wui-gray-glass-015);\n color: var(--wui-gray-glass-015);\n }\n\n button:disabled > wui-tag {\n background-color: var(--wui-gray-glass-010);\n color: var(--wui-color-fg-300);\n }\n`);\n//# sourceMappingURL=styles.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/composites/wui-list-wallet/styles.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-logo-select/index.js":
|
|||
|
/*!*************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-logo-select/index.js ***!
|
|||
|
\*************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ WuiLogoSelect: () => (/* binding */ WuiLogoSelect)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n/* harmony import */ var lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lit/decorators.js */ \"./node_modules/@web3modal/ui/node_modules/lit/decorators.js\");\n/* harmony import */ var _utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../utils/ThemeUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/ThemeUtil.js\");\n/* harmony import */ var _utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../utils/WebComponentsUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/WebComponentsUtil.js\");\n/* harmony import */ var _wui_logo_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../wui-logo/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-logo/index.js\");\n/* harmony import */ var _styles_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./styles.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-logo-select/styles.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\n\n\nlet WuiLogoSelect = class WuiLogoSelect extends lit__WEBPACK_IMPORTED_MODULE_0__.LitElement {\n constructor() {\n super(...arguments);\n this.logo = 'google';\n this.disabled = false;\n }\n render() {\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `\n <button ?disabled=${this.disabled} ontouchstart>\n <wui-logo logo=${this.logo}></wui-logo>\n </button>\n `;\n }\n};\nWuiLogoSelect.styles = [_utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_2__.resetStyles, _utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_2__.elementStyles, _styles_js__WEBPACK_IMPORTED_MODULE_5__[\"default\"]];\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiLogoSelect.prototype, \"logo\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)({ type: Boolean })\n], WuiLogoSelect.prototype, \"disabled\", void 0);\nWuiLogoSelect = __decorate([\n (0,_utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_3__.customElement)('wui-logo-select')\n], WuiLogoSelect);\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/composites/wui-logo-select/index.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-logo-select/styles.js":
|
|||
|
/*!**************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-logo-select/styles.js ***!
|
|||
|
\**************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,lit__WEBPACK_IMPORTED_MODULE_0__.css) `\n :host {\n display: block;\n }\n\n button {\n width: 50px;\n height: 50px;\n background: var(--wui-gray-glass-002);\n border-radius: var(--wui-border-radius-xs);\n }\n`);\n//# sourceMappingURL=styles.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/composites/wui-logo-select/styles.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-logo/index.js":
|
|||
|
/*!******************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-logo/index.js ***!
|
|||
|
\******************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ WuiLogo: () => (/* binding */ WuiLogo)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n/* harmony import */ var lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lit/decorators.js */ \"./node_modules/@web3modal/ui/node_modules/lit/decorators.js\");\n/* harmony import */ var _components_wui_icon_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../components/wui-icon/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/components/wui-icon/index.js\");\n/* harmony import */ var _utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../utils/ThemeUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/ThemeUtil.js\");\n/* harmony import */ var _utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../utils/WebComponentsUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/WebComponentsUtil.js\");\n/* harmony import */ var _styles_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./styles.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-logo/styles.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\n\n\nlet WuiLogo = class WuiLogo extends lit__WEBPACK_IMPORTED_MODULE_0__.LitElement {\n constructor() {\n super(...arguments);\n this.logo = 'google';\n }\n render() {\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `<wui-icon color=\"inherit\" size=\"inherit\" name=${this.logo}></wui-icon> `;\n }\n};\nWuiLogo.styles = [_utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_3__.resetStyles, _styles_js__WEBPACK_IMPORTED_MODULE_5__[\"default\"]];\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiLogo.prototype, \"logo\", void 0);\nWuiLogo = __decorate([\n (0,_utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_4__.customElement)('wui-logo')\n], WuiLogo);\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/composites/wui-logo/index.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-logo/styles.js":
|
|||
|
/*!*******************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-logo/styles.js ***!
|
|||
|
\*******************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,lit__WEBPACK_IMPORTED_MODULE_0__.css) `\n :host {\n display: block;\n width: 40px;\n height: 40px;\n border-radius: var(--wui-border-radius-3xl);\n border: 1px solid var(--wui-gray-glass-010);\n overflow: hidden;\n }\n\n wui-icon {\n width: 100%;\n height: 100%;\n }\n`);\n//# sourceMappingURL=styles.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/composites/wui-logo/styles.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-network-button/index.js":
|
|||
|
/*!****************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-network-button/index.js ***!
|
|||
|
\****************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ WuiNetworkButton: () => (/* binding */ WuiNetworkButton)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n/* harmony import */ var lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lit/decorators.js */ \"./node_modules/@web3modal/ui/node_modules/lit/decorators.js\");\n/* harmony import */ var _components_wui_image_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../components/wui-image/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/components/wui-image/index.js\");\n/* harmony import */ var _components_wui_text_index_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../components/wui-text/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/components/wui-text/index.js\");\n/* harmony import */ var _utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../utils/ThemeUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/ThemeUtil.js\");\n/* harmony import */ var _utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../utils/WebComponentsUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/WebComponentsUtil.js\");\n/* harmony import */ var _wui_icon_box_index_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../wui-icon-box/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-icon-box/index.js\");\n/* harmony import */ var _styles_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./styles.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-network-button/styles.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\n\n\n\n\nlet WuiNetworkButton = class WuiNetworkButton extends lit__WEBPACK_IMPORTED_MODULE_0__.LitElement {\n constructor() {\n super(...arguments);\n this.imageSrc = undefined;\n this.disabled = false;\n }\n render() {\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `\n <button ?disabled=${this.disabled}>\n ${this.visualTemplate()}\n <wui-text variant=\"paragraph-600\" color=\"inherit\">\n <slot></slot>\n </wui-text>\n </button>\n `;\n }\n visualTemplate() {\n if (this.imageSrc) {\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `<wui-image src=${this.imageSrc}></wui-image>`;\n }\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `\n <wui-icon-box\n size=\"sm\"\n iconColor=\"inverse-100\"\n backgroundColor=\"fg-100\"\n icon=\"networkPlaceholder\"\n ></wui-icon-box>\n `;\n }\n};\nWuiNetworkButton.styles = [_utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_4__.resetStyles, _utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_4__.elementStyles, _styles_js__WEBPACK_IMPORTED_MODULE_7__[\"default\"]];\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiNetworkButton.prototype, \"imageSrc\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)({ type: Boolean })\n], WuiNetworkButton.prototype, \"disabled\", void 0);\nWuiNetworkButton = __decorate([\n (0,_utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_5__.customElement)('wui-network-button')\n], WuiNetworkButton);\n\n//# sourceMappingURL=index.js.map\n\
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-network-button/styles.js":
|
|||
|
/*!*****************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-network-button/styles.js ***!
|
|||
|
\*****************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,lit__WEBPACK_IMPORTED_MODULE_0__.css) `\n :host {\n display: block;\n }\n\n button {\n border-radius: var(--wui-border-radius-3xl);\n display: flex;\n gap: var(--wui-spacing-xs);\n padding: var(--wui-spacing-2xs) var(--wui-spacing-s) var(--wui-spacing-2xs)\n var(--wui-spacing-xs);\n border: 1px solid var(--wui-gray-glass-010);\n background-color: var(--wui-gray-glass-005);\n color: var(--wui-color-fg-100);\n }\n\n button:disabled {\n border: 1px solid var(--wui-gray-glass-005);\n background-color: var(--wui-gray-glass-015);\n color: var(--wui-gray-glass-015);\n }\n\n @media (hover: hover) and (pointer: fine) {\n button:hover:enabled {\n background-color: var(--wui-gray-glass-010);\n }\n\n button:active:enabled {\n background-color: var(--wui-gray-glass-015);\n }\n }\n\n wui-image,\n wui-icon-box {\n border-radius: var(--wui-border-radius-3xl);\n width: 24px;\n height: 24px;\n box-shadow: 0 0 0 2px var(--wui-gray-glass-005);\n }\n`);\n//# sourceMappingURL=styles.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/composites/wui-network-button/styles.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-network-image/index.js":
|
|||
|
/*!***************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-network-image/index.js ***!
|
|||
|
\***************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ WuiNetworkImage: () => (/* binding */ WuiNetworkImage)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n/* harmony import */ var lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lit/decorators.js */ \"./node_modules/@web3modal/ui/node_modules/lit/decorators.js\");\n/* harmony import */ var _assets_svg_network_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../assets/svg/network.js */ \"./node_modules/@web3modal/ui/dist/esm/src/assets/svg/network.js\");\n/* harmony import */ var _assets_svg_networkLg_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../assets/svg/networkLg.js */ \"./node_modules/@web3modal/ui/dist/esm/src/assets/svg/networkLg.js\");\n/* harmony import */ var _components_wui_icon_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../components/wui-icon/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/components/wui-icon/index.js\");\n/* harmony import */ var _components_wui_image_index_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../components/wui-image/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/components/wui-image/index.js\");\n/* harmony import */ var _utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../utils/ThemeUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/ThemeUtil.js\");\n/* harmony import */ var _utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../utils/WebComponentsUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/WebComponentsUtil.js\");\n/* harmony import */ var _styles_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./styles.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-network-image/styles.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\n\n\n\n\n\nlet WuiNetworkImage = class WuiNetworkImage extends lit__WEBPACK_IMPORTED_MODULE_0__.LitElement {\n constructor() {\n super(...arguments);\n this.size = 'md';\n this.name = 'uknown';\n this.selected = false;\n }\n render() {\n const isLg = this.size === 'lg';\n this.style.cssText = `\n --local-stroke: ${this.selected ? 'var(--wui-color-accent-100)' : 'var(--wui-gray-glass-010)'};\n --local-path: ${isLg ? 'var(--wui-path-network-lg)' : 'var(--wui-path-network)'};\n --local-width: ${isLg ? '86px' : '48px'};\n --local-height: ${isLg ? '96px' : '54px'};\n --local-icon-size: ${isLg ? '42px' : '24px'};\n `;\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `${this.templateVisual()} ${isLg ? _assets_svg_networkLg_js__WEBPACK_IMPORTED_MODULE_3__.networkLgSvg : _assets_svg_network_js__WEBPACK_IMPORTED_MODULE_2__.networkSvg}`;\n }\n templateVisual() {\n if (this.imageSrc) {\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `<wui-image src=${this.imageSrc} alt=${this.name}></wui-image>`;\n }\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `<wui-icon size=\"inherit\" color=\"fg-200\" name=\"networkPlaceholder\"></wui-icon>`;\n }\n};\nWuiNetworkImage.styles = [_utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_6__.resetStyles, _styles_js__WEBPACK_IMPORTED_MODULE_8__[\"default\"]];\n__decorate([\n (0,lit_d
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-network-image/styles.js":
|
|||
|
/*!****************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-network-image/styles.js ***!
|
|||
|
\****************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,lit__WEBPACK_IMPORTED_MODULE_0__.css) `\n :host {\n position: relative;\n border-radius: inherit;\n display: flex;\n justify-content: center;\n align-items: center;\n width: var(--local-width);\n height: var(--local-height);\n }\n\n svg {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n z-index: 1;\n fill: var(--wui-gray-glass-002);\n }\n\n svg > path {\n stroke: var(--local-stroke);\n transition: stroke var(--wui-ease-out-power-1) var(--wui-duration-lg);\n }\n\n wui-image {\n width: 100%;\n height: 100%;\n -webkit-clip-path: var(--local-path);\n clip-path: var(--local-path);\n background: var(--wui-gray-glass-002);\n }\n\n wui-icon {\n transform: translateY(-5%);\n width: var(--local-icon-size);\n height: var(--local-icon-size);\n }\n`);\n//# sourceMappingURL=styles.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/composites/wui-network-image/styles.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-otp/index.js":
|
|||
|
/*!*****************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-otp/index.js ***!
|
|||
|
\*****************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ WuiOtp: () => (/* binding */ WuiOtp)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n/* harmony import */ var lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lit/decorators.js */ \"./node_modules/@web3modal/ui/node_modules/lit/decorators.js\");\n/* harmony import */ var _layout_wui_flex_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../layout/wui-flex/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/layout/wui-flex/index.js\");\n/* harmony import */ var _utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../utils/ThemeUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/ThemeUtil.js\");\n/* harmony import */ var _utils_UiHelperUtil_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../utils/UiHelperUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/UiHelperUtil.js\");\n/* harmony import */ var _utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../utils/WebComponentsUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/WebComponentsUtil.js\");\n/* harmony import */ var _wui_input_numeric_index_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../wui-input-numeric/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-input-numeric/index.js\");\n/* harmony import */ var _styles_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./styles.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-otp/styles.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\n\n\n\n\n\nlet WuiOtp = class WuiOtp extends lit__WEBPACK_IMPORTED_MODULE_0__.LitElement {\n constructor() {\n super(...arguments);\n this.length = 6;\n this.numerics = [];\n this.handleKeyDown = (e, index) => {\n const inputElement = e.target;\n const input = this.getInputElement(inputElement);\n const keyArr = ['ArrowLeft', 'ArrowRight', 'Shift', 'Delete'];\n if (!input) {\n return;\n }\n if (keyArr.includes(e.key)) {\n e.preventDefault();\n }\n const currentCaretPos = input.selectionStart;\n switch (e.key) {\n case 'ArrowLeft':\n if (currentCaretPos) {\n input.setSelectionRange(currentCaretPos + 1, currentCaretPos + 1);\n }\n this.focusInputField('prev', index);\n break;\n case 'ArrowRight':\n this.focusInputField('next', index);\n break;\n case 'Shift':\n this.focusInputField('next', index);\n break;\n case 'Delete':\n if (input.value === '') {\n this.focusInputField('prev', index);\n }\n else {\n input.value = '';\n }\n break;\n case 'Backspace':\n if (input.value === '') {\n this.focusInputField('prev', index);\n }\n else {\n inp
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-otp/styles.js":
|
|||
|
/*!******************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-otp/styles.js ***!
|
|||
|
\******************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,lit__WEBPACK_IMPORTED_MODULE_0__.css) `\n :host {\n position: relative;\n display: block;\n }\n`);\n//# sourceMappingURL=styles.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/composites/wui-otp/styles.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-qr-code/index.js":
|
|||
|
/*!*********************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-qr-code/index.js ***!
|
|||
|
\*********************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ WuiQrCode: () => (/* binding */ WuiQrCode)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n/* harmony import */ var lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lit/decorators.js */ \"./node_modules/@web3modal/ui/node_modules/lit/decorators.js\");\n/* harmony import */ var _components_wui_icon_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../components/wui-icon/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/components/wui-icon/index.js\");\n/* harmony import */ var _components_wui_image_index_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../components/wui-image/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/components/wui-image/index.js\");\n/* harmony import */ var _utils_QrCode_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../utils/QrCode.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/QrCode.js\");\n/* harmony import */ var _utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../utils/ThemeUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/ThemeUtil.js\");\n/* harmony import */ var _utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../utils/WebComponentsUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/WebComponentsUtil.js\");\n/* harmony import */ var _styles_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./styles.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-qr-code/styles.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\n\n\n\n\nlet WuiQrCode = class WuiQrCode extends lit__WEBPACK_IMPORTED_MODULE_0__.LitElement {\n constructor() {\n super(...arguments);\n this.uri = '';\n this.size = 0;\n this.theme = 'dark';\n this.imageSrc = undefined;\n this.alt = undefined;\n }\n render() {\n this.dataset['theme'] = this.theme;\n this.style.cssText = `--local-size: ${this.size}px`;\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `${this.templateVisual()} ${this.templateSvg()}`;\n }\n templateSvg() {\n const size = this.theme === 'light' ? this.size : this.size - 16 * 2;\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `\n <svg height=${size} width=${size}>\n ${_utils_QrCode_js__WEBPACK_IMPORTED_MODULE_4__.QrCodeUtil.generate(this.uri, size, size / 4)}\n </svg>\n `;\n }\n templateVisual() {\n if (this.imageSrc) {\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `<wui-image src=${this.imageSrc} alt=${this.alt ?? 'logo'}></wui-image>`;\n }\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `<wui-icon size=\"inherit\" color=\"inherit\" name=\"walletConnect\"></wui-icon>`;\n }\n};\nWuiQrCode.styles = [_utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_5__.resetStyles, _styles_js__WEBPACK_IMPORTED_MODULE_7__[\"default\"]];\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiQrCode.prototype, \"uri\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)({ type: Number })\n], WuiQrCode.prototype, \"size\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.prope
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-qr-code/styles.js":
|
|||
|
/*!**********************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-qr-code/styles.js ***!
|
|||
|
\**********************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,lit__WEBPACK_IMPORTED_MODULE_0__.css) `\n :host {\n position: relative;\n user-select: none;\n display: block;\n overflow: hidden;\n aspect-ratio: 1 / 1;\n width: var(--local-size);\n }\n\n :host([data-theme='dark']) {\n border-radius: clamp(0px, var(--wui-border-radius-l), 40px);\n background-color: var(--wui-color-inverse-100);\n padding: var(--wui-spacing-l);\n }\n\n :host([data-theme='light']) {\n box-shadow: 0 0 0 1px var(--wui-color-bg-125);\n background-color: var(--wui-color-bg-125);\n }\n\n svg:first-child,\n wui-image,\n wui-icon {\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translateY(-50%) translateX(-50%);\n }\n\n wui-image {\n width: 25%;\n height: 25%;\n border-radius: var(--wui-border-radius-xs);\n }\n\n wui-icon {\n width: 100%;\n height: 100%;\n color: #3396ff !important;\n transform: translateY(-50%) translateX(-50%) scale(0.25);\n }\n`);\n//# sourceMappingURL=styles.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/composites/wui-qr-code/styles.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-search-bar/index.js":
|
|||
|
/*!************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-search-bar/index.js ***!
|
|||
|
\************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ WuiSearchBar: () => (/* binding */ WuiSearchBar)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n/* harmony import */ var lit_directives_ref_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lit/directives/ref.js */ \"./node_modules/@web3modal/ui/node_modules/lit/directives/ref.js\");\n/* harmony import */ var _composites_wui_input_element_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../composites/wui-input-element/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-input-element/index.js\");\n/* harmony import */ var _utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../utils/ThemeUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/ThemeUtil.js\");\n/* harmony import */ var _utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../utils/WebComponentsUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/WebComponentsUtil.js\");\n/* harmony import */ var _wui_input_text_index_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../wui-input-text/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-input-text/index.js\");\n/* harmony import */ var _styles_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./styles.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-search-bar/styles.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\n\n\n\nlet WuiSearchBar = class WuiSearchBar extends lit__WEBPACK_IMPORTED_MODULE_0__.LitElement {\n constructor() {\n super(...arguments);\n this.inputComponentRef = (0,lit_directives_ref_js__WEBPACK_IMPORTED_MODULE_1__.createRef)();\n }\n render() {\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `\n <wui-input-text\n ${(0,lit_directives_ref_js__WEBPACK_IMPORTED_MODULE_1__.ref)(this.inputComponentRef)}\n placeholder=\"Search wallet\"\n icon=\"search\"\n type=\"search\"\n enterKeyHint=\"search\"\n size=\"sm\"\n >\n <wui-input-element @click=${this.clearValue} icon=\"close\"></wui-input-element>\n </wui-input-text>\n `;\n }\n clearValue() {\n const inputComponent = this.inputComponentRef.value;\n const inputElement = inputComponent?.inputElementRef.value;\n if (inputElement) {\n inputElement.value = '';\n inputElement.focus();\n inputElement.dispatchEvent(new Event('input'));\n }\n }\n};\nWuiSearchBar.styles = [_utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_3__.resetStyles, _styles_js__WEBPACK_IMPORTED_MODULE_6__[\"default\"]];\nWuiSearchBar = __decorate([\n (0,_utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_4__.customElement)('wui-search-bar')\n], WuiSearchBar);\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/composites/wui-search-bar/index.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-search-bar/styles.js":
|
|||
|
/*!*************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-search-bar/styles.js ***!
|
|||
|
\*************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,lit__WEBPACK_IMPORTED_MODULE_0__.css) `\n :host {\n position: relative;\n display: inline-block;\n width: 100%;\n }\n`);\n//# sourceMappingURL=styles.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/composites/wui-search-bar/styles.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-snackbar/index.js":
|
|||
|
/*!**********************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-snackbar/index.js ***!
|
|||
|
\**********************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ WuiSnackbar: () => (/* binding */ WuiSnackbar)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n/* harmony import */ var lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lit/decorators.js */ \"./node_modules/@web3modal/ui/node_modules/lit/decorators.js\");\n/* harmony import */ var _components_wui_text_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../components/wui-text/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/components/wui-text/index.js\");\n/* harmony import */ var _utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../utils/ThemeUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/ThemeUtil.js\");\n/* harmony import */ var _utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../utils/WebComponentsUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/WebComponentsUtil.js\");\n/* harmony import */ var _wui_icon_box_index_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../wui-icon-box/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-icon-box/index.js\");\n/* harmony import */ var _styles_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./styles.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-snackbar/styles.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\n\n\n\nlet WuiSnackbar = class WuiSnackbar extends lit__WEBPACK_IMPORTED_MODULE_0__.LitElement {\n constructor() {\n super(...arguments);\n this.backgroundColor = 'accent-100';\n this.iconColor = 'accent-100';\n this.icon = 'checkmark';\n this.message = '';\n }\n render() {\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `\n <wui-icon-box\n size=\"xs\"\n iconColor=${this.iconColor}\n backgroundColor=${this.backgroundColor}\n icon=${this.icon}\n ></wui-icon-box>\n <wui-text variant=\"paragraph-500\" color=\"fg-100\">${this.message}</wui-text>\n `;\n }\n};\nWuiSnackbar.styles = [_utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_3__.resetStyles, _styles_js__WEBPACK_IMPORTED_MODULE_6__[\"default\"]];\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiSnackbar.prototype, \"backgroundColor\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiSnackbar.prototype, \"iconColor\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiSnackbar.prototype, \"icon\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiSnackbar.prototype, \"message\", void 0);\nWuiSnackbar = __decorate([\n (0,_utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_4__.customElement)('wui-snackbar')\n], WuiSnackbar);\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/composites/wui-snackbar/index.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-snackbar/styles.js":
|
|||
|
/*!***********************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-snackbar/styles.js ***!
|
|||
|
\***********************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,lit__WEBPACK_IMPORTED_MODULE_0__.css) `\n :host {\n display: flex;\n column-gap: var(--wui-spacing-xs);\n align-items: center;\n padding: 7px var(--wui-spacing-l) 7px var(--wui-spacing-xs);\n border-radius: var(--wui-border-radius-3xl);\n border: 1px solid var(--wui-gray-glass-005);\n background-color: var(--wui-color-bg-175);\n box-shadow:\n 0px 14px 64px -4px rgba(0, 0, 0, 0.15),\n 0px 8px 22px -6px rgba(0, 0, 0, 0.15);\n }\n`);\n//# sourceMappingURL=styles.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/composites/wui-snackbar/styles.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-tabs/index.js":
|
|||
|
/*!******************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-tabs/index.js ***!
|
|||
|
\******************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ WuiTabs: () => (/* binding */ WuiTabs)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n/* harmony import */ var lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lit/decorators.js */ \"./node_modules/@web3modal/ui/node_modules/lit/decorators.js\");\n/* harmony import */ var _utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../utils/ThemeUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/ThemeUtil.js\");\n/* harmony import */ var _utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../utils/WebComponentsUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/WebComponentsUtil.js\");\n/* harmony import */ var _styles_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./styles.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-tabs/styles.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\n\nlet WuiTabs = class WuiTabs extends lit__WEBPACK_IMPORTED_MODULE_0__.LitElement {\n constructor() {\n super(...arguments);\n this.tabs = [];\n this.onTabChange = () => null;\n this.buttons = [];\n this.disabled = false;\n this.activeTab = 0;\n this.localTabWidth = '100px';\n this.isDense = false;\n }\n render() {\n this.isDense = this.tabs.length > 3;\n this.style.cssText = `\n --local-tab: ${this.activeTab};\n --local-tab-width: ${this.localTabWidth};\n `;\n this.dataset['type'] = this.isDense ? 'flex' : 'block';\n return this.tabs.map((tab, index) => {\n const isActive = index === this.activeTab;\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `\n <button\n ?disabled=${this.disabled}\n @click=${() => this.onTabClick(index)}\n data-active=${isActive}\n >\n <wui-icon size=\"sm\" color=\"inherit\" name=${tab.icon}></wui-icon>\n <wui-text variant=\"small-600\" color=\"inherit\"> ${tab.label} </wui-text>\n </button>\n `;\n });\n }\n firstUpdated() {\n if (this.shadowRoot && this.isDense) {\n this.buttons = [...this.shadowRoot.querySelectorAll('button')];\n setTimeout(() => {\n this.animateTabs(0, true);\n }, 0);\n }\n }\n onTabClick(index) {\n if (this.buttons) {\n this.animateTabs(index, false);\n }\n this.activeTab = index;\n this.onTabChange(index);\n }\n animateTabs(index, initialAnimation) {\n const passiveBtn = this.buttons[this.activeTab];\n const activeBtn = this.buttons[index];\n const passiveBtnText = passiveBtn?.querySelector('wui-text');\n const activeBtnText = activeBtn?.querySelector('wui-text');\n const activeBtnBounds = activeBtn?.getBoundingClientRect();\n const activeBtnTextBounds = activeBtnText?.getBoundingClientRect();\n if (passiveBtn && passiveBtnText && !initialAnimation && index !== this.activeTab) {\n passiveBtnText.animate([{ opacity: 0 }], {\n duration: 50,\n easing: 'ease',\n fill: 'forwards'\n });\n passiveBtn.animate([{ width: `34p
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-tabs/styles.js":
|
|||
|
/*!*******************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-tabs/styles.js ***!
|
|||
|
\*******************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,lit__WEBPACK_IMPORTED_MODULE_0__.css) `\n :host {\n display: inline-flex;\n background-color: var(--wui-gray-glass-002);\n border-radius: var(--wui-border-radius-3xl);\n padding: var(--wui-spacing-3xs);\n position: relative;\n height: 36px;\n overflow: hidden;\n }\n\n :host::before {\n content: '';\n position: absolute;\n pointer-events: none;\n top: 4px;\n left: 4px;\n display: block;\n width: var(--local-tab-width);\n height: 28px;\n border-radius: var(--wui-border-radius-3xl);\n background-color: var(--wui-gray-glass-002);\n box-shadow: inset 0 0 0 1px var(--wui-gray-glass-002);\n transform: translateX(calc(var(--local-tab) * var(--local-tab-width)));\n transition: transform var(--wui-ease-out-power-2) var(--wui-duration-lg);\n }\n\n :host([data-type='flex'])::before {\n left: 3px;\n transform: translateX(calc((var(--local-tab) * 34px) + (var(--local-tab) * 4px)));\n }\n\n :host([data-type='flex']) {\n display: flex;\n padding: 0px 0px 0px 12px;\n gap: 4px;\n }\n\n :host([data-type='flex']) > button > wui-text {\n position: absolute;\n left: 18px;\n opacity: 0;\n }\n\n button[data-active='true'] > wui-icon,\n button[data-active='true'] > wui-text {\n color: var(--wui-color-fg-100);\n }\n\n button[data-active='false'] > wui-icon,\n button[data-active='false'] > wui-text {\n color: var(--wui-color-fg-200);\n }\n\n button[data-active='true']:disabled,\n button[data-active='false']:disabled {\n background-color: transparent;\n opacity: 0.5;\n cursor: not-allowed;\n }\n\n button[data-active='true']:disabled > wui-text {\n color: var(--wui-color-fg-200);\n }\n\n button[data-active='false']:disabled > wui-text {\n color: var(--wui-color-fg-300);\n }\n\n button > wui-icon,\n button > wui-text {\n pointer-events: none;\n transition: all var(--wui-ease-out-power-2) var(--wui-duration-lg);\n }\n\n button {\n width: var(--local-tab-width);\n }\n\n :host([data-type='flex']) > button {\n width: 34px;\n position: relative;\n display: flex;\n justify-content: flex-start;\n }\n\n button:hover:enabled,\n button:active:enabled {\n background-color: transparent !important;\n }\n\n button:hover:enabled > wui-icon,\n button:active:enabled > wui-icon {\n color: var(--wui-color-fg-125);\n }\n\n button:hover:enabled > wui-text,\n button:active:enabled > wui-text {\n color: var(--wui-color-fg-125);\n }\n\n button {\n border-radius: var(--wui-border-radius-3xl);\n }\n`);\n//# sourceMappingURL=styles.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/composites/wui-tabs/styles.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-tag/index.js":
|
|||
|
/*!*****************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-tag/index.js ***!
|
|||
|
\*****************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ WuiTag: () => (/* binding */ WuiTag)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n/* harmony import */ var lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lit/decorators.js */ \"./node_modules/@web3modal/ui/node_modules/lit/decorators.js\");\n/* harmony import */ var _components_wui_text_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../components/wui-text/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/components/wui-text/index.js\");\n/* harmony import */ var _utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../utils/ThemeUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/ThemeUtil.js\");\n/* harmony import */ var _utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../utils/WebComponentsUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/WebComponentsUtil.js\");\n/* harmony import */ var _styles_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./styles.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-tag/styles.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\n\n\nlet WuiTag = class WuiTag extends lit__WEBPACK_IMPORTED_MODULE_0__.LitElement {\n constructor() {\n super(...arguments);\n this.variant = 'main';\n }\n render() {\n this.dataset['variant'] = this.variant;\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `\n <wui-text data-variant=${this.variant} variant=\"micro-700\" color=\"inherit\">\n <slot></slot>\n </wui-text>\n `;\n }\n};\nWuiTag.styles = [_utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_3__.resetStyles, _styles_js__WEBPACK_IMPORTED_MODULE_5__[\"default\"]];\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiTag.prototype, \"variant\", void 0);\nWuiTag = __decorate([\n (0,_utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_4__.customElement)('wui-tag')\n], WuiTag);\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/composites/wui-tag/index.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-tag/styles.js":
|
|||
|
/*!******************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-tag/styles.js ***!
|
|||
|
\******************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,lit__WEBPACK_IMPORTED_MODULE_0__.css) `\n :host {\n display: block;\n padding: 3.5px 5px !important;\n border-radius: var(--wui-border-radius-5xs);\n }\n\n :host([data-variant='main']) {\n background-color: var(--wui-accent-glass-015);\n color: var(--wui-color-accent-100);\n }\n\n :host([data-variant='shade']) {\n background-color: var(--wui-gray-glass-010);\n color: var(--wui-color-fg-200);\n }\n\n :host([data-variant='success']) {\n background-color: var(--wui-icon-box-bg-success-100);\n color: var(--wui-color-success-100);\n }\n\n :host([data-variant='error']) {\n background-color: var(--wui-icon-box-bg-error-100);\n color: var(--wui-color-error-100);\n }\n`);\n//# sourceMappingURL=styles.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/composites/wui-tag/styles.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-tooltip/index.js":
|
|||
|
/*!*********************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-tooltip/index.js ***!
|
|||
|
\*********************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ WuiTooltip: () => (/* binding */ WuiTooltip)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n/* harmony import */ var lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lit/decorators.js */ \"./node_modules/@web3modal/ui/node_modules/lit/decorators.js\");\n/* harmony import */ var _components_wui_icon_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../components/wui-icon/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/components/wui-icon/index.js\");\n/* harmony import */ var _components_wui_text_index_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../components/wui-text/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/components/wui-text/index.js\");\n/* harmony import */ var _utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../utils/ThemeUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/ThemeUtil.js\");\n/* harmony import */ var _utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../utils/WebComponentsUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/WebComponentsUtil.js\");\n/* harmony import */ var _styles_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./styles.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-tooltip/styles.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\n\n\n\nlet WuiTooltip = class WuiTooltip extends lit__WEBPACK_IMPORTED_MODULE_0__.LitElement {\n constructor() {\n super(...arguments);\n this.placement = 'top';\n this.message = '';\n }\n render() {\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `<wui-icon\n data-placement=${this.placement}\n color=\"fg-100\"\n size=\"inherit\"\n name=\"cursor\"\n ></wui-icon>\n <wui-text color=\"inherit\" variant=\"small-500\">${this.message}</wui-text>`;\n }\n};\nWuiTooltip.styles = [_utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_4__.resetStyles, _utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_4__.elementStyles, _styles_js__WEBPACK_IMPORTED_MODULE_6__[\"default\"]];\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiTooltip.prototype, \"placement\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiTooltip.prototype, \"message\", void 0);\nWuiTooltip = __decorate([\n (0,_utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_5__.customElement)('wui-tooltip')\n], WuiTooltip);\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/composites/wui-tooltip/index.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-tooltip/styles.js":
|
|||
|
/*!**********************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-tooltip/styles.js ***!
|
|||
|
\**********************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,lit__WEBPACK_IMPORTED_MODULE_0__.css) `\n :host {\n display: block;\n padding: 9px var(--wui-spacing-s) 10px var(--wui-spacing-s);\n border-radius: var(--wui-border-radius-xxs);\n background-color: var(--wui-color-fg-100);\n color: var(--wui-color-bg-100);\n position: relative;\n }\n\n wui-icon {\n position: absolute;\n width: 12px !important;\n height: 4px !important;\n }\n\n wui-icon[data-placement='top'] {\n bottom: 0;\n left: 50%;\n transform: translate(-50%, 95%);\n }\n\n wui-icon[data-placement='bottom'] {\n top: 0;\n left: 50%;\n transform: translate(-50%, -95%) rotate(180deg);\n }\n\n wui-icon[data-placement='right'] {\n top: 50%;\n left: 0;\n transform: translate(-65%, -50%) rotate(90deg);\n }\n\n wui-icon[data-placement='left'] {\n top: 50%;\n right: 0%;\n transform: translate(65%, -50%) rotate(270deg);\n }\n`);\n//# sourceMappingURL=styles.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/composites/wui-tooltip/styles.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-transaction-list-item-loader/index.js":
|
|||
|
/*!******************************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-transaction-list-item-loader/index.js ***!
|
|||
|
\******************************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ WuiTransactionListItemLoader: () => (/* binding */ WuiTransactionListItemLoader)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n/* harmony import */ var _utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../utils/WebComponentsUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/WebComponentsUtil.js\");\n/* harmony import */ var _utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../utils/ThemeUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/ThemeUtil.js\");\n/* harmony import */ var _components_wui_text_index_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../components/wui-text/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/components/wui-text/index.js\");\n/* harmony import */ var _wui_transaction_visual_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../wui-transaction-visual/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-transaction-visual/index.js\");\n/* harmony import */ var _styles_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./styles.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-transaction-list-item-loader/styles.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\n\n\nlet WuiTransactionListItemLoader = class WuiTransactionListItemLoader extends lit__WEBPACK_IMPORTED_MODULE_0__.LitElement {\n render() {\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `\n <wui-flex alignItems=\"center\">\n <wui-shimmer width=\"40px\" height=\"40px\"></wui-shimmer>\n <wui-flex flexDirection=\"column\" gap=\"2xs\">\n <wui-shimmer width=\"72px\" height=\"16px\" borderRadius=\"4xs\"></wui-shimmer>\n <wui-shimmer width=\"148px\" height=\"14px\" borderRadius=\"4xs\"></wui-shimmer>\n </wui-flex>\n <wui-shimmer width=\"24px\" height=\"12px\" borderRadius=\"5xs\"></wui-shimmer>\n </wui-flex>\n `;\n }\n};\nWuiTransactionListItemLoader.styles = [_utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_2__.resetStyles, _styles_js__WEBPACK_IMPORTED_MODULE_5__[\"default\"]];\nWuiTransactionListItemLoader = __decorate([\n (0,_utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_1__.customElement)('wui-transaction-list-item-loader')\n], WuiTransactionListItemLoader);\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/composites/wui-transaction-list-item-loader/index.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-transaction-list-item-loader/styles.js":
|
|||
|
/*!*******************************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-transaction-list-item-loader/styles.js ***!
|
|||
|
\*******************************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,lit__WEBPACK_IMPORTED_MODULE_0__.css) `\n :host > wui-flex:first-child {\n column-gap: var(--wui-spacing-s);\n padding: 7px var(--wui-spacing-l) 7px var(--wui-spacing-xs);\n width: 100%;\n }\n\n wui-flex {\n display: flex;\n flex: 1;\n }\n`);\n//# sourceMappingURL=styles.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/composites/wui-transaction-list-item-loader/styles.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-transaction-list-item/index.js":
|
|||
|
/*!***********************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-transaction-list-item/index.js ***!
|
|||
|
\***********************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ WuiTransactionListItem: () => (/* binding */ WuiTransactionListItem)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n/* harmony import */ var lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lit/decorators.js */ \"./node_modules/@web3modal/ui/node_modules/lit/decorators.js\");\n/* harmony import */ var _utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../utils/WebComponentsUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/WebComponentsUtil.js\");\n/* harmony import */ var _utils_TypeUtil_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../utils/TypeUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/TypeUtil.js\");\n/* harmony import */ var _utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../utils/ThemeUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/ThemeUtil.js\");\n/* harmony import */ var _components_wui_text_index_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../components/wui-text/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/components/wui-text/index.js\");\n/* harmony import */ var _wui_transaction_visual_index_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../wui-transaction-visual/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-transaction-visual/index.js\");\n/* harmony import */ var _styles_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./styles.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-transaction-list-item/styles.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\n\n\n\n\nlet WuiTransactionListItem = class WuiTransactionListItem extends lit__WEBPACK_IMPORTED_MODULE_0__.LitElement {\n constructor() {\n super(...arguments);\n this.type = 'approve';\n this.onlyDirectionIcon = false;\n this.images = [];\n }\n render() {\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `\n <wui-flex>\n <wui-transaction-visual\n status=${this.status}\n direction=${this.direction}\n type=${this.type}\n onlyDirectionIcon=${this.onlyDirectionIcon}\n .images=${this.images}\n ></wui-transaction-visual>\n <wui-flex flexDirection=\"column\" gap=\"3xs\">\n <wui-text variant=\"paragraph-600\" color=\"fg-100\">\n ${_utils_TypeUtil_js__WEBPACK_IMPORTED_MODULE_3__.TransactionTypePastTense[this.type]}\n </wui-text>\n <wui-flex class=\"description-container\">\n ${this.templateDescription()} ${this.templateSecondDescription()}\n </wui-flex>\n </wui-flex>\n <wui-text variant=\"micro-700\" color=\"fg-300\"><span>${this.date}</span></wui-text>\n </wui-flex>\n `;\n }\n templateDescription() {\n const description = this.descriptions?.[0];\n return description\n ? (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `\n <wui-text variant=\"small-500\" color=\"fg-200\">\n <span>${description}</span>\n </wui-text>\n `\n : null;\n }\n templateSecondDescription() {\n const description = this.descriptions?.[1];\n return description\n
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-transaction-list-item/styles.js":
|
|||
|
/*!************************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-transaction-list-item/styles.js ***!
|
|||
|
\************************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,lit__WEBPACK_IMPORTED_MODULE_0__.css) `\n :host > wui-flex:first-child {\n align-items: center;\n column-gap: var(--wui-spacing-s);\n padding: 6.5px var(--wui-spacing-l) 6.5px var(--wui-spacing-xs);\n width: 100%;\n }\n\n :host > wui-flex:first-child wui-text:nth-child(1) {\n text-transform: capitalize;\n }\n\n wui-transaction-visual {\n width: 40px;\n height: 40px;\n }\n\n wui-flex {\n flex: 1;\n }\n\n :host wui-flex wui-flex {\n overflow: hidden;\n }\n\n :host .description-container wui-text span {\n word-break: break-all;\n }\n\n :host .description-container wui-text {\n overflow: hidden;\n }\n\n :host .description-separator-icon {\n margin: 0px 6px;\n }\n\n :host wui-text > span {\n overflow: hidden;\n display: -webkit-box;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 1;\n }\n`);\n//# sourceMappingURL=styles.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/composites/wui-transaction-list-item/styles.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-transaction-visual/index.js":
|
|||
|
/*!********************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-transaction-visual/index.js ***!
|
|||
|
\********************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ WuiTransactionVisual: () => (/* binding */ WuiTransactionVisual)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n/* harmony import */ var lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lit/decorators.js */ \"./node_modules/@web3modal/ui/node_modules/lit/decorators.js\");\n/* harmony import */ var _utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../utils/WebComponentsUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/WebComponentsUtil.js\");\n/* harmony import */ var _components_wui_image_index_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../components/wui-image/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/components/wui-image/index.js\");\n/* harmony import */ var _wui_icon_box_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../wui-icon-box/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-icon-box/index.js\");\n/* harmony import */ var _styles_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./styles.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-transaction-visual/styles.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\n\n\nlet WuiTransactionVisual = class WuiTransactionVisual extends lit__WEBPACK_IMPORTED_MODULE_0__.LitElement {\n constructor() {\n super(...arguments);\n this.images = [];\n this.secondImage = {\n type: undefined,\n url: ''\n };\n }\n render() {\n const [firstImage, secondImage] = this.images;\n const isLeftNFT = firstImage?.type === 'NFT';\n const isRightNFT = secondImage?.url ? secondImage.type === 'NFT' : isLeftNFT;\n const leftRadius = isLeftNFT ? 'var(--wui-border-radius-xxs)' : 'var(--wui-border-radius-s)';\n const rightRadius = isRightNFT ? 'var(--wui-border-radius-xxs)' : 'var(--wui-border-radius-s)';\n this.style.cssText = `\n --local-left-border-radius: ${leftRadius};\n --local-right-border-radius: ${rightRadius};\n `;\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `<wui-flex> ${this.templateVisual()} ${this.templateIcon()} </wui-flex>`;\n }\n templateVisual() {\n const [firstImage, secondImage] = this.images;\n const firstImageType = firstImage?.type;\n const haveTwoImages = this.images.length === 2;\n if (haveTwoImages && (firstImage?.url || secondImage?.url)) {\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `<div class=\"swap-images-container\">\n ${firstImage?.url\n ? (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `<wui-image src=${firstImage.url} alt=\"Transaction image\"></wui-image>`\n : null}\n ${secondImage?.url\n ? (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `<wui-image src=${secondImage.url} alt=\"Transaction image\"></wui-image>`\n : null}\n </div>`;\n }\n else if (firstImage?.url) {\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `<wui-image src=${firstImage.url} alt=\"Transaction image\"></wui-image>`;\n }\n else if (firstImageType === 'NFT') {\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `<wui-icon size=\"
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-transaction-visual/styles.js":
|
|||
|
/*!*********************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-transaction-visual/styles.js ***!
|
|||
|
\*********************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,lit__WEBPACK_IMPORTED_MODULE_0__.css) `\n :host > wui-flex {\n display: flex;\n justify-content: center;\n align-items: center;\n position: relative;\n width: 40px;\n height: 40px;\n box-shadow: inset 0 0 0 1px var(--wui-gray-glass-005);\n background-color: var(--wui-gray-glass-005);\n }\n\n :host > wui-flex wui-image {\n display: block;\n z-index: -1;\n }\n\n :host > wui-flex,\n :host > wui-flex wui-image,\n .swap-images-container,\n .swap-images-container.nft,\n wui-image.nft {\n border-top-left-radius: var(--local-left-border-radius);\n border-top-right-radius: var(--local-right-border-radius);\n border-bottom-left-radius: var(--local-left-border-radius);\n border-bottom-right-radius: var(--local-right-border-radius);\n }\n\n wui-icon {\n width: 20px;\n height: 20px;\n }\n\n wui-icon-box {\n position: absolute;\n right: 0;\n bottom: 0;\n transform: translate(20%, 20%);\n }\n\n .swap-images-container {\n position: relative;\n width: 40px;\n height: 40px;\n overflow: hidden;\n }\n\n .swap-images-container wui-image:first-child {\n position: absolute;\n width: 40px;\n height: 40px;\n top: 0;\n left: 0%;\n clip-path: inset(0px calc(50% + 2px) 0px 0%);\n }\n\n .swap-images-container wui-image:last-child {\n clip-path: inset(0px 0px 0px calc(50% + 2px));\n }\n`);\n//# sourceMappingURL=styles.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/composites/wui-transaction-visual/styles.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-visual-thumbnail/index.js":
|
|||
|
/*!******************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-visual-thumbnail/index.js ***!
|
|||
|
\******************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ WuiVisualThumbnail: () => (/* binding */ WuiVisualThumbnail)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n/* harmony import */ var lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lit/decorators.js */ \"./node_modules/@web3modal/ui/node_modules/lit/decorators.js\");\n/* harmony import */ var _components_wui_image_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../components/wui-image/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/components/wui-image/index.js\");\n/* harmony import */ var _components_wui_icon_index_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../components/wui-icon/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/components/wui-icon/index.js\");\n/* harmony import */ var _utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../utils/ThemeUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/ThemeUtil.js\");\n/* harmony import */ var _utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../utils/WebComponentsUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/WebComponentsUtil.js\");\n/* harmony import */ var _styles_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./styles.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-visual-thumbnail/styles.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\n\n\n\nlet WuiVisualThumbnail = class WuiVisualThumbnail extends lit__WEBPACK_IMPORTED_MODULE_0__.LitElement {\n render() {\n this.style.cssText = `--local-border-radius: ${this.borderRadiusFull ? '1000px' : '20px'};`;\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `${this.templateVisual()}`;\n }\n templateVisual() {\n if (this.imageSrc) {\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `<wui-image src=${this.imageSrc} alt=${this.alt ?? ''}></wui-image>`;\n }\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `<wui-icon\n data-parent-size=\"md\"\n size=\"inherit\"\n color=\"inherit\"\n name=\"walletPlaceholder\"\n ></wui-icon>`;\n }\n};\nWuiVisualThumbnail.styles = [_utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_4__.resetStyles, _styles_js__WEBPACK_IMPORTED_MODULE_6__[\"default\"]];\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiVisualThumbnail.prototype, \"imageSrc\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiVisualThumbnail.prototype, \"alt\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)({ type: Boolean })\n], WuiVisualThumbnail.prototype, \"borderRadiusFull\", void 0);\nWuiVisualThumbnail = __decorate([\n (0,_utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_5__.customElement)('wui-visual-thumbnail')\n], WuiVisualThumbnail);\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/composites/wui-visual-thumbnail/index.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-visual-thumbnail/styles.js":
|
|||
|
/*!*******************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-visual-thumbnail/styles.js ***!
|
|||
|
\*******************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,lit__WEBPACK_IMPORTED_MODULE_0__.css) `\n :host {\n display: flex;\n justify-content: center;\n align-items: center;\n width: 64px;\n height: 64px;\n box-shadow: 0 0 0 8px var(--wui-thumbnail-border);\n border-radius: var(--local-border-radius);\n overflow: hidden;\n }\n\n wui-icon {\n width: 32px;\n height: 32px;\n }\n`);\n//# sourceMappingURL=styles.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/composites/wui-visual-thumbnail/styles.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-wallet-image/index.js":
|
|||
|
/*!**************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-wallet-image/index.js ***!
|
|||
|
\**************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ WuiWalletImage: () => (/* binding */ WuiWalletImage)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n/* harmony import */ var lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lit/decorators.js */ \"./node_modules/@web3modal/ui/node_modules/lit/decorators.js\");\n/* harmony import */ var _components_wui_icon_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../components/wui-icon/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/components/wui-icon/index.js\");\n/* harmony import */ var _components_wui_image_index_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../components/wui-image/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/components/wui-image/index.js\");\n/* harmony import */ var _utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../utils/ThemeUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/ThemeUtil.js\");\n/* harmony import */ var _utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../utils/WebComponentsUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/WebComponentsUtil.js\");\n/* harmony import */ var _styles_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./styles.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-wallet-image/styles.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\n\n\n\nlet WuiWalletImage = class WuiWalletImage extends lit__WEBPACK_IMPORTED_MODULE_0__.LitElement {\n constructor() {\n super(...arguments);\n this.size = 'md';\n this.name = '';\n }\n render() {\n let borderRadius = 'xxs';\n if (this.size === 'lg') {\n borderRadius = 'm';\n }\n else if (this.size === 'md') {\n borderRadius = 'xs';\n }\n else {\n borderRadius = 'xxs';\n }\n this.style.cssText = `\n --local-border-radius: var(--wui-border-radius-${borderRadius});\n --local-size: var(--wui-wallet-image-size-${this.size});\n `;\n if (this.walletIcon) {\n this.dataset['walletIcon'] = this.walletIcon;\n }\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) ` ${this.templateVisual()}`;\n }\n templateVisual() {\n if (this.imageSrc) {\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `<wui-image src=${this.imageSrc} alt=${this.name}></wui-image>`;\n }\n else if (this.walletIcon) {\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `<wui-icon\n data-parent-size=\"md\"\n size=\"md\"\n color=\"inherit\"\n name=${this.walletIcon}\n ></wui-icon>`;\n }\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `<wui-icon\n data-parent-size=${this.size}\n size=\"inherit\"\n color=\"inherit\"\n name=\"walletPlaceholder\"\n ></wui-icon>`;\n }\n};\nWuiWalletImage.styles = [_utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_4__.resetStyles, _styles_js__WEBPACK_IMPORTED_MODULE_6__[\"default\"]];\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiWalletImage.prototype, \"size\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1_
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-wallet-image/styles.js":
|
|||
|
/*!***************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-wallet-image/styles.js ***!
|
|||
|
\***************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,lit__WEBPACK_IMPORTED_MODULE_0__.css) `\n :host {\n position: relative;\n border-radius: inherit;\n overflow: hidden;\n background-color: var(--wui-gray-glass-002);\n display: flex;\n justify-content: center;\n align-items: center;\n width: var(--local-size);\n height: var(--local-size);\n border-radius: var(--local-border-radius);\n }\n\n :host::after {\n content: '';\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n border-radius: inherit;\n border: 1px solid var(--wui-gray-glass-010);\n pointer-events: none;\n }\n\n :host([name='Extension'])::after {\n border: 1px solid var(--wui-accent-glass-010);\n }\n\n :host([data-wallet-icon='allWallets']) {\n background-color: var(--wui-all-wallets-bg-100);\n }\n\n :host([data-wallet-icon='allWallets'])::after {\n border: 1px solid var(--wui-accent-glass-010);\n }\n\n wui-icon[data-parent-size='inherit'] {\n width: 75%;\n height: 75%;\n align-items: center;\n }\n\n wui-icon[data-parent-size='sm'] {\n width: 18px;\n height: 18px;\n }\n\n wui-icon[data-parent-size='md'] {\n width: 24px;\n height: 24px;\n }\n\n wui-icon[data-parent-size='lg'] {\n width: 42px;\n height: 42px;\n }\n\n wui-icon[data-parent-size='full'] {\n width: 100%;\n height: 100%;\n }\n`);\n//# sourceMappingURL=styles.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/composites/wui-wallet-image/styles.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/layout/wui-flex/index.js":
|
|||
|
/*!**************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/layout/wui-flex/index.js ***!
|
|||
|
\**************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ WuiFlex: () => (/* binding */ WuiFlex)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n/* harmony import */ var lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lit/decorators.js */ \"./node_modules/@web3modal/ui/node_modules/lit/decorators.js\");\n/* harmony import */ var _utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../utils/ThemeUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/ThemeUtil.js\");\n/* harmony import */ var _utils_UiHelperUtil_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../utils/UiHelperUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/UiHelperUtil.js\");\n/* harmony import */ var _utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../utils/WebComponentsUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/WebComponentsUtil.js\");\n/* harmony import */ var _styles_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./styles.js */ \"./node_modules/@web3modal/ui/dist/esm/src/layout/wui-flex/styles.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\n\n\nlet WuiFlex = class WuiFlex extends lit__WEBPACK_IMPORTED_MODULE_0__.LitElement {\n render() {\n this.style.cssText = `\n flex-direction: ${this.flexDirection};\n flex-wrap: ${this.flexWrap};\n flex-basis: ${this.flexBasis};\n flex-grow: ${this.flexGrow};\n flex-shrink: ${this.flexShrink};\n align-items: ${this.alignItems};\n justify-content: ${this.justifyContent};\n column-gap: ${this.columnGap && `var(--wui-spacing-${this.columnGap})`};\n row-gap: ${this.rowGap && `var(--wui-spacing-${this.rowGap})`};\n gap: ${this.gap && `var(--wui-spacing-${this.gap})`};\n padding-top: ${this.padding && _utils_UiHelperUtil_js__WEBPACK_IMPORTED_MODULE_3__.UiHelperUtil.getSpacingStyles(this.padding, 0)};\n padding-right: ${this.padding && _utils_UiHelperUtil_js__WEBPACK_IMPORTED_MODULE_3__.UiHelperUtil.getSpacingStyles(this.padding, 1)};\n padding-bottom: ${this.padding && _utils_UiHelperUtil_js__WEBPACK_IMPORTED_MODULE_3__.UiHelperUtil.getSpacingStyles(this.padding, 2)};\n padding-left: ${this.padding && _utils_UiHelperUtil_js__WEBPACK_IMPORTED_MODULE_3__.UiHelperUtil.getSpacingStyles(this.padding, 3)};\n margin-top: ${this.margin && _utils_UiHelperUtil_js__WEBPACK_IMPORTED_MODULE_3__.UiHelperUtil.getSpacingStyles(this.margin, 0)};\n margin-right: ${this.margin && _utils_UiHelperUtil_js__WEBPACK_IMPORTED_MODULE_3__.UiHelperUtil.getSpacingStyles(this.margin, 1)};\n margin-bottom: ${this.margin && _utils_UiHelperUtil_js__WEBPACK_IMPORTED_MODULE_3__.UiHelperUtil.getSpacingStyles(this.margin, 2)};\n margin-left: ${this.margin && _utils_UiHelperUtil_js__WEBPACK_IMPORTED_MODULE_3__.UiHelperUtil.getSpacingStyles(this.margin, 3)};\n `;\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `<slot></slot>`;\n }\n};\nWuiFlex.styles = [_utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_2__.resetStyles, _styles_js__WEBPACK_IMPORTED_MODULE_5__[\"default\"]];\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiFlex.prototype, \"flexDirection\", void 0);\n__decorate([\n (0,lit_decorators_js__WE
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/layout/wui-flex/styles.js":
|
|||
|
/*!***************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/layout/wui-flex/styles.js ***!
|
|||
|
\***************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,lit__WEBPACK_IMPORTED_MODULE_0__.css) `\n :host {\n display: flex;\n width: inherit;\n height: inherit;\n }\n`);\n//# sourceMappingURL=styles.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/layout/wui-flex/styles.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/layout/wui-grid/index.js":
|
|||
|
/*!**************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/layout/wui-grid/index.js ***!
|
|||
|
\**************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ WuiGrid: () => (/* binding */ WuiGrid)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n/* harmony import */ var lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lit/decorators.js */ \"./node_modules/@web3modal/ui/node_modules/lit/decorators.js\");\n/* harmony import */ var _utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../utils/ThemeUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/ThemeUtil.js\");\n/* harmony import */ var _utils_UiHelperUtil_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../utils/UiHelperUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/UiHelperUtil.js\");\n/* harmony import */ var _utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../utils/WebComponentsUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/WebComponentsUtil.js\");\n/* harmony import */ var _styles_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./styles.js */ \"./node_modules/@web3modal/ui/dist/esm/src/layout/wui-grid/styles.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\n\n\nlet WuiGrid = class WuiGrid extends lit__WEBPACK_IMPORTED_MODULE_0__.LitElement {\n render() {\n this.style.cssText = `\n grid-template-rows: ${this.gridTemplateRows};\n grid-template-columns: ${this.gridTemplateColumns};\n justify-items: ${this.justifyItems};\n align-items: ${this.alignItems};\n justify-content: ${this.justifyContent};\n align-content: ${this.alignContent};\n column-gap: ${this.columnGap && `var(--wui-spacing-${this.columnGap})`};\n row-gap: ${this.rowGap && `var(--wui-spacing-${this.rowGap})`};\n gap: ${this.gap && `var(--wui-spacing-${this.gap})`};\n padding-top: ${this.padding && _utils_UiHelperUtil_js__WEBPACK_IMPORTED_MODULE_3__.UiHelperUtil.getSpacingStyles(this.padding, 0)};\n padding-right: ${this.padding && _utils_UiHelperUtil_js__WEBPACK_IMPORTED_MODULE_3__.UiHelperUtil.getSpacingStyles(this.padding, 1)};\n padding-bottom: ${this.padding && _utils_UiHelperUtil_js__WEBPACK_IMPORTED_MODULE_3__.UiHelperUtil.getSpacingStyles(this.padding, 2)};\n padding-left: ${this.padding && _utils_UiHelperUtil_js__WEBPACK_IMPORTED_MODULE_3__.UiHelperUtil.getSpacingStyles(this.padding, 3)};\n margin-top: ${this.margin && _utils_UiHelperUtil_js__WEBPACK_IMPORTED_MODULE_3__.UiHelperUtil.getSpacingStyles(this.margin, 0)};\n margin-right: ${this.margin && _utils_UiHelperUtil_js__WEBPACK_IMPORTED_MODULE_3__.UiHelperUtil.getSpacingStyles(this.margin, 1)};\n margin-bottom: ${this.margin && _utils_UiHelperUtil_js__WEBPACK_IMPORTED_MODULE_3__.UiHelperUtil.getSpacingStyles(this.margin, 2)};\n margin-left: ${this.margin && _utils_UiHelperUtil_js__WEBPACK_IMPORTED_MODULE_3__.UiHelperUtil.getSpacingStyles(this.margin, 3)};\n `;\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `<slot></slot>`;\n }\n};\nWuiGrid.styles = [_utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_2__.resetStyles, _styles_js__WEBPACK_IMPORTED_MODULE_5__[\"default\"]];\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiGrid.prototype, \"gridTemplateRows\", void 0);\n__decorate([\n (0,lit_decorators
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/layout/wui-grid/styles.js":
|
|||
|
/*!***************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/layout/wui-grid/styles.js ***!
|
|||
|
\***************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,lit__WEBPACK_IMPORTED_MODULE_0__.css) `\n :host {\n display: grid;\n width: inherit;\n height: inherit;\n }\n`);\n//# sourceMappingURL=styles.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/layout/wui-grid/styles.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/layout/wui-separator/index.js":
|
|||
|
/*!*******************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/layout/wui-separator/index.js ***!
|
|||
|
\*******************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ WuiSeparator: () => (/* binding */ WuiSeparator)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n/* harmony import */ var lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lit/decorators.js */ \"./node_modules/@web3modal/ui/node_modules/lit/decorators.js\");\n/* harmony import */ var _components_wui_text_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../components/wui-text/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/components/wui-text/index.js\");\n/* harmony import */ var _utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../utils/ThemeUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/ThemeUtil.js\");\n/* harmony import */ var _utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../utils/WebComponentsUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/WebComponentsUtil.js\");\n/* harmony import */ var _styles_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./styles.js */ \"./node_modules/@web3modal/ui/dist/esm/src/layout/wui-separator/styles.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\n\n\nlet WuiSeparator = class WuiSeparator extends lit__WEBPACK_IMPORTED_MODULE_0__.LitElement {\n constructor() {\n super(...arguments);\n this.text = '';\n }\n render() {\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `${this.template()}`;\n }\n template() {\n if (this.text) {\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `<wui-text variant=\"small-500\" color=\"fg-200\">${this.text}</wui-text>`;\n }\n return null;\n }\n};\nWuiSeparator.styles = [_utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_3__.resetStyles, _styles_js__WEBPACK_IMPORTED_MODULE_5__[\"default\"]];\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiSeparator.prototype, \"text\", void 0);\nWuiSeparator = __decorate([\n (0,_utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_4__.customElement)('wui-separator')\n], WuiSeparator);\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/layout/wui-separator/index.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/layout/wui-separator/styles.js":
|
|||
|
/*!********************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/layout/wui-separator/styles.js ***!
|
|||
|
\********************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,lit__WEBPACK_IMPORTED_MODULE_0__.css) `\n :host {\n position: relative;\n display: flex;\n width: 100%;\n height: 1px;\n background-color: var(--wui-gray-glass-005);\n justify-content: center;\n align-items: center;\n }\n\n :host > wui-text {\n position: absolute;\n padding: 0px 10px;\n background-color: var(--wui-color-bg-125);\n }\n`);\n//# sourceMappingURL=styles.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/layout/wui-separator/styles.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/utils/QrCode.js":
|
|||
|
/*!*****************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/utils/QrCode.js ***!
|
|||
|
\*****************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ QrCodeUtil: () => (/* binding */ QrCodeUtil)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n/* harmony import */ var qrcode__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! qrcode */ \"./node_modules/qrcode/lib/browser.js\");\n\n\nconst CONNECTING_ERROR_MARGIN = 0.1;\nconst CIRCLE_SIZE_MODIFIER = 2.5;\nconst QRCODE_MATRIX_MARGIN = 7;\nfunction isAdjecentDots(cy, otherCy, cellSize) {\n if (cy === otherCy) {\n return false;\n }\n const diff = cy - otherCy < 0 ? otherCy - cy : cy - otherCy;\n return diff <= cellSize + CONNECTING_ERROR_MARGIN;\n}\nfunction getMatrix(value, errorCorrectionLevel) {\n const arr = Array.prototype.slice.call(qrcode__WEBPACK_IMPORTED_MODULE_1__.create(value, { errorCorrectionLevel }).modules.data, 0);\n const sqrt = Math.sqrt(arr.length);\n return arr.reduce((rows, key, index) => (index % sqrt === 0 ? rows.push([key]) : rows[rows.length - 1].push(key)) && rows, []);\n}\nconst QrCodeUtil = {\n generate(uri, size, logoSize) {\n const dotColor = '#141414';\n const edgeColor = 'transparent';\n const strokeWidth = 5;\n const dots = [];\n const matrix = getMatrix(uri, 'Q');\n const cellSize = size / matrix.length;\n const qrList = [\n { x: 0, y: 0 },\n { x: 1, y: 0 },\n { x: 0, y: 1 }\n ];\n qrList.forEach(({ x, y }) => {\n const x1 = (matrix.length - QRCODE_MATRIX_MARGIN) * cellSize * x;\n const y1 = (matrix.length - QRCODE_MATRIX_MARGIN) * cellSize * y;\n const borderRadius = 0.45;\n for (let i = 0; i < qrList.length; i += 1) {\n const dotSize = cellSize * (QRCODE_MATRIX_MARGIN - i * 2);\n dots.push((0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `\n <rect\n fill=${i === 2 ? dotColor : edgeColor}\n width=${i === 0 ? dotSize - strokeWidth : dotSize}\n rx= ${i === 0 ? (dotSize - strokeWidth) * borderRadius : dotSize * borderRadius}\n ry= ${i === 0 ? (dotSize - strokeWidth) * borderRadius : dotSize * borderRadius}\n stroke=${dotColor}\n stroke-width=${i === 0 ? strokeWidth : 0}\n height=${i === 0 ? dotSize - strokeWidth : dotSize}\n x= ${i === 0 ? y1 + cellSize * i + strokeWidth / 2 : y1 + cellSize * i}\n y= ${i === 0 ? x1 + cellSize * i + strokeWidth / 2 : x1 + cellSize * i}\n />\n `);\n }\n });\n const clearArenaSize = Math.floor((logoSize + 25) / cellSize);\n const matrixMiddleStart = matrix.length / 2 - clearArenaSize / 2;\n const matrixMiddleEnd = matrix.length / 2 + clearArenaSize / 2 - 1;\n const circles = [];\n matrix.forEach((row, i) => {\n row.forEach((_, j) => {\n if (matrix[i][j]) {\n if (!((i < QRCODE_MATRIX_MARGIN && j < QRCODE_MATRIX_MARGIN) ||\n (i > matrix.length - (QRCODE_MATRIX_MARGIN + 1) && j < QRCODE_MATRIX_MARGIN) ||\n (i < QRCODE_MATRIX_MARGIN && j > matrix.length - (QRCODE_MATRIX_MARGIN + 1)))) {\n if (!(i > matrixMiddleStart &&\n i < matrixMiddleEnd &&\n j > matrixMiddleStart &&\n j < matrixMiddleEnd)) {\n const cx = i * cellSize + cellSize / 2;\n const cy = j * cellSize + cellSize / 2;\n circles.push([cx, cy]);\n }\n }\n }\n });\n });\n const circlesToConnect = {};\n circles.forEach(([cx, cy]) => {\n if (circlesToConnect[cx]) {\n c
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/utils/ThemeUtil.js":
|
|||
|
/*!********************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/utils/ThemeUtil.js ***!
|
|||
|
\********************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ colorStyles: () => (/* binding */ colorStyles),\n/* harmony export */ elementStyles: () => (/* binding */ elementStyles),\n/* harmony export */ initializeTheming: () => (/* binding */ initializeTheming),\n/* harmony export */ resetStyles: () => (/* binding */ resetStyles),\n/* harmony export */ setColorTheme: () => (/* binding */ setColorTheme),\n/* harmony export */ setThemeVariables: () => (/* binding */ setThemeVariables)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nlet themeTag = undefined;\nlet darkModeTag = undefined;\nlet lightModeTag = undefined;\nfunction initializeTheming(themeVariables, themeMode) {\n themeTag = document.createElement('style');\n darkModeTag = document.createElement('style');\n lightModeTag = document.createElement('style');\n themeTag.textContent = createRootStyles(themeVariables).core.cssText;\n darkModeTag.textContent = createRootStyles(themeVariables).dark.cssText;\n lightModeTag.textContent = createRootStyles(themeVariables).light.cssText;\n document.head.appendChild(themeTag);\n document.head.appendChild(darkModeTag);\n document.head.appendChild(lightModeTag);\n setColorTheme(themeMode);\n}\nfunction setColorTheme(themeMode) {\n if (darkModeTag && lightModeTag) {\n if (themeMode === 'light') {\n darkModeTag.removeAttribute('media');\n lightModeTag.media = 'enabled';\n }\n else {\n lightModeTag.removeAttribute('media');\n darkModeTag.media = 'enabled';\n }\n }\n}\nfunction setThemeVariables(themeVariables) {\n if (themeTag && darkModeTag && lightModeTag) {\n themeTag.textContent = createRootStyles(themeVariables).core.cssText;\n darkModeTag.textContent = createRootStyles(themeVariables).dark.cssText;\n lightModeTag.textContent = createRootStyles(themeVariables).light.cssText;\n }\n}\nfunction createRootStyles(themeVariables) {\n return {\n core: (0,lit__WEBPACK_IMPORTED_MODULE_0__.css) `\n :root {\n --w3m-color-mix-strength: ${(0,lit__WEBPACK_IMPORTED_MODULE_0__.unsafeCSS)(themeVariables?.['--w3m-color-mix-strength']\n ? `${themeVariables['--w3m-color-mix-strength']}%`\n : '0%')};\n --w3m-font-family: ${(0,lit__WEBPACK_IMPORTED_MODULE_0__.unsafeCSS)(themeVariables?.['--w3m-font-family'] ||\n '-apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif')};\n --w3m-font-size-master: ${(0,lit__WEBPACK_IMPORTED_MODULE_0__.unsafeCSS)(themeVariables?.['--w3m-font-size-master'] || '10px')};\n --w3m-border-radius-master: ${(0,lit__WEBPACK_IMPORTED_MODULE_0__.unsafeCSS)(themeVariables?.['--w3m-border-radius-master'] || '4px')};\n --w3m-z-index: ${(0,lit__WEBPACK_IMPORTED_MODULE_0__.unsafeCSS)(themeVariables?.['--w3m-z-index'] || 100)};\n\n --wui-font-family: var(--w3m-font-family);\n\n --wui-font-size-micro: var(--w3m-font-size-master);\n --wui-font-size-tiny: calc(var(--w3m-font-size-master) * 1.2);\n --wui-font-size-small: calc(var(--w3m-font-size-master) * 1.4);\n --wui-font-size-paragraph: calc(var(--w3m-font-size-master) * 1.6);\n --wui-font-size-large: calc(var(--w3m-font-size-master) * 2);\n\n --wui-border-radius-5xs: var(--w3m-border-radius-master);\n --wui-border-radius-4xs: calc(var(--w3m-border-radius-master) * 1.5);\n --wui-border-radius-3xs: calc(var(--w3m-border-radius-master) * 2);\n --wui-border-radius-xxs: calc(var(--w3m-border-radius-master) * 3);\n --wui-border-radius-xs: calc(var(--w3m-border-radius-master) * 4);\n --wui-border-radius-s: calc(var(--w3m-border-radius-master) * 5);\n --wui-border-radius-m: calc(var(--w3m-bor
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/utils/TransactionUtil.js":
|
|||
|
/*!**************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/utils/TransactionUtil.js ***!
|
|||
|
\**************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ TransactionUtil: () => (/* binding */ TransactionUtil)\n/* harmony export */ });\n/* harmony import */ var _web3modal_common__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @web3modal/common */ \"./node_modules/@web3modal/common/dist/esm/index.js\");\n/* harmony import */ var _UiHelperUtil_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./UiHelperUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/UiHelperUtil.js\");\n\n\nconst FLOAT_FIXED_VALUE = 3;\nconst plusTypes = ['receive', 'deposit', 'borrow', 'claim'];\nconst minusTypes = ['withdraw', 'repay', 'burn'];\nconst TransactionUtil = {\n getTransactionGroupTitle(year) {\n const currentYear = _web3modal_common__WEBPACK_IMPORTED_MODULE_0__.DateUtil.getYear();\n const isCurrentYear = year === currentYear;\n const groupTitle = isCurrentYear ? 'This Year' : year;\n return groupTitle;\n },\n getTransactionImages(transfers) {\n const [transfer, secondTransfer] = transfers;\n const isAllNFT = Boolean(transfer) && transfers?.every(item => Boolean(item.nft_info));\n const haveMultipleTransfers = transfers?.length > 1;\n const haveTwoTransfers = transfers?.length === 2;\n if (haveTwoTransfers && !isAllNFT) {\n return [this.getTransactionImage(transfer), this.getTransactionImage(secondTransfer)];\n }\n if (haveMultipleTransfers) {\n return transfers.map(item => this.getTransactionImage(item));\n }\n return [this.getTransactionImage(transfer)];\n },\n getTransactionImage(transfer) {\n return {\n type: TransactionUtil.getTransactionTransferTokenType(transfer),\n url: TransactionUtil.getTransactionImageURL(transfer)\n };\n },\n getTransactionImageURL(transfer) {\n let imageURL = null;\n const isNFT = Boolean(transfer?.nft_info);\n const isFungible = Boolean(transfer?.fungible_info);\n if (transfer && isNFT) {\n imageURL = transfer?.nft_info?.content?.preview?.url;\n }\n else if (transfer && isFungible) {\n imageURL = transfer?.fungible_info?.icon?.url;\n }\n return imageURL;\n },\n getTransactionTransferTokenType(transfer) {\n if (transfer?.fungible_info) {\n return 'FUNGIBLE';\n }\n else if (transfer?.nft_info) {\n return 'NFT';\n }\n return null;\n },\n getTransactionDescriptions(transaction) {\n const type = transaction.metadata?.operationType;\n const transfers = transaction.transfers;\n const haveTransfer = transaction.transfers?.length > 0;\n const haveMultipleTransfers = transaction.transfers?.length > 1;\n const isFungible = haveTransfer && transfers?.every(transfer => Boolean(transfer.fungible_info));\n const [firstTransfer, secondTransfer] = transfers;\n let firstDescription = this.getTransferDescription(firstTransfer);\n let secondDescription = this.getTransferDescription(secondTransfer);\n if (!haveTransfer) {\n const isSendOrReceive = type === 'send' || type === 'receive';\n if (isSendOrReceive && isFungible) {\n firstDescription = _UiHelperUtil_js__WEBPACK_IMPORTED_MODULE_1__.UiHelperUtil.getTruncateString({\n string: transaction.metadata.sentFrom,\n charsStart: 4,\n charsEnd: 6,\n truncate: 'middle'\n });\n secondDescription = _UiHelperUtil_js__WEBPACK_IMPORTED_MODULE_1__.UiHelperUtil.getTruncateString({\n string: transaction.metadata.sentTo,\n charsStart: 4,\n charsEnd: 6,\n truncate: 'middle'\n });\n return [firstDescription, secondDescription];\n }\n return [tran
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/utils/TypeUtil.js":
|
|||
|
/*!*******************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/utils/TypeUtil.js ***!
|
|||
|
\*******************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ TransactionTypePastTense: () => (/* binding */ TransactionTypePastTense)\n/* harmony export */ });\nvar TransactionTypePastTense;\n(function (TransactionTypePastTense) {\n TransactionTypePastTense[\"approve\"] = \"approved\";\n TransactionTypePastTense[\"bought\"] = \"bought\";\n TransactionTypePastTense[\"borrow\"] = \"borrowed\";\n TransactionTypePastTense[\"burn\"] = \"burnt\";\n TransactionTypePastTense[\"cancel\"] = \"canceled\";\n TransactionTypePastTense[\"claim\"] = \"claimed\";\n TransactionTypePastTense[\"deploy\"] = \"deployed\";\n TransactionTypePastTense[\"deposit\"] = \"deposited\";\n TransactionTypePastTense[\"execute\"] = \"executed\";\n TransactionTypePastTense[\"mint\"] = \"minted\";\n TransactionTypePastTense[\"receive\"] = \"received\";\n TransactionTypePastTense[\"repay\"] = \"repaid\";\n TransactionTypePastTense[\"send\"] = \"sent\";\n TransactionTypePastTense[\"sell\"] = \"sold\";\n TransactionTypePastTense[\"stake\"] = \"staked\";\n TransactionTypePastTense[\"trade\"] = \"swapped\";\n TransactionTypePastTense[\"unstake\"] = \"unstaked\";\n TransactionTypePastTense[\"withdraw\"] = \"withdrawn\";\n})(TransactionTypePastTense || (TransactionTypePastTense = {}));\n//# sourceMappingURL=TypeUtil.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/utils/TypeUtil.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/utils/UiHelperUtil.js":
|
|||
|
/*!***********************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/utils/UiHelperUtil.js ***!
|
|||
|
\***********************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ UiHelperUtil: () => (/* binding */ UiHelperUtil)\n/* harmony export */ });\nconst UiHelperUtil = {\n getSpacingStyles(spacing, index) {\n if (Array.isArray(spacing)) {\n return spacing[index] ? `var(--wui-spacing-${spacing[index]})` : undefined;\n }\n else if (typeof spacing === 'string') {\n return `var(--wui-spacing-${spacing})`;\n }\n return undefined;\n },\n getFormattedDate(date) {\n return new Intl.DateTimeFormat('en-US', { month: 'short', day: 'numeric' }).format(date);\n },\n getHostName(url) {\n const newUrl = new URL(url);\n return newUrl.hostname;\n },\n getTruncateString({ string, charsStart, charsEnd, truncate }) {\n if (string.length <= charsStart + charsEnd) {\n return string;\n }\n if (truncate === 'end') {\n return `${string.substring(0, charsStart)}...`;\n }\n else if (truncate === 'start') {\n return `...${string.substring(string.length - charsEnd)}`;\n }\n return `${string.substring(0, Math.floor(charsStart))}...${string.substring(string.length - Math.floor(charsEnd))}`;\n },\n generateAvatarColors(address) {\n const hash = address.toLowerCase().replace(/^0x/iu, '');\n const baseColor = hash.substring(0, 6);\n const rgbColor = this.hexToRgb(baseColor);\n const colors = [];\n for (let i = 0; i < 5; i += 1) {\n const tintedColor = this.tintColor(rgbColor, 0.15 * i);\n colors.push(`rgb(${tintedColor[0]}, ${tintedColor[1]}, ${tintedColor[2]})`);\n }\n return `\n --local-color-1: ${colors[0]};\n --local-color-2: ${colors[1]};\n --local-color-3: ${colors[2]};\n --local-color-4: ${colors[3]};\n --local-color-5: ${colors[4]};\n `;\n },\n hexToRgb(hex) {\n const bigint = parseInt(hex, 16);\n const r = (bigint >> 16) & 255;\n const g = (bigint >> 8) & 255;\n const b = bigint & 255;\n return [r, g, b];\n },\n tintColor(rgb, tint) {\n const [r, g, b] = rgb;\n const tintedR = Math.round(r + (255 - r) * tint);\n const tintedG = Math.round(g + (255 - g) * tint);\n const tintedB = Math.round(b + (255 - b) * tint);\n return [tintedR, tintedG, tintedB];\n },\n isNumber(character) {\n const regex = {\n number: /^[0-9]+$/u\n };\n return regex.number.test(character);\n },\n getColorTheme(theme) {\n if (theme) {\n return theme;\n }\n else if (typeof window !== 'undefined' && window.matchMedia) {\n if (window.matchMedia('(prefers-color-scheme: dark)').matches) {\n return 'dark';\n }\n return 'light';\n }\n return 'dark';\n }\n};\n//# sourceMappingURL=UiHelperUtil.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/utils/UiHelperUtil.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/dist/esm/src/utils/WebComponentsUtil.js":
|
|||
|
/*!****************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/dist/esm/src/utils/WebComponentsUtil.js ***!
|
|||
|
\****************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ customElement: () => (/* binding */ customElement)\n/* harmony export */ });\nfunction standardCustomElement(tagName, descriptor) {\n const { kind, elements } = descriptor;\n return {\n kind,\n elements,\n finisher(clazz) {\n if (!customElements.get(tagName)) {\n customElements.define(tagName, clazz);\n }\n }\n };\n}\nfunction legacyCustomElement(tagName, clazz) {\n if (!customElements.get(tagName)) {\n customElements.define(tagName, clazz);\n }\n return clazz;\n}\nfunction customElement(tagName) {\n return function create(classOrDescriptor) {\n return typeof classOrDescriptor === 'function'\n ? legacyCustomElement(tagName, classOrDescriptor)\n : standardCustomElement(tagName, classOrDescriptor);\n };\n}\n//# sourceMappingURL=WebComponentsUtil.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/utils/WebComponentsUtil.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/node_modules/@lit/reactive-element/development/css-tag.js":
|
|||
|
/*!**********************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/node_modules/@lit/reactive-element/development/css-tag.js ***!
|
|||
|
\**********************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ CSSResult: () => (/* binding */ CSSResult),\n/* harmony export */ adoptStyles: () => (/* binding */ adoptStyles),\n/* harmony export */ css: () => (/* binding */ css),\n/* harmony export */ getCompatibleStyle: () => (/* binding */ getCompatibleStyle),\n/* harmony export */ supportsAdoptingStyleSheets: () => (/* binding */ supportsAdoptingStyleSheets),\n/* harmony export */ unsafeCSS: () => (/* binding */ unsafeCSS)\n/* harmony export */ });\n/**\n * @license\n * Copyright 2019 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\nconst NODE_MODE = false;\n// Allows minifiers to rename references to globalThis\nconst global = globalThis;\n/**\n * Whether the current browser supports `adoptedStyleSheets`.\n */\nconst supportsAdoptingStyleSheets = global.ShadowRoot &&\n (global.ShadyCSS === undefined || global.ShadyCSS.nativeShadow) &&\n 'adoptedStyleSheets' in Document.prototype &&\n 'replace' in CSSStyleSheet.prototype;\nconst constructionToken = Symbol();\nconst cssTagCache = new WeakMap();\n/**\n * A container for a string of CSS text, that may be used to create a CSSStyleSheet.\n *\n * CSSResult is the return value of `css`-tagged template literals and\n * `unsafeCSS()`. In order to ensure that CSSResults are only created via the\n * `css` tag and `unsafeCSS()`, CSSResult cannot be constructed directly.\n */\nclass CSSResult {\n constructor(cssText, strings, safeToken) {\n // This property needs to remain unminified.\n this['_$cssResult$'] = true;\n if (safeToken !== constructionToken) {\n throw new Error('CSSResult is not constructable. Use `unsafeCSS` or `css` instead.');\n }\n this.cssText = cssText;\n this._strings = strings;\n }\n // This is a getter so that it's lazy. In practice, this means stylesheets\n // are not created until the first element instance is made.\n get styleSheet() {\n // If `supportsAdoptingStyleSheets` is true then we assume CSSStyleSheet is\n // constructable.\n let styleSheet = this._styleSheet;\n const strings = this._strings;\n if (supportsAdoptingStyleSheets && styleSheet === undefined) {\n const cacheable = strings !== undefined && strings.length === 1;\n if (cacheable) {\n styleSheet = cssTagCache.get(strings);\n }\n if (styleSheet === undefined) {\n (this._styleSheet = styleSheet = new CSSStyleSheet()).replaceSync(this.cssText);\n if (cacheable) {\n cssTagCache.set(strings, styleSheet);\n }\n }\n }\n return styleSheet;\n }\n toString() {\n return this.cssText;\n }\n}\nconst textFromCSSResult = (value) => {\n // This property needs to remain unminified.\n if (value['_$cssResult$'] === true) {\n return value.cssText;\n }\n else if (typeof value === 'number') {\n return value;\n }\n else {\n throw new Error(`Value passed to 'css' function must be a 'css' function result: ` +\n `${value}. Use 'unsafeCSS' to pass non-literal values, but take care ` +\n `to ensure page security.`);\n }\n};\n/**\n * Wrap a value for interpolation in a {@linkcode css} tagged template literal.\n *\n * This is unsafe because untrusted CSS text can be used to phone home\n * or exfiltrate data to an attacker controlled site. Take care to only use\n * this with trusted input.\n */\nconst unsafeCSS = (value) => new CSSResult(typeof value === 'string' ? value : String(value), undefined, constructionToken);\n/**\n * A template literal tag which can be used with LitElement's\n * {@linkcode LitElement.styles} property to set element styles.\n *\n * For security reasons, only literal string values and number may be used in\n * embedded expressions. To incorporate non-literal values {@linkcode unsafeCSS}\n * may be used inside an exp
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/node_modules/@lit/reactive-element/development/decorators/base.js":
|
|||
|
/*!******************************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/node_modules/@lit/reactive-element/development/decorators/base.js ***!
|
|||
|
\******************************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ desc: () => (/* binding */ desc)\n/* harmony export */ });\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\n/**\n * Wraps up a few best practices when returning a property descriptor from a\n * decorator.\n *\n * Marks the defined property as configurable, and enumerable, and handles\n * the case where we have a busted Reflect.decorate zombiefill (e.g. in Angular\n * apps).\n *\n * @internal\n */\nconst desc = (obj, name, descriptor) => {\n // For backwards compatibility, we keep them configurable and enumerable.\n descriptor.configurable = true;\n descriptor.enumerable = true;\n if (\n // We check for Reflect.decorate each time, in case the zombiefill\n // is applied via lazy loading some Angular code.\n Reflect.decorate &&\n typeof name !== 'object') {\n // If we're called as a legacy decorator, and Reflect.decorate is present\n // then we have no guarantees that the returned descriptor will be\n // defined on the class, so we must apply it directly ourselves.\n Object.defineProperty(obj, name, descriptor);\n }\n return descriptor;\n};\n//# sourceMappingURL=base.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/node_modules/@lit/reactive-element/development/decorators/base.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/node_modules/@lit/reactive-element/development/decorators/custom-element.js":
|
|||
|
/*!****************************************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/node_modules/@lit/reactive-element/development/decorators/custom-element.js ***!
|
|||
|
\****************************************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ customElement: () => (/* binding */ customElement)\n/* harmony export */ });\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\n/**\n * Class decorator factory that defines the decorated class as a custom element.\n *\n * ```js\n * @customElement('my-element')\n * class MyElement extends LitElement {\n * render() {\n * return html``;\n * }\n * }\n * ```\n * @category Decorator\n * @param tagName The tag name of the custom element to define.\n */\nconst customElement = (tagName) => (classOrTarget, context) => {\n if (context !== undefined) {\n context.addInitializer(() => {\n customElements.define(tagName, classOrTarget);\n });\n }\n else {\n customElements.define(tagName, classOrTarget);\n }\n};\n//# sourceMappingURL=custom-element.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/node_modules/@lit/reactive-element/development/decorators/custom-element.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/node_modules/@lit/reactive-element/development/decorators/event-options.js":
|
|||
|
/*!***************************************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/node_modules/@lit/reactive-element/development/decorators/event-options.js ***!
|
|||
|
\***************************************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ eventOptions: () => (/* binding */ eventOptions)\n/* harmony export */ });\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\n/**\n * Adds event listener options to a method used as an event listener in a\n * lit-html template.\n *\n * @param options An object that specifies event listener options as accepted by\n * `EventTarget#addEventListener` and `EventTarget#removeEventListener`.\n *\n * Current browsers support the `capture`, `passive`, and `once` options. See:\n * https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener#Parameters\n *\n * ```ts\n * class MyElement {\n * clicked = false;\n *\n * render() {\n * return html`\n * <div @click=${this._onClick}>\n * <button></button>\n * </div>\n * `;\n * }\n *\n * @eventOptions({capture: true})\n * _onClick(e) {\n * this.clicked = true;\n * }\n * }\n * ```\n * @category Decorator\n */\nfunction eventOptions(options) {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n return ((protoOrValue, nameOrContext) => {\n const method = typeof protoOrValue === 'function'\n ? protoOrValue\n : protoOrValue[nameOrContext];\n Object.assign(method, options);\n });\n}\n//# sourceMappingURL=event-options.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/node_modules/@lit/reactive-element/development/decorators/event-options.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/node_modules/@lit/reactive-element/development/decorators/property.js":
|
|||
|
/*!**********************************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/node_modules/@lit/reactive-element/development/decorators/property.js ***!
|
|||
|
\**********************************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ property: () => (/* binding */ property),\n/* harmony export */ standardProperty: () => (/* binding */ standardProperty)\n/* harmony export */ });\n/* harmony import */ var _reactive_element_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../reactive-element.js */ \"./node_modules/@web3modal/ui/node_modules/@lit/reactive-element/development/reactive-element.js\");\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\n/*\n * IMPORTANT: For compatibility with tsickle and the Closure JS compiler, all\n * property decorators (but not class decorators) in this file that have\n * an @ExportDecoratedItems annotation must be defined as a regular function,\n * not an arrow function.\n */\n\nconst DEV_MODE = true;\nlet issueWarning;\nif (DEV_MODE) {\n // Ensure warnings are issued only 1x, even if multiple versions of Lit\n // are loaded.\n const issuedWarnings = (globalThis.litIssuedWarnings ??= new Set());\n // Issue a warning, if we haven't already.\n issueWarning = (code, warning) => {\n warning += ` See https://lit.dev/msg/${code} for more information.`;\n if (!issuedWarnings.has(warning)) {\n console.warn(warning);\n issuedWarnings.add(warning);\n }\n };\n}\nconst legacyProperty = (options, proto, name) => {\n const hasOwnProperty = proto.hasOwnProperty(name);\n proto.constructor.createProperty(name, hasOwnProperty ? { ...options, wrapped: true } : options);\n // For accessors (which have a descriptor on the prototype) we need to\n // return a descriptor, otherwise TypeScript overwrites the descriptor we\n // define in createProperty() with the original descriptor. We don't do this\n // for fields, which don't have a descriptor, because this could overwrite\n // descriptor defined by other decorators.\n return hasOwnProperty\n ? Object.getOwnPropertyDescriptor(proto, name)\n : undefined;\n};\n// This is duplicated from a similar variable in reactive-element.ts, but\n// actually makes sense to have this default defined with the decorator, so\n// that different decorators could have different defaults.\nconst defaultPropertyDeclaration = {\n attribute: true,\n type: String,\n converter: _reactive_element_js__WEBPACK_IMPORTED_MODULE_0__.defaultConverter,\n reflect: false,\n hasChanged: _reactive_element_js__WEBPACK_IMPORTED_MODULE_0__.notEqual,\n};\n/**\n * Wraps a class accessor or setter so that `requestUpdate()` is called with the\n * property name and old value when the accessor is set.\n */\nconst standardProperty = (options = defaultPropertyDeclaration, target, context) => {\n const { kind, metadata } = context;\n if (DEV_MODE && metadata == null) {\n issueWarning('missing-class-metadata', `The class ${target} is missing decorator metadata. This ` +\n `could mean that you're using a compiler that supports decorators ` +\n `but doesn't support decorator metadata, such as TypeScript 5.1. ` +\n `Please update your compiler.`);\n }\n // Store the property options\n let properties = globalThis.litPropertyMetadata.get(metadata);\n if (properties === undefined) {\n globalThis.litPropertyMetadata.set(metadata, (properties = new Map()));\n }\n properties.set(context.name, options);\n if (kind === 'accessor') {\n // Standard decorators cannot dynamically modify the class, so we can't\n // replace a field with accessors. The user must use the new `accessor`\n // keyword instead.\n const { name } = context;\n return {\n set(v) {\n const oldValue = target.get.call(this);\n target.set.call(this, v);\n this.requestUpdate(name, oldValue, options);\n },\n init(v) {\n if (v !== undefined) {\n this._$changeProperty(name
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/node_modules/@lit/reactive-element/development/decorators/query-all.js":
|
|||
|
/*!***********************************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/node_modules/@lit/reactive-element/development/decorators/query-all.js ***!
|
|||
|
\***********************************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ queryAll: () => (/* binding */ queryAll)\n/* harmony export */ });\n/* harmony import */ var _base_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./base.js */ \"./node_modules/@web3modal/ui/node_modules/@lit/reactive-element/development/decorators/base.js\");\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\n\n// Shared fragment used to generate empty NodeLists when a render root is\n// undefined\nlet fragment;\n/**\n * A property decorator that converts a class property into a getter\n * that executes a querySelectorAll on the element's renderRoot.\n *\n * @param selector A DOMString containing one or more selectors to match.\n *\n * See:\n * https://developer.mozilla.org/en-US/docs/Web/API/Document/querySelectorAll\n *\n * ```ts\n * class MyElement {\n * @queryAll('div')\n * divs: NodeListOf<HTMLDivElement>;\n *\n * render() {\n * return html`\n * <div id=\"first\"></div>\n * <div id=\"second\"></div>\n * `;\n * }\n * }\n * ```\n * @category Decorator\n */\nfunction queryAll(selector) {\n return ((obj, name) => {\n return (0,_base_js__WEBPACK_IMPORTED_MODULE_0__.desc)(obj, name, {\n get() {\n const container = this.renderRoot ?? (fragment ??= document.createDocumentFragment());\n return container.querySelectorAll(selector);\n },\n });\n });\n}\n//# sourceMappingURL=query-all.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/node_modules/@lit/reactive-element/development/decorators/query-all.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/node_modules/@lit/reactive-element/development/decorators/query-assigned-elements.js":
|
|||
|
/*!*************************************************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/node_modules/@lit/reactive-element/development/decorators/query-assigned-elements.js ***!
|
|||
|
\*************************************************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ queryAssignedElements: () => (/* binding */ queryAssignedElements)\n/* harmony export */ });\n/* harmony import */ var _base_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./base.js */ \"./node_modules/@web3modal/ui/node_modules/@lit/reactive-element/development/decorators/base.js\");\n/**\n * @license\n * Copyright 2021 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\n\n/**\n * A property decorator that converts a class property into a getter that\n * returns the `assignedElements` of the given `slot`. Provides a declarative\n * way to use\n * [`HTMLSlotElement.assignedElements`](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSlotElement/assignedElements).\n *\n * Can be passed an optional {@linkcode QueryAssignedElementsOptions} object.\n *\n * Example usage:\n * ```ts\n * class MyElement {\n * @queryAssignedElements({ slot: 'list' })\n * listItems!: Array<HTMLElement>;\n * @queryAssignedElements()\n * unnamedSlotEls!: Array<HTMLElement>;\n *\n * render() {\n * return html`\n * <slot name=\"list\"></slot>\n * <slot></slot>\n * `;\n * }\n * }\n * ```\n *\n * Note, the type of this property should be annotated as `Array<HTMLElement>`.\n *\n * @category Decorator\n */\nfunction queryAssignedElements(options) {\n return ((obj, name) => {\n const { slot, selector } = options ?? {};\n const slotSelector = `slot${slot ? `[name=${slot}]` : ':not([name])'}`;\n return (0,_base_js__WEBPACK_IMPORTED_MODULE_0__.desc)(obj, name, {\n get() {\n const slotEl = this.renderRoot?.querySelector(slotSelector);\n const elements = slotEl?.assignedElements(options) ?? [];\n return (selector === undefined\n ? elements\n : elements.filter((node) => node.matches(selector)));\n },\n });\n });\n}\n//# sourceMappingURL=query-assigned-elements.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/node_modules/@lit/reactive-element/development/decorators/query-assigned-elements.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/node_modules/@lit/reactive-element/development/decorators/query-assigned-nodes.js":
|
|||
|
/*!**********************************************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/node_modules/@lit/reactive-element/development/decorators/query-assigned-nodes.js ***!
|
|||
|
\**********************************************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ queryAssignedNodes: () => (/* binding */ queryAssignedNodes)\n/* harmony export */ });\n/* harmony import */ var _base_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./base.js */ \"./node_modules/@web3modal/ui/node_modules/@lit/reactive-element/development/decorators/base.js\");\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\n\n/**\n * A property decorator that converts a class property into a getter that\n * returns the `assignedNodes` of the given `slot`.\n *\n * Can be passed an optional {@linkcode QueryAssignedNodesOptions} object.\n *\n * Example usage:\n * ```ts\n * class MyElement {\n * @queryAssignedNodes({slot: 'list', flatten: true})\n * listItems!: Array<Node>;\n *\n * render() {\n * return html`\n * <slot name=\"list\"></slot>\n * `;\n * }\n * }\n * ```\n *\n * Note the type of this property should be annotated as `Array<Node>`. Use the\n * queryAssignedElements decorator to list only elements, and optionally filter\n * the element list using a CSS selector.\n *\n * @category Decorator\n */\nfunction queryAssignedNodes(options) {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n return ((obj, name) => {\n const { slot } = options ?? {};\n const slotSelector = `slot${slot ? `[name=${slot}]` : ':not([name])'}`;\n return (0,_base_js__WEBPACK_IMPORTED_MODULE_0__.desc)(obj, name, {\n get() {\n const slotEl = this.renderRoot?.querySelector(slotSelector);\n return (slotEl?.assignedNodes(options) ?? []);\n },\n });\n });\n}\n//# sourceMappingURL=query-assigned-nodes.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/node_modules/@lit/reactive-element/development/decorators/query-assigned-nodes.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/node_modules/@lit/reactive-element/development/decorators/query-async.js":
|
|||
|
/*!*************************************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/node_modules/@lit/reactive-element/development/decorators/query-async.js ***!
|
|||
|
\*************************************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ queryAsync: () => (/* binding */ queryAsync)\n/* harmony export */ });\n/* harmony import */ var _base_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./base.js */ \"./node_modules/@web3modal/ui/node_modules/@lit/reactive-element/development/decorators/base.js\");\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\n\n// Note, in the future, we may extend this decorator to support the use case\n// where the queried element may need to do work to become ready to interact\n// with (e.g. load some implementation code). If so, we might elect to\n// add a second argument defining a function that can be run to make the\n// queried element loaded/updated/ready.\n/**\n * A property decorator that converts a class property into a getter that\n * returns a promise that resolves to the result of a querySelector on the\n * element's renderRoot done after the element's `updateComplete` promise\n * resolves. When the queried property may change with element state, this\n * decorator can be used instead of requiring users to await the\n * `updateComplete` before accessing the property.\n *\n * @param selector A DOMString containing one or more selectors to match.\n *\n * See: https://developer.mozilla.org/en-US/docs/Web/API/Document/querySelector\n *\n * ```ts\n * class MyElement {\n * @queryAsync('#first')\n * first: Promise<HTMLDivElement>;\n *\n * render() {\n * return html`\n * <div id=\"first\"></div>\n * <div id=\"second\"></div>\n * `;\n * }\n * }\n *\n * // external usage\n * async doSomethingWithFirst() {\n * (await aMyElement.first).doSomething();\n * }\n * ```\n * @category Decorator\n */\nfunction queryAsync(selector) {\n return ((obj, name) => {\n return (0,_base_js__WEBPACK_IMPORTED_MODULE_0__.desc)(obj, name, {\n async get() {\n await this.updateComplete;\n return this.renderRoot?.querySelector(selector) ?? null;\n },\n });\n });\n}\n//# sourceMappingURL=query-async.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/node_modules/@lit/reactive-element/development/decorators/query-async.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/node_modules/@lit/reactive-element/development/decorators/query.js":
|
|||
|
/*!*******************************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/node_modules/@lit/reactive-element/development/decorators/query.js ***!
|
|||
|
\*******************************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ query: () => (/* binding */ query)\n/* harmony export */ });\n/* harmony import */ var _base_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./base.js */ \"./node_modules/@web3modal/ui/node_modules/@lit/reactive-element/development/decorators/base.js\");\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\n\nconst DEV_MODE = true;\nlet issueWarning;\nif (DEV_MODE) {\n // Ensure warnings are issued only 1x, even if multiple versions of Lit\n // are loaded.\n const issuedWarnings = (globalThis.litIssuedWarnings ??= new Set());\n // Issue a warning, if we haven't already.\n issueWarning = (code, warning) => {\n warning += code\n ? ` See https://lit.dev/msg/${code} for more information.`\n : '';\n if (!issuedWarnings.has(warning)) {\n console.warn(warning);\n issuedWarnings.add(warning);\n }\n };\n}\n/**\n * A property decorator that converts a class property into a getter that\n * executes a querySelector on the element's renderRoot.\n *\n * @param selector A DOMString containing one or more selectors to match.\n * @param cache An optional boolean which when true performs the DOM query only\n * once and caches the result.\n *\n * See: https://developer.mozilla.org/en-US/docs/Web/API/Document/querySelector\n *\n * ```ts\n * class MyElement {\n * @query('#first')\n * first: HTMLDivElement;\n *\n * render() {\n * return html`\n * <div id=\"first\"></div>\n * <div id=\"second\"></div>\n * `;\n * }\n * }\n * ```\n * @category Decorator\n */\nfunction query(selector, cache) {\n return ((protoOrTarget, nameOrContext, descriptor) => {\n const doQuery = (el) => {\n const result = (el.renderRoot?.querySelector(selector) ?? null);\n if (DEV_MODE && result === null && cache && !el.hasUpdated) {\n const name = typeof nameOrContext === 'object'\n ? nameOrContext.name\n : nameOrContext;\n issueWarning('', `@query'd field ${JSON.stringify(String(name))} with the 'cache' ` +\n `flag set for selector '${selector}' has been accessed before ` +\n `the first update and returned null. This is expected if the ` +\n `renderRoot tree has not been provided beforehand (e.g. via ` +\n `Declarative Shadow DOM). Therefore the value hasn't been cached.`);\n }\n // TODO: if we want to allow users to assert that the query will never\n // return null, we need a new option and to throw here if the result\n // is null.\n return result;\n };\n if (cache) {\n // Accessors to wrap from either:\n // 1. The decorator target, in the case of standard decorators\n // 2. The property descriptor, in the case of experimental decorators\n // on auto-accessors.\n // 3. Functions that access our own cache-key property on the instance,\n // in the case of experimental decorators on fields.\n const { get, set } = typeof nameOrContext === 'object'\n ? protoOrTarget\n : descriptor ??\n (() => {\n const key = DEV_MODE\n ? Symbol(`${String(nameOrContext)} (@query() cache)`)\n : Symbol();\n return {\n get() {\n return this[key];\n },\n set(v) {\n this[key] = v;\n },\n };\n })();\n return (0,_base_js__WEBPACK_IMPORTED_MODULE_0__.desc)(protoOrTarget, nameOrContext, {\n
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/node_modules/@lit/reactive-element/development/decorators/state.js":
|
|||
|
/*!*******************************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/node_modules/@lit/reactive-element/development/decorators/state.js ***!
|
|||
|
\*******************************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ state: () => (/* binding */ state)\n/* harmony export */ });\n/* harmony import */ var _property_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./property.js */ \"./node_modules/@web3modal/ui/node_modules/@lit/reactive-element/development/decorators/property.js\");\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\n/*\n * IMPORTANT: For compatibility with tsickle and the Closure JS compiler, all\n * property decorators (but not class decorators) in this file that have\n * an @ExportDecoratedItems annotation must be defined as a regular function,\n * not an arrow function.\n */\n\n/**\n * Declares a private or protected reactive property that still triggers\n * updates to the element when it changes. It does not reflect from the\n * corresponding attribute.\n *\n * Properties declared this way must not be used from HTML or HTML templating\n * systems, they're solely for properties internal to the element. These\n * properties may be renamed by optimization tools like closure compiler.\n * @category Decorator\n */\nfunction state(options) {\n return (0,_property_js__WEBPACK_IMPORTED_MODULE_0__.property)({\n ...options,\n // Add both `state` and `attribute` because we found a third party\n // controller that is keying off of PropertyOptions.state to determine\n // whether a field is a private internal property or not.\n state: true,\n attribute: false,\n });\n}\n//# sourceMappingURL=state.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/node_modules/@lit/reactive-element/development/decorators/state.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/node_modules/@lit/reactive-element/development/reactive-element.js":
|
|||
|
/*!*******************************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/node_modules/@lit/reactive-element/development/reactive-element.js ***!
|
|||
|
\*******************************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ CSSResult: () => (/* reexport safe */ _css_tag_js__WEBPACK_IMPORTED_MODULE_0__.CSSResult),\n/* harmony export */ ReactiveElement: () => (/* binding */ ReactiveElement),\n/* harmony export */ adoptStyles: () => (/* reexport safe */ _css_tag_js__WEBPACK_IMPORTED_MODULE_0__.adoptStyles),\n/* harmony export */ css: () => (/* reexport safe */ _css_tag_js__WEBPACK_IMPORTED_MODULE_0__.css),\n/* harmony export */ defaultConverter: () => (/* binding */ defaultConverter),\n/* harmony export */ getCompatibleStyle: () => (/* reexport safe */ _css_tag_js__WEBPACK_IMPORTED_MODULE_0__.getCompatibleStyle),\n/* harmony export */ notEqual: () => (/* binding */ notEqual),\n/* harmony export */ supportsAdoptingStyleSheets: () => (/* reexport safe */ _css_tag_js__WEBPACK_IMPORTED_MODULE_0__.supportsAdoptingStyleSheets),\n/* harmony export */ unsafeCSS: () => (/* reexport safe */ _css_tag_js__WEBPACK_IMPORTED_MODULE_0__.unsafeCSS)\n/* harmony export */ });\n/* harmony import */ var _css_tag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./css-tag.js */ \"./node_modules/@web3modal/ui/node_modules/@lit/reactive-element/development/css-tag.js\");\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\n/**\n * Use this module if you want to create your own base class extending\n * {@link ReactiveElement}.\n * @packageDocumentation\n */\n\n// In the Node build, this import will be injected by Rollup:\n// import {HTMLElement, customElements} from '@lit-labs/ssr-dom-shim';\n\n// TODO (justinfagnani): Add `hasOwn` here when we ship ES2022\nconst { is, defineProperty, getOwnPropertyDescriptor, getOwnPropertyNames, getOwnPropertySymbols, getPrototypeOf, } = Object;\nconst NODE_MODE = false;\n// Lets a minifier replace globalThis references with a minified name\nconst global = globalThis;\nif (NODE_MODE) {\n global.customElements ??= customElements;\n}\nconst DEV_MODE = true;\nlet issueWarning;\nconst trustedTypes = global\n .trustedTypes;\n// Temporary workaround for https://crbug.com/993268\n// Currently, any attribute starting with \"on\" is considered to be a\n// TrustedScript source. Such boolean attributes must be set to the equivalent\n// trusted emptyScript value.\nconst emptyStringForBooleanAttribute = trustedTypes\n ? trustedTypes.emptyScript\n : '';\nconst polyfillSupport = DEV_MODE\n ? global.reactiveElementPolyfillSupportDevMode\n : global.reactiveElementPolyfillSupport;\nif (DEV_MODE) {\n // Ensure warnings are issued only 1x, even if multiple versions of Lit\n // are loaded.\n const issuedWarnings = (global.litIssuedWarnings ??=\n new Set());\n // Issue a warning, if we haven't already.\n issueWarning = (code, warning) => {\n warning += ` See https://lit.dev/msg/${code} for more information.`;\n if (!issuedWarnings.has(warning)) {\n console.warn(warning);\n issuedWarnings.add(warning);\n }\n };\n issueWarning('dev-mode', `Lit is in dev mode. Not recommended for production!`);\n // Issue polyfill support warning.\n if (global.ShadyDOM?.inUse && polyfillSupport === undefined) {\n issueWarning('polyfill-support-missing', `Shadow DOM is being polyfilled via \\`ShadyDOM\\` but ` +\n `the \\`polyfill-support\\` module has not been loaded.`);\n }\n}\n/**\n * Useful for visualizing and logging insights into what the Lit template system is doing.\n *\n * Compiled out of prod mode builds.\n */\nconst debugLogEvent = DEV_MODE\n ? (event) => {\n const shouldEmit = global\n .emitLitDebugLogEvents;\n if (!shouldEmit) {\n return;\n }\n global.dispatchEvent(new CustomEvent('lit-debug', {\n detail: event,\n }));\n }\n : undefined;\n/*\n * When using Closure Compiler, JSCompiler_renameProperty(property, object) is\n * replaced at compile time by the munged name
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/node_modules/lit-element/development/lit-element.js":
|
|||
|
/*!****************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/node_modules/lit-element/development/lit-element.js ***!
|
|||
|
\****************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ CSSResult: () => (/* reexport safe */ _lit_reactive_element__WEBPACK_IMPORTED_MODULE_0__.CSSResult),\n/* harmony export */ LitElement: () => (/* binding */ LitElement),\n/* harmony export */ ReactiveElement: () => (/* reexport safe */ _lit_reactive_element__WEBPACK_IMPORTED_MODULE_0__.ReactiveElement),\n/* harmony export */ _$LE: () => (/* binding */ _$LE),\n/* harmony export */ _$LH: () => (/* reexport safe */ lit_html__WEBPACK_IMPORTED_MODULE_1__._$LH),\n/* harmony export */ adoptStyles: () => (/* reexport safe */ _lit_reactive_element__WEBPACK_IMPORTED_MODULE_0__.adoptStyles),\n/* harmony export */ css: () => (/* reexport safe */ _lit_reactive_element__WEBPACK_IMPORTED_MODULE_0__.css),\n/* harmony export */ defaultConverter: () => (/* reexport safe */ _lit_reactive_element__WEBPACK_IMPORTED_MODULE_0__.defaultConverter),\n/* harmony export */ getCompatibleStyle: () => (/* reexport safe */ _lit_reactive_element__WEBPACK_IMPORTED_MODULE_0__.getCompatibleStyle),\n/* harmony export */ html: () => (/* reexport safe */ lit_html__WEBPACK_IMPORTED_MODULE_1__.html),\n/* harmony export */ noChange: () => (/* reexport safe */ lit_html__WEBPACK_IMPORTED_MODULE_1__.noChange),\n/* harmony export */ notEqual: () => (/* reexport safe */ _lit_reactive_element__WEBPACK_IMPORTED_MODULE_0__.notEqual),\n/* harmony export */ nothing: () => (/* reexport safe */ lit_html__WEBPACK_IMPORTED_MODULE_1__.nothing),\n/* harmony export */ render: () => (/* reexport safe */ lit_html__WEBPACK_IMPORTED_MODULE_1__.render),\n/* harmony export */ supportsAdoptingStyleSheets: () => (/* reexport safe */ _lit_reactive_element__WEBPACK_IMPORTED_MODULE_0__.supportsAdoptingStyleSheets),\n/* harmony export */ svg: () => (/* reexport safe */ lit_html__WEBPACK_IMPORTED_MODULE_1__.svg),\n/* harmony export */ unsafeCSS: () => (/* reexport safe */ _lit_reactive_element__WEBPACK_IMPORTED_MODULE_0__.unsafeCSS)\n/* harmony export */ });\n/* harmony import */ var _lit_reactive_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @lit/reactive-element */ \"./node_modules/@web3modal/ui/node_modules/@lit/reactive-element/development/reactive-element.js\");\n/* harmony import */ var lit_html__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lit-html */ \"./node_modules/@web3modal/ui/node_modules/lit-html/development/lit-html.js\");\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\n/**\n * The main LitElement module, which defines the {@linkcode LitElement} base\n * class and related APIs.\n *\n * LitElement components can define a template and a set of observed\n * properties. Changing an observed property triggers a re-render of the\n * element.\n *\n * Import {@linkcode LitElement} and {@linkcode html} from this module to\n * create a component:\n *\n * ```js\n * import {LitElement, html} from 'lit-element';\n *\n * class MyElement extends LitElement {\n *\n * // Declare observed properties\n * static get properties() {\n * return {\n * adjective: {}\n * }\n * }\n *\n * constructor() {\n * this.adjective = 'awesome';\n * }\n *\n * // Define the element's template\n * render() {\n * return html`<p>your ${adjective} template here</p>`;\n * }\n * }\n *\n * customElements.define('my-element', MyElement);\n * ```\n *\n * `LitElement` extends {@linkcode ReactiveElement} and adds lit-html\n * templating. The `ReactiveElement` class is provided for users that want to\n * build their own custom element base classes that don't use lit-html.\n *\n * @packageDocumentation\n */\n\n\n\n\n/*\n * When using Closure Compiler, JSCompiler_renameProperty(property, object) is\n * replaced at compile time by the munged name for object[property]. We cannot\n * alias this function, so we have to use a small shim that has the same\n * behavior when not compiling.\n */\n/*@__INLINE__*/\nconst JSCompiler_renameProperty = (prop, _
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/node_modules/lit-html/development/async-directive.js":
|
|||
|
/*!*****************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/node_modules/lit-html/development/async-directive.js ***!
|
|||
|
\*****************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ AsyncDirective: () => (/* binding */ AsyncDirective),\n/* harmony export */ Directive: () => (/* reexport safe */ _directive_js__WEBPACK_IMPORTED_MODULE_1__.Directive),\n/* harmony export */ PartType: () => (/* reexport safe */ _directive_js__WEBPACK_IMPORTED_MODULE_1__.PartType),\n/* harmony export */ directive: () => (/* reexport safe */ _directive_js__WEBPACK_IMPORTED_MODULE_1__.directive)\n/* harmony export */ });\n/* harmony import */ var _directive_helpers_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./directive-helpers.js */ \"./node_modules/@web3modal/ui/node_modules/lit-html/development/directive-helpers.js\");\n/* harmony import */ var _directive_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./directive.js */ \"./node_modules/@web3modal/ui/node_modules/lit-html/development/directive.js\");\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\n\n\n\nconst DEV_MODE = true;\n/**\n * Recursively walks down the tree of Parts/TemplateInstances/Directives to set\n * the connected state of directives and run `disconnected`/ `reconnected`\n * callbacks.\n *\n * @return True if there were children to disconnect; false otherwise\n */\nconst notifyChildrenConnectedChanged = (parent, isConnected) => {\n const children = parent._$disconnectableChildren;\n if (children === undefined) {\n return false;\n }\n for (const obj of children) {\n // The existence of `_$notifyDirectiveConnectionChanged` is used as a \"brand\" to\n // disambiguate AsyncDirectives from other DisconnectableChildren\n // (as opposed to using an instanceof check to know when to call it); the\n // redundancy of \"Directive\" in the API name is to avoid conflicting with\n // `_$notifyConnectionChanged`, which exists `ChildParts` which are also in\n // this list\n // Disconnect Directive (and any nested directives contained within)\n // This property needs to remain unminified.\n obj['_$notifyDirectiveConnectionChanged']?.(isConnected, false);\n // Disconnect Part/TemplateInstance\n notifyChildrenConnectedChanged(obj, isConnected);\n }\n return true;\n};\n/**\n * Removes the given child from its parent list of disconnectable children, and\n * if the parent list becomes empty as a result, removes the parent from its\n * parent, and so forth up the tree when that causes subsequent parent lists to\n * become empty.\n */\nconst removeDisconnectableFromParent = (obj) => {\n let parent, children;\n do {\n if ((parent = obj._$parent) === undefined) {\n break;\n }\n children = parent._$disconnectableChildren;\n children.delete(obj);\n obj = parent;\n } while (children?.size === 0);\n};\nconst addDisconnectableToParent = (obj) => {\n // Climb the parent tree, creating a sparse tree of children needing\n // disconnection\n for (let parent; (parent = obj._$parent); obj = parent) {\n let children = parent._$disconnectableChildren;\n if (children === undefined) {\n parent._$disconnectableChildren = children = new Set();\n }\n else if (children.has(obj)) {\n // Once we've reached a parent that already contains this child, we\n // can short-circuit\n break;\n }\n children.add(obj);\n installDisconnectAPI(parent);\n }\n};\n/**\n * Changes the parent reference of the ChildPart, and updates the sparse tree of\n * Disconnectable children accordingly.\n *\n * Note, this method will be patched onto ChildPart instances and called from\n * the core code when parts are moved between different parents.\n */\nfunction reparentDisconnectables(newParent) {\n if (this._$disconnectableChildren !== undefined) {\n removeDisconnectableFromParent(this);\n this._$parent = newParent;\n addDisconnectable
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/node_modules/lit-html/development/directive-helpers.js":
|
|||
|
/*!*******************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/node_modules/lit-html/development/directive-helpers.js ***!
|
|||
|
\*******************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ TemplateResultType: () => (/* binding */ TemplateResultType),\n/* harmony export */ clearPart: () => (/* binding */ clearPart),\n/* harmony export */ getCommittedValue: () => (/* binding */ getCommittedValue),\n/* harmony export */ getDirectiveClass: () => (/* binding */ getDirectiveClass),\n/* harmony export */ insertPart: () => (/* binding */ insertPart),\n/* harmony export */ isCompiledTemplateResult: () => (/* binding */ isCompiledTemplateResult),\n/* harmony export */ isDirectiveResult: () => (/* binding */ isDirectiveResult),\n/* harmony export */ isPrimitive: () => (/* binding */ isPrimitive),\n/* harmony export */ isSingleExpression: () => (/* binding */ isSingleExpression),\n/* harmony export */ isTemplateResult: () => (/* binding */ isTemplateResult),\n/* harmony export */ removePart: () => (/* binding */ removePart),\n/* harmony export */ setChildPartValue: () => (/* binding */ setChildPartValue),\n/* harmony export */ setCommittedValue: () => (/* binding */ setCommittedValue)\n/* harmony export */ });\n/* harmony import */ var _lit_html_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./lit-html.js */ \"./node_modules/@web3modal/ui/node_modules/lit-html/development/lit-html.js\");\n/**\n * @license\n * Copyright 2020 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\n\nconst { _ChildPart: ChildPart } = _lit_html_js__WEBPACK_IMPORTED_MODULE_0__._$LH;\nconst ENABLE_SHADYDOM_NOPATCH = true;\nconst wrap = ENABLE_SHADYDOM_NOPATCH &&\n window.ShadyDOM?.inUse &&\n window.ShadyDOM?.noPatch === true\n ? window.ShadyDOM.wrap\n : (node) => node;\n/**\n * Tests if a value is a primitive value.\n *\n * See https://tc39.github.io/ecma262/#sec-typeof-operator\n */\nconst isPrimitive = (value) => value === null || (typeof value != 'object' && typeof value != 'function');\nconst TemplateResultType = {\n HTML: 1,\n SVG: 2,\n};\n/**\n * Tests if a value is a TemplateResult or a CompiledTemplateResult.\n */\nconst isTemplateResult = (value, type) => type === undefined\n ? // This property needs to remain unminified.\n value?.['_$litType$'] !== undefined\n : value?.['_$litType$'] === type;\n/**\n * Tests if a value is a CompiledTemplateResult.\n */\nconst isCompiledTemplateResult = (value) => {\n return value?.['_$litType$']?.h != null;\n};\n/**\n * Tests if a value is a DirectiveResult.\n */\nconst isDirectiveResult = (value) => \n// This property needs to remain unminified.\nvalue?.['_$litDirective$'] !== undefined;\n/**\n * Retrieves the Directive class for a DirectiveResult\n */\nconst getDirectiveClass = (value) => \n// This property needs to remain unminified.\nvalue?.['_$litDirective$'];\n/**\n * Tests whether a part has only a single-expression with no strings to\n * interpolate between.\n *\n * Only AttributePart and PropertyPart can have multiple expressions.\n * Multi-expression parts have a `strings` property and single-expression\n * parts do not.\n */\nconst isSingleExpression = (part) => part.strings === undefined;\nconst createMarker = () => document.createComment('');\n/**\n * Inserts a ChildPart into the given container ChildPart's DOM, either at the\n * end of the container ChildPart, or before the optional `refPart`.\n *\n * This does not add the part to the containerPart's committed value. That must\n * be done by callers.\n *\n * @param containerPart Part within which to add the new ChildPart\n * @param refPart Part before which to add the new ChildPart; when omitted the\n * part added to the end of the `containerPart`\n * @param part Part to insert, or undefined to create a new part\n */\nconst insertPart = (containerPart, refPart, part) => {\n const container = wrap(containerPart._$startNode).parentNode;\n const refNode = refPart === undefined ? containerPart._$endNode : refPart._$startNode;\n if (part === undefined) {\n const startNode = wrap(container).insertBefore(create
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/node_modules/lit-html/development/directive.js":
|
|||
|
/*!***********************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/node_modules/lit-html/development/directive.js ***!
|
|||
|
\***********************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ Directive: () => (/* binding */ Directive),\n/* harmony export */ PartType: () => (/* binding */ PartType),\n/* harmony export */ directive: () => (/* binding */ directive)\n/* harmony export */ });\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\nconst PartType = {\n ATTRIBUTE: 1,\n CHILD: 2,\n PROPERTY: 3,\n BOOLEAN_ATTRIBUTE: 4,\n EVENT: 5,\n ELEMENT: 6,\n};\n/**\n * Creates a user-facing directive function from a Directive class. This\n * function has the same parameters as the directive's render() method.\n */\nconst directive = (c) => (...values) => ({\n // This property needs to remain unminified.\n ['_$litDirective$']: c,\n values,\n});\n/**\n * Base class for creating custom directives. Users should extend this class,\n * implement `render` and/or `update`, and then pass their subclass to\n * `directive`.\n */\nclass Directive {\n constructor(_partInfo) { }\n // See comment in Disconnectable interface for why this is a getter\n get _$isConnected() {\n return this._$parent._$isConnected;\n }\n /** @internal */\n _$initialize(part, parent, attributeIndex) {\n this.__part = part;\n this._$parent = parent;\n this.__attributeIndex = attributeIndex;\n }\n /** @internal */\n _$resolve(part, props) {\n return this.update(part, props);\n }\n update(_part, props) {\n return this.render(...props);\n }\n}\n//# sourceMappingURL=directive.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/node_modules/lit-html/development/directive.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/node_modules/lit-html/development/directives/class-map.js":
|
|||
|
/*!**********************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/node_modules/lit-html/development/directives/class-map.js ***!
|
|||
|
\**********************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ classMap: () => (/* binding */ classMap)\n/* harmony export */ });\n/* harmony import */ var _lit_html_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../lit-html.js */ \"./node_modules/@web3modal/ui/node_modules/lit-html/development/lit-html.js\");\n/* harmony import */ var _directive_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../directive.js */ \"./node_modules/@web3modal/ui/node_modules/lit-html/development/directive.js\");\n/**\n * @license\n * Copyright 2018 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\n\n\nclass ClassMapDirective extends _directive_js__WEBPACK_IMPORTED_MODULE_1__.Directive {\n constructor(partInfo) {\n super(partInfo);\n if (partInfo.type !== _directive_js__WEBPACK_IMPORTED_MODULE_1__.PartType.ATTRIBUTE ||\n partInfo.name !== 'class' ||\n partInfo.strings?.length > 2) {\n throw new Error('`classMap()` can only be used in the `class` attribute ' +\n 'and must be the only part in the attribute.');\n }\n }\n render(classInfo) {\n // Add spaces to ensure separation from static classes\n return (' ' +\n Object.keys(classInfo)\n .filter((key) => classInfo[key])\n .join(' ') +\n ' ');\n }\n update(part, [classInfo]) {\n // Remember dynamic classes on the first render\n if (this._previousClasses === undefined) {\n this._previousClasses = new Set();\n if (part.strings !== undefined) {\n this._staticClasses = new Set(part.strings\n .join(' ')\n .split(/\\s/)\n .filter((s) => s !== ''));\n }\n for (const name in classInfo) {\n if (classInfo[name] && !this._staticClasses?.has(name)) {\n this._previousClasses.add(name);\n }\n }\n return this.render(classInfo);\n }\n const classList = part.element.classList;\n // Remove old classes that no longer apply\n for (const name of this._previousClasses) {\n if (!(name in classInfo)) {\n classList.remove(name);\n this._previousClasses.delete(name);\n }\n }\n // Add or remove classes based on their classMap value\n for (const name in classInfo) {\n // We explicitly want a loose truthy check of `value` because it seems\n // more convenient that '' and 0 are skipped.\n const value = !!classInfo[name];\n if (value !== this._previousClasses.has(name) &&\n !this._staticClasses?.has(name)) {\n if (value) {\n classList.add(name);\n this._previousClasses.add(name);\n }\n else {\n classList.remove(name);\n this._previousClasses.delete(name);\n }\n }\n }\n return _lit_html_js__WEBPACK_IMPORTED_MODULE_0__.noChange;\n }\n}\n/**\n * A directive that applies dynamic CSS classes.\n *\n * This must be used in the `class` attribute and must be the only part used in\n * the attribute. It takes each property in the `classInfo` argument and adds\n * the property name to the element's `classList` if the property value is\n * truthy; if the property value is falsey, the property name is removed from\n * the element's `class`.\n *\n * For example `{foo: bar}` applies the class `foo` if the value of `bar` is\n * truthy.\n *\n * @param classInfo\n */\nconst classMap = (0,_directive_js__WEBPACK_IMPORTED_MODULE_1__.directive)(ClassMapDirective);\n//# sourceMappingURL=class-map.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/node_modules/lit-html/development/directives/class-map.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/node_modules/lit-html/development/directives/if-defined.js":
|
|||
|
/*!***********************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/node_modules/lit-html/development/directives/if-defined.js ***!
|
|||
|
\***********************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ ifDefined: () => (/* binding */ ifDefined)\n/* harmony export */ });\n/* harmony import */ var _lit_html_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../lit-html.js */ \"./node_modules/@web3modal/ui/node_modules/lit-html/development/lit-html.js\");\n/**\n * @license\n * Copyright 2018 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\n\n/**\n * For AttributeParts, sets the attribute if the value is defined and removes\n * the attribute if the value is undefined.\n *\n * For other part types, this directive is a no-op.\n */\nconst ifDefined = (value) => value ?? _lit_html_js__WEBPACK_IMPORTED_MODULE_0__.nothing;\n//# sourceMappingURL=if-defined.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/node_modules/lit-html/development/directives/if-defined.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/node_modules/lit-html/development/directives/ref.js":
|
|||
|
/*!****************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/node_modules/lit-html/development/directives/ref.js ***!
|
|||
|
\****************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ createRef: () => (/* binding */ createRef),\n/* harmony export */ ref: () => (/* binding */ ref)\n/* harmony export */ });\n/* harmony import */ var _lit_html_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../lit-html.js */ \"./node_modules/@web3modal/ui/node_modules/lit-html/development/lit-html.js\");\n/* harmony import */ var _async_directive_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../async-directive.js */ \"./node_modules/@web3modal/ui/node_modules/lit-html/development/async-directive.js\");\n/**\n * @license\n * Copyright 2020 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\n\n\n/**\n * Creates a new Ref object, which is container for a reference to an element.\n */\nconst createRef = () => new Ref();\n/**\n * An object that holds a ref value.\n */\nclass Ref {\n}\n// When callbacks are used for refs, this map tracks the last value the callback\n// was called with, for ensuring a directive doesn't clear the ref if the ref\n// has already been rendered to a new spot. It is double-keyed on both the\n// context (`options.host`) and the callback, since we auto-bind class methods\n// to `options.host`.\nconst lastElementForContextAndCallback = new WeakMap();\nclass RefDirective extends _async_directive_js__WEBPACK_IMPORTED_MODULE_1__.AsyncDirective {\n render(_ref) {\n return _lit_html_js__WEBPACK_IMPORTED_MODULE_0__.nothing;\n }\n update(part, [ref]) {\n const refChanged = ref !== this._ref;\n if (refChanged && this._ref !== undefined) {\n // The ref passed to the directive has changed;\n // unset the previous ref's value\n this._updateRefValue(undefined);\n }\n if (refChanged || this._lastElementForRef !== this._element) {\n // We either got a new ref or this is the first render;\n // store the ref/element & update the ref value\n this._ref = ref;\n this._context = part.options?.host;\n this._updateRefValue((this._element = part.element));\n }\n return _lit_html_js__WEBPACK_IMPORTED_MODULE_0__.nothing;\n }\n _updateRefValue(element) {\n if (typeof this._ref === 'function') {\n // If the current ref was called with a previous value, call with\n // `undefined`; We do this to ensure callbacks are called in a consistent\n // way regardless of whether a ref might be moving up in the tree (in\n // which case it would otherwise be called with the new value before the\n // previous one unsets it) and down in the tree (where it would be unset\n // before being set). Note that element lookup is keyed by\n // both the context and the callback, since we allow passing unbound\n // functions that are called on options.host, and we want to treat\n // these as unique \"instances\" of a function.\n const context = this._context ?? globalThis;\n let lastElementForCallback = lastElementForContextAndCallback.get(context);\n if (lastElementForCallback === undefined) {\n lastElementForCallback = new WeakMap();\n lastElementForContextAndCallback.set(context, lastElementForCallback);\n }\n if (lastElementForCallback.get(this._ref) !== undefined) {\n this._ref.call(this._context, undefined);\n }\n lastElementForCallback.set(this._ref, element);\n // Call the ref with the new element value\n if (element !== undefined) {\n this._ref.call(this._context, element);\n }\n }\n else {\n this._ref.value = element;\n }\n }\n get _lastElementForRef() {\n return typeof this._ref === 'function'\n ? lastElementForContextAndCallback\n .get(this._context ?? globalThis)\n ?.ge
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/node_modules/lit-html/development/is-server.js":
|
|||
|
/*!***********************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/node_modules/lit-html/development/is-server.js ***!
|
|||
|
\***********************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ isServer: () => (/* binding */ isServer)\n/* harmony export */ });\n/**\n * @license\n * Copyright 2022 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\n/**\n * @fileoverview\n *\n * This file exports a boolean const whose value will depend on what environment\n * the module is being imported from.\n */\nconst NODE_MODE = false;\n/**\n * A boolean that will be `true` in server environments like Node, and `false`\n * in browser environments. Note that your server environment or toolchain must\n * support the `\"node\"` export condition for this to be `true`.\n *\n * This can be used when authoring components to change behavior based on\n * whether or not the component is executing in an SSR context.\n */\nconst isServer = NODE_MODE;\n//# sourceMappingURL=is-server.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/node_modules/lit-html/development/is-server.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/node_modules/lit-html/development/lit-html.js":
|
|||
|
/*!**********************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/node_modules/lit-html/development/lit-html.js ***!
|
|||
|
\**********************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ _$LH: () => (/* binding */ _$LH),\n/* harmony export */ html: () => (/* binding */ html),\n/* harmony export */ noChange: () => (/* binding */ noChange),\n/* harmony export */ nothing: () => (/* binding */ nothing),\n/* harmony export */ render: () => (/* binding */ render),\n/* harmony export */ svg: () => (/* binding */ svg)\n/* harmony export */ });\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\nconst DEV_MODE = true;\nconst ENABLE_EXTRA_SECURITY_HOOKS = true;\nconst ENABLE_SHADYDOM_NOPATCH = true;\nconst NODE_MODE = false;\n// Allows minifiers to rename references to globalThis\nconst global = globalThis;\n/**\n * Useful for visualizing and logging insights into what the Lit template system is doing.\n *\n * Compiled out of prod mode builds.\n */\nconst debugLogEvent = DEV_MODE\n ? (event) => {\n const shouldEmit = global\n .emitLitDebugLogEvents;\n if (!shouldEmit) {\n return;\n }\n global.dispatchEvent(new CustomEvent('lit-debug', {\n detail: event,\n }));\n }\n : undefined;\n// Used for connecting beginRender and endRender events when there are nested\n// renders when errors are thrown preventing an endRender event from being\n// called.\nlet debugLogRenderId = 0;\nlet issueWarning;\nif (DEV_MODE) {\n global.litIssuedWarnings ??= new Set();\n // Issue a warning, if we haven't already.\n issueWarning = (code, warning) => {\n warning += code\n ? ` See https://lit.dev/msg/${code} for more information.`\n : '';\n if (!global.litIssuedWarnings.has(warning)) {\n console.warn(warning);\n global.litIssuedWarnings.add(warning);\n }\n };\n issueWarning('dev-mode', `Lit is in dev mode. Not recommended for production!`);\n}\nconst wrap = ENABLE_SHADYDOM_NOPATCH &&\n global.ShadyDOM?.inUse &&\n global.ShadyDOM?.noPatch === true\n ? global.ShadyDOM.wrap\n : (node) => node;\nconst trustedTypes = global.trustedTypes;\n/**\n * Our TrustedTypePolicy for HTML which is declared using the html template\n * tag function.\n *\n * That HTML is a developer-authored constant, and is parsed with innerHTML\n * before any untrusted expressions have been mixed in. Therefor it is\n * considered safe by construction.\n */\nconst policy = trustedTypes\n ? trustedTypes.createPolicy('lit-html', {\n createHTML: (s) => s,\n })\n : undefined;\nconst identityFunction = (value) => value;\nconst noopSanitizer = (_node, _name, _type) => identityFunction;\n/** Sets the global sanitizer factory. */\nconst setSanitizer = (newSanitizer) => {\n if (!ENABLE_EXTRA_SECURITY_HOOKS) {\n return;\n }\n if (sanitizerFactoryInternal !== noopSanitizer) {\n throw new Error(`Attempted to overwrite existing lit-html security policy.` +\n ` setSanitizeDOMValueFactory should be called at most once.`);\n }\n sanitizerFactoryInternal = newSanitizer;\n};\n/**\n * Only used in internal tests, not a part of the public API.\n */\nconst _testOnlyClearSanitizerFactoryDoNotCallOrElse = () => {\n sanitizerFactoryInternal = noopSanitizer;\n};\nconst createSanitizer = (node, name, type) => {\n return sanitizerFactoryInternal(node, name, type);\n};\n// Added to an attribute name to mark the attribute as bound so we can find\n// it easily.\nconst boundAttributeSuffix = '$lit$';\n// This marker is used in many syntactic positions in HTML, so it must be\n// a valid element name and attribute name. We don't support dynamic names (yet)\n// but this at least ensures that the parse tree is closer to the template\n// intention.\nconst marker = `lit$${String(Math.random()).slice(9)}$`;\n// String used to tell if a comment is a marker comment\nconst markerMatch = '?' + marker;\n// Text used to insert a comment marker node. We use processing instruction\n// syntax because it
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/node_modules/lit/decorators.js":
|
|||
|
/*!*******************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/node_modules/lit/decorators.js ***!
|
|||
|
\*******************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ customElement: () => (/* reexport safe */ _lit_reactive_element_decorators_custom_element_js__WEBPACK_IMPORTED_MODULE_0__.customElement),\n/* harmony export */ eventOptions: () => (/* reexport safe */ _lit_reactive_element_decorators_event_options_js__WEBPACK_IMPORTED_MODULE_3__.eventOptions),\n/* harmony export */ property: () => (/* reexport safe */ _lit_reactive_element_decorators_property_js__WEBPACK_IMPORTED_MODULE_1__.property),\n/* harmony export */ query: () => (/* reexport safe */ _lit_reactive_element_decorators_query_js__WEBPACK_IMPORTED_MODULE_4__.query),\n/* harmony export */ queryAll: () => (/* reexport safe */ _lit_reactive_element_decorators_query_all_js__WEBPACK_IMPORTED_MODULE_5__.queryAll),\n/* harmony export */ queryAssignedElements: () => (/* reexport safe */ _lit_reactive_element_decorators_query_assigned_elements_js__WEBPACK_IMPORTED_MODULE_7__.queryAssignedElements),\n/* harmony export */ queryAssignedNodes: () => (/* reexport safe */ _lit_reactive_element_decorators_query_assigned_nodes_js__WEBPACK_IMPORTED_MODULE_8__.queryAssignedNodes),\n/* harmony export */ queryAsync: () => (/* reexport safe */ _lit_reactive_element_decorators_query_async_js__WEBPACK_IMPORTED_MODULE_6__.queryAsync),\n/* harmony export */ standardProperty: () => (/* reexport safe */ _lit_reactive_element_decorators_property_js__WEBPACK_IMPORTED_MODULE_1__.standardProperty),\n/* harmony export */ state: () => (/* reexport safe */ _lit_reactive_element_decorators_state_js__WEBPACK_IMPORTED_MODULE_2__.state)\n/* harmony export */ });\n/* harmony import */ var _lit_reactive_element_decorators_custom_element_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @lit/reactive-element/decorators/custom-element.js */ \"./node_modules/@web3modal/ui/node_modules/@lit/reactive-element/development/decorators/custom-element.js\");\n/* harmony import */ var _lit_reactive_element_decorators_property_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @lit/reactive-element/decorators/property.js */ \"./node_modules/@web3modal/ui/node_modules/@lit/reactive-element/development/decorators/property.js\");\n/* harmony import */ var _lit_reactive_element_decorators_state_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @lit/reactive-element/decorators/state.js */ \"./node_modules/@web3modal/ui/node_modules/@lit/reactive-element/development/decorators/state.js\");\n/* harmony import */ var _lit_reactive_element_decorators_event_options_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @lit/reactive-element/decorators/event-options.js */ \"./node_modules/@web3modal/ui/node_modules/@lit/reactive-element/development/decorators/event-options.js\");\n/* harmony import */ var _lit_reactive_element_decorators_query_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @lit/reactive-element/decorators/query.js */ \"./node_modules/@web3modal/ui/node_modules/@lit/reactive-element/development/decorators/query.js\");\n/* harmony import */ var _lit_reactive_element_decorators_query_all_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @lit/reactive-element/decorators/query-all.js */ \"./node_modules/@web3modal/ui/node_modules/@lit/reactive-element/development/decorators/query-all.js\");\n/* harmony import */ var _lit_reactive_element_decorators_query_async_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @lit/reactive-element/decorators/query-async.js */ \"./node_modules/@web3modal/ui/node_modules/@lit/reactive-element/development/decorators/query-async.js\");\n/* harmony import */ var _lit_reactive_element_decorators_query_assigned_elements_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @lit/reactive-element/decorators/query-assigned-elements.js */ \"./node_modules/@web3modal/ui/node_modules/@lit/reactive-element/development/decorators/query-assigned-elements.js\");\n/* harmony import */ var _lit_reactive_element_decorators_query_assigned_nodes_j
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/node_modules/lit/directives/class-map.js":
|
|||
|
/*!*****************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/node_modules/lit/directives/class-map.js ***!
|
|||
|
\*****************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ classMap: () => (/* reexport safe */ lit_html_directives_class_map_js__WEBPACK_IMPORTED_MODULE_0__.classMap)\n/* harmony export */ });\n/* harmony import */ var lit_html_directives_class_map_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit-html/directives/class-map.js */ \"./node_modules/@web3modal/ui/node_modules/lit-html/development/directives/class-map.js\");\n\n//# sourceMappingURL=class-map.js.map\n\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/node_modules/lit/directives/class-map.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/node_modules/lit/directives/if-defined.js":
|
|||
|
/*!******************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/node_modules/lit/directives/if-defined.js ***!
|
|||
|
\******************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ ifDefined: () => (/* reexport safe */ lit_html_directives_if_defined_js__WEBPACK_IMPORTED_MODULE_0__.ifDefined)\n/* harmony export */ });\n/* harmony import */ var lit_html_directives_if_defined_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit-html/directives/if-defined.js */ \"./node_modules/@web3modal/ui/node_modules/lit-html/development/directives/if-defined.js\");\n\n//# sourceMappingURL=if-defined.js.map\n\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/node_modules/lit/directives/if-defined.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/node_modules/lit/directives/ref.js":
|
|||
|
/*!***********************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/node_modules/lit/directives/ref.js ***!
|
|||
|
\***********************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ createRef: () => (/* reexport safe */ lit_html_directives_ref_js__WEBPACK_IMPORTED_MODULE_0__.createRef),\n/* harmony export */ ref: () => (/* reexport safe */ lit_html_directives_ref_js__WEBPACK_IMPORTED_MODULE_0__.ref)\n/* harmony export */ });\n/* harmony import */ var lit_html_directives_ref_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit-html/directives/ref.js */ \"./node_modules/@web3modal/ui/node_modules/lit-html/development/directives/ref.js\");\n\n//# sourceMappingURL=ref.js.map\n\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/node_modules/lit/directives/ref.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/ui/node_modules/lit/index.js":
|
|||
|
/*!**************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/ui/node_modules/lit/index.js ***!
|
|||
|
\**************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ CSSResult: () => (/* reexport safe */ lit_element_lit_element_js__WEBPACK_IMPORTED_MODULE_2__.CSSResult),\n/* harmony export */ LitElement: () => (/* reexport safe */ lit_element_lit_element_js__WEBPACK_IMPORTED_MODULE_2__.LitElement),\n/* harmony export */ ReactiveElement: () => (/* reexport safe */ lit_element_lit_element_js__WEBPACK_IMPORTED_MODULE_2__.ReactiveElement),\n/* harmony export */ _$LE: () => (/* reexport safe */ lit_element_lit_element_js__WEBPACK_IMPORTED_MODULE_2__._$LE),\n/* harmony export */ _$LH: () => (/* reexport safe */ lit_element_lit_element_js__WEBPACK_IMPORTED_MODULE_2__._$LH),\n/* harmony export */ adoptStyles: () => (/* reexport safe */ lit_element_lit_element_js__WEBPACK_IMPORTED_MODULE_2__.adoptStyles),\n/* harmony export */ css: () => (/* reexport safe */ lit_element_lit_element_js__WEBPACK_IMPORTED_MODULE_2__.css),\n/* harmony export */ defaultConverter: () => (/* reexport safe */ lit_element_lit_element_js__WEBPACK_IMPORTED_MODULE_2__.defaultConverter),\n/* harmony export */ getCompatibleStyle: () => (/* reexport safe */ lit_element_lit_element_js__WEBPACK_IMPORTED_MODULE_2__.getCompatibleStyle),\n/* harmony export */ html: () => (/* reexport safe */ lit_element_lit_element_js__WEBPACK_IMPORTED_MODULE_2__.html),\n/* harmony export */ isServer: () => (/* reexport safe */ lit_html_is_server_js__WEBPACK_IMPORTED_MODULE_3__.isServer),\n/* harmony export */ noChange: () => (/* reexport safe */ lit_element_lit_element_js__WEBPACK_IMPORTED_MODULE_2__.noChange),\n/* harmony export */ notEqual: () => (/* reexport safe */ lit_element_lit_element_js__WEBPACK_IMPORTED_MODULE_2__.notEqual),\n/* harmony export */ nothing: () => (/* reexport safe */ lit_element_lit_element_js__WEBPACK_IMPORTED_MODULE_2__.nothing),\n/* harmony export */ render: () => (/* reexport safe */ lit_element_lit_element_js__WEBPACK_IMPORTED_MODULE_2__.render),\n/* harmony export */ supportsAdoptingStyleSheets: () => (/* reexport safe */ lit_element_lit_element_js__WEBPACK_IMPORTED_MODULE_2__.supportsAdoptingStyleSheets),\n/* harmony export */ svg: () => (/* reexport safe */ lit_element_lit_element_js__WEBPACK_IMPORTED_MODULE_2__.svg),\n/* harmony export */ unsafeCSS: () => (/* reexport safe */ lit_element_lit_element_js__WEBPACK_IMPORTED_MODULE_2__.unsafeCSS)\n/* harmony export */ });\n/* harmony import */ var _lit_reactive_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @lit/reactive-element */ \"./node_modules/@web3modal/ui/node_modules/@lit/reactive-element/development/reactive-element.js\");\n/* harmony import */ var lit_html__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lit-html */ \"./node_modules/@web3modal/ui/node_modules/lit-html/development/lit-html.js\");\n/* harmony import */ var lit_element_lit_element_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lit-element/lit-element.js */ \"./node_modules/@web3modal/ui/node_modules/lit-element/development/lit-element.js\");\n/* harmony import */ var lit_html_is_server_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! lit-html/is-server.js */ \"./node_modules/@web3modal/ui/node_modules/lit-html/development/is-server.js\");\n\n//# sourceMappingURL=index.js.map\n\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/node_modules/lit/index.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/wagmi/dist/esm/exports/index.js":
|
|||
|
/*!*****************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/wagmi/dist/esm/exports/index.js ***!
|
|||
|
\*****************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ EIP6963Connector: () => (/* reexport safe */ _src_connectors_EIP6963Connector_js__WEBPACK_IMPORTED_MODULE_2__.EIP6963Connector),\n/* harmony export */ createWeb3Modal: () => (/* binding */ createWeb3Modal),\n/* harmony export */ defaultWagmiConfig: () => (/* reexport safe */ _src_utils_defaultWagmiCoreConfig_js__WEBPACK_IMPORTED_MODULE_3__.defaultWagmiConfig),\n/* harmony export */ walletConnectProvider: () => (/* reexport safe */ _src_utils_provider_js__WEBPACK_IMPORTED_MODULE_4__.walletConnectProvider)\n/* harmony export */ });\n/* harmony import */ var _src_client_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../src/client.js */ \"./node_modules/@web3modal/wagmi/dist/esm/src/client.js\");\n/* harmony import */ var _web3modal_scaffold_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @web3modal/scaffold-utils */ \"./node_modules/@web3modal/scaffold-utils/dist/esm/index.js\");\n/* harmony import */ var _src_connectors_EIP6963Connector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../src/connectors/EIP6963Connector.js */ \"./node_modules/@web3modal/wagmi/dist/esm/src/connectors/EIP6963Connector.js\");\n/* harmony import */ var _src_utils_defaultWagmiCoreConfig_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../src/utils/defaultWagmiCoreConfig.js */ \"./node_modules/@web3modal/wagmi/dist/esm/src/utils/defaultWagmiCoreConfig.js\");\n/* harmony import */ var _src_utils_provider_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../src/utils/provider.js */ \"./node_modules/@web3modal/wagmi/dist/esm/src/utils/provider.js\");\n\n\n\n\n\nfunction createWeb3Modal(options) {\n return new _src_client_js__WEBPACK_IMPORTED_MODULE_0__.Web3Modal({ ...options, _sdkVersion: `html-wagmi-${_web3modal_scaffold_utils__WEBPACK_IMPORTED_MODULE_1__.ConstantsUtil.VERSION}` });\n}\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/wagmi/dist/esm/exports/index.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/wagmi/dist/esm/src/client.js":
|
|||
|
/*!**************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/wagmi/dist/esm/src/client.js ***!
|
|||
|
\**************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ Web3Modal: () => (/* binding */ Web3Modal)\n/* harmony export */ });\n/* harmony import */ var _wagmi_core__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @wagmi/core */ \"./node_modules/@wagmi/core/dist/chunk-TSH6VVF4.js\");\n/* harmony import */ var _wagmi_core_chains__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @wagmi/core/chains */ \"./node_modules/viem/_esm/chains/definitions/mainnet.js\");\n/* harmony import */ var _web3modal_scaffold__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @web3modal/scaffold */ \"./node_modules/@web3modal/scaffold/dist/esm/index.js\");\n/* harmony import */ var _web3modal_scaffold_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @web3modal/scaffold-utils */ \"./node_modules/@web3modal/scaffold-utils/dist/esm/index.js\");\n/* harmony import */ var _utils_helpers_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./utils/helpers.js */ \"./node_modules/@web3modal/wagmi/dist/esm/src/utils/helpers.js\");\n/* harmony import */ var _utils_constants_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./utils/constants.js */ \"./node_modules/@web3modal/wagmi/dist/esm/src/utils/constants.js\");\n\n\n\n\n\n\nclass Web3Modal extends _web3modal_scaffold__WEBPACK_IMPORTED_MODULE_0__.Web3ModalScaffold {\n constructor(options) {\n const { wagmiConfig, siweConfig, chains, defaultChain, tokens, _sdkVersion, ...w3mOptions } = options;\n if (!wagmiConfig) {\n throw new Error('web3modal:constructor - wagmiConfig is undefined');\n }\n if (!w3mOptions.projectId) {\n throw new Error('web3modal:constructor - projectId is undefined');\n }\n if (!wagmiConfig.connectors.find(c => c.id === _web3modal_scaffold_utils__WEBPACK_IMPORTED_MODULE_1__.ConstantsUtil.WALLET_CONNECT_CONNECTOR_ID)) {\n throw new Error('web3modal:constructor - WalletConnectConnector is required');\n }\n const networkControllerClient = {\n switchCaipNetwork: async (caipNetwork) => {\n const chainId = _web3modal_scaffold_utils__WEBPACK_IMPORTED_MODULE_1__.HelpersUtil.caipNetworkIdToNumber(caipNetwork?.id);\n if (chainId) {\n await (0,_wagmi_core__WEBPACK_IMPORTED_MODULE_4__.switchNetwork)({ chainId });\n }\n },\n async getApprovedCaipNetworksData() {\n const walletChoice = localStorage.getItem(_utils_constants_js__WEBPACK_IMPORTED_MODULE_3__.WALLET_CHOICE_KEY);\n if (walletChoice?.includes(_web3modal_scaffold_utils__WEBPACK_IMPORTED_MODULE_1__.ConstantsUtil.WALLET_CONNECT_CONNECTOR_ID)) {\n const connector = wagmiConfig.connectors.find(c => c.id === _web3modal_scaffold_utils__WEBPACK_IMPORTED_MODULE_1__.ConstantsUtil.WALLET_CONNECT_CONNECTOR_ID);\n if (!connector) {\n throw new Error('networkControllerClient:getApprovedCaipNetworks - connector is undefined');\n }\n const provider = await connector.getProvider();\n const ns = provider.signer?.session?.namespaces;\n const nsMethods = ns?.[_web3modal_scaffold_utils__WEBPACK_IMPORTED_MODULE_1__.ConstantsUtil.EIP155]?.methods;\n const nsChains = ns?.[_web3modal_scaffold_utils__WEBPACK_IMPORTED_MODULE_1__.ConstantsUtil.EIP155]?.chains;\n return {\n supportsAllNetworks: nsMethods?.includes(_web3modal_scaffold_utils__WEBPACK_IMPORTED_MODULE_1__.ConstantsUtil.ADD_CHAIN_METHOD),\n approvedCaipNetworkIds: nsChains\n };\n }\n return { approvedCaipNetworkIds: undefined, supportsAllNetworks: true };\n }\n };\n const connectionControllerClient = {\n connectWalletConnect: async (onUri) => {\n cons
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/wagmi/dist/esm/src/connectors/EIP6963Connector.js":
|
|||
|
/*!***********************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/wagmi/dist/esm/src/connectors/EIP6963Connector.js ***!
|
|||
|
\***********************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ EIP6963Connector: () => (/* binding */ EIP6963Connector)\n/* harmony export */ });\n/* harmony import */ var _wagmi_core_connectors_injected__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wagmi/core/connectors/injected */ \"./node_modules/@wagmi/connectors/dist/chunk-JTELPB65.js\");\nvar __classPrivateFieldSet = (undefined && undefined.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\n};\nvar __classPrivateFieldGet = (undefined && undefined.__classPrivateFieldGet) || function (receiver, state, kind, f) {\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\n};\nvar _EIP6963Connector_defaultProvider, _EIP6963Connector_eip6963Wallet;\n\nconst connectedRdnsKey = 'connectedRdns';\nclass EIP6963Connector extends _wagmi_core_connectors_injected__WEBPACK_IMPORTED_MODULE_0__.InjectedConnector {\n constructor(config) {\n super({ chains: config.chains, options: { shimDisconnect: true } });\n this.id = 'eip6963';\n this.name = 'EIP6963';\n _EIP6963Connector_defaultProvider.set(this, undefined);\n _EIP6963Connector_eip6963Wallet.set(this, undefined);\n __classPrivateFieldSet(this, _EIP6963Connector_defaultProvider, this.options.getProvider(), \"f\");\n }\n async connect(options) {\n const data = await super.connect(options);\n if (__classPrivateFieldGet(this, _EIP6963Connector_eip6963Wallet, \"f\")) {\n this.storage?.setItem(connectedRdnsKey, __classPrivateFieldGet(this, _EIP6963Connector_eip6963Wallet, \"f\").info.rdns);\n }\n return data;\n }\n async disconnect() {\n await super.disconnect();\n this.storage?.removeItem(connectedRdnsKey);\n __classPrivateFieldSet(this, _EIP6963Connector_eip6963Wallet, undefined, \"f\");\n }\n async isAuthorized(eip6963Wallet) {\n const connectedEIP6963Rdns = this.storage?.getItem(connectedRdnsKey);\n if (connectedEIP6963Rdns) {\n if (!eip6963Wallet || connectedEIP6963Rdns !== eip6963Wallet.info.rdns) {\n return true;\n }\n __classPrivateFieldSet(this, _EIP6963Connector_eip6963Wallet, eip6963Wallet, \"f\");\n }\n return super.isAuthorized();\n }\n async getProvider() {\n return Promise.resolve(__classPrivateFieldGet(this, _EIP6963Connector_eip6963Wallet, \"f\")?.provider ?? __classPrivateFieldGet(this, _EIP6963Connector_defaultProvider, \"f\"));\n }\n setEip6963Wallet(eip6963Wallet) {\n __classPrivateFieldSet(this, _EIP6963Connector_eip6963Wallet, eip6963Wallet, \"f\");\n }\n}\n_EIP6963Connector_defaultProvider = new WeakMap(), _EIP6963Connector_eip6963Wallet = new WeakMap();\n//# sourceMappingURL=EIP6963Connector.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/wagmi/dist/esm/src/connectors/EIP6963Connector.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/wagmi/dist/esm/src/utils/constants.js":
|
|||
|
/*!***********************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/wagmi/dist/esm/src/utils/constants.js ***!
|
|||
|
\***********************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ WALLET_CHOICE_KEY: () => (/* binding */ WALLET_CHOICE_KEY)\n/* harmony export */ });\nconst WALLET_CHOICE_KEY = 'wagmi.wallet';\n//# sourceMappingURL=constants.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/wagmi/dist/esm/src/utils/constants.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/wagmi/dist/esm/src/utils/defaultWagmiCoreConfig.js":
|
|||
|
/*!************************************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/wagmi/dist/esm/src/utils/defaultWagmiCoreConfig.js ***!
|
|||
|
\************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ defaultWagmiConfig: () => (/* binding */ defaultWagmiConfig)\n/* harmony export */ });\n/* harmony import */ var _web3modal_polyfills__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @web3modal/polyfills */ \"./node_modules/@web3modal/polyfills/dist/esm/index.js\");\n/* harmony import */ var _wagmi_core__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @wagmi/core */ \"./node_modules/@wagmi/core/dist/chunk-TSH6VVF4.js\");\n/* harmony import */ var _wagmi_core_connectors_coinbaseWallet__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @wagmi/core/connectors/coinbaseWallet */ \"./node_modules/@wagmi/connectors/dist/coinbaseWallet.js\");\n/* harmony import */ var _wagmi_core_connectors_injected__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @wagmi/core/connectors/injected */ \"./node_modules/@wagmi/connectors/dist/chunk-JTELPB65.js\");\n/* harmony import */ var _wagmi_core_connectors_walletConnect__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @wagmi/core/connectors/walletConnect */ \"./node_modules/@wagmi/connectors/dist/walletConnect.js\");\n/* harmony import */ var _wagmi_core_providers_public__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @wagmi/core/providers/public */ \"./node_modules/@wagmi/core/dist/providers/public.js\");\n/* harmony import */ var _connectors_EIP6963Connector_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../connectors/EIP6963Connector.js */ \"./node_modules/@web3modal/wagmi/dist/esm/src/connectors/EIP6963Connector.js\");\n/* harmony import */ var _provider_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./provider.js */ \"./node_modules/@web3modal/wagmi/dist/esm/src/utils/provider.js\");\n\n\n\n\n\n\n\n\nfunction defaultWagmiConfig({ projectId, chains, metadata }) {\n const { publicClient } = (0,_wagmi_core__WEBPACK_IMPORTED_MODULE_3__.configureChains)(chains, [\n (0,_provider_js__WEBPACK_IMPORTED_MODULE_2__.walletConnectProvider)({ projectId }),\n (0,_wagmi_core_providers_public__WEBPACK_IMPORTED_MODULE_4__.publicProvider)()\n ]);\n return (0,_wagmi_core__WEBPACK_IMPORTED_MODULE_3__.createConfig)({\n autoConnect: true,\n connectors: [\n new _wagmi_core_connectors_walletConnect__WEBPACK_IMPORTED_MODULE_5__.WalletConnectConnector({ chains, options: { projectId, showQrModal: false, metadata } }),\n new _connectors_EIP6963Connector_js__WEBPACK_IMPORTED_MODULE_1__.EIP6963Connector({ chains }),\n new _wagmi_core_connectors_injected__WEBPACK_IMPORTED_MODULE_6__.InjectedConnector({ chains, options: { shimDisconnect: true } }),\n new _wagmi_core_connectors_coinbaseWallet__WEBPACK_IMPORTED_MODULE_7__.CoinbaseWalletConnector({ chains, options: { appName: metadata?.name ?? 'Unknown' } })\n ],\n publicClient\n });\n}\n//# sourceMappingURL=defaultWagmiCoreConfig.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/wagmi/dist/esm/src/utils/defaultWagmiCoreConfig.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/wagmi/dist/esm/src/utils/helpers.js":
|
|||
|
/*!*********************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/wagmi/dist/esm/src/utils/helpers.js ***!
|
|||
|
\*********************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ getCaipDefaultChain: () => (/* binding */ getCaipDefaultChain)\n/* harmony export */ });\n/* harmony import */ var _web3modal_scaffold_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @web3modal/scaffold-utils */ \"./node_modules/@web3modal/scaffold-utils/dist/esm/index.js\");\n\nfunction getCaipDefaultChain(chain) {\n if (!chain) {\n return undefined;\n }\n return {\n id: `${_web3modal_scaffold_utils__WEBPACK_IMPORTED_MODULE_0__.ConstantsUtil.EIP155}:${chain.id}`,\n name: chain.name,\n imageId: _web3modal_scaffold_utils__WEBPACK_IMPORTED_MODULE_0__.PresetsUtil.EIP155NetworkImageIds[chain.id]\n };\n}\n//# sourceMappingURL=helpers.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/wagmi/dist/esm/src/utils/helpers.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/@web3modal/wagmi/dist/esm/src/utils/provider.js":
|
|||
|
/*!**********************************************************************!*\
|
|||
|
!*** ./node_modules/@web3modal/wagmi/dist/esm/src/utils/provider.js ***!
|
|||
|
\**********************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ walletConnectProvider: () => (/* binding */ walletConnectProvider)\n/* harmony export */ });\n/* harmony import */ var _web3modal_scaffold__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @web3modal/scaffold */ \"./node_modules/@web3modal/scaffold/dist/esm/index.js\");\n/* harmony import */ var _web3modal_scaffold_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @web3modal/scaffold-utils */ \"./node_modules/@web3modal/scaffold-utils/dist/esm/index.js\");\n\n\nconst RPC_URL = _web3modal_scaffold__WEBPACK_IMPORTED_MODULE_0__.CoreHelperUtil.getBlockchainApiUrl();\nfunction walletConnectProvider({ projectId }) {\n return function provider(chain) {\n const supported = [\n 1,\n 5,\n 11155111,\n 10,\n 420,\n 42161,\n 421613,\n 137,\n 80001,\n 42220,\n 1313161554,\n 1313161555,\n 56,\n 97,\n 43114,\n 43113,\n 100,\n 8453,\n 84531,\n 7777777,\n 999,\n 324,\n 280\n ];\n if (!supported.includes(chain.id)) {\n return null;\n }\n const baseHttpUrl = `${RPC_URL}/v1/?chainId=${_web3modal_scaffold_utils__WEBPACK_IMPORTED_MODULE_1__.ConstantsUtil.EIP155}:${chain.id}&projectId=${projectId}`;\n return {\n chain: {\n ...chain,\n rpcUrls: {\n ...chain.rpcUrls,\n default: { http: [baseHttpUrl] }\n }\n },\n rpcUrls: {\n http: [baseHttpUrl]\n }\n };\n };\n}\n//# sourceMappingURL=provider.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/wagmi/dist/esm/src/utils/provider.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/isows/_esm/native.js":
|
|||
|
/*!*******************************************!*\
|
|||
|
!*** ./node_modules/isows/_esm/native.js ***!
|
|||
|
\*******************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ WebSocket: () => (/* binding */ WebSocket)\n/* harmony export */ });\n/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils.js */ \"./node_modules/isows/_esm/utils.js\");\n\nconst WebSocket = (0,_utils_js__WEBPACK_IMPORTED_MODULE_0__.getNativeWebSocket)();\n//# sourceMappingURL=native.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/isows/_esm/native.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/isows/_esm/utils.js":
|
|||
|
/*!******************************************!*\
|
|||
|
!*** ./node_modules/isows/_esm/utils.js ***!
|
|||
|
\******************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ getNativeWebSocket: () => (/* binding */ getNativeWebSocket)\n/* harmony export */ });\nfunction getNativeWebSocket() {\n if (typeof WebSocket !== \"undefined\")\n return WebSocket;\n if (typeof global.WebSocket !== \"undefined\")\n return global.WebSocket;\n if (typeof window.WebSocket !== \"undefined\")\n return window.WebSocket;\n if (typeof self.WebSocket !== \"undefined\")\n return self.WebSocket;\n throw new Error(\"`WebSocket` is not supported in this environment\");\n}\n//# sourceMappingURL=utils.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/isows/_esm/utils.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/multiformats/esm/src/bases/base.js":
|
|||
|
/*!*********************************************************!*\
|
|||
|
!*** ./node_modules/multiformats/esm/src/bases/base.js ***!
|
|||
|
\*********************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ Codec: () => (/* binding */ Codec),\n/* harmony export */ baseX: () => (/* binding */ baseX),\n/* harmony export */ from: () => (/* binding */ from),\n/* harmony export */ or: () => (/* binding */ or),\n/* harmony export */ rfc4648: () => (/* binding */ rfc4648)\n/* harmony export */ });\n/* harmony import */ var _vendor_base_x_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../vendor/base-x.js */ \"./node_modules/multiformats/esm/vendor/base-x.js\");\n/* harmony import */ var _bytes_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../bytes.js */ \"./node_modules/multiformats/esm/src/bytes.js\");\n\n\nclass Encoder {\n constructor(name, prefix, baseEncode) {\n this.name = name;\n this.prefix = prefix;\n this.baseEncode = baseEncode;\n }\n encode(bytes) {\n if (bytes instanceof Uint8Array) {\n return `${ this.prefix }${ this.baseEncode(bytes) }`;\n } else {\n throw Error('Unknown type, must be binary type');\n }\n }\n}\nclass Decoder {\n constructor(name, prefix, baseDecode) {\n this.name = name;\n this.prefix = prefix;\n if (prefix.codePointAt(0) === undefined) {\n throw new Error('Invalid prefix character');\n }\n this.prefixCodePoint = prefix.codePointAt(0);\n this.baseDecode = baseDecode;\n }\n decode(text) {\n if (typeof text === 'string') {\n if (text.codePointAt(0) !== this.prefixCodePoint) {\n throw Error(`Unable to decode multibase string ${ JSON.stringify(text) }, ${ this.name } decoder only supports inputs prefixed with ${ this.prefix }`);\n }\n return this.baseDecode(text.slice(this.prefix.length));\n } else {\n throw Error('Can only multibase decode strings');\n }\n }\n or(decoder) {\n return or(this, decoder);\n }\n}\nclass ComposedDecoder {\n constructor(decoders) {\n this.decoders = decoders;\n }\n or(decoder) {\n return or(this, decoder);\n }\n decode(input) {\n const prefix = input[0];\n const decoder = this.decoders[prefix];\n if (decoder) {\n return decoder.decode(input);\n } else {\n throw RangeError(`Unable to decode multibase string ${ JSON.stringify(input) }, only inputs prefixed with ${ Object.keys(this.decoders) } are supported`);\n }\n }\n}\nconst or = (left, right) => new ComposedDecoder({\n ...left.decoders || { [left.prefix]: left },\n ...right.decoders || { [right.prefix]: right }\n});\nclass Codec {\n constructor(name, prefix, baseEncode, baseDecode) {\n this.name = name;\n this.prefix = prefix;\n this.baseEncode = baseEncode;\n this.baseDecode = baseDecode;\n this.encoder = new Encoder(name, prefix, baseEncode);\n this.decoder = new Decoder(name, prefix, baseDecode);\n }\n encode(input) {\n return this.encoder.encode(input);\n }\n decode(input) {\n return this.decoder.decode(input);\n }\n}\nconst from = ({name, prefix, encode, decode}) => new Codec(name, prefix, encode, decode);\nconst baseX = ({prefix, name, alphabet}) => {\n const {encode, decode} = (0,_vendor_base_x_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(alphabet, name);\n return from({\n prefix,\n name,\n encode,\n decode: text => (0,_bytes_js__WEBPACK_IMPORTED_MODULE_1__.coerce)(decode(text))\n });\n};\nconst decode = (string, alphabet, bitsPerChar, name) => {\n const codes = {};\n for (let i = 0; i < alphabet.length; ++i) {\n codes[alphabet[i]] = i;\n }\n let end = string.length;\n while (string[end - 1] === '=') {\n --end;\n }\n const out = new Uint8Array(end * bitsPerChar / 8 | 0);\n let bits = 0;\n let buffer = 0;\n let written = 0;\n for (let i = 0; i < end; ++i) {\n const value = codes[string[i]];\n if (value === undefined) {\n throw new SyntaxError(`Non-${ name } character`);\n }\n buffer = buffer << bitsPerChar | value;\n bits += bitsPerChar;\n if (bits >= 8) {\n bits -= 8;\n out[written++] = 255 & buffer >> bits;\n }\
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/multiformats/esm/src/bases/base10.js":
|
|||
|
/*!***********************************************************!*\
|
|||
|
!*** ./node_modules/multiformats/esm/src/bases/base10.js ***!
|
|||
|
\***********************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ base10: () => (/* binding */ base10)\n/* harmony export */ });\n/* harmony import */ var _base_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./base.js */ \"./node_modules/multiformats/esm/src/bases/base.js\");\n\nconst base10 = (0,_base_js__WEBPACK_IMPORTED_MODULE_0__.baseX)({\n prefix: '9',\n name: 'base10',\n alphabet: '0123456789'\n});\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/multiformats/esm/src/bases/base10.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/multiformats/esm/src/bases/base16.js":
|
|||
|
/*!***********************************************************!*\
|
|||
|
!*** ./node_modules/multiformats/esm/src/bases/base16.js ***!
|
|||
|
\***********************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ base16: () => (/* binding */ base16),\n/* harmony export */ base16upper: () => (/* binding */ base16upper)\n/* harmony export */ });\n/* harmony import */ var _base_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./base.js */ \"./node_modules/multiformats/esm/src/bases/base.js\");\n\nconst base16 = (0,_base_js__WEBPACK_IMPORTED_MODULE_0__.rfc4648)({\n prefix: 'f',\n name: 'base16',\n alphabet: '0123456789abcdef',\n bitsPerChar: 4\n});\nconst base16upper = (0,_base_js__WEBPACK_IMPORTED_MODULE_0__.rfc4648)({\n prefix: 'F',\n name: 'base16upper',\n alphabet: '0123456789ABCDEF',\n bitsPerChar: 4\n});\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/multiformats/esm/src/bases/base16.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/multiformats/esm/src/bases/base2.js":
|
|||
|
/*!**********************************************************!*\
|
|||
|
!*** ./node_modules/multiformats/esm/src/bases/base2.js ***!
|
|||
|
\**********************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ base2: () => (/* binding */ base2)\n/* harmony export */ });\n/* harmony import */ var _base_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./base.js */ \"./node_modules/multiformats/esm/src/bases/base.js\");\n\nconst base2 = (0,_base_js__WEBPACK_IMPORTED_MODULE_0__.rfc4648)({\n prefix: '0',\n name: 'base2',\n alphabet: '01',\n bitsPerChar: 1\n});\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/multiformats/esm/src/bases/base2.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/multiformats/esm/src/bases/base256emoji.js":
|
|||
|
/*!*****************************************************************!*\
|
|||
|
!*** ./node_modules/multiformats/esm/src/bases/base256emoji.js ***!
|
|||
|
\*****************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ base256emoji: () => (/* binding */ base256emoji)\n/* harmony export */ });\n/* harmony import */ var _base_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./base.js */ \"./node_modules/multiformats/esm/src/bases/base.js\");\n\nconst alphabet = Array.from('\\uD83D\\uDE80\\uD83E\\uDE90\\u2604\\uD83D\\uDEF0\\uD83C\\uDF0C\\uD83C\\uDF11\\uD83C\\uDF12\\uD83C\\uDF13\\uD83C\\uDF14\\uD83C\\uDF15\\uD83C\\uDF16\\uD83C\\uDF17\\uD83C\\uDF18\\uD83C\\uDF0D\\uD83C\\uDF0F\\uD83C\\uDF0E\\uD83D\\uDC09\\u2600\\uD83D\\uDCBB\\uD83D\\uDDA5\\uD83D\\uDCBE\\uD83D\\uDCBF\\uD83D\\uDE02\\u2764\\uD83D\\uDE0D\\uD83E\\uDD23\\uD83D\\uDE0A\\uD83D\\uDE4F\\uD83D\\uDC95\\uD83D\\uDE2D\\uD83D\\uDE18\\uD83D\\uDC4D\\uD83D\\uDE05\\uD83D\\uDC4F\\uD83D\\uDE01\\uD83D\\uDD25\\uD83E\\uDD70\\uD83D\\uDC94\\uD83D\\uDC96\\uD83D\\uDC99\\uD83D\\uDE22\\uD83E\\uDD14\\uD83D\\uDE06\\uD83D\\uDE44\\uD83D\\uDCAA\\uD83D\\uDE09\\u263A\\uD83D\\uDC4C\\uD83E\\uDD17\\uD83D\\uDC9C\\uD83D\\uDE14\\uD83D\\uDE0E\\uD83D\\uDE07\\uD83C\\uDF39\\uD83E\\uDD26\\uD83C\\uDF89\\uD83D\\uDC9E\\u270C\\u2728\\uD83E\\uDD37\\uD83D\\uDE31\\uD83D\\uDE0C\\uD83C\\uDF38\\uD83D\\uDE4C\\uD83D\\uDE0B\\uD83D\\uDC97\\uD83D\\uDC9A\\uD83D\\uDE0F\\uD83D\\uDC9B\\uD83D\\uDE42\\uD83D\\uDC93\\uD83E\\uDD29\\uD83D\\uDE04\\uD83D\\uDE00\\uD83D\\uDDA4\\uD83D\\uDE03\\uD83D\\uDCAF\\uD83D\\uDE48\\uD83D\\uDC47\\uD83C\\uDFB6\\uD83D\\uDE12\\uD83E\\uDD2D\\u2763\\uD83D\\uDE1C\\uD83D\\uDC8B\\uD83D\\uDC40\\uD83D\\uDE2A\\uD83D\\uDE11\\uD83D\\uDCA5\\uD83D\\uDE4B\\uD83D\\uDE1E\\uD83D\\uDE29\\uD83D\\uDE21\\uD83E\\uDD2A\\uD83D\\uDC4A\\uD83E\\uDD73\\uD83D\\uDE25\\uD83E\\uDD24\\uD83D\\uDC49\\uD83D\\uDC83\\uD83D\\uDE33\\u270B\\uD83D\\uDE1A\\uD83D\\uDE1D\\uD83D\\uDE34\\uD83C\\uDF1F\\uD83D\\uDE2C\\uD83D\\uDE43\\uD83C\\uDF40\\uD83C\\uDF37\\uD83D\\uDE3B\\uD83D\\uDE13\\u2B50\\u2705\\uD83E\\uDD7A\\uD83C\\uDF08\\uD83D\\uDE08\\uD83E\\uDD18\\uD83D\\uDCA6\\u2714\\uD83D\\uDE23\\uD83C\\uDFC3\\uD83D\\uDC90\\u2639\\uD83C\\uDF8A\\uD83D\\uDC98\\uD83D\\uDE20\\u261D\\uD83D\\uDE15\\uD83C\\uDF3A\\uD83C\\uDF82\\uD83C\\uDF3B\\uD83D\\uDE10\\uD83D\\uDD95\\uD83D\\uDC9D\\uD83D\\uDE4A\\uD83D\\uDE39\\uD83D\\uDDE3\\uD83D\\uDCAB\\uD83D\\uDC80\\uD83D\\uDC51\\uD83C\\uDFB5\\uD83E\\uDD1E\\uD83D\\uDE1B\\uD83D\\uDD34\\uD83D\\uDE24\\uD83C\\uDF3C\\uD83D\\uDE2B\\u26BD\\uD83E\\uDD19\\u2615\\uD83C\\uDFC6\\uD83E\\uDD2B\\uD83D\\uDC48\\uD83D\\uDE2E\\uD83D\\uDE46\\uD83C\\uDF7B\\uD83C\\uDF43\\uD83D\\uDC36\\uD83D\\uDC81\\uD83D\\uDE32\\uD83C\\uDF3F\\uD83E\\uDDE1\\uD83C\\uDF81\\u26A1\\uD83C\\uDF1E\\uD83C\\uDF88\\u274C\\u270A\\uD83D\\uDC4B\\uD83D\\uDE30\\uD83E\\uDD28\\uD83D\\uDE36\\uD83E\\uDD1D\\uD83D\\uDEB6\\uD83D\\uDCB0\\uD83C\\uDF53\\uD83D\\uDCA2\\uD83E\\uDD1F\\uD83D\\uDE41\\uD83D\\uDEA8\\uD83D\\uDCA8\\uD83E\\uDD2C\\u2708\\uD83C\\uDF80\\uD83C\\uDF7A\\uD83E\\uDD13\\uD83D\\uDE19\\uD83D\\uDC9F\\uD83C\\uDF31\\uD83D\\uDE16\\uD83D\\uDC76\\uD83E\\uDD74\\u25B6\\u27A1\\u2753\\uD83D\\uDC8E\\uD83D\\uDCB8\\u2B07\\uD83D\\uDE28\\uD83C\\uDF1A\\uD83E\\uDD8B\\uD83D\\uDE37\\uD83D\\uDD7A\\u26A0\\uD83D\\uDE45\\uD83D\\uDE1F\\uD83D\\uDE35\\uD83D\\uDC4E\\uD83E\\uDD32\\uD83E\\uDD20\\uD83E\\uDD27\\uD83D\\uDCCC\\uD83D\\uDD35\\uD83D\\uDC85\\uD83E\\uDDD0\\uD83D\\uDC3E\\uD83C\\uDF52\\uD83D\\uDE17\\uD83E\\uDD11\\uD83C\\uDF0A\\uD83E\\uDD2F\\uD83D\\uDC37\\u260E\\uD83D\\uDCA7\\uD83D\\uDE2F\\uD83D\\uDC86\\uD83D\\uDC46\\uD83C\\uDFA4\\uD83D\\uDE47\\uD83C\\uDF51\\u2744\\uD83C\\uDF34\\uD83D\\uDCA3\\uD83D\\uDC38\\uD83D\\uDC8C\\uD83D\\uDCCD\\uD83E\\uDD40\\uD83E\\uDD22\\uD83D\\uDC45\\uD83D\\uDCA1\\uD83D\\uDCA9\\uD83D\\uDC50\\uD83D\\uDCF8\\uD83D\\uDC7B\\uD83E\\uDD10\\uD83E\\uDD2E\\uD83C\\uDFBC\\uD83E\\uDD75\\uD83D\\uDEA9\\uD83C\\uDF4E\\uD83C\\uDF4A\\uD83D\\uDC7C\\uD83D\\uDC8D\\uD83D\\uDCE3\\uD83E\\uDD42');\nconst alphabetBytesToChars = alphabet.reduce((p, c, i) => {\n p[i] = c;\n return p;\n}, []);\nconst alphabetCharsToBytes = alphabet.reduce((p, c, i) => {\n p[c.codePointAt(0)] = i;\n return p;\n}, []);\nfunction encode(data) {\n return data.reduce((p, c) => {\n p += alphab
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/multiformats/esm/src/bases/base32.js":
|
|||
|
/*!***********************************************************!*\
|
|||
|
!*** ./node_modules/multiformats/esm/src/bases/base32.js ***!
|
|||
|
\***********************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ base32: () => (/* binding */ base32),\n/* harmony export */ base32hex: () => (/* binding */ base32hex),\n/* harmony export */ base32hexpad: () => (/* binding */ base32hexpad),\n/* harmony export */ base32hexpadupper: () => (/* binding */ base32hexpadupper),\n/* harmony export */ base32hexupper: () => (/* binding */ base32hexupper),\n/* harmony export */ base32pad: () => (/* binding */ base32pad),\n/* harmony export */ base32padupper: () => (/* binding */ base32padupper),\n/* harmony export */ base32upper: () => (/* binding */ base32upper),\n/* harmony export */ base32z: () => (/* binding */ base32z)\n/* harmony export */ });\n/* harmony import */ var _base_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./base.js */ \"./node_modules/multiformats/esm/src/bases/base.js\");\n\nconst base32 = (0,_base_js__WEBPACK_IMPORTED_MODULE_0__.rfc4648)({\n prefix: 'b',\n name: 'base32',\n alphabet: 'abcdefghijklmnopqrstuvwxyz234567',\n bitsPerChar: 5\n});\nconst base32upper = (0,_base_js__WEBPACK_IMPORTED_MODULE_0__.rfc4648)({\n prefix: 'B',\n name: 'base32upper',\n alphabet: 'ABCDEFGHIJKLMNOPQRSTUVWXYZ234567',\n bitsPerChar: 5\n});\nconst base32pad = (0,_base_js__WEBPACK_IMPORTED_MODULE_0__.rfc4648)({\n prefix: 'c',\n name: 'base32pad',\n alphabet: 'abcdefghijklmnopqrstuvwxyz234567=',\n bitsPerChar: 5\n});\nconst base32padupper = (0,_base_js__WEBPACK_IMPORTED_MODULE_0__.rfc4648)({\n prefix: 'C',\n name: 'base32padupper',\n alphabet: 'ABCDEFGHIJKLMNOPQRSTUVWXYZ234567=',\n bitsPerChar: 5\n});\nconst base32hex = (0,_base_js__WEBPACK_IMPORTED_MODULE_0__.rfc4648)({\n prefix: 'v',\n name: 'base32hex',\n alphabet: '0123456789abcdefghijklmnopqrstuv',\n bitsPerChar: 5\n});\nconst base32hexupper = (0,_base_js__WEBPACK_IMPORTED_MODULE_0__.rfc4648)({\n prefix: 'V',\n name: 'base32hexupper',\n alphabet: '0123456789ABCDEFGHIJKLMNOPQRSTUV',\n bitsPerChar: 5\n});\nconst base32hexpad = (0,_base_js__WEBPACK_IMPORTED_MODULE_0__.rfc4648)({\n prefix: 't',\n name: 'base32hexpad',\n alphabet: '0123456789abcdefghijklmnopqrstuv=',\n bitsPerChar: 5\n});\nconst base32hexpadupper = (0,_base_js__WEBPACK_IMPORTED_MODULE_0__.rfc4648)({\n prefix: 'T',\n name: 'base32hexpadupper',\n alphabet: '0123456789ABCDEFGHIJKLMNOPQRSTUV=',\n bitsPerChar: 5\n});\nconst base32z = (0,_base_js__WEBPACK_IMPORTED_MODULE_0__.rfc4648)({\n prefix: 'h',\n name: 'base32z',\n alphabet: 'ybndrfg8ejkmcpqxot1uwisza345h769',\n bitsPerChar: 5\n});\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/multiformats/esm/src/bases/base32.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/multiformats/esm/src/bases/base36.js":
|
|||
|
/*!***********************************************************!*\
|
|||
|
!*** ./node_modules/multiformats/esm/src/bases/base36.js ***!
|
|||
|
\***********************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ base36: () => (/* binding */ base36),\n/* harmony export */ base36upper: () => (/* binding */ base36upper)\n/* harmony export */ });\n/* harmony import */ var _base_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./base.js */ \"./node_modules/multiformats/esm/src/bases/base.js\");\n\nconst base36 = (0,_base_js__WEBPACK_IMPORTED_MODULE_0__.baseX)({\n prefix: 'k',\n name: 'base36',\n alphabet: '0123456789abcdefghijklmnopqrstuvwxyz'\n});\nconst base36upper = (0,_base_js__WEBPACK_IMPORTED_MODULE_0__.baseX)({\n prefix: 'K',\n name: 'base36upper',\n alphabet: '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ'\n});\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/multiformats/esm/src/bases/base36.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/multiformats/esm/src/bases/base58.js":
|
|||
|
/*!***********************************************************!*\
|
|||
|
!*** ./node_modules/multiformats/esm/src/bases/base58.js ***!
|
|||
|
\***********************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ base58btc: () => (/* binding */ base58btc),\n/* harmony export */ base58flickr: () => (/* binding */ base58flickr)\n/* harmony export */ });\n/* harmony import */ var _base_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./base.js */ \"./node_modules/multiformats/esm/src/bases/base.js\");\n\nconst base58btc = (0,_base_js__WEBPACK_IMPORTED_MODULE_0__.baseX)({\n name: 'base58btc',\n prefix: 'z',\n alphabet: '123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz'\n});\nconst base58flickr = (0,_base_js__WEBPACK_IMPORTED_MODULE_0__.baseX)({\n name: 'base58flickr',\n prefix: 'Z',\n alphabet: '123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ'\n});\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/multiformats/esm/src/bases/base58.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/multiformats/esm/src/bases/base64.js":
|
|||
|
/*!***********************************************************!*\
|
|||
|
!*** ./node_modules/multiformats/esm/src/bases/base64.js ***!
|
|||
|
\***********************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ base64: () => (/* binding */ base64),\n/* harmony export */ base64pad: () => (/* binding */ base64pad),\n/* harmony export */ base64url: () => (/* binding */ base64url),\n/* harmony export */ base64urlpad: () => (/* binding */ base64urlpad)\n/* harmony export */ });\n/* harmony import */ var _base_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./base.js */ \"./node_modules/multiformats/esm/src/bases/base.js\");\n\nconst base64 = (0,_base_js__WEBPACK_IMPORTED_MODULE_0__.rfc4648)({\n prefix: 'm',\n name: 'base64',\n alphabet: 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/',\n bitsPerChar: 6\n});\nconst base64pad = (0,_base_js__WEBPACK_IMPORTED_MODULE_0__.rfc4648)({\n prefix: 'M',\n name: 'base64pad',\n alphabet: 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=',\n bitsPerChar: 6\n});\nconst base64url = (0,_base_js__WEBPACK_IMPORTED_MODULE_0__.rfc4648)({\n prefix: 'u',\n name: 'base64url',\n alphabet: 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_',\n bitsPerChar: 6\n});\nconst base64urlpad = (0,_base_js__WEBPACK_IMPORTED_MODULE_0__.rfc4648)({\n prefix: 'U',\n name: 'base64urlpad',\n alphabet: 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_=',\n bitsPerChar: 6\n});\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/multiformats/esm/src/bases/base64.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/multiformats/esm/src/bases/base8.js":
|
|||
|
/*!**********************************************************!*\
|
|||
|
!*** ./node_modules/multiformats/esm/src/bases/base8.js ***!
|
|||
|
\**********************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ base8: () => (/* binding */ base8)\n/* harmony export */ });\n/* harmony import */ var _base_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./base.js */ \"./node_modules/multiformats/esm/src/bases/base.js\");\n\nconst base8 = (0,_base_js__WEBPACK_IMPORTED_MODULE_0__.rfc4648)({\n prefix: '7',\n name: 'base8',\n alphabet: '01234567',\n bitsPerChar: 3\n});\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/multiformats/esm/src/bases/base8.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/multiformats/esm/src/bases/identity.js":
|
|||
|
/*!*************************************************************!*\
|
|||
|
!*** ./node_modules/multiformats/esm/src/bases/identity.js ***!
|
|||
|
\*************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ identity: () => (/* binding */ identity)\n/* harmony export */ });\n/* harmony import */ var _base_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./base.js */ \"./node_modules/multiformats/esm/src/bases/base.js\");\n/* harmony import */ var _bytes_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../bytes.js */ \"./node_modules/multiformats/esm/src/bytes.js\");\n\n\nconst identity = (0,_base_js__WEBPACK_IMPORTED_MODULE_0__.from)({\n prefix: '\\0',\n name: 'identity',\n encode: buf => (0,_bytes_js__WEBPACK_IMPORTED_MODULE_1__.toString)(buf),\n decode: str => (0,_bytes_js__WEBPACK_IMPORTED_MODULE_1__.fromString)(str)\n});\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/multiformats/esm/src/bases/identity.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/multiformats/esm/src/basics.js":
|
|||
|
/*!*****************************************************!*\
|
|||
|
!*** ./node_modules/multiformats/esm/src/basics.js ***!
|
|||
|
\*****************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ CID: () => (/* reexport safe */ _index_js__WEBPACK_IMPORTED_MODULE_14__.CID),\n/* harmony export */ bases: () => (/* binding */ bases),\n/* harmony export */ bytes: () => (/* reexport safe */ _index_js__WEBPACK_IMPORTED_MODULE_14__.bytes),\n/* harmony export */ codecs: () => (/* binding */ codecs),\n/* harmony export */ digest: () => (/* reexport safe */ _index_js__WEBPACK_IMPORTED_MODULE_14__.digest),\n/* harmony export */ hasher: () => (/* reexport safe */ _index_js__WEBPACK_IMPORTED_MODULE_14__.hasher),\n/* harmony export */ hashes: () => (/* binding */ hashes),\n/* harmony export */ varint: () => (/* reexport safe */ _index_js__WEBPACK_IMPORTED_MODULE_14__.varint)\n/* harmony export */ });\n/* harmony import */ var _bases_identity_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./bases/identity.js */ \"./node_modules/multiformats/esm/src/bases/identity.js\");\n/* harmony import */ var _bases_base2_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./bases/base2.js */ \"./node_modules/multiformats/esm/src/bases/base2.js\");\n/* harmony import */ var _bases_base8_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./bases/base8.js */ \"./node_modules/multiformats/esm/src/bases/base8.js\");\n/* harmony import */ var _bases_base10_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./bases/base10.js */ \"./node_modules/multiformats/esm/src/bases/base10.js\");\n/* harmony import */ var _bases_base16_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./bases/base16.js */ \"./node_modules/multiformats/esm/src/bases/base16.js\");\n/* harmony import */ var _bases_base32_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./bases/base32.js */ \"./node_modules/multiformats/esm/src/bases/base32.js\");\n/* harmony import */ var _bases_base36_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./bases/base36.js */ \"./node_modules/multiformats/esm/src/bases/base36.js\");\n/* harmony import */ var _bases_base58_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./bases/base58.js */ \"./node_modules/multiformats/esm/src/bases/base58.js\");\n/* harmony import */ var _bases_base64_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./bases/base64.js */ \"./node_modules/multiformats/esm/src/bases/base64.js\");\n/* harmony import */ var _bases_base256emoji_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./bases/base256emoji.js */ \"./node_modules/multiformats/esm/src/bases/base256emoji.js\");\n/* harmony import */ var _hashes_sha2_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./hashes/sha2.js */ \"./node_modules/multiformats/esm/src/hashes/sha2-browser.js\");\n/* harmony import */ var _hashes_identity_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./hashes/identity.js */ \"./node_modules/multiformats/esm/src/hashes/identity.js\");\n/* harmony import */ var _codecs_raw_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./codecs/raw.js */ \"./node_modules/multiformats/esm/src/codecs/raw.js\");\n/* harmony import */ var _codecs_json_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./codecs/json.js */ \"./node_modules/multiformats/esm/src/codecs/json.js\");\n/* harmony import */ var _index_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./index.js */ \"./node_modules/multiformats/esm/src/index.js\");\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nconst bases = {\n ..._bases_identity_js__WEBPACK_IMPORTED_MODULE_0__,\n ..._bases_base2_js__WEBPACK_IMPORTED_MODULE_1__,\n ..._bases_base8_js__WEBPACK_IMPORTED_MODULE_2__,\n ..._bases_base10_js__WEBPACK_IMPORTED_MODULE_3__,\n ..._bases_base16_js__WEBPACK_IMPORTED_MODULE_4__,\n ..._bases_base32_js__WEBPACK_IMPORTED_MODULE_5__,\n ..._bases_base36_js__WEBPACK_IMPORTED_MODULE_6__,\n ..._bases_base58_js__WEBPACK_IMPORTED_MODULE_7__,\n ..._bases_base64_js__WEBPACK_IMPORTED_MODULE_8__,\n ..._bases_base256emoji_js__WEBPACK_IMPORTED_MODU
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/multiformats/esm/src/bytes.js":
|
|||
|
/*!****************************************************!*\
|
|||
|
!*** ./node_modules/multiformats/esm/src/bytes.js ***!
|
|||
|
\****************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ coerce: () => (/* binding */ coerce),\n/* harmony export */ empty: () => (/* binding */ empty),\n/* harmony export */ equals: () => (/* binding */ equals),\n/* harmony export */ fromHex: () => (/* binding */ fromHex),\n/* harmony export */ fromString: () => (/* binding */ fromString),\n/* harmony export */ isBinary: () => (/* binding */ isBinary),\n/* harmony export */ toHex: () => (/* binding */ toHex),\n/* harmony export */ toString: () => (/* binding */ toString)\n/* harmony export */ });\nconst empty = new Uint8Array(0);\nconst toHex = d => d.reduce((hex, byte) => hex + byte.toString(16).padStart(2, '0'), '');\nconst fromHex = hex => {\n const hexes = hex.match(/../g);\n return hexes ? new Uint8Array(hexes.map(b => parseInt(b, 16))) : empty;\n};\nconst equals = (aa, bb) => {\n if (aa === bb)\n return true;\n if (aa.byteLength !== bb.byteLength) {\n return false;\n }\n for (let ii = 0; ii < aa.byteLength; ii++) {\n if (aa[ii] !== bb[ii]) {\n return false;\n }\n }\n return true;\n};\nconst coerce = o => {\n if (o instanceof Uint8Array && o.constructor.name === 'Uint8Array')\n return o;\n if (o instanceof ArrayBuffer)\n return new Uint8Array(o);\n if (ArrayBuffer.isView(o)) {\n return new Uint8Array(o.buffer, o.byteOffset, o.byteLength);\n }\n throw new Error('Unknown type, must be binary type');\n};\nconst isBinary = o => o instanceof ArrayBuffer || ArrayBuffer.isView(o);\nconst fromString = str => new TextEncoder().encode(str);\nconst toString = b => new TextDecoder().decode(b);\n\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/multiformats/esm/src/bytes.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/multiformats/esm/src/cid.js":
|
|||
|
/*!**************************************************!*\
|
|||
|
!*** ./node_modules/multiformats/esm/src/cid.js ***!
|
|||
|
\**************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ CID: () => (/* binding */ CID)\n/* harmony export */ });\n/* harmony import */ var _varint_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./varint.js */ \"./node_modules/multiformats/esm/src/varint.js\");\n/* harmony import */ var _hashes_digest_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./hashes/digest.js */ \"./node_modules/multiformats/esm/src/hashes/digest.js\");\n/* harmony import */ var _bases_base58_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./bases/base58.js */ \"./node_modules/multiformats/esm/src/bases/base58.js\");\n/* harmony import */ var _bases_base32_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./bases/base32.js */ \"./node_modules/multiformats/esm/src/bases/base32.js\");\n/* harmony import */ var _bytes_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./bytes.js */ \"./node_modules/multiformats/esm/src/bytes.js\");\n\n\n\n\n\nclass CID {\n constructor(version, code, multihash, bytes) {\n this.code = code;\n this.version = version;\n this.multihash = multihash;\n this.bytes = bytes;\n this.byteOffset = bytes.byteOffset;\n this.byteLength = bytes.byteLength;\n this.asCID = this;\n this._baseCache = new Map();\n Object.defineProperties(this, {\n byteOffset: hidden,\n byteLength: hidden,\n code: readonly,\n version: readonly,\n multihash: readonly,\n bytes: readonly,\n _baseCache: hidden,\n asCID: hidden\n });\n }\n toV0() {\n switch (this.version) {\n case 0: {\n return this;\n }\n default: {\n const {code, multihash} = this;\n if (code !== DAG_PB_CODE) {\n throw new Error('Cannot convert a non dag-pb CID to CIDv0');\n }\n if (multihash.code !== SHA_256_CODE) {\n throw new Error('Cannot convert non sha2-256 multihash CID to CIDv0');\n }\n return CID.createV0(multihash);\n }\n }\n }\n toV1() {\n switch (this.version) {\n case 0: {\n const {code, digest} = this.multihash;\n const multihash = _hashes_digest_js__WEBPACK_IMPORTED_MODULE_1__.create(code, digest);\n return CID.createV1(this.code, multihash);\n }\n case 1: {\n return this;\n }\n default: {\n throw Error(`Can not convert CID version ${ this.version } to version 0. This is a bug please report`);\n }\n }\n }\n equals(other) {\n return other && this.code === other.code && this.version === other.version && _hashes_digest_js__WEBPACK_IMPORTED_MODULE_1__.equals(this.multihash, other.multihash);\n }\n toString(base) {\n const {bytes, version, _baseCache} = this;\n switch (version) {\n case 0:\n return toStringV0(bytes, _baseCache, base || _bases_base58_js__WEBPACK_IMPORTED_MODULE_2__.base58btc.encoder);\n default:\n return toStringV1(bytes, _baseCache, base || _bases_base32_js__WEBPACK_IMPORTED_MODULE_3__.base32.encoder);\n }\n }\n toJSON() {\n return {\n code: this.code,\n version: this.version,\n hash: this.multihash.bytes\n };\n }\n get [Symbol.toStringTag]() {\n return 'CID';\n }\n [Symbol.for('nodejs.util.inspect.custom')]() {\n return 'CID(' + this.toString() + ')';\n }\n static isCID(value) {\n deprecate(/^0\\.0/, IS_CID_DEPRECATION);\n return !!(value && (value[cidSymbol] || value.asCID === value));\n }\n get toBaseEncodedString() {\n throw new Error('Deprecated, use .toString()');\n }\n get codec() {\n throw new Error('\"codec\" property is deprecated, use integer \"code\" property instead');\n }\n get buffer() {\n throw new Error('Deprecated .buffer property, use .bytes to get Uint8Array instead');\n }\n get multibaseName() {\n throw new Error('\"multibaseName\" property is deprecated');\n }\n get prefix() {\n throw new Error('\"prefix\" property is deprecated');\n }\n static asCID(value) {\n if (value instanceof CID) {\
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/multiformats/esm/src/codecs/json.js":
|
|||
|
/*!**********************************************************!*\
|
|||
|
!*** ./node_modules/multiformats/esm/src/codecs/json.js ***!
|
|||
|
\**********************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ code: () => (/* binding */ code),\n/* harmony export */ decode: () => (/* binding */ decode),\n/* harmony export */ encode: () => (/* binding */ encode),\n/* harmony export */ name: () => (/* binding */ name)\n/* harmony export */ });\nconst textEncoder = new TextEncoder();\nconst textDecoder = new TextDecoder();\nconst name = 'json';\nconst code = 512;\nconst encode = node => textEncoder.encode(JSON.stringify(node));\nconst decode = data => JSON.parse(textDecoder.decode(data));\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/multiformats/esm/src/codecs/json.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/multiformats/esm/src/codecs/raw.js":
|
|||
|
/*!*********************************************************!*\
|
|||
|
!*** ./node_modules/multiformats/esm/src/codecs/raw.js ***!
|
|||
|
\*********************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ code: () => (/* binding */ code),\n/* harmony export */ decode: () => (/* binding */ decode),\n/* harmony export */ encode: () => (/* binding */ encode),\n/* harmony export */ name: () => (/* binding */ name)\n/* harmony export */ });\n/* harmony import */ var _bytes_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../bytes.js */ \"./node_modules/multiformats/esm/src/bytes.js\");\n\nconst name = 'raw';\nconst code = 85;\nconst encode = node => (0,_bytes_js__WEBPACK_IMPORTED_MODULE_0__.coerce)(node);\nconst decode = data => (0,_bytes_js__WEBPACK_IMPORTED_MODULE_0__.coerce)(data);\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/multiformats/esm/src/codecs/raw.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/multiformats/esm/src/hashes/digest.js":
|
|||
|
/*!************************************************************!*\
|
|||
|
!*** ./node_modules/multiformats/esm/src/hashes/digest.js ***!
|
|||
|
\************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ Digest: () => (/* binding */ Digest),\n/* harmony export */ create: () => (/* binding */ create),\n/* harmony export */ decode: () => (/* binding */ decode),\n/* harmony export */ equals: () => (/* binding */ equals)\n/* harmony export */ });\n/* harmony import */ var _bytes_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../bytes.js */ \"./node_modules/multiformats/esm/src/bytes.js\");\n/* harmony import */ var _varint_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../varint.js */ \"./node_modules/multiformats/esm/src/varint.js\");\n\n\nconst create = (code, digest) => {\n const size = digest.byteLength;\n const sizeOffset = _varint_js__WEBPACK_IMPORTED_MODULE_1__.encodingLength(code);\n const digestOffset = sizeOffset + _varint_js__WEBPACK_IMPORTED_MODULE_1__.encodingLength(size);\n const bytes = new Uint8Array(digestOffset + size);\n _varint_js__WEBPACK_IMPORTED_MODULE_1__.encodeTo(code, bytes, 0);\n _varint_js__WEBPACK_IMPORTED_MODULE_1__.encodeTo(size, bytes, sizeOffset);\n bytes.set(digest, digestOffset);\n return new Digest(code, size, digest, bytes);\n};\nconst decode = multihash => {\n const bytes = (0,_bytes_js__WEBPACK_IMPORTED_MODULE_0__.coerce)(multihash);\n const [code, sizeOffset] = _varint_js__WEBPACK_IMPORTED_MODULE_1__.decode(bytes);\n const [size, digestOffset] = _varint_js__WEBPACK_IMPORTED_MODULE_1__.decode(bytes.subarray(sizeOffset));\n const digest = bytes.subarray(sizeOffset + digestOffset);\n if (digest.byteLength !== size) {\n throw new Error('Incorrect length');\n }\n return new Digest(code, size, digest, bytes);\n};\nconst equals = (a, b) => {\n if (a === b) {\n return true;\n } else {\n return a.code === b.code && a.size === b.size && (0,_bytes_js__WEBPACK_IMPORTED_MODULE_0__.equals)(a.bytes, b.bytes);\n }\n};\nclass Digest {\n constructor(code, size, digest, bytes) {\n this.code = code;\n this.size = size;\n this.digest = digest;\n this.bytes = bytes;\n }\n}\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/multiformats/esm/src/hashes/digest.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/multiformats/esm/src/hashes/hasher.js":
|
|||
|
/*!************************************************************!*\
|
|||
|
!*** ./node_modules/multiformats/esm/src/hashes/hasher.js ***!
|
|||
|
\************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ Hasher: () => (/* binding */ Hasher),\n/* harmony export */ from: () => (/* binding */ from)\n/* harmony export */ });\n/* harmony import */ var _digest_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./digest.js */ \"./node_modules/multiformats/esm/src/hashes/digest.js\");\n\nconst from = ({name, code, encode}) => new Hasher(name, code, encode);\nclass Hasher {\n constructor(name, code, encode) {\n this.name = name;\n this.code = code;\n this.encode = encode;\n }\n digest(input) {\n if (input instanceof Uint8Array) {\n const result = this.encode(input);\n return result instanceof Uint8Array ? _digest_js__WEBPACK_IMPORTED_MODULE_0__.create(this.code, result) : result.then(digest => _digest_js__WEBPACK_IMPORTED_MODULE_0__.create(this.code, digest));\n } else {\n throw Error('Unknown type, must be binary type');\n }\n }\n}\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/multiformats/esm/src/hashes/hasher.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/multiformats/esm/src/hashes/identity.js":
|
|||
|
/*!**************************************************************!*\
|
|||
|
!*** ./node_modules/multiformats/esm/src/hashes/identity.js ***!
|
|||
|
\**************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ identity: () => (/* binding */ identity)\n/* harmony export */ });\n/* harmony import */ var _bytes_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../bytes.js */ \"./node_modules/multiformats/esm/src/bytes.js\");\n/* harmony import */ var _digest_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./digest.js */ \"./node_modules/multiformats/esm/src/hashes/digest.js\");\n\n\nconst code = 0;\nconst name = 'identity';\nconst encode = _bytes_js__WEBPACK_IMPORTED_MODULE_0__.coerce;\nconst digest = input => _digest_js__WEBPACK_IMPORTED_MODULE_1__.create(code, encode(input));\nconst identity = {\n code,\n name,\n encode,\n digest\n};\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/multiformats/esm/src/hashes/identity.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/multiformats/esm/src/hashes/sha2-browser.js":
|
|||
|
/*!******************************************************************!*\
|
|||
|
!*** ./node_modules/multiformats/esm/src/hashes/sha2-browser.js ***!
|
|||
|
\******************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ sha256: () => (/* binding */ sha256),\n/* harmony export */ sha512: () => (/* binding */ sha512)\n/* harmony export */ });\n/* harmony import */ var _hasher_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./hasher.js */ \"./node_modules/multiformats/esm/src/hashes/hasher.js\");\n\nconst sha = name => async data => new Uint8Array(await crypto.subtle.digest(name, data));\nconst sha256 = (0,_hasher_js__WEBPACK_IMPORTED_MODULE_0__.from)({\n name: 'sha2-256',\n code: 18,\n encode: sha('SHA-256')\n});\nconst sha512 = (0,_hasher_js__WEBPACK_IMPORTED_MODULE_0__.from)({\n name: 'sha2-512',\n code: 19,\n encode: sha('SHA-512')\n});\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/multiformats/esm/src/hashes/sha2-browser.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/multiformats/esm/src/index.js":
|
|||
|
/*!****************************************************!*\
|
|||
|
!*** ./node_modules/multiformats/esm/src/index.js ***!
|
|||
|
\****************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ CID: () => (/* reexport safe */ _cid_js__WEBPACK_IMPORTED_MODULE_0__.CID),\n/* harmony export */ bytes: () => (/* reexport module object */ _bytes_js__WEBPACK_IMPORTED_MODULE_2__),\n/* harmony export */ digest: () => (/* reexport module object */ _hashes_digest_js__WEBPACK_IMPORTED_MODULE_4__),\n/* harmony export */ hasher: () => (/* reexport module object */ _hashes_hasher_js__WEBPACK_IMPORTED_MODULE_3__),\n/* harmony export */ varint: () => (/* reexport module object */ _varint_js__WEBPACK_IMPORTED_MODULE_1__)\n/* harmony export */ });\n/* harmony import */ var _cid_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./cid.js */ \"./node_modules/multiformats/esm/src/cid.js\");\n/* harmony import */ var _varint_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./varint.js */ \"./node_modules/multiformats/esm/src/varint.js\");\n/* harmony import */ var _bytes_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./bytes.js */ \"./node_modules/multiformats/esm/src/bytes.js\");\n/* harmony import */ var _hashes_hasher_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./hashes/hasher.js */ \"./node_modules/multiformats/esm/src/hashes/hasher.js\");\n/* harmony import */ var _hashes_digest_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./hashes/digest.js */ \"./node_modules/multiformats/esm/src/hashes/digest.js\");\n\n\n\n\n\n\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/multiformats/esm/src/index.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/multiformats/esm/src/varint.js":
|
|||
|
/*!*****************************************************!*\
|
|||
|
!*** ./node_modules/multiformats/esm/src/varint.js ***!
|
|||
|
\*****************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ decode: () => (/* binding */ decode),\n/* harmony export */ encodeTo: () => (/* binding */ encodeTo),\n/* harmony export */ encodingLength: () => (/* binding */ encodingLength)\n/* harmony export */ });\n/* harmony import */ var _vendor_varint_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../vendor/varint.js */ \"./node_modules/multiformats/esm/vendor/varint.js\");\n\nconst decode = (data, offset = 0) => {\n const code = _vendor_varint_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].decode(data, offset);\n return [\n code,\n _vendor_varint_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].decode.bytes\n ];\n};\nconst encodeTo = (int, target, offset = 0) => {\n _vendor_varint_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].encode(int, target, offset);\n return target;\n};\nconst encodingLength = int => {\n return _vendor_varint_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].encodingLength(int);\n};\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/multiformats/esm/src/varint.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/multiformats/esm/vendor/base-x.js":
|
|||
|
/*!********************************************************!*\
|
|||
|
!*** ./node_modules/multiformats/esm/vendor/base-x.js ***!
|
|||
|
\********************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\nfunction base(ALPHABET, name) {\n if (ALPHABET.length >= 255) {\n throw new TypeError('Alphabet too long');\n }\n var BASE_MAP = new Uint8Array(256);\n for (var j = 0; j < BASE_MAP.length; j++) {\n BASE_MAP[j] = 255;\n }\n for (var i = 0; i < ALPHABET.length; i++) {\n var x = ALPHABET.charAt(i);\n var xc = x.charCodeAt(0);\n if (BASE_MAP[xc] !== 255) {\n throw new TypeError(x + ' is ambiguous');\n }\n BASE_MAP[xc] = i;\n }\n var BASE = ALPHABET.length;\n var LEADER = ALPHABET.charAt(0);\n var FACTOR = Math.log(BASE) / Math.log(256);\n var iFACTOR = Math.log(256) / Math.log(BASE);\n function encode(source) {\n if (source instanceof Uint8Array);\n else if (ArrayBuffer.isView(source)) {\n source = new Uint8Array(source.buffer, source.byteOffset, source.byteLength);\n } else if (Array.isArray(source)) {\n source = Uint8Array.from(source);\n }\n if (!(source instanceof Uint8Array)) {\n throw new TypeError('Expected Uint8Array');\n }\n if (source.length === 0) {\n return '';\n }\n var zeroes = 0;\n var length = 0;\n var pbegin = 0;\n var pend = source.length;\n while (pbegin !== pend && source[pbegin] === 0) {\n pbegin++;\n zeroes++;\n }\n var size = (pend - pbegin) * iFACTOR + 1 >>> 0;\n var b58 = new Uint8Array(size);\n while (pbegin !== pend) {\n var carry = source[pbegin];\n var i = 0;\n for (var it1 = size - 1; (carry !== 0 || i < length) && it1 !== -1; it1--, i++) {\n carry += 256 * b58[it1] >>> 0;\n b58[it1] = carry % BASE >>> 0;\n carry = carry / BASE >>> 0;\n }\n if (carry !== 0) {\n throw new Error('Non-zero carry');\n }\n length = i;\n pbegin++;\n }\n var it2 = size - length;\n while (it2 !== size && b58[it2] === 0) {\n it2++;\n }\n var str = LEADER.repeat(zeroes);\n for (; it2 < size; ++it2) {\n str += ALPHABET.charAt(b58[it2]);\n }\n return str;\n }\n function decodeUnsafe(source) {\n if (typeof source !== 'string') {\n throw new TypeError('Expected String');\n }\n if (source.length === 0) {\n return new Uint8Array();\n }\n var psz = 0;\n if (source[psz] === ' ') {\n return;\n }\n var zeroes = 0;\n var length = 0;\n while (source[psz] === LEADER) {\n zeroes++;\n psz++;\n }\n var size = (source.length - psz) * FACTOR + 1 >>> 0;\n var b256 = new Uint8Array(size);\n while (source[psz]) {\n var carry = BASE_MAP[source.charCodeAt(psz)];\n if (carry === 255) {\n return;\n }\n var i = 0;\n for (var it3 = size - 1; (carry !== 0 || i < length) && it3 !== -1; it3--, i++) {\n carry += BASE * b256[it3] >>> 0;\n b256[it3] = carry % 256 >>> 0;\n carry = carry / 256 >>> 0;\n }\n if (carry !== 0) {\n throw new Error('Non-zero carry');\n }\n length = i;\n psz++;\n }\n if (source[psz] === ' ') {\n return;\n }\n var it4 = size - length;\n while (it4 !== size && b256[it4] === 0) {\n it4++;\n }\n var vch = new Uint8Array(zeroes + (size - it4));\n var j = zeroes;\n while (it4 !== size) {\n vch[j++] = b256[it4++];\n }\n return vch;\n }\n function decode(string) {\n var buffer = decodeUnsafe(string);\n if (buffer) {\n return buffer;\n }\n throw new Error(`Non-${ name } character`);\n }\n return {\n encode: encode,\n decodeUnsafe: decodeUnsafe,\n decode: decode\n };\n}\nvar src = base;\nvar _brrp__multiformats_scope_baseX = src;\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_brrp__multiformats_scope_baseX);\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/multiformats/esm/vendor/base-x.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/multiformats/esm/vendor/varint.js":
|
|||
|
/*!********************************************************!*\
|
|||
|
!*** ./node_modules/multiformats/esm/vendor/varint.js ***!
|
|||
|
\********************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\nvar encode_1 = encode;\nvar MSB = 128, REST = 127, MSBALL = ~REST, INT = Math.pow(2, 31);\nfunction encode(num, out, offset) {\n out = out || [];\n offset = offset || 0;\n var oldOffset = offset;\n while (num >= INT) {\n out[offset++] = num & 255 | MSB;\n num /= 128;\n }\n while (num & MSBALL) {\n out[offset++] = num & 255 | MSB;\n num >>>= 7;\n }\n out[offset] = num | 0;\n encode.bytes = offset - oldOffset + 1;\n return out;\n}\nvar decode = read;\nvar MSB$1 = 128, REST$1 = 127;\nfunction read(buf, offset) {\n var res = 0, offset = offset || 0, shift = 0, counter = offset, b, l = buf.length;\n do {\n if (counter >= l) {\n read.bytes = 0;\n throw new RangeError('Could not decode varint');\n }\n b = buf[counter++];\n res += shift < 28 ? (b & REST$1) << shift : (b & REST$1) * Math.pow(2, shift);\n shift += 7;\n } while (b >= MSB$1);\n read.bytes = counter - offset;\n return res;\n}\nvar N1 = Math.pow(2, 7);\nvar N2 = Math.pow(2, 14);\nvar N3 = Math.pow(2, 21);\nvar N4 = Math.pow(2, 28);\nvar N5 = Math.pow(2, 35);\nvar N6 = Math.pow(2, 42);\nvar N7 = Math.pow(2, 49);\nvar N8 = Math.pow(2, 56);\nvar N9 = Math.pow(2, 63);\nvar length = function (value) {\n return value < N1 ? 1 : value < N2 ? 2 : value < N3 ? 3 : value < N4 ? 4 : value < N5 ? 5 : value < N6 ? 6 : value < N7 ? 7 : value < N8 ? 8 : value < N9 ? 9 : 10;\n};\nvar varint = {\n encode: encode_1,\n decode: decode,\n encodingLength: length\n};\nvar _brrp_varint = varint;\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_brrp_varint);\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/multiformats/esm/vendor/varint.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/uint8arrays/esm/src/alloc.js":
|
|||
|
/*!***************************************************!*\
|
|||
|
!*** ./node_modules/uint8arrays/esm/src/alloc.js ***!
|
|||
|
\***************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ alloc: () => (/* binding */ alloc),\n/* harmony export */ allocUnsafe: () => (/* binding */ allocUnsafe)\n/* harmony export */ });\n/* harmony import */ var _util_as_uint8array_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./util/as-uint8array.js */ \"./node_modules/uint8arrays/esm/src/util/as-uint8array.js\");\n\nfunction alloc(size = 0) {\n if (globalThis.Buffer != null && globalThis.Buffer.alloc != null) {\n return (0,_util_as_uint8array_js__WEBPACK_IMPORTED_MODULE_0__.asUint8Array)(globalThis.Buffer.alloc(size));\n }\n return new Uint8Array(size);\n}\nfunction allocUnsafe(size = 0) {\n if (globalThis.Buffer != null && globalThis.Buffer.allocUnsafe != null) {\n return (0,_util_as_uint8array_js__WEBPACK_IMPORTED_MODULE_0__.asUint8Array)(globalThis.Buffer.allocUnsafe(size));\n }\n return new Uint8Array(size);\n}\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/uint8arrays/esm/src/alloc.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/uint8arrays/esm/src/compare.js":
|
|||
|
/*!*****************************************************!*\
|
|||
|
!*** ./node_modules/uint8arrays/esm/src/compare.js ***!
|
|||
|
\*****************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ compare: () => (/* binding */ compare)\n/* harmony export */ });\nfunction compare(a, b) {\n for (let i = 0; i < a.byteLength; i++) {\n if (a[i] < b[i]) {\n return -1;\n }\n if (a[i] > b[i]) {\n return 1;\n }\n }\n if (a.byteLength > b.byteLength) {\n return 1;\n }\n if (a.byteLength < b.byteLength) {\n return -1;\n }\n return 0;\n}\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/uint8arrays/esm/src/compare.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/uint8arrays/esm/src/concat.js":
|
|||
|
/*!****************************************************!*\
|
|||
|
!*** ./node_modules/uint8arrays/esm/src/concat.js ***!
|
|||
|
\****************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ concat: () => (/* binding */ concat)\n/* harmony export */ });\n/* harmony import */ var _alloc_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./alloc.js */ \"./node_modules/uint8arrays/esm/src/alloc.js\");\n/* harmony import */ var _util_as_uint8array_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./util/as-uint8array.js */ \"./node_modules/uint8arrays/esm/src/util/as-uint8array.js\");\n\n\nfunction concat(arrays, length) {\n if (!length) {\n length = arrays.reduce((acc, curr) => acc + curr.length, 0);\n }\n const output = (0,_alloc_js__WEBPACK_IMPORTED_MODULE_0__.allocUnsafe)(length);\n let offset = 0;\n for (const arr of arrays) {\n output.set(arr, offset);\n offset += arr.length;\n }\n return (0,_util_as_uint8array_js__WEBPACK_IMPORTED_MODULE_1__.asUint8Array)(output);\n}\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/uint8arrays/esm/src/concat.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/uint8arrays/esm/src/equals.js":
|
|||
|
/*!****************************************************!*\
|
|||
|
!*** ./node_modules/uint8arrays/esm/src/equals.js ***!
|
|||
|
\****************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ equals: () => (/* binding */ equals)\n/* harmony export */ });\nfunction equals(a, b) {\n if (a === b) {\n return true;\n }\n if (a.byteLength !== b.byteLength) {\n return false;\n }\n for (let i = 0; i < a.byteLength; i++) {\n if (a[i] !== b[i]) {\n return false;\n }\n }\n return true;\n}\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/uint8arrays/esm/src/equals.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/uint8arrays/esm/src/from-string.js":
|
|||
|
/*!*********************************************************!*\
|
|||
|
!*** ./node_modules/uint8arrays/esm/src/from-string.js ***!
|
|||
|
\*********************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ fromString: () => (/* binding */ fromString)\n/* harmony export */ });\n/* harmony import */ var _util_bases_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./util/bases.js */ \"./node_modules/uint8arrays/esm/src/util/bases.js\");\n/* harmony import */ var _util_as_uint8array_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./util/as-uint8array.js */ \"./node_modules/uint8arrays/esm/src/util/as-uint8array.js\");\n\n\nfunction fromString(string, encoding = 'utf8') {\n const base = _util_bases_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"][encoding];\n if (!base) {\n throw new Error(`Unsupported encoding \"${ encoding }\"`);\n }\n if ((encoding === 'utf8' || encoding === 'utf-8') && globalThis.Buffer != null && globalThis.Buffer.from != null) {\n return (0,_util_as_uint8array_js__WEBPACK_IMPORTED_MODULE_1__.asUint8Array)(globalThis.Buffer.from(string, 'utf-8'));\n }\n return base.decoder.decode(`${ base.prefix }${ string }`);\n}\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/uint8arrays/esm/src/from-string.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/uint8arrays/esm/src/index.js":
|
|||
|
/*!***************************************************!*\
|
|||
|
!*** ./node_modules/uint8arrays/esm/src/index.js ***!
|
|||
|
\***************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ compare: () => (/* reexport safe */ _compare_js__WEBPACK_IMPORTED_MODULE_0__.compare),\n/* harmony export */ concat: () => (/* reexport safe */ _concat_js__WEBPACK_IMPORTED_MODULE_1__.concat),\n/* harmony export */ equals: () => (/* reexport safe */ _equals_js__WEBPACK_IMPORTED_MODULE_2__.equals),\n/* harmony export */ fromString: () => (/* reexport safe */ _from_string_js__WEBPACK_IMPORTED_MODULE_3__.fromString),\n/* harmony export */ toString: () => (/* reexport safe */ _to_string_js__WEBPACK_IMPORTED_MODULE_4__.toString),\n/* harmony export */ xor: () => (/* reexport safe */ _xor_js__WEBPACK_IMPORTED_MODULE_5__.xor)\n/* harmony export */ });\n/* harmony import */ var _compare_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./compare.js */ \"./node_modules/uint8arrays/esm/src/compare.js\");\n/* harmony import */ var _concat_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./concat.js */ \"./node_modules/uint8arrays/esm/src/concat.js\");\n/* harmony import */ var _equals_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./equals.js */ \"./node_modules/uint8arrays/esm/src/equals.js\");\n/* harmony import */ var _from_string_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./from-string.js */ \"./node_modules/uint8arrays/esm/src/from-string.js\");\n/* harmony import */ var _to_string_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./to-string.js */ \"./node_modules/uint8arrays/esm/src/to-string.js\");\n/* harmony import */ var _xor_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./xor.js */ \"./node_modules/uint8arrays/esm/src/xor.js\");\n\n\n\n\n\n\n\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/uint8arrays/esm/src/index.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/uint8arrays/esm/src/to-string.js":
|
|||
|
/*!*******************************************************!*\
|
|||
|
!*** ./node_modules/uint8arrays/esm/src/to-string.js ***!
|
|||
|
\*******************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ toString: () => (/* binding */ toString)\n/* harmony export */ });\n/* harmony import */ var _util_bases_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./util/bases.js */ \"./node_modules/uint8arrays/esm/src/util/bases.js\");\n\nfunction toString(array, encoding = 'utf8') {\n const base = _util_bases_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"][encoding];\n if (!base) {\n throw new Error(`Unsupported encoding \"${ encoding }\"`);\n }\n if ((encoding === 'utf8' || encoding === 'utf-8') && globalThis.Buffer != null && globalThis.Buffer.from != null) {\n return globalThis.Buffer.from(array.buffer, array.byteOffset, array.byteLength).toString('utf8');\n }\n return base.encoder.encode(array).substring(1);\n}\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/uint8arrays/esm/src/to-string.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/uint8arrays/esm/src/util/as-uint8array.js":
|
|||
|
/*!****************************************************************!*\
|
|||
|
!*** ./node_modules/uint8arrays/esm/src/util/as-uint8array.js ***!
|
|||
|
\****************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ asUint8Array: () => (/* binding */ asUint8Array)\n/* harmony export */ });\nfunction asUint8Array(buf) {\n if (globalThis.Buffer != null) {\n return new Uint8Array(buf.buffer, buf.byteOffset, buf.byteLength);\n }\n return buf;\n}\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/uint8arrays/esm/src/util/as-uint8array.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/uint8arrays/esm/src/util/bases.js":
|
|||
|
/*!********************************************************!*\
|
|||
|
!*** ./node_modules/uint8arrays/esm/src/util/bases.js ***!
|
|||
|
\********************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var multiformats_basics__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! multiformats/basics */ \"./node_modules/multiformats/esm/src/basics.js\");\n/* harmony import */ var _alloc_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../alloc.js */ \"./node_modules/uint8arrays/esm/src/alloc.js\");\n\n\nfunction createCodec(name, prefix, encode, decode) {\n return {\n name,\n prefix,\n encoder: {\n name,\n prefix,\n encode\n },\n decoder: { decode }\n };\n}\nconst string = createCodec('utf8', 'u', buf => {\n const decoder = new TextDecoder('utf8');\n return 'u' + decoder.decode(buf);\n}, str => {\n const encoder = new TextEncoder();\n return encoder.encode(str.substring(1));\n});\nconst ascii = createCodec('ascii', 'a', buf => {\n let string = 'a';\n for (let i = 0; i < buf.length; i++) {\n string += String.fromCharCode(buf[i]);\n }\n return string;\n}, str => {\n str = str.substring(1);\n const buf = (0,_alloc_js__WEBPACK_IMPORTED_MODULE_1__.allocUnsafe)(str.length);\n for (let i = 0; i < str.length; i++) {\n buf[i] = str.charCodeAt(i);\n }\n return buf;\n});\nconst BASES = {\n utf8: string,\n 'utf-8': string,\n hex: multiformats_basics__WEBPACK_IMPORTED_MODULE_0__.bases.base16,\n latin1: ascii,\n ascii: ascii,\n binary: ascii,\n ...multiformats_basics__WEBPACK_IMPORTED_MODULE_0__.bases\n};\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (BASES);\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/uint8arrays/esm/src/util/bases.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/uint8arrays/esm/src/xor.js":
|
|||
|
/*!*************************************************!*\
|
|||
|
!*** ./node_modules/uint8arrays/esm/src/xor.js ***!
|
|||
|
\*************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ xor: () => (/* binding */ xor)\n/* harmony export */ });\n/* harmony import */ var _alloc_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./alloc.js */ \"./node_modules/uint8arrays/esm/src/alloc.js\");\n/* harmony import */ var _util_as_uint8array_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./util/as-uint8array.js */ \"./node_modules/uint8arrays/esm/src/util/as-uint8array.js\");\n\n\nfunction xor(a, b) {\n if (a.length !== b.length) {\n throw new Error('Inputs should have the same length');\n }\n const result = (0,_alloc_js__WEBPACK_IMPORTED_MODULE_0__.allocUnsafe)(a.length);\n for (let i = 0; i < a.length; i++) {\n result[i] = a[i] ^ b[i];\n }\n return (0,_util_as_uint8array_js__WEBPACK_IMPORTED_MODULE_1__.asUint8Array)(result);\n}\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/uint8arrays/esm/src/xor.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/valtio/esm/vanilla.mjs":
|
|||
|
/*!*********************************************!*\
|
|||
|
!*** ./node_modules/valtio/esm/vanilla.mjs ***!
|
|||
|
\*********************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ getVersion: () => (/* binding */ getVersion),\n/* harmony export */ proxy: () => (/* binding */ proxy),\n/* harmony export */ ref: () => (/* binding */ ref),\n/* harmony export */ snapshot: () => (/* binding */ snapshot),\n/* harmony export */ subscribe: () => (/* binding */ subscribe),\n/* harmony export */ unstable_buildProxyFunction: () => (/* binding */ unstable_buildProxyFunction)\n/* harmony export */ });\n/* harmony import */ var proxy_compare__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! proxy-compare */ \"./node_modules/proxy-compare/dist/index.modern.js\");\n\n\nconst isObject = (x) => typeof x === \"object\" && x !== null;\nconst proxyStateMap = /* @__PURE__ */ new WeakMap();\nconst refSet = /* @__PURE__ */ new WeakSet();\nconst buildProxyFunction = (objectIs = Object.is, newProxy = (target, handler) => new Proxy(target, handler), canProxy = (x) => isObject(x) && !refSet.has(x) && (Array.isArray(x) || !(Symbol.iterator in x)) && !(x instanceof WeakMap) && !(x instanceof WeakSet) && !(x instanceof Error) && !(x instanceof Number) && !(x instanceof Date) && !(x instanceof String) && !(x instanceof RegExp) && !(x instanceof ArrayBuffer), defaultHandlePromise = (promise) => {\n switch (promise.status) {\n case \"fulfilled\":\n return promise.value;\n case \"rejected\":\n throw promise.reason;\n default:\n throw promise;\n }\n}, snapCache = /* @__PURE__ */ new WeakMap(), createSnapshot = (target, version, handlePromise = defaultHandlePromise) => {\n const cache = snapCache.get(target);\n if ((cache == null ? void 0 : cache[0]) === version) {\n return cache[1];\n }\n const snap = Array.isArray(target) ? [] : Object.create(Object.getPrototypeOf(target));\n (0,proxy_compare__WEBPACK_IMPORTED_MODULE_0__.markToTrack)(snap, true);\n snapCache.set(target, [version, snap]);\n Reflect.ownKeys(target).forEach((key) => {\n if (Object.getOwnPropertyDescriptor(snap, key)) {\n return;\n }\n const value = Reflect.get(target, key);\n const desc = {\n value,\n enumerable: true,\n // This is intentional to avoid copying with proxy-compare.\n // It's still non-writable, so it avoids assigning a value.\n configurable: true\n };\n if (refSet.has(value)) {\n (0,proxy_compare__WEBPACK_IMPORTED_MODULE_0__.markToTrack)(value, false);\n } else if (value instanceof Promise) {\n delete desc.value;\n desc.get = () => handlePromise(value);\n } else if (proxyStateMap.has(value)) {\n const [target2, ensureVersion] = proxyStateMap.get(\n value\n );\n desc.value = createSnapshot(\n target2,\n ensureVersion(),\n handlePromise\n );\n }\n Object.defineProperty(snap, key, desc);\n });\n return Object.preventExtensions(snap);\n}, proxyCache = /* @__PURE__ */ new WeakMap(), versionHolder = [1, 1], proxyFunction = (initialObject) => {\n if (!isObject(initialObject)) {\n throw new Error(\"object required\");\n }\n const found = proxyCache.get(initialObject);\n if (found) {\n return found;\n }\n let version = versionHolder[0];\n const listeners = /* @__PURE__ */ new Set();\n const notifyUpdate = (op, nextVersion = ++versionHolder[0]) => {\n if (version !== nextVersion) {\n version = nextVersion;\n listeners.forEach((listener) => listener(op, nextVersion));\n }\n };\n let checkVersion = versionHolder[1];\n const ensureVersion = (nextCheckVersion = ++versionHolder[1]) => {\n if (checkVersion !== nextCheckVersion && !listeners.size) {\n checkVersion = nextCheckVersion;\n propProxyStates.forEach(([propProxyState]) => {\n const propVersion = propProxyState[1](nextCheckVersion);\n if (propVersion > version) {\n version = propVersion;\n }\n });\n }\n return version;\n };\n const createPropListener = (prop) => (op, nextVersion) => {\n const newOp = [...op];\n
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/valtio/esm/vanilla/utils.mjs":
|
|||
|
/*!***************************************************!*\
|
|||
|
!*** ./node_modules/valtio/esm/vanilla/utils.mjs ***!
|
|||
|
\***************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ addComputed: () => (/* binding */ addComputed_DEPRECATED),\n/* harmony export */ derive: () => (/* binding */ derive),\n/* harmony export */ devtools: () => (/* binding */ devtools),\n/* harmony export */ proxyMap: () => (/* binding */ proxyMap),\n/* harmony export */ proxySet: () => (/* binding */ proxySet),\n/* harmony export */ proxyWithComputed: () => (/* binding */ proxyWithComputed_DEPRECATED),\n/* harmony export */ proxyWithHistory: () => (/* binding */ proxyWithHistory),\n/* harmony export */ subscribeKey: () => (/* binding */ subscribeKey),\n/* harmony export */ underive: () => (/* binding */ underive),\n/* harmony export */ unstable_deriveSubscriptions: () => (/* binding */ unstable_deriveSubscriptions),\n/* harmony export */ watch: () => (/* binding */ watch)\n/* harmony export */ });\n/* harmony import */ var valtio_vanilla__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! valtio/vanilla */ \"./node_modules/valtio/esm/vanilla.mjs\");\n\n\nfunction subscribeKey(proxyObject, key, callback, notifyInSync) {\n let prevValue = proxyObject[key];\n return (0,valtio_vanilla__WEBPACK_IMPORTED_MODULE_0__.subscribe)(\n proxyObject,\n () => {\n const nextValue = proxyObject[key];\n if (!Object.is(prevValue, nextValue)) {\n callback(prevValue = nextValue);\n }\n },\n notifyInSync\n );\n}\n\nlet currentCleanups;\nfunction watch(callback, options) {\n let alive = true;\n const cleanups = /* @__PURE__ */ new Set();\n const subscriptions = /* @__PURE__ */ new Map();\n const cleanup = () => {\n if (alive) {\n alive = false;\n cleanups.forEach((clean) => clean());\n cleanups.clear();\n subscriptions.forEach((unsubscribe) => unsubscribe());\n subscriptions.clear();\n }\n };\n const revalidate = () => {\n if (!alive) {\n return;\n }\n cleanups.forEach((clean) => clean());\n cleanups.clear();\n const proxiesToSubscribe = /* @__PURE__ */ new Set();\n const parent = currentCleanups;\n currentCleanups = cleanups;\n try {\n const cleanupReturn = callback((proxyObject) => {\n proxiesToSubscribe.add(proxyObject);\n return proxyObject;\n });\n if (cleanupReturn) {\n cleanups.add(cleanupReturn);\n }\n } finally {\n currentCleanups = parent;\n }\n subscriptions.forEach((unsubscribe, proxyObject) => {\n if (proxiesToSubscribe.has(proxyObject)) {\n proxiesToSubscribe.delete(proxyObject);\n } else {\n subscriptions.delete(proxyObject);\n unsubscribe();\n }\n });\n proxiesToSubscribe.forEach((proxyObject) => {\n const unsubscribe = (0,valtio_vanilla__WEBPACK_IMPORTED_MODULE_0__.subscribe)(proxyObject, revalidate, options == null ? void 0 : options.sync);\n subscriptions.set(proxyObject, unsubscribe);\n });\n };\n if (currentCleanups) {\n currentCleanups.add(cleanup);\n }\n revalidate();\n return cleanup;\n}\n\nconst DEVTOOLS = Symbol();\nfunction devtools(proxyObject, options) {\n if (typeof options === \"string\") {\n console.warn(\n \"string name option is deprecated, use { name }. https://github.com/pmndrs/valtio/pull/400\"\n );\n options = { name: options };\n }\n const { enabled, name = \"\", ...rest } = options || {};\n let extension;\n try {\n extension = (enabled != null ? enabled : ( false ? 0 : void 0) !== \"production\") && window.__REDUX_DEVTOOLS_EXTENSION__;\n } catch {\n }\n if (!extension) {\n if (( false ? 0 : void 0) !== \"production\" && enabled) {\n console.warn(\"[Warning] Please install/enable Redux devtools extension\");\n }\n return;\n }\n let isTimeTraveling = false;\n const devtools2 = extension.connect({ name, ...rest });\n const unsub1 = (0,valtio_vanilla__WEBPACK_IMPORTED_MODULE_0__.subscribe)(proxyObject, (ops) => {\n const action = ops.filter(([_, path]) => path[0] !== DEVTOOLS).map(([op,
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/accounts/utils/parseAccount.js":
|
|||
|
/*!***************************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/accounts/utils/parseAccount.js ***!
|
|||
|
\***************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ parseAccount: () => (/* binding */ parseAccount)\n/* harmony export */ });\nfunction parseAccount(account) {\n if (typeof account === 'string')\n return { address: account, type: 'json-rpc' };\n return account;\n}\n//# sourceMappingURL=parseAccount.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/accounts/utils/parseAccount.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/actions/ens/getEnsAddress.js":
|
|||
|
/*!*************************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/actions/ens/getEnsAddress.js ***!
|
|||
|
\*************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ getEnsAddress: () => (/* binding */ getEnsAddress)\n/* harmony export */ });\n/* harmony import */ var _constants_abis_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../constants/abis.js */ \"./node_modules/viem/_esm/constants/abis.js\");\n/* harmony import */ var _utils_abi_decodeFunctionResult_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../utils/abi/decodeFunctionResult.js */ \"./node_modules/viem/_esm/utils/abi/decodeFunctionResult.js\");\n/* harmony import */ var _utils_abi_encodeFunctionData_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../utils/abi/encodeFunctionData.js */ \"./node_modules/viem/_esm/utils/abi/encodeFunctionData.js\");\n/* harmony import */ var _utils_chain_getChainContractAddress_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/chain/getChainContractAddress.js */ \"./node_modules/viem/_esm/utils/chain/getChainContractAddress.js\");\n/* harmony import */ var _utils_data_trim_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../utils/data/trim.js */ \"./node_modules/viem/_esm/utils/data/trim.js\");\n/* harmony import */ var _utils_encoding_toHex_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../utils/encoding/toHex.js */ \"./node_modules/viem/_esm/utils/encoding/toHex.js\");\n/* harmony import */ var _utils_ens_errors_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../utils/ens/errors.js */ \"./node_modules/viem/_esm/utils/ens/errors.js\");\n/* harmony import */ var _utils_ens_namehash_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../utils/ens/namehash.js */ \"./node_modules/viem/_esm/utils/ens/namehash.js\");\n/* harmony import */ var _utils_ens_packetToBytes_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../utils/ens/packetToBytes.js */ \"./node_modules/viem/_esm/utils/ens/packetToBytes.js\");\n/* harmony import */ var _utils_getAction_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../utils/getAction.js */ \"./node_modules/viem/_esm/utils/getAction.js\");\n/* harmony import */ var _public_readContract_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../public/readContract.js */ \"./node_modules/viem/_esm/actions/public/readContract.js\");\n\n\n\n\n\n\n\n\n\n\n\n/**\n * Gets address for ENS name.\n *\n * - Docs: https://viem.sh/docs/ens/actions/getEnsAddress.html\n * - Examples: https://stackblitz.com/github/wevm/viem/tree/main/examples/ens\n *\n * Calls `resolve(bytes, bytes)` on ENS Universal Resolver Contract.\n *\n * Since ENS names prohibit certain forbidden characters (e.g. underscore) and have other validation rules, you likely want to [normalize ENS names](https://docs.ens.domains/contract-api-reference/name-processing#normalising-names) with [UTS-46 normalization](https://unicode.org/reports/tr46) before passing them to `getEnsAddress`. You can use the built-in [`normalize`](https://viem.sh/docs/ens/utilities/normalize.html) function for this.\n *\n * @param client - Client to use\n * @param parameters - {@link GetEnsAddressParameters}\n * @returns Address for ENS name or `null` if not found. {@link GetEnsAddressReturnType}\n *\n * @example\n * import { createPublicClient, http } from 'viem'\n * import { mainnet } from 'viem/chains'\n * import { getEnsAddress, normalize } from 'viem/ens'\n *\n * const client = createPublicClient({\n * chain: mainnet,\n * transport: http(),\n * })\n * const ensAddress = await getEnsAddress(client, {\n * name: normalize('wevm.eth'),\n * })\n * // '0xd2135CfB216b74109775236E36d4b433F1DF507B'\n */\nasync function getEnsAddress(client, { blockNumber, blockTag, coinType, name, universalResolverAddress: universalResolverAddress_, }) {\n let universalResolverAddress = universalResolverAddress_;\n if (!universalResolverAddress) {\n if (!client.chain)\n throw new Error('client chain not configured. universalResolverAddress is required.');\n
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/actions/ens/getEnsAvatar.js":
|
|||
|
/*!************************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/actions/ens/getEnsAvatar.js ***!
|
|||
|
\************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ getEnsAvatar: () => (/* binding */ getEnsAvatar)\n/* harmony export */ });\n/* harmony import */ var _utils_ens_avatar_parseAvatarRecord_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../utils/ens/avatar/parseAvatarRecord.js */ \"./node_modules/viem/_esm/utils/ens/avatar/parseAvatarRecord.js\");\n/* harmony import */ var _utils_getAction_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/getAction.js */ \"./node_modules/viem/_esm/utils/getAction.js\");\n/* harmony import */ var _getEnsText_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./getEnsText.js */ \"./node_modules/viem/_esm/actions/ens/getEnsText.js\");\n\n\n\n/**\n * Gets the avatar of an ENS name.\n *\n * - Docs: https://viem.sh/docs/ens/actions/getEnsAvatar.html\n * - Examples: https://stackblitz.com/github/wevm/viem/tree/main/examples/ens\n *\n * Calls [`getEnsText`](https://viem.sh/docs/ens/actions/getEnsText.html) with `key` set to `'avatar'`.\n *\n * Since ENS names prohibit certain forbidden characters (e.g. underscore) and have other validation rules, you likely want to [normalize ENS names](https://docs.ens.domains/contract-api-reference/name-processing#normalising-names) with [UTS-46 normalization](https://unicode.org/reports/tr46) before passing them to `getEnsAddress`. You can use the built-in [`normalize`](https://viem.sh/docs/ens/utilities/normalize.html) function for this.\n *\n * @param client - Client to use\n * @param parameters - {@link GetEnsAvatarParameters}\n * @returns Avatar URI or `null` if not found. {@link GetEnsAvatarReturnType}\n *\n * @example\n * import { createPublicClient, http } from 'viem'\n * import { mainnet } from 'viem/chains'\n * import { getEnsAvatar, normalize } from 'viem/ens'\n *\n * const client = createPublicClient({\n * chain: mainnet,\n * transport: http(),\n * })\n * const ensAvatar = await getEnsAvatar(client, {\n * name: normalize('wevm.eth'),\n * })\n * // 'https://ipfs.io/ipfs/Qma8mnp6xV3J2cRNf3mTth5C8nV11CAnceVinc3y8jSbio'\n */\nasync function getEnsAvatar(client, { blockNumber, blockTag, gatewayUrls, name, universalResolverAddress, }) {\n const record = await (0,_utils_getAction_js__WEBPACK_IMPORTED_MODULE_0__.getAction)(client, _getEnsText_js__WEBPACK_IMPORTED_MODULE_1__.getEnsText, 'getEnsText')({\n blockNumber,\n blockTag,\n key: 'avatar',\n name,\n universalResolverAddress,\n });\n if (!record)\n return null;\n try {\n return await (0,_utils_ens_avatar_parseAvatarRecord_js__WEBPACK_IMPORTED_MODULE_2__.parseAvatarRecord)(client, { record, gatewayUrls });\n }\n catch {\n return null;\n }\n}\n//# sourceMappingURL=getEnsAvatar.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/actions/ens/getEnsAvatar.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/actions/ens/getEnsName.js":
|
|||
|
/*!**********************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/actions/ens/getEnsName.js ***!
|
|||
|
\**********************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ getEnsName: () => (/* binding */ getEnsName)\n/* harmony export */ });\n/* harmony import */ var _constants_abis_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../constants/abis.js */ \"./node_modules/viem/_esm/constants/abis.js\");\n/* harmony import */ var _utils_chain_getChainContractAddress_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/chain/getChainContractAddress.js */ \"./node_modules/viem/_esm/utils/chain/getChainContractAddress.js\");\n/* harmony import */ var _utils_encoding_toHex_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../utils/encoding/toHex.js */ \"./node_modules/viem/_esm/utils/encoding/toHex.js\");\n/* harmony import */ var _utils_ens_errors_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../utils/ens/errors.js */ \"./node_modules/viem/_esm/utils/ens/errors.js\");\n/* harmony import */ var _utils_ens_packetToBytes_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../utils/ens/packetToBytes.js */ \"./node_modules/viem/_esm/utils/ens/packetToBytes.js\");\n/* harmony import */ var _utils_getAction_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../utils/getAction.js */ \"./node_modules/viem/_esm/utils/getAction.js\");\n/* harmony import */ var _public_readContract_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../public/readContract.js */ \"./node_modules/viem/_esm/actions/public/readContract.js\");\n\n\n\n\n\n\n\n/**\n * Gets primary name for specified address.\n *\n * - Docs: https://viem.sh/docs/ens/actions/getEnsName.html\n * - Examples: https://stackblitz.com/github/wevm/viem/tree/main/examples/ens\n *\n * Calls `reverse(bytes)` on ENS Universal Resolver Contract to \"reverse resolve\" the address to the primary ENS name.\n *\n * @param client - Client to use\n * @param parameters - {@link GetEnsNameParameters}\n * @returns Name or `null` if not found. {@link GetEnsNameReturnType}\n *\n * @example\n * import { createPublicClient, http } from 'viem'\n * import { mainnet } from 'viem/chains'\n * import { getEnsName } from 'viem/ens'\n *\n * const client = createPublicClient({\n * chain: mainnet,\n * transport: http(),\n * })\n * const ensName = await getEnsName(client, {\n * address: '0xd2135CfB216b74109775236E36d4b433F1DF507B',\n * })\n * // 'wevm.eth'\n */\nasync function getEnsName(client, { address, blockNumber, blockTag, universalResolverAddress: universalResolverAddress_, }) {\n let universalResolverAddress = universalResolverAddress_;\n if (!universalResolverAddress) {\n if (!client.chain)\n throw new Error('client chain not configured. universalResolverAddress is required.');\n universalResolverAddress = (0,_utils_chain_getChainContractAddress_js__WEBPACK_IMPORTED_MODULE_0__.getChainContractAddress)({\n blockNumber,\n chain: client.chain,\n contract: 'ensUniversalResolver',\n });\n }\n const reverseNode = `${address.toLowerCase().substring(2)}.addr.reverse`;\n try {\n const res = await (0,_utils_getAction_js__WEBPACK_IMPORTED_MODULE_1__.getAction)(client, _public_readContract_js__WEBPACK_IMPORTED_MODULE_2__.readContract, 'readContract')({\n address: universalResolverAddress,\n abi: _constants_abis_js__WEBPACK_IMPORTED_MODULE_3__.universalResolverReverseAbi,\n functionName: 'reverse',\n args: [(0,_utils_encoding_toHex_js__WEBPACK_IMPORTED_MODULE_4__.toHex)((0,_utils_ens_packetToBytes_js__WEBPACK_IMPORTED_MODULE_5__.packetToBytes)(reverseNode))],\n blockNumber,\n blockTag,\n });\n return res[0];\n }\n catch (err) {\n if ((0,_utils_ens_errors_js__WEBPACK_IMPORTED_MODULE_6__.isNullUniversalResolverError)(err, 'reverse'))\n return null;\n throw err;\n }\n}\n//# sourceMappingURL=getEnsName.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_m
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/actions/ens/getEnsResolver.js":
|
|||
|
/*!**************************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/actions/ens/getEnsResolver.js ***!
|
|||
|
\**************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ getEnsResolver: () => (/* binding */ getEnsResolver)\n/* harmony export */ });\n/* harmony import */ var _utils_chain_getChainContractAddress_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/chain/getChainContractAddress.js */ \"./node_modules/viem/_esm/utils/chain/getChainContractAddress.js\");\n/* harmony import */ var _utils_encoding_toHex_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../utils/encoding/toHex.js */ \"./node_modules/viem/_esm/utils/encoding/toHex.js\");\n/* harmony import */ var _utils_ens_packetToBytes_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../utils/ens/packetToBytes.js */ \"./node_modules/viem/_esm/utils/ens/packetToBytes.js\");\n/* harmony import */ var _utils_getAction_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../utils/getAction.js */ \"./node_modules/viem/_esm/utils/getAction.js\");\n/* harmony import */ var _public_readContract_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../public/readContract.js */ \"./node_modules/viem/_esm/actions/public/readContract.js\");\n\n\n\n\n\n/**\n * Gets resolver for ENS name.\n *\n * - Docs: https://viem.sh/docs/ens/actions/getEnsResolver.html\n * - Examples: https://stackblitz.com/github/wevm/viem/tree/main/examples/ens\n *\n * Calls `findResolver(bytes)` on ENS Universal Resolver Contract to retrieve the resolver of an ENS name.\n *\n * Since ENS names prohibit certain forbidden characters (e.g. underscore) and have other validation rules, you likely want to [normalize ENS names](https://docs.ens.domains/contract-api-reference/name-processing#normalising-names) with [UTS-46 normalization](https://unicode.org/reports/tr46) before passing them to `getEnsAddress`. You can use the built-in [`normalize`](https://viem.sh/docs/ens/utilities/normalize.html) function for this.\n *\n * @param client - Client to use\n * @param parameters - {@link GetEnsResolverParameters}\n * @returns Address for ENS resolver. {@link GetEnsResolverReturnType}\n *\n * @example\n * import { createPublicClient, http } from 'viem'\n * import { mainnet } from 'viem/chains'\n * import { getEnsResolver, normalize } from 'viem/ens'\n *\n * const client = createPublicClient({\n * chain: mainnet,\n * transport: http(),\n * })\n * const resolverAddress = await getEnsResolver(client, {\n * name: normalize('wevm.eth'),\n * })\n * // '0x4976fb03C32e5B8cfe2b6cCB31c09Ba78EBaBa41'\n */\nasync function getEnsResolver(client, { blockNumber, blockTag, name, universalResolverAddress: universalResolverAddress_, }) {\n let universalResolverAddress = universalResolverAddress_;\n if (!universalResolverAddress) {\n if (!client.chain)\n throw new Error('client chain not configured. universalResolverAddress is required.');\n universalResolverAddress = (0,_utils_chain_getChainContractAddress_js__WEBPACK_IMPORTED_MODULE_0__.getChainContractAddress)({\n blockNumber,\n chain: client.chain,\n contract: 'ensUniversalResolver',\n });\n }\n const [resolverAddress] = await (0,_utils_getAction_js__WEBPACK_IMPORTED_MODULE_1__.getAction)(client, _public_readContract_js__WEBPACK_IMPORTED_MODULE_2__.readContract, 'readContract')({\n address: universalResolverAddress,\n abi: [\n {\n inputs: [{ type: 'bytes' }],\n name: 'findResolver',\n outputs: [{ type: 'address' }, { type: 'bytes32' }],\n stateMutability: 'view',\n type: 'function',\n },\n ],\n functionName: 'findResolver',\n args: [(0,_utils_encoding_toHex_js__WEBPACK_IMPORTED_MODULE_3__.toHex)((0,_utils_ens_packetToBytes_js__WEBPACK_IMPORTED_MODULE_4__.packetToBytes)(name))],\n blockNumber,\n blockTag,\n });\n return resolverAddress;\n}\n//# sourceMappingURL=getEnsResolver.js.map\n\n//# sourceURL=webpack://wallet_connect_
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/actions/ens/getEnsText.js":
|
|||
|
/*!**********************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/actions/ens/getEnsText.js ***!
|
|||
|
\**********************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ getEnsText: () => (/* binding */ getEnsText)\n/* harmony export */ });\n/* harmony import */ var _constants_abis_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../constants/abis.js */ \"./node_modules/viem/_esm/constants/abis.js\");\n/* harmony import */ var _utils_abi_decodeFunctionResult_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../utils/abi/decodeFunctionResult.js */ \"./node_modules/viem/_esm/utils/abi/decodeFunctionResult.js\");\n/* harmony import */ var _utils_abi_encodeFunctionData_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../utils/abi/encodeFunctionData.js */ \"./node_modules/viem/_esm/utils/abi/encodeFunctionData.js\");\n/* harmony import */ var _utils_chain_getChainContractAddress_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/chain/getChainContractAddress.js */ \"./node_modules/viem/_esm/utils/chain/getChainContractAddress.js\");\n/* harmony import */ var _utils_encoding_toHex_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../utils/encoding/toHex.js */ \"./node_modules/viem/_esm/utils/encoding/toHex.js\");\n/* harmony import */ var _utils_ens_errors_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../utils/ens/errors.js */ \"./node_modules/viem/_esm/utils/ens/errors.js\");\n/* harmony import */ var _utils_ens_namehash_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../utils/ens/namehash.js */ \"./node_modules/viem/_esm/utils/ens/namehash.js\");\n/* harmony import */ var _utils_ens_packetToBytes_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../utils/ens/packetToBytes.js */ \"./node_modules/viem/_esm/utils/ens/packetToBytes.js\");\n/* harmony import */ var _utils_getAction_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../utils/getAction.js */ \"./node_modules/viem/_esm/utils/getAction.js\");\n/* harmony import */ var _public_readContract_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../public/readContract.js */ \"./node_modules/viem/_esm/actions/public/readContract.js\");\n\n\n\n\n\n\n\n\n\n\n/**\n * Gets a text record for specified ENS name.\n *\n * - Docs: https://viem.sh/docs/ens/actions/getEnsResolver.html\n * - Examples: https://stackblitz.com/github/wevm/viem/tree/main/examples/ens\n *\n * Calls `resolve(bytes, bytes)` on ENS Universal Resolver Contract.\n *\n * Since ENS names prohibit certain forbidden characters (e.g. underscore) and have other validation rules, you likely want to [normalize ENS names](https://docs.ens.domains/contract-api-reference/name-processing#normalising-names) with [UTS-46 normalization](https://unicode.org/reports/tr46) before passing them to `getEnsAddress`. You can use the built-in [`normalize`](https://viem.sh/docs/ens/utilities/normalize.html) function for this.\n *\n * @param client - Client to use\n * @param parameters - {@link GetEnsTextParameters}\n * @returns Address for ENS resolver. {@link GetEnsTextReturnType}\n *\n * @example\n * import { createPublicClient, http } from 'viem'\n * import { mainnet } from 'viem/chains'\n * import { getEnsText, normalize } from 'viem/ens'\n *\n * const client = createPublicClient({\n * chain: mainnet,\n * transport: http(),\n * })\n * const twitterRecord = await getEnsText(client, {\n * name: normalize('wevm.eth'),\n * key: 'com.twitter',\n * })\n * // 'wagmi_sh'\n */\nasync function getEnsText(client, { blockNumber, blockTag, name, key, universalResolverAddress: universalResolverAddress_, }) {\n let universalResolverAddress = universalResolverAddress_;\n if (!universalResolverAddress) {\n if (!client.chain)\n throw new Error('client chain not configured. universalResolverAddress is required.');\n universalResolverAddress = (0,_utils_chain_getChainContractAddress_js__WEBPACK_IMPORTED_MODULE_0__.getChainContractAddress)({\n blockNumber,\n chain: client.chain,\n contract: '
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/actions/getContract.js":
|
|||
|
/*!*******************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/actions/getContract.js ***!
|
|||
|
\*******************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ getContract: () => (/* binding */ getContract),\n/* harmony export */ getEventParameters: () => (/* binding */ getEventParameters),\n/* harmony export */ getFunctionParameters: () => (/* binding */ getFunctionParameters)\n/* harmony export */ });\n/* harmony import */ var _utils_getAction_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils/getAction.js */ \"./node_modules/viem/_esm/utils/getAction.js\");\n/* harmony import */ var _public_createContractEventFilter_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./public/createContractEventFilter.js */ \"./node_modules/viem/_esm/actions/public/createContractEventFilter.js\");\n/* harmony import */ var _public_estimateContractGas_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./public/estimateContractGas.js */ \"./node_modules/viem/_esm/actions/public/estimateContractGas.js\");\n/* harmony import */ var _public_getContractEvents_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./public/getContractEvents.js */ \"./node_modules/viem/_esm/actions/public/getContractEvents.js\");\n/* harmony import */ var _public_readContract_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./public/readContract.js */ \"./node_modules/viem/_esm/actions/public/readContract.js\");\n/* harmony import */ var _public_simulateContract_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./public/simulateContract.js */ \"./node_modules/viem/_esm/actions/public/simulateContract.js\");\n/* harmony import */ var _public_watchContractEvent_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./public/watchContractEvent.js */ \"./node_modules/viem/_esm/actions/public/watchContractEvent.js\");\n/* harmony import */ var _wallet_writeContract_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./wallet/writeContract.js */ \"./node_modules/viem/_esm/actions/wallet/writeContract.js\");\n\n\n\n\n\n\n\n\n/**\n * Gets type-safe interface for performing contract-related actions with a specific `abi` and `address`.\n *\n * - Docs https://viem.sh/docs/contract/getContract.html\n *\n * Using Contract Instances can make it easier to work with contracts if you don't want to pass the `abi` and `address` properites every time you perform contract actions, e.g. [`readContract`](https://viem.sh/docs/contract/readContract.html), [`writeContract`](https://viem.sh/docs/contract/writeContract.html), [`estimateContractGas`](https://viem.sh/docs/contract/estimateContractGas.html), etc.\n *\n * @example\n * import { createPublicClient, getContract, http, parseAbi } from 'viem'\n * import { mainnet } from 'viem/chains'\n *\n * const publicClient = createPublicClient({\n * chain: mainnet,\n * transport: http(),\n * })\n * const contract = getContract({\n * address: '0xFBA3912Ca04dd458c843e2EE08967fC04f3579c2',\n * abi: parseAbi([\n * 'function balanceOf(address owner) view returns (uint256)',\n * 'function ownerOf(uint256 tokenId) view returns (address)',\n * 'function totalSupply() view returns (uint256)',\n * ]),\n * publicClient,\n * })\n */\nfunction getContract({ abi, address, publicClient, walletClient, }) {\n const hasPublicClient = publicClient !== undefined && publicClient !== null;\n const hasWalletClient = walletClient !== undefined && walletClient !== null;\n const contract = {};\n let hasReadFunction = false;\n let hasWriteFunction = false;\n let hasEvent = false;\n for (const item of abi) {\n if (item.type === 'function')\n if (item.stateMutability === 'view' || item.stateMutability === 'pure')\n hasReadFunction = true;\n else\n hasWriteFunction = true;\n else if (item.type === 'event')\n hasEvent = true;\n // Exit early if all flags are `true`\n if (hasReadFunction && hasWriteFunction && hasEvent)\n break;\n }\n if (hasPublicClient) {\n if (hasReadFu
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/actions/public/call.js":
|
|||
|
/*!*******************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/actions/public/call.js ***!
|
|||
|
\*******************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ call: () => (/* binding */ call),\n/* harmony export */ getRevertErrorData: () => (/* binding */ getRevertErrorData)\n/* harmony export */ });\n/* harmony import */ var _accounts_utils_parseAccount_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../accounts/utils/parseAccount.js */ \"./node_modules/viem/_esm/accounts/utils/parseAccount.js\");\n/* harmony import */ var _constants_abis_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../../constants/abis.js */ \"./node_modules/viem/_esm/constants/abis.js\");\n/* harmony import */ var _constants_contract_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../constants/contract.js */ \"./node_modules/viem/_esm/constants/contract.js\");\n/* harmony import */ var _errors_base_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../../errors/base.js */ \"./node_modules/viem/_esm/errors/base.js\");\n/* harmony import */ var _errors_chain_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../errors/chain.js */ \"./node_modules/viem/_esm/errors/chain.js\");\n/* harmony import */ var _errors_contract_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../../errors/contract.js */ \"./node_modules/viem/_esm/errors/contract.js\");\n/* harmony import */ var _utils_abi_decodeFunctionResult_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../../utils/abi/decodeFunctionResult.js */ \"./node_modules/viem/_esm/utils/abi/decodeFunctionResult.js\");\n/* harmony import */ var _utils_abi_encodeFunctionData_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../utils/abi/encodeFunctionData.js */ \"./node_modules/viem/_esm/utils/abi/encodeFunctionData.js\");\n/* harmony import */ var _utils_chain_getChainContractAddress_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../utils/chain/getChainContractAddress.js */ \"./node_modules/viem/_esm/utils/chain/getChainContractAddress.js\");\n/* harmony import */ var _utils_encoding_toHex_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../utils/encoding/toHex.js */ \"./node_modules/viem/_esm/utils/encoding/toHex.js\");\n/* harmony import */ var _utils_errors_getCallError_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../utils/errors/getCallError.js */ \"./node_modules/viem/_esm/utils/errors/getCallError.js\");\n/* harmony import */ var _utils_formatters_extract_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../utils/formatters/extract.js */ \"./node_modules/viem/_esm/utils/formatters/extract.js\");\n/* harmony import */ var _utils_formatters_transactionRequest_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../utils/formatters/transactionRequest.js */ \"./node_modules/viem/_esm/utils/formatters/transactionRequest.js\");\n/* harmony import */ var _utils_promise_createBatchScheduler_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../utils/promise/createBatchScheduler.js */ \"./node_modules/viem/_esm/utils/promise/createBatchScheduler.js\");\n/* harmony import */ var _utils_transaction_assertRequest_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../utils/transaction/assertRequest.js */ \"./node_modules/viem/_esm/utils/transaction/assertRequest.js\");\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n/**\n * Executes a new message call immediately without submitting a transaction to the network.\n *\n * - Docs: https://viem.sh/docs/actions/public/call.html\n * - JSON-RPC Methods: [`eth_call`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_call)\n *\n * @param client - Client to use\n * @param parameters - {@link CallParameters}\n * @returns The call data. {@link CallReturnType}\n *\n * @example\n * import { createPublicClient, http } from 'viem'\n * import { mainnet } from 'viem/chains'\n * import { call } from 'viem/public'\n *\n * const client = createPublicClient({\n * chain: mainnet,\n * transport: http(),\n * })\n * const data = await call(client, {\n *
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/actions/public/createBlockFilter.js":
|
|||
|
/*!********************************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/actions/public/createBlockFilter.js ***!
|
|||
|
\********************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ createBlockFilter: () => (/* binding */ createBlockFilter)\n/* harmony export */ });\n/* harmony import */ var _utils_filters_createFilterRequestScope_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/filters/createFilterRequestScope.js */ \"./node_modules/viem/_esm/utils/filters/createFilterRequestScope.js\");\n\n/**\n * Creates a [`Filter`](https://viem.sh/docs/glossary/types.html#filter) to listen for new block hashes that can be used with [`getFilterChanges`](https://viem.sh/docs/actions/public/getFilterChanges.html).\n *\n * - Docs: https://viem.sh/docs/actions/public/createBlockFilter.html\n * - JSON-RPC Methods: [`eth_newBlockFilter`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_newBlockFilter)\n *\n * @param client - Client to use\n * @returns [`Filter`](https://viem.sh/docs/glossary/types.html#filter). {@link CreateBlockFilterReturnType}\n *\n * @example\n * import { createPublicClient, http } from 'viem'\n * import { mainnet } from 'viem/chains'\n * import { createBlockFilter } from 'viem/public'\n *\n * const client = createPublicClient({\n * chain: mainnet,\n * transport: http(),\n * })\n * const filter = await createBlockFilter(client)\n * // { id: \"0x345a6572337856574a76364e457a4366\", type: 'block' }\n */\nasync function createBlockFilter(client) {\n const getRequest = (0,_utils_filters_createFilterRequestScope_js__WEBPACK_IMPORTED_MODULE_0__.createFilterRequestScope)(client, {\n method: 'eth_newBlockFilter',\n });\n const id = await client.request({\n method: 'eth_newBlockFilter',\n });\n return { id, request: getRequest(id), type: 'block' };\n}\n//# sourceMappingURL=createBlockFilter.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/actions/public/createBlockFilter.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/actions/public/createContractEventFilter.js":
|
|||
|
/*!****************************************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/actions/public/createContractEventFilter.js ***!
|
|||
|
\****************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ createContractEventFilter: () => (/* binding */ createContractEventFilter)\n/* harmony export */ });\n/* harmony import */ var _utils_abi_encodeEventTopics_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../utils/abi/encodeEventTopics.js */ \"./node_modules/viem/_esm/utils/abi/encodeEventTopics.js\");\n/* harmony import */ var _utils_encoding_toHex_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../utils/encoding/toHex.js */ \"./node_modules/viem/_esm/utils/encoding/toHex.js\");\n/* harmony import */ var _utils_filters_createFilterRequestScope_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/filters/createFilterRequestScope.js */ \"./node_modules/viem/_esm/utils/filters/createFilterRequestScope.js\");\n\n\n\n/**\n * Creates a Filter to retrieve event logs that can be used with [`getFilterChanges`](https://viem.sh/docs/actions/public/getFilterChanges.html) or [`getFilterLogs`](https://viem.sh/docs/actions/public/getFilterLogs.html).\n *\n * - Docs: https://viem.sh/docs/contract/createContractEventFilter.html\n *\n * @param client - Client to use\n * @param parameters - {@link CreateContractEventFilterParameters}\n * @returns [`Filter`](https://viem.sh/docs/glossary/types.html#filter). {@link CreateContractEventFilterReturnType}\n *\n * @example\n * import { createPublicClient, http, parseAbi } from 'viem'\n * import { mainnet } from 'viem/chains'\n * import { createContractEventFilter } from 'viem/contract'\n *\n * const client = createPublicClient({\n * chain: mainnet,\n * transport: http(),\n * })\n * const filter = await createContractEventFilter(client, {\n * abi: parseAbi(['event Transfer(address indexed, address indexed, uint256)']),\n * })\n */\nasync function createContractEventFilter(client, { address, abi, args, eventName, fromBlock, strict, toBlock, }) {\n const getRequest = (0,_utils_filters_createFilterRequestScope_js__WEBPACK_IMPORTED_MODULE_0__.createFilterRequestScope)(client, {\n method: 'eth_newFilter',\n });\n const topics = eventName\n ? (0,_utils_abi_encodeEventTopics_js__WEBPACK_IMPORTED_MODULE_1__.encodeEventTopics)({\n abi,\n args,\n eventName,\n })\n : undefined;\n const id = await client.request({\n method: 'eth_newFilter',\n params: [\n {\n address,\n fromBlock: typeof fromBlock === 'bigint' ? (0,_utils_encoding_toHex_js__WEBPACK_IMPORTED_MODULE_2__.numberToHex)(fromBlock) : fromBlock,\n toBlock: typeof toBlock === 'bigint' ? (0,_utils_encoding_toHex_js__WEBPACK_IMPORTED_MODULE_2__.numberToHex)(toBlock) : toBlock,\n topics,\n },\n ],\n });\n return {\n abi,\n args,\n eventName,\n id,\n request: getRequest(id),\n strict,\n type: 'event',\n };\n}\n//# sourceMappingURL=createContractEventFilter.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/actions/public/createContractEventFilter.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/actions/public/createEventFilter.js":
|
|||
|
/*!********************************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/actions/public/createEventFilter.js ***!
|
|||
|
\********************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ createEventFilter: () => (/* binding */ createEventFilter)\n/* harmony export */ });\n/* harmony import */ var _utils_abi_encodeEventTopics_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../utils/abi/encodeEventTopics.js */ \"./node_modules/viem/_esm/utils/abi/encodeEventTopics.js\");\n/* harmony import */ var _utils_encoding_toHex_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../utils/encoding/toHex.js */ \"./node_modules/viem/_esm/utils/encoding/toHex.js\");\n/* harmony import */ var _utils_filters_createFilterRequestScope_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/filters/createFilterRequestScope.js */ \"./node_modules/viem/_esm/utils/filters/createFilterRequestScope.js\");\n\n\n\n/**\n * Creates a [`Filter`](https://viem.sh/docs/glossary/types.html#filter) to listen for new events that can be used with [`getFilterChanges`](https://viem.sh/docs/actions/public/getFilterChanges.html).\n *\n * - Docs: https://viem.sh/docs/actions/public/createEventFilter.html\n * - JSON-RPC Methods: [`eth_newFilter`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_newfilter)\n *\n * @param client - Client to use\n * @param parameters - {@link CreateEventFilterParameters}\n * @returns [`Filter`](https://viem.sh/docs/glossary/types.html#filter). {@link CreateEventFilterReturnType}\n *\n * @example\n * import { createPublicClient, http } from 'viem'\n * import { mainnet } from 'viem/chains'\n * import { createEventFilter } from 'viem/public'\n *\n * const client = createPublicClient({\n * chain: mainnet,\n * transport: http(),\n * })\n * const filter = await createEventFilter(client, {\n * address: '0xfba3912ca04dd458c843e2ee08967fc04f3579c2',\n * })\n */\nasync function createEventFilter(client, { address, args, event, events: events_, fromBlock, strict, toBlock, } = {}) {\n const events = events_ ?? (event ? [event] : undefined);\n const getRequest = (0,_utils_filters_createFilterRequestScope_js__WEBPACK_IMPORTED_MODULE_0__.createFilterRequestScope)(client, {\n method: 'eth_newFilter',\n });\n let topics = [];\n if (events) {\n topics = [\n events.flatMap((event) => (0,_utils_abi_encodeEventTopics_js__WEBPACK_IMPORTED_MODULE_1__.encodeEventTopics)({\n abi: [event],\n eventName: event.name,\n args,\n })),\n ];\n if (event)\n topics = topics[0];\n }\n const id = await client.request({\n method: 'eth_newFilter',\n params: [\n {\n address,\n fromBlock: typeof fromBlock === 'bigint' ? (0,_utils_encoding_toHex_js__WEBPACK_IMPORTED_MODULE_2__.numberToHex)(fromBlock) : fromBlock,\n toBlock: typeof toBlock === 'bigint' ? (0,_utils_encoding_toHex_js__WEBPACK_IMPORTED_MODULE_2__.numberToHex)(toBlock) : toBlock,\n ...(topics.length ? { topics } : {}),\n },\n ],\n });\n return {\n abi: events,\n args,\n eventName: event ? event.name : undefined,\n fromBlock,\n id,\n request: getRequest(id),\n strict,\n toBlock,\n type: 'event',\n };\n}\n//# sourceMappingURL=createEventFilter.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/actions/public/createEventFilter.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/actions/public/createPendingTransactionFilter.js":
|
|||
|
/*!*********************************************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/actions/public/createPendingTransactionFilter.js ***!
|
|||
|
\*********************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ createPendingTransactionFilter: () => (/* binding */ createPendingTransactionFilter)\n/* harmony export */ });\n/* harmony import */ var _utils_filters_createFilterRequestScope_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/filters/createFilterRequestScope.js */ \"./node_modules/viem/_esm/utils/filters/createFilterRequestScope.js\");\n\n/**\n * Creates a Filter to listen for new pending transaction hashes that can be used with [`getFilterChanges`](https://viem.sh/docs/actions/public/getFilterChanges.html).\n *\n * - Docs: https://viem.sh/docs/actions/public/createPendingTransactionFilter.html\n * - JSON-RPC Methods: [`eth_newPendingTransactionFilter`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_newpendingtransactionfilter)\n *\n * @param client - Client to use\n * @returns [`Filter`](https://viem.sh/docs/glossary/types.html#filter). {@link CreateBlockFilterReturnType}\n *\n * @example\n * import { createPublicClient, http } from 'viem'\n * import { mainnet } from 'viem/chains'\n * import { createPendingTransactionFilter } from 'viem/public'\n *\n * const client = createPublicClient({\n * chain: mainnet,\n * transport: http(),\n * })\n * const filter = await createPendingTransactionFilter(client)\n * // { id: \"0x345a6572337856574a76364e457a4366\", type: 'transaction' }\n */\nasync function createPendingTransactionFilter(client) {\n const getRequest = (0,_utils_filters_createFilterRequestScope_js__WEBPACK_IMPORTED_MODULE_0__.createFilterRequestScope)(client, {\n method: 'eth_newPendingTransactionFilter',\n });\n const id = await client.request({\n method: 'eth_newPendingTransactionFilter',\n });\n return { id, request: getRequest(id), type: 'transaction' };\n}\n//# sourceMappingURL=createPendingTransactionFilter.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/actions/public/createPendingTransactionFilter.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/actions/public/estimateContractGas.js":
|
|||
|
/*!**********************************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/actions/public/estimateContractGas.js ***!
|
|||
|
\**********************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ estimateContractGas: () => (/* binding */ estimateContractGas)\n/* harmony export */ });\n/* harmony import */ var _accounts_utils_parseAccount_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../accounts/utils/parseAccount.js */ \"./node_modules/viem/_esm/accounts/utils/parseAccount.js\");\n/* harmony import */ var _utils_abi_encodeFunctionData_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/abi/encodeFunctionData.js */ \"./node_modules/viem/_esm/utils/abi/encodeFunctionData.js\");\n/* harmony import */ var _utils_errors_getContractError_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../utils/errors/getContractError.js */ \"./node_modules/viem/_esm/utils/errors/getContractError.js\");\n/* harmony import */ var _utils_getAction_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../utils/getAction.js */ \"./node_modules/viem/_esm/utils/getAction.js\");\n/* harmony import */ var _estimateGas_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./estimateGas.js */ \"./node_modules/viem/_esm/actions/public/estimateGas.js\");\n\n\n\n\n\n/**\n * Estimates the gas required to successfully execute a contract write function call.\n *\n * - Docs: https://viem.sh/docs/contract/estimateContractGas.html\n *\n * Internally, uses a [Public Client](https://viem.sh/docs/clients/public.html) to call the [`estimateGas` action](https://viem.sh/docs/actions/public/estimateGas.html) with [ABI-encoded `data`](https://viem.sh/docs/contract/encodeFunctionData.html).\n *\n * @param client - Client to use\n * @param parameters - {@link EstimateContractGasParameters}\n * @returns The gas estimate (in wei). {@link EstimateContractGasReturnType}\n *\n * @example\n * import { createPublicClient, http, parseAbi } from 'viem'\n * import { mainnet } from 'viem/chains'\n * import { estimateContractGas } from 'viem/contract'\n *\n * const client = createPublicClient({\n * chain: mainnet,\n * transport: http(),\n * })\n * const gas = await estimateContractGas(client, {\n * address: '0xFBA3912Ca04dd458c843e2EE08967fC04f3579c2',\n * abi: parseAbi(['function mint() public']),\n * functionName: 'mint',\n * account: '0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266',\n * })\n */\nasync function estimateContractGas(client, { abi, address, args, functionName, ...request }) {\n const data = (0,_utils_abi_encodeFunctionData_js__WEBPACK_IMPORTED_MODULE_0__.encodeFunctionData)({\n abi,\n args,\n functionName,\n });\n try {\n const gas = await (0,_utils_getAction_js__WEBPACK_IMPORTED_MODULE_1__.getAction)(client, _estimateGas_js__WEBPACK_IMPORTED_MODULE_2__.estimateGas, 'estimateGas')({\n data,\n to: address,\n ...request,\n });\n return gas;\n }\n catch (err) {\n const account = request.account ? (0,_accounts_utils_parseAccount_js__WEBPACK_IMPORTED_MODULE_3__.parseAccount)(request.account) : undefined;\n throw (0,_utils_errors_getContractError_js__WEBPACK_IMPORTED_MODULE_4__.getContractError)(err, {\n abi: abi,\n address,\n args,\n docsPath: '/docs/contract/estimateContractGas',\n functionName,\n sender: account?.address,\n });\n }\n}\n//# sourceMappingURL=estimateContractGas.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/actions/public/estimateContractGas.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/actions/public/estimateFeesPerGas.js":
|
|||
|
/*!*********************************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/actions/public/estimateFeesPerGas.js ***!
|
|||
|
\*********************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ estimateFeesPerGas: () => (/* binding */ estimateFeesPerGas),\n/* harmony export */ internal_estimateFeesPerGas: () => (/* binding */ internal_estimateFeesPerGas)\n/* harmony export */ });\n/* harmony import */ var _errors_fee_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../errors/fee.js */ \"./node_modules/viem/_esm/errors/fee.js\");\n/* harmony import */ var _utils_getAction_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../utils/getAction.js */ \"./node_modules/viem/_esm/utils/getAction.js\");\n/* harmony import */ var _estimateMaxPriorityFeePerGas_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./estimateMaxPriorityFeePerGas.js */ \"./node_modules/viem/_esm/actions/public/estimateMaxPriorityFeePerGas.js\");\n/* harmony import */ var _getBlock_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./getBlock.js */ \"./node_modules/viem/_esm/actions/public/getBlock.js\");\n/* harmony import */ var _getGasPrice_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./getGasPrice.js */ \"./node_modules/viem/_esm/actions/public/getGasPrice.js\");\n\n\n\n\n\n/**\n * Returns an estimate for the fees per gas (in wei) for a\n * transaction to be likely included in the next block.\n * Defaults to [`chain.fees.estimateFeesPerGas`](/docs/clients/chains.html#fees-estimatefeespergas) if set.\n *\n * - Docs: https://viem.sh/docs/actions/public/estimateFeesPerGas.html\n *\n * @param client - Client to use\n * @param parameters - {@link EstimateFeesPerGasParameters}\n * @returns An estimate (in wei) for the fees per gas. {@link EstimateFeesPerGasReturnType}\n *\n * @example\n * import { createPublicClient, http } from 'viem'\n * import { mainnet } from 'viem/chains'\n * import { estimateFeesPerGas } from 'viem/actions'\n *\n * const client = createPublicClient({\n * chain: mainnet,\n * transport: http(),\n * })\n * const maxPriorityFeePerGas = await estimateFeesPerGas(client)\n * // { maxFeePerGas: ..., maxPriorityFeePerGas: ... }\n */\nasync function estimateFeesPerGas(client, args) {\n return internal_estimateFeesPerGas(client, args);\n}\nasync function internal_estimateFeesPerGas(client, args) {\n const { block: block_, chain = client.chain, request, type = 'eip1559', } = args || {};\n const baseFeeMultiplier = await (async () => {\n if (typeof chain?.fees?.baseFeeMultiplier === 'function')\n return chain.fees.baseFeeMultiplier({\n block: block_,\n client,\n request,\n });\n return chain?.fees?.baseFeeMultiplier ?? 1.2;\n })();\n if (baseFeeMultiplier < 1)\n throw new _errors_fee_js__WEBPACK_IMPORTED_MODULE_0__.BaseFeeScalarError();\n const decimals = baseFeeMultiplier.toString().split('.')[1]?.length ?? 0;\n const denominator = 10 ** decimals;\n const multiply = (base) => (base * BigInt(Math.ceil(baseFeeMultiplier * denominator))) /\n BigInt(denominator);\n const block = block_\n ? block_\n : await (0,_utils_getAction_js__WEBPACK_IMPORTED_MODULE_1__.getAction)(client, _getBlock_js__WEBPACK_IMPORTED_MODULE_2__.getBlock, 'getBlock')({});\n if (typeof chain?.fees?.estimateFeesPerGas === 'function')\n return chain.fees.estimateFeesPerGas({\n block: block_,\n client,\n multiply,\n request,\n type,\n });\n if (type === 'eip1559') {\n if (typeof block.baseFeePerGas !== 'bigint')\n throw new _errors_fee_js__WEBPACK_IMPORTED_MODULE_0__.Eip1559FeesNotSupportedError();\n const maxPriorityFeePerGas = request?.maxPriorityFeePerGas\n ? request.maxPriorityFeePerGas\n : await (0,_estimateMaxPriorityFeePerGas_js__WEBPACK_IMPORTED_MODULE_3__.internal_estimateMaxPriorityFeePerGas)(client, {\n block,\n chain,\n request,\n });\n const baseFeePer
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/actions/public/estimateGas.js":
|
|||
|
/*!**************************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/actions/public/estimateGas.js ***!
|
|||
|
\**************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ estimateGas: () => (/* binding */ estimateGas)\n/* harmony export */ });\n/* harmony import */ var _accounts_utils_parseAccount_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../accounts/utils/parseAccount.js */ \"./node_modules/viem/_esm/accounts/utils/parseAccount.js\");\n/* harmony import */ var _errors_account_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../errors/account.js */ \"./node_modules/viem/_esm/errors/account.js\");\n/* harmony import */ var _utils_encoding_toHex_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../utils/encoding/toHex.js */ \"./node_modules/viem/_esm/utils/encoding/toHex.js\");\n/* harmony import */ var _utils_errors_getEstimateGasError_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../utils/errors/getEstimateGasError.js */ \"./node_modules/viem/_esm/utils/errors/getEstimateGasError.js\");\n/* harmony import */ var _utils_formatters_extract_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../utils/formatters/extract.js */ \"./node_modules/viem/_esm/utils/formatters/extract.js\");\n/* harmony import */ var _utils_formatters_transactionRequest_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../utils/formatters/transactionRequest.js */ \"./node_modules/viem/_esm/utils/formatters/transactionRequest.js\");\n/* harmony import */ var _utils_transaction_assertRequest_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../utils/transaction/assertRequest.js */ \"./node_modules/viem/_esm/utils/transaction/assertRequest.js\");\n/* harmony import */ var _wallet_prepareTransactionRequest_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../wallet/prepareTransactionRequest.js */ \"./node_modules/viem/_esm/actions/wallet/prepareTransactionRequest.js\");\n\n\n\n\n\n\n\n\n/**\n * Estimates the gas necessary to complete a transaction without submitting it to the network.\n *\n * - Docs: https://viem.sh/docs/actions/public/estimateGas.html\n * - JSON-RPC Methods: [`eth_estimateGas`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_estimategas)\n *\n * @param client - Client to use\n * @param parameters - {@link EstimateGasParameters}\n * @returns The gas estimate (in wei). {@link EstimateGasReturnType}\n *\n * @example\n * import { createPublicClient, http, parseEther } from 'viem'\n * import { mainnet } from 'viem/chains'\n * import { estimateGas } from 'viem/public'\n *\n * const client = createPublicClient({\n * chain: mainnet,\n * transport: http(),\n * })\n * const gasEstimate = await estimateGas(client, {\n * account: '0xA0Cf798816D4b9b9866b5330EEa46a18382f251e',\n * to: '0x70997970c51812dc3a010c7d01b50e0d17dc79c8',\n * value: parseEther('1'),\n * })\n */\nasync function estimateGas(client, args) {\n const account_ = args.account ?? client.account;\n if (!account_)\n throw new _errors_account_js__WEBPACK_IMPORTED_MODULE_0__.AccountNotFoundError({\n docsPath: '/docs/actions/public/estimateGas',\n });\n const account = (0,_accounts_utils_parseAccount_js__WEBPACK_IMPORTED_MODULE_1__.parseAccount)(account_);\n try {\n const { accessList, blockNumber, blockTag, data, gas, gasPrice, maxFeePerGas, maxPriorityFeePerGas, nonce, to, value, ...rest } = account.type === 'local'\n ? (await (0,_wallet_prepareTransactionRequest_js__WEBPACK_IMPORTED_MODULE_2__.prepareTransactionRequest)(client, args))\n : args;\n const blockNumberHex = blockNumber ? (0,_utils_encoding_toHex_js__WEBPACK_IMPORTED_MODULE_3__.numberToHex)(blockNumber) : undefined;\n const block = blockNumberHex || blockTag;\n (0,_utils_transaction_assertRequest_js__WEBPACK_IMPORTED_MODULE_4__.assertRequest)(args);\n const chainFormat = client.chain?.formatters?.transactionRequest?.format;\n const format = chainFormat || _utils_formatters_transactionRequest_js__WEBPACK_IMPORTED_MODULE_5__.formatTransacti
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/actions/public/estimateMaxPriorityFeePerGas.js":
|
|||
|
/*!*******************************************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/actions/public/estimateMaxPriorityFeePerGas.js ***!
|
|||
|
\*******************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ estimateMaxPriorityFeePerGas: () => (/* binding */ estimateMaxPriorityFeePerGas),\n/* harmony export */ internal_estimateMaxPriorityFeePerGas: () => (/* binding */ internal_estimateMaxPriorityFeePerGas)\n/* harmony export */ });\n/* harmony import */ var _errors_fee_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../errors/fee.js */ \"./node_modules/viem/_esm/errors/fee.js\");\n/* harmony import */ var _utils_encoding_fromHex_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../utils/encoding/fromHex.js */ \"./node_modules/viem/_esm/utils/encoding/fromHex.js\");\n/* harmony import */ var _utils_getAction_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/getAction.js */ \"./node_modules/viem/_esm/utils/getAction.js\");\n/* harmony import */ var _getBlock_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./getBlock.js */ \"./node_modules/viem/_esm/actions/public/getBlock.js\");\n/* harmony import */ var _getGasPrice_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./getGasPrice.js */ \"./node_modules/viem/_esm/actions/public/getGasPrice.js\");\n\n\n\n\n\n/**\n * Returns an estimate for the max priority fee per gas (in wei) for a\n * transaction to be likely included in the next block.\n * Defaults to [`chain.fees.defaultPriorityFee`](/docs/clients/chains.html#fees-defaultpriorityfee) if set.\n *\n * - Docs: https://viem.sh/docs/actions/public/estimateMaxPriorityFeePerGas.html\n *\n * @param client - Client to use\n * @returns An estimate (in wei) for the max priority fee per gas. {@link EstimateMaxPriorityFeePerGasReturnType}\n *\n * @example\n * import { createPublicClient, http } from 'viem'\n * import { mainnet } from 'viem/chains'\n * import { estimateMaxPriorityFeePerGas } from 'viem/actions'\n *\n * const client = createPublicClient({\n * chain: mainnet,\n * transport: http(),\n * })\n * const maxPriorityFeePerGas = await estimateMaxPriorityFeePerGas(client)\n * // 10000000n\n */\nasync function estimateMaxPriorityFeePerGas(client, args) {\n return internal_estimateMaxPriorityFeePerGas(client, args);\n}\nasync function internal_estimateMaxPriorityFeePerGas(client, args) {\n const { block: block_, chain = client.chain, request } = args || {};\n if (typeof chain?.fees?.defaultPriorityFee === 'function') {\n const block = block_ || (await (0,_utils_getAction_js__WEBPACK_IMPORTED_MODULE_0__.getAction)(client, _getBlock_js__WEBPACK_IMPORTED_MODULE_1__.getBlock, 'getBlock')({}));\n return chain.fees.defaultPriorityFee({\n block,\n client,\n request,\n });\n }\n if (typeof chain?.fees?.defaultPriorityFee !== 'undefined')\n return chain?.fees?.defaultPriorityFee;\n try {\n const maxPriorityFeePerGasHex = await client.request({\n method: 'eth_maxPriorityFeePerGas',\n });\n return (0,_utils_encoding_fromHex_js__WEBPACK_IMPORTED_MODULE_2__.hexToBigInt)(maxPriorityFeePerGasHex);\n }\n catch {\n // If the RPC Provider does not support `eth_maxPriorityFeePerGas`\n // fall back to calculating it manually via `gasPrice - baseFeePerGas`.\n // See: https://github.com/ethereum/pm/issues/328#:~:text=eth_maxPriorityFeePerGas%20after%20London%20will%20effectively%20return%20eth_gasPrice%20%2D%20baseFee\n const [block, gasPrice] = await Promise.all([\n block_\n ? Promise.resolve(block_)\n : (0,_utils_getAction_js__WEBPACK_IMPORTED_MODULE_0__.getAction)(client, _getBlock_js__WEBPACK_IMPORTED_MODULE_1__.getBlock, 'getBlock')({}),\n (0,_utils_getAction_js__WEBPACK_IMPORTED_MODULE_0__.getAction)(client, _getGasPrice_js__WEBPACK_IMPORTED_MODULE_3__.getGasPrice, 'getGasPrice')({}),\n ]);\n if (typeof block.baseFeePerGas !== 'bigint')\n throw new _errors_fee_js__WEBPACK_IMPORTED_MODULE_4__.Eip1559FeesNotSupportedError();\n
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/actions/public/getBalance.js":
|
|||
|
/*!*************************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/actions/public/getBalance.js ***!
|
|||
|
\*************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ getBalance: () => (/* binding */ getBalance)\n/* harmony export */ });\n/* harmony import */ var _utils_encoding_toHex_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/encoding/toHex.js */ \"./node_modules/viem/_esm/utils/encoding/toHex.js\");\n\n/**\n * Returns the balance of an address in wei.\n *\n * - Docs: https://viem.sh/docs/actions/public/getBalance.html\n * - JSON-RPC Methods: [`eth_getBalance`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_getbalance)\n *\n * You can convert the balance to ether units with [`formatEther`](https://viem.sh/docs/utilities/formatEther.html).\n *\n * ```ts\n * const balance = await getBalance(client, {\n * address: '0xA0Cf798816D4b9b9866b5330EEa46a18382f251e',\n * blockTag: 'safe'\n * })\n * const balanceAsEther = formatEther(balance)\n * // \"6.942\"\n * ```\n *\n * @param client - Client to use\n * @param parameters - {@link GetBalanceParameters}\n * @returns The balance of the address in wei. {@link GetBalanceReturnType}\n *\n * @example\n * import { createPublicClient, http } from 'viem'\n * import { mainnet } from 'viem/chains'\n * import { getBalance } from 'viem/public'\n *\n * const client = createPublicClient({\n * chain: mainnet,\n * transport: http(),\n * })\n * const balance = await getBalance(client, {\n * address: '0xA0Cf798816D4b9b9866b5330EEa46a18382f251e',\n * })\n * // 10000000000000000000000n (wei)\n */\nasync function getBalance(client, { address, blockNumber, blockTag = 'latest' }) {\n const blockNumberHex = blockNumber ? (0,_utils_encoding_toHex_js__WEBPACK_IMPORTED_MODULE_0__.numberToHex)(blockNumber) : undefined;\n const balance = await client.request({\n method: 'eth_getBalance',\n params: [address, blockNumberHex || blockTag],\n });\n return BigInt(balance);\n}\n//# sourceMappingURL=getBalance.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/actions/public/getBalance.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/actions/public/getBlock.js":
|
|||
|
/*!***********************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/actions/public/getBlock.js ***!
|
|||
|
\***********************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ getBlock: () => (/* binding */ getBlock)\n/* harmony export */ });\n/* harmony import */ var _errors_block_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../errors/block.js */ \"./node_modules/viem/_esm/errors/block.js\");\n/* harmony import */ var _utils_encoding_toHex_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/encoding/toHex.js */ \"./node_modules/viem/_esm/utils/encoding/toHex.js\");\n/* harmony import */ var _utils_formatters_block_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../utils/formatters/block.js */ \"./node_modules/viem/_esm/utils/formatters/block.js\");\n\n\n\n/**\n * Returns information about a block at a block number, hash, or tag.\n *\n * - Docs: https://viem.sh/docs/actions/public/getBlock.html\n * - Examples: https://stackblitz.com/github/wevm/viem/tree/main/examples/blocks/fetching-blocks\n * - JSON-RPC Methods:\n * - Calls [`eth_getBlockByNumber`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_getblockbynumber) for `blockNumber` & `blockTag`.\n * - Calls [`eth_getBlockByHash`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_getblockbyhash) for `blockHash`.\n *\n * @param client - Client to use\n * @param parameters - {@link GetBlockParameters}\n * @returns Information about the block. {@link GetBlockReturnType}\n *\n * @example\n * import { createPublicClient, http } from 'viem'\n * import { mainnet } from 'viem/chains'\n * import { getBlock } from 'viem/public'\n *\n * const client = createPublicClient({\n * chain: mainnet,\n * transport: http(),\n * })\n * const block = await getBlock(client)\n */\nasync function getBlock(client, { blockHash, blockNumber, blockTag: blockTag_, includeTransactions: includeTransactions_, } = {}) {\n const blockTag = blockTag_ ?? 'latest';\n const includeTransactions = includeTransactions_ ?? false;\n const blockNumberHex = blockNumber !== undefined ? (0,_utils_encoding_toHex_js__WEBPACK_IMPORTED_MODULE_0__.numberToHex)(blockNumber) : undefined;\n let block = null;\n if (blockHash) {\n block = await client.request({\n method: 'eth_getBlockByHash',\n params: [blockHash, includeTransactions],\n });\n }\n else {\n block = await client.request({\n method: 'eth_getBlockByNumber',\n params: [blockNumberHex || blockTag, includeTransactions],\n });\n }\n if (!block)\n throw new _errors_block_js__WEBPACK_IMPORTED_MODULE_1__.BlockNotFoundError({ blockHash, blockNumber });\n const format = client.chain?.formatters?.block?.format || _utils_formatters_block_js__WEBPACK_IMPORTED_MODULE_2__.formatBlock;\n return format(block);\n}\n//# sourceMappingURL=getBlock.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/actions/public/getBlock.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/actions/public/getBlockNumber.js":
|
|||
|
/*!*****************************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/actions/public/getBlockNumber.js ***!
|
|||
|
\*****************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ getBlockNumber: () => (/* binding */ getBlockNumber),\n/* harmony export */ getBlockNumberCache: () => (/* binding */ getBlockNumberCache)\n/* harmony export */ });\n/* harmony import */ var _utils_promise_withCache_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/promise/withCache.js */ \"./node_modules/viem/_esm/utils/promise/withCache.js\");\n\nconst cacheKey = (id) => `blockNumber.${id}`;\nfunction getBlockNumberCache(id) {\n return (0,_utils_promise_withCache_js__WEBPACK_IMPORTED_MODULE_0__.getCache)(cacheKey(id));\n}\n/**\n * Returns the number of the most recent block seen.\n *\n * - Docs: https://viem.sh/docs/actions/public/getBlockNumber.html\n * - Examples: https://stackblitz.com/github/wevm/viem/tree/main/examples/blocks/fetching-blocks\n * - JSON-RPC Methods: [`eth_blockNumber`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_blocknumber)\n *\n * @param client - Client to use\n * @param parameters - {@link GetBlockNumberParameters}\n * @returns The number of the block. {@link GetBlockNumberReturnType}\n *\n * @example\n * import { createPublicClient, http } from 'viem'\n * import { mainnet } from 'viem/chains'\n * import { getBlockNumber } from 'viem/public'\n *\n * const client = createPublicClient({\n * chain: mainnet,\n * transport: http(),\n * })\n * const blockNumber = await getBlockNumber(client)\n * // 69420n\n */\nasync function getBlockNumber(client, { cacheTime = client.cacheTime, maxAge } = {}) {\n const blockNumberHex = await (0,_utils_promise_withCache_js__WEBPACK_IMPORTED_MODULE_0__.withCache)(() => client.request({\n method: 'eth_blockNumber',\n }), { cacheKey: cacheKey(client.uid), cacheTime: maxAge ?? cacheTime });\n return BigInt(blockNumberHex);\n}\n//# sourceMappingURL=getBlockNumber.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/actions/public/getBlockNumber.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/actions/public/getBlockTransactionCount.js":
|
|||
|
/*!***************************************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/actions/public/getBlockTransactionCount.js ***!
|
|||
|
\***************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ getBlockTransactionCount: () => (/* binding */ getBlockTransactionCount)\n/* harmony export */ });\n/* harmony import */ var _utils_encoding_fromHex_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../utils/encoding/fromHex.js */ \"./node_modules/viem/_esm/utils/encoding/fromHex.js\");\n/* harmony import */ var _utils_encoding_toHex_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/encoding/toHex.js */ \"./node_modules/viem/_esm/utils/encoding/toHex.js\");\n\n\n/**\n * Returns the number of Transactions at a block number, hash, or tag.\n *\n * - Docs: https://viem.sh/docs/actions/public/getBlockTransactionCount.html\n * - JSON-RPC Methods:\n * - Calls [`eth_getBlockTransactionCountByNumber`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_getblocktransactioncountbynumber) for `blockNumber` & `blockTag`.\n * - Calls [`eth_getBlockTransactionCountByHash`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_getblocktransactioncountbyhash) for `blockHash`.\n *\n * @param client - Client to use\n * @param parameters - {@link GetBlockTransactionCountParameters}\n * @returns The block transaction count. {@link GetBlockTransactionCountReturnType}\n *\n * @example\n * import { createPublicClient, http } from 'viem'\n * import { mainnet } from 'viem/chains'\n * import { getBlockTransactionCount } from 'viem/public'\n *\n * const client = createPublicClient({\n * chain: mainnet,\n * transport: http(),\n * })\n * const count = await getBlockTransactionCount(client)\n */\nasync function getBlockTransactionCount(client, { blockHash, blockNumber, blockTag = 'latest', } = {}) {\n const blockNumberHex = blockNumber !== undefined ? (0,_utils_encoding_toHex_js__WEBPACK_IMPORTED_MODULE_0__.numberToHex)(blockNumber) : undefined;\n let count;\n if (blockHash) {\n count = await client.request({\n method: 'eth_getBlockTransactionCountByHash',\n params: [blockHash],\n });\n }\n else {\n count = await client.request({\n method: 'eth_getBlockTransactionCountByNumber',\n params: [blockNumberHex || blockTag],\n });\n }\n return (0,_utils_encoding_fromHex_js__WEBPACK_IMPORTED_MODULE_1__.hexToNumber)(count);\n}\n//# sourceMappingURL=getBlockTransactionCount.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/actions/public/getBlockTransactionCount.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/actions/public/getBytecode.js":
|
|||
|
/*!**************************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/actions/public/getBytecode.js ***!
|
|||
|
\**************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ getBytecode: () => (/* binding */ getBytecode)\n/* harmony export */ });\n/* harmony import */ var _utils_encoding_toHex_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/encoding/toHex.js */ \"./node_modules/viem/_esm/utils/encoding/toHex.js\");\n\n/**\n * Retrieves the bytecode at an address.\n *\n * - Docs: https://viem.sh/docs/contract/getBytecode.html\n * - JSON-RPC Methods: [`eth_getCode`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_getcode)\n *\n * @param client - Client to use\n * @param parameters - {@link GetBytecodeParameters}\n * @returns The contract's bytecode. {@link GetBytecodeReturnType}\n *\n * @example\n * import { createPublicClient, http } from 'viem'\n * import { mainnet } from 'viem/chains'\n * import { getBytecode } from 'viem/contract'\n *\n * const client = createPublicClient({\n * chain: mainnet,\n * transport: http(),\n * })\n * const code = await getBytecode(client, {\n * address: '0xFBA3912Ca04dd458c843e2EE08967fC04f3579c2',\n * })\n */\nasync function getBytecode(client, { address, blockNumber, blockTag = 'latest' }) {\n const blockNumberHex = blockNumber !== undefined ? (0,_utils_encoding_toHex_js__WEBPACK_IMPORTED_MODULE_0__.numberToHex)(blockNumber) : undefined;\n const hex = await client.request({\n method: 'eth_getCode',\n params: [address, blockNumberHex || blockTag],\n });\n if (hex === '0x')\n return undefined;\n return hex;\n}\n//# sourceMappingURL=getBytecode.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/actions/public/getBytecode.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/actions/public/getChainId.js":
|
|||
|
/*!*************************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/actions/public/getChainId.js ***!
|
|||
|
\*************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ getChainId: () => (/* binding */ getChainId)\n/* harmony export */ });\n/* harmony import */ var _utils_encoding_fromHex_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/encoding/fromHex.js */ \"./node_modules/viem/_esm/utils/encoding/fromHex.js\");\n\n/**\n * Returns the chain ID associated with the current network.\n *\n * - Docs: https://viem.sh/docs/actions/public/getChainId.html\n * - JSON-RPC Methods: [`eth_chainId`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_chainid)\n *\n * @param client - Client to use\n * @returns The current chain ID. {@link GetChainIdReturnType}\n *\n * @example\n * import { createPublicClient, http } from 'viem'\n * import { mainnet } from 'viem/chains'\n * import { getChainId } from 'viem/public'\n *\n * const client = createPublicClient({\n * chain: mainnet,\n * transport: http(),\n * })\n * const chainId = await getChainId(client)\n * // 1\n */\nasync function getChainId(client) {\n const chainIdHex = await client.request({\n method: 'eth_chainId',\n });\n return (0,_utils_encoding_fromHex_js__WEBPACK_IMPORTED_MODULE_0__.hexToNumber)(chainIdHex);\n}\n//# sourceMappingURL=getChainId.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/actions/public/getChainId.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/actions/public/getContractEvents.js":
|
|||
|
/*!********************************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/actions/public/getContractEvents.js ***!
|
|||
|
\********************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ getContractEvents: () => (/* binding */ getContractEvents)\n/* harmony export */ });\n/* harmony import */ var _utils_abi_getAbiItem_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/abi/getAbiItem.js */ \"./node_modules/viem/_esm/utils/abi/getAbiItem.js\");\n/* harmony import */ var _utils_getAction_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../utils/getAction.js */ \"./node_modules/viem/_esm/utils/getAction.js\");\n/* harmony import */ var _getLogs_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./getLogs.js */ \"./node_modules/viem/_esm/actions/public/getLogs.js\");\n\n\n\n/**\n * Returns a list of event logs emitted by a contract.\n *\n * - Docs: https://viem.sh/docs/actions/public/getContractEvents.html\n * - JSON-RPC Methods: [`eth_getLogs`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_getlogs)\n *\n * @param client - Client to use\n * @param parameters - {@link GetContractEventsParameters}\n * @returns A list of event logs. {@link GetContractEventsReturnType}\n *\n * @example\n * import { createClient, http } from 'viem'\n * import { mainnet } from 'viem/chains'\n * import { getContractEvents } from 'viem/public'\n * import { wagmiAbi } from './abi'\n *\n * const client = createClient({\n * chain: mainnet,\n * transport: http(),\n * })\n * const logs = await getContractEvents(client, {\n * address: '0xFBA3912Ca04dd458c843e2EE08967fC04f3579c2',\n * abi: wagmiAbi,\n * eventName: 'Transfer'\n * })\n */\nasync function getContractEvents(client, { abi, address, args, blockHash, eventName, fromBlock, toBlock, strict, }) {\n const event = eventName\n ? (0,_utils_abi_getAbiItem_js__WEBPACK_IMPORTED_MODULE_0__.getAbiItem)({ abi, name: eventName })\n : undefined;\n const events = !event\n ? abi.filter((x) => x.type === 'event')\n : undefined;\n return (0,_utils_getAction_js__WEBPACK_IMPORTED_MODULE_1__.getAction)(client, _getLogs_js__WEBPACK_IMPORTED_MODULE_2__.getLogs, 'getLogs')({\n address,\n args,\n blockHash,\n event,\n events,\n fromBlock,\n toBlock,\n strict,\n });\n}\n//# sourceMappingURL=getContractEvents.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/actions/public/getContractEvents.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/actions/public/getFeeHistory.js":
|
|||
|
/*!****************************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/actions/public/getFeeHistory.js ***!
|
|||
|
\****************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ getFeeHistory: () => (/* binding */ getFeeHistory)\n/* harmony export */ });\n/* harmony import */ var _utils_encoding_toHex_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/encoding/toHex.js */ \"./node_modules/viem/_esm/utils/encoding/toHex.js\");\n/* harmony import */ var _utils_formatters_feeHistory_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../utils/formatters/feeHistory.js */ \"./node_modules/viem/_esm/utils/formatters/feeHistory.js\");\n\n\n/**\n * Returns a collection of historical gas information.\n *\n * - Docs: https://viem.sh/docs/actions/public/getFeeHistory.html\n * - JSON-RPC Methods: [`eth_feeHistory`](https://docs.alchemy.com/reference/eth-feehistory)\n *\n * @param client - Client to use\n * @param parameters - {@link GetFeeHistoryParameters}\n * @returns The gas estimate (in wei). {@link GetFeeHistoryReturnType}\n *\n * @example\n * import { createPublicClient, http } from 'viem'\n * import { mainnet } from 'viem/chains'\n * import { getFeeHistory } from 'viem/public'\n *\n * const client = createPublicClient({\n * chain: mainnet,\n * transport: http(),\n * })\n * const feeHistory = await getFeeHistory(client, {\n * blockCount: 4,\n * rewardPercentiles: [25, 75],\n * })\n */\nasync function getFeeHistory(client, { blockCount, blockNumber, blockTag = 'latest', rewardPercentiles, }) {\n const blockNumberHex = blockNumber ? (0,_utils_encoding_toHex_js__WEBPACK_IMPORTED_MODULE_0__.numberToHex)(blockNumber) : undefined;\n const feeHistory = await client.request({\n method: 'eth_feeHistory',\n params: [\n (0,_utils_encoding_toHex_js__WEBPACK_IMPORTED_MODULE_0__.numberToHex)(blockCount),\n blockNumberHex || blockTag,\n rewardPercentiles,\n ],\n });\n return (0,_utils_formatters_feeHistory_js__WEBPACK_IMPORTED_MODULE_1__.formatFeeHistory)(feeHistory);\n}\n//# sourceMappingURL=getFeeHistory.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/actions/public/getFeeHistory.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/actions/public/getFilterChanges.js":
|
|||
|
/*!*******************************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/actions/public/getFilterChanges.js ***!
|
|||
|
\*******************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ getFilterChanges: () => (/* binding */ getFilterChanges)\n/* harmony export */ });\n/* harmony import */ var _errors_abi_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../errors/abi.js */ \"./node_modules/viem/_esm/errors/abi.js\");\n/* harmony import */ var _utils_abi_decodeEventLog_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/abi/decodeEventLog.js */ \"./node_modules/viem/_esm/utils/abi/decodeEventLog.js\");\n/* harmony import */ var _utils_formatters_log_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../utils/formatters/log.js */ \"./node_modules/viem/_esm/utils/formatters/log.js\");\n\n\n\n/**\n * Returns a list of logs or hashes based on a [Filter](/docs/glossary/terms#filter) since the last time it was called.\n *\n * - Docs: https://viem.sh/docs/actions/public/getFilterChanges.html\n * - JSON-RPC Methods: [`eth_getFilterChanges`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_getfilterchanges)\n *\n * A Filter can be created from the following actions:\n *\n * - [`createBlockFilter`](https://viem.sh/docs/actions/public/createBlockFilter.html)\n * - [`createContractEventFilter`](https://viem.sh/docs/contract/createContractEventFilter.html)\n * - [`createEventFilter`](https://viem.sh/docs/actions/public/createEventFilter.html)\n * - [`createPendingTransactionFilter`](https://viem.sh/docs/actions/public/createPendingTransactionFilter.html)\n *\n * Depending on the type of filter, the return value will be different:\n *\n * - If the filter was created with `createContractEventFilter` or `createEventFilter`, it returns a list of logs.\n * - If the filter was created with `createPendingTransactionFilter`, it returns a list of transaction hashes.\n * - If the filter was created with `createBlockFilter`, it returns a list of block hashes.\n *\n * @param client - Client to use\n * @param parameters - {@link GetFilterChangesParameters}\n * @returns Logs or hashes. {@link GetFilterChangesReturnType}\n *\n * @example\n * // Blocks\n * import { createPublicClient, http } from 'viem'\n * import { mainnet } from 'viem/chains'\n * import { createBlockFilter, getFilterChanges } from 'viem/public'\n *\n * const client = createPublicClient({\n * chain: mainnet,\n * transport: http(),\n * })\n * const filter = await createBlockFilter(client)\n * const hashes = await getFilterChanges(client, { filter })\n *\n * @example\n * // Contract Events\n * import { createPublicClient, http, parseAbi } from 'viem'\n * import { mainnet } from 'viem/chains'\n * import { createContractEventFilter, getFilterChanges } from 'viem/public'\n *\n * const client = createPublicClient({\n * chain: mainnet,\n * transport: http(),\n * })\n * const filter = await createContractEventFilter(client, {\n * address: '0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48',\n * abi: parseAbi(['event Transfer(address indexed, address indexed, uint256)']),\n * eventName: 'Transfer',\n * })\n * const logs = await getFilterChanges(client, { filter })\n *\n * @example\n * // Raw Events\n * import { createPublicClient, http, parseAbiItem } from 'viem'\n * import { mainnet } from 'viem/chains'\n * import { createEventFilter, getFilterChanges } from 'viem/public'\n *\n * const client = createPublicClient({\n * chain: mainnet,\n * transport: http(),\n * })\n * const filter = await createEventFilter(client, {\n * address: '0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48',\n * event: parseAbiItem('event Transfer(address indexed, address indexed, uint256)'),\n * })\n * const logs = await getFilterChanges(client, { filter })\n *\n * @example\n * // Transactions\n * import { createPublicClient, http } from 'viem'\n * import { mainnet } from 'viem/chains'\n * import { createPendingTransactionFilter, getFilterChanges } from 'viem/public'\n *\n * const client = createPublicClient({\n * chain: mainnet,\n * transport: http(),\n * })\n * const filter = await createPendingTr
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/actions/public/getFilterLogs.js":
|
|||
|
/*!****************************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/actions/public/getFilterLogs.js ***!
|
|||
|
\****************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ getFilterLogs: () => (/* binding */ getFilterLogs)\n/* harmony export */ });\n/* harmony import */ var _errors_abi_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../errors/abi.js */ \"./node_modules/viem/_esm/errors/abi.js\");\n/* harmony import */ var _utils_abi_decodeEventLog_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/abi/decodeEventLog.js */ \"./node_modules/viem/_esm/utils/abi/decodeEventLog.js\");\n/* harmony import */ var _utils_formatters_log_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../utils/formatters/log.js */ \"./node_modules/viem/_esm/utils/formatters/log.js\");\n\n\n\n/**\n * Returns a list of event logs since the filter was created.\n *\n * - Docs: https://viem.sh/docs/actions/public/getFilterLogs.html\n * - JSON-RPC Methods: [`eth_getFilterLogs`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_getfilterlogs)\n *\n * `getFilterLogs` is only compatible with **event filters**.\n *\n * @param client - Client to use\n * @param parameters - {@link GetFilterLogsParameters}\n * @returns A list of event logs. {@link GetFilterLogsReturnType}\n *\n * @example\n * import { createPublicClient, http, parseAbiItem } from 'viem'\n * import { mainnet } from 'viem/chains'\n * import { createEventFilter, getFilterLogs } from 'viem/public'\n *\n * const client = createPublicClient({\n * chain: mainnet,\n * transport: http(),\n * })\n * const filter = await createEventFilter(client, {\n * address: '0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48',\n * event: parseAbiItem('event Transfer(address indexed, address indexed, uint256)'),\n * })\n * const logs = await getFilterLogs(client, { filter })\n */\nasync function getFilterLogs(_client, { filter, }) {\n const strict = filter.strict ?? false;\n const logs = await filter.request({\n method: 'eth_getFilterLogs',\n params: [filter.id],\n });\n return logs\n .map((log) => {\n try {\n const { eventName, args } = 'abi' in filter && filter.abi\n ? (0,_utils_abi_decodeEventLog_js__WEBPACK_IMPORTED_MODULE_0__.decodeEventLog)({\n abi: filter.abi,\n data: log.data,\n topics: log.topics,\n strict,\n })\n : { eventName: undefined, args: undefined };\n return (0,_utils_formatters_log_js__WEBPACK_IMPORTED_MODULE_1__.formatLog)(log, { args, eventName });\n }\n catch (err) {\n let eventName;\n let isUnnamed;\n if (err instanceof _errors_abi_js__WEBPACK_IMPORTED_MODULE_2__.DecodeLogDataMismatch ||\n err instanceof _errors_abi_js__WEBPACK_IMPORTED_MODULE_2__.DecodeLogTopicsMismatch) {\n // If strict mode is on, and log data/topics do not match event definition, skip.\n if ('strict' in filter && filter.strict)\n return;\n eventName = err.abiItem.name;\n isUnnamed = err.abiItem.inputs?.some((x) => !('name' in x && x.name));\n }\n // Set args to empty if there is an error decoding (e.g. indexed/non-indexed params mismatch).\n return (0,_utils_formatters_log_js__WEBPACK_IMPORTED_MODULE_1__.formatLog)(log, { args: isUnnamed ? [] : {}, eventName });\n }\n })\n .filter(Boolean);\n}\n//# sourceMappingURL=getFilterLogs.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/actions/public/getFilterLogs.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/actions/public/getGasPrice.js":
|
|||
|
/*!**************************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/actions/public/getGasPrice.js ***!
|
|||
|
\**************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ getGasPrice: () => (/* binding */ getGasPrice)\n/* harmony export */ });\n/**\n * Returns the current price of gas (in wei).\n *\n * - Docs: https://viem.sh/docs/actions/public/getGasPrice.html\n * - JSON-RPC Methods: [`eth_gasPrice`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_gasprice)\n *\n * @param client - Client to use\n * @returns The gas price (in wei). {@link GetGasPriceReturnType}\n *\n * @example\n * import { createPublicClient, http } from 'viem'\n * import { mainnet } from 'viem/chains'\n * import { getGasPrice } from 'viem/public'\n *\n * const client = createPublicClient({\n * chain: mainnet,\n * transport: http(),\n * })\n * const gasPrice = await getGasPrice(client)\n */\nasync function getGasPrice(client) {\n const gasPrice = await client.request({\n method: 'eth_gasPrice',\n });\n return BigInt(gasPrice);\n}\n//# sourceMappingURL=getGasPrice.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/actions/public/getGasPrice.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/actions/public/getLogs.js":
|
|||
|
/*!**********************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/actions/public/getLogs.js ***!
|
|||
|
\**********************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ getLogs: () => (/* binding */ getLogs)\n/* harmony export */ });\n/* harmony import */ var _errors_abi_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../errors/abi.js */ \"./node_modules/viem/_esm/errors/abi.js\");\n/* harmony import */ var _utils_abi_decodeEventLog_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../utils/abi/decodeEventLog.js */ \"./node_modules/viem/_esm/utils/abi/decodeEventLog.js\");\n/* harmony import */ var _utils_abi_encodeEventTopics_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/abi/encodeEventTopics.js */ \"./node_modules/viem/_esm/utils/abi/encodeEventTopics.js\");\n/* harmony import */ var _utils_encoding_toHex_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../utils/encoding/toHex.js */ \"./node_modules/viem/_esm/utils/encoding/toHex.js\");\n/* harmony import */ var _utils_formatters_log_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../utils/formatters/log.js */ \"./node_modules/viem/_esm/utils/formatters/log.js\");\n\n\n\n\n\n/**\n * Returns a list of event logs matching the provided parameters.\n *\n * - Docs: https://viem.sh/docs/actions/public/getLogs.html\n * - Examples: https://stackblitz.com/github/wevm/viem/tree/main/examples/filters-and-logs/event-logs\n * - JSON-RPC Methods: [`eth_getLogs`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_getlogs)\n *\n * @param client - Client to use\n * @param parameters - {@link GetLogsParameters}\n * @returns A list of event logs. {@link GetLogsReturnType}\n *\n * @example\n * import { createPublicClient, http, parseAbiItem } from 'viem'\n * import { mainnet } from 'viem/chains'\n * import { getLogs } from 'viem/public'\n *\n * const client = createPublicClient({\n * chain: mainnet,\n * transport: http(),\n * })\n * const logs = await getLogs(client)\n */\nasync function getLogs(client, { address, blockHash, fromBlock, toBlock, event, events: events_, args, strict: strict_, } = {}) {\n const strict = strict_ ?? false;\n const events = events_ ?? (event ? [event] : undefined);\n let topics = [];\n if (events) {\n topics = [\n events.flatMap((event) => (0,_utils_abi_encodeEventTopics_js__WEBPACK_IMPORTED_MODULE_0__.encodeEventTopics)({\n abi: [event],\n eventName: event.name,\n args,\n })),\n ];\n if (event)\n topics = topics[0];\n }\n let logs;\n if (blockHash) {\n logs = await client.request({\n method: 'eth_getLogs',\n params: [{ address, topics, blockHash }],\n });\n }\n else {\n logs = await client.request({\n method: 'eth_getLogs',\n params: [\n {\n address,\n topics,\n fromBlock: typeof fromBlock === 'bigint' ? (0,_utils_encoding_toHex_js__WEBPACK_IMPORTED_MODULE_1__.numberToHex)(fromBlock) : fromBlock,\n toBlock: typeof toBlock === 'bigint' ? (0,_utils_encoding_toHex_js__WEBPACK_IMPORTED_MODULE_1__.numberToHex)(toBlock) : toBlock,\n },\n ],\n });\n }\n return logs\n .map((log) => {\n try {\n const { eventName, args } = events\n ? (0,_utils_abi_decodeEventLog_js__WEBPACK_IMPORTED_MODULE_2__.decodeEventLog)({\n abi: events,\n data: log.data,\n topics: log.topics,\n strict,\n })\n : { eventName: undefined, args: undefined };\n return (0,_utils_formatters_log_js__WEBPACK_IMPORTED_MODULE_3__.formatLog)(log, { args, eventName: eventName });\n }\n catch (err) {\n let eventName;\n let isUnnamed;\n if (err instanceof _errors_abi_js__WEBPACK_IMPORTED_MODULE_4__.DecodeLogDataMismatch ||\n e
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/actions/public/getProof.js":
|
|||
|
/*!***********************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/actions/public/getProof.js ***!
|
|||
|
\***********************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ getProof: () => (/* binding */ getProof)\n/* harmony export */ });\n/* harmony import */ var _utils_encoding_toHex_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/encoding/toHex.js */ \"./node_modules/viem/_esm/utils/encoding/toHex.js\");\n/* harmony import */ var _utils_formatters_proof_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../utils/formatters/proof.js */ \"./node_modules/viem/_esm/utils/formatters/proof.js\");\n\n\n/**\n * Returns the account and storage values of the specified account including the Merkle-proof.\n *\n * - Docs: https://viem.sh/docs/actions/public/getProof.html\n * - JSON-RPC Methods:\n * - Calls [`eth_getProof`](https://eips.ethereum.org/EIPS/eip-1186)\n *\n * @param client - Client to use\n * @param parameters - {@link GetProofParameters}\n * @returns Proof data. {@link GetProofReturnType}\n *\n * @example\n * import { createPublicClient, http } from 'viem'\n * import { mainnet } from 'viem/chains'\n * import { getProof } from 'viem/public'\n *\n * const client = createPublicClient({\n * chain: mainnet,\n * transport: http(),\n * })\n * const block = await getProof(client, {\n * address: '0x...',\n * storageKeys: ['0x...'],\n * })\n */\nasync function getProof(client, { address, blockNumber, blockTag: blockTag_, storageKeys, }) {\n const blockTag = blockTag_ ?? 'latest';\n const blockNumberHex = blockNumber !== undefined ? (0,_utils_encoding_toHex_js__WEBPACK_IMPORTED_MODULE_0__.numberToHex)(blockNumber) : undefined;\n const proof = await client.request({\n method: 'eth_getProof',\n params: [address, storageKeys, blockNumberHex || blockTag],\n });\n return (0,_utils_formatters_proof_js__WEBPACK_IMPORTED_MODULE_1__.formatProof)(proof);\n}\n//# sourceMappingURL=getProof.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/actions/public/getProof.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/actions/public/getStorageAt.js":
|
|||
|
/*!***************************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/actions/public/getStorageAt.js ***!
|
|||
|
\***************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ getStorageAt: () => (/* binding */ getStorageAt)\n/* harmony export */ });\n/* harmony import */ var _utils_encoding_toHex_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/encoding/toHex.js */ \"./node_modules/viem/_esm/utils/encoding/toHex.js\");\n\n/**\n * Returns the value from a storage slot at a given address.\n *\n * - Docs: https://viem.sh/docs/contract/getStorageAt.html\n * - JSON-RPC Methods: [`eth_getStorageAt`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_getstorageat)\n *\n * @param client - Client to use\n * @param parameters - {@link GetStorageAtParameters}\n * @returns The value of the storage slot. {@link GetStorageAtReturnType}\n *\n * @example\n * import { createPublicClient, http } from 'viem'\n * import { mainnet } from 'viem/chains'\n * import { getStorageAt } from 'viem/contract'\n *\n * const client = createPublicClient({\n * chain: mainnet,\n * transport: http(),\n * })\n * const code = await getStorageAt(client, {\n * address: '0xFBA3912Ca04dd458c843e2EE08967fC04f3579c2',\n * slot: toHex(0),\n * })\n */\nasync function getStorageAt(client, { address, blockNumber, blockTag = 'latest', slot }) {\n const blockNumberHex = blockNumber !== undefined ? (0,_utils_encoding_toHex_js__WEBPACK_IMPORTED_MODULE_0__.numberToHex)(blockNumber) : undefined;\n const data = await client.request({\n method: 'eth_getStorageAt',\n params: [address, slot, blockNumberHex || blockTag],\n });\n return data;\n}\n//# sourceMappingURL=getStorageAt.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/actions/public/getStorageAt.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/actions/public/getTransaction.js":
|
|||
|
/*!*****************************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/actions/public/getTransaction.js ***!
|
|||
|
\*****************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ getTransaction: () => (/* binding */ getTransaction)\n/* harmony export */ });\n/* harmony import */ var _errors_transaction_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../errors/transaction.js */ \"./node_modules/viem/_esm/errors/transaction.js\");\n/* harmony import */ var _utils_encoding_toHex_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/encoding/toHex.js */ \"./node_modules/viem/_esm/utils/encoding/toHex.js\");\n/* harmony import */ var _utils_formatters_transaction_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../utils/formatters/transaction.js */ \"./node_modules/viem/_esm/utils/formatters/transaction.js\");\n\n\n\n/**\n * Returns information about a [Transaction](https://viem.sh/docs/glossary/terms.html#transaction) given a hash or block identifier.\n *\n * - Docs: https://viem.sh/docs/actions/public/getTransaction.html\n * - Example: https://stackblitz.com/github/wevm/viem/tree/main/examples/transactions/fetching-transactions\n * - JSON-RPC Methods: [`eth_getTransactionByHash`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_getTransactionByHash)\n *\n * @param client - Client to use\n * @param parameters - {@link GetTransactionParameters}\n * @returns The transaction information. {@link GetTransactionReturnType}\n *\n * @example\n * import { createPublicClient, http } from 'viem'\n * import { mainnet } from 'viem/chains'\n * import { getTransaction } from 'viem/public'\n *\n * const client = createPublicClient({\n * chain: mainnet,\n * transport: http(),\n * })\n * const transaction = await getTransaction(client, {\n * hash: '0x4ca7ee652d57678f26e887c149ab0735f41de37bcad58c9f6d3ed5824f15b74d',\n * })\n */\nasync function getTransaction(client, { blockHash, blockNumber, blockTag: blockTag_, hash, index, }) {\n const blockTag = blockTag_ || 'latest';\n const blockNumberHex = blockNumber !== undefined ? (0,_utils_encoding_toHex_js__WEBPACK_IMPORTED_MODULE_0__.numberToHex)(blockNumber) : undefined;\n let transaction = null;\n if (hash) {\n transaction = await client.request({\n method: 'eth_getTransactionByHash',\n params: [hash],\n });\n }\n else if (blockHash) {\n transaction = await client.request({\n method: 'eth_getTransactionByBlockHashAndIndex',\n params: [blockHash, (0,_utils_encoding_toHex_js__WEBPACK_IMPORTED_MODULE_0__.numberToHex)(index)],\n });\n }\n else if (blockNumberHex || blockTag) {\n transaction = await client.request({\n method: 'eth_getTransactionByBlockNumberAndIndex',\n params: [blockNumberHex || blockTag, (0,_utils_encoding_toHex_js__WEBPACK_IMPORTED_MODULE_0__.numberToHex)(index)],\n });\n }\n if (!transaction)\n throw new _errors_transaction_js__WEBPACK_IMPORTED_MODULE_1__.TransactionNotFoundError({\n blockHash,\n blockNumber,\n blockTag,\n hash,\n index,\n });\n const format = client.chain?.formatters?.transaction?.format || _utils_formatters_transaction_js__WEBPACK_IMPORTED_MODULE_2__.formatTransaction;\n return format(transaction);\n}\n//# sourceMappingURL=getTransaction.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/actions/public/getTransaction.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/actions/public/getTransactionConfirmations.js":
|
|||
|
/*!******************************************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/actions/public/getTransactionConfirmations.js ***!
|
|||
|
\******************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ getTransactionConfirmations: () => (/* binding */ getTransactionConfirmations)\n/* harmony export */ });\n/* harmony import */ var _utils_getAction_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/getAction.js */ \"./node_modules/viem/_esm/utils/getAction.js\");\n/* harmony import */ var _getBlockNumber_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./getBlockNumber.js */ \"./node_modules/viem/_esm/actions/public/getBlockNumber.js\");\n/* harmony import */ var _getTransaction_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./getTransaction.js */ \"./node_modules/viem/_esm/actions/public/getTransaction.js\");\n\n\n\n/**\n * Returns the number of blocks passed (confirmations) since the transaction was processed on a block.\n *\n * - Docs: https://viem.sh/docs/actions/public/getTransactionConfirmations.html\n * - Example: https://stackblitz.com/github/wevm/viem/tree/main/examples/transactions/fetching-transactions\n * - JSON-RPC Methods: [`eth_getTransactionConfirmations`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_getTransactionConfirmations)\n *\n * @param client - Client to use\n * @param parameters - {@link GetTransactionConfirmationsParameters}\n * @returns The number of blocks passed since the transaction was processed. If confirmations is 0, then the Transaction has not been confirmed & processed yet. {@link GetTransactionConfirmationsReturnType}\n *\n * @example\n * import { createPublicClient, http } from 'viem'\n * import { mainnet } from 'viem/chains'\n * import { getTransactionConfirmations } from 'viem/public'\n *\n * const client = createPublicClient({\n * chain: mainnet,\n * transport: http(),\n * })\n * const confirmations = await getTransactionConfirmations(client, {\n * hash: '0x4ca7ee652d57678f26e887c149ab0735f41de37bcad58c9f6d3ed5824f15b74d',\n * })\n */\nasync function getTransactionConfirmations(client, { hash, transactionReceipt }) {\n const [blockNumber, transaction] = await Promise.all([\n (0,_utils_getAction_js__WEBPACK_IMPORTED_MODULE_0__.getAction)(client, _getBlockNumber_js__WEBPACK_IMPORTED_MODULE_1__.getBlockNumber, 'getBlockNumber')({}),\n hash\n ? (0,_utils_getAction_js__WEBPACK_IMPORTED_MODULE_0__.getAction)(client, _getTransaction_js__WEBPACK_IMPORTED_MODULE_2__.getTransaction, 'getBlockNumber')({ hash })\n : undefined,\n ]);\n const transactionBlockNumber = transactionReceipt?.blockNumber || transaction?.blockNumber;\n if (!transactionBlockNumber)\n return 0n;\n return blockNumber - transactionBlockNumber + 1n;\n}\n//# sourceMappingURL=getTransactionConfirmations.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/actions/public/getTransactionConfirmations.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/actions/public/getTransactionCount.js":
|
|||
|
/*!**********************************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/actions/public/getTransactionCount.js ***!
|
|||
|
\**********************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ getTransactionCount: () => (/* binding */ getTransactionCount)\n/* harmony export */ });\n/* harmony import */ var _utils_encoding_fromHex_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../utils/encoding/fromHex.js */ \"./node_modules/viem/_esm/utils/encoding/fromHex.js\");\n/* harmony import */ var _utils_encoding_toHex_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/encoding/toHex.js */ \"./node_modules/viem/_esm/utils/encoding/toHex.js\");\n\n\n/**\n * Returns the number of [Transactions](https://viem.sh/docs/glossary/terms.html#transaction) an Account has broadcast / sent.\n *\n * - Docs: https://viem.sh/docs/actions/public/getTransactionCount.html\n * - JSON-RPC Methods: [`eth_getTransactionCount`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_gettransactioncount)\n *\n * @param client - Client to use\n * @param parameters - {@link GetTransactionCountParameters}\n * @returns The number of transactions an account has sent. {@link GetTransactionCountReturnType}\n *\n * @example\n * import { createPublicClient, http } from 'viem'\n * import { mainnet } from 'viem/chains'\n * import { getTransactionCount } from 'viem/public'\n *\n * const client = createPublicClient({\n * chain: mainnet,\n * transport: http(),\n * })\n * const transactionCount = await getTransactionCount(client, {\n * address: '0xA0Cf798816D4b9b9866b5330EEa46a18382f251e',\n * })\n */\nasync function getTransactionCount(client, { address, blockTag = 'latest', blockNumber }) {\n const count = await client.request({\n method: 'eth_getTransactionCount',\n params: [address, blockNumber ? (0,_utils_encoding_toHex_js__WEBPACK_IMPORTED_MODULE_0__.numberToHex)(blockNumber) : blockTag],\n });\n return (0,_utils_encoding_fromHex_js__WEBPACK_IMPORTED_MODULE_1__.hexToNumber)(count);\n}\n//# sourceMappingURL=getTransactionCount.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/actions/public/getTransactionCount.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/actions/public/getTransactionReceipt.js":
|
|||
|
/*!************************************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/actions/public/getTransactionReceipt.js ***!
|
|||
|
\************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ getTransactionReceipt: () => (/* binding */ getTransactionReceipt)\n/* harmony export */ });\n/* harmony import */ var _errors_transaction_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../errors/transaction.js */ \"./node_modules/viem/_esm/errors/transaction.js\");\n/* harmony import */ var _utils_formatters_transactionReceipt_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../utils/formatters/transactionReceipt.js */ \"./node_modules/viem/_esm/utils/formatters/transactionReceipt.js\");\n\n\n/**\n * Returns the [Transaction Receipt](https://viem.sh/docs/glossary/terms.html#transaction-receipt) given a [Transaction](https://viem.sh/docs/glossary/terms.html#transaction) hash.\n *\n * - Docs: https://viem.sh/docs/actions/public/getTransactionReceipt.html\n * - Example: https://stackblitz.com/github/wevm/viem/tree/main/examples/transactions/fetching-transactions\n * - JSON-RPC Methods: [`eth_getTransactionReceipt`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_gettransactionreceipt)\n *\n * @param client - Client to use\n * @param parameters - {@link GetTransactionReceiptParameters}\n * @returns The transaction receipt. {@link GetTransactionReceiptReturnType}\n *\n * @example\n * import { createPublicClient, http } from 'viem'\n * import { mainnet } from 'viem/chains'\n * import { getTransactionReceipt } from 'viem/public'\n *\n * const client = createPublicClient({\n * chain: mainnet,\n * transport: http(),\n * })\n * const transactionReceipt = await getTransactionReceipt(client, {\n * hash: '0x4ca7ee652d57678f26e887c149ab0735f41de37bcad58c9f6d3ed5824f15b74d',\n * })\n */\nasync function getTransactionReceipt(client, { hash }) {\n const receipt = await client.request({\n method: 'eth_getTransactionReceipt',\n params: [hash],\n });\n if (!receipt)\n throw new _errors_transaction_js__WEBPACK_IMPORTED_MODULE_0__.TransactionReceiptNotFoundError({ hash });\n const format = client.chain?.formatters?.transactionReceipt?.format ||\n _utils_formatters_transactionReceipt_js__WEBPACK_IMPORTED_MODULE_1__.formatTransactionReceipt;\n return format(receipt);\n}\n//# sourceMappingURL=getTransactionReceipt.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/actions/public/getTransactionReceipt.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/actions/public/multicall.js":
|
|||
|
/*!************************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/actions/public/multicall.js ***!
|
|||
|
\************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ multicall: () => (/* binding */ multicall)\n/* harmony export */ });\n/* harmony import */ var _constants_abis_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../constants/abis.js */ \"./node_modules/viem/_esm/constants/abis.js\");\n/* harmony import */ var _errors_abi_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../errors/abi.js */ \"./node_modules/viem/_esm/errors/abi.js\");\n/* harmony import */ var _errors_base_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../errors/base.js */ \"./node_modules/viem/_esm/errors/base.js\");\n/* harmony import */ var _errors_contract_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../errors/contract.js */ \"./node_modules/viem/_esm/errors/contract.js\");\n/* harmony import */ var _utils_abi_decodeFunctionResult_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../utils/abi/decodeFunctionResult.js */ \"./node_modules/viem/_esm/utils/abi/decodeFunctionResult.js\");\n/* harmony import */ var _utils_abi_encodeFunctionData_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../utils/abi/encodeFunctionData.js */ \"./node_modules/viem/_esm/utils/abi/encodeFunctionData.js\");\n/* harmony import */ var _utils_chain_getChainContractAddress_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/chain/getChainContractAddress.js */ \"./node_modules/viem/_esm/utils/chain/getChainContractAddress.js\");\n/* harmony import */ var _utils_errors_getContractError_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../utils/errors/getContractError.js */ \"./node_modules/viem/_esm/utils/errors/getContractError.js\");\n/* harmony import */ var _utils_getAction_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../utils/getAction.js */ \"./node_modules/viem/_esm/utils/getAction.js\");\n/* harmony import */ var _readContract_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./readContract.js */ \"./node_modules/viem/_esm/actions/public/readContract.js\");\n\n\n\n\n\n\n\n\n\n\n/**\n * Similar to [`readContract`](https://viem.sh/docs/contract/readContract.html), but batches up multiple functions on a contract in a single RPC call via the [`multicall3` contract](https://github.com/mds1/multicall).\n *\n * - Docs: https://viem.sh/docs/contract/multicall.html\n *\n * @param client - Client to use\n * @param parameters - {@link MulticallParameters}\n * @returns An array of results with accompanying status. {@link MulticallReturnType}\n *\n * @example\n * import { createPublicClient, http, parseAbi } from 'viem'\n * import { mainnet } from 'viem/chains'\n * import { multicall } from 'viem/contract'\n *\n * const client = createPublicClient({\n * chain: mainnet,\n * transport: http(),\n * })\n * const abi = parseAbi([\n * 'function balanceOf(address) view returns (uint256)',\n * 'function totalSupply() view returns (uint256)',\n * ])\n * const results = await multicall(client, {\n * contracts: [\n * {\n * address: '0xFBA3912Ca04dd458c843e2EE08967fC04f3579c2',\n * abi,\n * functionName: 'balanceOf',\n * args: ['0xA0Cf798816D4b9b9866b5330EEa46a18382f251e'],\n * },\n * {\n * address: '0xFBA3912Ca04dd458c843e2EE08967fC04f3579c2',\n * abi,\n * functionName: 'totalSupply',\n * },\n * ],\n * })\n * // [{ result: 424122n, status: 'success' }, { result: 1000000n, status: 'success' }]\n */\nasync function multicall(client, args) {\n const { allowFailure = true, batchSize: batchSize_, blockNumber, blockTag, contracts, multicallAddress: multicallAddress_, } = args;\n const batchSize = batchSize_ ??\n ((typeof client.batch?.multicall === 'object' &&\n client.batch.multicall.batchSize) ||\n 1024);\n let multicallAddress = multicallAddress_;\n if (!multicallAddress) {\n if (!client.chain)\n throw new Error('client chain not configured. multicallAddres
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/actions/public/readContract.js":
|
|||
|
/*!***************************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/actions/public/readContract.js ***!
|
|||
|
\***************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ readContract: () => (/* binding */ readContract)\n/* harmony export */ });\n/* harmony import */ var _utils_abi_decodeFunctionResult_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../utils/abi/decodeFunctionResult.js */ \"./node_modules/viem/_esm/utils/abi/decodeFunctionResult.js\");\n/* harmony import */ var _utils_abi_encodeFunctionData_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/abi/encodeFunctionData.js */ \"./node_modules/viem/_esm/utils/abi/encodeFunctionData.js\");\n/* harmony import */ var _utils_errors_getContractError_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../utils/errors/getContractError.js */ \"./node_modules/viem/_esm/utils/errors/getContractError.js\");\n/* harmony import */ var _utils_getAction_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../utils/getAction.js */ \"./node_modules/viem/_esm/utils/getAction.js\");\n/* harmony import */ var _call_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./call.js */ \"./node_modules/viem/_esm/actions/public/call.js\");\n\n\n\n\n\n/**\n * Calls a read-only function on a contract, and returns the response.\n *\n * - Docs: https://viem.sh/docs/contract/readContract.html\n * - Examples: https://stackblitz.com/github/wevm/viem/tree/main/examples/contracts/reading-contracts\n *\n * A \"read-only\" function (constant function) on a Solidity contract is denoted by a `view` or `pure` keyword. They can only read the state of the contract, and cannot make any changes to it. Since read-only methods do not change the state of the contract, they do not require any gas to be executed, and can be called by any user without the need to pay for gas.\n *\n * Internally, uses a [Public Client](https://viem.sh/docs/clients/public.html) to call the [`call` action](https://viem.sh/docs/actions/public/call.html) with [ABI-encoded `data`](https://viem.sh/docs/contract/encodeFunctionData.html).\n *\n * @param client - Client to use\n * @param parameters - {@link ReadContractParameters}\n * @returns The response from the contract. Type is inferred. {@link ReadContractReturnType}\n *\n * @example\n * import { createPublicClient, http, parseAbi } from 'viem'\n * import { mainnet } from 'viem/chains'\n * import { readContract } from 'viem/contract'\n *\n * const client = createPublicClient({\n * chain: mainnet,\n * transport: http(),\n * })\n * const result = await readContract(client, {\n * address: '0xFBA3912Ca04dd458c843e2EE08967fC04f3579c2',\n * abi: parseAbi(['function balanceOf(address) view returns (uint256)']),\n * functionName: 'balanceOf',\n * args: ['0xA0Cf798816D4b9b9866b5330EEa46a18382f251e'],\n * })\n * // 424122n\n */\nasync function readContract(client, { abi, address, args, functionName, ...callRequest }) {\n const calldata = (0,_utils_abi_encodeFunctionData_js__WEBPACK_IMPORTED_MODULE_0__.encodeFunctionData)({\n abi,\n args,\n functionName,\n });\n try {\n const { data } = await (0,_utils_getAction_js__WEBPACK_IMPORTED_MODULE_1__.getAction)(client, _call_js__WEBPACK_IMPORTED_MODULE_2__.call, 'call')({\n data: calldata,\n to: address,\n ...callRequest,\n });\n return (0,_utils_abi_decodeFunctionResult_js__WEBPACK_IMPORTED_MODULE_3__.decodeFunctionResult)({\n abi,\n args,\n functionName,\n data: data || '0x',\n });\n }\n catch (err) {\n throw (0,_utils_errors_getContractError_js__WEBPACK_IMPORTED_MODULE_4__.getContractError)(err, {\n abi: abi,\n address,\n args,\n docsPath: '/docs/contract/readContract',\n functionName,\n });\n }\n}\n//# sourceMappingURL=readContract.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/actions/public/readContract.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/actions/public/simulateContract.js":
|
|||
|
/*!*******************************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/actions/public/simulateContract.js ***!
|
|||
|
\*******************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ simulateContract: () => (/* binding */ simulateContract)\n/* harmony export */ });\n/* harmony import */ var _accounts_utils_parseAccount_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../accounts/utils/parseAccount.js */ \"./node_modules/viem/_esm/accounts/utils/parseAccount.js\");\n/* harmony import */ var _utils_abi_decodeFunctionResult_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../utils/abi/decodeFunctionResult.js */ \"./node_modules/viem/_esm/utils/abi/decodeFunctionResult.js\");\n/* harmony import */ var _utils_abi_encodeFunctionData_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../utils/abi/encodeFunctionData.js */ \"./node_modules/viem/_esm/utils/abi/encodeFunctionData.js\");\n/* harmony import */ var _utils_errors_getContractError_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../utils/errors/getContractError.js */ \"./node_modules/viem/_esm/utils/errors/getContractError.js\");\n/* harmony import */ var _utils_getAction_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../utils/getAction.js */ \"./node_modules/viem/_esm/utils/getAction.js\");\n/* harmony import */ var _call_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./call.js */ \"./node_modules/viem/_esm/actions/public/call.js\");\n\n\n\n\n\n\n/**\n * Simulates/validates a contract interaction. This is useful for retrieving **return data** and **revert reasons** of contract write functions.\n *\n * - Docs: https://viem.sh/docs/contract/simulateContract.html\n * - Examples: https://stackblitz.com/github/wevm/viem/tree/main/examples/contracts/writing-to-contracts\n *\n * This function does not require gas to execute and _**does not**_ change the state of the blockchain. It is almost identical to [`readContract`](https://viem.sh/docs/contract/readContract.html), but also supports contract write functions.\n *\n * Internally, uses a [Public Client](https://viem.sh/docs/clients/public.html) to call the [`call` action](https://viem.sh/docs/actions/public/call.html) with [ABI-encoded `data`](https://viem.sh/docs/contract/encodeFunctionData.html).\n *\n * @param client - Client to use\n * @param parameters - {@link SimulateContractParameters}\n * @returns The simulation result and write request. {@link SimulateContractReturnType}\n *\n * @example\n * import { createPublicClient, http } from 'viem'\n * import { mainnet } from 'viem/chains'\n * import { simulateContract } from 'viem/contract'\n *\n * const client = createPublicClient({\n * chain: mainnet,\n * transport: http(),\n * })\n * const result = await simulateContract(client, {\n * address: '0xFBA3912Ca04dd458c843e2EE08967fC04f3579c2',\n * abi: parseAbi(['function mint(uint32) view returns (uint32)']),\n * functionName: 'mint',\n * args: ['69420'],\n * account: '0xA0Cf798816D4b9b9866b5330EEa46a18382f251e',\n * })\n */\nasync function simulateContract(client, { abi, address, args, dataSuffix, functionName, ...callRequest }) {\n const account = callRequest.account\n ? (0,_accounts_utils_parseAccount_js__WEBPACK_IMPORTED_MODULE_0__.parseAccount)(callRequest.account)\n : undefined;\n const calldata = (0,_utils_abi_encodeFunctionData_js__WEBPACK_IMPORTED_MODULE_1__.encodeFunctionData)({\n abi,\n args,\n functionName,\n });\n try {\n const { data } = await (0,_utils_getAction_js__WEBPACK_IMPORTED_MODULE_2__.getAction)(client, _call_js__WEBPACK_IMPORTED_MODULE_3__.call, 'call')({\n batch: false,\n data: `${calldata}${dataSuffix ? dataSuffix.replace('0x', '') : ''}`,\n to: address,\n ...callRequest,\n });\n const result = (0,_utils_abi_decodeFunctionResult_js__WEBPACK_IMPORTED_MODULE_4__.decodeFunctionResult)({\n abi,\n args,\n functionName,\n data: data || '0x',\n });\n return {\n result,\n re
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/actions/public/uninstallFilter.js":
|
|||
|
/*!******************************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/actions/public/uninstallFilter.js ***!
|
|||
|
\******************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ uninstallFilter: () => (/* binding */ uninstallFilter)\n/* harmony export */ });\n/**\n * Destroys a [`Filter`](https://viem.sh/docs/glossary/types.html#filter).\n *\n * - Docs: https://viem.sh/docs/actions/public/uninstallFilter.html\n * - JSON-RPC Methods: [`eth_uninstallFilter`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_uninstallFilter)\n *\n * Destroys a Filter that was created from one of the following Actions:\n * - [`createBlockFilter`](https://viem.sh/docs/actions/public/createBlockFilter.html)\n * - [`createEventFilter`](https://viem.sh/docs/actions/public/createEventFilter.html)\n * - [`createPendingTransactionFilter`](https://viem.sh/docs/actions/public/createPendingTransactionFilter.html)\n *\n * @param client - Client to use\n * @param parameters - {@link UninstallFilterParameters}\n * @returns A boolean indicating if the Filter was successfully uninstalled. {@link UninstallFilterReturnType}\n *\n * @example\n * import { createPublicClient, http } from 'viem'\n * import { mainnet } from 'viem/chains'\n * import { createPendingTransactionFilter, uninstallFilter } from 'viem/public'\n *\n * const filter = await createPendingTransactionFilter(client)\n * const uninstalled = await uninstallFilter(client, { filter })\n * // true\n */\nasync function uninstallFilter(_client, { filter }) {\n return filter.request({\n method: 'eth_uninstallFilter',\n params: [filter.id],\n });\n}\n//# sourceMappingURL=uninstallFilter.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/actions/public/uninstallFilter.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/actions/public/verifyHash.js":
|
|||
|
/*!*************************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/actions/public/verifyHash.js ***!
|
|||
|
\*************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ verifyHash: () => (/* binding */ verifyHash)\n/* harmony export */ });\n/* harmony import */ var _constants_abis_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../constants/abis.js */ \"./node_modules/viem/_esm/constants/abis.js\");\n/* harmony import */ var _constants_contracts_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../constants/contracts.js */ \"./node_modules/viem/_esm/constants/contracts.js\");\n/* harmony import */ var _errors_contract_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../errors/contract.js */ \"./node_modules/viem/_esm/errors/contract.js\");\n/* harmony import */ var _utils_data_isBytesEqual_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../utils/data/isBytesEqual.js */ \"./node_modules/viem/_esm/utils/data/isBytesEqual.js\");\n/* harmony import */ var _utils_getAction_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../utils/getAction.js */ \"./node_modules/viem/_esm/utils/getAction.js\");\n/* harmony import */ var _utils_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/index.js */ \"./node_modules/viem/_esm/utils/data/isHex.js\");\n/* harmony import */ var _utils_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../utils/index.js */ \"./node_modules/viem/_esm/utils/encoding/toHex.js\");\n/* harmony import */ var _utils_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../utils/index.js */ \"./node_modules/viem/_esm/utils/abi/encodeDeployData.js\");\n/* harmony import */ var _call_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./call.js */ \"./node_modules/viem/_esm/actions/public/call.js\");\n\n\n\n\n\n\n\n/**\n * Verifies a message hash on chain using ERC-6492.\n *\n * @param client - Client to use.\n * @param parameters - {@link VerifyHashParameters}\n * @returns Whether or not the signature is valid. {@link VerifyHashReturnType}\n */\nasync function verifyHash(client, { address, hash, signature, ...callRequest }) {\n const signatureHex = (0,_utils_index_js__WEBPACK_IMPORTED_MODULE_0__.isHex)(signature) ? signature : (0,_utils_index_js__WEBPACK_IMPORTED_MODULE_1__.toHex)(signature);\n try {\n const { data } = await (0,_utils_getAction_js__WEBPACK_IMPORTED_MODULE_2__.getAction)(client, _call_js__WEBPACK_IMPORTED_MODULE_3__.call, 'call')({\n data: (0,_utils_index_js__WEBPACK_IMPORTED_MODULE_4__.encodeDeployData)({\n abi: _constants_abis_js__WEBPACK_IMPORTED_MODULE_5__.universalSignatureValidatorAbi,\n args: [address, hash, signatureHex],\n bytecode: _constants_contracts_js__WEBPACK_IMPORTED_MODULE_6__.universalSignatureValidatorByteCode,\n }),\n ...callRequest,\n });\n return (0,_utils_data_isBytesEqual_js__WEBPACK_IMPORTED_MODULE_7__.isBytesEqual)(data ?? '0x0', '0x1');\n }\n catch (error) {\n if (error instanceof _errors_contract_js__WEBPACK_IMPORTED_MODULE_8__.CallExecutionError) {\n // if the execution fails, the signature was not valid and an internal method inside of the validator reverted\n // this can happen for many reasons, for example if signer can not be recovered from the signature\n // or if the signature has no valid format\n return false;\n }\n throw error;\n }\n}\n//# sourceMappingURL=verifyHash.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/actions/public/verifyHash.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/actions/public/verifyMessage.js":
|
|||
|
/*!****************************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/actions/public/verifyMessage.js ***!
|
|||
|
\****************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ verifyMessage: () => (/* binding */ verifyMessage)\n/* harmony export */ });\n/* harmony import */ var _utils_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/index.js */ \"./node_modules/viem/_esm/utils/signature/hashMessage.js\");\n/* harmony import */ var _verifyHash_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./verifyHash.js */ \"./node_modules/viem/_esm/actions/public/verifyHash.js\");\n\n\n/**\n * Verify that a message was signed by the provided address.\n *\n * Compatible with Smart Contract Accounts & Externally Owned Accounts via [ERC-6492](https://eips.ethereum.org/EIPS/eip-6492).\n *\n * - Docs {@link https://viem.sh/docs/actions/public/verifyMessage.html}\n *\n * @param client - Client to use.\n * @param parameters - {@link VerifyMessageParameters}\n * @returns Whether or not the signature is valid. {@link VerifyMessageReturnType}\n */\nasync function verifyMessage(client, { address, message, signature, ...callRequest }) {\n const hash = (0,_utils_index_js__WEBPACK_IMPORTED_MODULE_0__.hashMessage)(message);\n return (0,_verifyHash_js__WEBPACK_IMPORTED_MODULE_1__.verifyHash)(client, {\n address,\n hash,\n signature,\n ...callRequest,\n });\n}\n//# sourceMappingURL=verifyMessage.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/actions/public/verifyMessage.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/actions/public/verifyTypedData.js":
|
|||
|
/*!******************************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/actions/public/verifyTypedData.js ***!
|
|||
|
\******************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ verifyTypedData: () => (/* binding */ verifyTypedData)\n/* harmony export */ });\n/* harmony import */ var _utils_signature_hashTypedData_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/signature/hashTypedData.js */ \"./node_modules/viem/_esm/utils/signature/hashTypedData.js\");\n/* harmony import */ var _verifyHash_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./verifyHash.js */ \"./node_modules/viem/_esm/actions/public/verifyHash.js\");\n\n\n/**\n * Verify that typed data was signed by the provided address.\n *\n * - Docs {@link https://viem.sh/docs/actions/public/verifyTypedData.html}\n *\n * @param client - Client to use.\n * @param parameters - {@link VerifyTypedDataParameters}\n * @returns Whether or not the signature is valid. {@link VerifyTypedDataReturnType}\n */\nasync function verifyTypedData(client, { address, signature, message, primaryType, types, domain, ...callRequest }) {\n const hash = (0,_utils_signature_hashTypedData_js__WEBPACK_IMPORTED_MODULE_0__.hashTypedData)({ message, primaryType, types, domain });\n return (0,_verifyHash_js__WEBPACK_IMPORTED_MODULE_1__.verifyHash)(client, {\n address,\n hash,\n signature,\n ...callRequest,\n });\n}\n//# sourceMappingURL=verifyTypedData.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/actions/public/verifyTypedData.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/actions/public/waitForTransactionReceipt.js":
|
|||
|
/*!****************************************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/actions/public/waitForTransactionReceipt.js ***!
|
|||
|
\****************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ waitForTransactionReceipt: () => (/* binding */ waitForTransactionReceipt)\n/* harmony export */ });\n/* harmony import */ var _errors_block_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../errors/block.js */ \"./node_modules/viem/_esm/errors/block.js\");\n/* harmony import */ var _errors_transaction_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../errors/transaction.js */ \"./node_modules/viem/_esm/errors/transaction.js\");\n/* harmony import */ var _utils_getAction_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../utils/getAction.js */ \"./node_modules/viem/_esm/utils/getAction.js\");\n/* harmony import */ var _utils_observe_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../utils/observe.js */ \"./node_modules/viem/_esm/utils/observe.js\");\n/* harmony import */ var _utils_promise_withRetry_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../utils/promise/withRetry.js */ \"./node_modules/viem/_esm/utils/promise/withRetry.js\");\n/* harmony import */ var _utils_stringify_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/stringify.js */ \"./node_modules/viem/_esm/utils/stringify.js\");\n/* harmony import */ var _getBlock_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./getBlock.js */ \"./node_modules/viem/_esm/actions/public/getBlock.js\");\n/* harmony import */ var _getTransaction_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./getTransaction.js */ \"./node_modules/viem/_esm/actions/public/getTransaction.js\");\n/* harmony import */ var _getTransactionReceipt_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./getTransactionReceipt.js */ \"./node_modules/viem/_esm/actions/public/getTransactionReceipt.js\");\n/* harmony import */ var _watchBlockNumber_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./watchBlockNumber.js */ \"./node_modules/viem/_esm/actions/public/watchBlockNumber.js\");\n\n\n\n\n\n\n\n\n\n\n/**\n * Waits for the [Transaction](https://viem.sh/docs/glossary/terms.html#transaction) to be included on a [Block](https://viem.sh/docs/glossary/terms.html#block) (one confirmation), and then returns the [Transaction Receipt](https://viem.sh/docs/glossary/terms.html#transaction-receipt). If the Transaction reverts, then the action will throw an error.\n *\n * - Docs: https://viem.sh/docs/actions/public/waitForTransactionReceipt.html\n * - Example: https://stackblitz.com/github/wevm/viem/tree/main/examples/transactions/sending-transactions\n * - JSON-RPC Methods:\n * - Polls [`eth_getTransactionReceipt`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_getTransactionReceipt) on each block until it has been processed.\n * - If a Transaction has been replaced:\n * - Calls [`eth_getBlockByNumber`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_getblockbynumber) and extracts the transactions\n * - Checks if one of the Transactions is a replacement\n * - If so, calls [`eth_getTransactionReceipt`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_getTransactionReceipt).\n *\n * The `waitForTransactionReceipt` action additionally supports Replacement detection (e.g. sped up Transactions).\n *\n * Transactions can be replaced when a user modifies their transaction in their wallet (to speed up or cancel). Transactions are replaced when they are sent from the same nonce.\n *\n * There are 3 types of Transaction Replacement reasons:\n *\n * - `repriced`: The gas price has been modified (e.g. different `maxFeePerGas`)\n * - `cancelled`: The Transaction has been cancelled (e.g. `value === 0n`)\n * - `replaced`: The Transaction has been replaced (e.g. different `value` or `data`)\n *\n * @param client - Client to use\n * @param parameters - {@link WaitForTransactionReceiptParameters}\n * @returns The transaction receipt. {@link WaitForTransactionReceiptReturnType}\n *\n * @example\n * import { createPublicClient, w
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/actions/public/watchBlockNumber.js":
|
|||
|
/*!*******************************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/actions/public/watchBlockNumber.js ***!
|
|||
|
\*******************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ watchBlockNumber: () => (/* binding */ watchBlockNumber)\n/* harmony export */ });\n/* harmony import */ var _utils_encoding_fromHex_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../utils/encoding/fromHex.js */ \"./node_modules/viem/_esm/utils/encoding/fromHex.js\");\n/* harmony import */ var _utils_getAction_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../utils/getAction.js */ \"./node_modules/viem/_esm/utils/getAction.js\");\n/* harmony import */ var _utils_observe_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../utils/observe.js */ \"./node_modules/viem/_esm/utils/observe.js\");\n/* harmony import */ var _utils_poll_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../utils/poll.js */ \"./node_modules/viem/_esm/utils/poll.js\");\n/* harmony import */ var _utils_stringify_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/stringify.js */ \"./node_modules/viem/_esm/utils/stringify.js\");\n/* harmony import */ var _getBlockNumber_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./getBlockNumber.js */ \"./node_modules/viem/_esm/actions/public/getBlockNumber.js\");\n\n\n\n\n\n\n/**\n * Watches and returns incoming block numbers.\n *\n * - Docs: https://viem.sh/docs/actions/public/watchBlockNumber.html\n * - Examples: https://stackblitz.com/github/wevm/viem/tree/main/examples/blocks/watching-blocks\n * - JSON-RPC Methods:\n * - When `poll: true`, calls [`eth_blockNumber`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_blocknumber) on a polling interval.\n * - When `poll: false` & WebSocket Transport, uses a WebSocket subscription via [`eth_subscribe`](https://docs.alchemy.com/reference/eth-subscribe-polygon) and the `\"newHeads\"` event.\n *\n * @param client - Client to use\n * @param parameters - {@link WatchBlockNumberParameters}\n * @returns A function that can be invoked to stop watching for new block numbers. {@link WatchBlockNumberReturnType}\n *\n * @example\n * import { createPublicClient, watchBlockNumber, http } from 'viem'\n * import { mainnet } from 'viem/chains'\n *\n * const client = createPublicClient({\n * chain: mainnet,\n * transport: http(),\n * })\n * const unwatch = watchBlockNumber(client, {\n * onBlockNumber: (blockNumber) => console.log(blockNumber),\n * })\n */\nfunction watchBlockNumber(client, { emitOnBegin = false, emitMissed = false, onBlockNumber, onError, poll: poll_, pollingInterval = client.pollingInterval, }) {\n const enablePolling = typeof poll_ !== 'undefined' ? poll_ : client.transport.type !== 'webSocket';\n let prevBlockNumber;\n const pollBlockNumber = () => {\n const observerId = (0,_utils_stringify_js__WEBPACK_IMPORTED_MODULE_0__.stringify)([\n 'watchBlockNumber',\n client.uid,\n emitOnBegin,\n emitMissed,\n pollingInterval,\n ]);\n return (0,_utils_observe_js__WEBPACK_IMPORTED_MODULE_1__.observe)(observerId, { onBlockNumber, onError }, (emit) => (0,_utils_poll_js__WEBPACK_IMPORTED_MODULE_2__.poll)(async () => {\n try {\n const blockNumber = await (0,_utils_getAction_js__WEBPACK_IMPORTED_MODULE_3__.getAction)(client, _getBlockNumber_js__WEBPACK_IMPORTED_MODULE_4__.getBlockNumber, 'getBlockNumber')({ cacheTime: 0 });\n if (prevBlockNumber) {\n // If the current block number is the same as the previous,\n // we can skip.\n if (blockNumber === prevBlockNumber)\n return;\n // If we have missed out on some previous blocks, and the\n // `emitMissed` flag is truthy, let's emit those blocks.\n if (blockNumber - prevBlockNumber > 1 && emitMissed) {\n for (let i = prevBlockNumber + 1n; i < blockNumber; i++) {\n emit.onBlockNumber(i, prevBl
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/actions/public/watchBlocks.js":
|
|||
|
/*!**************************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/actions/public/watchBlocks.js ***!
|
|||
|
\**************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ watchBlocks: () => (/* binding */ watchBlocks)\n/* harmony export */ });\n/* harmony import */ var _utils_formatters_block_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../utils/formatters/block.js */ \"./node_modules/viem/_esm/utils/formatters/block.js\");\n/* harmony import */ var _utils_getAction_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../utils/getAction.js */ \"./node_modules/viem/_esm/utils/getAction.js\");\n/* harmony import */ var _utils_observe_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../utils/observe.js */ \"./node_modules/viem/_esm/utils/observe.js\");\n/* harmony import */ var _utils_poll_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../utils/poll.js */ \"./node_modules/viem/_esm/utils/poll.js\");\n/* harmony import */ var _utils_stringify_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/stringify.js */ \"./node_modules/viem/_esm/utils/stringify.js\");\n/* harmony import */ var _getBlock_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./getBlock.js */ \"./node_modules/viem/_esm/actions/public/getBlock.js\");\n\n\n\n\n\n\n/**\n * Watches and returns information for incoming blocks.\n *\n * - Docs: https://viem.sh/docs/actions/public/watchBlocks.html\n * - Examples: https://stackblitz.com/github/wevm/viem/tree/main/examples/blocks/watching-blocks\n * - JSON-RPC Methods:\n * - When `poll: true`, calls [`eth_getBlockByNumber`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_getBlockByNumber) on a polling interval.\n * - When `poll: false` & WebSocket Transport, uses a WebSocket subscription via [`eth_subscribe`](https://docs.alchemy.com/reference/eth-subscribe-polygon) and the `\"newHeads\"` event.\n *\n * @param client - Client to use\n * @param parameters - {@link WatchBlocksParameters}\n * @returns A function that can be invoked to stop watching for new block numbers. {@link WatchBlocksReturnType}\n *\n * @example\n * import { createPublicClient, watchBlocks, http } from 'viem'\n * import { mainnet } from 'viem/chains'\n *\n * const client = createPublicClient({\n * chain: mainnet,\n * transport: http(),\n * })\n * const unwatch = watchBlocks(client, {\n * onBlock: (block) => console.log(block),\n * })\n */\nfunction watchBlocks(client, { blockTag = 'latest', emitMissed = false, emitOnBegin = false, onBlock, onError, includeTransactions: includeTransactions_, poll: poll_, pollingInterval = client.pollingInterval, }) {\n const enablePolling = typeof poll_ !== 'undefined' ? poll_ : client.transport.type !== 'webSocket';\n const includeTransactions = includeTransactions_ ?? false;\n let prevBlock;\n const pollBlocks = () => {\n const observerId = (0,_utils_stringify_js__WEBPACK_IMPORTED_MODULE_0__.stringify)([\n 'watchBlocks',\n client.uid,\n emitMissed,\n emitOnBegin,\n includeTransactions,\n pollingInterval,\n ]);\n return (0,_utils_observe_js__WEBPACK_IMPORTED_MODULE_1__.observe)(observerId, { onBlock, onError }, (emit) => (0,_utils_poll_js__WEBPACK_IMPORTED_MODULE_2__.poll)(async () => {\n try {\n const block = await (0,_utils_getAction_js__WEBPACK_IMPORTED_MODULE_3__.getAction)(client, _getBlock_js__WEBPACK_IMPORTED_MODULE_4__.getBlock, 'getBlock')({\n blockTag,\n includeTransactions,\n });\n if (block.number && prevBlock?.number) {\n // If the current block number is the same as the previous,\n // we can skip.\n if (block.number === prevBlock.number)\n return;\n // If we have missed out on some previous blocks, and the\n // `emitMissed` flag is truthy, let's emit those blocks.\n if (block.number - prevBlock.number > 1 && emi
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/actions/public/watchContractEvent.js":
|
|||
|
/*!*********************************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/actions/public/watchContractEvent.js ***!
|
|||
|
\*********************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ watchContractEvent: () => (/* binding */ watchContractEvent)\n/* harmony export */ });\n/* harmony import */ var _utils_observe_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../utils/observe.js */ \"./node_modules/viem/_esm/utils/observe.js\");\n/* harmony import */ var _utils_poll_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../utils/poll.js */ \"./node_modules/viem/_esm/utils/poll.js\");\n/* harmony import */ var _utils_stringify_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/stringify.js */ \"./node_modules/viem/_esm/utils/stringify.js\");\n/* harmony import */ var _errors_abi_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../../errors/abi.js */ \"./node_modules/viem/_esm/errors/abi.js\");\n/* harmony import */ var _errors_rpc_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../errors/rpc.js */ \"./node_modules/viem/_esm/errors/rpc.js\");\n/* harmony import */ var _utils_abi_decodeEventLog_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../../utils/abi/decodeEventLog.js */ \"./node_modules/viem/_esm/utils/abi/decodeEventLog.js\");\n/* harmony import */ var _utils_abi_encodeEventTopics_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../utils/abi/encodeEventTopics.js */ \"./node_modules/viem/_esm/utils/abi/encodeEventTopics.js\");\n/* harmony import */ var _utils_formatters_log_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../../utils/formatters/log.js */ \"./node_modules/viem/_esm/utils/formatters/log.js\");\n/* harmony import */ var _utils_getAction_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../utils/getAction.js */ \"./node_modules/viem/_esm/utils/getAction.js\");\n/* harmony import */ var _createContractEventFilter_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./createContractEventFilter.js */ \"./node_modules/viem/_esm/actions/public/createContractEventFilter.js\");\n/* harmony import */ var _getBlockNumber_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./getBlockNumber.js */ \"./node_modules/viem/_esm/actions/public/getBlockNumber.js\");\n/* harmony import */ var _getContractEvents_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./getContractEvents.js */ \"./node_modules/viem/_esm/actions/public/getContractEvents.js\");\n/* harmony import */ var _getFilterChanges_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./getFilterChanges.js */ \"./node_modules/viem/_esm/actions/public/getFilterChanges.js\");\n/* harmony import */ var _uninstallFilter_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./uninstallFilter.js */ \"./node_modules/viem/_esm/actions/public/uninstallFilter.js\");\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n/**\n * Watches and returns emitted contract event logs.\n *\n * - Docs: https://viem.sh/docs/contract/watchContractEvent.html\n *\n * This Action will batch up all the event logs found within the [`pollingInterval`](https://viem.sh/docs/contract/watchContractEvent.html#pollinginterval-optional), and invoke them via [`onLogs`](https://viem.sh/docs/contract/watchContractEvent.html#onLogs).\n *\n * `watchContractEvent` will attempt to create an [Event Filter](https://viem.sh/docs/contract/createContractEventFilter.html) and listen to changes to the Filter per polling interval, however, if the RPC Provider does not support Filters (e.g. `eth_newFilter`), then `watchContractEvent` will fall back to using [`getLogs`](https://viem.sh/docs/actions/public/getLogs) instead.\n *\n * @param client - Client to use\n * @param parameters - {@link WatchContractEventParameters}\n * @returns A function that can be invoked to stop watching for new event logs. {@link WatchContractEventReturnType}\n *\n * @example\n * import { createPublicClient, http, parseAbi } from 'viem'\n * import { mainnet } from 'viem/chains'\n * import { watchContractEvent } from 'viem/contract'\n *\n * const client = createPublicClient
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/actions/public/watchEvent.js":
|
|||
|
/*!*************************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/actions/public/watchEvent.js ***!
|
|||
|
\*************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ watchEvent: () => (/* binding */ watchEvent)\n/* harmony export */ });\n/* harmony import */ var _utils_observe_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../utils/observe.js */ \"./node_modules/viem/_esm/utils/observe.js\");\n/* harmony import */ var _utils_poll_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../utils/poll.js */ \"./node_modules/viem/_esm/utils/poll.js\");\n/* harmony import */ var _utils_stringify_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/stringify.js */ \"./node_modules/viem/_esm/utils/stringify.js\");\n/* harmony import */ var _errors_abi_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../../errors/abi.js */ \"./node_modules/viem/_esm/errors/abi.js\");\n/* harmony import */ var _errors_rpc_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../errors/rpc.js */ \"./node_modules/viem/_esm/errors/rpc.js\");\n/* harmony import */ var _utils_getAction_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../utils/getAction.js */ \"./node_modules/viem/_esm/utils/getAction.js\");\n/* harmony import */ var _utils_index_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../utils/index.js */ \"./node_modules/viem/_esm/utils/abi/encodeEventTopics.js\");\n/* harmony import */ var _utils_index_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../../utils/index.js */ \"./node_modules/viem/_esm/utils/abi/decodeEventLog.js\");\n/* harmony import */ var _utils_index_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../../utils/index.js */ \"./node_modules/viem/_esm/utils/formatters/log.js\");\n/* harmony import */ var _createEventFilter_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./createEventFilter.js */ \"./node_modules/viem/_esm/actions/public/createEventFilter.js\");\n/* harmony import */ var _getBlockNumber_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./getBlockNumber.js */ \"./node_modules/viem/_esm/actions/public/getBlockNumber.js\");\n/* harmony import */ var _getFilterChanges_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./getFilterChanges.js */ \"./node_modules/viem/_esm/actions/public/getFilterChanges.js\");\n/* harmony import */ var _getLogs_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./getLogs.js */ \"./node_modules/viem/_esm/actions/public/getLogs.js\");\n/* harmony import */ var _uninstallFilter_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./uninstallFilter.js */ \"./node_modules/viem/_esm/actions/public/uninstallFilter.js\");\n\n\n\n\n\n\n\n\n\n\n\n\n/**\n * Watches and returns emitted [Event Logs](https://viem.sh/docs/glossary/terms.html#event-log).\n *\n * - Docs: https://viem.sh/docs/actions/public/watchEvent.html\n * - JSON-RPC Methods:\n * - **RPC Provider supports `eth_newFilter`:**\n * - Calls [`eth_newFilter`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_newfilter) to create a filter (called on initialize).\n * - On a polling interval, it will call [`eth_getFilterChanges`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_getfilterchanges).\n * - **RPC Provider does not support `eth_newFilter`:**\n * - Calls [`eth_getLogs`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_getlogs) for each block between the polling interval.\n *\n * This Action will batch up all the Event Logs found within the [`pollingInterval`](https://viem.sh/docs/actions/public/watchEvent.html#pollinginterval-optional), and invoke them via [`onLogs`](https://viem.sh/docs/actions/public/watchEvent.html#onLogs).\n *\n * `watchEvent` will attempt to create an [Event Filter](https://viem.sh/docs/actions/public/createEventFilter.html) and listen to changes to the Filter per polling interval, however, if the RPC Provider does not support Filters (e.g. `eth_newFilter`), then `watchEvent` will fall back to using [`getLogs`](https://viem.sh/docs/actions/public/getLog
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/actions/public/watchPendingTransactions.js":
|
|||
|
/*!***************************************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/actions/public/watchPendingTransactions.js ***!
|
|||
|
\***************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ watchPendingTransactions: () => (/* binding */ watchPendingTransactions)\n/* harmony export */ });\n/* harmony import */ var _utils_getAction_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../utils/getAction.js */ \"./node_modules/viem/_esm/utils/getAction.js\");\n/* harmony import */ var _utils_observe_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../utils/observe.js */ \"./node_modules/viem/_esm/utils/observe.js\");\n/* harmony import */ var _utils_poll_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../utils/poll.js */ \"./node_modules/viem/_esm/utils/poll.js\");\n/* harmony import */ var _utils_stringify_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/stringify.js */ \"./node_modules/viem/_esm/utils/stringify.js\");\n/* harmony import */ var _createPendingTransactionFilter_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./createPendingTransactionFilter.js */ \"./node_modules/viem/_esm/actions/public/createPendingTransactionFilter.js\");\n/* harmony import */ var _getFilterChanges_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./getFilterChanges.js */ \"./node_modules/viem/_esm/actions/public/getFilterChanges.js\");\n/* harmony import */ var _uninstallFilter_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./uninstallFilter.js */ \"./node_modules/viem/_esm/actions/public/uninstallFilter.js\");\n\n\n\n\n\n\n\n/**\n * Watches and returns pending transaction hashes.\n *\n * - Docs: https://viem.sh/docs/actions/public/watchPendingTransactions.html\n * - JSON-RPC Methods:\n * - When `poll: true`\n * - Calls [`eth_newPendingTransactionFilter`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_newpendingtransactionfilter) to initialize the filter.\n * - Calls [`eth_getFilterChanges`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_getFilterChanges) on a polling interval.\n * - When `poll: false` & WebSocket Transport, uses a WebSocket subscription via [`eth_subscribe`](https://docs.alchemy.com/reference/eth-subscribe-polygon) and the `\"newPendingTransactions\"` event.\n *\n * This Action will batch up all the pending transactions found within the [`pollingInterval`](https://viem.sh/docs/actions/public/watchPendingTransactions.html#pollinginterval-optional), and invoke them via [`onTransactions`](https://viem.sh/docs/actions/public/watchPendingTransactions.html#ontransactions).\n *\n * @param client - Client to use\n * @param parameters - {@link WatchPendingTransactionsParameters}\n * @returns A function that can be invoked to stop watching for new pending transaction hashes. {@link WatchPendingTransactionsReturnType}\n *\n * @example\n * import { createPublicClient, http } from 'viem'\n * import { mainnet } from 'viem/chains'\n * import { watchPendingTransactions } from 'viem/public'\n *\n * const client = createPublicClient({\n * chain: mainnet,\n * transport: http(),\n * })\n * const unwatch = await watchPendingTransactions(client, {\n * onTransactions: (hashes) => console.log(hashes),\n * })\n */\nfunction watchPendingTransactions(client, { batch = true, onError, onTransactions, poll: poll_, pollingInterval = client.pollingInterval, }) {\n const enablePolling = typeof poll_ !== 'undefined' ? poll_ : client.transport.type !== 'webSocket';\n const pollPendingTransactions = () => {\n const observerId = (0,_utils_stringify_js__WEBPACK_IMPORTED_MODULE_0__.stringify)([\n 'watchPendingTransactions',\n client.uid,\n batch,\n pollingInterval,\n ]);\n return (0,_utils_observe_js__WEBPACK_IMPORTED_MODULE_1__.observe)(observerId, { onTransactions, onError }, (emit) => {\n let filter;\n const unwatch = (0,_utils_poll_js__WEBPACK_IMPORTED_MODULE_2__.poll)(async () => {\n try {\n if (!filter) {\n try {\n
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/actions/wallet/addChain.js":
|
|||
|
/*!***********************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/actions/wallet/addChain.js ***!
|
|||
|
\***********************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ addChain: () => (/* binding */ addChain)\n/* harmony export */ });\n/* harmony import */ var _utils_encoding_toHex_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/encoding/toHex.js */ \"./node_modules/viem/_esm/utils/encoding/toHex.js\");\n\n/**\n * Adds an EVM chain to the wallet.\n *\n * - Docs: https://viem.sh/docs/actions/wallet/addChain.html\n * - JSON-RPC Methods: [`eth_addEthereumChain`](https://eips.ethereum.org/EIPS/eip-3085)\n *\n * @param client - Client to use\n * @param parameters - {@link AddChainParameters}\n *\n * @example\n * import { createWalletClient, custom } from 'viem'\n * import { optimism } from 'viem/chains'\n * import { addChain } from 'viem/wallet'\n *\n * const client = createWalletClient({\n * transport: custom(window.ethereum),\n * })\n * await addChain(client, { chain: optimism })\n */\nasync function addChain(client, { chain }) {\n const { id, name, nativeCurrency, rpcUrls, blockExplorers } = chain;\n await client.request({\n method: 'wallet_addEthereumChain',\n params: [\n {\n chainId: (0,_utils_encoding_toHex_js__WEBPACK_IMPORTED_MODULE_0__.numberToHex)(id),\n chainName: name,\n nativeCurrency,\n rpcUrls: rpcUrls.default.http,\n blockExplorerUrls: blockExplorers\n ? Object.values(blockExplorers).map(({ url }) => url)\n : undefined,\n },\n ],\n });\n}\n//# sourceMappingURL=addChain.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/actions/wallet/addChain.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/actions/wallet/deployContract.js":
|
|||
|
/*!*****************************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/actions/wallet/deployContract.js ***!
|
|||
|
\*****************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ deployContract: () => (/* binding */ deployContract)\n/* harmony export */ });\n/* harmony import */ var _utils_abi_encodeDeployData_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/abi/encodeDeployData.js */ \"./node_modules/viem/_esm/utils/abi/encodeDeployData.js\");\n/* harmony import */ var _sendTransaction_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./sendTransaction.js */ \"./node_modules/viem/_esm/actions/wallet/sendTransaction.js\");\n\n\n/**\n * Deploys a contract to the network, given bytecode and constructor arguments.\n *\n * - Docs: https://viem.sh/docs/contract/deployContract.html\n * - Examples: https://stackblitz.com/github/wevm/viem/tree/main/examples/contracts/deploying-contracts\n *\n * @param client - Client to use\n * @param parameters - {@link DeployContractParameters}\n * @returns The [Transaction](https://viem.sh/docs/glossary/terms.html#transaction) hash. {@link DeployContractReturnType}\n *\n * @example\n * import { createWalletClient, http } from 'viem'\n * import { privateKeyToAccount } from 'viem/accounts'\n * import { mainnet } from 'viem/chains'\n * import { deployContract } from 'viem/contract'\n *\n * const client = createWalletClient({\n * account: privateKeyToAccount('0x…'),\n * chain: mainnet,\n * transport: http(),\n * })\n * const hash = await deployContract(client, {\n * abi: [],\n * account: '0x…,\n * bytecode: '0x608060405260405161083e38038061083e833981016040819052610...',\n * })\n */\nfunction deployContract(walletClient, { abi, args, bytecode, ...request }) {\n const calldata = (0,_utils_abi_encodeDeployData_js__WEBPACK_IMPORTED_MODULE_0__.encodeDeployData)({\n abi,\n args,\n bytecode,\n });\n return (0,_sendTransaction_js__WEBPACK_IMPORTED_MODULE_1__.sendTransaction)(walletClient, {\n ...request,\n data: calldata,\n });\n}\n//# sourceMappingURL=deployContract.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/actions/wallet/deployContract.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/actions/wallet/getAddresses.js":
|
|||
|
/*!***************************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/actions/wallet/getAddresses.js ***!
|
|||
|
\***************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ getAddresses: () => (/* binding */ getAddresses)\n/* harmony export */ });\n/* harmony import */ var _utils_address_getAddress_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/address/getAddress.js */ \"./node_modules/viem/_esm/utils/address/getAddress.js\");\n\n/**\n * Returns a list of account addresses owned by the wallet or client.\n *\n * - Docs: https://viem.sh/docs/actions/wallet/getAddresses.html\n * - JSON-RPC Methods: [`eth_accounts`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_accounts)\n *\n * @param client - Client to use\n * @returns List of account addresses owned by the wallet or client. {@link GetAddressesReturnType}\n *\n * @example\n * import { createWalletClient, custom } from 'viem'\n * import { mainnet } from 'viem/chains'\n * import { getAddresses } from 'viem/wallet'\n *\n * const client = createWalletClient({\n * chain: mainnet,\n * transport: custom(window.ethereum),\n * })\n * const accounts = await getAddresses(client)\n */\nasync function getAddresses(client) {\n if (client.account?.type === 'local')\n return [client.account.address];\n const addresses = await client.request({ method: 'eth_accounts' });\n return addresses.map((address) => (0,_utils_address_getAddress_js__WEBPACK_IMPORTED_MODULE_0__.checksumAddress)(address));\n}\n//# sourceMappingURL=getAddresses.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/actions/wallet/getAddresses.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/actions/wallet/getPermissions.js":
|
|||
|
/*!*****************************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/actions/wallet/getPermissions.js ***!
|
|||
|
\*****************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ getPermissions: () => (/* binding */ getPermissions)\n/* harmony export */ });\n/**\n * Gets the wallets current permissions.\n *\n * - Docs: https://viem.sh/docs/actions/wallet/getPermissions.html\n * - JSON-RPC Methods: [`wallet_getPermissions`](https://eips.ethereum.org/EIPS/eip-2255)\n *\n * @param client - Client to use\n * @returns The wallet permissions. {@link GetPermissionsReturnType}\n *\n * @example\n * import { createWalletClient, custom } from 'viem'\n * import { mainnet } from 'viem/chains'\n * import { getPermissions } from 'viem/wallet'\n *\n * const client = createWalletClient({\n * chain: mainnet,\n * transport: custom(window.ethereum),\n * })\n * const permissions = await getPermissions(client)\n */\nasync function getPermissions(client) {\n const permissions = await client.request({ method: 'wallet_getPermissions' });\n return permissions;\n}\n//# sourceMappingURL=getPermissions.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/actions/wallet/getPermissions.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/actions/wallet/prepareTransactionRequest.js":
|
|||
|
/*!****************************************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/actions/wallet/prepareTransactionRequest.js ***!
|
|||
|
\****************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ prepareTransactionRequest: () => (/* binding */ prepareTransactionRequest)\n/* harmony export */ });\n/* harmony import */ var _accounts_utils_parseAccount_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../accounts/utils/parseAccount.js */ \"./node_modules/viem/_esm/accounts/utils/parseAccount.js\");\n/* harmony import */ var _actions_public_estimateFeesPerGas_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../actions/public/estimateFeesPerGas.js */ \"./node_modules/viem/_esm/actions/public/estimateFeesPerGas.js\");\n/* harmony import */ var _actions_public_estimateGas_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../actions/public/estimateGas.js */ \"./node_modules/viem/_esm/actions/public/estimateGas.js\");\n/* harmony import */ var _actions_public_getBlock_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../actions/public/getBlock.js */ \"./node_modules/viem/_esm/actions/public/getBlock.js\");\n/* harmony import */ var _actions_public_getTransactionCount_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../actions/public/getTransactionCount.js */ \"./node_modules/viem/_esm/actions/public/getTransactionCount.js\");\n/* harmony import */ var _errors_account_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../errors/account.js */ \"./node_modules/viem/_esm/errors/account.js\");\n/* harmony import */ var _errors_fee_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../errors/fee.js */ \"./node_modules/viem/_esm/errors/fee.js\");\n/* harmony import */ var _utils_getAction_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../utils/getAction.js */ \"./node_modules/viem/_esm/utils/getAction.js\");\n/* harmony import */ var _utils_transaction_assertRequest_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../utils/transaction/assertRequest.js */ \"./node_modules/viem/_esm/utils/transaction/assertRequest.js\");\n/* harmony import */ var _utils_transaction_getTransactionType_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../utils/transaction/getTransactionType.js */ \"./node_modules/viem/_esm/utils/transaction/getTransactionType.js\");\n\n\n\n\n\n\n\n\n\n\n/**\n * Prepares a transaction request for signing.\n *\n * - Docs: https://viem.sh/docs/actions/wallet/prepareTransactionRequest.html\n *\n * @param args - {@link PrepareTransactionRequestParameters}\n * @returns The transaction request. {@link PrepareTransactionRequestReturnType}\n *\n * @example\n * import { createWalletClient, custom } from 'viem'\n * import { mainnet } from 'viem/chains'\n * import { prepareTransactionRequest } from 'viem/actions'\n *\n * const client = createWalletClient({\n * chain: mainnet,\n * transport: custom(window.ethereum),\n * })\n * const request = await prepareTransactionRequest(client, {\n * account: '0xA0Cf798816D4b9b9866b5330EEa46a18382f251e',\n * to: '0x0000000000000000000000000000000000000000',\n * value: 1n,\n * })\n *\n * @example\n * // Account Hoisting\n * import { createWalletClient, http } from 'viem'\n * import { privateKeyToAccount } from 'viem/accounts'\n * import { mainnet } from 'viem/chains'\n * import { prepareTransactionRequest } from 'viem/actions'\n *\n * const client = createWalletClient({\n * account: privateKeyToAccount('0x…'),\n * chain: mainnet,\n * transport: custom(window.ethereum),\n * })\n * const request = await prepareTransactionRequest(client, {\n * to: '0x0000000000000000000000000000000000000000',\n * value: 1n,\n * })\n */\nasync function prepareTransactionRequest(client, args) {\n const { account: account_ = client.account, chain, gas, nonce, type } = args;\n if (!account_)\n throw new _errors_account_js__WEBPACK_IMPORTED_MODULE_0__.AccountNotFoundError();\n const account = (0,_accounts_utils_parseAccount_js__WEBPACK_IMPORTED_MODULE_1__.parseAccount)(account_);\n const block = await (0,_utils_getAction_js__
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/actions/wallet/requestAddresses.js":
|
|||
|
/*!*******************************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/actions/wallet/requestAddresses.js ***!
|
|||
|
\*******************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ requestAddresses: () => (/* binding */ requestAddresses)\n/* harmony export */ });\n/* harmony import */ var _utils_address_getAddress_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/address/getAddress.js */ \"./node_modules/viem/_esm/utils/address/getAddress.js\");\n\n/**\n * Requests a list of accounts managed by a wallet.\n *\n * - Docs: https://viem.sh/docs/actions/wallet/requestAddresses.html\n * - JSON-RPC Methods: [`eth_requestAccounts`](https://eips.ethereum.org/EIPS/eip-1102)\n *\n * Sends a request to the wallet, asking for permission to access the user's accounts. After the user accepts the request, it will return a list of accounts (addresses).\n *\n * This API can be useful for dapps that need to access the user's accounts in order to execute transactions or interact with smart contracts.\n *\n * @param client - Client to use\n * @returns List of accounts managed by a wallet {@link RequestAddressesReturnType}\n *\n * @example\n * import { createWalletClient, custom } from 'viem'\n * import { mainnet } from 'viem/chains'\n * import { requestAddresses } from 'viem/wallet'\n *\n * const client = createWalletClient({\n * chain: mainnet,\n * transport: custom(window.ethereum),\n * })\n * const accounts = await requestAddresses(client)\n */\nasync function requestAddresses(client) {\n const addresses = await client.request({ method: 'eth_requestAccounts' });\n return addresses.map((address) => (0,_utils_address_getAddress_js__WEBPACK_IMPORTED_MODULE_0__.getAddress)(address));\n}\n//# sourceMappingURL=requestAddresses.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/actions/wallet/requestAddresses.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/actions/wallet/requestPermissions.js":
|
|||
|
/*!*********************************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/actions/wallet/requestPermissions.js ***!
|
|||
|
\*********************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ requestPermissions: () => (/* binding */ requestPermissions)\n/* harmony export */ });\n/**\n * Requests permissions for a wallet.\n *\n * - Docs: https://viem.sh/docs/actions/wallet/requestPermissions.html\n * - JSON-RPC Methods: [`wallet_requestPermissions`](https://eips.ethereum.org/EIPS/eip-2255)\n *\n * @param client - Client to use\n * @param parameters - {@link RequestPermissionsParameters}\n * @returns The wallet permissions. {@link RequestPermissionsReturnType}\n *\n * @example\n * import { createWalletClient, custom } from 'viem'\n * import { mainnet } from 'viem/chains'\n * import { requestPermissions } from 'viem/wallet'\n *\n * const client = createWalletClient({\n * chain: mainnet,\n * transport: custom(window.ethereum),\n * })\n * const permissions = await requestPermissions(client, {\n * eth_accounts: {}\n * })\n */\nasync function requestPermissions(client, permissions) {\n return client.request({\n method: 'wallet_requestPermissions',\n params: [permissions],\n });\n}\n//# sourceMappingURL=requestPermissions.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/actions/wallet/requestPermissions.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/actions/wallet/sendRawTransaction.js":
|
|||
|
/*!*********************************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/actions/wallet/sendRawTransaction.js ***!
|
|||
|
\*********************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ sendRawTransaction: () => (/* binding */ sendRawTransaction)\n/* harmony export */ });\n/**\n * Sends a **signed** transaction to the network\n *\n * - Docs: https://viem.sh/docs/actions/wallet/sendRawTransaction.html\n * - JSON-RPC Method: [`eth_sendRawTransaction`](https://ethereum.github.io/execution-apis/api-documentation/)\n *\n * @param client - Client to use\n * @param parameters - {@link SendRawTransactionParameters}\n * @returns The transaction hash. {@link SendRawTransactionReturnType}\n *\n * @example\n * import { createWalletClient, custom } from 'viem'\n * import { mainnet } from 'viem/chains'\n * import { sendRawTransaction } from 'viem/wallet'\n *\n * const client = createWalletClient({\n * chain: mainnet,\n * transport: custom(window.ethereum),\n * })\n *\n * const hash = await sendRawTransaction(client, {\n * serializedTransaction: '0x02f850018203118080825208808080c080a04012522854168b27e5dc3d5839bab5e6b39e1a0ffd343901ce1622e3d64b48f1a04e00902ae0502c4728cbf12156290df99c3ed7de85b1dbfe20b5c36931733a33'\n * })\n */\nasync function sendRawTransaction(client, { serializedTransaction }) {\n return client.request({\n method: 'eth_sendRawTransaction',\n params: [serializedTransaction],\n });\n}\n//# sourceMappingURL=sendRawTransaction.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/actions/wallet/sendRawTransaction.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/actions/wallet/sendTransaction.js":
|
|||
|
/*!******************************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/actions/wallet/sendTransaction.js ***!
|
|||
|
\******************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ sendTransaction: () => (/* binding */ sendTransaction)\n/* harmony export */ });\n/* harmony import */ var _accounts_utils_parseAccount_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../accounts/utils/parseAccount.js */ \"./node_modules/viem/_esm/accounts/utils/parseAccount.js\");\n/* harmony import */ var _errors_account_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../errors/account.js */ \"./node_modules/viem/_esm/errors/account.js\");\n/* harmony import */ var _utils_chain_assertCurrentChain_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../utils/chain/assertCurrentChain.js */ \"./node_modules/viem/_esm/utils/chain/assertCurrentChain.js\");\n/* harmony import */ var _utils_errors_getTransactionError_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../utils/errors/getTransactionError.js */ \"./node_modules/viem/_esm/utils/errors/getTransactionError.js\");\n/* harmony import */ var _utils_formatters_extract_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../utils/formatters/extract.js */ \"./node_modules/viem/_esm/utils/formatters/extract.js\");\n/* harmony import */ var _utils_formatters_transactionRequest_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../utils/formatters/transactionRequest.js */ \"./node_modules/viem/_esm/utils/formatters/transactionRequest.js\");\n/* harmony import */ var _utils_getAction_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../utils/getAction.js */ \"./node_modules/viem/_esm/utils/getAction.js\");\n/* harmony import */ var _utils_transaction_assertRequest_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../utils/transaction/assertRequest.js */ \"./node_modules/viem/_esm/utils/transaction/assertRequest.js\");\n/* harmony import */ var _public_getChainId_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../public/getChainId.js */ \"./node_modules/viem/_esm/actions/public/getChainId.js\");\n/* harmony import */ var _prepareTransactionRequest_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./prepareTransactionRequest.js */ \"./node_modules/viem/_esm/actions/wallet/prepareTransactionRequest.js\");\n/* harmony import */ var _sendRawTransaction_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./sendRawTransaction.js */ \"./node_modules/viem/_esm/actions/wallet/sendRawTransaction.js\");\n\n\n\n\n\n\n\n\n\n\n\n/**\n * Creates, signs, and sends a new transaction to the network.\n *\n * - Docs: https://viem.sh/docs/actions/wallet/sendTransaction.html\n * - Examples: https://stackblitz.com/github/wevm/viem/tree/main/examples/transactions/sending-transactions\n * - JSON-RPC Methods:\n * - JSON-RPC Accounts: [`eth_sendTransaction`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_sendtransaction)\n * - Local Accounts: [`eth_sendRawTransaction`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_sendrawtransaction)\n *\n * @param client - Client to use\n * @param parameters - {@link SendTransactionParameters}\n * @returns The [Transaction](https://viem.sh/docs/glossary/terms.html#transaction) hash. {@link SendTransactionReturnType}\n *\n * @example\n * import { createWalletClient, custom } from 'viem'\n * import { mainnet } from 'viem/chains'\n * import { sendTransaction } from 'viem/wallet'\n *\n * const client = createWalletClient({\n * chain: mainnet,\n * transport: custom(window.ethereum),\n * })\n * const hash = await sendTransaction(client, {\n * account: '0xA0Cf798816D4b9b9866b5330EEa46a18382f251e',\n * to: '0x70997970c51812dc3a010c7d01b50e0d17dc79c8',\n * value: 1000000000000000000n,\n * })\n *\n * @example\n * // Account Hoisting\n * import { createWalletClient, http } from 'viem'\n * import { privateKeyToAccount } from 'viem/accounts'\n * import { mainnet } from 'viem/chains'\n * import { sendTransaction } from 'viem/wallet'\n *\n * const client = createWalletClient({\n * account: privat
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/actions/wallet/signMessage.js":
|
|||
|
/*!**************************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/actions/wallet/signMessage.js ***!
|
|||
|
\**************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ signMessage: () => (/* binding */ signMessage)\n/* harmony export */ });\n/* harmony import */ var _accounts_utils_parseAccount_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../accounts/utils/parseAccount.js */ \"./node_modules/viem/_esm/accounts/utils/parseAccount.js\");\n/* harmony import */ var _errors_account_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../errors/account.js */ \"./node_modules/viem/_esm/errors/account.js\");\n/* harmony import */ var _utils_encoding_toHex_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../utils/encoding/toHex.js */ \"./node_modules/viem/_esm/utils/encoding/toHex.js\");\n\n\n\n/**\n * Calculates an Ethereum-specific signature in [EIP-191 format](https://eips.ethereum.org/EIPS/eip-191): `keccak256(\"\\x19Ethereum Signed Message:\\n\" + len(message) + message))`.\n *\n * - Docs: https://viem.sh/docs/actions/wallet/signMessage.html\n * - JSON-RPC Methods:\n * - JSON-RPC Accounts: [`personal_sign`](https://docs.metamask.io/guide/signing-data.html#personal-sign)\n * - Local Accounts: Signs locally. No JSON-RPC request.\n *\n * With the calculated signature, you can:\n * - use [`verifyMessage`](https://viem.sh/docs/utilities/verifyMessage.html) to verify the signature,\n * - use [`recoverMessageAddress`](https://viem.sh/docs/utilities/recoverMessageAddress.html) to recover the signing address from a signature.\n *\n * @param client - Client to use\n * @param parameters - {@link SignMessageParameters}\n * @returns The signed message. {@link SignMessageReturnType}\n *\n * @example\n * import { createWalletClient, custom } from 'viem'\n * import { mainnet } from 'viem/chains'\n * import { signMessage } from 'viem/wallet'\n *\n * const client = createWalletClient({\n * chain: mainnet,\n * transport: custom(window.ethereum),\n * })\n * const signature = await signMessage(client, {\n * account: '0xA0Cf798816D4b9b9866b5330EEa46a18382f251e',\n * message: 'hello world',\n * })\n *\n * @example\n * // Account Hoisting\n * import { createWalletClient, custom } from 'viem'\n * import { privateKeyToAccount } from 'viem/accounts'\n * import { mainnet } from 'viem/chains'\n * import { signMessage } from 'viem/wallet'\n *\n * const client = createWalletClient({\n * account: privateKeyToAccount('0x…'),\n * chain: mainnet,\n * transport: custom(window.ethereum),\n * })\n * const signature = await signMessage(client, {\n * message: 'hello world',\n * })\n */\nasync function signMessage(client, { account: account_ = client.account, message, }) {\n if (!account_)\n throw new _errors_account_js__WEBPACK_IMPORTED_MODULE_0__.AccountNotFoundError({\n docsPath: '/docs/actions/wallet/signMessage',\n });\n const account = (0,_accounts_utils_parseAccount_js__WEBPACK_IMPORTED_MODULE_1__.parseAccount)(account_);\n if (account.type === 'local')\n return account.signMessage({ message });\n const message_ = (() => {\n if (typeof message === 'string')\n return (0,_utils_encoding_toHex_js__WEBPACK_IMPORTED_MODULE_2__.stringToHex)(message);\n if (message.raw instanceof Uint8Array)\n return (0,_utils_encoding_toHex_js__WEBPACK_IMPORTED_MODULE_2__.toHex)(message.raw);\n return message.raw;\n })();\n return client.request({\n method: 'personal_sign',\n params: [message_, account.address],\n });\n}\n//# sourceMappingURL=signMessage.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/actions/wallet/signMessage.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/actions/wallet/signTransaction.js":
|
|||
|
/*!******************************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/actions/wallet/signTransaction.js ***!
|
|||
|
\******************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ signTransaction: () => (/* binding */ signTransaction)\n/* harmony export */ });\n/* harmony import */ var _accounts_utils_parseAccount_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../accounts/utils/parseAccount.js */ \"./node_modules/viem/_esm/accounts/utils/parseAccount.js\");\n/* harmony import */ var _errors_account_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../errors/account.js */ \"./node_modules/viem/_esm/errors/account.js\");\n/* harmony import */ var _utils_chain_assertCurrentChain_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../utils/chain/assertCurrentChain.js */ \"./node_modules/viem/_esm/utils/chain/assertCurrentChain.js\");\n/* harmony import */ var _utils_formatters_transactionRequest_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../utils/formatters/transactionRequest.js */ \"./node_modules/viem/_esm/utils/formatters/transactionRequest.js\");\n/* harmony import */ var _utils_getAction_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../utils/getAction.js */ \"./node_modules/viem/_esm/utils/getAction.js\");\n/* harmony import */ var _utils_index_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../utils/index.js */ \"./node_modules/viem/_esm/utils/encoding/toHex.js\");\n/* harmony import */ var _utils_transaction_assertRequest_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../utils/transaction/assertRequest.js */ \"./node_modules/viem/_esm/utils/transaction/assertRequest.js\");\n/* harmony import */ var _public_getChainId_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../public/getChainId.js */ \"./node_modules/viem/_esm/actions/public/getChainId.js\");\n\n\n\n\n\n\n\n\n\n/**\n * Signs a transaction.\n *\n * - Docs: https://viem.sh/docs/actions/wallet/signTransaction.html\n * - JSON-RPC Methods:\n * - JSON-RPC Accounts: [`eth_signTransaction`](https://ethereum.github.io/execution-apis/api-documentation/)\n * - Local Accounts: Signs locally. No JSON-RPC request.\n *\n * @param args - {@link SignTransactionParameters}\n * @returns The signed serialized tranasction. {@link SignTransactionReturnType}\n *\n * @example\n * import { createWalletClient, custom } from 'viem'\n * import { mainnet } from 'viem/chains'\n * import { signTransaction } from 'viem/actions'\n *\n * const client = createWalletClient({\n * chain: mainnet,\n * transport: custom(window.ethereum),\n * })\n * const signature = await signTransaction(client, {\n * account: '0xA0Cf798816D4b9b9866b5330EEa46a18382f251e',\n * to: '0x0000000000000000000000000000000000000000',\n * value: 1n,\n * })\n *\n * @example\n * // Account Hoisting\n * import { createWalletClient, http } from 'viem'\n * import { privateKeyToAccount } from 'viem/accounts'\n * import { mainnet } from 'viem/chains'\n * import { signTransaction } from 'viem/actions'\n *\n * const client = createWalletClient({\n * account: privateKeyToAccount('0x…'),\n * chain: mainnet,\n * transport: custom(window.ethereum),\n * })\n * const signature = await signTransaction(client, {\n * to: '0x0000000000000000000000000000000000000000',\n * value: 1n,\n * })\n */\nasync function signTransaction(client, args) {\n const { account: account_ = client.account, chain = client.chain, ...transaction } = args;\n if (!account_)\n throw new _errors_account_js__WEBPACK_IMPORTED_MODULE_0__.AccountNotFoundError({\n docsPath: '/docs/actions/wallet/signTransaction',\n });\n const account = (0,_accounts_utils_parseAccount_js__WEBPACK_IMPORTED_MODULE_1__.parseAccount)(account_);\n (0,_utils_transaction_assertRequest_js__WEBPACK_IMPORTED_MODULE_2__.assertRequest)({\n account,\n ...args,\n });\n const chainId = await (0,_utils_getAction_js__WEBPACK_IMPORTED_MODULE_3__.getAction)(client, _public_getChainId_js__WEBPACK_IMPORTED_MODULE_4__.getChainId, 'getChainId')({});\n if (chain !== nu
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/actions/wallet/signTypedData.js":
|
|||
|
/*!****************************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/actions/wallet/signTypedData.js ***!
|
|||
|
\****************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ signTypedData: () => (/* binding */ signTypedData)\n/* harmony export */ });\n/* harmony import */ var _accounts_utils_parseAccount_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../accounts/utils/parseAccount.js */ \"./node_modules/viem/_esm/accounts/utils/parseAccount.js\");\n/* harmony import */ var _errors_account_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../errors/account.js */ \"./node_modules/viem/_esm/errors/account.js\");\n/* harmony import */ var _utils_data_isHex_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../utils/data/isHex.js */ \"./node_modules/viem/_esm/utils/data/isHex.js\");\n/* harmony import */ var _utils_stringify_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../utils/stringify.js */ \"./node_modules/viem/_esm/utils/stringify.js\");\n/* harmony import */ var _utils_typedData_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../utils/typedData.js */ \"./node_modules/viem/_esm/utils/typedData.js\");\n\n\n\n\n\n/**\n * Signs typed data and calculates an Ethereum-specific signature in [https://eips.ethereum.org/EIPS/eip-712](https://eips.ethereum.org/EIPS/eip-712): `sign(keccak256(\"\\x19\\x01\" ‖ domainSeparator ‖ hashStruct(message)))`\n *\n * - Docs: https://viem.sh/docs/actions/wallet/signTypedData.html\n * - JSON-RPC Methods:\n * - JSON-RPC Accounts: [`eth_signTypedData_v4`](https://docs.metamask.io/guide/signing-data.html#signtypeddata-v4)\n * - Local Accounts: Signs locally. No JSON-RPC request.\n *\n * @param client - Client to use\n * @param parameters - {@link SignTypedDataParameters}\n * @returns The signed data. {@link SignTypedDataReturnType}\n *\n * @example\n * import { createWalletClient, custom } from 'viem'\n * import { mainnet } from 'viem/chains'\n * import { signTypedData } from 'viem/wallet'\n *\n * const client = createWalletClient({\n * chain: mainnet,\n * transport: custom(window.ethereum),\n * })\n * const signature = await signTypedData(client, {\n * account: '0xA0Cf798816D4b9b9866b5330EEa46a18382f251e',\n * domain: {\n * name: 'Ether Mail',\n * version: '1',\n * chainId: 1,\n * verifyingContract: '0xCcCCccccCCCCcCCCCCCcCcCccCcCCCcCcccccccC',\n * },\n * types: {\n * Person: [\n * { name: 'name', type: 'string' },\n * { name: 'wallet', type: 'address' },\n * ],\n * Mail: [\n * { name: 'from', type: 'Person' },\n * { name: 'to', type: 'Person' },\n * { name: 'contents', type: 'string' },\n * ],\n * },\n * primaryType: 'Mail',\n * message: {\n * from: {\n * name: 'Cow',\n * wallet: '0xCD2a3d9F938E13CD947Ec05AbC7FE734Df8DD826',\n * },\n * to: {\n * name: 'Bob',\n * wallet: '0xbBbBBBBbbBBBbbbBbbBbbbbBBbBbbbbBbBbbBBbB',\n * },\n * contents: 'Hello, Bob!',\n * },\n * })\n *\n * @example\n * // Account Hoisting\n * import { createWalletClient, http } from 'viem'\n * import { privateKeyToAccount } from 'viem/accounts'\n * import { mainnet } from 'viem/chains'\n * import { signTypedData } from 'viem/wallet'\n *\n * const client = createWalletClient({\n * account: privateKeyToAccount('0x…'),\n * chain: mainnet,\n * transport: http(),\n * })\n * const signature = await signTypedData(client, {\n * domain: {\n * name: 'Ether Mail',\n * version: '1',\n * chainId: 1,\n * verifyingContract: '0xCcCCccccCCCCcCCCCCCcCcCccCcCCCcCcccccccC',\n * },\n * types: {\n * Person: [\n * { name: 'name', type: 'string' },\n * { name: 'wallet', type: 'address' },\n * ],\n * Mail: [\n * { name: 'from', type: 'Person' },\n * { name: 'to', type: 'Person' },\n * { name: 'contents', type: 'string' },\n * ],\n * },\n * primaryType: 'Mail',\n * message: {\n * from: {\n * name: 'Cow',\n * wallet: '0xCD2a3d9F938E13CD947Ec05AbC7FE734Df8DD826',\n * },\n * to: {\n * n
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/actions/wallet/switchChain.js":
|
|||
|
/*!**************************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/actions/wallet/switchChain.js ***!
|
|||
|
\**************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ switchChain: () => (/* binding */ switchChain)\n/* harmony export */ });\n/* harmony import */ var _utils_encoding_toHex_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/encoding/toHex.js */ \"./node_modules/viem/_esm/utils/encoding/toHex.js\");\n\n/**\n * Switch the target chain in a wallet.\n *\n * - Docs: https://viem.sh/docs/actions/wallet/switchChain.html\n * - JSON-RPC Methods: [`eth_switchEthereumChain`](https://eips.ethereum.org/EIPS/eip-3326)\n *\n * @param client - Client to use\n * @param parameters - {@link SwitchChainParameters}\n *\n * @example\n * import { createWalletClient, custom } from 'viem'\n * import { mainnet, optimism } from 'viem/chains'\n * import { switchChain } from 'viem/wallet'\n *\n * const client = createWalletClient({\n * chain: mainnet,\n * transport: custom(window.ethereum),\n * })\n * await switchChain(client, { id: optimism.id })\n */\nasync function switchChain(client, { id }) {\n await client.request({\n method: 'wallet_switchEthereumChain',\n params: [\n {\n chainId: (0,_utils_encoding_toHex_js__WEBPACK_IMPORTED_MODULE_0__.numberToHex)(id),\n },\n ],\n });\n}\n//# sourceMappingURL=switchChain.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/actions/wallet/switchChain.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/actions/wallet/watchAsset.js":
|
|||
|
/*!*************************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/actions/wallet/watchAsset.js ***!
|
|||
|
\*************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ watchAsset: () => (/* binding */ watchAsset)\n/* harmony export */ });\n/**\n * Adds an EVM chain to the wallet.\n *\n * - Docs: https://viem.sh/docs/actions/wallet/watchAsset.html\n * - JSON-RPC Methods: [`eth_switchEthereumChain`](https://eips.ethereum.org/EIPS/eip-747)\n *\n * @param client - Client to use\n * @param parameters - {@link WatchAssetParameters}\n * @returns Boolean indicating if the token was successfully added. {@link WatchAssetReturnType}\n *\n * @example\n * import { createWalletClient, custom } from 'viem'\n * import { mainnet } from 'viem/chains'\n * import { watchAsset } from 'viem/wallet'\n *\n * const client = createWalletClient({\n * chain: mainnet,\n * transport: custom(window.ethereum),\n * })\n * const success = await watchAsset(client, {\n * type: 'ERC20',\n * options: {\n * address: '0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2',\n * decimals: 18,\n * symbol: 'WETH',\n * },\n * })\n */\nasync function watchAsset(client, params) {\n const added = await client.request({\n method: 'wallet_watchAsset',\n params,\n });\n return added;\n}\n//# sourceMappingURL=watchAsset.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/actions/wallet/watchAsset.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/actions/wallet/writeContract.js":
|
|||
|
/*!****************************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/actions/wallet/writeContract.js ***!
|
|||
|
\****************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ writeContract: () => (/* binding */ writeContract)\n/* harmony export */ });\n/* harmony import */ var _utils_abi_encodeFunctionData_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/abi/encodeFunctionData.js */ \"./node_modules/viem/_esm/utils/abi/encodeFunctionData.js\");\n/* harmony import */ var _utils_getAction_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../utils/getAction.js */ \"./node_modules/viem/_esm/utils/getAction.js\");\n/* harmony import */ var _sendTransaction_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./sendTransaction.js */ \"./node_modules/viem/_esm/actions/wallet/sendTransaction.js\");\n\n\n\n/**\n * Executes a write function on a contract.\n *\n * - Docs: https://viem.sh/docs/contract/writeContract.html\n * - Examples: https://stackblitz.com/github/wevm/viem/tree/main/examples/contracts/writing-to-contracts\n *\n * A \"write\" function on a Solidity contract modifies the state of the blockchain. These types of functions require gas to be executed, and hence a [Transaction](https://viem.sh/docs/glossary/terms.html) is needed to be broadcast in order to change the state.\n *\n * Internally, uses a [Wallet Client](https://viem.sh/docs/clients/wallet.html) to call the [`sendTransaction` action](https://viem.sh/docs/actions/wallet/sendTransaction.html) with [ABI-encoded `data`](https://viem.sh/docs/contract/encodeFunctionData.html).\n *\n * __Warning: The `write` internally sends a transaction – it does not validate if the contract write will succeed (the contract may throw an error). It is highly recommended to [simulate the contract write with `contract.simulate`](https://viem.sh/docs/contract/writeContract.html#usage) before you execute it.__\n *\n * @param client - Client to use\n * @param parameters - {@link WriteContractParameters}\n * @returns A [Transaction Hash](https://viem.sh/docs/glossary/terms.html#hash). {@link WriteContractReturnType}\n *\n * @example\n * import { createWalletClient, custom, parseAbi } from 'viem'\n * import { mainnet } from 'viem/chains'\n * import { writeContract } from 'viem/contract'\n *\n * const client = createWalletClient({\n * chain: mainnet,\n * transport: custom(window.ethereum),\n * })\n * const hash = await writeContract(client, {\n * address: '0xFBA3912Ca04dd458c843e2EE08967fC04f3579c2',\n * abi: parseAbi(['function mint(uint32 tokenId) nonpayable']),\n * functionName: 'mint',\n * args: [69420],\n * })\n *\n * @example\n * // With Validation\n * import { createWalletClient, http, parseAbi } from 'viem'\n * import { mainnet } from 'viem/chains'\n * import { simulateContract, writeContract } from 'viem/contract'\n *\n * const client = createWalletClient({\n * chain: mainnet,\n * transport: http(),\n * })\n * const { request } = await simulateContract(client, {\n * address: '0xFBA3912Ca04dd458c843e2EE08967fC04f3579c2',\n * abi: parseAbi(['function mint(uint32 tokenId) nonpayable']),\n * functionName: 'mint',\n * args: [69420],\n * }\n * const hash = await writeContract(client, request)\n */\nasync function writeContract(client, { abi, address, args, dataSuffix, functionName, ...request }) {\n const data = (0,_utils_abi_encodeFunctionData_js__WEBPACK_IMPORTED_MODULE_0__.encodeFunctionData)({\n abi,\n args,\n functionName,\n });\n const hash = await (0,_utils_getAction_js__WEBPACK_IMPORTED_MODULE_1__.getAction)(client, _sendTransaction_js__WEBPACK_IMPORTED_MODULE_2__.sendTransaction, 'sendTransaction')({\n data: `${data}${dataSuffix ? dataSuffix.replace('0x', '') : ''}`,\n to: address,\n ...request,\n });\n return hash;\n}\n//# sourceMappingURL=writeContract.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/actions/wallet/writeContract.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/chains/definitions/goerli.js":
|
|||
|
/*!*************************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/chains/definitions/goerli.js ***!
|
|||
|
\*************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ goerli: () => (/* binding */ goerli)\n/* harmony export */ });\n/* harmony import */ var _utils_chain_defineChain_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/chain/defineChain.js */ \"./node_modules/viem/_esm/utils/chain/defineChain.js\");\n\nconst goerli = /*#__PURE__*/ (0,_utils_chain_defineChain_js__WEBPACK_IMPORTED_MODULE_0__.defineChain)({\n id: 5,\n network: 'goerli',\n name: 'Goerli',\n nativeCurrency: { name: 'Goerli Ether', symbol: 'ETH', decimals: 18 },\n rpcUrls: {\n alchemy: {\n http: ['https://eth-goerli.g.alchemy.com/v2'],\n webSocket: ['wss://eth-goerli.g.alchemy.com/v2'],\n },\n infura: {\n http: ['https://goerli.infura.io/v3'],\n webSocket: ['wss://goerli.infura.io/ws/v3'],\n },\n default: {\n http: ['https://rpc.ankr.com/eth_goerli'],\n },\n public: {\n http: ['https://rpc.ankr.com/eth_goerli'],\n },\n },\n blockExplorers: {\n etherscan: {\n name: 'Etherscan',\n url: 'https://goerli.etherscan.io',\n },\n default: {\n name: 'Etherscan',\n url: 'https://goerli.etherscan.io',\n },\n },\n contracts: {\n ensRegistry: {\n address: '0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e',\n },\n ensUniversalResolver: {\n address: '0x56522D00C410a43BFfDF00a9A569489297385790',\n blockCreated: 8765204,\n },\n multicall3: {\n address: '0xca11bde05977b3631167028862be2a173976ca11',\n blockCreated: 6507670,\n },\n },\n testnet: true,\n});\n//# sourceMappingURL=goerli.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/chains/definitions/goerli.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/chains/definitions/mainnet.js":
|
|||
|
/*!**************************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/chains/definitions/mainnet.js ***!
|
|||
|
\**************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ mainnet: () => (/* binding */ mainnet)\n/* harmony export */ });\n/* harmony import */ var _utils_chain_defineChain_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/chain/defineChain.js */ \"./node_modules/viem/_esm/utils/chain/defineChain.js\");\n\nconst mainnet = /*#__PURE__*/ (0,_utils_chain_defineChain_js__WEBPACK_IMPORTED_MODULE_0__.defineChain)({\n id: 1,\n network: 'homestead',\n name: 'Ethereum',\n nativeCurrency: { name: 'Ether', symbol: 'ETH', decimals: 18 },\n rpcUrls: {\n alchemy: {\n http: ['https://eth-mainnet.g.alchemy.com/v2'],\n webSocket: ['wss://eth-mainnet.g.alchemy.com/v2'],\n },\n infura: {\n http: ['https://mainnet.infura.io/v3'],\n webSocket: ['wss://mainnet.infura.io/ws/v3'],\n },\n default: {\n http: ['https://cloudflare-eth.com'],\n },\n public: {\n http: ['https://cloudflare-eth.com'],\n },\n },\n blockExplorers: {\n etherscan: {\n name: 'Etherscan',\n url: 'https://etherscan.io',\n },\n default: {\n name: 'Etherscan',\n url: 'https://etherscan.io',\n },\n },\n contracts: {\n ensRegistry: {\n address: '0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e',\n },\n ensUniversalResolver: {\n address: '0xc0497E381f536Be9ce14B0dD3817cBcAe57d2F62',\n blockCreated: 16966585,\n },\n multicall3: {\n address: '0xca11bde05977b3631167028862be2a173976ca11',\n blockCreated: 14353601,\n },\n },\n});\n//# sourceMappingURL=mainnet.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/chains/definitions/mainnet.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/clients/createClient.js":
|
|||
|
/*!********************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/clients/createClient.js ***!
|
|||
|
\********************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ createClient: () => (/* binding */ createClient)\n/* harmony export */ });\n/* harmony import */ var _utils_accounts_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils/accounts.js */ \"./node_modules/viem/_esm/accounts/utils/parseAccount.js\");\n/* harmony import */ var _utils_uid_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils/uid.js */ \"./node_modules/viem/_esm/utils/uid.js\");\n\n\nfunction createClient(parameters) {\n const { batch, cacheTime = parameters.pollingInterval ?? 4000, key = 'base', name = 'Base Client', pollingInterval = 4000, type = 'base', } = parameters;\n const chain = parameters.chain;\n const account = parameters.account\n ? (0,_utils_accounts_js__WEBPACK_IMPORTED_MODULE_0__.parseAccount)(parameters.account)\n : undefined;\n const { config, request, value } = parameters.transport({\n chain,\n pollingInterval,\n });\n const transport = { ...config, ...value };\n const client = {\n account,\n batch,\n cacheTime,\n chain,\n key,\n name,\n pollingInterval,\n request,\n transport,\n type,\n uid: (0,_utils_uid_js__WEBPACK_IMPORTED_MODULE_1__.uid)(),\n };\n function extend(base) {\n return (extendFn) => {\n const extended = extendFn(base);\n for (const key in client)\n delete extended[key];\n const combined = { ...base, ...extended };\n return Object.assign(combined, { extend: extend(combined) });\n };\n }\n return Object.assign(client, { extend: extend(client) });\n}\n//# sourceMappingURL=createClient.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/clients/createClient.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/clients/createPublicClient.js":
|
|||
|
/*!**************************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/clients/createPublicClient.js ***!
|
|||
|
\**************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ createPublicClient: () => (/* binding */ createPublicClient)\n/* harmony export */ });\n/* harmony import */ var _createClient_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./createClient.js */ \"./node_modules/viem/_esm/clients/createClient.js\");\n/* harmony import */ var _decorators_public_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./decorators/public.js */ \"./node_modules/viem/_esm/clients/decorators/public.js\");\n\n\nfunction createPublicClient(parameters) {\n const { key = 'public', name = 'Public Client' } = parameters;\n const client = (0,_createClient_js__WEBPACK_IMPORTED_MODULE_0__.createClient)({\n ...parameters,\n key,\n name,\n type: 'publicClient',\n });\n return client.extend(_decorators_public_js__WEBPACK_IMPORTED_MODULE_1__.publicActions);\n}\n//# sourceMappingURL=createPublicClient.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/clients/createPublicClient.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/clients/createWalletClient.js":
|
|||
|
/*!**************************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/clients/createWalletClient.js ***!
|
|||
|
\**************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ createWalletClient: () => (/* binding */ createWalletClient)\n/* harmony export */ });\n/* harmony import */ var _createClient_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./createClient.js */ \"./node_modules/viem/_esm/clients/createClient.js\");\n/* harmony import */ var _decorators_wallet_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./decorators/wallet.js */ \"./node_modules/viem/_esm/clients/decorators/wallet.js\");\n\n\nfunction createWalletClient(parameters) {\n const { key = 'wallet', name = 'Wallet Client', transport } = parameters;\n const client = (0,_createClient_js__WEBPACK_IMPORTED_MODULE_0__.createClient)({\n ...parameters,\n key,\n name,\n transport: (opts) => transport({ ...opts, retryCount: 0 }),\n type: 'walletClient',\n });\n return client.extend(_decorators_wallet_js__WEBPACK_IMPORTED_MODULE_1__.walletActions);\n}\n//# sourceMappingURL=createWalletClient.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/clients/createWalletClient.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/clients/decorators/public.js":
|
|||
|
/*!*************************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/clients/decorators/public.js ***!
|
|||
|
\*************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ publicActions: () => (/* binding */ publicActions)\n/* harmony export */ });\n/* harmony import */ var _actions_ens_getEnsAddress_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../../actions/ens/getEnsAddress.js */ \"./node_modules/viem/_esm/actions/ens/getEnsAddress.js\");\n/* harmony import */ var _actions_ens_getEnsAvatar_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../../actions/ens/getEnsAvatar.js */ \"./node_modules/viem/_esm/actions/ens/getEnsAvatar.js\");\n/* harmony import */ var _actions_ens_getEnsName_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ../../actions/ens/getEnsName.js */ \"./node_modules/viem/_esm/actions/ens/getEnsName.js\");\n/* harmony import */ var _actions_ens_getEnsResolver_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ../../actions/ens/getEnsResolver.js */ \"./node_modules/viem/_esm/actions/ens/getEnsResolver.js\");\n/* harmony import */ var _actions_ens_getEnsText_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ../../actions/ens/getEnsText.js */ \"./node_modules/viem/_esm/actions/ens/getEnsText.js\");\n/* harmony import */ var _actions_public_call_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../actions/public/call.js */ \"./node_modules/viem/_esm/actions/public/call.js\");\n/* harmony import */ var _actions_public_createBlockFilter_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../actions/public/createBlockFilter.js */ \"./node_modules/viem/_esm/actions/public/createBlockFilter.js\");\n/* harmony import */ var _actions_public_createContractEventFilter_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../actions/public/createContractEventFilter.js */ \"./node_modules/viem/_esm/actions/public/createContractEventFilter.js\");\n/* harmony import */ var _actions_public_createEventFilter_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../actions/public/createEventFilter.js */ \"./node_modules/viem/_esm/actions/public/createEventFilter.js\");\n/* harmony import */ var _actions_public_createPendingTransactionFilter_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../actions/public/createPendingTransactionFilter.js */ \"./node_modules/viem/_esm/actions/public/createPendingTransactionFilter.js\");\n/* harmony import */ var _actions_public_estimateContractGas_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../actions/public/estimateContractGas.js */ \"./node_modules/viem/_esm/actions/public/estimateContractGas.js\");\n/* harmony import */ var _actions_public_estimateFeesPerGas_js__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ../../actions/public/estimateFeesPerGas.js */ \"./node_modules/viem/_esm/actions/public/estimateFeesPerGas.js\");\n/* harmony import */ var _actions_public_estimateGas_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../actions/public/estimateGas.js */ \"./node_modules/viem/_esm/actions/public/estimateGas.js\");\n/* harmony import */ var _actions_public_estimateMaxPriorityFeePerGas_js__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ../../actions/public/estimateMaxPriorityFeePerGas.js */ \"./node_modules/viem/_esm/actions/public/estimateMaxPriorityFeePerGas.js\");\n/* harmony import */ var _actions_public_getBalance_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../actions/public/getBalance.js */ \"./node_modules/viem/_esm/actions/public/getBalance.js\");\n/* harmony import */ var _actions_public_getBlock_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../actions/public/getBlock.js */ \"./node_modules/viem/_esm/actions/public/getBlock.js\");\n/* harmony import */ var _actions_public_getBlockNumber_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../actions/public/getBlockNumber.js */ \"./node_modules/viem/_esm/actions/public/getBlockNumber.js\");\n/* harmony import */ var _actions_public_getBlockTransactionCount_js__WEBPACK_IMPORTED_MODU
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/clients/decorators/wallet.js":
|
|||
|
/*!*************************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/clients/decorators/wallet.js ***!
|
|||
|
\*************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ walletActions: () => (/* binding */ walletActions)\n/* harmony export */ });\n/* harmony import */ var _actions_public_getChainId_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../actions/public/getChainId.js */ \"./node_modules/viem/_esm/actions/public/getChainId.js\");\n/* harmony import */ var _actions_wallet_addChain_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../actions/wallet/addChain.js */ \"./node_modules/viem/_esm/actions/wallet/addChain.js\");\n/* harmony import */ var _actions_wallet_deployContract_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../actions/wallet/deployContract.js */ \"./node_modules/viem/_esm/actions/wallet/deployContract.js\");\n/* harmony import */ var _actions_wallet_getAddresses_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../actions/wallet/getAddresses.js */ \"./node_modules/viem/_esm/actions/wallet/getAddresses.js\");\n/* harmony import */ var _actions_wallet_getPermissions_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../actions/wallet/getPermissions.js */ \"./node_modules/viem/_esm/actions/wallet/getPermissions.js\");\n/* harmony import */ var _actions_wallet_prepareTransactionRequest_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../actions/wallet/prepareTransactionRequest.js */ \"./node_modules/viem/_esm/actions/wallet/prepareTransactionRequest.js\");\n/* harmony import */ var _actions_wallet_requestAddresses_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../actions/wallet/requestAddresses.js */ \"./node_modules/viem/_esm/actions/wallet/requestAddresses.js\");\n/* harmony import */ var _actions_wallet_requestPermissions_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../actions/wallet/requestPermissions.js */ \"./node_modules/viem/_esm/actions/wallet/requestPermissions.js\");\n/* harmony import */ var _actions_wallet_sendRawTransaction_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../actions/wallet/sendRawTransaction.js */ \"./node_modules/viem/_esm/actions/wallet/sendRawTransaction.js\");\n/* harmony import */ var _actions_wallet_sendTransaction_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../actions/wallet/sendTransaction.js */ \"./node_modules/viem/_esm/actions/wallet/sendTransaction.js\");\n/* harmony import */ var _actions_wallet_signMessage_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../actions/wallet/signMessage.js */ \"./node_modules/viem/_esm/actions/wallet/signMessage.js\");\n/* harmony import */ var _actions_wallet_signTransaction_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../../actions/wallet/signTransaction.js */ \"./node_modules/viem/_esm/actions/wallet/signTransaction.js\");\n/* harmony import */ var _actions_wallet_signTypedData_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../../actions/wallet/signTypedData.js */ \"./node_modules/viem/_esm/actions/wallet/signTypedData.js\");\n/* harmony import */ var _actions_wallet_switchChain_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../../actions/wallet/switchChain.js */ \"./node_modules/viem/_esm/actions/wallet/switchChain.js\");\n/* harmony import */ var _actions_wallet_watchAsset_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../../actions/wallet/watchAsset.js */ \"./node_modules/viem/_esm/actions/wallet/watchAsset.js\");\n/* harmony import */ var _actions_wallet_writeContract_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../../actions/wallet/writeContract.js */ \"./node_modules/viem/_esm/actions/wallet/writeContract.js\");\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nfunction walletActions(client) {\n return {\n addChain: (args) => (0,_actions_wallet_addChain_js__WEBPACK_IMPORTED_MODULE_0__.addChain)(client, args),\n deployContract: (args) => (0,_actions_wallet_deployContract_js__WEBPACK_IMPORTED_MODULE_1__.deployContract)(client, args),\n get
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/clients/transports/createTransport.js":
|
|||
|
/*!**********************************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/clients/transports/createTransport.js ***!
|
|||
|
\**********************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ createTransport: () => (/* binding */ createTransport)\n/* harmony export */ });\n/* harmony import */ var _utils_buildRequest_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/buildRequest.js */ \"./node_modules/viem/_esm/utils/buildRequest.js\");\n\n/**\n * @description Creates an transport intended to be used with a client.\n */\nfunction createTransport({ key, name, request, retryCount = 3, retryDelay = 150, timeout, type, }, value) {\n return {\n config: { key, name, request, retryCount, retryDelay, timeout, type },\n request: (0,_utils_buildRequest_js__WEBPACK_IMPORTED_MODULE_0__.buildRequest)(request, { retryCount, retryDelay }),\n value,\n };\n}\n//# sourceMappingURL=createTransport.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/clients/transports/createTransport.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/clients/transports/custom.js":
|
|||
|
/*!*************************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/clients/transports/custom.js ***!
|
|||
|
\*************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ custom: () => (/* binding */ custom)\n/* harmony export */ });\n/* harmony import */ var _createTransport_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./createTransport.js */ \"./node_modules/viem/_esm/clients/transports/createTransport.js\");\n\n/**\n * @description Creates a custom transport given an EIP-1193 compliant `request` attribute.\n */\nfunction custom(provider, config = {}) {\n const { key = 'custom', name = 'Custom Provider', retryDelay } = config;\n return ({ retryCount: defaultRetryCount }) => (0,_createTransport_js__WEBPACK_IMPORTED_MODULE_0__.createTransport)({\n key,\n name,\n request: provider.request.bind(provider),\n retryCount: config.retryCount ?? defaultRetryCount,\n retryDelay,\n type: 'custom',\n });\n}\n//# sourceMappingURL=custom.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/clients/transports/custom.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/clients/transports/fallback.js":
|
|||
|
/*!***************************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/clients/transports/fallback.js ***!
|
|||
|
\***************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ fallback: () => (/* binding */ fallback),\n/* harmony export */ rankTransports: () => (/* binding */ rankTransports)\n/* harmony export */ });\n/* harmony import */ var _utils_buildRequest_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../utils/buildRequest.js */ \"./node_modules/viem/_esm/utils/buildRequest.js\");\n/* harmony import */ var _utils_wait_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../utils/wait.js */ \"./node_modules/viem/_esm/utils/wait.js\");\n/* harmony import */ var _createTransport_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./createTransport.js */ \"./node_modules/viem/_esm/clients/transports/createTransport.js\");\n\n\n\nfunction fallback(transports_, config = {}) {\n const { key = 'fallback', name = 'Fallback', rank = false, retryCount, retryDelay, } = config;\n return ({ chain, pollingInterval = 4000, timeout }) => {\n let transports = transports_;\n let onResponse = () => { };\n const transport = (0,_createTransport_js__WEBPACK_IMPORTED_MODULE_0__.createTransport)({\n key,\n name,\n async request({ method, params }) {\n const fetch = async (i = 0) => {\n const transport = transports[i]({ chain, retryCount: 0, timeout });\n try {\n const response = await transport.request({\n method,\n params,\n });\n onResponse({\n method,\n params: params,\n response,\n transport,\n status: 'success',\n });\n return response;\n }\n catch (err) {\n onResponse({\n error: err,\n method,\n params: params,\n transport,\n status: 'error',\n });\n // If the error is deterministic, we don't need to fall back.\n // So throw the error.\n if ((0,_utils_buildRequest_js__WEBPACK_IMPORTED_MODULE_1__.isDeterministicError)(err))\n throw err;\n // If we've reached the end of the fallbacks, throw the error.\n if (i === transports.length - 1)\n throw err;\n // Otherwise, try the next fallback.\n return fetch(i + 1);\n }\n };\n return fetch();\n },\n retryCount,\n retryDelay,\n type: 'fallback',\n }, {\n onResponse: (fn) => (onResponse = fn),\n transports: transports.map((fn) => fn({ chain, retryCount: 0 })),\n });\n if (rank) {\n const rankOptions = (typeof rank === 'object' ? rank : {});\n rankTransports({\n chain,\n interval: rankOptions.interval ?? pollingInterval,\n onTransports: (transports_) => (transports = transports_),\n sampleCount: rankOptions.sampleCount,\n timeout: rankOptions.timeout,\n transports,\n weights: rankOptions.weights,\n });\n }\n return transport;\n };\n}\nfunction rankTransports({ chain, interval = 4000, onTransports, sampleCount = 10, timeout = 1000, transports, weights = {}, }) {\n const { stability: stabilityWeight = 0.7, latency: latencyWeight = 0.3 } = weights;\n const samples = [];\n const rankTransports_ = async () => {\n // 1. Take a sample from each Transport.\n const
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/clients/transports/http.js":
|
|||
|
/*!***********************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/clients/transports/http.js ***!
|
|||
|
\***********************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ http: () => (/* binding */ http)\n/* harmony export */ });\n/* harmony import */ var _errors_request_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../errors/request.js */ \"./node_modules/viem/_esm/errors/request.js\");\n/* harmony import */ var _errors_transport_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../errors/transport.js */ \"./node_modules/viem/_esm/errors/transport.js\");\n/* harmony import */ var _utils_promise_createBatchScheduler_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../utils/promise/createBatchScheduler.js */ \"./node_modules/viem/_esm/utils/promise/createBatchScheduler.js\");\n/* harmony import */ var _utils_rpc_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../utils/rpc.js */ \"./node_modules/viem/_esm/utils/rpc.js\");\n/* harmony import */ var _createTransport_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./createTransport.js */ \"./node_modules/viem/_esm/clients/transports/createTransport.js\");\n\n\n\n\n\n/**\n * @description Creates a HTTP transport that connects to a JSON-RPC API.\n */\nfunction http(\n/** URL of the JSON-RPC API. Defaults to the chain's public RPC URL. */\nurl, config = {}) {\n const { batch, fetchOptions, key = 'http', name = 'HTTP JSON-RPC', retryDelay, } = config;\n return ({ chain, retryCount: retryCount_, timeout: timeout_ }) => {\n const { batchSize = 1000, wait = 0 } = typeof batch === 'object' ? batch : {};\n const retryCount = config.retryCount ?? retryCount_;\n const timeout = timeout_ ?? config.timeout ?? 10000;\n const url_ = url || chain?.rpcUrls.default.http[0];\n if (!url_)\n throw new _errors_transport_js__WEBPACK_IMPORTED_MODULE_0__.UrlRequiredError();\n return (0,_createTransport_js__WEBPACK_IMPORTED_MODULE_1__.createTransport)({\n key,\n name,\n async request({ method, params }) {\n const body = { method, params };\n const { schedule } = (0,_utils_promise_createBatchScheduler_js__WEBPACK_IMPORTED_MODULE_2__.createBatchScheduler)({\n id: `${url}`,\n wait,\n shouldSplitBatch(requests) {\n return requests.length > batchSize;\n },\n fn: (body) => _utils_rpc_js__WEBPACK_IMPORTED_MODULE_3__.rpc.http(url_, {\n body,\n fetchOptions,\n timeout,\n }),\n sort: (a, b) => a.id - b.id,\n });\n const fn = async (body) => batch\n ? schedule(body)\n : [await _utils_rpc_js__WEBPACK_IMPORTED_MODULE_3__.rpc.http(url_, { body, fetchOptions, timeout })];\n const [{ error, result }] = await fn(body);\n if (error)\n throw new _errors_request_js__WEBPACK_IMPORTED_MODULE_4__.RpcRequestError({\n body,\n error,\n url: url_,\n });\n return result;\n },\n retryCount,\n retryDelay,\n timeout,\n type: 'http',\n }, {\n fetchOptions,\n url,\n });\n };\n}\n//# sourceMappingURL=http.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/clients/transports/http.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/clients/transports/webSocket.js":
|
|||
|
/*!****************************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/clients/transports/webSocket.js ***!
|
|||
|
\****************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ webSocket: () => (/* binding */ webSocket)\n/* harmony export */ });\n/* harmony import */ var _errors_request_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../errors/request.js */ \"./node_modules/viem/_esm/errors/request.js\");\n/* harmony import */ var _errors_transport_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../errors/transport.js */ \"./node_modules/viem/_esm/errors/transport.js\");\n/* harmony import */ var _utils_rpc_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../utils/rpc.js */ \"./node_modules/viem/_esm/utils/rpc.js\");\n/* harmony import */ var _createTransport_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./createTransport.js */ \"./node_modules/viem/_esm/clients/transports/createTransport.js\");\n\n\n\n\n/**\n * @description Creates a WebSocket transport that connects to a JSON-RPC API.\n */\nfunction webSocket(\n/** URL of the JSON-RPC API. Defaults to the chain's public RPC URL. */\nurl, config = {}) {\n const { key = 'webSocket', name = 'WebSocket JSON-RPC', retryDelay } = config;\n return ({ chain, retryCount: retryCount_, timeout: timeout_ }) => {\n const retryCount = config.retryCount ?? retryCount_;\n const timeout = timeout_ ?? config.timeout ?? 10000;\n const url_ = url || chain?.rpcUrls.default.webSocket?.[0];\n if (!url_)\n throw new _errors_transport_js__WEBPACK_IMPORTED_MODULE_0__.UrlRequiredError();\n return (0,_createTransport_js__WEBPACK_IMPORTED_MODULE_1__.createTransport)({\n key,\n name,\n async request({ method, params }) {\n const body = { method, params };\n const socket = await (0,_utils_rpc_js__WEBPACK_IMPORTED_MODULE_2__.getSocket)(url_);\n const { error, result } = await _utils_rpc_js__WEBPACK_IMPORTED_MODULE_2__.rpc.webSocketAsync(socket, {\n body,\n timeout,\n });\n if (error)\n throw new _errors_request_js__WEBPACK_IMPORTED_MODULE_3__.RpcRequestError({\n body,\n error,\n url: url_,\n });\n return result;\n },\n retryCount,\n retryDelay,\n timeout,\n type: 'webSocket',\n }, {\n getSocket() {\n return (0,_utils_rpc_js__WEBPACK_IMPORTED_MODULE_2__.getSocket)(url_);\n },\n async subscribe({ params, onData, onError }) {\n const socket = await (0,_utils_rpc_js__WEBPACK_IMPORTED_MODULE_2__.getSocket)(url_);\n const { result: subscriptionId } = await new Promise((resolve, reject) => _utils_rpc_js__WEBPACK_IMPORTED_MODULE_2__.rpc.webSocket(socket, {\n body: {\n method: 'eth_subscribe',\n params,\n },\n onResponse(response) {\n if (response.error) {\n reject(response.error);\n onError?.(response.error);\n return;\n }\n if (typeof response.id === 'number') {\n resolve(response);\n return;\n }\n if (response.method !== 'eth_subscription')\n return;\n onData(response.params);\n },\n }));\n return {\n subscriptionId,\n async unsubscribe() {\n return new Promise((resolve) => _utils_rpc_js__WEBPACK_IMPORTED_MODULE_2__.rpc.webSocket(socket, {\n body: {\n method: 'eth_unsubscribe',\n
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/constants/abis.js":
|
|||
|
/*!**************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/constants/abis.js ***!
|
|||
|
\**************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ addressResolverAbi: () => (/* binding */ addressResolverAbi),\n/* harmony export */ multicall3Abi: () => (/* binding */ multicall3Abi),\n/* harmony export */ smartAccountAbi: () => (/* binding */ smartAccountAbi),\n/* harmony export */ textResolverAbi: () => (/* binding */ textResolverAbi),\n/* harmony export */ universalResolverResolveAbi: () => (/* binding */ universalResolverResolveAbi),\n/* harmony export */ universalResolverReverseAbi: () => (/* binding */ universalResolverReverseAbi),\n/* harmony export */ universalSignatureValidatorAbi: () => (/* binding */ universalSignatureValidatorAbi)\n/* harmony export */ });\n/* [Multicall3](https://github.com/mds1/multicall) */\nconst multicall3Abi = [\n {\n inputs: [\n {\n components: [\n {\n name: 'target',\n type: 'address',\n },\n {\n name: 'allowFailure',\n type: 'bool',\n },\n {\n name: 'callData',\n type: 'bytes',\n },\n ],\n name: 'calls',\n type: 'tuple[]',\n },\n ],\n name: 'aggregate3',\n outputs: [\n {\n components: [\n {\n name: 'success',\n type: 'bool',\n },\n {\n name: 'returnData',\n type: 'bytes',\n },\n ],\n name: 'returnData',\n type: 'tuple[]',\n },\n ],\n stateMutability: 'view',\n type: 'function',\n },\n];\nconst universalResolverErrors = [\n {\n inputs: [],\n name: 'ResolverNotFound',\n type: 'error',\n },\n {\n inputs: [],\n name: 'ResolverWildcardNotSupported',\n type: 'error',\n },\n];\nconst universalResolverResolveAbi = [\n ...universalResolverErrors,\n {\n name: 'resolve',\n type: 'function',\n stateMutability: 'view',\n inputs: [\n { name: 'name', type: 'bytes' },\n { name: 'data', type: 'bytes' },\n ],\n outputs: [\n { name: '', type: 'bytes' },\n { name: 'address', type: 'address' },\n ],\n },\n];\nconst universalResolverReverseAbi = [\n ...universalResolverErrors,\n {\n name: 'reverse',\n type: 'function',\n stateMutability: 'view',\n inputs: [{ type: 'bytes', name: 'reverseName' }],\n outputs: [\n { type: 'string', name: 'resolvedName' },\n { type: 'address', name: 'resolvedAddress' },\n { type: 'address', name: 'reverseResolver' },\n { type: 'address', name: 'resolver' },\n ],\n },\n];\nconst textResolverAbi = [\n {\n name: 'text',\n type: 'function',\n stateMutability: 'view',\n inputs: [\n { name: 'name', type: 'bytes32' },\n { name: 'key', type: 'string' },\n ],\n outputs: [{ name: '', type: 'string' }],\n },\n];\nconst addressResolverAbi = [\n {\n name: 'addr',\n type: 'function',\n stateMutability: 'view',\n inputs: [{ name: 'name', type: 'bytes32' }],\n outputs: [{ name: '', type: 'address' }],\n },\n {\n name: 'addr',\n type: 'function',\n stateMutability: 'view',\n inputs: [\n { name: 'name', type: 'bytes32' },\n { name: 'coinType', type: 'uint256' },\n ],\n outputs: [{ name: '', type: 'bytes' }],\n },\n];\n// ERC-1271\n// isValidSignature(bytes32 hash, bytes signature) → bytes4 magicValue\nconst smartAccountAbi = [\n {\n
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/constants/contract.js":
|
|||
|
/*!******************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/constants/contract.js ***!
|
|||
|
\******************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ aggregate3Signature: () => (/* binding */ aggregate3Signature)\n/* harmony export */ });\nconst aggregate3Signature = '0x82ad56cb';\n//# sourceMappingURL=contract.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/constants/contract.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/constants/contracts.js":
|
|||
|
/*!*******************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/constants/contracts.js ***!
|
|||
|
\*******************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ universalSignatureValidatorByteCode: () => (/* binding */ universalSignatureValidatorByteCode)\n/* harmony export */ });\nconst universalSignatureValidatorByteCode = '0x60806040523480156200001157600080fd5b50604051620007003803806200070083398101604081905262000034916200056f565b6000620000438484846200004f565b9050806000526001601ff35b600080846001600160a01b0316803b806020016040519081016040528181526000908060200190933c90507f6492649264926492649264926492649264926492649264926492649264926492620000a68462000451565b036200021f57600060608085806020019051810190620000c79190620005ce565b8651929550909350915060000362000192576000836001600160a01b031683604051620000f5919062000643565b6000604051808303816000865af19150503d806000811462000134576040519150601f19603f3d011682016040523d82523d6000602084013e62000139565b606091505b5050905080620001905760405162461bcd60e51b815260206004820152601e60248201527f5369676e617475726556616c696461746f723a206465706c6f796d656e74000060448201526064015b60405180910390fd5b505b604051630b135d3f60e11b808252906001600160a01b038a1690631626ba7e90620001c4908b90869060040162000661565b602060405180830381865afa158015620001e2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200020891906200069d565b6001600160e01b031916149450505050506200044a565b805115620002b157604051630b135d3f60e11b808252906001600160a01b03871690631626ba7e9062000259908890889060040162000661565b602060405180830381865afa15801562000277573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200029d91906200069d565b6001600160e01b031916149150506200044a565b8251604114620003195760405162461bcd60e51b815260206004820152603a6024820152600080516020620006e083398151915260448201527f3a20696e76616c6964207369676e6174757265206c656e677468000000000000606482015260840162000187565b620003236200046b565b506020830151604080850151855186939260009185919081106200034b576200034b620006c9565b016020015160f81c9050601b81148015906200036b57508060ff16601c14155b15620003cf5760405162461bcd60e51b815260206004820152603b6024820152600080516020620006e083398151915260448201527f3a20696e76616c6964207369676e617475726520762076616c75650000000000606482015260840162000187565b6040805160008152602081018083528a905260ff83169181019190915260608101849052608081018390526001600160a01b038a169060019060a0016020604051602081039080840390855afa1580156200042e573d6000803e3d6000fd5b505050602060405103516001600160a01b031614955050505050505b9392505050565b60006020825110156200046357600080fd5b508051015190565b60405180606001604052806003906020820280368337509192915050565b6001600160a01b03811681146200049f57600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b60005b83811015620004d5578181015183820152602001620004bb565b50506000910152565b600082601f830112620004f057600080fd5b81516001600160401b03808211156200050d576200050d620004a2565b604051601f8301601f19908116603f01168101908282118183101715620005385762000538620004a2565b816040528381528660208588010111156200055257600080fd5b62000565846020830160208901620004b8565b9695505050505050565b6000806000606084860312156200058557600080fd5b8351620005928162000489565b6020850151604086015191945092506001600160401b03811115620005b657600080fd5b620005c486828701620004de565b9150509250925092565b600080600060608486031215620005e457600080fd5b8351620005f18162000489565b60208501519093506001600160401b03808211156200060f57600080fd5b6200061d87838801620004de565b935060408601519150808211156200063457600080fd5b50620005c486828701620004de565b6000825162000657818460208701620004b8565b9190910192915050565b828152604060208201526000825180604084015262000688816060850160208701620004b8565b601f01601f1916919091016060019392505050565b600060208284031215620006b057600080fd5b81516001600160e01b0319811681146200044a57600080fd5b634e487b7160e01b600052603260045260246000fdfe5369676e617475726556616c696461746f72237265636f7665725369676e6572';\n//# sourceMappingURL=contracts.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/constants/contracts.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/constants/solidity.js":
|
|||
|
/*!******************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/constants/solidity.js ***!
|
|||
|
\******************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ panicReasons: () => (/* binding */ panicReasons),\n/* harmony export */ solidityError: () => (/* binding */ solidityError),\n/* harmony export */ solidityPanic: () => (/* binding */ solidityPanic)\n/* harmony export */ });\n// https://docs.soliditylang.org/en/v0.8.16/control-structures.html#panic-via-assert-and-error-via-require\nconst panicReasons = {\n 1: 'An `assert` condition failed.',\n 17: 'Arithmic operation resulted in underflow or overflow.',\n 18: 'Division or modulo by zero (e.g. `5 / 0` or `23 % 0`).',\n 33: 'Attempted to convert to an invalid type.',\n 34: 'Attempted to access a storage byte array that is incorrectly encoded.',\n 49: 'Performed `.pop()` on an empty array',\n 50: 'Array index is out of bounds.',\n 65: 'Allocated too much memory or created an array which is too large.',\n 81: 'Attempted to call a zero-initialized variable of internal function type.',\n};\nconst solidityError = {\n inputs: [\n {\n name: 'message',\n type: 'string',\n },\n ],\n name: 'Error',\n type: 'error',\n};\nconst solidityPanic = {\n inputs: [\n {\n name: 'reason',\n type: 'uint256',\n },\n ],\n name: 'Panic',\n type: 'error',\n};\n//# sourceMappingURL=solidity.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/constants/solidity.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/constants/strings.js":
|
|||
|
/*!*****************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/constants/strings.js ***!
|
|||
|
\*****************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ presignMessagePrefix: () => (/* binding */ presignMessagePrefix)\n/* harmony export */ });\nconst presignMessagePrefix = '\\x19Ethereum Signed Message:\\n';\n//# sourceMappingURL=strings.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/constants/strings.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/constants/unit.js":
|
|||
|
/*!**************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/constants/unit.js ***!
|
|||
|
\**************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ etherUnits: () => (/* binding */ etherUnits),\n/* harmony export */ gweiUnits: () => (/* binding */ gweiUnits),\n/* harmony export */ weiUnits: () => (/* binding */ weiUnits)\n/* harmony export */ });\nconst etherUnits = {\n gwei: 9,\n wei: 18,\n};\nconst gweiUnits = {\n ether: -9,\n wei: 9,\n};\nconst weiUnits = {\n ether: -18,\n gwei: -9,\n};\n//# sourceMappingURL=unit.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/constants/unit.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/errors/abi.js":
|
|||
|
/*!**********************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/errors/abi.js ***!
|
|||
|
\**********************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ AbiConstructorNotFoundError: () => (/* binding */ AbiConstructorNotFoundError),\n/* harmony export */ AbiConstructorParamsNotFoundError: () => (/* binding */ AbiConstructorParamsNotFoundError),\n/* harmony export */ AbiDecodingDataSizeInvalidError: () => (/* binding */ AbiDecodingDataSizeInvalidError),\n/* harmony export */ AbiDecodingDataSizeTooSmallError: () => (/* binding */ AbiDecodingDataSizeTooSmallError),\n/* harmony export */ AbiDecodingZeroDataError: () => (/* binding */ AbiDecodingZeroDataError),\n/* harmony export */ AbiEncodingArrayLengthMismatchError: () => (/* binding */ AbiEncodingArrayLengthMismatchError),\n/* harmony export */ AbiEncodingBytesSizeMismatchError: () => (/* binding */ AbiEncodingBytesSizeMismatchError),\n/* harmony export */ AbiEncodingLengthMismatchError: () => (/* binding */ AbiEncodingLengthMismatchError),\n/* harmony export */ AbiErrorInputsNotFoundError: () => (/* binding */ AbiErrorInputsNotFoundError),\n/* harmony export */ AbiErrorNotFoundError: () => (/* binding */ AbiErrorNotFoundError),\n/* harmony export */ AbiErrorSignatureNotFoundError: () => (/* binding */ AbiErrorSignatureNotFoundError),\n/* harmony export */ AbiEventNotFoundError: () => (/* binding */ AbiEventNotFoundError),\n/* harmony export */ AbiEventSignatureEmptyTopicsError: () => (/* binding */ AbiEventSignatureEmptyTopicsError),\n/* harmony export */ AbiEventSignatureNotFoundError: () => (/* binding */ AbiEventSignatureNotFoundError),\n/* harmony export */ AbiFunctionNotFoundError: () => (/* binding */ AbiFunctionNotFoundError),\n/* harmony export */ AbiFunctionOutputsNotFoundError: () => (/* binding */ AbiFunctionOutputsNotFoundError),\n/* harmony export */ AbiFunctionSignatureNotFoundError: () => (/* binding */ AbiFunctionSignatureNotFoundError),\n/* harmony export */ BytesSizeMismatchError: () => (/* binding */ BytesSizeMismatchError),\n/* harmony export */ DecodeLogDataMismatch: () => (/* binding */ DecodeLogDataMismatch),\n/* harmony export */ DecodeLogTopicsMismatch: () => (/* binding */ DecodeLogTopicsMismatch),\n/* harmony export */ InvalidAbiDecodingTypeError: () => (/* binding */ InvalidAbiDecodingTypeError),\n/* harmony export */ InvalidAbiEncodingTypeError: () => (/* binding */ InvalidAbiEncodingTypeError),\n/* harmony export */ InvalidArrayError: () => (/* binding */ InvalidArrayError),\n/* harmony export */ InvalidDefinitionTypeError: () => (/* binding */ InvalidDefinitionTypeError),\n/* harmony export */ UnsupportedPackedAbiType: () => (/* binding */ UnsupportedPackedAbiType)\n/* harmony export */ });\n/* harmony import */ var _utils_abi_formatAbiItem_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils/abi/formatAbiItem.js */ \"./node_modules/viem/_esm/utils/abi/formatAbiItem.js\");\n/* harmony import */ var _utils_data_size_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils/data/size.js */ \"./node_modules/viem/_esm/utils/data/size.js\");\n/* harmony import */ var _base_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./base.js */ \"./node_modules/viem/_esm/errors/base.js\");\n\n\n\nclass AbiConstructorNotFoundError extends _base_js__WEBPACK_IMPORTED_MODULE_0__.BaseError {\n constructor({ docsPath }) {\n super([\n 'A constructor was not found on the ABI.',\n 'Make sure you are using the correct ABI and that the constructor exists on it.',\n ].join('\\n'), {\n docsPath,\n });\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'AbiConstructorNotFoundError'\n });\n }\n}\nclass AbiConstructorParamsNotFoundError extends _base_js__WEBPACK_IMPORTED_MODULE_0__.BaseError {\n constructor({ docsPath }) {\n super([\n 'Constructor arguments were provided (`args`), but a constructor parameters
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/errors/account.js":
|
|||
|
/*!**************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/errors/account.js ***!
|
|||
|
\**************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ AccountNotFoundError: () => (/* binding */ AccountNotFoundError)\n/* harmony export */ });\n/* harmony import */ var _base_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./base.js */ \"./node_modules/viem/_esm/errors/base.js\");\n\nclass AccountNotFoundError extends _base_js__WEBPACK_IMPORTED_MODULE_0__.BaseError {\n constructor({ docsPath } = {}) {\n super([\n 'Could not find an Account to execute with this Action.',\n 'Please provide an Account with the `account` argument on the Action, or by supplying an `account` to the WalletClient.',\n ].join('\\n'), {\n docsPath,\n docsSlug: 'account',\n });\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'AccountNotFoundError'\n });\n }\n}\n//# sourceMappingURL=account.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/errors/account.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/errors/address.js":
|
|||
|
/*!**************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/errors/address.js ***!
|
|||
|
\**************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ InvalidAddressError: () => (/* binding */ InvalidAddressError)\n/* harmony export */ });\n/* harmony import */ var _base_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./base.js */ \"./node_modules/viem/_esm/errors/base.js\");\n\nclass InvalidAddressError extends _base_js__WEBPACK_IMPORTED_MODULE_0__.BaseError {\n constructor({ address }) {\n super(`Address \"${address}\" is invalid.`);\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'InvalidAddressError'\n });\n }\n}\n//# sourceMappingURL=address.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/errors/address.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/errors/base.js":
|
|||
|
/*!***********************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/errors/base.js ***!
|
|||
|
\***********************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ BaseError: () => (/* binding */ BaseError)\n/* harmony export */ });\n/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils.js */ \"./node_modules/viem/_esm/errors/utils.js\");\n\nclass BaseError extends Error {\n constructor(shortMessage, args = {}) {\n super();\n Object.defineProperty(this, \"details\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: void 0\n });\n Object.defineProperty(this, \"docsPath\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: void 0\n });\n Object.defineProperty(this, \"metaMessages\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: void 0\n });\n Object.defineProperty(this, \"shortMessage\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: void 0\n });\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'ViemError'\n });\n Object.defineProperty(this, \"version\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: (0,_utils_js__WEBPACK_IMPORTED_MODULE_0__.getVersion)()\n });\n const details = args.cause instanceof BaseError\n ? args.cause.details\n : args.cause?.message\n ? args.cause.message\n : args.details;\n const docsPath = args.cause instanceof BaseError\n ? args.cause.docsPath || args.docsPath\n : args.docsPath;\n this.message = [\n shortMessage || 'An error occurred.',\n '',\n ...(args.metaMessages ? [...args.metaMessages, ''] : []),\n ...(docsPath\n ? [\n `Docs: https://viem.sh${docsPath}.html${args.docsSlug ? `#${args.docsSlug}` : ''}`,\n ]\n : []),\n ...(details ? [`Details: ${details}`] : []),\n `Version: ${this.version}`,\n ].join('\\n');\n if (args.cause)\n this.cause = args.cause;\n this.details = details;\n this.docsPath = docsPath;\n this.metaMessages = args.metaMessages;\n this.shortMessage = shortMessage;\n }\n walk(fn) {\n return walk(this, fn);\n }\n}\nfunction walk(err, fn) {\n if (fn?.(err))\n return err;\n if (err && typeof err === 'object' && 'cause' in err)\n return walk(err.cause, fn);\n return fn ? null : err;\n}\n//# sourceMappingURL=base.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/errors/base.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/errors/block.js":
|
|||
|
/*!************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/errors/block.js ***!
|
|||
|
\************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ BlockNotFoundError: () => (/* binding */ BlockNotFoundError)\n/* harmony export */ });\n/* harmony import */ var _base_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./base.js */ \"./node_modules/viem/_esm/errors/base.js\");\n\nclass BlockNotFoundError extends _base_js__WEBPACK_IMPORTED_MODULE_0__.BaseError {\n constructor({ blockHash, blockNumber, }) {\n let identifier = 'Block';\n if (blockHash)\n identifier = `Block at hash \"${blockHash}\"`;\n if (blockNumber)\n identifier = `Block at number \"${blockNumber}\"`;\n super(`${identifier} could not be found.`);\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'BlockNotFoundError'\n });\n }\n}\n//# sourceMappingURL=block.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/errors/block.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/errors/chain.js":
|
|||
|
/*!************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/errors/chain.js ***!
|
|||
|
\************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ ChainDoesNotSupportContract: () => (/* binding */ ChainDoesNotSupportContract),\n/* harmony export */ ChainMismatchError: () => (/* binding */ ChainMismatchError),\n/* harmony export */ ChainNotFoundError: () => (/* binding */ ChainNotFoundError),\n/* harmony export */ ClientChainNotConfiguredError: () => (/* binding */ ClientChainNotConfiguredError),\n/* harmony export */ InvalidChainIdError: () => (/* binding */ InvalidChainIdError)\n/* harmony export */ });\n/* harmony import */ var _base_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./base.js */ \"./node_modules/viem/_esm/errors/base.js\");\n\nclass ChainDoesNotSupportContract extends _base_js__WEBPACK_IMPORTED_MODULE_0__.BaseError {\n constructor({ blockNumber, chain, contract, }) {\n super(`Chain \"${chain.name}\" does not support contract \"${contract.name}\".`, {\n metaMessages: [\n 'This could be due to any of the following:',\n ...(blockNumber &&\n contract.blockCreated &&\n contract.blockCreated > blockNumber\n ? [\n `- The contract \"${contract.name}\" was not deployed until block ${contract.blockCreated} (current block ${blockNumber}).`,\n ]\n : [\n `- The chain does not have the contract \"${contract.name}\" configured.`,\n ]),\n ],\n });\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'ChainDoesNotSupportContract'\n });\n }\n}\nclass ChainMismatchError extends _base_js__WEBPACK_IMPORTED_MODULE_0__.BaseError {\n constructor({ chain, currentChainId, }) {\n super(`The current chain of the wallet (id: ${currentChainId}) does not match the target chain for the transaction (id: ${chain.id} – ${chain.name}).`, {\n metaMessages: [\n `Current Chain ID: ${currentChainId}`,\n `Expected Chain ID: ${chain.id} – ${chain.name}`,\n ],\n });\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'ChainMismatchError'\n });\n }\n}\nclass ChainNotFoundError extends _base_js__WEBPACK_IMPORTED_MODULE_0__.BaseError {\n constructor() {\n super([\n 'No chain was provided to the request.',\n 'Please provide a chain with the `chain` argument on the Action, or by supplying a `chain` to WalletClient.',\n ].join('\\n'));\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'ChainNotFoundError'\n });\n }\n}\nclass ClientChainNotConfiguredError extends _base_js__WEBPACK_IMPORTED_MODULE_0__.BaseError {\n constructor() {\n super('No chain was provided to the Client.');\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'ClientChainNotConfiguredError'\n });\n }\n}\nclass InvalidChainIdError extends _base_js__WEBPACK_IMPORTED_MODULE_0__.BaseError {\n constructor({ chainId }) {\n super(`Chain ID \"${chainId}\" is invalid.`);\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'InvalidChainIdError'\n });\n }\n}\n//# sourceMappingURL=chain.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/errors/chain.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/errors/contract.js":
|
|||
|
/*!***************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/errors/contract.js ***!
|
|||
|
\***************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ CallExecutionError: () => (/* binding */ CallExecutionError),\n/* harmony export */ ContractFunctionExecutionError: () => (/* binding */ ContractFunctionExecutionError),\n/* harmony export */ ContractFunctionRevertedError: () => (/* binding */ ContractFunctionRevertedError),\n/* harmony export */ ContractFunctionZeroDataError: () => (/* binding */ ContractFunctionZeroDataError),\n/* harmony export */ RawContractError: () => (/* binding */ RawContractError)\n/* harmony export */ });\n/* harmony import */ var _accounts_utils_parseAccount_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../accounts/utils/parseAccount.js */ \"./node_modules/viem/_esm/accounts/utils/parseAccount.js\");\n/* harmony import */ var _constants_solidity_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../constants/solidity.js */ \"./node_modules/viem/_esm/constants/solidity.js\");\n/* harmony import */ var _utils_abi_decodeErrorResult_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../utils/abi/decodeErrorResult.js */ \"./node_modules/viem/_esm/utils/abi/decodeErrorResult.js\");\n/* harmony import */ var _utils_abi_formatAbiItem_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../utils/abi/formatAbiItem.js */ \"./node_modules/viem/_esm/utils/abi/formatAbiItem.js\");\n/* harmony import */ var _utils_abi_formatAbiItemWithArgs_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../utils/abi/formatAbiItemWithArgs.js */ \"./node_modules/viem/_esm/utils/abi/formatAbiItemWithArgs.js\");\n/* harmony import */ var _utils_abi_getAbiItem_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../utils/abi/getAbiItem.js */ \"./node_modules/viem/_esm/utils/abi/getAbiItem.js\");\n/* harmony import */ var _utils_unit_formatEther_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../utils/unit/formatEther.js */ \"./node_modules/viem/_esm/utils/unit/formatEther.js\");\n/* harmony import */ var _utils_unit_formatGwei_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../utils/unit/formatGwei.js */ \"./node_modules/viem/_esm/utils/unit/formatGwei.js\");\n/* harmony import */ var _abi_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./abi.js */ \"./node_modules/viem/_esm/errors/abi.js\");\n/* harmony import */ var _base_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./base.js */ \"./node_modules/viem/_esm/errors/base.js\");\n/* harmony import */ var _transaction_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./transaction.js */ \"./node_modules/viem/_esm/errors/transaction.js\");\n/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./utils.js */ \"./node_modules/viem/_esm/errors/utils.js\");\n\n\n\n\n\n\n\n\n\n\n\n\nclass CallExecutionError extends _base_js__WEBPACK_IMPORTED_MODULE_0__.BaseError {\n constructor(cause, { account: account_, docsPath, chain, data, gas, gasPrice, maxFeePerGas, maxPriorityFeePerGas, nonce, to, value, }) {\n const account = account_ ? (0,_accounts_utils_parseAccount_js__WEBPACK_IMPORTED_MODULE_1__.parseAccount)(account_) : undefined;\n const prettyArgs = (0,_transaction_js__WEBPACK_IMPORTED_MODULE_2__.prettyPrint)({\n from: account?.address,\n to,\n value: typeof value !== 'undefined' &&\n `${(0,_utils_unit_formatEther_js__WEBPACK_IMPORTED_MODULE_3__.formatEther)(value)} ${chain?.nativeCurrency?.symbol || 'ETH'}`,\n data,\n gas,\n gasPrice: typeof gasPrice !== 'undefined' && `${(0,_utils_unit_formatGwei_js__WEBPACK_IMPORTED_MODULE_4__.formatGwei)(gasPrice)} gwei`,\n maxFeePerGas: typeof maxFeePerGas !== 'undefined' &&\n `${(0,_utils_unit_formatGwei_js__WEBPACK_IMPORTED_MODULE_4__.formatGwei)(maxFeePerGas)} gwei`,\n maxPriorityFeePerGas: typeof maxPriorityFeePerGas !== 'undefined' &&\n `${(0,_utils_unit_formatGwei_js__W
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/errors/data.js":
|
|||
|
/*!***********************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/errors/data.js ***!
|
|||
|
\***********************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ SizeExceedsPaddingSizeError: () => (/* binding */ SizeExceedsPaddingSizeError),\n/* harmony export */ SliceOffsetOutOfBoundsError: () => (/* binding */ SliceOffsetOutOfBoundsError)\n/* harmony export */ });\n/* harmony import */ var _base_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./base.js */ \"./node_modules/viem/_esm/errors/base.js\");\n\nclass SliceOffsetOutOfBoundsError extends _base_js__WEBPACK_IMPORTED_MODULE_0__.BaseError {\n constructor({ offset, position, size, }) {\n super(`Slice ${position === 'start' ? 'starting' : 'ending'} at offset \"${offset}\" is out-of-bounds (size: ${size}).`);\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'SliceOffsetOutOfBoundsError'\n });\n }\n}\nclass SizeExceedsPaddingSizeError extends _base_js__WEBPACK_IMPORTED_MODULE_0__.BaseError {\n constructor({ size, targetSize, type, }) {\n super(`${type.charAt(0).toUpperCase()}${type\n .slice(1)\n .toLowerCase()} size (${size}) exceeds padding size (${targetSize}).`);\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'SizeExceedsPaddingSizeError'\n });\n }\n}\n//# sourceMappingURL=data.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/errors/data.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/errors/encoding.js":
|
|||
|
/*!***************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/errors/encoding.js ***!
|
|||
|
\***************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ DataLengthTooLongError: () => (/* binding */ DataLengthTooLongError),\n/* harmony export */ DataLengthTooShortError: () => (/* binding */ DataLengthTooShortError),\n/* harmony export */ IntegerOutOfRangeError: () => (/* binding */ IntegerOutOfRangeError),\n/* harmony export */ InvalidBytesBooleanError: () => (/* binding */ InvalidBytesBooleanError),\n/* harmony export */ InvalidHexBooleanError: () => (/* binding */ InvalidHexBooleanError),\n/* harmony export */ InvalidHexValueError: () => (/* binding */ InvalidHexValueError),\n/* harmony export */ OffsetOutOfBoundsError: () => (/* binding */ OffsetOutOfBoundsError),\n/* harmony export */ SizeOverflowError: () => (/* binding */ SizeOverflowError)\n/* harmony export */ });\n/* harmony import */ var _base_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./base.js */ \"./node_modules/viem/_esm/errors/base.js\");\n\n/** @deprecated */\nclass DataLengthTooLongError extends _base_js__WEBPACK_IMPORTED_MODULE_0__.BaseError {\n constructor({ consumed, length }) {\n super(`Consumed bytes (${consumed}) is shorter than data length (${length - 1}).`);\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'DataLengthTooLongError'\n });\n }\n}\n/** @deprecated */\nclass DataLengthTooShortError extends _base_js__WEBPACK_IMPORTED_MODULE_0__.BaseError {\n constructor({ length, dataLength }) {\n super(`Data length (${dataLength - 1}) is shorter than consumed bytes length (${length - 1}).`);\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'DataLengthTooShortError'\n });\n }\n}\nclass IntegerOutOfRangeError extends _base_js__WEBPACK_IMPORTED_MODULE_0__.BaseError {\n constructor({ max, min, signed, size, value, }) {\n super(`Number \"${value}\" is not in safe ${size ? `${size * 8}-bit ${signed ? 'signed' : 'unsigned'} ` : ''}integer range ${max ? `(${min} to ${max})` : `(above ${min})`}`);\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'IntegerOutOfRangeError'\n });\n }\n}\nclass InvalidBytesBooleanError extends _base_js__WEBPACK_IMPORTED_MODULE_0__.BaseError {\n constructor(bytes) {\n super(`Bytes value \"${bytes}\" is not a valid boolean. The bytes array must contain a single byte of either a 0 or 1 value.`);\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'InvalidBytesBooleanError'\n });\n }\n}\nclass InvalidHexBooleanError extends _base_js__WEBPACK_IMPORTED_MODULE_0__.BaseError {\n constructor(hex) {\n super(`Hex value \"${hex}\" is not a valid boolean. The hex value must be \"0x0\" (false) or \"0x1\" (true).`);\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'InvalidHexBooleanError'\n });\n }\n}\nclass InvalidHexValueError extends _base_js__WEBPACK_IMPORTED_MODULE_0__.BaseError {\n constructor(value) {\n super(`Hex value \"${value}\" is an odd length (${value.length}). It must be an even length.`);\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'InvalidHexValueError'\n });\n }\n}\n/** @deprecated */\nclass OffsetOutOfBoundsError extends _base_js__WEBPACK_IMPORTED_MODULE_0__.BaseError {\n constructor({ nextOffset, offset }) {\n super(`Next offset (${nextOffset}) is greater than previous offset + consumed bytes (${offset})`);\n
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/errors/ens.js":
|
|||
|
/*!**********************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/errors/ens.js ***!
|
|||
|
\**********************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ EnsAvatarInvalidMetadataError: () => (/* binding */ EnsAvatarInvalidMetadataError),\n/* harmony export */ EnsAvatarInvalidNftUriError: () => (/* binding */ EnsAvatarInvalidNftUriError),\n/* harmony export */ EnsAvatarUnsupportedNamespaceError: () => (/* binding */ EnsAvatarUnsupportedNamespaceError),\n/* harmony export */ EnsAvatarUriResolutionError: () => (/* binding */ EnsAvatarUriResolutionError)\n/* harmony export */ });\n/* harmony import */ var _base_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./base.js */ \"./node_modules/viem/_esm/errors/base.js\");\n\nclass EnsAvatarInvalidMetadataError extends _base_js__WEBPACK_IMPORTED_MODULE_0__.BaseError {\n constructor({ data }) {\n super('Unable to extract image from metadata. The metadata may be malformed or invalid.', {\n metaMessages: [\n '- Metadata must be a JSON object with at least an `image`, `image_url` or `image_data` property.',\n '',\n `Provided data: ${JSON.stringify(data)}`,\n ],\n });\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'EnsAvatarInvalidMetadataError'\n });\n }\n}\nclass EnsAvatarInvalidNftUriError extends _base_js__WEBPACK_IMPORTED_MODULE_0__.BaseError {\n constructor({ reason }) {\n super(`ENS NFT avatar URI is invalid. ${reason}`);\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'EnsAvatarInvalidNftUriError'\n });\n }\n}\nclass EnsAvatarUriResolutionError extends _base_js__WEBPACK_IMPORTED_MODULE_0__.BaseError {\n constructor({ uri }) {\n super(`Unable to resolve ENS avatar URI \"${uri}\". The URI may be malformed, invalid, or does not respond with a valid image.`);\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'EnsAvatarUriResolutionError'\n });\n }\n}\nclass EnsAvatarUnsupportedNamespaceError extends _base_js__WEBPACK_IMPORTED_MODULE_0__.BaseError {\n constructor({ namespace }) {\n super(`ENS NFT avatar namespace \"${namespace}\" is not supported. Must be \"erc721\" or \"erc1155\".`);\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'EnsAvatarUnsupportedNamespaceError'\n });\n }\n}\n//# sourceMappingURL=ens.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/errors/ens.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/errors/estimateGas.js":
|
|||
|
/*!******************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/errors/estimateGas.js ***!
|
|||
|
\******************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ EstimateGasExecutionError: () => (/* binding */ EstimateGasExecutionError)\n/* harmony export */ });\n/* harmony import */ var _utils_unit_formatEther_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils/unit/formatEther.js */ \"./node_modules/viem/_esm/utils/unit/formatEther.js\");\n/* harmony import */ var _utils_unit_formatGwei_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../utils/unit/formatGwei.js */ \"./node_modules/viem/_esm/utils/unit/formatGwei.js\");\n/* harmony import */ var _base_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./base.js */ \"./node_modules/viem/_esm/errors/base.js\");\n/* harmony import */ var _transaction_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./transaction.js */ \"./node_modules/viem/_esm/errors/transaction.js\");\n\n\n\n\nclass EstimateGasExecutionError extends _base_js__WEBPACK_IMPORTED_MODULE_0__.BaseError {\n constructor(cause, { account, docsPath, chain, data, gas, gasPrice, maxFeePerGas, maxPriorityFeePerGas, nonce, to, value, }) {\n const prettyArgs = (0,_transaction_js__WEBPACK_IMPORTED_MODULE_1__.prettyPrint)({\n from: account?.address,\n to,\n value: typeof value !== 'undefined' &&\n `${(0,_utils_unit_formatEther_js__WEBPACK_IMPORTED_MODULE_2__.formatEther)(value)} ${chain?.nativeCurrency?.symbol || 'ETH'}`,\n data,\n gas,\n gasPrice: typeof gasPrice !== 'undefined' && `${(0,_utils_unit_formatGwei_js__WEBPACK_IMPORTED_MODULE_3__.formatGwei)(gasPrice)} gwei`,\n maxFeePerGas: typeof maxFeePerGas !== 'undefined' &&\n `${(0,_utils_unit_formatGwei_js__WEBPACK_IMPORTED_MODULE_3__.formatGwei)(maxFeePerGas)} gwei`,\n maxPriorityFeePerGas: typeof maxPriorityFeePerGas !== 'undefined' &&\n `${(0,_utils_unit_formatGwei_js__WEBPACK_IMPORTED_MODULE_3__.formatGwei)(maxPriorityFeePerGas)} gwei`,\n nonce,\n });\n super(cause.shortMessage, {\n cause,\n docsPath,\n metaMessages: [\n ...(cause.metaMessages ? [...cause.metaMessages, ' '] : []),\n 'Estimate Gas Arguments:',\n prettyArgs,\n ].filter(Boolean),\n });\n Object.defineProperty(this, \"cause\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: void 0\n });\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'EstimateGasExecutionError'\n });\n this.cause = cause;\n }\n}\n//# sourceMappingURL=estimateGas.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/errors/estimateGas.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/errors/fee.js":
|
|||
|
/*!**********************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/errors/fee.js ***!
|
|||
|
\**********************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ BaseFeeScalarError: () => (/* binding */ BaseFeeScalarError),\n/* harmony export */ Eip1559FeesNotSupportedError: () => (/* binding */ Eip1559FeesNotSupportedError),\n/* harmony export */ MaxFeePerGasTooLowError: () => (/* binding */ MaxFeePerGasTooLowError)\n/* harmony export */ });\n/* harmony import */ var _utils_unit_formatGwei_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils/unit/formatGwei.js */ \"./node_modules/viem/_esm/utils/unit/formatGwei.js\");\n/* harmony import */ var _base_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./base.js */ \"./node_modules/viem/_esm/errors/base.js\");\n\n\nclass BaseFeeScalarError extends _base_js__WEBPACK_IMPORTED_MODULE_0__.BaseError {\n constructor() {\n super('`baseFeeMultiplier` must be greater than 1.');\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'BaseFeeScalarError'\n });\n }\n}\nclass Eip1559FeesNotSupportedError extends _base_js__WEBPACK_IMPORTED_MODULE_0__.BaseError {\n constructor() {\n super('Chain does not support EIP-1559 fees.');\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'Eip1559FeesNotSupportedError'\n });\n }\n}\nclass MaxFeePerGasTooLowError extends _base_js__WEBPACK_IMPORTED_MODULE_0__.BaseError {\n constructor({ maxPriorityFeePerGas }) {\n super(`\\`maxFeePerGas\\` cannot be less than the \\`maxPriorityFeePerGas\\` (${(0,_utils_unit_formatGwei_js__WEBPACK_IMPORTED_MODULE_1__.formatGwei)(maxPriorityFeePerGas)} gwei).`);\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'MaxFeePerGasTooLowError'\n });\n }\n}\n//# sourceMappingURL=fee.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/errors/fee.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/errors/log.js":
|
|||
|
/*!**********************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/errors/log.js ***!
|
|||
|
\**********************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ FilterTypeNotSupportedError: () => (/* binding */ FilterTypeNotSupportedError)\n/* harmony export */ });\n/* harmony import */ var _base_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./base.js */ \"./node_modules/viem/_esm/errors/base.js\");\n\nclass FilterTypeNotSupportedError extends _base_js__WEBPACK_IMPORTED_MODULE_0__.BaseError {\n constructor(type) {\n super(`Filter type \"${type}\" is not supported.`);\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'FilterTypeNotSupportedError'\n });\n }\n}\n//# sourceMappingURL=log.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/errors/log.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/errors/node.js":
|
|||
|
/*!***********************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/errors/node.js ***!
|
|||
|
\***********************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ ExecutionRevertedError: () => (/* binding */ ExecutionRevertedError),\n/* harmony export */ FeeCapTooHighError: () => (/* binding */ FeeCapTooHighError),\n/* harmony export */ FeeCapTooLowError: () => (/* binding */ FeeCapTooLowError),\n/* harmony export */ InsufficientFundsError: () => (/* binding */ InsufficientFundsError),\n/* harmony export */ IntrinsicGasTooHighError: () => (/* binding */ IntrinsicGasTooHighError),\n/* harmony export */ IntrinsicGasTooLowError: () => (/* binding */ IntrinsicGasTooLowError),\n/* harmony export */ NonceMaxValueError: () => (/* binding */ NonceMaxValueError),\n/* harmony export */ NonceTooHighError: () => (/* binding */ NonceTooHighError),\n/* harmony export */ NonceTooLowError: () => (/* binding */ NonceTooLowError),\n/* harmony export */ TipAboveFeeCapError: () => (/* binding */ TipAboveFeeCapError),\n/* harmony export */ TransactionTypeNotSupportedError: () => (/* binding */ TransactionTypeNotSupportedError),\n/* harmony export */ UnknownNodeError: () => (/* binding */ UnknownNodeError)\n/* harmony export */ });\n/* harmony import */ var _utils_unit_formatGwei_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils/unit/formatGwei.js */ \"./node_modules/viem/_esm/utils/unit/formatGwei.js\");\n/* harmony import */ var _base_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./base.js */ \"./node_modules/viem/_esm/errors/base.js\");\n\n\nclass ExecutionRevertedError extends _base_js__WEBPACK_IMPORTED_MODULE_0__.BaseError {\n constructor({ cause, message, } = {}) {\n const reason = message\n ?.replace('execution reverted: ', '')\n ?.replace('execution reverted', '');\n super(`Execution reverted ${reason ? `with reason: ${reason}` : 'for an unknown reason'}.`, {\n cause,\n });\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'ExecutionRevertedError'\n });\n }\n}\nObject.defineProperty(ExecutionRevertedError, \"code\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 3\n});\nObject.defineProperty(ExecutionRevertedError, \"nodeMessage\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: /execution reverted/\n});\n\nclass FeeCapTooHighError extends _base_js__WEBPACK_IMPORTED_MODULE_0__.BaseError {\n constructor({ cause, maxFeePerGas, } = {}) {\n super(`The fee cap (\\`maxFeePerGas\\`${maxFeePerGas ? ` = ${(0,_utils_unit_formatGwei_js__WEBPACK_IMPORTED_MODULE_1__.formatGwei)(maxFeePerGas)} gwei` : ''}) cannot be higher than the maximum allowed value (2^256-1).`, {\n cause,\n });\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'FeeCapTooHigh'\n });\n }\n}\nObject.defineProperty(FeeCapTooHighError, \"nodeMessage\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: /max fee per gas higher than 2\\^256-1|fee cap higher than 2\\^256-1/\n});\n\nclass FeeCapTooLowError extends _base_js__WEBPACK_IMPORTED_MODULE_0__.BaseError {\n constructor({ cause, maxFeePerGas, } = {}) {\n super(`The fee cap (\\`maxFeePerGas\\`${maxFeePerGas ? ` = ${(0,_utils_unit_formatGwei_js__WEBPACK_IMPORTED_MODULE_1__.formatGwei)(maxFeePerGas)}` : ''} gwei) cannot be lower than the block base fee.`, {\n cause,\n });\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'FeeCapTooLow'\n });\n }\n}\nObject.defineProperty(FeeCapTooLowError, \"nodeMessage\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: /max fee per gas less than block base fee|fe
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/errors/request.js":
|
|||
|
/*!**************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/errors/request.js ***!
|
|||
|
\**************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ HttpRequestError: () => (/* binding */ HttpRequestError),\n/* harmony export */ RpcRequestError: () => (/* binding */ RpcRequestError),\n/* harmony export */ TimeoutError: () => (/* binding */ TimeoutError),\n/* harmony export */ WebSocketRequestError: () => (/* binding */ WebSocketRequestError)\n/* harmony export */ });\n/* harmony import */ var _utils_stringify_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils/stringify.js */ \"./node_modules/viem/_esm/utils/stringify.js\");\n/* harmony import */ var _base_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./base.js */ \"./node_modules/viem/_esm/errors/base.js\");\n/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./utils.js */ \"./node_modules/viem/_esm/errors/utils.js\");\n\n\n\nclass HttpRequestError extends _base_js__WEBPACK_IMPORTED_MODULE_0__.BaseError {\n constructor({ body, details, headers, status, url, }) {\n super('HTTP request failed.', {\n details,\n metaMessages: [\n status && `Status: ${status}`,\n `URL: ${(0,_utils_js__WEBPACK_IMPORTED_MODULE_1__.getUrl)(url)}`,\n body && `Request body: ${(0,_utils_stringify_js__WEBPACK_IMPORTED_MODULE_2__.stringify)(body)}`,\n ].filter(Boolean),\n });\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'HttpRequestError'\n });\n Object.defineProperty(this, \"body\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: void 0\n });\n Object.defineProperty(this, \"headers\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: void 0\n });\n Object.defineProperty(this, \"status\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: void 0\n });\n Object.defineProperty(this, \"url\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: void 0\n });\n this.body = body;\n this.headers = headers;\n this.status = status;\n this.url = url;\n }\n}\nclass WebSocketRequestError extends _base_js__WEBPACK_IMPORTED_MODULE_0__.BaseError {\n constructor({ body, details, url, }) {\n super('WebSocket request failed.', {\n details,\n metaMessages: [`URL: ${(0,_utils_js__WEBPACK_IMPORTED_MODULE_1__.getUrl)(url)}`, `Request body: ${(0,_utils_stringify_js__WEBPACK_IMPORTED_MODULE_2__.stringify)(body)}`],\n });\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'WebSocketRequestError'\n });\n }\n}\nclass RpcRequestError extends _base_js__WEBPACK_IMPORTED_MODULE_0__.BaseError {\n constructor({ body, error, url, }) {\n super('RPC Request failed.', {\n cause: error,\n details: error.message,\n metaMessages: [`URL: ${(0,_utils_js__WEBPACK_IMPORTED_MODULE_1__.getUrl)(url)}`, `Request body: ${(0,_utils_stringify_js__WEBPACK_IMPORTED_MODULE_2__.stringify)(body)}`],\n });\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'RpcRequestError'\n });\n Object.defineProperty(this, \"code\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: void 0\n });\n this.code = error.code;\n }\n}\nclass TimeoutError extends _base_js__WEBPACK_IMPORTED_MODULE_0__.BaseError {\n constructor({ body, url, }) {\n
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/errors/rpc.js":
|
|||
|
/*!**********************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/errors/rpc.js ***!
|
|||
|
\**********************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ ChainDisconnectedError: () => (/* binding */ ChainDisconnectedError),\n/* harmony export */ InternalRpcError: () => (/* binding */ InternalRpcError),\n/* harmony export */ InvalidInputRpcError: () => (/* binding */ InvalidInputRpcError),\n/* harmony export */ InvalidParamsRpcError: () => (/* binding */ InvalidParamsRpcError),\n/* harmony export */ InvalidRequestRpcError: () => (/* binding */ InvalidRequestRpcError),\n/* harmony export */ JsonRpcVersionUnsupportedError: () => (/* binding */ JsonRpcVersionUnsupportedError),\n/* harmony export */ LimitExceededRpcError: () => (/* binding */ LimitExceededRpcError),\n/* harmony export */ MethodNotFoundRpcError: () => (/* binding */ MethodNotFoundRpcError),\n/* harmony export */ MethodNotSupportedRpcError: () => (/* binding */ MethodNotSupportedRpcError),\n/* harmony export */ ParseRpcError: () => (/* binding */ ParseRpcError),\n/* harmony export */ ProviderDisconnectedError: () => (/* binding */ ProviderDisconnectedError),\n/* harmony export */ ProviderRpcError: () => (/* binding */ ProviderRpcError),\n/* harmony export */ ResourceNotFoundRpcError: () => (/* binding */ ResourceNotFoundRpcError),\n/* harmony export */ ResourceUnavailableRpcError: () => (/* binding */ ResourceUnavailableRpcError),\n/* harmony export */ RpcError: () => (/* binding */ RpcError),\n/* harmony export */ SwitchChainError: () => (/* binding */ SwitchChainError),\n/* harmony export */ TransactionRejectedRpcError: () => (/* binding */ TransactionRejectedRpcError),\n/* harmony export */ UnauthorizedProviderError: () => (/* binding */ UnauthorizedProviderError),\n/* harmony export */ UnknownRpcError: () => (/* binding */ UnknownRpcError),\n/* harmony export */ UnsupportedProviderMethodError: () => (/* binding */ UnsupportedProviderMethodError),\n/* harmony export */ UserRejectedRequestError: () => (/* binding */ UserRejectedRequestError)\n/* harmony export */ });\n/* harmony import */ var _base_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./base.js */ \"./node_modules/viem/_esm/errors/base.js\");\n/* harmony import */ var _request_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./request.js */ \"./node_modules/viem/_esm/errors/request.js\");\n\n\nconst unknownErrorCode = -1;\nclass RpcError extends _base_js__WEBPACK_IMPORTED_MODULE_0__.BaseError {\n constructor(cause, { code, docsPath, metaMessages, shortMessage }) {\n super(shortMessage, {\n cause,\n docsPath,\n metaMessages: metaMessages || cause?.metaMessages,\n });\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'RpcError'\n });\n Object.defineProperty(this, \"code\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: void 0\n });\n this.name = cause.name;\n this.code = (cause instanceof _request_js__WEBPACK_IMPORTED_MODULE_1__.RpcRequestError ? cause.code : code ?? unknownErrorCode);\n }\n}\nclass ProviderRpcError extends RpcError {\n constructor(cause, options) {\n super(cause, options);\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'ProviderRpcError'\n });\n Object.defineProperty(this, \"data\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: void 0\n });\n this.data = options.data;\n }\n}\nclass ParseRpcError extends RpcError {\n constructor(cause) {\n super(cause, {\n code: ParseRpcError.code,\n shortMessage: 'Invalid JSON was received by the server. An error occurred on the server while parsing the JSON text.',\n });\n
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/errors/transaction.js":
|
|||
|
/*!******************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/errors/transaction.js ***!
|
|||
|
\******************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ FeeConflictError: () => (/* binding */ FeeConflictError),\n/* harmony export */ InvalidLegacyVError: () => (/* binding */ InvalidLegacyVError),\n/* harmony export */ InvalidSerializableTransactionError: () => (/* binding */ InvalidSerializableTransactionError),\n/* harmony export */ InvalidSerializedTransactionError: () => (/* binding */ InvalidSerializedTransactionError),\n/* harmony export */ InvalidSerializedTransactionTypeError: () => (/* binding */ InvalidSerializedTransactionTypeError),\n/* harmony export */ InvalidStorageKeySizeError: () => (/* binding */ InvalidStorageKeySizeError),\n/* harmony export */ TransactionExecutionError: () => (/* binding */ TransactionExecutionError),\n/* harmony export */ TransactionNotFoundError: () => (/* binding */ TransactionNotFoundError),\n/* harmony export */ TransactionReceiptNotFoundError: () => (/* binding */ TransactionReceiptNotFoundError),\n/* harmony export */ WaitForTransactionReceiptTimeoutError: () => (/* binding */ WaitForTransactionReceiptTimeoutError),\n/* harmony export */ prettyPrint: () => (/* binding */ prettyPrint)\n/* harmony export */ });\n/* harmony import */ var _utils_unit_formatEther_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils/unit/formatEther.js */ \"./node_modules/viem/_esm/utils/unit/formatEther.js\");\n/* harmony import */ var _utils_unit_formatGwei_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils/unit/formatGwei.js */ \"./node_modules/viem/_esm/utils/unit/formatGwei.js\");\n/* harmony import */ var _base_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./base.js */ \"./node_modules/viem/_esm/errors/base.js\");\n\n\n\nfunction prettyPrint(args) {\n const entries = Object.entries(args)\n .map(([key, value]) => {\n if (value === undefined || value === false)\n return null;\n return [key, value];\n })\n .filter(Boolean);\n const maxLength = entries.reduce((acc, [key]) => Math.max(acc, key.length), 0);\n return entries\n .map(([key, value]) => ` ${`${key}:`.padEnd(maxLength + 1)} ${value}`)\n .join('\\n');\n}\nclass FeeConflictError extends _base_js__WEBPACK_IMPORTED_MODULE_0__.BaseError {\n constructor() {\n super([\n 'Cannot specify both a `gasPrice` and a `maxFeePerGas`/`maxPriorityFeePerGas`.',\n 'Use `maxFeePerGas`/`maxPriorityFeePerGas` for EIP-1559 compatible networks, and `gasPrice` for others.',\n ].join('\\n'));\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'FeeConflictError'\n });\n }\n}\nclass InvalidLegacyVError extends _base_js__WEBPACK_IMPORTED_MODULE_0__.BaseError {\n constructor({ v }) {\n super(`Invalid \\`v\\` value \"${v}\". Expected 27 or 28.`);\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'InvalidLegacyVError'\n });\n }\n}\nclass InvalidSerializableTransactionError extends _base_js__WEBPACK_IMPORTED_MODULE_0__.BaseError {\n constructor({ transaction }) {\n super('Cannot infer a transaction type from provided transaction.', {\n metaMessages: [\n 'Provided Transaction:',\n '{',\n prettyPrint(transaction),\n '}',\n '',\n 'To infer the type, either provide:',\n '- a `type` to the Transaction, or',\n '- an EIP-1559 Transaction with `maxFeePerGas`, or',\n '- an EIP-2930 Transaction with `gasPrice` & `accessList`, or',\n '- a Legacy Transaction with `gasPrice`',\n ],\n });\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/errors/transport.js":
|
|||
|
/*!****************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/errors/transport.js ***!
|
|||
|
\****************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ UrlRequiredError: () => (/* binding */ UrlRequiredError)\n/* harmony export */ });\n/* harmony import */ var _base_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./base.js */ \"./node_modules/viem/_esm/errors/base.js\");\n\nclass UrlRequiredError extends _base_js__WEBPACK_IMPORTED_MODULE_0__.BaseError {\n constructor() {\n super('No URL was provided to the Transport. Please provide a valid RPC URL to the Transport.', {\n docsPath: '/docs/clients/intro',\n });\n }\n}\n//# sourceMappingURL=transport.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/errors/transport.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/errors/utils.js":
|
|||
|
/*!************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/errors/utils.js ***!
|
|||
|
\************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ getContractAddress: () => (/* binding */ getContractAddress),\n/* harmony export */ getUrl: () => (/* binding */ getUrl),\n/* harmony export */ getVersion: () => (/* binding */ getVersion)\n/* harmony export */ });\n/* harmony import */ var _version_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./version.js */ \"./node_modules/viem/_esm/errors/version.js\");\n\nconst getContractAddress = (address) => address;\nconst getUrl = (url) => url;\nconst getVersion = () => `viem@${_version_js__WEBPACK_IMPORTED_MODULE_0__.version}`;\n//# sourceMappingURL=utils.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/errors/utils.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/errors/version.js":
|
|||
|
/*!**************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/errors/version.js ***!
|
|||
|
\**************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ version: () => (/* binding */ version)\n/* harmony export */ });\nconst version = '1.19.10';\n//# sourceMappingURL=version.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/errors/version.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/utils/abi/decodeAbiParameters.js":
|
|||
|
/*!*****************************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/utils/abi/decodeAbiParameters.js ***!
|
|||
|
\*****************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ decodeAbiParameters: () => (/* binding */ decodeAbiParameters)\n/* harmony export */ });\n/* harmony import */ var _errors_abi_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../errors/abi.js */ \"./node_modules/viem/_esm/errors/abi.js\");\n/* harmony import */ var _address_getAddress_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../address/getAddress.js */ \"./node_modules/viem/_esm/utils/address/getAddress.js\");\n/* harmony import */ var _data_size_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../data/size.js */ \"./node_modules/viem/_esm/utils/data/size.js\");\n/* harmony import */ var _data_slice_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../data/slice.js */ \"./node_modules/viem/_esm/utils/data/slice.js\");\n/* harmony import */ var _data_trim_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../data/trim.js */ \"./node_modules/viem/_esm/utils/data/trim.js\");\n/* harmony import */ var _encoding_fromHex_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../encoding/fromHex.js */ \"./node_modules/viem/_esm/utils/encoding/fromHex.js\");\n/* harmony import */ var _encodeAbiParameters_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./encodeAbiParameters.js */ \"./node_modules/viem/_esm/utils/abi/encodeAbiParameters.js\");\n\n\n\n\n\n\n\nfunction decodeAbiParameters(params, data) {\n if (data === '0x' && params.length > 0)\n throw new _errors_abi_js__WEBPACK_IMPORTED_MODULE_0__.AbiDecodingZeroDataError();\n if ((0,_data_size_js__WEBPACK_IMPORTED_MODULE_1__.size)(data) && (0,_data_size_js__WEBPACK_IMPORTED_MODULE_1__.size)(data) < 32)\n throw new _errors_abi_js__WEBPACK_IMPORTED_MODULE_0__.AbiDecodingDataSizeTooSmallError({\n data,\n params: params,\n size: (0,_data_size_js__WEBPACK_IMPORTED_MODULE_1__.size)(data),\n });\n return decodeParams({\n data,\n params: params,\n });\n}\nfunction decodeParams({ data, params, }) {\n const decodedValues = [];\n let position = 0;\n for (let i = 0; i < params.length; i++) {\n if (position >= (0,_data_size_js__WEBPACK_IMPORTED_MODULE_1__.size)(data))\n throw new _errors_abi_js__WEBPACK_IMPORTED_MODULE_0__.AbiDecodingDataSizeTooSmallError({\n data,\n params,\n size: (0,_data_size_js__WEBPACK_IMPORTED_MODULE_1__.size)(data),\n });\n const param = params[i];\n const { consumed, value } = decodeParam({ data, param, position });\n decodedValues.push(value);\n // Step across the data by the amount of data consumed by this parameter.\n position += consumed;\n }\n return decodedValues;\n}\nfunction decodeParam({ data, param, position, }) {\n const arrayComponents = (0,_encodeAbiParameters_js__WEBPACK_IMPORTED_MODULE_2__.getArrayComponents)(param.type);\n if (arrayComponents) {\n const [length, type] = arrayComponents;\n return decodeArray(data, {\n length,\n param: { ...param, type: type },\n position,\n });\n }\n if (param.type === 'tuple') {\n return decodeTuple(data, { param: param, position });\n }\n if (param.type === 'string') {\n return decodeString(data, { position });\n }\n if (param.type.startsWith('bytes')) {\n return decodeBytes(data, { param, position });\n }\n const value = (0,_data_slice_js__WEBPACK_IMPORTED_MODULE_3__.slice)(data, position, position + 32, { strict: true });\n if (param.type.startsWith('uint') || param.type.startsWith('int')) {\n return decodeNumber(value, { param });\n }\n if (param.type === 'address') {\n return decodeAddress(value);\n }\n if (param.type === 'bool') {\n return decodeBool(value);\n }\n throw new _errors_abi_js__WEBPACK_IMPORTED_MODULE_0__.InvalidAbiDecodingTypeError(param.type, {\n
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/utils/abi/decodeErrorResult.js":
|
|||
|
/*!***************************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/utils/abi/decodeErrorResult.js ***!
|
|||
|
\***************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ decodeErrorResult: () => (/* binding */ decodeErrorResult)\n/* harmony export */ });\n/* harmony import */ var _constants_solidity_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../constants/solidity.js */ \"./node_modules/viem/_esm/constants/solidity.js\");\n/* harmony import */ var _errors_abi_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../errors/abi.js */ \"./node_modules/viem/_esm/errors/abi.js\");\n/* harmony import */ var _data_slice_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../data/slice.js */ \"./node_modules/viem/_esm/utils/data/slice.js\");\n/* harmony import */ var _hash_getFunctionSelector_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../hash/getFunctionSelector.js */ \"./node_modules/viem/_esm/utils/hash/getFunctionSelector.js\");\n/* harmony import */ var _decodeAbiParameters_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./decodeAbiParameters.js */ \"./node_modules/viem/_esm/utils/abi/decodeAbiParameters.js\");\n/* harmony import */ var _formatAbiItem_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./formatAbiItem.js */ \"./node_modules/viem/_esm/utils/abi/formatAbiItem.js\");\n\n\n\n\n\n\nfunction decodeErrorResult({ abi, data, }) {\n const signature = (0,_data_slice_js__WEBPACK_IMPORTED_MODULE_0__.slice)(data, 0, 4);\n if (signature === '0x')\n throw new _errors_abi_js__WEBPACK_IMPORTED_MODULE_1__.AbiDecodingZeroDataError();\n const abi_ = [...(abi || []), _constants_solidity_js__WEBPACK_IMPORTED_MODULE_2__.solidityError, _constants_solidity_js__WEBPACK_IMPORTED_MODULE_2__.solidityPanic];\n const abiItem = abi_.find((x) => x.type === 'error' && signature === (0,_hash_getFunctionSelector_js__WEBPACK_IMPORTED_MODULE_3__.getFunctionSelector)((0,_formatAbiItem_js__WEBPACK_IMPORTED_MODULE_4__.formatAbiItem)(x)));\n if (!abiItem)\n throw new _errors_abi_js__WEBPACK_IMPORTED_MODULE_1__.AbiErrorSignatureNotFoundError(signature, {\n docsPath: '/docs/contract/decodeErrorResult',\n });\n return {\n abiItem,\n args: ('inputs' in abiItem && abiItem.inputs && abiItem.inputs.length > 0\n ? (0,_decodeAbiParameters_js__WEBPACK_IMPORTED_MODULE_5__.decodeAbiParameters)(abiItem.inputs, (0,_data_slice_js__WEBPACK_IMPORTED_MODULE_0__.slice)(data, 4))\n : undefined),\n errorName: abiItem.name,\n };\n}\n//# sourceMappingURL=decodeErrorResult.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/abi/decodeErrorResult.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/utils/abi/decodeEventLog.js":
|
|||
|
/*!************************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/utils/abi/decodeEventLog.js ***!
|
|||
|
\************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ decodeEventLog: () => (/* binding */ decodeEventLog)\n/* harmony export */ });\n/* harmony import */ var _errors_abi_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../errors/abi.js */ \"./node_modules/viem/_esm/errors/abi.js\");\n/* harmony import */ var _hash_getEventSelector_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../hash/getEventSelector.js */ \"./node_modules/viem/_esm/utils/hash/getEventSelector.js\");\n/* harmony import */ var _decodeAbiParameters_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./decodeAbiParameters.js */ \"./node_modules/viem/_esm/utils/abi/decodeAbiParameters.js\");\n/* harmony import */ var _formatAbiItem_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./formatAbiItem.js */ \"./node_modules/viem/_esm/utils/abi/formatAbiItem.js\");\n\n\n\n\nconst docsPath = '/docs/contract/decodeEventLog';\nfunction decodeEventLog({ abi, data, strict: strict_, topics, }) {\n const strict = strict_ ?? true;\n const [signature, ...argTopics] = topics;\n if (!signature)\n throw new _errors_abi_js__WEBPACK_IMPORTED_MODULE_0__.AbiEventSignatureEmptyTopicsError({\n docsPath,\n });\n const abiItem = abi.find((x) => x.type === 'event' &&\n signature === (0,_hash_getEventSelector_js__WEBPACK_IMPORTED_MODULE_1__.getEventSelector)((0,_formatAbiItem_js__WEBPACK_IMPORTED_MODULE_2__.formatAbiItem)(x)));\n if (!(abiItem && 'name' in abiItem) || abiItem.type !== 'event')\n throw new _errors_abi_js__WEBPACK_IMPORTED_MODULE_0__.AbiEventSignatureNotFoundError(signature, {\n docsPath,\n });\n const { name, inputs } = abiItem;\n const isUnnamed = inputs?.some((x) => !('name' in x && x.name));\n let args = isUnnamed ? [] : {};\n // Decode topics (indexed args).\n const indexedInputs = inputs.filter((x) => 'indexed' in x && x.indexed);\n for (let i = 0; i < indexedInputs.length; i++) {\n const param = indexedInputs[i];\n const topic = argTopics[i];\n if (!topic)\n throw new _errors_abi_js__WEBPACK_IMPORTED_MODULE_0__.DecodeLogTopicsMismatch({\n abiItem,\n param: param,\n });\n args[param.name || i] = decodeTopic({ param, value: topic });\n }\n // Decode data (non-indexed args).\n const nonIndexedInputs = inputs.filter((x) => !('indexed' in x && x.indexed));\n if (nonIndexedInputs.length > 0) {\n if (data && data !== '0x') {\n try {\n const decodedData = (0,_decodeAbiParameters_js__WEBPACK_IMPORTED_MODULE_3__.decodeAbiParameters)(nonIndexedInputs, data);\n if (decodedData) {\n if (isUnnamed)\n args = [...args, ...decodedData];\n else {\n for (let i = 0; i < nonIndexedInputs.length; i++) {\n args[nonIndexedInputs[i].name] = decodedData[i];\n }\n }\n }\n }\n catch (err) {\n if (strict) {\n if (err instanceof _errors_abi_js__WEBPACK_IMPORTED_MODULE_0__.AbiDecodingDataSizeTooSmallError)\n throw new _errors_abi_js__WEBPACK_IMPORTED_MODULE_0__.DecodeLogDataMismatch({\n abiItem,\n data: err.data,\n params: err.params,\n size: err.size,\n });\n throw err;\n }\n }\n }\n else if (strict) {\n throw new _errors_abi_js__WEBPACK_IMPORTED_MODULE_0__.DecodeLogDataMismatch({\n abiItem,\n data: '0x',\n params: nonIndexedInputs,\n size: 0,\n });\n }\n }\n return {\n eventName: name,\n args: Object.values
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/utils/abi/decodeFunctionResult.js":
|
|||
|
/*!******************************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/utils/abi/decodeFunctionResult.js ***!
|
|||
|
\******************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ decodeFunctionResult: () => (/* binding */ decodeFunctionResult)\n/* harmony export */ });\n/* harmony import */ var _errors_abi_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../errors/abi.js */ \"./node_modules/viem/_esm/errors/abi.js\");\n/* harmony import */ var _decodeAbiParameters_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./decodeAbiParameters.js */ \"./node_modules/viem/_esm/utils/abi/decodeAbiParameters.js\");\n/* harmony import */ var _getAbiItem_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./getAbiItem.js */ \"./node_modules/viem/_esm/utils/abi/getAbiItem.js\");\n\n\n\nconst docsPath = '/docs/contract/decodeFunctionResult';\nfunction decodeFunctionResult({ abi, args, functionName, data, }) {\n let abiItem = abi[0];\n if (functionName) {\n abiItem = (0,_getAbiItem_js__WEBPACK_IMPORTED_MODULE_0__.getAbiItem)({\n abi,\n args,\n name: functionName,\n });\n if (!abiItem)\n throw new _errors_abi_js__WEBPACK_IMPORTED_MODULE_1__.AbiFunctionNotFoundError(functionName, { docsPath });\n }\n if (abiItem.type !== 'function')\n throw new _errors_abi_js__WEBPACK_IMPORTED_MODULE_1__.AbiFunctionNotFoundError(undefined, { docsPath });\n if (!abiItem.outputs)\n throw new _errors_abi_js__WEBPACK_IMPORTED_MODULE_1__.AbiFunctionOutputsNotFoundError(abiItem.name, { docsPath });\n const values = (0,_decodeAbiParameters_js__WEBPACK_IMPORTED_MODULE_2__.decodeAbiParameters)(abiItem.outputs, data);\n if (values && values.length > 1)\n return values;\n if (values && values.length === 1)\n return values[0];\n return undefined;\n}\n//# sourceMappingURL=decodeFunctionResult.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/abi/decodeFunctionResult.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/utils/abi/encodeAbiParameters.js":
|
|||
|
/*!*****************************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/utils/abi/encodeAbiParameters.js ***!
|
|||
|
\*****************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ encodeAbiParameters: () => (/* binding */ encodeAbiParameters),\n/* harmony export */ getArrayComponents: () => (/* binding */ getArrayComponents)\n/* harmony export */ });\n/* harmony import */ var _errors_abi_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../errors/abi.js */ \"./node_modules/viem/_esm/errors/abi.js\");\n/* harmony import */ var _errors_address_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../errors/address.js */ \"./node_modules/viem/_esm/errors/address.js\");\n/* harmony import */ var _address_isAddress_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../address/isAddress.js */ \"./node_modules/viem/_esm/utils/address/isAddress.js\");\n/* harmony import */ var _data_concat_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../data/concat.js */ \"./node_modules/viem/_esm/utils/data/concat.js\");\n/* harmony import */ var _data_pad_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../data/pad.js */ \"./node_modules/viem/_esm/utils/data/pad.js\");\n/* harmony import */ var _data_size_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../data/size.js */ \"./node_modules/viem/_esm/utils/data/size.js\");\n/* harmony import */ var _data_slice_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../data/slice.js */ \"./node_modules/viem/_esm/utils/data/slice.js\");\n/* harmony import */ var _encoding_toHex_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../encoding/toHex.js */ \"./node_modules/viem/_esm/utils/encoding/toHex.js\");\n\n\n\n\n\n\n\n\n/**\n * @description Encodes a list of primitive values into an ABI-encoded hex value.\n */\nfunction encodeAbiParameters(params, values) {\n if (params.length !== values.length)\n throw new _errors_abi_js__WEBPACK_IMPORTED_MODULE_0__.AbiEncodingLengthMismatchError({\n expectedLength: params.length,\n givenLength: values.length,\n });\n // Prepare the parameters to determine dynamic types to encode.\n const preparedParams = prepareParams({\n params: params,\n values,\n });\n const data = encodeParams(preparedParams);\n if (data.length === 0)\n return '0x';\n return data;\n}\nfunction prepareParams({ params, values, }) {\n const preparedParams = [];\n for (let i = 0; i < params.length; i++) {\n preparedParams.push(prepareParam({ param: params[i], value: values[i] }));\n }\n return preparedParams;\n}\nfunction prepareParam({ param, value, }) {\n const arrayComponents = getArrayComponents(param.type);\n if (arrayComponents) {\n const [length, type] = arrayComponents;\n return encodeArray(value, { length, param: { ...param, type } });\n }\n if (param.type === 'tuple') {\n return encodeTuple(value, {\n param: param,\n });\n }\n if (param.type === 'address') {\n return encodeAddress(value);\n }\n if (param.type === 'bool') {\n return encodeBool(value);\n }\n if (param.type.startsWith('uint') || param.type.startsWith('int')) {\n const signed = param.type.startsWith('int');\n return encodeNumber(value, { signed });\n }\n if (param.type.startsWith('bytes')) {\n return encodeBytes(value, { param });\n }\n if (param.type === 'string') {\n return encodeString(value);\n }\n throw new _errors_abi_js__WEBPACK_IMPORTED_MODULE_0__.InvalidAbiEncodingTypeError(param.type, {\n docsPath: '/docs/contract/encodeAbiParameters',\n });\n}\nfunction encodeParams(preparedParams) {\n // 1. Compute the size of the static part of the parameters.\n let staticSize = 0;\n for (let i = 0; i < preparedParams.length; i++) {\n const { dynamic, encoded } = preparedParams[i];\n if (dynamic)\n staticSize += 32;\n else\n staticSize += (0,_data_size_js__WEBPACK_IMPORTED_MODULE_1__.size)(encoded);\n }\n //
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/utils/abi/encodeDeployData.js":
|
|||
|
/*!**************************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/utils/abi/encodeDeployData.js ***!
|
|||
|
\**************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ encodeDeployData: () => (/* binding */ encodeDeployData)\n/* harmony export */ });\n/* harmony import */ var _errors_abi_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../errors/abi.js */ \"./node_modules/viem/_esm/errors/abi.js\");\n/* harmony import */ var _data_concat_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../data/concat.js */ \"./node_modules/viem/_esm/utils/data/concat.js\");\n/* harmony import */ var _encodeAbiParameters_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./encodeAbiParameters.js */ \"./node_modules/viem/_esm/utils/abi/encodeAbiParameters.js\");\n\n\n\nconst docsPath = '/docs/contract/encodeDeployData';\nfunction encodeDeployData({ abi, args, bytecode, }) {\n if (!args || args.length === 0)\n return bytecode;\n const description = abi.find((x) => 'type' in x && x.type === 'constructor');\n if (!description)\n throw new _errors_abi_js__WEBPACK_IMPORTED_MODULE_0__.AbiConstructorNotFoundError({ docsPath });\n if (!('inputs' in description))\n throw new _errors_abi_js__WEBPACK_IMPORTED_MODULE_0__.AbiConstructorParamsNotFoundError({ docsPath });\n if (!description.inputs || description.inputs.length === 0)\n throw new _errors_abi_js__WEBPACK_IMPORTED_MODULE_0__.AbiConstructorParamsNotFoundError({ docsPath });\n const data = (0,_encodeAbiParameters_js__WEBPACK_IMPORTED_MODULE_1__.encodeAbiParameters)(description.inputs, args);\n return (0,_data_concat_js__WEBPACK_IMPORTED_MODULE_2__.concatHex)([bytecode, data]);\n}\n//# sourceMappingURL=encodeDeployData.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/abi/encodeDeployData.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/utils/abi/encodeEventTopics.js":
|
|||
|
/*!***************************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/utils/abi/encodeEventTopics.js ***!
|
|||
|
\***************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ encodeEventTopics: () => (/* binding */ encodeEventTopics)\n/* harmony export */ });\n/* harmony import */ var _errors_abi_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../errors/abi.js */ \"./node_modules/viem/_esm/errors/abi.js\");\n/* harmony import */ var _errors_log_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../errors/log.js */ \"./node_modules/viem/_esm/errors/log.js\");\n/* harmony import */ var _encoding_toBytes_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../encoding/toBytes.js */ \"./node_modules/viem/_esm/utils/encoding/toBytes.js\");\n/* harmony import */ var _hash_getEventSelector_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../hash/getEventSelector.js */ \"./node_modules/viem/_esm/utils/hash/getEventSelector.js\");\n/* harmony import */ var _hash_keccak256_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../hash/keccak256.js */ \"./node_modules/viem/_esm/utils/hash/keccak256.js\");\n/* harmony import */ var _encodeAbiParameters_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./encodeAbiParameters.js */ \"./node_modules/viem/_esm/utils/abi/encodeAbiParameters.js\");\n/* harmony import */ var _formatAbiItem_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./formatAbiItem.js */ \"./node_modules/viem/_esm/utils/abi/formatAbiItem.js\");\n/* harmony import */ var _getAbiItem_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./getAbiItem.js */ \"./node_modules/viem/_esm/utils/abi/getAbiItem.js\");\n\n\n\n\n\n\n\n\nfunction encodeEventTopics({ abi, eventName, args }) {\n let abiItem = abi[0];\n if (eventName) {\n abiItem = (0,_getAbiItem_js__WEBPACK_IMPORTED_MODULE_0__.getAbiItem)({\n abi,\n args,\n name: eventName,\n });\n if (!abiItem)\n throw new _errors_abi_js__WEBPACK_IMPORTED_MODULE_1__.AbiEventNotFoundError(eventName, {\n docsPath: '/docs/contract/encodeEventTopics',\n });\n }\n if (abiItem.type !== 'event')\n throw new _errors_abi_js__WEBPACK_IMPORTED_MODULE_1__.AbiEventNotFoundError(undefined, {\n docsPath: '/docs/contract/encodeEventTopics',\n });\n const definition = (0,_formatAbiItem_js__WEBPACK_IMPORTED_MODULE_2__.formatAbiItem)(abiItem);\n const signature = (0,_hash_getEventSelector_js__WEBPACK_IMPORTED_MODULE_3__.getEventSelector)(definition);\n let topics = [];\n if (args && 'inputs' in abiItem) {\n const indexedInputs = abiItem.inputs?.filter((param) => 'indexed' in param && param.indexed);\n const args_ = Array.isArray(args)\n ? args\n : Object.values(args).length > 0\n ? indexedInputs?.map((x) => args[x.name]) ?? []\n : [];\n if (args_.length > 0) {\n topics =\n indexedInputs?.map((param, i) => Array.isArray(args_[i])\n ? args_[i].map((_, j) => encodeArg({ param, value: args_[i][j] }))\n : args_[i]\n ? encodeArg({ param, value: args_[i] })\n : null) ?? [];\n }\n }\n return [signature, ...topics];\n}\nfunction encodeArg({ param, value, }) {\n if (param.type === 'string' || param.type === 'bytes')\n return (0,_hash_keccak256_js__WEBPACK_IMPORTED_MODULE_4__.keccak256)((0,_encoding_toBytes_js__WEBPACK_IMPORTED_MODULE_5__.toBytes)(value));\n if (param.type === 'tuple' || param.type.match(/^(.*)\\[(\\d+)?\\]$/))\n throw new _errors_log_js__WEBPACK_IMPORTED_MODULE_6__.FilterTypeNotSupportedError(param.type);\n return (0,_encodeAbiParameters_js__WEBPACK_IMPORTED_MODULE_7__.encodeAbiParameters)([param], [value]);\n}\n//# sourceMappingURL=encodeEventTopics.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/abi/encodeEventTopics.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/utils/abi/encodeFunctionData.js":
|
|||
|
/*!****************************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/utils/abi/encodeFunctionData.js ***!
|
|||
|
\****************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ encodeFunctionData: () => (/* binding */ encodeFunctionData)\n/* harmony export */ });\n/* harmony import */ var _errors_abi_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../errors/abi.js */ \"./node_modules/viem/_esm/errors/abi.js\");\n/* harmony import */ var _data_concat_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../data/concat.js */ \"./node_modules/viem/_esm/utils/data/concat.js\");\n/* harmony import */ var _hash_getFunctionSelector_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../hash/getFunctionSelector.js */ \"./node_modules/viem/_esm/utils/hash/getFunctionSelector.js\");\n/* harmony import */ var _encodeAbiParameters_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./encodeAbiParameters.js */ \"./node_modules/viem/_esm/utils/abi/encodeAbiParameters.js\");\n/* harmony import */ var _formatAbiItem_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./formatAbiItem.js */ \"./node_modules/viem/_esm/utils/abi/formatAbiItem.js\");\n/* harmony import */ var _getAbiItem_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./getAbiItem.js */ \"./node_modules/viem/_esm/utils/abi/getAbiItem.js\");\n\n\n\n\n\n\nfunction encodeFunctionData({ abi, args, functionName, }) {\n let abiItem = abi[0];\n if (functionName) {\n abiItem = (0,_getAbiItem_js__WEBPACK_IMPORTED_MODULE_0__.getAbiItem)({\n abi,\n args,\n name: functionName,\n });\n if (!abiItem)\n throw new _errors_abi_js__WEBPACK_IMPORTED_MODULE_1__.AbiFunctionNotFoundError(functionName, {\n docsPath: '/docs/contract/encodeFunctionData',\n });\n }\n if (abiItem.type !== 'function')\n throw new _errors_abi_js__WEBPACK_IMPORTED_MODULE_1__.AbiFunctionNotFoundError(undefined, {\n docsPath: '/docs/contract/encodeFunctionData',\n });\n const definition = (0,_formatAbiItem_js__WEBPACK_IMPORTED_MODULE_2__.formatAbiItem)(abiItem);\n const signature = (0,_hash_getFunctionSelector_js__WEBPACK_IMPORTED_MODULE_3__.getFunctionSelector)(definition);\n const data = 'inputs' in abiItem && abiItem.inputs\n ? (0,_encodeAbiParameters_js__WEBPACK_IMPORTED_MODULE_4__.encodeAbiParameters)(abiItem.inputs, (args ?? []))\n : undefined;\n return (0,_data_concat_js__WEBPACK_IMPORTED_MODULE_5__.concatHex)([signature, data ?? '0x']);\n}\n//# sourceMappingURL=encodeFunctionData.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/abi/encodeFunctionData.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/utils/abi/formatAbiItem.js":
|
|||
|
/*!***********************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/utils/abi/formatAbiItem.js ***!
|
|||
|
\***********************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ formatAbiItem: () => (/* binding */ formatAbiItem),\n/* harmony export */ formatAbiParams: () => (/* binding */ formatAbiParams)\n/* harmony export */ });\n/* harmony import */ var _errors_abi_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../errors/abi.js */ \"./node_modules/viem/_esm/errors/abi.js\");\n\nfunction formatAbiItem(abiItem, { includeName = false } = {}) {\n if (abiItem.type !== 'function' &&\n abiItem.type !== 'event' &&\n abiItem.type !== 'error')\n throw new _errors_abi_js__WEBPACK_IMPORTED_MODULE_0__.InvalidDefinitionTypeError(abiItem.type);\n return `${abiItem.name}(${formatAbiParams(abiItem.inputs, { includeName })})`;\n}\nfunction formatAbiParams(params, { includeName = false } = {}) {\n if (!params)\n return '';\n return params\n .map((param) => formatAbiParam(param, { includeName }))\n .join(includeName ? ', ' : ',');\n}\nfunction formatAbiParam(param, { includeName }) {\n if (param.type.startsWith('tuple')) {\n return `(${formatAbiParams(param.components, { includeName })})${param.type.slice('tuple'.length)}`;\n }\n return param.type + (includeName && param.name ? ` ${param.name}` : '');\n}\n//# sourceMappingURL=formatAbiItem.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/abi/formatAbiItem.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/utils/abi/formatAbiItemWithArgs.js":
|
|||
|
/*!*******************************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/utils/abi/formatAbiItemWithArgs.js ***!
|
|||
|
\*******************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ formatAbiItemWithArgs: () => (/* binding */ formatAbiItemWithArgs)\n/* harmony export */ });\n/* harmony import */ var _stringify_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../stringify.js */ \"./node_modules/viem/_esm/utils/stringify.js\");\n\nfunction formatAbiItemWithArgs({ abiItem, args, includeFunctionName = true, includeName = false, }) {\n if (!('name' in abiItem))\n return;\n if (!('inputs' in abiItem))\n return;\n if (!abiItem.inputs)\n return;\n return `${includeFunctionName ? abiItem.name : ''}(${abiItem.inputs\n .map((input, i) => `${includeName && input.name ? `${input.name}: ` : ''}${typeof args[i] === 'object' ? (0,_stringify_js__WEBPACK_IMPORTED_MODULE_0__.stringify)(args[i]) : args[i]}`)\n .join(', ')})`;\n}\n//# sourceMappingURL=formatAbiItemWithArgs.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/abi/formatAbiItemWithArgs.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/utils/abi/getAbiItem.js":
|
|||
|
/*!********************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/utils/abi/getAbiItem.js ***!
|
|||
|
\********************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ getAbiItem: () => (/* binding */ getAbiItem),\n/* harmony export */ isArgOfType: () => (/* binding */ isArgOfType)\n/* harmony export */ });\n/* harmony import */ var _utils_data_isHex_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/data/isHex.js */ \"./node_modules/viem/_esm/utils/data/isHex.js\");\n/* harmony import */ var _utils_hash_getEventSelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../utils/hash/getEventSelector.js */ \"./node_modules/viem/_esm/utils/hash/getEventSelector.js\");\n/* harmony import */ var _utils_hash_getFunctionSelector_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../utils/hash/getFunctionSelector.js */ \"./node_modules/viem/_esm/utils/hash/getFunctionSelector.js\");\n/* harmony import */ var _address_isAddress_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../address/isAddress.js */ \"./node_modules/viem/_esm/utils/address/isAddress.js\");\n\n\n\n\nfunction getAbiItem({ abi, args = [], name, }) {\n const isSelector = (0,_utils_data_isHex_js__WEBPACK_IMPORTED_MODULE_0__.isHex)(name, { strict: false });\n const abiItems = abi.filter((abiItem) => {\n if (isSelector) {\n if (abiItem.type === 'function')\n return (0,_utils_hash_getFunctionSelector_js__WEBPACK_IMPORTED_MODULE_1__.getFunctionSelector)(abiItem) === name;\n if (abiItem.type === 'event')\n return (0,_utils_hash_getEventSelector_js__WEBPACK_IMPORTED_MODULE_2__.getEventSelector)(abiItem) === name;\n return false;\n }\n return 'name' in abiItem && abiItem.name === name;\n });\n if (abiItems.length === 0)\n return undefined;\n if (abiItems.length === 1)\n return abiItems[0];\n for (const abiItem of abiItems) {\n if (!('inputs' in abiItem))\n continue;\n if (!args || args.length === 0) {\n if (!abiItem.inputs || abiItem.inputs.length === 0)\n return abiItem;\n continue;\n }\n if (!abiItem.inputs)\n continue;\n if (abiItem.inputs.length === 0)\n continue;\n if (abiItem.inputs.length !== args.length)\n continue;\n const matched = args.every((arg, index) => {\n const abiParameter = 'inputs' in abiItem && abiItem.inputs[index];\n if (!abiParameter)\n return false;\n return isArgOfType(arg, abiParameter);\n });\n if (matched)\n return abiItem;\n }\n return abiItems[0];\n}\nfunction isArgOfType(arg, abiParameter) {\n const argType = typeof arg;\n const abiParameterType = abiParameter.type;\n switch (abiParameterType) {\n case 'address':\n return (0,_address_isAddress_js__WEBPACK_IMPORTED_MODULE_3__.isAddress)(arg);\n case 'bool':\n return argType === 'boolean';\n case 'function':\n return argType === 'string';\n case 'string':\n return argType === 'string';\n default: {\n if (abiParameterType === 'tuple' && 'components' in abiParameter)\n return Object.values(abiParameter.components).every((component, index) => {\n return isArgOfType(Object.values(arg)[index], component);\n });\n // `(u)int<M>`: (un)signed integer type of `M` bits, `0 < M <= 256`, `M % 8 == 0`\n // https://regexr.com/6v8hp\n if (/^u?int(8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?$/.test(abiParameterType))\n return argType === 'number' || argType === 'bigint';\n // `bytes<M>`: binary type of `M` bytes, `0 < M <= 32`\n // https://regexr.com/6va55\n if (/^bytes([1-9]|1[0-9]|2[0-9]|3[0-2])?$/.test(abiParameterType))\n return argType === 'string'
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/utils/address/getAddress.js":
|
|||
|
/*!************************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/utils/address/getAddress.js ***!
|
|||
|
\************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ checksumAddress: () => (/* binding */ checksumAddress),\n/* harmony export */ getAddress: () => (/* binding */ getAddress)\n/* harmony export */ });\n/* harmony import */ var _errors_address_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../errors/address.js */ \"./node_modules/viem/_esm/errors/address.js\");\n/* harmony import */ var _encoding_toBytes_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../encoding/toBytes.js */ \"./node_modules/viem/_esm/utils/encoding/toBytes.js\");\n/* harmony import */ var _hash_keccak256_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../hash/keccak256.js */ \"./node_modules/viem/_esm/utils/hash/keccak256.js\");\n/* harmony import */ var _isAddress_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./isAddress.js */ \"./node_modules/viem/_esm/utils/address/isAddress.js\");\n\n\n\n\nfunction checksumAddress(address_, chainId) {\n const hexAddress = chainId\n ? `${chainId}${address_.toLowerCase()}`\n : address_.substring(2).toLowerCase();\n const hash = (0,_hash_keccak256_js__WEBPACK_IMPORTED_MODULE_0__.keccak256)((0,_encoding_toBytes_js__WEBPACK_IMPORTED_MODULE_1__.stringToBytes)(hexAddress), 'bytes');\n const address = (chainId ? hexAddress.substring(`${chainId}0x`.length) : hexAddress).split('');\n for (let i = 0; i < 40; i += 2) {\n if (hash[i >> 1] >> 4 >= 8 && address[i]) {\n address[i] = address[i].toUpperCase();\n }\n if ((hash[i >> 1] & 0x0f) >= 8 && address[i + 1]) {\n address[i + 1] = address[i + 1].toUpperCase();\n }\n }\n return `0x${address.join('')}`;\n}\nfunction getAddress(address, chainId) {\n if (!(0,_isAddress_js__WEBPACK_IMPORTED_MODULE_2__.isAddress)(address))\n throw new _errors_address_js__WEBPACK_IMPORTED_MODULE_3__.InvalidAddressError({ address });\n return checksumAddress(address, chainId);\n}\n//# sourceMappingURL=getAddress.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/address/getAddress.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/utils/address/isAddress.js":
|
|||
|
/*!***********************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/utils/address/isAddress.js ***!
|
|||
|
\***********************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ isAddress: () => (/* binding */ isAddress)\n/* harmony export */ });\nconst addressRegex = /^0x[a-fA-F0-9]{40}$/;\nfunction isAddress(address) {\n return addressRegex.test(address);\n}\n//# sourceMappingURL=isAddress.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/address/isAddress.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/utils/buildRequest.js":
|
|||
|
/*!******************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/utils/buildRequest.js ***!
|
|||
|
\******************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ buildRequest: () => (/* binding */ buildRequest),\n/* harmony export */ isDeterministicError: () => (/* binding */ isDeterministicError)\n/* harmony export */ });\n/* harmony import */ var _errors_base_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../errors/base.js */ \"./node_modules/viem/_esm/errors/base.js\");\n/* harmony import */ var _errors_request_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../errors/request.js */ \"./node_modules/viem/_esm/errors/request.js\");\n/* harmony import */ var _errors_rpc_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../errors/rpc.js */ \"./node_modules/viem/_esm/errors/rpc.js\");\n/* harmony import */ var _promise_withRetry_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./promise/withRetry.js */ \"./node_modules/viem/_esm/utils/promise/withRetry.js\");\n\n\n\n\nconst isDeterministicError = (error) => {\n if ('code' in error)\n return (error.code !== -1 &&\n error.code !== -32004 &&\n error.code !== -32005 &&\n error.code !== -32042 &&\n error.code !== -32603);\n if (error instanceof _errors_request_js__WEBPACK_IMPORTED_MODULE_0__.HttpRequestError && error.status)\n return (error.status !== 403 &&\n error.status !== 408 &&\n error.status !== 413 &&\n error.status !== 429 &&\n error.status !== 500 &&\n error.status !== 502 &&\n error.status !== 503 &&\n error.status !== 504);\n return false;\n};\nfunction buildRequest(request, { retryDelay = 150, retryCount = 3, } = {}) {\n return (async (args) => (0,_promise_withRetry_js__WEBPACK_IMPORTED_MODULE_1__.withRetry)(async () => {\n try {\n return await request(args);\n }\n catch (err_) {\n const err = err_;\n switch (err.code) {\n // -32700\n case _errors_rpc_js__WEBPACK_IMPORTED_MODULE_2__.ParseRpcError.code:\n throw new _errors_rpc_js__WEBPACK_IMPORTED_MODULE_2__.ParseRpcError(err);\n // -32600\n case _errors_rpc_js__WEBPACK_IMPORTED_MODULE_2__.InvalidRequestRpcError.code:\n throw new _errors_rpc_js__WEBPACK_IMPORTED_MODULE_2__.InvalidRequestRpcError(err);\n // -32601\n case _errors_rpc_js__WEBPACK_IMPORTED_MODULE_2__.MethodNotFoundRpcError.code:\n throw new _errors_rpc_js__WEBPACK_IMPORTED_MODULE_2__.MethodNotFoundRpcError(err);\n // -32602\n case _errors_rpc_js__WEBPACK_IMPORTED_MODULE_2__.InvalidParamsRpcError.code:\n throw new _errors_rpc_js__WEBPACK_IMPORTED_MODULE_2__.InvalidParamsRpcError(err);\n // -32603\n case _errors_rpc_js__WEBPACK_IMPORTED_MODULE_2__.InternalRpcError.code:\n throw new _errors_rpc_js__WEBPACK_IMPORTED_MODULE_2__.InternalRpcError(err);\n // -32000\n case _errors_rpc_js__WEBPACK_IMPORTED_MODULE_2__.InvalidInputRpcError.code:\n throw new _errors_rpc_js__WEBPACK_IMPORTED_MODULE_2__.InvalidInputRpcError(err);\n // -32001\n case _errors_rpc_js__WEBPACK_IMPORTED_MODULE_2__.ResourceNotFoundRpcError.code:\n throw new _errors_rpc_js__WEBPACK_IMPORTED_MODULE_2__.ResourceNotFoundRpcError(err);\n // -32002\n case _errors_rpc_js__WEBPACK_IMPORTED_MODULE_2__.ResourceUnavailableRpcError.code:\n throw new _errors_rpc_js__WEBPACK_IMPORTED_MODULE_2__.ResourceUnavailableRpcError(err);\n // -32003\n case _errors_rpc_js__WEBPACK_IMPORTED_MODULE_2__.TransactionRejectedRpcError.code:\n throw new _errors_rpc_js__WEBPACK_IMPORTED_MODULE_2__.TransactionRejectedRpcError(err);\n // -32004\n c
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/utils/chain/assertCurrentChain.js":
|
|||
|
/*!******************************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/utils/chain/assertCurrentChain.js ***!
|
|||
|
\******************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ assertCurrentChain: () => (/* binding */ assertCurrentChain)\n/* harmony export */ });\n/* harmony import */ var _errors_chain_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../errors/chain.js */ \"./node_modules/viem/_esm/errors/chain.js\");\n\nfunction assertCurrentChain({ chain, currentChainId, }) {\n if (!chain)\n throw new _errors_chain_js__WEBPACK_IMPORTED_MODULE_0__.ChainNotFoundError();\n if (currentChainId !== chain.id)\n throw new _errors_chain_js__WEBPACK_IMPORTED_MODULE_0__.ChainMismatchError({ chain, currentChainId });\n}\n//# sourceMappingURL=assertCurrentChain.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/chain/assertCurrentChain.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/utils/chain/defineChain.js":
|
|||
|
/*!***********************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/utils/chain/defineChain.js ***!
|
|||
|
\***********************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ defineChain: () => (/* binding */ defineChain)\n/* harmony export */ });\nfunction defineChain(chain, config = {}) {\n const { fees = chain.fees, formatters = chain.formatters, serializers = chain.serializers, } = config;\n return {\n ...chain,\n fees,\n formatters,\n serializers,\n };\n}\n//# sourceMappingURL=defineChain.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/chain/defineChain.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/utils/chain/getChainContractAddress.js":
|
|||
|
/*!***********************************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/utils/chain/getChainContractAddress.js ***!
|
|||
|
\***********************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ getChainContractAddress: () => (/* binding */ getChainContractAddress)\n/* harmony export */ });\n/* harmony import */ var _errors_chain_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../errors/chain.js */ \"./node_modules/viem/_esm/errors/chain.js\");\n\nfunction getChainContractAddress({ blockNumber, chain, contract: name, }) {\n const contract = chain?.contracts?.[name];\n if (!contract)\n throw new _errors_chain_js__WEBPACK_IMPORTED_MODULE_0__.ChainDoesNotSupportContract({\n chain,\n contract: { name },\n });\n if (blockNumber &&\n contract.blockCreated &&\n contract.blockCreated > blockNumber)\n throw new _errors_chain_js__WEBPACK_IMPORTED_MODULE_0__.ChainDoesNotSupportContract({\n blockNumber,\n chain,\n contract: {\n name,\n blockCreated: contract.blockCreated,\n },\n });\n return contract.address;\n}\n//# sourceMappingURL=getChainContractAddress.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/chain/getChainContractAddress.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/utils/data/concat.js":
|
|||
|
/*!*****************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/utils/data/concat.js ***!
|
|||
|
\*****************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ concat: () => (/* binding */ concat),\n/* harmony export */ concatBytes: () => (/* binding */ concatBytes),\n/* harmony export */ concatHex: () => (/* binding */ concatHex)\n/* harmony export */ });\nfunction concat(values) {\n if (typeof values[0] === 'string')\n return concatHex(values);\n return concatBytes(values);\n}\nfunction concatBytes(values) {\n let length = 0;\n for (const arr of values) {\n length += arr.length;\n }\n const result = new Uint8Array(length);\n let offset = 0;\n for (const arr of values) {\n result.set(arr, offset);\n offset += arr.length;\n }\n return result;\n}\nfunction concatHex(values) {\n return `0x${values.reduce((acc, x) => acc + x.replace('0x', ''), '')}`;\n}\n//# sourceMappingURL=concat.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/data/concat.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/utils/data/isBytesEqual.js":
|
|||
|
/*!***********************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/utils/data/isBytesEqual.js ***!
|
|||
|
\***********************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ isBytesEqual: () => (/* binding */ isBytesEqual)\n/* harmony export */ });\n/* harmony import */ var _noble_curves_abstract_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @noble/curves/abstract/utils */ \"./node_modules/@noble/curves/esm/abstract/utils.js\");\n/* harmony import */ var _encoding_toBytes_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../encoding/toBytes.js */ \"./node_modules/viem/_esm/utils/encoding/toBytes.js\");\n/* harmony import */ var _isHex_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./isHex.js */ \"./node_modules/viem/_esm/utils/data/isHex.js\");\n\n\n\nfunction isBytesEqual(a_, b_) {\n const a = (0,_isHex_js__WEBPACK_IMPORTED_MODULE_0__.isHex)(a_) ? (0,_encoding_toBytes_js__WEBPACK_IMPORTED_MODULE_1__.toBytes)(a_) : a_;\n const b = (0,_isHex_js__WEBPACK_IMPORTED_MODULE_0__.isHex)(b_) ? (0,_encoding_toBytes_js__WEBPACK_IMPORTED_MODULE_1__.toBytes)(b_) : b_;\n return (0,_noble_curves_abstract_utils__WEBPACK_IMPORTED_MODULE_2__.equalBytes)(a, b);\n}\n//# sourceMappingURL=isBytesEqual.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/data/isBytesEqual.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/utils/data/isHex.js":
|
|||
|
/*!****************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/utils/data/isHex.js ***!
|
|||
|
\****************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ isHex: () => (/* binding */ isHex)\n/* harmony export */ });\nfunction isHex(value, { strict = true } = {}) {\n if (!value)\n return false;\n if (typeof value !== 'string')\n return false;\n return strict ? /^0x[0-9a-fA-F]*$/.test(value) : value.startsWith('0x');\n}\n//# sourceMappingURL=isHex.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/data/isHex.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/utils/data/pad.js":
|
|||
|
/*!**************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/utils/data/pad.js ***!
|
|||
|
\**************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ pad: () => (/* binding */ pad),\n/* harmony export */ padBytes: () => (/* binding */ padBytes),\n/* harmony export */ padHex: () => (/* binding */ padHex)\n/* harmony export */ });\n/* harmony import */ var _errors_data_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../errors/data.js */ \"./node_modules/viem/_esm/errors/data.js\");\n\nfunction pad(hexOrBytes, { dir, size = 32 } = {}) {\n if (typeof hexOrBytes === 'string')\n return padHex(hexOrBytes, { dir, size });\n return padBytes(hexOrBytes, { dir, size });\n}\nfunction padHex(hex_, { dir, size = 32 } = {}) {\n if (size === null)\n return hex_;\n const hex = hex_.replace('0x', '');\n if (hex.length > size * 2)\n throw new _errors_data_js__WEBPACK_IMPORTED_MODULE_0__.SizeExceedsPaddingSizeError({\n size: Math.ceil(hex.length / 2),\n targetSize: size,\n type: 'hex',\n });\n return `0x${hex[dir === 'right' ? 'padEnd' : 'padStart'](size * 2, '0')}`;\n}\nfunction padBytes(bytes, { dir, size = 32 } = {}) {\n if (size === null)\n return bytes;\n if (bytes.length > size)\n throw new _errors_data_js__WEBPACK_IMPORTED_MODULE_0__.SizeExceedsPaddingSizeError({\n size: bytes.length,\n targetSize: size,\n type: 'bytes',\n });\n const paddedBytes = new Uint8Array(size);\n for (let i = 0; i < size; i++) {\n const padEnd = dir === 'right';\n paddedBytes[padEnd ? i : size - i - 1] =\n bytes[padEnd ? i : bytes.length - i - 1];\n }\n return paddedBytes;\n}\n//# sourceMappingURL=pad.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/data/pad.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/utils/data/size.js":
|
|||
|
/*!***************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/utils/data/size.js ***!
|
|||
|
\***************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ size: () => (/* binding */ size)\n/* harmony export */ });\n/* harmony import */ var _isHex_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./isHex.js */ \"./node_modules/viem/_esm/utils/data/isHex.js\");\n\n/**\n * @description Retrieves the size of the value (in bytes).\n *\n * @param value The value (hex or byte array) to retrieve the size of.\n * @returns The size of the value (in bytes).\n */\nfunction size(value) {\n if ((0,_isHex_js__WEBPACK_IMPORTED_MODULE_0__.isHex)(value, { strict: false }))\n return Math.ceil((value.length - 2) / 2);\n return value.length;\n}\n//# sourceMappingURL=size.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/data/size.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/utils/data/slice.js":
|
|||
|
/*!****************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/utils/data/slice.js ***!
|
|||
|
\****************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ slice: () => (/* binding */ slice),\n/* harmony export */ sliceBytes: () => (/* binding */ sliceBytes),\n/* harmony export */ sliceHex: () => (/* binding */ sliceHex)\n/* harmony export */ });\n/* harmony import */ var _errors_data_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../errors/data.js */ \"./node_modules/viem/_esm/errors/data.js\");\n/* harmony import */ var _isHex_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./isHex.js */ \"./node_modules/viem/_esm/utils/data/isHex.js\");\n/* harmony import */ var _size_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./size.js */ \"./node_modules/viem/_esm/utils/data/size.js\");\n\n\n\n/**\n * @description Returns a section of the hex or byte array given a start/end bytes offset.\n *\n * @param value The hex or byte array to slice.\n * @param start The start offset (in bytes).\n * @param end The end offset (in bytes).\n */\nfunction slice(value, start, end, { strict } = {}) {\n if ((0,_isHex_js__WEBPACK_IMPORTED_MODULE_0__.isHex)(value, { strict: false }))\n return sliceHex(value, start, end, {\n strict,\n });\n return sliceBytes(value, start, end, {\n strict,\n });\n}\nfunction assertStartOffset(value, start) {\n if (typeof start === 'number' && start > 0 && start > (0,_size_js__WEBPACK_IMPORTED_MODULE_1__.size)(value) - 1)\n throw new _errors_data_js__WEBPACK_IMPORTED_MODULE_2__.SliceOffsetOutOfBoundsError({\n offset: start,\n position: 'start',\n size: (0,_size_js__WEBPACK_IMPORTED_MODULE_1__.size)(value),\n });\n}\nfunction assertEndOffset(value, start, end) {\n if (typeof start === 'number' &&\n typeof end === 'number' &&\n (0,_size_js__WEBPACK_IMPORTED_MODULE_1__.size)(value) !== end - start) {\n throw new _errors_data_js__WEBPACK_IMPORTED_MODULE_2__.SliceOffsetOutOfBoundsError({\n offset: end,\n position: 'end',\n size: (0,_size_js__WEBPACK_IMPORTED_MODULE_1__.size)(value),\n });\n }\n}\n/**\n * @description Returns a section of the byte array given a start/end bytes offset.\n *\n * @param value The byte array to slice.\n * @param start The start offset (in bytes).\n * @param end The end offset (in bytes).\n */\nfunction sliceBytes(value_, start, end, { strict } = {}) {\n assertStartOffset(value_, start);\n const value = value_.slice(start, end);\n if (strict)\n assertEndOffset(value, start, end);\n return value;\n}\n/**\n * @description Returns a section of the hex value given a start/end bytes offset.\n *\n * @param value The hex value to slice.\n * @param start The start offset (in bytes).\n * @param end The end offset (in bytes).\n */\nfunction sliceHex(value_, start, end, { strict } = {}) {\n assertStartOffset(value_, start);\n const value = `0x${value_\n .replace('0x', '')\n .slice((start ?? 0) * 2, (end ?? value_.length) * 2)}`;\n if (strict)\n assertEndOffset(value, start, end);\n return value;\n}\n//# sourceMappingURL=slice.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/data/slice.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/utils/data/trim.js":
|
|||
|
/*!***************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/utils/data/trim.js ***!
|
|||
|
\***************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ trim: () => (/* binding */ trim)\n/* harmony export */ });\nfunction trim(hexOrBytes, { dir = 'left' } = {}) {\n let data = typeof hexOrBytes === 'string' ? hexOrBytes.replace('0x', '') : hexOrBytes;\n let sliceLength = 0;\n for (let i = 0; i < data.length - 1; i++) {\n if (data[dir === 'left' ? i : data.length - i - 1].toString() === '0')\n sliceLength++;\n else\n break;\n }\n data =\n dir === 'left'\n ? data.slice(sliceLength)\n : data.slice(0, data.length - sliceLength);\n if (typeof hexOrBytes === 'string') {\n if (data.length === 1 && dir === 'right')\n data = `${data}0`;\n return `0x${data.length % 2 === 1 ? `0${data}` : data}`;\n }\n return data;\n}\n//# sourceMappingURL=trim.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/data/trim.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/utils/encoding/fromHex.js":
|
|||
|
/*!**********************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/utils/encoding/fromHex.js ***!
|
|||
|
\**********************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ assertSize: () => (/* binding */ assertSize),\n/* harmony export */ fromHex: () => (/* binding */ fromHex),\n/* harmony export */ hexToBigInt: () => (/* binding */ hexToBigInt),\n/* harmony export */ hexToBool: () => (/* binding */ hexToBool),\n/* harmony export */ hexToNumber: () => (/* binding */ hexToNumber),\n/* harmony export */ hexToString: () => (/* binding */ hexToString)\n/* harmony export */ });\n/* harmony import */ var _errors_encoding_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../errors/encoding.js */ \"./node_modules/viem/_esm/errors/encoding.js\");\n/* harmony import */ var _data_size_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../data/size.js */ \"./node_modules/viem/_esm/utils/data/size.js\");\n/* harmony import */ var _data_trim_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../data/trim.js */ \"./node_modules/viem/_esm/utils/data/trim.js\");\n/* harmony import */ var _toBytes_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./toBytes.js */ \"./node_modules/viem/_esm/utils/encoding/toBytes.js\");\n\n\n\n\nfunction assertSize(hexOrBytes, { size }) {\n if ((0,_data_size_js__WEBPACK_IMPORTED_MODULE_0__.size)(hexOrBytes) > size)\n throw new _errors_encoding_js__WEBPACK_IMPORTED_MODULE_1__.SizeOverflowError({\n givenSize: (0,_data_size_js__WEBPACK_IMPORTED_MODULE_0__.size)(hexOrBytes),\n maxSize: size,\n });\n}\n/**\n * Decodes a hex string into a string, number, bigint, boolean, or byte array.\n *\n * - Docs: https://viem.sh/docs/utilities/fromHex.html\n * - Example: https://viem.sh/docs/utilities/fromHex.html#usage\n *\n * @param hex Hex string to decode.\n * @param toOrOpts Type to convert to or options.\n * @returns Decoded value.\n *\n * @example\n * import { fromHex } from 'viem'\n * const data = fromHex('0x1a4', 'number')\n * // 420\n *\n * @example\n * import { fromHex } from 'viem'\n * const data = fromHex('0x48656c6c6f20576f726c6421', 'string')\n * // 'Hello world'\n *\n * @example\n * import { fromHex } from 'viem'\n * const data = fromHex('0x48656c6c6f20576f726c64210000000000000000000000000000000000000000', {\n * size: 32,\n * to: 'string'\n * })\n * // 'Hello world'\n */\nfunction fromHex(hex, toOrOpts) {\n const opts = typeof toOrOpts === 'string' ? { to: toOrOpts } : toOrOpts;\n const to = opts.to;\n if (to === 'number')\n return hexToNumber(hex, opts);\n if (to === 'bigint')\n return hexToBigInt(hex, opts);\n if (to === 'string')\n return hexToString(hex, opts);\n if (to === 'boolean')\n return hexToBool(hex, opts);\n return (0,_toBytes_js__WEBPACK_IMPORTED_MODULE_2__.hexToBytes)(hex, opts);\n}\n/**\n * Decodes a hex value into a bigint.\n *\n * - Docs: https://viem.sh/docs/utilities/fromHex.html#hextobigint\n *\n * @param hex Hex value to decode.\n * @param opts Options.\n * @returns BigInt value.\n *\n * @example\n * import { hexToBigInt } from 'viem'\n * const data = hexToBigInt('0x1a4', { signed: true })\n * // 420n\n *\n * @example\n * import { hexToBigInt } from 'viem'\n * const data = hexToBigInt('0x00000000000000000000000000000000000000000000000000000000000001a4', { size: 32 })\n * // 420n\n */\nfunction hexToBigInt(hex, opts = {}) {\n const { signed } = opts;\n if (opts.size)\n assertSize(hex, { size: opts.size });\n const value = BigInt(hex);\n if (!signed)\n return value;\n const size = (hex.length - 2) / 2;\n const max = (1n << (BigInt(size) * 8n - 1n)) - 1n;\n if (value <= max)\n return value;\n return value - BigInt(`0x${'f'.padStart(size * 2, 'f')}`) - 1n;\n}\n/**\n * Decodes a hex value into a boolean.\n *\n * - Docs: https://viem.sh/docs/utilities/fromHex.html#hextobool\n *\n * @param hex Hex value to decode.\n * @param opts Options.\n * @returns Boolean value.\n *\n * @example\n * import { hexToBool } from 'viem'\n * const data = hexToBool(
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/utils/encoding/toBytes.js":
|
|||
|
/*!**********************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/utils/encoding/toBytes.js ***!
|
|||
|
\**********************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ boolToBytes: () => (/* binding */ boolToBytes),\n/* harmony export */ hexToBytes: () => (/* binding */ hexToBytes),\n/* harmony export */ numberToBytes: () => (/* binding */ numberToBytes),\n/* harmony export */ stringToBytes: () => (/* binding */ stringToBytes),\n/* harmony export */ toBytes: () => (/* binding */ toBytes)\n/* harmony export */ });\n/* harmony import */ var _errors_base_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../errors/base.js */ \"./node_modules/viem/_esm/errors/base.js\");\n/* harmony import */ var _data_isHex_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../data/isHex.js */ \"./node_modules/viem/_esm/utils/data/isHex.js\");\n/* harmony import */ var _data_pad_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../data/pad.js */ \"./node_modules/viem/_esm/utils/data/pad.js\");\n/* harmony import */ var _fromHex_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./fromHex.js */ \"./node_modules/viem/_esm/utils/encoding/fromHex.js\");\n/* harmony import */ var _toHex_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./toHex.js */ \"./node_modules/viem/_esm/utils/encoding/toHex.js\");\n\n\n\n\n\nconst encoder = /*#__PURE__*/ new TextEncoder();\n/**\n * Encodes a UTF-8 string, hex value, bigint, number or boolean to a byte array.\n *\n * - Docs: https://viem.sh/docs/utilities/toBytes.html\n * - Example: https://viem.sh/docs/utilities/toBytes.html#usage\n *\n * @param value Value to encode.\n * @param opts Options.\n * @returns Byte array value.\n *\n * @example\n * import { toBytes } from 'viem'\n * const data = toBytes('Hello world')\n * // Uint8Array([72, 101, 108, 108, 111, 32, 87, 111, 114, 108, 100, 33])\n *\n * @example\n * import { toBytes } from 'viem'\n * const data = toBytes(420)\n * // Uint8Array([1, 164])\n *\n * @example\n * import { toBytes } from 'viem'\n * const data = toBytes(420, { size: 4 })\n * // Uint8Array([0, 0, 1, 164])\n */\nfunction toBytes(value, opts = {}) {\n if (typeof value === 'number' || typeof value === 'bigint')\n return numberToBytes(value, opts);\n if (typeof value === 'boolean')\n return boolToBytes(value, opts);\n if ((0,_data_isHex_js__WEBPACK_IMPORTED_MODULE_0__.isHex)(value))\n return hexToBytes(value, opts);\n return stringToBytes(value, opts);\n}\n/**\n * Encodes a boolean into a byte array.\n *\n * - Docs: https://viem.sh/docs/utilities/toBytes.html#booltobytes\n *\n * @param value Boolean value to encode.\n * @param opts Options.\n * @returns Byte array value.\n *\n * @example\n * import { boolToBytes } from 'viem'\n * const data = boolToBytes(true)\n * // Uint8Array([1])\n *\n * @example\n * import { boolToBytes } from 'viem'\n * const data = boolToBytes(true, { size: 32 })\n * // Uint8Array([0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1])\n */\nfunction boolToBytes(value, opts = {}) {\n const bytes = new Uint8Array(1);\n bytes[0] = Number(value);\n if (typeof opts.size === 'number') {\n (0,_fromHex_js__WEBPACK_IMPORTED_MODULE_1__.assertSize)(bytes, { size: opts.size });\n return (0,_data_pad_js__WEBPACK_IMPORTED_MODULE_2__.pad)(bytes, { size: opts.size });\n }\n return bytes;\n}\n// We use very optimized technique to convert hex string to byte array\nconst charCodeMap = {\n zero: 48,\n nine: 57,\n A: 65,\n F: 70,\n a: 97,\n f: 102,\n};\nfunction charCodeToBase16(char) {\n if (char >= charCodeMap.zero && char <= charCodeMap.nine)\n return char - charCodeMap.zero;\n if (char >= charCodeMap.A && char <= charCodeMap.F)\n return char - (charCodeMap.A - 10);\n if (char >= charCodeMap.a && char <= charCodeMap.f)\n return char - (charCodeMap.a - 10);\n return undefined;\n}\n/**\n * Encodes a hex string into a byte array.\n *\n * - Docs: https://viem.sh/docs/utilities/toBytes.html#hextobytes\n *\n * @param hex Hex string to
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/utils/encoding/toHex.js":
|
|||
|
/*!********************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/utils/encoding/toHex.js ***!
|
|||
|
\********************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ boolToHex: () => (/* binding */ boolToHex),\n/* harmony export */ bytesToHex: () => (/* binding */ bytesToHex),\n/* harmony export */ numberToHex: () => (/* binding */ numberToHex),\n/* harmony export */ stringToHex: () => (/* binding */ stringToHex),\n/* harmony export */ toHex: () => (/* binding */ toHex)\n/* harmony export */ });\n/* harmony import */ var _errors_encoding_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../errors/encoding.js */ \"./node_modules/viem/_esm/errors/encoding.js\");\n/* harmony import */ var _data_pad_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../data/pad.js */ \"./node_modules/viem/_esm/utils/data/pad.js\");\n/* harmony import */ var _fromHex_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./fromHex.js */ \"./node_modules/viem/_esm/utils/encoding/fromHex.js\");\n\n\n\nconst hexes = /*#__PURE__*/ Array.from({ length: 256 }, (_v, i) => i.toString(16).padStart(2, '0'));\n/**\n * Encodes a string, number, bigint, or ByteArray into a hex string\n *\n * - Docs: https://viem.sh/docs/utilities/toHex.html\n * - Example: https://viem.sh/docs/utilities/toHex.html#usage\n *\n * @param value Value to encode.\n * @param opts Options.\n * @returns Hex value.\n *\n * @example\n * import { toHex } from 'viem'\n * const data = toHex('Hello world')\n * // '0x48656c6c6f20776f726c6421'\n *\n * @example\n * import { toHex } from 'viem'\n * const data = toHex(420)\n * // '0x1a4'\n *\n * @example\n * import { toHex } from 'viem'\n * const data = toHex('Hello world', { size: 32 })\n * // '0x48656c6c6f20776f726c64210000000000000000000000000000000000000000'\n */\nfunction toHex(value, opts = {}) {\n if (typeof value === 'number' || typeof value === 'bigint')\n return numberToHex(value, opts);\n if (typeof value === 'string') {\n return stringToHex(value, opts);\n }\n if (typeof value === 'boolean')\n return boolToHex(value, opts);\n return bytesToHex(value, opts);\n}\n/**\n * Encodes a boolean into a hex string\n *\n * - Docs: https://viem.sh/docs/utilities/toHex.html#booltohex\n *\n * @param value Value to encode.\n * @param opts Options.\n * @returns Hex value.\n *\n * @example\n * import { boolToHex } from 'viem'\n * const data = boolToHex(true)\n * // '0x1'\n *\n * @example\n * import { boolToHex } from 'viem'\n * const data = boolToHex(false)\n * // '0x0'\n *\n * @example\n * import { boolToHex } from 'viem'\n * const data = boolToHex(true, { size: 32 })\n * // '0x0000000000000000000000000000000000000000000000000000000000000001'\n */\nfunction boolToHex(value, opts = {}) {\n const hex = `0x${Number(value)}`;\n if (typeof opts.size === 'number') {\n (0,_fromHex_js__WEBPACK_IMPORTED_MODULE_0__.assertSize)(hex, { size: opts.size });\n return (0,_data_pad_js__WEBPACK_IMPORTED_MODULE_1__.pad)(hex, { size: opts.size });\n }\n return hex;\n}\n/**\n * Encodes a bytes array into a hex string\n *\n * - Docs: https://viem.sh/docs/utilities/toHex.html#bytestohex\n *\n * @param value Value to encode.\n * @param opts Options.\n * @returns Hex value.\n *\n * @example\n * import { bytesToHex } from 'viem'\n * const data = bytesToHex(Uint8Array.from([72, 101, 108, 108, 111, 32, 87, 111, 114, 108, 100, 33])\n * // '0x48656c6c6f20576f726c6421'\n *\n * @example\n * import { bytesToHex } from 'viem'\n * const data = bytesToHex(Uint8Array.from([72, 101, 108, 108, 111, 32, 87, 111, 114, 108, 100, 33]), { size: 32 })\n * // '0x48656c6c6f20576f726c64210000000000000000000000000000000000000000'\n */\nfunction bytesToHex(value, opts = {}) {\n let string = '';\n for (let i = 0; i < value.length; i++) {\n string += hexes[value[i]];\n }\n const hex = `0x${string}`;\n if (typeof opts.size === 'number') {\n (0,_fromHex_js__WEBPACK_IMPORTED_MODULE_0__.assertSize)(hex, { size: opts.size });\n return (0,_data_pad_js__WEBPACK_IMPORTED_MODULE_1__.pad)(hex, { dir: 'righ
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/utils/ens/avatar/parseAvatarRecord.js":
|
|||
|
/*!**********************************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/utils/ens/avatar/parseAvatarRecord.js ***!
|
|||
|
\**********************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ parseAvatarRecord: () => (/* binding */ parseAvatarRecord)\n/* harmony export */ });\n/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils.js */ \"./node_modules/viem/_esm/utils/ens/avatar/utils.js\");\n\nasync function parseAvatarRecord(client, { gatewayUrls, record, }) {\n if (/eip155:/i.test(record))\n return parseNftAvatarUri(client, { gatewayUrls, record });\n return (0,_utils_js__WEBPACK_IMPORTED_MODULE_0__.parseAvatarUri)({ uri: record, gatewayUrls });\n}\nasync function parseNftAvatarUri(client, { gatewayUrls, record, }) {\n // parse NFT URI into properties\n const nft = (0,_utils_js__WEBPACK_IMPORTED_MODULE_0__.parseNftUri)(record);\n // fetch tokenURI from the NFT contract\n const nftUri = await (0,_utils_js__WEBPACK_IMPORTED_MODULE_0__.getNftTokenUri)(client, { nft });\n // resolve the URI from the fetched tokenURI\n const { uri: resolvedNftUri, isOnChain, isEncoded, } = (0,_utils_js__WEBPACK_IMPORTED_MODULE_0__.resolveAvatarUri)({ uri: nftUri, gatewayUrls });\n // if the resolved URI is on chain, return the data\n if (isOnChain &&\n (resolvedNftUri.includes('data:application/json;base64,') ||\n resolvedNftUri.startsWith('{'))) {\n const encodedJson = isEncoded\n ? // if it is encoded, decode it\n atob(resolvedNftUri.replace('data:application/json;base64,', ''))\n : // if it isn't encoded assume it is a JSON string, but it could be anything (it will error if it is)\n resolvedNftUri;\n const decoded = JSON.parse(encodedJson);\n return (0,_utils_js__WEBPACK_IMPORTED_MODULE_0__.parseAvatarUri)({ uri: (0,_utils_js__WEBPACK_IMPORTED_MODULE_0__.getJsonImage)(decoded), gatewayUrls });\n }\n let uriTokenId = nft.tokenID;\n if (nft.namespace === 'erc1155')\n uriTokenId = uriTokenId.replace('0x', '').padStart(64, '0');\n return (0,_utils_js__WEBPACK_IMPORTED_MODULE_0__.getMetadataAvatarUri)({\n gatewayUrls,\n uri: resolvedNftUri.replace(/(?:0x)?{id}/, uriTokenId),\n });\n}\n//# sourceMappingURL=parseAvatarRecord.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/ens/avatar/parseAvatarRecord.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/utils/ens/avatar/utils.js":
|
|||
|
/*!**********************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/utils/ens/avatar/utils.js ***!
|
|||
|
\**********************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ getGateway: () => (/* binding */ getGateway),\n/* harmony export */ getJsonImage: () => (/* binding */ getJsonImage),\n/* harmony export */ getMetadataAvatarUri: () => (/* binding */ getMetadataAvatarUri),\n/* harmony export */ getNftTokenUri: () => (/* binding */ getNftTokenUri),\n/* harmony export */ isImageUri: () => (/* binding */ isImageUri),\n/* harmony export */ parseAvatarUri: () => (/* binding */ parseAvatarUri),\n/* harmony export */ parseNftUri: () => (/* binding */ parseNftUri),\n/* harmony export */ resolveAvatarUri: () => (/* binding */ resolveAvatarUri)\n/* harmony export */ });\n/* harmony import */ var _actions_public_readContract_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../actions/public/readContract.js */ \"./node_modules/viem/_esm/actions/public/readContract.js\");\n/* harmony import */ var _errors_ens_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../errors/ens.js */ \"./node_modules/viem/_esm/errors/ens.js\");\n\n\nconst networkRegex = /(?<protocol>https?:\\/\\/[^\\/]*|ipfs:\\/|ipns:\\/|ar:\\/)?(?<root>\\/)?(?<subpath>ipfs\\/|ipns\\/)?(?<target>[\\w\\-.]+)(?<subtarget>\\/.*)?/;\nconst ipfsHashRegex = /^(Qm[1-9A-HJ-NP-Za-km-z]{44,}|b[A-Za-z2-7]{58,}|B[A-Z2-7]{58,}|z[1-9A-HJ-NP-Za-km-z]{48,}|F[0-9A-F]{50,})(\\/(?<target>[\\w\\-.]+))?(?<subtarget>\\/.*)?$/;\nconst base64Regex = /^data:([a-zA-Z\\-/+]*);base64,([^\"].*)/;\nconst dataURIRegex = /^data:([a-zA-Z\\-/+]*)?(;[a-zA-Z0-9].*?)?(,)/;\nasync function isImageUri(uri) {\n try {\n const res = await fetch(uri, { method: 'HEAD' });\n // retrieve content type header to check if content is image\n if (res.status === 200) {\n const contentType = res.headers.get('content-type');\n return contentType?.startsWith('image/');\n }\n return false;\n }\n catch (error) {\n // if error is not cors related then fail\n if (typeof error === 'object' && typeof error.response !== 'undefined') {\n return false;\n }\n // fail in NodeJS, since the error is not cors but any other network issue\n // biome-ignore lint/suspicious/noPrototypeBuiltins:\n if (!globalThis.hasOwnProperty('Image'))\n return false;\n // in case of cors, use image api to validate if given url is an actual image\n return new Promise((resolve) => {\n const img = new Image();\n img.onload = () => {\n resolve(true);\n };\n img.onerror = () => {\n resolve(false);\n };\n img.src = uri;\n });\n }\n}\nfunction getGateway(custom, defaultGateway) {\n if (!custom)\n return defaultGateway;\n if (custom.endsWith('/'))\n return custom.slice(0, -1);\n return custom;\n}\nfunction resolveAvatarUri({ uri, gatewayUrls, }) {\n const isEncoded = base64Regex.test(uri);\n if (isEncoded)\n return { uri, isOnChain: true, isEncoded };\n const ipfsGateway = getGateway(gatewayUrls?.ipfs, 'https://ipfs.io');\n const arweaveGateway = getGateway(gatewayUrls?.arweave, 'https://arweave.net');\n const networkRegexMatch = uri.match(networkRegex);\n const { protocol, subpath, target, subtarget = '', } = networkRegexMatch?.groups || {};\n const isIPNS = protocol === 'ipns:/' || subpath === 'ipns/';\n const isIPFS = protocol === 'ipfs:/' || subpath === 'ipfs/' || ipfsHashRegex.test(uri);\n if (uri.startsWith('http') && !isIPNS && !isIPFS) {\n let replacedUri = uri;\n if (gatewayUrls?.arweave)\n replacedUri = uri.replace(/https:\\/\\/arweave.net/g, gatewayUrls?.arweave);\n return { uri: replacedUri, isOnChain: false, isEncoded: false };\n }\n if ((isIPNS || isIPFS) && target) {\n return {\n uri: `${ipfsGateway}/${isIPNS ? 'ipns' : 'ipfs'}/${target}${subtarget}`,\n isOnChain: false,
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/utils/ens/encodeLabelhash.js":
|
|||
|
/*!*************************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/utils/ens/encodeLabelhash.js ***!
|
|||
|
\*************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ encodeLabelhash: () => (/* binding */ encodeLabelhash)\n/* harmony export */ });\nfunction encodeLabelhash(hash) {\n return `[${hash.slice(2)}]`;\n}\n//# sourceMappingURL=encodeLabelhash.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/ens/encodeLabelhash.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/utils/ens/encodedLabelToLabelhash.js":
|
|||
|
/*!*********************************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/utils/ens/encodedLabelToLabelhash.js ***!
|
|||
|
\*********************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ encodedLabelToLabelhash: () => (/* binding */ encodedLabelToLabelhash)\n/* harmony export */ });\n/* harmony import */ var _data_isHex_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../data/isHex.js */ \"./node_modules/viem/_esm/utils/data/isHex.js\");\n\nfunction encodedLabelToLabelhash(label) {\n if (label.length !== 66)\n return null;\n if (label.indexOf('[') !== 0)\n return null;\n if (label.indexOf(']') !== 65)\n return null;\n const hash = `0x${label.slice(1, 65)}`;\n if (!(0,_data_isHex_js__WEBPACK_IMPORTED_MODULE_0__.isHex)(hash))\n return null;\n return hash;\n}\n//# sourceMappingURL=encodedLabelToLabelhash.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/ens/encodedLabelToLabelhash.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/utils/ens/errors.js":
|
|||
|
/*!****************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/utils/ens/errors.js ***!
|
|||
|
\****************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ isNullUniversalResolverError: () => (/* binding */ isNullUniversalResolverError)\n/* harmony export */ });\n/* harmony import */ var _constants_solidity_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../constants/solidity.js */ \"./node_modules/viem/_esm/constants/solidity.js\");\n/* harmony import */ var _errors_base_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../errors/base.js */ \"./node_modules/viem/_esm/errors/base.js\");\n/* harmony import */ var _errors_contract_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../errors/contract.js */ \"./node_modules/viem/_esm/errors/contract.js\");\n\n\n\n/*\n * @description Checks if error is a valid null result UniversalResolver error\n */\nfunction isNullUniversalResolverError(err, callType) {\n if (!(err instanceof _errors_base_js__WEBPACK_IMPORTED_MODULE_0__.BaseError))\n return false;\n const cause = err.walk((e) => e instanceof _errors_contract_js__WEBPACK_IMPORTED_MODULE_1__.ContractFunctionRevertedError);\n if (!(cause instanceof _errors_contract_js__WEBPACK_IMPORTED_MODULE_1__.ContractFunctionRevertedError))\n return false;\n if (cause.data?.errorName === 'ResolverNotFound')\n return true;\n if (cause.data?.errorName === 'ResolverWildcardNotSupported')\n return true;\n // Backwards compatibility for older UniversalResolver contracts\n if (cause.reason?.includes('Wildcard on non-extended resolvers is not supported'))\n return true;\n // No primary name set for address.\n if (callType === 'reverse' && cause.reason === _constants_solidity_js__WEBPACK_IMPORTED_MODULE_2__.panicReasons[50])\n return true;\n return false;\n}\n//# sourceMappingURL=errors.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/ens/errors.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/utils/ens/labelhash.js":
|
|||
|
/*!*******************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/utils/ens/labelhash.js ***!
|
|||
|
\*******************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ labelhash: () => (/* binding */ labelhash)\n/* harmony export */ });\n/* harmony import */ var _encoding_toBytes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../encoding/toBytes.js */ \"./node_modules/viem/_esm/utils/encoding/toBytes.js\");\n/* harmony import */ var _encoding_toHex_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../encoding/toHex.js */ \"./node_modules/viem/_esm/utils/encoding/toHex.js\");\n/* harmony import */ var _hash_keccak256_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../hash/keccak256.js */ \"./node_modules/viem/_esm/utils/hash/keccak256.js\");\n/* harmony import */ var _encodedLabelToLabelhash_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./encodedLabelToLabelhash.js */ \"./node_modules/viem/_esm/utils/ens/encodedLabelToLabelhash.js\");\n\n\n\n\n/**\n * @description Hashes ENS label\n *\n * - Since ENS labels prohibit certain forbidden characters (e.g. underscore) and have other validation rules, you likely want to [normalize ENS labels](https://docs.ens.domains/contract-api-reference/name-processing#normalising-names) with [UTS-46 normalization](https://unicode.org/reports/tr46) before passing them to `labelhash`. You can use the built-in [`normalize`](https://viem.sh/docs/ens/utilities/normalize.html) function for this.\n *\n * @example\n * labelhash('eth')\n * '0x4f5b812789fc606be1b3b16908db13fc7a9adf7ca72641f84d75b47069d3d7f0'\n */\nfunction labelhash(label) {\n const result = new Uint8Array(32).fill(0);\n if (!label)\n return (0,_encoding_toHex_js__WEBPACK_IMPORTED_MODULE_0__.bytesToHex)(result);\n return (0,_encodedLabelToLabelhash_js__WEBPACK_IMPORTED_MODULE_1__.encodedLabelToLabelhash)(label) || (0,_hash_keccak256_js__WEBPACK_IMPORTED_MODULE_2__.keccak256)((0,_encoding_toBytes_js__WEBPACK_IMPORTED_MODULE_3__.stringToBytes)(label));\n}\n//# sourceMappingURL=labelhash.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/ens/labelhash.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/utils/ens/namehash.js":
|
|||
|
/*!******************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/utils/ens/namehash.js ***!
|
|||
|
\******************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ namehash: () => (/* binding */ namehash)\n/* harmony export */ });\n/* harmony import */ var _data_concat_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../data/concat.js */ \"./node_modules/viem/_esm/utils/data/concat.js\");\n/* harmony import */ var _encoding_toBytes_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../encoding/toBytes.js */ \"./node_modules/viem/_esm/utils/encoding/toBytes.js\");\n/* harmony import */ var _encoding_toHex_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../encoding/toHex.js */ \"./node_modules/viem/_esm/utils/encoding/toHex.js\");\n/* harmony import */ var _hash_keccak256_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../hash/keccak256.js */ \"./node_modules/viem/_esm/utils/hash/keccak256.js\");\n/* harmony import */ var _encodedLabelToLabelhash_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./encodedLabelToLabelhash.js */ \"./node_modules/viem/_esm/utils/ens/encodedLabelToLabelhash.js\");\n\n\n\n\n\n/**\n * @description Hashes ENS name\n *\n * - Since ENS names prohibit certain forbidden characters (e.g. underscore) and have other validation rules, you likely want to [normalize ENS names](https://docs.ens.domains/contract-api-reference/name-processing#normalising-names) with [UTS-46 normalization](https://unicode.org/reports/tr46) before passing them to `namehash`. You can use the built-in [`normalize`](https://viem.sh/docs/ens/utilities/normalize.html) function for this.\n *\n * @example\n * namehash('wevm.eth')\n * '0xf246651c1b9a6b141d19c2604e9a58f567973833990f830d882534a747801359'\n *\n * @link https://eips.ethereum.org/EIPS/eip-137\n */\nfunction namehash(name) {\n let result = new Uint8Array(32).fill(0);\n if (!name)\n return (0,_encoding_toHex_js__WEBPACK_IMPORTED_MODULE_0__.bytesToHex)(result);\n const labels = name.split('.');\n // Iterate in reverse order building up hash\n for (let i = labels.length - 1; i >= 0; i -= 1) {\n const hashFromEncodedLabel = (0,_encodedLabelToLabelhash_js__WEBPACK_IMPORTED_MODULE_1__.encodedLabelToLabelhash)(labels[i]);\n const hashed = hashFromEncodedLabel\n ? (0,_encoding_toBytes_js__WEBPACK_IMPORTED_MODULE_2__.toBytes)(hashFromEncodedLabel)\n : (0,_hash_keccak256_js__WEBPACK_IMPORTED_MODULE_3__.keccak256)((0,_encoding_toBytes_js__WEBPACK_IMPORTED_MODULE_2__.stringToBytes)(labels[i]), 'bytes');\n result = (0,_hash_keccak256_js__WEBPACK_IMPORTED_MODULE_3__.keccak256)((0,_data_concat_js__WEBPACK_IMPORTED_MODULE_4__.concat)([result, hashed]), 'bytes');\n }\n return (0,_encoding_toHex_js__WEBPACK_IMPORTED_MODULE_0__.bytesToHex)(result);\n}\n//# sourceMappingURL=namehash.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/ens/namehash.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/utils/ens/packetToBytes.js":
|
|||
|
/*!***********************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/utils/ens/packetToBytes.js ***!
|
|||
|
\***********************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ packetToBytes: () => (/* binding */ packetToBytes)\n/* harmony export */ });\n/* harmony import */ var _encoding_toBytes_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../encoding/toBytes.js */ \"./node_modules/viem/_esm/utils/encoding/toBytes.js\");\n/* harmony import */ var _encodeLabelhash_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./encodeLabelhash.js */ \"./node_modules/viem/_esm/utils/ens/encodeLabelhash.js\");\n/* harmony import */ var _labelhash_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./labelhash.js */ \"./node_modules/viem/_esm/utils/ens/labelhash.js\");\n\n\n\n/*\n * @description Encodes a DNS packet into a ByteArray containing a UDP payload.\n */\nfunction packetToBytes(packet) {\n // strip leading and trailing `.`\n const value = packet.replace(/^\\.|\\.$/gm, '');\n if (value.length === 0)\n return new Uint8Array(1);\n const bytes = new Uint8Array((0,_encoding_toBytes_js__WEBPACK_IMPORTED_MODULE_0__.stringToBytes)(value).byteLength + 2);\n let offset = 0;\n const list = value.split('.');\n for (let i = 0; i < list.length; i++) {\n let encoded = (0,_encoding_toBytes_js__WEBPACK_IMPORTED_MODULE_0__.stringToBytes)(list[i]);\n // if the length is > 255, make the encoded label value a labelhash\n // this is compatible with the universal resolver\n if (encoded.byteLength > 255)\n encoded = (0,_encoding_toBytes_js__WEBPACK_IMPORTED_MODULE_0__.stringToBytes)((0,_encodeLabelhash_js__WEBPACK_IMPORTED_MODULE_1__.encodeLabelhash)((0,_labelhash_js__WEBPACK_IMPORTED_MODULE_2__.labelhash)(list[i])));\n bytes[offset] = encoded.length;\n bytes.set(encoded, offset + 1);\n offset += encoded.length + 1;\n }\n if (bytes.byteLength !== offset + 1)\n return bytes.slice(0, offset + 1);\n return bytes;\n}\n//# sourceMappingURL=packetToBytes.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/ens/packetToBytes.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/utils/errors/getCallError.js":
|
|||
|
/*!*************************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/utils/errors/getCallError.js ***!
|
|||
|
\*************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ getCallError: () => (/* binding */ getCallError)\n/* harmony export */ });\n/* harmony import */ var _errors_contract_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../errors/contract.js */ \"./node_modules/viem/_esm/errors/contract.js\");\n/* harmony import */ var _errors_node_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../errors/node.js */ \"./node_modules/viem/_esm/errors/node.js\");\n/* harmony import */ var _getNodeError_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./getNodeError.js */ \"./node_modules/viem/_esm/utils/errors/getNodeError.js\");\n\n\n\nfunction getCallError(err, { docsPath, ...args }) {\n const cause = (() => {\n const cause = (0,_getNodeError_js__WEBPACK_IMPORTED_MODULE_0__.getNodeError)(err, args);\n if (cause instanceof _errors_node_js__WEBPACK_IMPORTED_MODULE_1__.UnknownNodeError)\n return err;\n return cause;\n })();\n return new _errors_contract_js__WEBPACK_IMPORTED_MODULE_2__.CallExecutionError(cause, {\n docsPath,\n ...args,\n });\n}\n//# sourceMappingURL=getCallError.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/errors/getCallError.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/utils/errors/getContractError.js":
|
|||
|
/*!*****************************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/utils/errors/getContractError.js ***!
|
|||
|
\*****************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ getContractError: () => (/* binding */ getContractError)\n/* harmony export */ });\n/* harmony import */ var _errors_abi_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../errors/abi.js */ \"./node_modules/viem/_esm/errors/abi.js\");\n/* harmony import */ var _errors_base_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../errors/base.js */ \"./node_modules/viem/_esm/errors/base.js\");\n/* harmony import */ var _errors_contract_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../errors/contract.js */ \"./node_modules/viem/_esm/errors/contract.js\");\n/* harmony import */ var _errors_rpc_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../errors/rpc.js */ \"./node_modules/viem/_esm/errors/rpc.js\");\n\n\n\n\nconst EXECUTION_REVERTED_ERROR_CODE = 3;\nfunction getContractError(err, { abi, address, args, docsPath, functionName, sender, }) {\n const { code, data, message, shortMessage } = (err instanceof _errors_contract_js__WEBPACK_IMPORTED_MODULE_0__.RawContractError\n ? err\n : err instanceof _errors_base_js__WEBPACK_IMPORTED_MODULE_1__.BaseError\n ? err.walk((err) => 'data' in err) || err.walk()\n : {});\n const cause = (() => {\n if (err instanceof _errors_abi_js__WEBPACK_IMPORTED_MODULE_2__.AbiDecodingZeroDataError)\n return new _errors_contract_js__WEBPACK_IMPORTED_MODULE_0__.ContractFunctionZeroDataError({ functionName });\n if ([EXECUTION_REVERTED_ERROR_CODE, _errors_rpc_js__WEBPACK_IMPORTED_MODULE_3__.InternalRpcError.code].includes(code) &&\n (data || message || shortMessage)) {\n return new _errors_contract_js__WEBPACK_IMPORTED_MODULE_0__.ContractFunctionRevertedError({\n abi,\n data: typeof data === 'object' ? data.data : data,\n functionName,\n message: shortMessage ?? message,\n });\n }\n return err;\n })();\n return new _errors_contract_js__WEBPACK_IMPORTED_MODULE_0__.ContractFunctionExecutionError(cause, {\n abi,\n args,\n contractAddress: address,\n docsPath,\n functionName,\n sender,\n });\n}\n//# sourceMappingURL=getContractError.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/errors/getContractError.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/utils/errors/getEstimateGasError.js":
|
|||
|
/*!********************************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/utils/errors/getEstimateGasError.js ***!
|
|||
|
\********************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ getEstimateGasError: () => (/* binding */ getEstimateGasError)\n/* harmony export */ });\n/* harmony import */ var _errors_estimateGas_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../errors/estimateGas.js */ \"./node_modules/viem/_esm/errors/estimateGas.js\");\n/* harmony import */ var _errors_node_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../errors/node.js */ \"./node_modules/viem/_esm/errors/node.js\");\n/* harmony import */ var _getNodeError_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./getNodeError.js */ \"./node_modules/viem/_esm/utils/errors/getNodeError.js\");\n\n\n\nfunction getEstimateGasError(err, { docsPath, ...args }) {\n const cause = (() => {\n const cause = (0,_getNodeError_js__WEBPACK_IMPORTED_MODULE_0__.getNodeError)(err, args);\n if (cause instanceof _errors_node_js__WEBPACK_IMPORTED_MODULE_1__.UnknownNodeError)\n return err;\n return cause;\n })();\n return new _errors_estimateGas_js__WEBPACK_IMPORTED_MODULE_2__.EstimateGasExecutionError(cause, {\n docsPath,\n ...args,\n });\n}\n//# sourceMappingURL=getEstimateGasError.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/errors/getEstimateGasError.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/utils/errors/getNodeError.js":
|
|||
|
/*!*************************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/utils/errors/getNodeError.js ***!
|
|||
|
\*************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ containsNodeError: () => (/* binding */ containsNodeError),\n/* harmony export */ getNodeError: () => (/* binding */ getNodeError)\n/* harmony export */ });\n/* harmony import */ var _errors_base_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../errors/base.js */ \"./node_modules/viem/_esm/errors/base.js\");\n/* harmony import */ var _errors_node_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../errors/node.js */ \"./node_modules/viem/_esm/errors/node.js\");\n/* harmony import */ var _errors_request_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../errors/request.js */ \"./node_modules/viem/_esm/errors/request.js\");\n/* harmony import */ var _errors_rpc_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../errors/rpc.js */ \"./node_modules/viem/_esm/errors/rpc.js\");\n\n\n\n\nfunction containsNodeError(err) {\n return (err instanceof _errors_rpc_js__WEBPACK_IMPORTED_MODULE_0__.TransactionRejectedRpcError ||\n err instanceof _errors_rpc_js__WEBPACK_IMPORTED_MODULE_0__.InvalidInputRpcError ||\n (err instanceof _errors_request_js__WEBPACK_IMPORTED_MODULE_1__.RpcRequestError && err.code === _errors_node_js__WEBPACK_IMPORTED_MODULE_2__.ExecutionRevertedError.code));\n}\nfunction getNodeError(err, args) {\n const message = (err.details || '').toLowerCase();\n const executionRevertedError = err.walk((e) => e.code === _errors_node_js__WEBPACK_IMPORTED_MODULE_2__.ExecutionRevertedError.code);\n if (executionRevertedError instanceof _errors_base_js__WEBPACK_IMPORTED_MODULE_3__.BaseError) {\n return new _errors_node_js__WEBPACK_IMPORTED_MODULE_2__.ExecutionRevertedError({\n cause: err,\n message: executionRevertedError.details,\n });\n }\n if (_errors_node_js__WEBPACK_IMPORTED_MODULE_2__.ExecutionRevertedError.nodeMessage.test(message))\n return new _errors_node_js__WEBPACK_IMPORTED_MODULE_2__.ExecutionRevertedError({\n cause: err,\n message: err.details,\n });\n if (_errors_node_js__WEBPACK_IMPORTED_MODULE_2__.FeeCapTooHighError.nodeMessage.test(message))\n return new _errors_node_js__WEBPACK_IMPORTED_MODULE_2__.FeeCapTooHighError({\n cause: err,\n maxFeePerGas: args?.maxFeePerGas,\n });\n if (_errors_node_js__WEBPACK_IMPORTED_MODULE_2__.FeeCapTooLowError.nodeMessage.test(message))\n return new _errors_node_js__WEBPACK_IMPORTED_MODULE_2__.FeeCapTooLowError({\n cause: err,\n maxFeePerGas: args?.maxFeePerGas,\n });\n if (_errors_node_js__WEBPACK_IMPORTED_MODULE_2__.NonceTooHighError.nodeMessage.test(message))\n return new _errors_node_js__WEBPACK_IMPORTED_MODULE_2__.NonceTooHighError({ cause: err, nonce: args?.nonce });\n if (_errors_node_js__WEBPACK_IMPORTED_MODULE_2__.NonceTooLowError.nodeMessage.test(message))\n return new _errors_node_js__WEBPACK_IMPORTED_MODULE_2__.NonceTooLowError({ cause: err, nonce: args?.nonce });\n if (_errors_node_js__WEBPACK_IMPORTED_MODULE_2__.NonceMaxValueError.nodeMessage.test(message))\n return new _errors_node_js__WEBPACK_IMPORTED_MODULE_2__.NonceMaxValueError({ cause: err, nonce: args?.nonce });\n if (_errors_node_js__WEBPACK_IMPORTED_MODULE_2__.InsufficientFundsError.nodeMessage.test(message))\n return new _errors_node_js__WEBPACK_IMPORTED_MODULE_2__.InsufficientFundsError({ cause: err });\n if (_errors_node_js__WEBPACK_IMPORTED_MODULE_2__.IntrinsicGasTooHighError.nodeMessage.test(message))\n return new _errors_node_js__WEBPACK_IMPORTED_MODULE_2__.IntrinsicGasTooHighError({ cause: err, gas: args?.gas });\n if (_errors_node_js__WEBPACK_IMPORTED_MODULE_2__.IntrinsicGasTooLowError.nodeMessage.test(message))\n return new _errors_node_js__WEBPACK_IMPORTED_MODULE_2__.IntrinsicGasTooLowError({ cause: err, gas: args?.gas });\n if (_errors_node_js__WEBPACK_IMPORTED_MODULE_
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/utils/errors/getTransactionError.js":
|
|||
|
/*!********************************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/utils/errors/getTransactionError.js ***!
|
|||
|
\********************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ getTransactionError: () => (/* binding */ getTransactionError)\n/* harmony export */ });\n/* harmony import */ var _errors_node_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../errors/node.js */ \"./node_modules/viem/_esm/errors/node.js\");\n/* harmony import */ var _errors_transaction_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../errors/transaction.js */ \"./node_modules/viem/_esm/errors/transaction.js\");\n/* harmony import */ var _getNodeError_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./getNodeError.js */ \"./node_modules/viem/_esm/utils/errors/getNodeError.js\");\n\n\n\nfunction getTransactionError(err, { docsPath, ...args }) {\n const cause = (() => {\n const cause = (0,_getNodeError_js__WEBPACK_IMPORTED_MODULE_0__.getNodeError)(err, args);\n if (cause instanceof _errors_node_js__WEBPACK_IMPORTED_MODULE_1__.UnknownNodeError)\n return err;\n return cause;\n })();\n return new _errors_transaction_js__WEBPACK_IMPORTED_MODULE_2__.TransactionExecutionError(cause, {\n docsPath,\n ...args,\n });\n}\n//# sourceMappingURL=getTransactionError.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/errors/getTransactionError.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/utils/filters/createFilterRequestScope.js":
|
|||
|
/*!**************************************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/utils/filters/createFilterRequestScope.js ***!
|
|||
|
\**************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ createFilterRequestScope: () => (/* binding */ createFilterRequestScope)\n/* harmony export */ });\n/**\n * Scopes `request` to the filter ID. If the client is a fallback, it will\n * listen for responses and scope the child transport `request` function\n * to the successful filter ID.\n */\nfunction createFilterRequestScope(client, { method }) {\n const requestMap = {};\n if (client.transport.type === 'fallback')\n client.transport.onResponse?.(({ method: method_, response: id, status, transport, }) => {\n if (status === 'success' && method === method_)\n requestMap[id] = transport.request;\n });\n return ((id) => requestMap[id] || client.request);\n}\n//# sourceMappingURL=createFilterRequestScope.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/filters/createFilterRequestScope.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/utils/formatters/block.js":
|
|||
|
/*!**********************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/utils/formatters/block.js ***!
|
|||
|
\**********************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ defineBlock: () => (/* binding */ defineBlock),\n/* harmony export */ formatBlock: () => (/* binding */ formatBlock)\n/* harmony export */ });\n/* harmony import */ var _formatter_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./formatter.js */ \"./node_modules/viem/_esm/utils/formatters/formatter.js\");\n/* harmony import */ var _transaction_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./transaction.js */ \"./node_modules/viem/_esm/utils/formatters/transaction.js\");\n\n\nfunction formatBlock(block) {\n const transactions = block.transactions?.map((transaction) => {\n if (typeof transaction === 'string')\n return transaction;\n return (0,_transaction_js__WEBPACK_IMPORTED_MODULE_0__.formatTransaction)(transaction);\n });\n return {\n ...block,\n baseFeePerGas: block.baseFeePerGas ? BigInt(block.baseFeePerGas) : null,\n difficulty: block.difficulty ? BigInt(block.difficulty) : undefined,\n gasLimit: block.gasLimit ? BigInt(block.gasLimit) : undefined,\n gasUsed: block.gasUsed ? BigInt(block.gasUsed) : undefined,\n hash: block.hash ? block.hash : null,\n logsBloom: block.logsBloom ? block.logsBloom : null,\n nonce: block.nonce ? block.nonce : null,\n number: block.number ? BigInt(block.number) : null,\n size: block.size ? BigInt(block.size) : undefined,\n timestamp: block.timestamp ? BigInt(block.timestamp) : undefined,\n transactions,\n totalDifficulty: block.totalDifficulty\n ? BigInt(block.totalDifficulty)\n : null,\n };\n}\nconst defineBlock = /*#__PURE__*/ (0,_formatter_js__WEBPACK_IMPORTED_MODULE_1__.defineFormatter)('block', formatBlock);\n//# sourceMappingURL=block.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/formatters/block.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/utils/formatters/extract.js":
|
|||
|
/*!************************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/utils/formatters/extract.js ***!
|
|||
|
\************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ extract: () => (/* binding */ extract)\n/* harmony export */ });\n/**\n * @description Picks out the keys from `value` that exist in the formatter..\n */\nfunction extract(value_, { format }) {\n if (!format)\n return {};\n const value = {};\n function extract_(formatted) {\n const keys = Object.keys(formatted);\n for (const key of keys) {\n if (key in value_)\n value[key] = value_[key];\n if (formatted[key] &&\n typeof formatted[key] === 'object' &&\n !Array.isArray(formatted[key]))\n extract_(formatted[key]);\n }\n }\n const formatted = format(value_ || {});\n extract_(formatted);\n return value;\n}\n//# sourceMappingURL=extract.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/formatters/extract.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/utils/formatters/feeHistory.js":
|
|||
|
/*!***************************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/utils/formatters/feeHistory.js ***!
|
|||
|
\***************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ formatFeeHistory: () => (/* binding */ formatFeeHistory)\n/* harmony export */ });\nfunction formatFeeHistory(feeHistory) {\n return {\n baseFeePerGas: feeHistory.baseFeePerGas.map((value) => BigInt(value)),\n gasUsedRatio: feeHistory.gasUsedRatio,\n oldestBlock: BigInt(feeHistory.oldestBlock),\n reward: feeHistory.reward?.map((reward) => reward.map((value) => BigInt(value))),\n };\n}\n//# sourceMappingURL=feeHistory.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/formatters/feeHistory.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/utils/formatters/formatter.js":
|
|||
|
/*!**************************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/utils/formatters/formatter.js ***!
|
|||
|
\**************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ defineFormatter: () => (/* binding */ defineFormatter)\n/* harmony export */ });\nfunction defineFormatter(type, format) {\n return ({ exclude, format: overrides, }) => {\n return {\n exclude,\n format: (args) => {\n const formatted = format(args);\n if (exclude) {\n for (const key of exclude) {\n delete formatted[key];\n }\n }\n return {\n ...formatted,\n ...overrides(args),\n };\n },\n type,\n };\n };\n}\n//# sourceMappingURL=formatter.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/formatters/formatter.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/utils/formatters/log.js":
|
|||
|
/*!********************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/utils/formatters/log.js ***!
|
|||
|
\********************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ formatLog: () => (/* binding */ formatLog)\n/* harmony export */ });\nfunction formatLog(log, { args, eventName } = {}) {\n return {\n ...log,\n blockHash: log.blockHash ? log.blockHash : null,\n blockNumber: log.blockNumber ? BigInt(log.blockNumber) : null,\n logIndex: log.logIndex ? Number(log.logIndex) : null,\n transactionHash: log.transactionHash ? log.transactionHash : null,\n transactionIndex: log.transactionIndex\n ? Number(log.transactionIndex)\n : null,\n ...(eventName ? { args, eventName } : {}),\n };\n}\n//# sourceMappingURL=log.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/formatters/log.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/utils/formatters/proof.js":
|
|||
|
/*!**********************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/utils/formatters/proof.js ***!
|
|||
|
\**********************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ formatProof: () => (/* binding */ formatProof)\n/* harmony export */ });\n/* harmony import */ var _index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../index.js */ \"./node_modules/viem/_esm/utils/encoding/fromHex.js\");\n\nfunction formatStorageProof(storageProof) {\n return storageProof.map((proof) => ({\n ...proof,\n value: BigInt(proof.value),\n }));\n}\nfunction formatProof(proof) {\n return {\n ...proof,\n balance: proof.balance ? BigInt(proof.balance) : undefined,\n nonce: proof.nonce ? (0,_index_js__WEBPACK_IMPORTED_MODULE_0__.hexToNumber)(proof.nonce) : undefined,\n storageProof: proof.storageProof\n ? formatStorageProof(proof.storageProof)\n : undefined,\n };\n}\n//# sourceMappingURL=proof.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/formatters/proof.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/utils/formatters/transaction.js":
|
|||
|
/*!****************************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/utils/formatters/transaction.js ***!
|
|||
|
\****************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ defineTransaction: () => (/* binding */ defineTransaction),\n/* harmony export */ formatTransaction: () => (/* binding */ formatTransaction),\n/* harmony export */ transactionType: () => (/* binding */ transactionType)\n/* harmony export */ });\n/* harmony import */ var _encoding_fromHex_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../encoding/fromHex.js */ \"./node_modules/viem/_esm/utils/encoding/fromHex.js\");\n/* harmony import */ var _formatter_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./formatter.js */ \"./node_modules/viem/_esm/utils/formatters/formatter.js\");\n\n\nconst transactionType = {\n '0x0': 'legacy',\n '0x1': 'eip2930',\n '0x2': 'eip1559',\n};\nfunction formatTransaction(transaction) {\n const transaction_ = {\n ...transaction,\n blockHash: transaction.blockHash ? transaction.blockHash : null,\n blockNumber: transaction.blockNumber\n ? BigInt(transaction.blockNumber)\n : null,\n chainId: transaction.chainId ? (0,_encoding_fromHex_js__WEBPACK_IMPORTED_MODULE_0__.hexToNumber)(transaction.chainId) : undefined,\n gas: transaction.gas ? BigInt(transaction.gas) : undefined,\n gasPrice: transaction.gasPrice ? BigInt(transaction.gasPrice) : undefined,\n maxFeePerGas: transaction.maxFeePerGas\n ? BigInt(transaction.maxFeePerGas)\n : undefined,\n maxPriorityFeePerGas: transaction.maxPriorityFeePerGas\n ? BigInt(transaction.maxPriorityFeePerGas)\n : undefined,\n nonce: transaction.nonce ? (0,_encoding_fromHex_js__WEBPACK_IMPORTED_MODULE_0__.hexToNumber)(transaction.nonce) : undefined,\n to: transaction.to ? transaction.to : null,\n transactionIndex: transaction.transactionIndex\n ? Number(transaction.transactionIndex)\n : null,\n type: transaction.type ? transactionType[transaction.type] : undefined,\n typeHex: transaction.type ? transaction.type : undefined,\n value: transaction.value ? BigInt(transaction.value) : undefined,\n v: transaction.v ? BigInt(transaction.v) : undefined,\n };\n transaction_.yParity = (() => {\n // If `yParity` is provided, we will use it.\n if (transaction.yParity)\n return Number(transaction.yParity);\n // If no `yParity` provided, try derive from `v`.\n if (typeof transaction_.v === 'bigint') {\n if (transaction_.v === 0n || transaction_.v === 27n)\n return 0;\n if (transaction_.v === 1n || transaction_.v === 28n)\n return 1;\n if (transaction_.v >= 35n)\n return transaction_.v % 2n === 0n ? 1 : 0;\n }\n return undefined;\n })();\n if (transaction_.type === 'legacy') {\n delete transaction_.accessList;\n delete transaction_.maxFeePerGas;\n delete transaction_.maxPriorityFeePerGas;\n delete transaction_.yParity;\n }\n if (transaction_.type === 'eip2930') {\n delete transaction_.maxFeePerGas;\n delete transaction_.maxPriorityFeePerGas;\n }\n return transaction_;\n}\nconst defineTransaction = /*#__PURE__*/ (0,_formatter_js__WEBPACK_IMPORTED_MODULE_1__.defineFormatter)('transaction', formatTransaction);\n//# sourceMappingURL=transaction.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/formatters/transaction.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/utils/formatters/transactionReceipt.js":
|
|||
|
/*!***********************************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/utils/formatters/transactionReceipt.js ***!
|
|||
|
\***********************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ defineTransactionReceipt: () => (/* binding */ defineTransactionReceipt),\n/* harmony export */ formatTransactionReceipt: () => (/* binding */ formatTransactionReceipt)\n/* harmony export */ });\n/* harmony import */ var _encoding_fromHex_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../encoding/fromHex.js */ \"./node_modules/viem/_esm/utils/encoding/fromHex.js\");\n/* harmony import */ var _formatter_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./formatter.js */ \"./node_modules/viem/_esm/utils/formatters/formatter.js\");\n/* harmony import */ var _log_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./log.js */ \"./node_modules/viem/_esm/utils/formatters/log.js\");\n/* harmony import */ var _transaction_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./transaction.js */ \"./node_modules/viem/_esm/utils/formatters/transaction.js\");\n\n\n\n\nconst statuses = {\n '0x0': 'reverted',\n '0x1': 'success',\n};\nfunction formatTransactionReceipt(transactionReceipt) {\n return {\n ...transactionReceipt,\n blockNumber: transactionReceipt.blockNumber\n ? BigInt(transactionReceipt.blockNumber)\n : null,\n contractAddress: transactionReceipt.contractAddress\n ? transactionReceipt.contractAddress\n : null,\n cumulativeGasUsed: transactionReceipt.cumulativeGasUsed\n ? BigInt(transactionReceipt.cumulativeGasUsed)\n : null,\n effectiveGasPrice: transactionReceipt.effectiveGasPrice\n ? BigInt(transactionReceipt.effectiveGasPrice)\n : null,\n gasUsed: transactionReceipt.gasUsed\n ? BigInt(transactionReceipt.gasUsed)\n : null,\n logs: transactionReceipt.logs\n ? transactionReceipt.logs.map((log) => (0,_log_js__WEBPACK_IMPORTED_MODULE_0__.formatLog)(log))\n : null,\n to: transactionReceipt.to ? transactionReceipt.to : null,\n transactionIndex: transactionReceipt.transactionIndex\n ? (0,_encoding_fromHex_js__WEBPACK_IMPORTED_MODULE_1__.hexToNumber)(transactionReceipt.transactionIndex)\n : null,\n status: transactionReceipt.status\n ? statuses[transactionReceipt.status]\n : null,\n type: transactionReceipt.type\n ? _transaction_js__WEBPACK_IMPORTED_MODULE_2__.transactionType[transactionReceipt.type] || transactionReceipt.type\n : null,\n };\n}\nconst defineTransactionReceipt = /*#__PURE__*/ (0,_formatter_js__WEBPACK_IMPORTED_MODULE_3__.defineFormatter)('transactionReceipt', formatTransactionReceipt);\n//# sourceMappingURL=transactionReceipt.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/formatters/transactionReceipt.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/utils/formatters/transactionRequest.js":
|
|||
|
/*!***********************************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/utils/formatters/transactionRequest.js ***!
|
|||
|
\***********************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ defineTransactionRequest: () => (/* binding */ defineTransactionRequest),\n/* harmony export */ formatTransactionRequest: () => (/* binding */ formatTransactionRequest),\n/* harmony export */ rpcTransactionType: () => (/* binding */ rpcTransactionType)\n/* harmony export */ });\n/* harmony import */ var _encoding_toHex_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../encoding/toHex.js */ \"./node_modules/viem/_esm/utils/encoding/toHex.js\");\n/* harmony import */ var _formatter_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./formatter.js */ \"./node_modules/viem/_esm/utils/formatters/formatter.js\");\n\n\nconst rpcTransactionType = {\n legacy: '0x0',\n eip2930: '0x1',\n eip1559: '0x2',\n};\nfunction formatTransactionRequest(transactionRequest) {\n return {\n ...transactionRequest,\n gas: typeof transactionRequest.gas !== 'undefined'\n ? (0,_encoding_toHex_js__WEBPACK_IMPORTED_MODULE_0__.numberToHex)(transactionRequest.gas)\n : undefined,\n gasPrice: typeof transactionRequest.gasPrice !== 'undefined'\n ? (0,_encoding_toHex_js__WEBPACK_IMPORTED_MODULE_0__.numberToHex)(transactionRequest.gasPrice)\n : undefined,\n maxFeePerGas: typeof transactionRequest.maxFeePerGas !== 'undefined'\n ? (0,_encoding_toHex_js__WEBPACK_IMPORTED_MODULE_0__.numberToHex)(transactionRequest.maxFeePerGas)\n : undefined,\n maxPriorityFeePerGas: typeof transactionRequest.maxPriorityFeePerGas !== 'undefined'\n ? (0,_encoding_toHex_js__WEBPACK_IMPORTED_MODULE_0__.numberToHex)(transactionRequest.maxPriorityFeePerGas)\n : undefined,\n nonce: typeof transactionRequest.nonce !== 'undefined'\n ? (0,_encoding_toHex_js__WEBPACK_IMPORTED_MODULE_0__.numberToHex)(transactionRequest.nonce)\n : undefined,\n type: typeof transactionRequest.type !== 'undefined'\n ? rpcTransactionType[transactionRequest.type]\n : undefined,\n value: typeof transactionRequest.value !== 'undefined'\n ? (0,_encoding_toHex_js__WEBPACK_IMPORTED_MODULE_0__.numberToHex)(transactionRequest.value)\n : undefined,\n };\n}\nconst defineTransactionRequest = /*#__PURE__*/ (0,_formatter_js__WEBPACK_IMPORTED_MODULE_1__.defineFormatter)('transactionRequest', formatTransactionRequest);\n//# sourceMappingURL=transactionRequest.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/formatters/transactionRequest.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/utils/getAction.js":
|
|||
|
/*!***************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/utils/getAction.js ***!
|
|||
|
\***************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ getAction: () => (/* binding */ getAction)\n/* harmony export */ });\n/**\n * Retrieves and returns an action from the client (if exists), and falls\n * back to the tree-shakable action.\n *\n * Useful for extracting overridden actions from a client (ie. if a consumer\n * wants to override the `sendTransaction` implementation).\n */\nfunction getAction(client, action, \n// Some minifiers drop `Function.prototype.name`, meaning that `action.name`\n// will not work. For that case, the consumer needs to pass the name explicitly.\nname) {\n return (params) => client[action.name || name]?.(params) ?? action(client, params);\n}\n//# sourceMappingURL=getAction.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/getAction.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/utils/hash/getEventSelector.js":
|
|||
|
/*!***************************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/utils/hash/getEventSelector.js ***!
|
|||
|
\***************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ getEventSelector: () => (/* binding */ getEventSelector)\n/* harmony export */ });\n/* harmony import */ var _encoding_toBytes_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../encoding/toBytes.js */ \"./node_modules/viem/_esm/utils/encoding/toBytes.js\");\n/* harmony import */ var _getEventSignature_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./getEventSignature.js */ \"./node_modules/viem/_esm/utils/hash/getEventSignature.js\");\n/* harmony import */ var _keccak256_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./keccak256.js */ \"./node_modules/viem/_esm/utils/hash/keccak256.js\");\n\n\n\nconst hash = (value) => (0,_keccak256_js__WEBPACK_IMPORTED_MODULE_0__.keccak256)((0,_encoding_toBytes_js__WEBPACK_IMPORTED_MODULE_1__.toBytes)(value));\nconst getEventSelector = (fn) => hash((0,_getEventSignature_js__WEBPACK_IMPORTED_MODULE_2__.getEventSignature)(fn));\n//# sourceMappingURL=getEventSelector.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/hash/getEventSelector.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/utils/hash/getEventSignature.js":
|
|||
|
/*!****************************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/utils/hash/getEventSignature.js ***!
|
|||
|
\****************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ getEventSignature: () => (/* binding */ getEventSignature)\n/* harmony export */ });\n/* harmony import */ var _getFunctionSignature_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./getFunctionSignature.js */ \"./node_modules/viem/_esm/utils/hash/getFunctionSignature.js\");\n\nconst getEventSignature = (fn) => {\n return (0,_getFunctionSignature_js__WEBPACK_IMPORTED_MODULE_0__.getFunctionSignature)(fn);\n};\n//# sourceMappingURL=getEventSignature.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/hash/getEventSignature.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/utils/hash/getFunctionSelector.js":
|
|||
|
/*!******************************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/utils/hash/getFunctionSelector.js ***!
|
|||
|
\******************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ getFunctionSelector: () => (/* binding */ getFunctionSelector)\n/* harmony export */ });\n/* harmony import */ var _data_slice_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../data/slice.js */ \"./node_modules/viem/_esm/utils/data/slice.js\");\n/* harmony import */ var _encoding_toBytes_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../encoding/toBytes.js */ \"./node_modules/viem/_esm/utils/encoding/toBytes.js\");\n/* harmony import */ var _getFunctionSignature_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./getFunctionSignature.js */ \"./node_modules/viem/_esm/utils/hash/getFunctionSignature.js\");\n/* harmony import */ var _keccak256_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./keccak256.js */ \"./node_modules/viem/_esm/utils/hash/keccak256.js\");\n\n\n\n\nconst hash = (value) => (0,_keccak256_js__WEBPACK_IMPORTED_MODULE_0__.keccak256)((0,_encoding_toBytes_js__WEBPACK_IMPORTED_MODULE_1__.toBytes)(value));\nconst getFunctionSelector = (fn) => (0,_data_slice_js__WEBPACK_IMPORTED_MODULE_2__.slice)(hash((0,_getFunctionSignature_js__WEBPACK_IMPORTED_MODULE_3__.getFunctionSignature)(fn)), 0, 4);\n//# sourceMappingURL=getFunctionSelector.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/hash/getFunctionSelector.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/utils/hash/getFunctionSignature.js":
|
|||
|
/*!*******************************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/utils/hash/getFunctionSignature.js ***!
|
|||
|
\*******************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ getFunctionSignature: () => (/* binding */ getFunctionSignature)\n/* harmony export */ });\n/* harmony import */ var abitype__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! abitype */ \"./node_modules/viem/node_modules/abitype/dist/esm/human-readable/formatAbiItem.js\");\n/* harmony import */ var _normalizeSignature_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./normalizeSignature.js */ \"./node_modules/viem/_esm/utils/hash/normalizeSignature.js\");\n\n\nconst getFunctionSignature = (fn_) => {\n const fn = (() => {\n if (typeof fn_ === 'string')\n return fn_;\n return (0,abitype__WEBPACK_IMPORTED_MODULE_0__.formatAbiItem)(fn_);\n })();\n return (0,_normalizeSignature_js__WEBPACK_IMPORTED_MODULE_1__.normalizeSignature)(fn);\n};\n//# sourceMappingURL=getFunctionSignature.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/hash/getFunctionSignature.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/utils/hash/keccak256.js":
|
|||
|
/*!********************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/utils/hash/keccak256.js ***!
|
|||
|
\********************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ keccak256: () => (/* binding */ keccak256)\n/* harmony export */ });\n/* harmony import */ var _noble_hashes_sha3__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @noble/hashes/sha3 */ \"./node_modules/@noble/hashes/esm/sha3.js\");\n/* harmony import */ var _data_isHex_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../data/isHex.js */ \"./node_modules/viem/_esm/utils/data/isHex.js\");\n/* harmony import */ var _encoding_toBytes_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../encoding/toBytes.js */ \"./node_modules/viem/_esm/utils/encoding/toBytes.js\");\n/* harmony import */ var _encoding_toHex_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../encoding/toHex.js */ \"./node_modules/viem/_esm/utils/encoding/toHex.js\");\n\n\n\n\nfunction keccak256(value, to_) {\n const to = to_ || 'hex';\n const bytes = (0,_noble_hashes_sha3__WEBPACK_IMPORTED_MODULE_0__.keccak_256)((0,_data_isHex_js__WEBPACK_IMPORTED_MODULE_1__.isHex)(value, { strict: false }) ? (0,_encoding_toBytes_js__WEBPACK_IMPORTED_MODULE_2__.toBytes)(value) : value);\n if (to === 'bytes')\n return bytes;\n return (0,_encoding_toHex_js__WEBPACK_IMPORTED_MODULE_3__.toHex)(bytes);\n}\n//# sourceMappingURL=keccak256.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/hash/keccak256.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/utils/hash/normalizeSignature.js":
|
|||
|
/*!*****************************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/utils/hash/normalizeSignature.js ***!
|
|||
|
\*****************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ normalizeSignature: () => (/* binding */ normalizeSignature)\n/* harmony export */ });\n/* harmony import */ var _errors_base_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../errors/base.js */ \"./node_modules/viem/_esm/errors/base.js\");\n\nfunction normalizeSignature(signature) {\n let active = true;\n let current = '';\n let level = 0;\n let result = '';\n let valid = false;\n for (let i = 0; i < signature.length; i++) {\n const char = signature[i];\n // If the character is a separator, we want to reactivate.\n if (['(', ')', ','].includes(char))\n active = true;\n // If the character is a \"level\" token, we want to increment/decrement.\n if (char === '(')\n level++;\n if (char === ')')\n level--;\n // If we aren't active, we don't want to mutate the result.\n if (!active)\n continue;\n // If level === 0, we are at the definition level.\n if (level === 0) {\n if (char === ' ' && ['event', 'function', ''].includes(result))\n result = '';\n else {\n result += char;\n // If we are at the end of the definition, we must be finished.\n if (char === ')') {\n valid = true;\n break;\n }\n }\n continue;\n }\n // Ignore spaces\n if (char === ' ') {\n // If the previous character is a separator, and the current section isn't empty, we want to deactivate.\n if (signature[i - 1] !== ',' && current !== ',' && current !== ',(') {\n current = '';\n active = false;\n }\n continue;\n }\n result += char;\n current += char;\n }\n if (!valid)\n throw new _errors_base_js__WEBPACK_IMPORTED_MODULE_0__.BaseError('Unable to normalize signature.');\n return result;\n}\n//# sourceMappingURL=normalizeSignature.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/hash/normalizeSignature.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/utils/observe.js":
|
|||
|
/*!*************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/utils/observe.js ***!
|
|||
|
\*************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ cleanupCache: () => (/* binding */ cleanupCache),\n/* harmony export */ listenersCache: () => (/* binding */ listenersCache),\n/* harmony export */ observe: () => (/* binding */ observe)\n/* harmony export */ });\nconst listenersCache = /*#__PURE__*/ new Map();\nconst cleanupCache = /*#__PURE__*/ new Map();\nlet callbackCount = 0;\n/**\n * @description Sets up an observer for a given function. If another function\n * is set up under the same observer id, the function will only be called once\n * for both instances of the observer.\n */\nfunction observe(observerId, callbacks, fn) {\n const callbackId = ++callbackCount;\n const getListeners = () => listenersCache.get(observerId) || [];\n const unsubscribe = () => {\n const listeners = getListeners();\n listenersCache.set(observerId, listeners.filter((cb) => cb.id !== callbackId));\n };\n const unwatch = () => {\n const cleanup = cleanupCache.get(observerId);\n if (getListeners().length === 1 && cleanup)\n cleanup();\n unsubscribe();\n };\n const listeners = getListeners();\n listenersCache.set(observerId, [\n ...listeners,\n { id: callbackId, fns: callbacks },\n ]);\n if (listeners && listeners.length > 0)\n return unwatch;\n const emit = {};\n for (const key in callbacks) {\n emit[key] = ((...args) => {\n const listeners = getListeners();\n if (listeners.length === 0)\n return;\n for (const listener of listeners)\n listener.fns[key]?.(...args);\n });\n }\n const cleanup = fn(emit);\n if (typeof cleanup === 'function')\n cleanupCache.set(observerId, cleanup);\n return unwatch;\n}\n//# sourceMappingURL=observe.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/observe.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/utils/poll.js":
|
|||
|
/*!**********************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/utils/poll.js ***!
|
|||
|
\**********************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ poll: () => (/* binding */ poll)\n/* harmony export */ });\n/* harmony import */ var _wait_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./wait.js */ \"./node_modules/viem/_esm/utils/wait.js\");\n\n/**\n * @description Polls a function at a specified interval.\n */\nfunction poll(fn, { emitOnBegin, initialWaitTime, interval }) {\n let active = true;\n const unwatch = () => (active = false);\n const watch = async () => {\n let data = undefined;\n if (emitOnBegin)\n data = await fn({ unpoll: unwatch });\n const initialWait = (await initialWaitTime?.(data)) ?? interval;\n await (0,_wait_js__WEBPACK_IMPORTED_MODULE_0__.wait)(initialWait);\n const poll = async () => {\n if (!active)\n return;\n await fn({ unpoll: unwatch });\n await (0,_wait_js__WEBPACK_IMPORTED_MODULE_0__.wait)(interval);\n poll();\n };\n poll();\n };\n watch();\n return unwatch;\n}\n//# sourceMappingURL=poll.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/poll.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/utils/promise/createBatchScheduler.js":
|
|||
|
/*!**********************************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/utils/promise/createBatchScheduler.js ***!
|
|||
|
\**********************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ createBatchScheduler: () => (/* binding */ createBatchScheduler)\n/* harmony export */ });\nconst schedulerCache = /*#__PURE__*/ new Map();\nfunction createBatchScheduler({ fn, id, shouldSplitBatch, wait = 0, sort, }) {\n const exec = async () => {\n const scheduler = getScheduler();\n flush();\n const args = scheduler.map(({ args }) => args);\n if (args.length === 0)\n return;\n fn(args)\n .then((data) => {\n if (sort && Array.isArray(data))\n data.sort(sort);\n for (let i = 0; i < scheduler.length; i++) {\n const { pendingPromise } = scheduler[i];\n pendingPromise.resolve?.([data[i], data]);\n }\n })\n .catch((err) => {\n for (let i = 0; i < scheduler.length; i++) {\n const { pendingPromise } = scheduler[i];\n pendingPromise.reject?.(err);\n }\n });\n };\n const flush = () => schedulerCache.delete(id);\n const getBatchedArgs = () => getScheduler().map(({ args }) => args);\n const getScheduler = () => schedulerCache.get(id) || [];\n const setScheduler = (item) => schedulerCache.set(id, [...getScheduler(), item]);\n return {\n flush,\n async schedule(args) {\n const pendingPromise = {};\n const promise = new Promise((resolve, reject) => {\n pendingPromise.resolve = resolve;\n pendingPromise.reject = reject;\n });\n const split = shouldSplitBatch?.([...getBatchedArgs(), args]);\n if (split)\n exec();\n const hasActiveScheduler = getScheduler().length > 0;\n if (hasActiveScheduler) {\n setScheduler({ args, pendingPromise });\n return promise;\n }\n setScheduler({ args, pendingPromise });\n setTimeout(exec, wait);\n return promise;\n },\n };\n}\n//# sourceMappingURL=createBatchScheduler.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/promise/createBatchScheduler.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/utils/promise/withCache.js":
|
|||
|
/*!***********************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/utils/promise/withCache.js ***!
|
|||
|
\***********************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ getCache: () => (/* binding */ getCache),\n/* harmony export */ promiseCache: () => (/* binding */ promiseCache),\n/* harmony export */ responseCache: () => (/* binding */ responseCache),\n/* harmony export */ withCache: () => (/* binding */ withCache)\n/* harmony export */ });\nconst promiseCache = /*#__PURE__*/ new Map();\nconst responseCache = /*#__PURE__*/ new Map();\nfunction getCache(cacheKey) {\n const buildCache = (cacheKey, cache) => ({\n clear: () => cache.delete(cacheKey),\n get: () => cache.get(cacheKey),\n set: (data) => cache.set(cacheKey, data),\n });\n const promise = buildCache(cacheKey, promiseCache);\n const response = buildCache(cacheKey, responseCache);\n return {\n clear: () => {\n promise.clear();\n response.clear();\n },\n promise,\n response,\n };\n}\n/**\n * @description Returns the result of a given promise, and caches the result for\n * subsequent invocations against a provided cache key.\n */\nasync function withCache(fn, { cacheKey, cacheTime = Infinity }) {\n const cache = getCache(cacheKey);\n // If a response exists in the cache, and it's not expired, return it\n // and do not invoke the promise.\n // If the max age is 0, the cache is disabled.\n const response = cache.response.get();\n if (response && cacheTime > 0) {\n const age = new Date().getTime() - response.created.getTime();\n if (age < cacheTime)\n return response.data;\n }\n let promise = cache.promise.get();\n if (!promise) {\n promise = fn();\n // Store the promise in the cache so that subsequent invocations\n // will wait for the same promise to resolve (deduping).\n cache.promise.set(promise);\n }\n try {\n const data = await promise;\n // Store the response in the cache so that subsequent invocations\n // will return the same response.\n cache.response.set({ created: new Date(), data });\n return data;\n }\n finally {\n // Clear the promise cache so that subsequent invocations will\n // invoke the promise again.\n cache.promise.clear();\n }\n}\n//# sourceMappingURL=withCache.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/promise/withCache.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/utils/promise/withRetry.js":
|
|||
|
/*!***********************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/utils/promise/withRetry.js ***!
|
|||
|
\***********************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ withRetry: () => (/* binding */ withRetry)\n/* harmony export */ });\n/* harmony import */ var _wait_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../wait.js */ \"./node_modules/viem/_esm/utils/wait.js\");\n\nfunction withRetry(fn, { delay: delay_ = 100, retryCount = 2, shouldRetry = () => true, } = {}) {\n return new Promise((resolve, reject) => {\n const attemptRetry = async ({ count = 0 } = {}) => {\n const retry = async ({ error }) => {\n const delay = typeof delay_ === 'function' ? delay_({ count, error }) : delay_;\n if (delay)\n await (0,_wait_js__WEBPACK_IMPORTED_MODULE_0__.wait)(delay);\n attemptRetry({ count: count + 1 });\n };\n try {\n const data = await fn();\n resolve(data);\n }\n catch (err) {\n if (count < retryCount &&\n (await shouldRetry({ count, error: err })))\n return retry({ error: err });\n reject(err);\n }\n };\n attemptRetry();\n });\n}\n//# sourceMappingURL=withRetry.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/promise/withRetry.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/utils/promise/withTimeout.js":
|
|||
|
/*!*************************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/utils/promise/withTimeout.js ***!
|
|||
|
\*************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ withTimeout: () => (/* binding */ withTimeout)\n/* harmony export */ });\nfunction withTimeout(fn, { errorInstance = new Error('timed out'), timeout, signal, }) {\n return new Promise((resolve, reject) => {\n ;\n (async () => {\n let timeoutId;\n try {\n const controller = new AbortController();\n if (timeout > 0) {\n timeoutId = setTimeout(() => {\n if (signal) {\n controller.abort();\n }\n else {\n reject(errorInstance);\n }\n }, timeout);\n }\n resolve(await fn({ signal: controller?.signal }));\n }\n catch (err) {\n if (err.name === 'AbortError')\n reject(errorInstance);\n reject(err);\n }\n finally {\n clearTimeout(timeoutId);\n }\n })();\n });\n}\n//# sourceMappingURL=withTimeout.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/promise/withTimeout.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/utils/regex.js":
|
|||
|
/*!***********************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/utils/regex.js ***!
|
|||
|
\***********************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ arrayRegex: () => (/* binding */ arrayRegex),\n/* harmony export */ bytesRegex: () => (/* binding */ bytesRegex),\n/* harmony export */ integerRegex: () => (/* binding */ integerRegex)\n/* harmony export */ });\nconst arrayRegex = /^(.*)\\[([0-9]*)\\]$/;\n// `bytes<M>`: binary type of `M` bytes, `0 < M <= 32`\n// https://regexr.com/6va55\nconst bytesRegex = /^bytes([1-9]|1[0-9]|2[0-9]|3[0-2])?$/;\n// `(u)int<M>`: (un)signed integer type of `M` bits, `0 < M <= 256`, `M % 8 == 0`\n// https://regexr.com/6v8hp\nconst integerRegex = /^(u?int)(8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?$/;\n//# sourceMappingURL=regex.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/regex.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/utils/rpc.js":
|
|||
|
/*!*********************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/utils/rpc.js ***!
|
|||
|
\*********************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ getSocket: () => (/* binding */ getSocket),\n/* harmony export */ rpc: () => (/* binding */ rpc),\n/* harmony export */ socketsCache: () => (/* binding */ socketsCache)\n/* harmony export */ });\n/* harmony import */ var isows__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! isows */ \"./node_modules/isows/_esm/native.js\");\n/* harmony import */ var _errors_request_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../errors/request.js */ \"./node_modules/viem/_esm/errors/request.js\");\n/* harmony import */ var _promise_createBatchScheduler_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./promise/createBatchScheduler.js */ \"./node_modules/viem/_esm/utils/promise/createBatchScheduler.js\");\n/* harmony import */ var _promise_withTimeout_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./promise/withTimeout.js */ \"./node_modules/viem/_esm/utils/promise/withTimeout.js\");\n/* harmony import */ var _stringify_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./stringify.js */ \"./node_modules/viem/_esm/utils/stringify.js\");\n\n\n\n\n\nlet id = 0;\nasync function http(url, { body, fetchOptions = {}, timeout = 10000 }) {\n const { headers, method, signal: signal_ } = fetchOptions;\n try {\n const response = await (0,_promise_withTimeout_js__WEBPACK_IMPORTED_MODULE_0__.withTimeout)(async ({ signal }) => {\n const response = await fetch(url, {\n ...fetchOptions,\n body: Array.isArray(body)\n ? (0,_stringify_js__WEBPACK_IMPORTED_MODULE_1__.stringify)(body.map((body) => ({\n jsonrpc: '2.0',\n id: body.id ?? id++,\n ...body,\n })))\n : (0,_stringify_js__WEBPACK_IMPORTED_MODULE_1__.stringify)({ jsonrpc: '2.0', id: body.id ?? id++, ...body }),\n headers: {\n ...headers,\n 'Content-Type': 'application/json',\n },\n method: method || 'POST',\n signal: signal_ || (timeout > 0 ? signal : undefined),\n });\n return response;\n }, {\n errorInstance: new _errors_request_js__WEBPACK_IMPORTED_MODULE_2__.TimeoutError({ body, url }),\n timeout,\n signal: true,\n });\n let data;\n if (response.headers.get('Content-Type')?.startsWith('application/json')) {\n data = await response.json();\n }\n else {\n data = await response.text();\n }\n if (!response.ok) {\n throw new _errors_request_js__WEBPACK_IMPORTED_MODULE_2__.HttpRequestError({\n body,\n details: (0,_stringify_js__WEBPACK_IMPORTED_MODULE_1__.stringify)(data.error) || response.statusText,\n headers: response.headers,\n status: response.status,\n url,\n });\n }\n return data;\n }\n catch (err) {\n if (err instanceof _errors_request_js__WEBPACK_IMPORTED_MODULE_2__.HttpRequestError)\n throw err;\n if (err instanceof _errors_request_js__WEBPACK_IMPORTED_MODULE_2__.TimeoutError)\n throw err;\n throw new _errors_request_js__WEBPACK_IMPORTED_MODULE_2__.HttpRequestError({\n body,\n details: err.message,\n url,\n });\n }\n}\nconst socketsCache = /*#__PURE__*/ new Map();\nasync function getSocket(url) {\n let socket = socketsCache.get(url);\n // If the socket already exists, return it.\n if (socket)\n return socket;\n const { schedule } = (0,_promise_createBatchScheduler_js__WEBPACK_IMPORTED_MODULE_3__.createBatchScheduler)({\n id: url,\n fn: async () => {\n const webSocket = new isows__WEBPACK_IMPORTED_MODULE_4__.WebSocket(url);\n // Set up a cache for in
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/utils/signature/hashMessage.js":
|
|||
|
/*!***************************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/utils/signature/hashMessage.js ***!
|
|||
|
\***************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ hashMessage: () => (/* binding */ hashMessage)\n/* harmony export */ });\n/* harmony import */ var _constants_strings_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../constants/strings.js */ \"./node_modules/viem/_esm/constants/strings.js\");\n/* harmony import */ var _data_concat_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../data/concat.js */ \"./node_modules/viem/_esm/utils/data/concat.js\");\n/* harmony import */ var _encoding_toBytes_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../encoding/toBytes.js */ \"./node_modules/viem/_esm/utils/encoding/toBytes.js\");\n/* harmony import */ var _hash_keccak256_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../hash/keccak256.js */ \"./node_modules/viem/_esm/utils/hash/keccak256.js\");\n\n\n\n\nfunction hashMessage(message, to_) {\n const messageBytes = (() => {\n if (typeof message === 'string')\n return (0,_encoding_toBytes_js__WEBPACK_IMPORTED_MODULE_0__.stringToBytes)(message);\n if (message.raw instanceof Uint8Array)\n return message.raw;\n return (0,_encoding_toBytes_js__WEBPACK_IMPORTED_MODULE_0__.toBytes)(message.raw);\n })();\n const prefixBytes = (0,_encoding_toBytes_js__WEBPACK_IMPORTED_MODULE_0__.stringToBytes)(`${_constants_strings_js__WEBPACK_IMPORTED_MODULE_1__.presignMessagePrefix}${messageBytes.length}`);\n return (0,_hash_keccak256_js__WEBPACK_IMPORTED_MODULE_2__.keccak256)((0,_data_concat_js__WEBPACK_IMPORTED_MODULE_3__.concat)([prefixBytes, messageBytes]), to_);\n}\n//# sourceMappingURL=hashMessage.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/signature/hashMessage.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/utils/signature/hashTypedData.js":
|
|||
|
/*!*****************************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/utils/signature/hashTypedData.js ***!
|
|||
|
\*****************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ hashDomain: () => (/* binding */ hashDomain),\n/* harmony export */ hashTypedData: () => (/* binding */ hashTypedData)\n/* harmony export */ });\n/* harmony import */ var _abi_encodeAbiParameters_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../abi/encodeAbiParameters.js */ \"./node_modules/viem/_esm/utils/abi/encodeAbiParameters.js\");\n/* harmony import */ var _data_concat_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../data/concat.js */ \"./node_modules/viem/_esm/utils/data/concat.js\");\n/* harmony import */ var _encoding_toHex_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../encoding/toHex.js */ \"./node_modules/viem/_esm/utils/encoding/toHex.js\");\n/* harmony import */ var _hash_keccak256_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../hash/keccak256.js */ \"./node_modules/viem/_esm/utils/hash/keccak256.js\");\n/* harmony import */ var _typedData_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../typedData.js */ \"./node_modules/viem/_esm/utils/typedData.js\");\n// Implementation forked and adapted from https://github.com/MetaMask/eth-sig-util/blob/main/src/sign-typed-data.ts\n\n\n\n\n\nfunction hashTypedData({ domain: domain_, message, primaryType, types: types_, }) {\n const domain = typeof domain_ === 'undefined' ? {} : domain_;\n const types = {\n EIP712Domain: (0,_typedData_js__WEBPACK_IMPORTED_MODULE_0__.getTypesForEIP712Domain)({ domain }),\n ...types_,\n };\n // Need to do a runtime validation check on addresses, byte ranges, integer ranges, etc\n // as we can't statically check this with TypeScript.\n (0,_typedData_js__WEBPACK_IMPORTED_MODULE_0__.validateTypedData)({\n domain,\n message,\n primaryType,\n types,\n });\n const parts = ['0x1901'];\n if (domain)\n parts.push(hashDomain({\n domain,\n types: types,\n }));\n if (primaryType !== 'EIP712Domain') {\n parts.push(hashStruct({\n data: message,\n primaryType: primaryType,\n types: types,\n }));\n }\n return (0,_hash_keccak256_js__WEBPACK_IMPORTED_MODULE_1__.keccak256)((0,_data_concat_js__WEBPACK_IMPORTED_MODULE_2__.concat)(parts));\n}\nfunction hashDomain({ domain, types, }) {\n return hashStruct({\n data: domain,\n primaryType: 'EIP712Domain',\n types,\n });\n}\nfunction hashStruct({ data, primaryType, types, }) {\n const encoded = encodeData({\n data,\n primaryType,\n types,\n });\n return (0,_hash_keccak256_js__WEBPACK_IMPORTED_MODULE_1__.keccak256)(encoded);\n}\nfunction encodeData({ data, primaryType, types, }) {\n const encodedTypes = [{ type: 'bytes32' }];\n const encodedValues = [hashType({ primaryType, types })];\n for (const field of types[primaryType]) {\n const [type, value] = encodeField({\n types,\n name: field.name,\n type: field.type,\n value: data[field.name],\n });\n encodedTypes.push(type);\n encodedValues.push(value);\n }\n return (0,_abi_encodeAbiParameters_js__WEBPACK_IMPORTED_MODULE_3__.encodeAbiParameters)(encodedTypes, encodedValues);\n}\nfunction hashType({ primaryType, types, }) {\n const encodedHashType = (0,_encoding_toHex_js__WEBPACK_IMPORTED_MODULE_4__.toHex)(encodeType({ primaryType, types }));\n return (0,_hash_keccak256_js__WEBPACK_IMPORTED_MODULE_1__.keccak256)(encodedHashType);\n}\nfunction encodeType({ primaryType, types, }) {\n let result = '';\n const unsortedDeps = findTypeDependencies({ primaryType, types });\n unsortedDeps.delete(primaryType);\n const deps = [primaryType, ...Array.from(unsortedDeps).sort()];\n for (const type of deps) {\n result += `${type}(${types[type]\n .map(({ name, type: t }) => `${t} ${name}`)\n .join(',')})`;\n }\n return result;\n}\
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/utils/stringify.js":
|
|||
|
/*!***************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/utils/stringify.js ***!
|
|||
|
\***************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ stringify: () => (/* binding */ stringify)\n/* harmony export */ });\nconst stringify = (value, replacer, space) => JSON.stringify(value, (key, value_) => {\n const value = typeof value_ === 'bigint' ? value_.toString() : value_;\n return typeof replacer === 'function' ? replacer(key, value) : value;\n}, space);\n//# sourceMappingURL=stringify.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/stringify.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/utils/transaction/assertRequest.js":
|
|||
|
/*!*******************************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/utils/transaction/assertRequest.js ***!
|
|||
|
\*******************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ assertRequest: () => (/* binding */ assertRequest)\n/* harmony export */ });\n/* harmony import */ var _accounts_utils_parseAccount_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../accounts/utils/parseAccount.js */ \"./node_modules/viem/_esm/accounts/utils/parseAccount.js\");\n/* harmony import */ var _errors_address_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../errors/address.js */ \"./node_modules/viem/_esm/errors/address.js\");\n/* harmony import */ var _errors_node_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../errors/node.js */ \"./node_modules/viem/_esm/errors/node.js\");\n/* harmony import */ var _errors_transaction_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../errors/transaction.js */ \"./node_modules/viem/_esm/errors/transaction.js\");\n/* harmony import */ var _address_isAddress_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../address/isAddress.js */ \"./node_modules/viem/_esm/utils/address/isAddress.js\");\n\n\n\n\n\nfunction assertRequest(args) {\n const { account: account_, gasPrice, maxFeePerGas, maxPriorityFeePerGas, to, } = args;\n const account = account_ ? (0,_accounts_utils_parseAccount_js__WEBPACK_IMPORTED_MODULE_0__.parseAccount)(account_) : undefined;\n if (account && !(0,_address_isAddress_js__WEBPACK_IMPORTED_MODULE_1__.isAddress)(account.address))\n throw new _errors_address_js__WEBPACK_IMPORTED_MODULE_2__.InvalidAddressError({ address: account.address });\n if (to && !(0,_address_isAddress_js__WEBPACK_IMPORTED_MODULE_1__.isAddress)(to))\n throw new _errors_address_js__WEBPACK_IMPORTED_MODULE_2__.InvalidAddressError({ address: to });\n if (typeof gasPrice !== 'undefined' &&\n (typeof maxFeePerGas !== 'undefined' ||\n typeof maxPriorityFeePerGas !== 'undefined'))\n throw new _errors_transaction_js__WEBPACK_IMPORTED_MODULE_3__.FeeConflictError();\n if (maxFeePerGas && maxFeePerGas > 2n ** 256n - 1n)\n throw new _errors_node_js__WEBPACK_IMPORTED_MODULE_4__.FeeCapTooHighError({ maxFeePerGas });\n if (maxPriorityFeePerGas &&\n maxFeePerGas &&\n maxPriorityFeePerGas > maxFeePerGas)\n throw new _errors_node_js__WEBPACK_IMPORTED_MODULE_4__.TipAboveFeeCapError({ maxFeePerGas, maxPriorityFeePerGas });\n}\n//# sourceMappingURL=assertRequest.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/transaction/assertRequest.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/utils/transaction/getTransactionType.js":
|
|||
|
/*!************************************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/utils/transaction/getTransactionType.js ***!
|
|||
|
\************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ getTransactionType: () => (/* binding */ getTransactionType)\n/* harmony export */ });\n/* harmony import */ var _errors_transaction_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../errors/transaction.js */ \"./node_modules/viem/_esm/errors/transaction.js\");\n\nfunction getTransactionType(transaction) {\n if (transaction.type)\n return transaction.type;\n if (typeof transaction.maxFeePerGas !== 'undefined' ||\n typeof transaction.maxPriorityFeePerGas !== 'undefined')\n return 'eip1559';\n if (typeof transaction.gasPrice !== 'undefined') {\n if (typeof transaction.accessList !== 'undefined')\n return 'eip2930';\n return 'legacy';\n }\n throw new _errors_transaction_js__WEBPACK_IMPORTED_MODULE_0__.InvalidSerializableTransactionError({ transaction });\n}\n//# sourceMappingURL=getTransactionType.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/transaction/getTransactionType.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/utils/typedData.js":
|
|||
|
/*!***************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/utils/typedData.js ***!
|
|||
|
\***************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ domainSeparator: () => (/* binding */ domainSeparator),\n/* harmony export */ getTypesForEIP712Domain: () => (/* binding */ getTypesForEIP712Domain),\n/* harmony export */ validateTypedData: () => (/* binding */ validateTypedData)\n/* harmony export */ });\n/* harmony import */ var _errors_abi_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../errors/abi.js */ \"./node_modules/viem/_esm/errors/abi.js\");\n/* harmony import */ var _errors_address_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../errors/address.js */ \"./node_modules/viem/_esm/errors/address.js\");\n/* harmony import */ var _address_isAddress_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./address/isAddress.js */ \"./node_modules/viem/_esm/utils/address/isAddress.js\");\n/* harmony import */ var _data_size_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./data/size.js */ \"./node_modules/viem/_esm/utils/data/size.js\");\n/* harmony import */ var _encoding_toHex_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./encoding/toHex.js */ \"./node_modules/viem/_esm/utils/encoding/toHex.js\");\n/* harmony import */ var _regex_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./regex.js */ \"./node_modules/viem/_esm/utils/regex.js\");\n/* harmony import */ var _signature_hashTypedData_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./signature/hashTypedData.js */ \"./node_modules/viem/_esm/utils/signature/hashTypedData.js\");\n\n\n\n\n\n\n\nfunction validateTypedData({ domain, message, primaryType, types: types_, }) {\n const types = types_;\n const validateData = (struct, value_) => {\n for (const param of struct) {\n const { name, type: type_ } = param;\n const type = type_;\n const value = value_[name];\n const integerMatch = type.match(_regex_js__WEBPACK_IMPORTED_MODULE_0__.integerRegex);\n if (integerMatch &&\n (typeof value === 'number' || typeof value === 'bigint')) {\n const [_type, base, size_] = integerMatch;\n // If number cannot be cast to a sized hex value, it is out of range\n // and will throw.\n (0,_encoding_toHex_js__WEBPACK_IMPORTED_MODULE_1__.numberToHex)(value, {\n signed: base === 'int',\n size: parseInt(size_) / 8,\n });\n }\n if (type === 'address' && typeof value === 'string' && !(0,_address_isAddress_js__WEBPACK_IMPORTED_MODULE_2__.isAddress)(value))\n throw new _errors_address_js__WEBPACK_IMPORTED_MODULE_3__.InvalidAddressError({ address: value });\n const bytesMatch = type.match(_regex_js__WEBPACK_IMPORTED_MODULE_0__.bytesRegex);\n if (bytesMatch) {\n const [_type, size_] = bytesMatch;\n if (size_ && (0,_data_size_js__WEBPACK_IMPORTED_MODULE_4__.size)(value) !== parseInt(size_))\n throw new _errors_abi_js__WEBPACK_IMPORTED_MODULE_5__.BytesSizeMismatchError({\n expectedSize: parseInt(size_),\n givenSize: (0,_data_size_js__WEBPACK_IMPORTED_MODULE_4__.size)(value),\n });\n }\n const struct = types[type];\n if (struct)\n validateData(struct, value);\n }\n };\n // Validate domain types.\n if (types.EIP712Domain && domain)\n validateData(types.EIP712Domain, domain);\n if (primaryType !== 'EIP712Domain') {\n // Validate message types.\n const type = types[primaryType];\n validateData(type, message);\n }\n}\nfunction getTypesForEIP712Domain({ domain, }) {\n return [\n typeof domain?.name === 'string' && { name: 'name', type: 'string' },\n domain?.version && { name: 'version', type: 'string' },\n typeof domain?.chainId === 'number' && {\n name
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/utils/uid.js":
|
|||
|
/*!*********************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/utils/uid.js ***!
|
|||
|
\*********************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ uid: () => (/* binding */ uid)\n/* harmony export */ });\nconst size = 256;\nlet index = size;\nlet buffer;\nfunction uid(length = 11) {\n if (!buffer || index + length > size * 2) {\n buffer = '';\n index = 0;\n for (let i = 0; i < size; i++) {\n buffer += ((256 + Math.random() * 256) | 0).toString(16).substring(1);\n }\n }\n return buffer.substring(index, index++ + length);\n}\n//# sourceMappingURL=uid.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/uid.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/utils/unit/formatEther.js":
|
|||
|
/*!**********************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/utils/unit/formatEther.js ***!
|
|||
|
\**********************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ formatEther: () => (/* binding */ formatEther)\n/* harmony export */ });\n/* harmony import */ var _constants_unit_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../constants/unit.js */ \"./node_modules/viem/_esm/constants/unit.js\");\n/* harmony import */ var _formatUnits_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./formatUnits.js */ \"./node_modules/viem/_esm/utils/unit/formatUnits.js\");\n\n\n/**\n * Converts numerical wei to a string representation of ether.\n *\n * - Docs: https://viem.sh/docs/utilities/formatEther.html\n *\n * @example\n * import { formatEther } from 'viem'\n *\n * formatEther(1000000000000000000n)\n * // '1'\n */\nfunction formatEther(wei, unit = 'wei') {\n return (0,_formatUnits_js__WEBPACK_IMPORTED_MODULE_0__.formatUnits)(wei, _constants_unit_js__WEBPACK_IMPORTED_MODULE_1__.etherUnits[unit]);\n}\n//# sourceMappingURL=formatEther.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/unit/formatEther.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/utils/unit/formatGwei.js":
|
|||
|
/*!*********************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/utils/unit/formatGwei.js ***!
|
|||
|
\*********************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ formatGwei: () => (/* binding */ formatGwei)\n/* harmony export */ });\n/* harmony import */ var _constants_unit_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../constants/unit.js */ \"./node_modules/viem/_esm/constants/unit.js\");\n/* harmony import */ var _formatUnits_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./formatUnits.js */ \"./node_modules/viem/_esm/utils/unit/formatUnits.js\");\n\n\n/**\n * Converts numerical wei to a string representation of gwei.\n *\n * - Docs: https://viem.sh/docs/utilities/formatGwei.html\n *\n * @example\n * import { formatGwei } from 'viem'\n *\n * formatGwei(1000000000n)\n * // '1'\n */\nfunction formatGwei(wei, unit = 'wei') {\n return (0,_formatUnits_js__WEBPACK_IMPORTED_MODULE_0__.formatUnits)(wei, _constants_unit_js__WEBPACK_IMPORTED_MODULE_1__.gweiUnits[unit]);\n}\n//# sourceMappingURL=formatGwei.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/unit/formatGwei.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/utils/unit/formatUnits.js":
|
|||
|
/*!**********************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/utils/unit/formatUnits.js ***!
|
|||
|
\**********************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ formatUnits: () => (/* binding */ formatUnits)\n/* harmony export */ });\n/**\n * Divides a number by a given exponent of base 10 (10exponent), and formats it into a string representation of the number..\n *\n * - Docs: https://viem.sh/docs/utilities/formatUnits.html\n *\n * @example\n * import { formatUnits } from 'viem'\n *\n * formatUnits(420000000000n, 9)\n * // '420'\n */\nfunction formatUnits(value, decimals) {\n let display = value.toString();\n const negative = display.startsWith('-');\n if (negative)\n display = display.slice(1);\n display = display.padStart(decimals, '0');\n let [integer, fraction] = [\n display.slice(0, display.length - decimals),\n display.slice(display.length - decimals),\n ];\n fraction = fraction.replace(/(0+)$/, '');\n return `${negative ? '-' : ''}${integer || '0'}${fraction ? `.${fraction}` : ''}`;\n}\n//# sourceMappingURL=formatUnits.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/unit/formatUnits.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/utils/unit/parseGwei.js":
|
|||
|
/*!********************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/utils/unit/parseGwei.js ***!
|
|||
|
\********************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ parseGwei: () => (/* binding */ parseGwei)\n/* harmony export */ });\n/* harmony import */ var _constants_unit_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../constants/unit.js */ \"./node_modules/viem/_esm/constants/unit.js\");\n/* harmony import */ var _parseUnits_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./parseUnits.js */ \"./node_modules/viem/_esm/utils/unit/parseUnits.js\");\n\n\n/**\n * Converts a string representation of gwei to numerical wei.\n *\n * - Docs: https://viem.sh/docs/utilities/parseGwei.html\n *\n * @example\n * import { parseGwei } from 'viem'\n *\n * parseGwei('420')\n * // 420000000000n\n */\nfunction parseGwei(ether, unit = 'wei') {\n return (0,_parseUnits_js__WEBPACK_IMPORTED_MODULE_0__.parseUnits)(ether, _constants_unit_js__WEBPACK_IMPORTED_MODULE_1__.gweiUnits[unit]);\n}\n//# sourceMappingURL=parseGwei.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/unit/parseGwei.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/utils/unit/parseUnits.js":
|
|||
|
/*!*********************************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/utils/unit/parseUnits.js ***!
|
|||
|
\*********************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ parseUnits: () => (/* binding */ parseUnits)\n/* harmony export */ });\n/**\n * Multiplies a string representation of a number by a given exponent of base 10 (10exponent).\n *\n * - Docs: https://viem.sh/docs/utilities/parseUnits.html\n *\n * @example\n * import { parseUnits } from 'viem'\n *\n * parseUnits('420', 9)\n * // 420000000000n\n */\nfunction parseUnits(value, decimals) {\n let [integer, fraction = '0'] = value.split('.');\n const negative = integer.startsWith('-');\n if (negative)\n integer = integer.slice(1);\n // trim leading zeros.\n fraction = fraction.replace(/(0+)$/, '');\n // round off if the fraction is larger than the number of decimals.\n if (decimals === 0) {\n if (Math.round(Number(`.${fraction}`)) === 1)\n integer = `${BigInt(integer) + 1n}`;\n fraction = '';\n }\n else if (fraction.length > decimals) {\n const [left, unit, right] = [\n fraction.slice(0, decimals - 1),\n fraction.slice(decimals - 1, decimals),\n fraction.slice(decimals),\n ];\n const rounded = Math.round(Number(`${unit}.${right}`));\n if (rounded > 9)\n fraction = `${BigInt(left) + BigInt(1)}0`.padStart(left.length + 1, '0');\n else\n fraction = `${left}${rounded}`;\n if (fraction.length > decimals) {\n fraction = fraction.slice(1);\n integer = `${BigInt(integer) + 1n}`;\n }\n fraction = fraction.slice(0, decimals);\n }\n else {\n fraction = fraction.padEnd(decimals, '0');\n }\n return BigInt(`${negative ? '-' : ''}${integer}${fraction}`);\n}\n//# sourceMappingURL=parseUnits.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/unit/parseUnits.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/_esm/utils/wait.js":
|
|||
|
/*!**********************************************!*\
|
|||
|
!*** ./node_modules/viem/_esm/utils/wait.js ***!
|
|||
|
\**********************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ wait: () => (/* binding */ wait)\n/* harmony export */ });\nasync function wait(time) {\n return new Promise((res) => setTimeout(res, time));\n}\n//# sourceMappingURL=wait.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/wait.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/node_modules/abitype/dist/esm/human-readable/formatAbiItem.js":
|
|||
|
/*!*****************************************************************************************!*\
|
|||
|
!*** ./node_modules/viem/node_modules/abitype/dist/esm/human-readable/formatAbiItem.js ***!
|
|||
|
\*****************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ formatAbiItem: () => (/* binding */ formatAbiItem)\n/* harmony export */ });\n/* harmony import */ var _formatAbiParameters_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./formatAbiParameters.js */ \"./node_modules/viem/node_modules/abitype/dist/esm/human-readable/formatAbiParameters.js\");\n\nfunction formatAbiItem(abiItem) {\n if (abiItem.type === 'function')\n return `function ${abiItem.name}(${(0,_formatAbiParameters_js__WEBPACK_IMPORTED_MODULE_0__.formatAbiParameters)(abiItem.inputs)})${abiItem.stateMutability && abiItem.stateMutability !== 'nonpayable'\n ? ` ${abiItem.stateMutability}`\n : ''}${abiItem.outputs.length\n ? ` returns (${(0,_formatAbiParameters_js__WEBPACK_IMPORTED_MODULE_0__.formatAbiParameters)(abiItem.outputs)})`\n : ''}`;\n else if (abiItem.type === 'event')\n return `event ${abiItem.name}(${(0,_formatAbiParameters_js__WEBPACK_IMPORTED_MODULE_0__.formatAbiParameters)(abiItem.inputs)})`;\n else if (abiItem.type === 'error')\n return `error ${abiItem.name}(${(0,_formatAbiParameters_js__WEBPACK_IMPORTED_MODULE_0__.formatAbiParameters)(abiItem.inputs)})`;\n else if (abiItem.type === 'constructor')\n return `constructor(${(0,_formatAbiParameters_js__WEBPACK_IMPORTED_MODULE_0__.formatAbiParameters)(abiItem.inputs)})${abiItem.stateMutability === 'payable' ? ' payable' : ''}`;\n else if (abiItem.type === 'fallback')\n return 'fallback()';\n return 'receive() external payable';\n}\n//# sourceMappingURL=formatAbiItem.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/node_modules/abitype/dist/esm/human-readable/formatAbiItem.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/node_modules/abitype/dist/esm/human-readable/formatAbiParameter.js":
|
|||
|
/*!**********************************************************************************************!*\
|
|||
|
!*** ./node_modules/viem/node_modules/abitype/dist/esm/human-readable/formatAbiParameter.js ***!
|
|||
|
\**********************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ formatAbiParameter: () => (/* binding */ formatAbiParameter)\n/* harmony export */ });\n/* harmony import */ var _regex_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../regex.js */ \"./node_modules/viem/node_modules/abitype/dist/esm/regex.js\");\n\nconst tupleRegex = /^tuple(?<array>(\\[(\\d*)\\])*)$/;\nfunction formatAbiParameter(abiParameter) {\n let type = abiParameter.type;\n if (tupleRegex.test(abiParameter.type) && 'components' in abiParameter) {\n type = '(';\n const length = abiParameter.components.length;\n for (let i = 0; i < length; i++) {\n const component = abiParameter.components[i];\n type += formatAbiParameter(component);\n if (i < length - 1)\n type += ', ';\n }\n const result = (0,_regex_js__WEBPACK_IMPORTED_MODULE_0__.execTyped)(tupleRegex, abiParameter.type);\n type += `)${result?.array ?? ''}`;\n return formatAbiParameter({\n ...abiParameter,\n type,\n });\n }\n if ('indexed' in abiParameter && abiParameter.indexed)\n type = `${type} indexed`;\n if (abiParameter.name)\n return `${type} ${abiParameter.name}`;\n return type;\n}\n//# sourceMappingURL=formatAbiParameter.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/node_modules/abitype/dist/esm/human-readable/formatAbiParameter.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/node_modules/abitype/dist/esm/human-readable/formatAbiParameters.js":
|
|||
|
/*!***********************************************************************************************!*\
|
|||
|
!*** ./node_modules/viem/node_modules/abitype/dist/esm/human-readable/formatAbiParameters.js ***!
|
|||
|
\***********************************************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ formatAbiParameters: () => (/* binding */ formatAbiParameters)\n/* harmony export */ });\n/* harmony import */ var _formatAbiParameter_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./formatAbiParameter.js */ \"./node_modules/viem/node_modules/abitype/dist/esm/human-readable/formatAbiParameter.js\");\n\nfunction formatAbiParameters(abiParameters) {\n let params = '';\n const length = abiParameters.length;\n for (let i = 0; i < length; i++) {\n const abiParameter = abiParameters[i];\n params += (0,_formatAbiParameter_js__WEBPACK_IMPORTED_MODULE_0__.formatAbiParameter)(abiParameter);\n if (i !== length - 1)\n params += ', ';\n }\n return params;\n}\n//# sourceMappingURL=formatAbiParameters.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/node_modules/abitype/dist/esm/human-readable/formatAbiParameters.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/viem/node_modules/abitype/dist/esm/regex.js":
|
|||
|
/*!******************************************************************!*\
|
|||
|
!*** ./node_modules/viem/node_modules/abitype/dist/esm/regex.js ***!
|
|||
|
\******************************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ bytesRegex: () => (/* binding */ bytesRegex),\n/* harmony export */ execTyped: () => (/* binding */ execTyped),\n/* harmony export */ integerRegex: () => (/* binding */ integerRegex),\n/* harmony export */ isTupleRegex: () => (/* binding */ isTupleRegex)\n/* harmony export */ });\nfunction execTyped(regex, string) {\n const match = regex.exec(string);\n return match?.groups;\n}\nconst bytesRegex = /^bytes([1-9]|1[0-9]|2[0-9]|3[0-2])?$/;\nconst integerRegex = /^u?int(8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?$/;\nconst isTupleRegex = /^\\(.+?\\).*?$/;\n//# sourceMappingURL=regex.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/node_modules/abitype/dist/esm/regex.js?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/zustand/esm/middleware.mjs":
|
|||
|
/*!*************************************************!*\
|
|||
|
!*** ./node_modules/zustand/esm/middleware.mjs ***!
|
|||
|
\*************************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ combine: () => (/* binding */ combine),\n/* harmony export */ createJSONStorage: () => (/* binding */ createJSONStorage),\n/* harmony export */ devtools: () => (/* binding */ devtools),\n/* harmony export */ persist: () => (/* binding */ persist),\n/* harmony export */ redux: () => (/* binding */ redux),\n/* harmony export */ subscribeWithSelector: () => (/* binding */ subscribeWithSelector)\n/* harmony export */ });\nconst reduxImpl = (reducer, initial) => (set, _get, api) => {\n api.dispatch = (action) => {\n set((state) => reducer(state, action), false, action);\n return action;\n };\n api.dispatchFromDevtools = true;\n return { dispatch: (...a) => api.dispatch(...a), ...initial };\n};\nconst redux = reduxImpl;\n\nconst trackedConnections = /* @__PURE__ */ new Map();\nconst getTrackedConnectionState = (name) => {\n const api = trackedConnections.get(name);\n if (!api)\n return {};\n return Object.fromEntries(\n Object.entries(api.stores).map(([key, api2]) => [key, api2.getState()])\n );\n};\nconst extractConnectionInformation = (store, extensionConnector, options) => {\n if (store === void 0) {\n return {\n type: \"untracked\",\n connection: extensionConnector.connect(options)\n };\n }\n const existingConnection = trackedConnections.get(options.name);\n if (existingConnection) {\n return { type: \"tracked\", store, ...existingConnection };\n }\n const newConnection = {\n connection: extensionConnector.connect(options),\n stores: {}\n };\n trackedConnections.set(options.name, newConnection);\n return { type: \"tracked\", store, ...newConnection };\n};\nconst devtoolsImpl = (fn, devtoolsOptions = {}) => (set, get, api) => {\n const { enabled, anonymousActionType, store, ...options } = devtoolsOptions;\n let extensionConnector;\n try {\n extensionConnector = (enabled != null ? enabled : ( false ? 0 : void 0) !== \"production\") && window.__REDUX_DEVTOOLS_EXTENSION__;\n } catch (e) {\n }\n if (!extensionConnector) {\n if (( false ? 0 : void 0) !== \"production\" && enabled) {\n console.warn(\n \"[zustand devtools middleware] Please install/enable Redux devtools extension\"\n );\n }\n return fn(set, get, api);\n }\n const { connection, ...connectionInformation } = extractConnectionInformation(store, extensionConnector, options);\n let isRecording = true;\n api.setState = (state, replace, nameOrAction) => {\n const r = set(state, replace);\n if (!isRecording)\n return r;\n const action = nameOrAction === void 0 ? { type: anonymousActionType || \"anonymous\" } : typeof nameOrAction === \"string\" ? { type: nameOrAction } : nameOrAction;\n if (store === void 0) {\n connection == null ? void 0 : connection.send(action, get());\n return r;\n }\n connection == null ? void 0 : connection.send(\n {\n ...action,\n type: `${store}/${action.type}`\n },\n {\n ...getTrackedConnectionState(options.name),\n [store]: api.getState()\n }\n );\n return r;\n };\n const setStateFromDevtools = (...a) => {\n const originalIsRecording = isRecording;\n isRecording = false;\n set(...a);\n isRecording = originalIsRecording;\n };\n const initialState = fn(api.setState, get, api);\n if (connectionInformation.type === \"untracked\") {\n connection == null ? void 0 : connection.init(initialState);\n } else {\n connectionInformation.stores[connectionInformation.store] = api;\n connection == null ? void 0 : connection.init(\n Object.fromEntries(\n Object.entries(connectionInformation.stores).map(([key, store2]) => [\n key,\n key === connectionInformation.store ? initialState : store2.getState()\n ])\n )\n );\n }\n if (api.dispatchFromDevtools && typeof api.dispatch === \"function\") {\n let didWarnAboutReservedActionType = false;\n const originalDispa
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/zustand/esm/shallow.mjs":
|
|||
|
/*!**********************************************!*\
|
|||
|
!*** ./node_modules/zustand/esm/shallow.mjs ***!
|
|||
|
\**********************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ shallow),\n/* harmony export */ shallow: () => (/* binding */ shallow$1)\n/* harmony export */ });\nfunction shallow$1(objA, objB) {\n if (Object.is(objA, objB)) {\n return true;\n }\n if (typeof objA !== \"object\" || objA === null || typeof objB !== \"object\" || objB === null) {\n return false;\n }\n if (objA instanceof Map && objB instanceof Map) {\n if (objA.size !== objB.size)\n return false;\n for (const [key, value] of objA) {\n if (!Object.is(value, objB.get(key))) {\n return false;\n }\n }\n return true;\n }\n if (objA instanceof Set && objB instanceof Set) {\n if (objA.size !== objB.size)\n return false;\n for (const value of objA) {\n if (!objB.has(value)) {\n return false;\n }\n }\n return true;\n }\n const keysA = Object.keys(objA);\n if (keysA.length !== Object.keys(objB).length) {\n return false;\n }\n for (let i = 0; i < keysA.length; i++) {\n if (!Object.prototype.hasOwnProperty.call(objB, keysA[i]) || !Object.is(objA[keysA[i]], objB[keysA[i]])) {\n return false;\n }\n }\n return true;\n}\n\nvar shallow = (objA, objB) => {\n if (( false ? 0 : void 0) !== \"production\") {\n console.warn(\n \"[DEPRECATED] Default export is deprecated. Instead use `import { shallow } from 'zustand/shallow'`.\"\n );\n }\n return shallow$1(objA, objB);\n};\n\n\n\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/zustand/esm/shallow.mjs?");
|
|||
|
|
|||
|
/***/ }),
|
|||
|
|
|||
|
/***/ "./node_modules/zustand/esm/vanilla.mjs":
|
|||
|
/*!**********************************************!*\
|
|||
|
!*** ./node_modules/zustand/esm/vanilla.mjs ***!
|
|||
|
\**********************************************/
|
|||
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|||
|
|
|||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ createStore: () => (/* binding */ createStore),\n/* harmony export */ \"default\": () => (/* binding */ vanilla)\n/* harmony export */ });\nconst createStoreImpl = (createState) => {\n let state;\n const listeners = /* @__PURE__ */ new Set();\n const setState = (partial, replace) => {\n const nextState = typeof partial === \"function\" ? partial(state) : partial;\n if (!Object.is(nextState, state)) {\n const previousState = state;\n state = (replace != null ? replace : typeof nextState !== \"object\" || nextState === null) ? nextState : Object.assign({}, state, nextState);\n listeners.forEach((listener) => listener(state, previousState));\n }\n };\n const getState = () => state;\n const subscribe = (listener) => {\n listeners.add(listener);\n return () => listeners.delete(listener);\n };\n const destroy = () => {\n if (( false ? 0 : void 0) !== \"production\") {\n console.warn(\n \"[DEPRECATED] The `destroy` method will be unsupported in a future version. Instead use unsubscribe function returned by subscribe. Everything will be garbage-collected if store is garbage-collected.\"\n );\n }\n listeners.clear();\n };\n const api = { setState, getState, subscribe, destroy };\n state = createState(setState, getState, api);\n return api;\n};\nconst createStore = (createState) => createState ? createStoreImpl(createState) : createStoreImpl;\nvar vanilla = (createState) => {\n if (( false ? 0 : void 0) !== \"production\") {\n console.warn(\n \"[DEPRECATED] Default export is deprecated. Instead use import { createStore } from 'zustand/vanilla'.\"\n );\n }\n return createStore(createState);\n};\n\n\n\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/zustand/esm/vanilla.mjs?");
|
|||
|
|
|||
|
/***/ })
|
|||
|
|
|||
|
/******/ });
|
|||
|
/************************************************************************/
|
|||
|
/******/ // The module cache
|
|||
|
/******/ var __webpack_module_cache__ = {};
|
|||
|
/******/
|
|||
|
/******/ // The require function
|
|||
|
/******/ function __webpack_require__(moduleId) {
|
|||
|
/******/ // Check if module is in cache
|
|||
|
/******/ var cachedModule = __webpack_module_cache__[moduleId];
|
|||
|
/******/ if (cachedModule !== undefined) {
|
|||
|
/******/ return cachedModule.exports;
|
|||
|
/******/ }
|
|||
|
/******/ // Create a new module (and put it into the cache)
|
|||
|
/******/ var module = __webpack_module_cache__[moduleId] = {
|
|||
|
/******/ id: moduleId,
|
|||
|
/******/ loaded: false,
|
|||
|
/******/ exports: {}
|
|||
|
/******/ };
|
|||
|
/******/
|
|||
|
/******/ // Execute the module function
|
|||
|
/******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);
|
|||
|
/******/
|
|||
|
/******/ // Flag the module as loaded
|
|||
|
/******/ module.loaded = true;
|
|||
|
/******/
|
|||
|
/******/ // Return the exports of the module
|
|||
|
/******/ return module.exports;
|
|||
|
/******/ }
|
|||
|
/******/
|
|||
|
/******/ // expose the modules object (__webpack_modules__)
|
|||
|
/******/ __webpack_require__.m = __webpack_modules__;
|
|||
|
/******/
|
|||
|
/************************************************************************/
|
|||
|
/******/ /* webpack/runtime/compat get default export */
|
|||
|
/******/ (() => {
|
|||
|
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|||
|
/******/ __webpack_require__.n = (module) => {
|
|||
|
/******/ var getter = module && module.__esModule ?
|
|||
|
/******/ () => (module['default']) :
|
|||
|
/******/ () => (module);
|
|||
|
/******/ __webpack_require__.d(getter, { a: getter });
|
|||
|
/******/ return getter;
|
|||
|
/******/ };
|
|||
|
/******/ })();
|
|||
|
/******/
|
|||
|
/******/ /* webpack/runtime/create fake namespace object */
|
|||
|
/******/ (() => {
|
|||
|
/******/ var getProto = Object.getPrototypeOf ? (obj) => (Object.getPrototypeOf(obj)) : (obj) => (obj.__proto__);
|
|||
|
/******/ var leafPrototypes;
|
|||
|
/******/ // create a fake namespace object
|
|||
|
/******/ // mode & 1: value is a module id, require it
|
|||
|
/******/ // mode & 2: merge all properties of value into the ns
|
|||
|
/******/ // mode & 4: return value when already ns object
|
|||
|
/******/ // mode & 16: return value when it's Promise-like
|
|||
|
/******/ // mode & 8|1: behave like require
|
|||
|
/******/ __webpack_require__.t = function(value, mode) {
|
|||
|
/******/ if(mode & 1) value = this(value);
|
|||
|
/******/ if(mode & 8) return value;
|
|||
|
/******/ if(typeof value === 'object' && value) {
|
|||
|
/******/ if((mode & 4) && value.__esModule) return value;
|
|||
|
/******/ if((mode & 16) && typeof value.then === 'function') return value;
|
|||
|
/******/ }
|
|||
|
/******/ var ns = Object.create(null);
|
|||
|
/******/ __webpack_require__.r(ns);
|
|||
|
/******/ var def = {};
|
|||
|
/******/ leafPrototypes = leafPrototypes || [null, getProto({}), getProto([]), getProto(getProto)];
|
|||
|
/******/ for(var current = mode & 2 && value; typeof current == 'object' && !~leafPrototypes.indexOf(current); current = getProto(current)) {
|
|||
|
/******/ Object.getOwnPropertyNames(current).forEach((key) => (def[key] = () => (value[key])));
|
|||
|
/******/ }
|
|||
|
/******/ def['default'] = () => (value);
|
|||
|
/******/ __webpack_require__.d(ns, def);
|
|||
|
/******/ return ns;
|
|||
|
/******/ };
|
|||
|
/******/ })();
|
|||
|
/******/
|
|||
|
/******/ /* webpack/runtime/define property getters */
|
|||
|
/******/ (() => {
|
|||
|
/******/ // define getter functions for harmony exports
|
|||
|
/******/ __webpack_require__.d = (exports, definition) => {
|
|||
|
/******/ for(var key in definition) {
|
|||
|
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
|||
|
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|||
|
/******/ }
|
|||
|
/******/ }
|
|||
|
/******/ };
|
|||
|
/******/ })();
|
|||
|
/******/
|
|||
|
/******/ /* webpack/runtime/ensure chunk */
|
|||
|
/******/ (() => {
|
|||
|
/******/ __webpack_require__.f = {};
|
|||
|
/******/ // This file contains only the entry chunk.
|
|||
|
/******/ // The chunk loading function for additional chunks
|
|||
|
/******/ __webpack_require__.e = (chunkId) => {
|
|||
|
/******/ return Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => {
|
|||
|
/******/ __webpack_require__.f[key](chunkId, promises);
|
|||
|
/******/ return promises;
|
|||
|
/******/ }, []));
|
|||
|
/******/ };
|
|||
|
/******/ })();
|
|||
|
/******/
|
|||
|
/******/ /* webpack/runtime/get javascript chunk filename */
|
|||
|
/******/ (() => {
|
|||
|
/******/ // This function allow to reference async chunks
|
|||
|
/******/ __webpack_require__.u = (chunkId) => {
|
|||
|
/******/ // return url for filenames based on template
|
|||
|
/******/ return "" + chunkId + ".bundle.js";
|
|||
|
/******/ };
|
|||
|
/******/ })();
|
|||
|
/******/
|
|||
|
/******/ /* webpack/runtime/global */
|
|||
|
/******/ (() => {
|
|||
|
/******/ __webpack_require__.g = (function() {
|
|||
|
/******/ if (typeof globalThis === 'object') return globalThis;
|
|||
|
/******/ try {
|
|||
|
/******/ return this || new Function('return this')();
|
|||
|
/******/ } catch (e) {
|
|||
|
/******/ if (typeof window === 'object') return window;
|
|||
|
/******/ }
|
|||
|
/******/ })();
|
|||
|
/******/ })();
|
|||
|
/******/
|
|||
|
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
|||
|
/******/ (() => {
|
|||
|
/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
|
|||
|
/******/ })();
|
|||
|
/******/
|
|||
|
/******/ /* webpack/runtime/load script */
|
|||
|
/******/ (() => {
|
|||
|
/******/ var inProgress = {};
|
|||
|
/******/ var dataWebpackPrefix = "wallet_connect_modal_test:";
|
|||
|
/******/ // loadScript function to load a script via script tag
|
|||
|
/******/ __webpack_require__.l = (url, done, key, chunkId) => {
|
|||
|
/******/ if(inProgress[url]) { inProgress[url].push(done); return; }
|
|||
|
/******/ var script, needAttach;
|
|||
|
/******/ if(key !== undefined) {
|
|||
|
/******/ var scripts = document.getElementsByTagName("script");
|
|||
|
/******/ for(var i = 0; i < scripts.length; i++) {
|
|||
|
/******/ var s = scripts[i];
|
|||
|
/******/ if(s.getAttribute("src") == url || s.getAttribute("data-webpack") == dataWebpackPrefix + key) { script = s; break; }
|
|||
|
/******/ }
|
|||
|
/******/ }
|
|||
|
/******/ if(!script) {
|
|||
|
/******/ needAttach = true;
|
|||
|
/******/ script = document.createElement('script');
|
|||
|
/******/ script.type = "module";
|
|||
|
/******/ script.charset = 'utf-8';
|
|||
|
/******/ script.timeout = 120;
|
|||
|
/******/ if (__webpack_require__.nc) {
|
|||
|
/******/ script.setAttribute("nonce", __webpack_require__.nc);
|
|||
|
/******/ }
|
|||
|
/******/ script.setAttribute("data-webpack", dataWebpackPrefix + key);
|
|||
|
/******/
|
|||
|
/******/ script.src = url;
|
|||
|
/******/ }
|
|||
|
/******/ inProgress[url] = [done];
|
|||
|
/******/ var onScriptComplete = (prev, event) => {
|
|||
|
/******/ // avoid mem leaks in IE.
|
|||
|
/******/ script.onerror = script.onload = null;
|
|||
|
/******/ clearTimeout(timeout);
|
|||
|
/******/ var doneFns = inProgress[url];
|
|||
|
/******/ delete inProgress[url];
|
|||
|
/******/ script.parentNode && script.parentNode.removeChild(script);
|
|||
|
/******/ doneFns && doneFns.forEach((fn) => (fn(event)));
|
|||
|
/******/ if(prev) return prev(event);
|
|||
|
/******/ }
|
|||
|
/******/ var timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);
|
|||
|
/******/ script.onerror = onScriptComplete.bind(null, script.onerror);
|
|||
|
/******/ script.onload = onScriptComplete.bind(null, script.onload);
|
|||
|
/******/ needAttach && document.head.appendChild(script);
|
|||
|
/******/ };
|
|||
|
/******/ })();
|
|||
|
/******/
|
|||
|
/******/ /* webpack/runtime/make namespace object */
|
|||
|
/******/ (() => {
|
|||
|
/******/ // define __esModule on exports
|
|||
|
/******/ __webpack_require__.r = (exports) => {
|
|||
|
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
|||
|
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|||
|
/******/ }
|
|||
|
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
|||
|
/******/ };
|
|||
|
/******/ })();
|
|||
|
/******/
|
|||
|
/******/ /* webpack/runtime/node module decorator */
|
|||
|
/******/ (() => {
|
|||
|
/******/ __webpack_require__.nmd = (module) => {
|
|||
|
/******/ module.paths = [];
|
|||
|
/******/ if (!module.children) module.children = [];
|
|||
|
/******/ return module;
|
|||
|
/******/ };
|
|||
|
/******/ })();
|
|||
|
/******/
|
|||
|
/******/ /* webpack/runtime/publicPath */
|
|||
|
/******/ (() => {
|
|||
|
/******/ var scriptUrl;
|
|||
|
/******/ if (typeof import.meta.url === "string") scriptUrl = import.meta.url
|
|||
|
/******/ // When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration
|
|||
|
/******/ // or pass an empty string ("") and set the __webpack_public_path__ variable from your code to use your own logic.
|
|||
|
/******/ if (!scriptUrl) throw new Error("Automatic publicPath is not supported in this browser");
|
|||
|
/******/ scriptUrl = scriptUrl.replace(/#.*$/, "").replace(/\?.*$/, "").replace(/\/[^\/]+$/, "/");
|
|||
|
/******/ __webpack_require__.p = scriptUrl;
|
|||
|
/******/ })();
|
|||
|
/******/
|
|||
|
/******/ /* webpack/runtime/jsonp chunk loading */
|
|||
|
/******/ (() => {
|
|||
|
/******/ // no baseURI
|
|||
|
/******/
|
|||
|
/******/ // object to store loaded and loading chunks
|
|||
|
/******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched
|
|||
|
/******/ // [resolve, reject, Promise] = chunk loading, 0 = chunk loaded
|
|||
|
/******/ var installedChunks = {
|
|||
|
/******/ "main": 0
|
|||
|
/******/ };
|
|||
|
/******/
|
|||
|
/******/ __webpack_require__.f.j = (chunkId, promises) => {
|
|||
|
/******/ // JSONP chunk loading for javascript
|
|||
|
/******/ var installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;
|
|||
|
/******/ if(installedChunkData !== 0) { // 0 means "already installed".
|
|||
|
/******/
|
|||
|
/******/ // a Promise means "currently loading".
|
|||
|
/******/ if(installedChunkData) {
|
|||
|
/******/ promises.push(installedChunkData[2]);
|
|||
|
/******/ } else {
|
|||
|
/******/ if(true) { // all chunks have JS
|
|||
|
/******/ // setup Promise in chunk cache
|
|||
|
/******/ var promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject]));
|
|||
|
/******/ promises.push(installedChunkData[2] = promise);
|
|||
|
/******/
|
|||
|
/******/ // start chunk loading
|
|||
|
/******/ var url = __webpack_require__.p + __webpack_require__.u(chunkId);
|
|||
|
/******/ // create error before stack unwound to get useful stacktrace later
|
|||
|
/******/ var error = new Error();
|
|||
|
/******/ var loadingEnded = (event) => {
|
|||
|
/******/ if(__webpack_require__.o(installedChunks, chunkId)) {
|
|||
|
/******/ installedChunkData = installedChunks[chunkId];
|
|||
|
/******/ if(installedChunkData !== 0) installedChunks[chunkId] = undefined;
|
|||
|
/******/ if(installedChunkData) {
|
|||
|
/******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type);
|
|||
|
/******/ var realSrc = event && event.target && event.target.src;
|
|||
|
/******/ error.message = 'Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')';
|
|||
|
/******/ error.name = 'ChunkLoadError';
|
|||
|
/******/ error.type = errorType;
|
|||
|
/******/ error.request = realSrc;
|
|||
|
/******/ installedChunkData[1](error);
|
|||
|
/******/ }
|
|||
|
/******/ }
|
|||
|
/******/ };
|
|||
|
/******/ __webpack_require__.l(url, loadingEnded, "chunk-" + chunkId, chunkId);
|
|||
|
/******/ }
|
|||
|
/******/ }
|
|||
|
/******/ }
|
|||
|
/******/ };
|
|||
|
/******/
|
|||
|
/******/ // no prefetching
|
|||
|
/******/
|
|||
|
/******/ // no preloaded
|
|||
|
/******/
|
|||
|
/******/ // no HMR
|
|||
|
/******/
|
|||
|
/******/ // no HMR manifest
|
|||
|
/******/
|
|||
|
/******/ // no on chunks loaded
|
|||
|
/******/
|
|||
|
/******/ // install a JSONP callback for chunk loading
|
|||
|
/******/ var webpackJsonpCallback = (parentChunkLoadingFunction, data) => {
|
|||
|
/******/ var [chunkIds, moreModules, runtime] = data;
|
|||
|
/******/ // add "moreModules" to the modules object,
|
|||
|
/******/ // then flag all "chunkIds" as loaded and fire callback
|
|||
|
/******/ var moduleId, chunkId, i = 0;
|
|||
|
/******/ if(chunkIds.some((id) => (installedChunks[id] !== 0))) {
|
|||
|
/******/ for(moduleId in moreModules) {
|
|||
|
/******/ if(__webpack_require__.o(moreModules, moduleId)) {
|
|||
|
/******/ __webpack_require__.m[moduleId] = moreModules[moduleId];
|
|||
|
/******/ }
|
|||
|
/******/ }
|
|||
|
/******/ if(runtime) var result = runtime(__webpack_require__);
|
|||
|
/******/ }
|
|||
|
/******/ if(parentChunkLoadingFunction) parentChunkLoadingFunction(data);
|
|||
|
/******/ for(;i < chunkIds.length; i++) {
|
|||
|
/******/ chunkId = chunkIds[i];
|
|||
|
/******/ if(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {
|
|||
|
/******/ installedChunks[chunkId][0]();
|
|||
|
/******/ }
|
|||
|
/******/ installedChunks[chunkId] = 0;
|
|||
|
/******/ }
|
|||
|
/******/
|
|||
|
/******/ }
|
|||
|
/******/
|
|||
|
/******/ var chunkLoadingGlobal = self["webpackChunkwallet_connect_modal_test"] = self["webpackChunkwallet_connect_modal_test"] || [];
|
|||
|
/******/ chunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));
|
|||
|
/******/ chunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));
|
|||
|
/******/ })();
|
|||
|
/******/
|
|||
|
/************************************************************************/
|
|||
|
/******/
|
|||
|
/******/ // startup
|
|||
|
/******/ // Load entry module and return exports
|
|||
|
/******/ // This entry module can't be inlined because the eval devtool is used.
|
|||
|
/******/ var __webpack_exports__ = __webpack_require__("./src/main.ts");
|
|||
|
/******/
|