@namehash/namehash-ui 1.5.0 → 1.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -3,16 +3,16 @@ var __esm = (fn, res) => function __init() {
3
3
  return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
4
4
  };
5
5
 
6
- // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/errors/version.js
6
+ // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/errors/version.js
7
7
  var version;
8
8
  var init_version = __esm({
9
- "../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/errors/version.js"() {
9
+ "../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/errors/version.js"() {
10
10
  "use strict";
11
11
  version = "2.38.5";
12
12
  }
13
13
  });
14
14
 
15
- // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/errors/base.js
15
+ // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/errors/base.js
16
16
  function walk(err, fn) {
17
17
  if (fn?.(err))
18
18
  return err;
@@ -22,7 +22,7 @@ function walk(err, fn) {
22
22
  }
23
23
  var errorConfig, BaseError;
24
24
  var init_base = __esm({
25
- "../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/errors/base.js"() {
25
+ "../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/errors/base.js"() {
26
26
  "use strict";
27
27
  init_version();
28
28
  errorConfig = {
@@ -103,10 +103,10 @@ var init_base = __esm({
103
103
  }
104
104
  });
105
105
 
106
- // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/errors/encoding.js
106
+ // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/errors/encoding.js
107
107
  var IntegerOutOfRangeError, SizeOverflowError;
108
108
  var init_encoding = __esm({
109
- "../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/errors/encoding.js"() {
109
+ "../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/errors/encoding.js"() {
110
110
  "use strict";
111
111
  init_base();
112
112
  IntegerOutOfRangeError = class extends BaseError {
@@ -122,7 +122,7 @@ var init_encoding = __esm({
122
122
  }
123
123
  });
124
124
 
125
- // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/data/isHex.js
125
+ // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/data/isHex.js
126
126
  function isHex(value, { strict = true } = {}) {
127
127
  if (!value)
128
128
  return false;
@@ -131,25 +131,25 @@ function isHex(value, { strict = true } = {}) {
131
131
  return strict ? /^0x[0-9a-fA-F]*$/.test(value) : value.startsWith("0x");
132
132
  }
133
133
  var init_isHex = __esm({
134
- "../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/data/isHex.js"() {
134
+ "../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/data/isHex.js"() {
135
135
  "use strict";
136
136
  }
137
137
  });
138
138
 
139
- // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/data/size.js
139
+ // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/data/size.js
140
140
  function size(value) {
141
141
  if (isHex(value, { strict: false }))
142
142
  return Math.ceil((value.length - 2) / 2);
143
143
  return value.length;
144
144
  }
145
145
  var init_size = __esm({
146
- "../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/data/size.js"() {
146
+ "../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/data/size.js"() {
147
147
  "use strict";
148
148
  init_isHex();
149
149
  }
150
150
  });
151
151
 
152
- // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/data/trim.js
152
+ // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/data/trim.js
153
153
  function trim(hexOrBytes, { dir = "left" } = {}) {
154
154
  let data = typeof hexOrBytes === "string" ? hexOrBytes.replace("0x", "") : hexOrBytes;
155
155
  let sliceLength = 0;
@@ -168,15 +168,15 @@ function trim(hexOrBytes, { dir = "left" } = {}) {
168
168
  return data;
169
169
  }
170
170
  var init_trim = __esm({
171
- "../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/data/trim.js"() {
171
+ "../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/data/trim.js"() {
172
172
  "use strict";
173
173
  }
174
174
  });
175
175
 
176
- // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/errors/data.js
176
+ // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/errors/data.js
177
177
  var SliceOffsetOutOfBoundsError, SizeExceedsPaddingSizeError;
178
178
  var init_data = __esm({
179
- "../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/errors/data.js"() {
179
+ "../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/errors/data.js"() {
180
180
  "use strict";
181
181
  init_base();
182
182
  SliceOffsetOutOfBoundsError = class extends BaseError {
@@ -192,7 +192,7 @@ var init_data = __esm({
192
192
  }
193
193
  });
194
194
 
195
- // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/data/pad.js
195
+ // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/data/pad.js
196
196
  function pad(hexOrBytes, { dir, size: size2 = 32 } = {}) {
197
197
  if (typeof hexOrBytes === "string")
198
198
  return padHex(hexOrBytes, { dir, size: size2 });
@@ -227,13 +227,13 @@ function padBytes(bytes, { dir, size: size2 = 32 } = {}) {
227
227
  return paddedBytes;
228
228
  }
229
229
  var init_pad = __esm({
230
- "../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/data/pad.js"() {
230
+ "../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/data/pad.js"() {
231
231
  "use strict";
232
232
  init_data();
233
233
  }
234
234
  });
235
235
 
236
- // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/encoding/toHex.js
236
+ // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/encoding/toHex.js
237
237
  function toHex(value, opts = {}) {
238
238
  if (typeof value === "number" || typeof value === "bigint")
239
239
  return numberToHex(value, opts);
@@ -298,7 +298,7 @@ function stringToHex(value_, opts = {}) {
298
298
  }
299
299
  var hexes, encoder;
300
300
  var init_toHex = __esm({
301
- "../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/encoding/toHex.js"() {
301
+ "../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/encoding/toHex.js"() {
302
302
  "use strict";
303
303
  init_encoding();
304
304
  init_pad();
@@ -308,7 +308,7 @@ var init_toHex = __esm({
308
308
  }
309
309
  });
310
310
 
311
- // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/encoding/toBytes.js
311
+ // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/encoding/toBytes.js
312
312
  function toBytes(value, opts = {}) {
313
313
  if (typeof value === "number" || typeof value === "bigint")
314
314
  return numberToBytes(value, opts);
@@ -371,7 +371,7 @@ function stringToBytes(value, opts = {}) {
371
371
  }
372
372
  var encoder2, charCodeMap;
373
373
  var init_toBytes = __esm({
374
- "../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/encoding/toBytes.js"() {
374
+ "../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/encoding/toBytes.js"() {
375
375
  "use strict";
376
376
  init_base();
377
377
  init_isHex();
@@ -390,7 +390,7 @@ var init_toBytes = __esm({
390
390
  }
391
391
  });
392
392
 
393
- // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/encoding/fromHex.js
393
+ // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/encoding/fromHex.js
394
394
  function assertSize(hexOrBytes, { size: size2 }) {
395
395
  if (size(hexOrBytes) > size2)
396
396
  throw new SizeOverflowError({
@@ -415,14 +415,14 @@ function hexToNumber(hex, opts = {}) {
415
415
  return Number(hexToBigInt(hex, opts));
416
416
  }
417
417
  var init_fromHex = __esm({
418
- "../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/encoding/fromHex.js"() {
418
+ "../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/encoding/fromHex.js"() {
419
419
  "use strict";
420
420
  init_encoding();
421
421
  init_size();
422
422
  }
423
423
  });
424
424
 
425
- // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/formatters/formatter.js
425
+ // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/formatters/formatter.js
426
426
  function defineFormatter(type, format) {
427
427
  return ({ exclude, format: overrides }) => {
428
428
  return {
@@ -444,12 +444,12 @@ function defineFormatter(type, format) {
444
444
  };
445
445
  }
446
446
  var init_formatter = __esm({
447
- "../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/formatters/formatter.js"() {
447
+ "../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/formatters/formatter.js"() {
448
448
  "use strict";
449
449
  }
450
450
  });
451
451
 
452
- // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/formatters/transactionRequest.js
452
+ // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/formatters/transactionRequest.js
453
453
  function formatTransactionRequest(request, _) {
454
454
  const rpcRequest = {};
455
455
  if (typeof request.authorizationList !== "undefined")
@@ -503,7 +503,7 @@ function formatAuthorizationList2(authorizationList) {
503
503
  }
504
504
  var rpcTransactionType;
505
505
  var init_transactionRequest = __esm({
506
- "../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/formatters/transactionRequest.js"() {
506
+ "../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/formatters/transactionRequest.js"() {
507
507
  "use strict";
508
508
  init_toHex();
509
509
  rpcTransactionType = {
@@ -516,10 +516,10 @@ var init_transactionRequest = __esm({
516
516
  }
517
517
  });
518
518
 
519
- // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/constants/number.js
519
+ // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/constants/number.js
520
520
  var maxInt8, maxInt16, maxInt24, maxInt32, maxInt40, maxInt48, maxInt56, maxInt64, maxInt72, maxInt80, maxInt88, maxInt96, maxInt104, maxInt112, maxInt120, maxInt128, maxInt136, maxInt144, maxInt152, maxInt160, maxInt168, maxInt176, maxInt184, maxInt192, maxInt200, maxInt208, maxInt216, maxInt224, maxInt232, maxInt240, maxInt248, maxInt256, minInt8, minInt16, minInt24, minInt32, minInt40, minInt48, minInt56, minInt64, minInt72, minInt80, minInt88, minInt96, minInt104, minInt112, minInt120, minInt128, minInt136, minInt144, minInt152, minInt160, minInt168, minInt176, minInt184, minInt192, minInt200, minInt208, minInt216, minInt224, minInt232, minInt240, minInt248, minInt256, maxUint8, maxUint16, maxUint24, maxUint32, maxUint40, maxUint48, maxUint56, maxUint64, maxUint72, maxUint80, maxUint88, maxUint96, maxUint104, maxUint112, maxUint120, maxUint128, maxUint136, maxUint144, maxUint152, maxUint160, maxUint168, maxUint176, maxUint184, maxUint192, maxUint200, maxUint208, maxUint216, maxUint224, maxUint232, maxUint240, maxUint248, maxUint256;
521
521
  var init_number = __esm({
522
- "../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/constants/number.js"() {
522
+ "../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/constants/number.js"() {
523
523
  "use strict";
524
524
  maxInt8 = 2n ** (8n - 1n) - 1n;
525
525
  maxInt16 = 2n ** (16n - 1n) - 1n;
@@ -620,20 +620,20 @@ var init_number = __esm({
620
620
  }
621
621
  });
622
622
 
623
- // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/data/concat.js
623
+ // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/data/concat.js
624
624
  function concatHex(values) {
625
625
  return `0x${values.reduce((acc, x) => acc + x.replace("0x", ""), "")}`;
626
626
  }
627
627
  var init_concat = __esm({
628
- "../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/data/concat.js"() {
628
+ "../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/data/concat.js"() {
629
629
  "use strict";
630
630
  }
631
631
  });
632
632
 
633
- // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/errors/cursor.js
633
+ // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/errors/cursor.js
634
634
  var NegativeOffsetError, PositionOutOfBoundsError, RecursiveReadLimitExceededError;
635
635
  var init_cursor = __esm({
636
- "../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/errors/cursor.js"() {
636
+ "../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/errors/cursor.js"() {
637
637
  "use strict";
638
638
  init_base();
639
639
  NegativeOffsetError = class extends BaseError {
@@ -656,7 +656,7 @@ var init_cursor = __esm({
656
656
  }
657
657
  });
658
658
 
659
- // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/cursor.js
659
+ // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/cursor.js
660
660
  function createCursor(bytes, { recursiveReadLimit = 8192 } = {}) {
661
661
  const cursor = Object.create(staticCursor);
662
662
  cursor.bytes = bytes;
@@ -667,7 +667,7 @@ function createCursor(bytes, { recursiveReadLimit = 8192 } = {}) {
667
667
  }
668
668
  var staticCursor;
669
669
  var init_cursor2 = __esm({
670
- "../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/cursor.js"() {
670
+ "../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/cursor.js"() {
671
671
  "use strict";
672
672
  init_cursor();
673
673
  staticCursor = {
@@ -832,10 +832,10 @@ var init_cursor2 = __esm({
832
832
  }
833
833
  });
834
834
 
835
- // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/constants/unit.js
835
+ // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/constants/unit.js
836
836
  var etherUnits, gweiUnits;
837
837
  var init_unit = __esm({
838
- "../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/constants/unit.js"() {
838
+ "../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/constants/unit.js"() {
839
839
  "use strict";
840
840
  etherUnits = {
841
841
  gwei: 9,
@@ -848,7 +848,7 @@ var init_unit = __esm({
848
848
  }
849
849
  });
850
850
 
851
- // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/unit/formatUnits.js
851
+ // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/unit/formatUnits.js
852
852
  function formatUnits(value, decimals) {
853
853
  let display = value.toString();
854
854
  const negative = display.startsWith("-");
@@ -863,36 +863,36 @@ function formatUnits(value, decimals) {
863
863
  return `${negative ? "-" : ""}${integer || "0"}${fraction ? `.${fraction}` : ""}`;
864
864
  }
865
865
  var init_formatUnits = __esm({
866
- "../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/unit/formatUnits.js"() {
866
+ "../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/unit/formatUnits.js"() {
867
867
  "use strict";
868
868
  }
869
869
  });
870
870
 
871
- // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/unit/formatEther.js
871
+ // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/unit/formatEther.js
872
872
  function formatEther(wei, unit = "wei") {
873
873
  return formatUnits(wei, etherUnits[unit]);
874
874
  }
875
875
  var init_formatEther = __esm({
876
- "../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/unit/formatEther.js"() {
876
+ "../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/unit/formatEther.js"() {
877
877
  "use strict";
878
878
  init_unit();
879
879
  init_formatUnits();
880
880
  }
881
881
  });
882
882
 
883
- // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/unit/formatGwei.js
883
+ // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/unit/formatGwei.js
884
884
  function formatGwei(wei, unit = "wei") {
885
885
  return formatUnits(wei, gweiUnits[unit]);
886
886
  }
887
887
  var init_formatGwei = __esm({
888
- "../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/unit/formatGwei.js"() {
888
+ "../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/unit/formatGwei.js"() {
889
889
  "use strict";
890
890
  init_unit();
891
891
  init_formatUnits();
892
892
  }
893
893
  });
894
894
 
895
- // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/errors/transaction.js
895
+ // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/errors/transaction.js
896
896
  function prettyPrint(args) {
897
897
  const entries = Object.entries(args).map(([key, value]) => {
898
898
  if (value === void 0 || value === false)
@@ -904,7 +904,7 @@ function prettyPrint(args) {
904
904
  }
905
905
  var FeeConflictError, InvalidLegacyVError, InvalidSerializableTransactionError, InvalidStorageKeySizeError;
906
906
  var init_transaction = __esm({
907
- "../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/errors/transaction.js"() {
907
+ "../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/errors/transaction.js"() {
908
908
  "use strict";
909
909
  init_base();
910
910
  FeeConflictError = class extends BaseError {
@@ -1335,10 +1335,10 @@ var init_sha2 = __esm({
1335
1335
  }
1336
1336
  });
1337
1337
 
1338
- // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/errors/address.js
1338
+ // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/errors/address.js
1339
1339
  var InvalidAddressError;
1340
1340
  var init_address = __esm({
1341
- "../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/errors/address.js"() {
1341
+ "../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/errors/address.js"() {
1342
1342
  "use strict";
1343
1343
  init_base();
1344
1344
  InvalidAddressError = class extends BaseError {
@@ -1355,10 +1355,10 @@ var init_address = __esm({
1355
1355
  }
1356
1356
  });
1357
1357
 
1358
- // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/errors/chain.js
1358
+ // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/errors/chain.js
1359
1359
  var InvalidChainIdError;
1360
1360
  var init_chain = __esm({
1361
- "../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/errors/chain.js"() {
1361
+ "../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/errors/chain.js"() {
1362
1362
  "use strict";
1363
1363
  init_base();
1364
1364
  InvalidChainIdError = class extends BaseError {
@@ -1369,10 +1369,10 @@ var init_chain = __esm({
1369
1369
  }
1370
1370
  });
1371
1371
 
1372
- // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/errors/node.js
1372
+ // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/errors/node.js
1373
1373
  var ExecutionRevertedError, FeeCapTooHighError, FeeCapTooLowError, NonceTooHighError, NonceTooLowError, NonceMaxValueError, InsufficientFundsError, IntrinsicGasTooHighError, IntrinsicGasTooLowError, TransactionTypeNotSupportedError, TipAboveFeeCapError, UnknownNodeError;
1374
1374
  var init_node = __esm({
1375
- "../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/errors/node.js"() {
1375
+ "../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/errors/node.js"() {
1376
1376
  "use strict";
1377
1377
  init_formatGwei();
1378
1378
  init_base();
@@ -1556,10 +1556,10 @@ var init_node = __esm({
1556
1556
  }
1557
1557
  });
1558
1558
 
1559
- // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/lru.js
1559
+ // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/lru.js
1560
1560
  var LruMap;
1561
1561
  var init_lru = __esm({
1562
- "../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/lru.js"() {
1562
+ "../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/lru.js"() {
1563
1563
  "use strict";
1564
1564
  LruMap = class extends Map {
1565
1565
  constructor(size2) {
@@ -1782,7 +1782,7 @@ var init_sha3 = __esm({
1782
1782
  }
1783
1783
  });
1784
1784
 
1785
- // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/hash/keccak256.js
1785
+ // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/hash/keccak256.js
1786
1786
  function keccak256(value, to_) {
1787
1787
  const to = to_ || "hex";
1788
1788
  const bytes = keccak_256(isHex(value, { strict: false }) ? toBytes(value) : value);
@@ -1791,7 +1791,7 @@ function keccak256(value, to_) {
1791
1791
  return toHex(bytes);
1792
1792
  }
1793
1793
  var init_keccak256 = __esm({
1794
- "../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/hash/keccak256.js"() {
1794
+ "../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/hash/keccak256.js"() {
1795
1795
  "use strict";
1796
1796
  init_sha3();
1797
1797
  init_isHex();
@@ -1800,7 +1800,7 @@ var init_keccak256 = __esm({
1800
1800
  }
1801
1801
  });
1802
1802
 
1803
- // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/address/getAddress.js
1803
+ // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/address/getAddress.js
1804
1804
  function checksumAddress(address_, chainId) {
1805
1805
  if (checksumAddressCache.has(`${address_}.${chainId}`))
1806
1806
  return checksumAddressCache.get(`${address_}.${chainId}`);
@@ -1826,7 +1826,7 @@ function getAddress(address, chainId) {
1826
1826
  }
1827
1827
  var checksumAddressCache;
1828
1828
  var init_getAddress = __esm({
1829
- "../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/address/getAddress.js"() {
1829
+ "../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/address/getAddress.js"() {
1830
1830
  "use strict";
1831
1831
  init_address();
1832
1832
  init_toBytes();
@@ -1837,7 +1837,7 @@ var init_getAddress = __esm({
1837
1837
  }
1838
1838
  });
1839
1839
 
1840
- // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/address/isAddress.js
1840
+ // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/address/isAddress.js
1841
1841
  function isAddress(address, options) {
1842
1842
  const { strict = true } = options ?? {};
1843
1843
  const cacheKey = `${address}.${strict}`;
@@ -1857,7 +1857,7 @@ function isAddress(address, options) {
1857
1857
  }
1858
1858
  var addressRegex, isAddressCache;
1859
1859
  var init_isAddress = __esm({
1860
- "../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/address/isAddress.js"() {
1860
+ "../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/address/isAddress.js"() {
1861
1861
  "use strict";
1862
1862
  init_lru();
1863
1863
  init_getAddress();
@@ -1866,7 +1866,7 @@ var init_isAddress = __esm({
1866
1866
  }
1867
1867
  });
1868
1868
 
1869
- // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/data/slice.js
1869
+ // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/data/slice.js
1870
1870
  function slice(value, start, end, { strict } = {}) {
1871
1871
  if (isHex(value, { strict: false }))
1872
1872
  return sliceHex(value, start, end, {
@@ -1908,7 +1908,7 @@ function sliceHex(value_, start, end, { strict } = {}) {
1908
1908
  return value;
1909
1909
  }
1910
1910
  var init_slice = __esm({
1911
- "../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/data/slice.js"() {
1911
+ "../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/data/slice.js"() {
1912
1912
  "use strict";
1913
1913
  init_data();
1914
1914
  init_isHex();
@@ -1916,19 +1916,19 @@ var init_slice = __esm({
1916
1916
  }
1917
1917
  });
1918
1918
 
1919
- // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/accounts/utils/parseAccount.js
1919
+ // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/accounts/utils/parseAccount.js
1920
1920
  function parseAccount(account) {
1921
1921
  if (typeof account === "string")
1922
1922
  return { address: account, type: "json-rpc" };
1923
1923
  return account;
1924
1924
  }
1925
1925
  var init_parseAccount = __esm({
1926
- "../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/accounts/utils/parseAccount.js"() {
1926
+ "../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/accounts/utils/parseAccount.js"() {
1927
1927
  "use strict";
1928
1928
  }
1929
1929
  });
1930
1930
 
1931
- // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/errors/stateOverride.js
1931
+ // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/errors/stateOverride.js
1932
1932
  function prettyStateMapping(stateMapping) {
1933
1933
  return stateMapping.reduce((pretty, { slot, value }) => {
1934
1934
  return `${pretty} ${slot}: ${value}
@@ -1960,15 +1960,15 @@ function prettyStateOverride(stateOverride) {
1960
1960
  }, " State Override:\n").slice(0, -1);
1961
1961
  }
1962
1962
  var init_stateOverride = __esm({
1963
- "../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/errors/stateOverride.js"() {
1963
+ "../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/errors/stateOverride.js"() {
1964
1964
  "use strict";
1965
1965
  }
1966
1966
  });
1967
1967
 
1968
- // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/errors/contract.js
1968
+ // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/errors/contract.js
1969
1969
  var CallExecutionError;
1970
1970
  var init_contract = __esm({
1971
- "../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/errors/contract.js"() {
1971
+ "../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/errors/contract.js"() {
1972
1972
  "use strict";
1973
1973
  init_parseAccount();
1974
1974
  init_formatEther();
@@ -2016,7 +2016,7 @@ ${prettyStateOverride(stateOverride)}`;
2016
2016
  }
2017
2017
  });
2018
2018
 
2019
- // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/errors/getNodeError.js
2019
+ // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/errors/getNodeError.js
2020
2020
  function getNodeError(err, args) {
2021
2021
  const message = (err.details || "").toLowerCase();
2022
2022
  const executionRevertedError = err instanceof BaseError ? err.walk((e) => e?.code === ExecutionRevertedError.code) : err;
@@ -2065,14 +2065,14 @@ function getNodeError(err, args) {
2065
2065
  });
2066
2066
  }
2067
2067
  var init_getNodeError = __esm({
2068
- "../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/errors/getNodeError.js"() {
2068
+ "../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/errors/getNodeError.js"() {
2069
2069
  "use strict";
2070
2070
  init_base();
2071
2071
  init_node();
2072
2072
  }
2073
2073
  });
2074
2074
 
2075
- // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/errors/getCallError.js
2075
+ // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/errors/getCallError.js
2076
2076
  function getCallError(err, { docsPath, ...args }) {
2077
2077
  const cause = (() => {
2078
2078
  const cause2 = getNodeError(err, args);
@@ -2086,7 +2086,7 @@ function getCallError(err, { docsPath, ...args }) {
2086
2086
  });
2087
2087
  }
2088
2088
  var init_getCallError = __esm({
2089
- "../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/errors/getCallError.js"() {
2089
+ "../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/errors/getCallError.js"() {
2090
2090
  "use strict";
2091
2091
  init_contract();
2092
2092
  init_node();
@@ -2094,7 +2094,7 @@ var init_getCallError = __esm({
2094
2094
  }
2095
2095
  });
2096
2096
 
2097
- // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/formatters/extract.js
2097
+ // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/formatters/extract.js
2098
2098
  function extract(value_, { format }) {
2099
2099
  if (!format)
2100
2100
  return {};
@@ -2113,12 +2113,12 @@ function extract(value_, { format }) {
2113
2113
  return value;
2114
2114
  }
2115
2115
  var init_extract = __esm({
2116
- "../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/formatters/extract.js"() {
2116
+ "../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/formatters/extract.js"() {
2117
2117
  "use strict";
2118
2118
  }
2119
2119
  });
2120
2120
 
2121
- // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/transaction/assertRequest.js
2121
+ // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/transaction/assertRequest.js
2122
2122
  function assertRequest(args) {
2123
2123
  const { account: account_, gasPrice, maxFeePerGas, maxPriorityFeePerGas, to } = args;
2124
2124
  const account = account_ ? parseAccount(account_) : void 0;
@@ -2134,7 +2134,7 @@ function assertRequest(args) {
2134
2134
  throw new TipAboveFeeCapError({ maxFeePerGas, maxPriorityFeePerGas });
2135
2135
  }
2136
2136
  var init_assertRequest = __esm({
2137
- "../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/transaction/assertRequest.js"() {
2137
+ "../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/transaction/assertRequest.js"() {
2138
2138
  "use strict";
2139
2139
  init_parseAccount();
2140
2140
  init_number();
@@ -2145,7 +2145,7 @@ var init_assertRequest = __esm({
2145
2145
  }
2146
2146
  });
2147
2147
 
2148
- // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/chain/defineChain.js
2148
+ // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/chain/defineChain.js
2149
2149
  function defineChain(chain) {
2150
2150
  return {
2151
2151
  formatters: void 0,
@@ -2155,10 +2155,10 @@ function defineChain(chain) {
2155
2155
  };
2156
2156
  }
2157
2157
 
2158
- // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/formatters/block.js
2158
+ // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/formatters/block.js
2159
2159
  init_formatter();
2160
2160
 
2161
- // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/formatters/transaction.js
2161
+ // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/formatters/transaction.js
2162
2162
  init_fromHex();
2163
2163
  init_formatter();
2164
2164
  var transactionType = {
@@ -2231,7 +2231,7 @@ function formatAuthorizationList(authorizationList) {
2231
2231
  }));
2232
2232
  }
2233
2233
 
2234
- // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/formatters/block.js
2234
+ // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/formatters/block.js
2235
2235
  function formatBlock(block, _) {
2236
2236
  const transactions = (block.transactions ?? []).map((transaction) => {
2237
2237
  if (typeof transaction === "string")
@@ -2258,7 +2258,7 @@ function formatBlock(block, _) {
2258
2258
  }
2259
2259
  var defineBlock = /* @__PURE__ */ defineFormatter("block", formatBlock);
2260
2260
 
2261
- // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/formatters/log.js
2261
+ // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/formatters/log.js
2262
2262
  function formatLog(log, { args, eventName } = {}) {
2263
2263
  return {
2264
2264
  ...log,
@@ -2271,7 +2271,7 @@ function formatLog(log, { args, eventName } = {}) {
2271
2271
  };
2272
2272
  }
2273
2273
 
2274
- // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/formatters/transactionReceipt.js
2274
+ // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/formatters/transactionReceipt.js
2275
2275
  init_fromHex();
2276
2276
  init_formatter();
2277
2277
  var receiptStatuses = {
@@ -2300,7 +2300,7 @@ function formatTransactionReceipt(transactionReceipt, _) {
2300
2300
  }
2301
2301
  var defineTransactionReceipt = /* @__PURE__ */ defineFormatter("transactionReceipt", formatTransactionReceipt);
2302
2302
 
2303
- // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/encoding/toRlp.js
2303
+ // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/encoding/toRlp.js
2304
2304
  init_base();
2305
2305
  init_cursor2();
2306
2306
  init_toBytes();
@@ -2393,10 +2393,10 @@ function getSizeOfLength(length) {
2393
2393
  throw new BaseError("Length is too large.");
2394
2394
  }
2395
2395
 
2396
- // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/transaction/serializeTransaction.js
2396
+ // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/transaction/serializeTransaction.js
2397
2397
  init_transaction();
2398
2398
 
2399
- // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/authorization/serializeAuthorizationList.js
2399
+ // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/authorization/serializeAuthorizationList.js
2400
2400
  init_toHex();
2401
2401
  function serializeAuthorizationList(authorizationList) {
2402
2402
  if (!authorizationList || authorizationList.length === 0)
@@ -2415,7 +2415,7 @@ function serializeAuthorizationList(authorizationList) {
2415
2415
  return serializedAuthorizationList;
2416
2416
  }
2417
2417
 
2418
- // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/blob/blobsToCommitments.js
2418
+ // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/blob/blobsToCommitments.js
2419
2419
  init_toBytes();
2420
2420
  init_toHex();
2421
2421
  function blobsToCommitments(parameters) {
@@ -2428,7 +2428,7 @@ function blobsToCommitments(parameters) {
2428
2428
  return to === "bytes" ? commitments : commitments.map((x) => bytesToHex(x));
2429
2429
  }
2430
2430
 
2431
- // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/blob/blobsToProofs.js
2431
+ // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/blob/blobsToProofs.js
2432
2432
  init_toBytes();
2433
2433
  init_toHex();
2434
2434
  function blobsToProofs(parameters) {
@@ -2445,14 +2445,14 @@ function blobsToProofs(parameters) {
2445
2445
  return to === "bytes" ? proofs : proofs.map((x) => bytesToHex(x));
2446
2446
  }
2447
2447
 
2448
- // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/blob/commitmentToVersionedHash.js
2448
+ // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/blob/commitmentToVersionedHash.js
2449
2449
  init_toHex();
2450
2450
 
2451
2451
  // ../../node_modules/.pnpm/@noble+hashes@1.8.0/node_modules/@noble/hashes/esm/sha256.js
2452
2452
  init_sha2();
2453
2453
  var sha2562 = sha256;
2454
2454
 
2455
- // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/hash/sha256.js
2455
+ // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/hash/sha256.js
2456
2456
  init_isHex();
2457
2457
  init_toBytes();
2458
2458
  init_toHex();
@@ -2464,7 +2464,7 @@ function sha2563(value, to_) {
2464
2464
  return toHex(bytes);
2465
2465
  }
2466
2466
 
2467
- // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/blob/commitmentToVersionedHash.js
2467
+ // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/blob/commitmentToVersionedHash.js
2468
2468
  function commitmentToVersionedHash(parameters) {
2469
2469
  const { commitment, version: version2 = 1 } = parameters;
2470
2470
  const to = parameters.to ?? (typeof commitment === "string" ? "hex" : "bytes");
@@ -2473,7 +2473,7 @@ function commitmentToVersionedHash(parameters) {
2473
2473
  return to === "bytes" ? versionedHash : bytesToHex(versionedHash);
2474
2474
  }
2475
2475
 
2476
- // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/blob/commitmentsToVersionedHashes.js
2476
+ // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/blob/commitmentsToVersionedHashes.js
2477
2477
  function commitmentsToVersionedHashes(parameters) {
2478
2478
  const { commitments, version: version2 } = parameters;
2479
2479
  const to = parameters.to ?? (typeof commitments[0] === "string" ? "hex" : "bytes");
@@ -2488,7 +2488,7 @@ function commitmentsToVersionedHashes(parameters) {
2488
2488
  return hashes;
2489
2489
  }
2490
2490
 
2491
- // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/constants/blob.js
2491
+ // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/constants/blob.js
2492
2492
  var blobsPerTransaction = 6;
2493
2493
  var bytesPerFieldElement = 32;
2494
2494
  var fieldElementsPerBlob = 4096;
@@ -2497,10 +2497,10 @@ var maxBytesPerTransaction = bytesPerBlob * blobsPerTransaction - // terminator
2497
2497
  1 - // zero byte (0x00) appended to each field element.
2498
2498
  1 * fieldElementsPerBlob * blobsPerTransaction;
2499
2499
 
2500
- // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/constants/kzg.js
2500
+ // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/constants/kzg.js
2501
2501
  var versionedHashVersionKzg = 1;
2502
2502
 
2503
- // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/errors/blob.js
2503
+ // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/errors/blob.js
2504
2504
  init_base();
2505
2505
  var BlobSizeTooLargeError = class extends BaseError {
2506
2506
  constructor({ maxSize, size: size2 }) {
@@ -2535,7 +2535,7 @@ var InvalidVersionedHashVersionError = class extends BaseError {
2535
2535
  }
2536
2536
  };
2537
2537
 
2538
- // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/blob/toBlobs.js
2538
+ // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/blob/toBlobs.js
2539
2539
  init_cursor2();
2540
2540
  init_size();
2541
2541
  init_toBytes();
@@ -2574,7 +2574,7 @@ function toBlobs(parameters) {
2574
2574
  return to === "bytes" ? blobs.map((x) => x.bytes) : blobs.map((x) => bytesToHex(x.bytes));
2575
2575
  }
2576
2576
 
2577
- // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/blob/toBlobSidecars.js
2577
+ // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/blob/toBlobSidecars.js
2578
2578
  function toBlobSidecars(parameters) {
2579
2579
  const { data, kzg, to } = parameters;
2580
2580
  const blobs = parameters.blobs ?? toBlobs({ data, to });
@@ -2590,12 +2590,12 @@ function toBlobSidecars(parameters) {
2590
2590
  return sidecars;
2591
2591
  }
2592
2592
 
2593
- // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/transaction/serializeTransaction.js
2593
+ // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/transaction/serializeTransaction.js
2594
2594
  init_concat();
2595
2595
  init_trim();
2596
2596
  init_toHex();
2597
2597
 
2598
- // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/transaction/assertTransaction.js
2598
+ // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/transaction/assertTransaction.js
2599
2599
  init_number();
2600
2600
  init_address();
2601
2601
  init_base();
@@ -2672,7 +2672,7 @@ function assertTransactionLegacy(transaction) {
2672
2672
  throw new FeeCapTooHighError({ maxFeePerGas: gasPrice });
2673
2673
  }
2674
2674
 
2675
- // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/transaction/getTransactionType.js
2675
+ // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/transaction/getTransactionType.js
2676
2676
  init_transaction();
2677
2677
  function getTransactionType(transaction) {
2678
2678
  if (transaction.type)
@@ -2692,7 +2692,7 @@ function getTransactionType(transaction) {
2692
2692
  throw new InvalidSerializableTransactionError({ transaction });
2693
2693
  }
2694
2694
 
2695
- // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/transaction/serializeAccessList.js
2695
+ // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/transaction/serializeAccessList.js
2696
2696
  init_address();
2697
2697
  init_transaction();
2698
2698
  init_isAddress();
@@ -2715,7 +2715,7 @@ function serializeAccessList(accessList) {
2715
2715
  return serializedAccessList;
2716
2716
  }
2717
2717
 
2718
- // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/transaction/serializeTransaction.js
2718
+ // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/transaction/serializeTransaction.js
2719
2719
  function serializeTransaction(transaction, signature) {
2720
2720
  const type = getTransactionType(transaction);
2721
2721
  if (type === "eip1559")
@@ -2915,7 +2915,7 @@ function toYParitySignatureArray(transaction, signature_) {
2915
2915
  return [yParity_, r === "0x00" ? "0x" : r, s === "0x00" ? "0x" : s];
2916
2916
  }
2917
2917
 
2918
- // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/op-stack/contracts.js
2918
+ // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/op-stack/contracts.js
2919
2919
  var contracts = {
2920
2920
  gasPriceOracle: { address: "0x420000000000000000000000000000000000000F" },
2921
2921
  l1Block: { address: "0x4200000000000000000000000000000000000015" },
@@ -2929,7 +2929,7 @@ var contracts = {
2929
2929
  }
2930
2930
  };
2931
2931
 
2932
- // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/op-stack/formatters.js
2932
+ // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/op-stack/formatters.js
2933
2933
  init_fromHex();
2934
2934
  var formatters = {
2935
2935
  block: /* @__PURE__ */ defineBlock({
@@ -2976,7 +2976,7 @@ var formatters = {
2976
2976
  })
2977
2977
  };
2978
2978
 
2979
- // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/op-stack/serializers.js
2979
+ // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/op-stack/serializers.js
2980
2980
  init_address();
2981
2981
  init_isAddress();
2982
2982
  init_concat();
@@ -3022,7 +3022,7 @@ function assertTransactionDeposit(transaction) {
3022
3022
  throw new InvalidAddressError({ address: to });
3023
3023
  }
3024
3024
 
3025
- // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/op-stack/chainConfig.js
3025
+ // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/op-stack/chainConfig.js
3026
3026
  var chainConfig = {
3027
3027
  blockTime: 2e3,
3028
3028
  contracts,
@@ -3030,7 +3030,7 @@ var chainConfig = {
3030
3030
  serializers
3031
3031
  };
3032
3032
 
3033
- // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/chains/definitions/arbitrum.js
3033
+ // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/chains/definitions/arbitrum.js
3034
3034
  var arbitrum = /* @__PURE__ */ defineChain({
3035
3035
  id: 42161,
3036
3036
  name: "Arbitrum One",
@@ -3056,7 +3056,7 @@ var arbitrum = /* @__PURE__ */ defineChain({
3056
3056
  }
3057
3057
  });
3058
3058
 
3059
- // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/chains/definitions/arbitrumSepolia.js
3059
+ // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/chains/definitions/arbitrumSepolia.js
3060
3060
  var arbitrumSepolia = /* @__PURE__ */ defineChain({
3061
3061
  id: 421614,
3062
3062
  name: "Arbitrum Sepolia",
@@ -3087,7 +3087,7 @@ var arbitrumSepolia = /* @__PURE__ */ defineChain({
3087
3087
  testnet: true
3088
3088
  });
3089
3089
 
3090
- // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/chains/definitions/base.js
3090
+ // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/chains/definitions/base.js
3091
3091
  var sourceId = 1;
3092
3092
  var base = /* @__PURE__ */ defineChain({
3093
3093
  ...chainConfig,
@@ -3147,7 +3147,7 @@ var basePreconf = /* @__PURE__ */ defineChain({
3147
3147
  }
3148
3148
  });
3149
3149
 
3150
- // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/chains/definitions/baseSepolia.js
3150
+ // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/chains/definitions/baseSepolia.js
3151
3151
  var sourceId2 = 11155111;
3152
3152
  var baseSepolia = /* @__PURE__ */ defineChain({
3153
3153
  ...chainConfig,
@@ -3209,10 +3209,10 @@ var baseSepoliaPreconf = /* @__PURE__ */ defineChain({
3209
3209
  }
3210
3210
  });
3211
3211
 
3212
- // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/linea/actions/estimateGas.js
3212
+ // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/linea/actions/estimateGas.js
3213
3213
  init_parseAccount();
3214
3214
 
3215
- // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/errors/account.js
3215
+ // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/errors/account.js
3216
3216
  init_base();
3217
3217
  var AccountNotFoundError = class extends BaseError {
3218
3218
  constructor({ docsPath } = {}) {
@@ -3227,7 +3227,7 @@ var AccountNotFoundError = class extends BaseError {
3227
3227
  }
3228
3228
  };
3229
3229
 
3230
- // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/linea/actions/estimateGas.js
3230
+ // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/linea/actions/estimateGas.js
3231
3231
  init_toHex();
3232
3232
  init_getCallError();
3233
3233
  init_extract();
@@ -3277,7 +3277,7 @@ async function estimateGas(client, args) {
3277
3277
  }
3278
3278
  }
3279
3279
 
3280
- // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/linea/chainConfig.js
3280
+ // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/linea/chainConfig.js
3281
3281
  var chainConfig2 = {
3282
3282
  fees: {
3283
3283
  estimateFeesPerGas,
@@ -3315,7 +3315,7 @@ async function estimateFeesPerGas({ client, multiply, request, type }) {
3315
3315
  }
3316
3316
  }
3317
3317
 
3318
- // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/chains/definitions/linea.js
3318
+ // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/chains/definitions/linea.js
3319
3319
  var linea = /* @__PURE__ */ defineChain({
3320
3320
  ...chainConfig2,
3321
3321
  id: 59144,
@@ -3353,7 +3353,7 @@ var linea = /* @__PURE__ */ defineChain({
3353
3353
  testnet: false
3354
3354
  });
3355
3355
 
3356
- // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/chains/definitions/lineaSepolia.js
3356
+ // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/chains/definitions/lineaSepolia.js
3357
3357
  var lineaSepolia = /* @__PURE__ */ defineChain({
3358
3358
  ...chainConfig2,
3359
3359
  id: 59141,
@@ -3390,7 +3390,7 @@ var lineaSepolia = /* @__PURE__ */ defineChain({
3390
3390
  testnet: true
3391
3391
  });
3392
3392
 
3393
- // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/chains/definitions/mainnet.js
3393
+ // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/chains/definitions/mainnet.js
3394
3394
  var mainnet = /* @__PURE__ */ defineChain({
3395
3395
  id: 1,
3396
3396
  name: "Ethereum",
@@ -3420,7 +3420,7 @@ var mainnet = /* @__PURE__ */ defineChain({
3420
3420
  }
3421
3421
  });
3422
3422
 
3423
- // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/chains/definitions/optimism.js
3423
+ // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/chains/definitions/optimism.js
3424
3424
  var sourceId3 = 1;
3425
3425
  var optimism = /* @__PURE__ */ defineChain({
3426
3426
  ...chainConfig,
@@ -3469,7 +3469,7 @@ var optimism = /* @__PURE__ */ defineChain({
3469
3469
  sourceId: sourceId3
3470
3470
  });
3471
3471
 
3472
- // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/chains/definitions/optimismSepolia.js
3472
+ // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/chains/definitions/optimismSepolia.js
3473
3473
  var sourceId4 = 11155111;
3474
3474
  var optimismSepolia = /* @__PURE__ */ defineChain({
3475
3475
  ...chainConfig,
@@ -3519,7 +3519,7 @@ var optimismSepolia = /* @__PURE__ */ defineChain({
3519
3519
  sourceId: sourceId4
3520
3520
  });
3521
3521
 
3522
- // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/chains/definitions/scroll.js
3522
+ // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/chains/definitions/scroll.js
3523
3523
  var scroll = /* @__PURE__ */ defineChain({
3524
3524
  id: 534352,
3525
3525
  name: "Scroll",
@@ -3547,7 +3547,7 @@ var scroll = /* @__PURE__ */ defineChain({
3547
3547
  testnet: false
3548
3548
  });
3549
3549
 
3550
- // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/chains/definitions/scrollSepolia.js
3550
+ // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/chains/definitions/scrollSepolia.js
3551
3551
  var scrollSepolia = /* @__PURE__ */ defineChain({
3552
3552
  id: 534351,
3553
3553
  name: "Scroll Sepolia",
@@ -3573,7 +3573,7 @@ var scrollSepolia = /* @__PURE__ */ defineChain({
3573
3573
  testnet: true
3574
3574
  });
3575
3575
 
3576
- // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/chains/definitions/sepolia.js
3576
+ // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/chains/definitions/sepolia.js
3577
3577
  var sepolia = /* @__PURE__ */ defineChain({
3578
3578
  id: 11155111,
3579
3579
  name: "Sepolia",
@@ -3604,7 +3604,7 @@ var sepolia = /* @__PURE__ */ defineChain({
3604
3604
  });
3605
3605
 
3606
3606
  // src/components/chains/ChainIcon.tsx
3607
- import { ensTestEnvL1Chain } from "@ensnode/datasources";
3607
+ import { ensTestEnvChain } from "@ensnode/datasources";
3608
3608
 
3609
3609
  // src/components/chains/icons/ArbitrumIcon.tsx
3610
3610
  import { jsx, jsxs } from "react/jsx-runtime";
@@ -4193,7 +4193,7 @@ var chainIcons = /* @__PURE__ */ new Map([
4193
4193
  [arbitrumSepolia.id, ArbitrumTestnetIcon],
4194
4194
  [scrollSepolia.id, ScrollTestnetIcon],
4195
4195
  // ens-test-env
4196
- [ensTestEnvL1Chain.id, EthereumLocalIcon]
4196
+ [ensTestEnvChain.id, EthereumLocalIcon]
4197
4197
  ]);
4198
4198
  function ChainIcon({ chainId, width = 20, height = 20 }) {
4199
4199
  const Icon = chainIcons.get(chainId) || UnrecognizedChainIcon;
@@ -4201,9 +4201,9 @@ function ChainIcon({ chainId, width = 20, height = 20 }) {
4201
4201
  }
4202
4202
 
4203
4203
  // src/utils/chains.ts
4204
- import { ensTestEnvL1Chain as ensTestEnvL1Chain2 } from "@ensnode/datasources";
4204
+ import { ensTestEnvChain as ensTestEnvChain2 } from "@ensnode/datasources";
4205
4205
  var SUPPORTED_CHAINS = [
4206
- ensTestEnvL1Chain2,
4206
+ ensTestEnvChain2,
4207
4207
  mainnet,
4208
4208
  sepolia,
4209
4209
  base,
@@ -4218,8 +4218,8 @@ var SUPPORTED_CHAINS = [
4218
4218
  scrollSepolia
4219
4219
  ];
4220
4220
  var CUSTOM_CHAIN_NAMES = /* @__PURE__ */ new Map([
4221
- [ensTestEnvL1Chain2.id, "Ethereum Local (ens-test-env)"],
4222
- [mainnet.id, "Ethereum"],
4221
+ [ensTestEnvChain2.id, "Ethereum Local (ens-test-env)"],
4222
+ [mainnet.id, "Mainnet"],
4223
4223
  [sepolia.id, "Ethereum Sepolia"],
4224
4224
  [base.id, "Base"],
4225
4225
  [baseSepolia.id, "Base Sepolia"],
@@ -4275,9 +4275,6 @@ import { formatDistance, formatDistanceStrict as formatDistanceStrict2, fromUnix
4275
4275
  import { millisecondsInSecond } from "date-fns/constants";
4276
4276
  import { useEffect as useEffect3, useState as useState3 } from "react";
4277
4277
 
4278
- // src/components/ui/tooltip.tsx
4279
- import * as TooltipPrimitive from "@radix-ui/react-tooltip";
4280
-
4281
4278
  // src/utils/cn.ts
4282
4279
  import { clsx } from "clsx";
4283
4280
  import { twMerge } from "tailwind-merge";
@@ -4286,8 +4283,8 @@ function cn(...inputs) {
4286
4283
  }
4287
4284
 
4288
4285
  // src/components/ui/tooltip.tsx
4286
+ import * as TooltipPrimitive from "@radix-ui/react-tooltip";
4289
4287
  import { jsx as jsx18, jsxs as jsxs13 } from "react/jsx-runtime";
4290
- var TooltipArrow = TooltipPrimitive.Arrow;
4291
4288
  function TooltipProvider({
4292
4289
  delayDuration = 0,
4293
4290
  ...props
@@ -4414,8 +4411,7 @@ function RelativeTime({
4414
4411
  }
4415
4412
  ),
4416
4413
  " ",
4417
- "(UTC)",
4418
- /* @__PURE__ */ jsx19(TooltipArrow, { width: 12, height: 8 })
4414
+ "(UTC)"
4419
4415
  ]
4420
4416
  }
4421
4417
  )
@@ -5130,10 +5126,10 @@ var InfoIcon = (props) => /* @__PURE__ */ jsxs23(
5130
5126
  }
5131
5127
  );
5132
5128
 
5133
- // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/constants/address.js
5129
+ // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/constants/address.js
5134
5130
  var zeroAddress = "0x0000000000000000000000000000000000000000";
5135
5131
 
5136
- // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/index.js
5132
+ // ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/index.js
5137
5133
  init_getAddress();
5138
5134
 
5139
5135
  // src/components/identity/Address.tsx
@@ -5148,6 +5144,21 @@ function AddressDisplay({ address, className }) {
5148
5144
  import BoringAvatar from "boring-avatars";
5149
5145
  import * as React3 from "react";
5150
5146
 
5147
+ // src/utils/ensMetadata.ts
5148
+ import { ENSNamespaceIds } from "@ensnode/ensnode-sdk";
5149
+ function getEnsMetadataServiceAvatarUrl(name, namespaceId) {
5150
+ switch (namespaceId) {
5151
+ case ENSNamespaceIds.Mainnet:
5152
+ return new URL(name, `https://metadata.ens.domains/mainnet/avatar/`);
5153
+ case ENSNamespaceIds.Sepolia:
5154
+ return new URL(name, `https://metadata.ens.domains/sepolia/avatar/`);
5155
+ case ENSNamespaceIds.SepoliaV2:
5156
+ return null;
5157
+ case ENSNamespaceIds.EnsTestEnv:
5158
+ return null;
5159
+ }
5160
+ }
5161
+
5151
5162
  // src/components/ui/avatar.tsx
5152
5163
  import * as AvatarPrimitive from "@radix-ui/react-avatar";
5153
5164
  import { jsx as jsx33 } from "react/jsx-runtime";
@@ -5175,19 +5186,6 @@ function AvatarImage({ className, ...props }) {
5175
5186
  );
5176
5187
  }
5177
5188
 
5178
- // src/utils/ensMetadata.ts
5179
- import { ENSNamespaceIds } from "@ensnode/ensnode-sdk";
5180
- function getEnsMetadataServiceAvatarUrl(name, namespaceId) {
5181
- switch (namespaceId) {
5182
- case ENSNamespaceIds.Mainnet:
5183
- return new URL(name, `https://metadata.ens.domains/mainnet/avatar/`);
5184
- case ENSNamespaceIds.Sepolia:
5185
- return new URL(name, `https://metadata.ens.domains/sepolia/avatar/`);
5186
- case ENSNamespaceIds.EnsTestEnv:
5187
- return null;
5188
- }
5189
- }
5190
-
5191
5189
  // src/components/identity/EnsAvatar.tsx
5192
5190
  import { jsx as jsx34, jsxs as jsxs24 } from "react/jsx-runtime";
5193
5191
  var EnsAvatar = ({ name, namespaceId, className, isSquare = false }) => {
@@ -5208,7 +5206,7 @@ var EnsAvatar = ({ name, namespaceId, className, isSquare = false }) => {
5208
5206
  }
5209
5207
  ),
5210
5208
  loadingStatus === "error" && /* @__PURE__ */ jsx34(EnsAvatarFallback, { name, isSquare }),
5211
- (loadingStatus === "idle" || loadingStatus === "loading") && /* @__PURE__ */ jsx34(AvatarLoading, { className })
5209
+ (loadingStatus === "idle" || loadingStatus === "loading") && /* @__PURE__ */ jsx34(AvatarLoading, { isSquare })
5212
5210
  ] });
5213
5211
  };
5214
5212
  var avatarFallbackColors = ["#000000", "#bedbff", "#5191c1", "#1e6495", "#0a4b75"];
@@ -5222,17 +5220,18 @@ var EnsAvatarFallback = ({ name, isSquare }) => /* @__PURE__ */ jsx34(
5222
5220
  square: isSquare
5223
5221
  }
5224
5222
  );
5225
- var AvatarLoading = ({ className }) => /* @__PURE__ */ jsx34(
5223
+ var AvatarLoading = ({ isSquare }) => /* @__PURE__ */ jsx34(
5226
5224
  "div",
5227
5225
  {
5228
5226
  className: cn(
5229
- "nhui:h-full nhui:w-full nhui:rounded-full nhui:animate-pulse nhui:bg-gray-200",
5230
- className
5227
+ "nhui:h-full nhui:w-full nhui:animate-pulse nhui:bg-gray-200",
5228
+ !isSquare && "nhui:rounded-full"
5231
5229
  )
5232
5230
  }
5233
5231
  );
5234
5232
 
5235
5233
  // src/components/identity/Identity.tsx
5234
+ import { CheckIcon, CopyIcon } from "lucide-react";
5236
5235
  import {
5237
5236
  DEFAULT_EVM_CHAIN_ID,
5238
5237
  isResolvedIdentity,
@@ -5240,6 +5239,54 @@ import {
5240
5239
  translateDefaultableChainIdToChainId
5241
5240
  } from "@ensnode/ensnode-sdk";
5242
5241
 
5242
+ // src/utils/blockExplorers.ts
5243
+ var getBlockExplorerUrl = (chainId) => {
5244
+ const chain = SUPPORTED_CHAINS.find((chain2) => chain2.id === chainId);
5245
+ if (!chain) return null;
5246
+ if (!chain.blockExplorers) return null;
5247
+ return new URL(chain.blockExplorers.default.url);
5248
+ };
5249
+ var getBlockExplorerAddressDetailsUrl = (chainId, address) => {
5250
+ const chainBlockExplorer = getBlockExplorerUrl(chainId);
5251
+ if (!chainBlockExplorer) return null;
5252
+ return new URL(`address/${address}`, chainBlockExplorer.toString());
5253
+ };
5254
+ var getBlockExplorerTransactionDetailsUrl = (chainId, transactionHash) => {
5255
+ const chainBlockExplorer = getBlockExplorerUrl(chainId);
5256
+ if (!chainBlockExplorer) return null;
5257
+ return new URL(`tx/${transactionHash}`, chainBlockExplorer.toString());
5258
+ };
5259
+ var getBlockExplorerBlockUrl = (chainId, blockNumber) => {
5260
+ const chainBlockExplorer = getBlockExplorerUrl(chainId);
5261
+ if (!chainBlockExplorer) return null;
5262
+ return new URL(`block/${blockNumber}`, chainBlockExplorer.toString());
5263
+ };
5264
+
5265
+ // src/utils/ensManager.ts
5266
+ import { ENSNamespaceIds as ENSNamespaceIds2 } from "@ensnode/ensnode-sdk";
5267
+ function getEnsManagerUrl(namespaceId) {
5268
+ switch (namespaceId) {
5269
+ case ENSNamespaceIds2.Mainnet:
5270
+ return new URL(`https://app.ens.domains/`);
5271
+ case ENSNamespaceIds2.Sepolia:
5272
+ return new URL(`https://sepolia.app.ens.domains/`);
5273
+ case ENSNamespaceIds2.SepoliaV2:
5274
+ return null;
5275
+ case ENSNamespaceIds2.EnsTestEnv:
5276
+ return null;
5277
+ }
5278
+ }
5279
+ function getEnsManagerNameDetailsUrl(name, namespaceId) {
5280
+ const baseUrl = getEnsManagerUrl(namespaceId);
5281
+ if (!baseUrl) return null;
5282
+ return new URL(name, baseUrl);
5283
+ }
5284
+ function getEnsManagerAddressDetailsUrl(address, namespaceId) {
5285
+ const baseUrl = getEnsManagerUrl(namespaceId);
5286
+ if (!baseUrl) return null;
5287
+ return new URL(address, baseUrl);
5288
+ }
5289
+
5243
5290
  // src/components/special-buttons/CopyButton.tsx
5244
5291
  import * as React4 from "react";
5245
5292
  import { toast } from "sonner";
@@ -5343,7 +5390,7 @@ function CopyButton({
5343
5390
  type: "button",
5344
5391
  onClick: copyToClipboard,
5345
5392
  disabled: isCopying,
5346
- className: cn(className),
5393
+ className: cn("nhui:cursor-pointer", className),
5347
5394
  ...props,
5348
5395
  children: [
5349
5396
  hasCopied ? successIcon ? successIcon : "Copied" : icon ? icon : "Copy",
@@ -5353,49 +5400,16 @@ function CopyButton({
5353
5400
  );
5354
5401
  }
5355
5402
 
5356
- // src/utils/blockExplorers.ts
5357
- var getBlockExplorerUrl = (chainId) => {
5358
- const chain = SUPPORTED_CHAINS.find((chain2) => chain2.id === chainId);
5359
- if (!chain) return null;
5360
- if (!chain.blockExplorers) return null;
5361
- return new URL(chain.blockExplorers.default.url);
5362
- };
5363
- var getBlockExplorerAddressDetailsUrl = (chainId, address) => {
5364
- const chainBlockExplorer = getBlockExplorerUrl(chainId);
5365
- if (!chainBlockExplorer) return null;
5366
- return new URL(`address/${address}`, chainBlockExplorer.toString());
5367
- };
5368
- var getBlockExplorerTransactionDetailsUrl = (chainId, transactionHash) => {
5369
- const chainBlockExplorer = getBlockExplorerUrl(chainId);
5370
- if (!chainBlockExplorer) return null;
5371
- return new URL(`tx/${transactionHash}`, chainBlockExplorer.toString());
5372
- };
5373
-
5374
- // src/utils/ensManager.ts
5375
- import { ENSNamespaceIds as ENSNamespaceIds2 } from "@ensnode/ensnode-sdk";
5376
- function getEnsManagerUrl(namespaceId) {
5377
- switch (namespaceId) {
5378
- case ENSNamespaceIds2.Mainnet:
5379
- return new URL(`https://app.ens.domains/`);
5380
- case ENSNamespaceIds2.Sepolia:
5381
- return new URL(`https://sepolia.app.ens.domains/`);
5382
- case ENSNamespaceIds2.EnsTestEnv:
5383
- return null;
5384
- }
5385
- }
5386
- function getEnsManagerAddressDetailsUrl(address, namespaceId) {
5387
- const baseUrl = getEnsManagerUrl(namespaceId);
5388
- if (!baseUrl) return null;
5389
- return new URL(address, baseUrl);
5390
- }
5391
-
5392
5403
  // src/components/identity/Identity.tsx
5393
- import { jsx as jsx37, jsxs as jsxs26 } from "react/jsx-runtime";
5404
+ import { Fragment as Fragment3, jsx as jsx37, jsxs as jsxs26 } from "react/jsx-runtime";
5394
5405
  function IdentityLink({
5395
5406
  linkDetails,
5396
5407
  className,
5397
5408
  children
5398
5409
  }) {
5410
+ if (linkDetails.link === null) {
5411
+ return /* @__PURE__ */ jsx37(Fragment3, { children });
5412
+ }
5399
5413
  return /* @__PURE__ */ jsx37(
5400
5414
  "a",
5401
5415
  {
@@ -5440,7 +5454,7 @@ var IdentityTooltip = ({
5440
5454
  TooltipContent,
5441
5455
  {
5442
5456
  side: "top",
5443
- className: "nhui:bg-gray-50 nhui:text-sm nhui:text-black nhui:text-left nhui:shadow-md nhui:outline-hidden nhui:w-fit",
5457
+ className: "nhui:bg-gray-50 nhui:text-sm nhui:text-black nhui:text-left nhui:shadow-md nhui:outline-hidden nhui:w-fit [&_svg]:fill-gray-50 [&_svg]:bg-gray-50",
5444
5458
  children: /* @__PURE__ */ jsxs26("div", { className: "nhui:flex nhui:gap-4", children: [
5445
5459
  /* @__PURE__ */ jsx37("div", { className: "nhui:flex nhui:items-center", children: /* @__PURE__ */ jsx37(
5446
5460
  ChainIcon,
@@ -5460,7 +5474,10 @@ var IdentityTooltip = ({
5460
5474
  CopyButton,
5461
5475
  {
5462
5476
  value: identity.address,
5463
- className: "nhui:text-gray-500 nhui:hover:text-gray-700 nhui:transition-colors"
5477
+ className: "nhui:text-gray-500 nhui:hover:text-gray-700 nhui:transition-colors",
5478
+ successIcon: /* @__PURE__ */ jsx37(CheckIcon, { className: "nhui:h-4 nhui:w-4", style: { fill: "none" } }),
5479
+ icon: /* @__PURE__ */ jsx37(CopyIcon, { className: "nhui:h-4 nhui:w-4", style: { fill: "none" } }),
5480
+ showToast: true
5464
5481
  }
5465
5482
  ),
5466
5483
  chainExplorerUrl && /* @__PURE__ */ jsx37("a", { target: "_blank", href: chainExplorerUrl.toString(), children: /* @__PURE__ */ jsx37(
@@ -5502,6 +5519,23 @@ import {
5502
5519
  translateDefaultableChainIdToChainId as translateDefaultableChainIdToChainId2
5503
5520
  } from "@ensnode/ensnode-sdk";
5504
5521
 
5522
+ // src/hooks/useIsMobile.tsx
5523
+ import * as React5 from "react";
5524
+ var MOBILE_BREAKPOINT = 640;
5525
+ function useIsMobile(breakpoint = MOBILE_BREAKPOINT) {
5526
+ const [isMobile, setIsMobile] = React5.useState(void 0);
5527
+ React5.useEffect(() => {
5528
+ const mql = window.matchMedia(`(max-width: ${breakpoint - 1}px)`);
5529
+ const onChange = () => {
5530
+ setIsMobile(window.innerWidth < breakpoint);
5531
+ };
5532
+ mql.addEventListener("change", onChange);
5533
+ setIsMobile(window.innerWidth < breakpoint);
5534
+ return () => mql.removeEventListener("change", onChange);
5535
+ }, [breakpoint]);
5536
+ return !!isMobile;
5537
+ }
5538
+
5505
5539
  // src/components/ui/skeleton.tsx
5506
5540
  import { jsx as jsx39 } from "react/jsx-runtime";
5507
5541
  function Skeleton({ className, ...props }) {
@@ -5515,23 +5549,6 @@ function Skeleton({ className, ...props }) {
5515
5549
  );
5516
5550
  }
5517
5551
 
5518
- // src/hooks/useIsMobile.tsx
5519
- import * as React5 from "react";
5520
- var MOBILE_BREAKPOINT = 640;
5521
- function useIsMobile() {
5522
- const [isMobile, setIsMobile] = React5.useState(void 0);
5523
- React5.useEffect(() => {
5524
- const mql = window.matchMedia(`(max-width: ${MOBILE_BREAKPOINT - 1}px)`);
5525
- const onChange = () => {
5526
- setIsMobile(window.innerWidth < MOBILE_BREAKPOINT);
5527
- };
5528
- mql.addEventListener("change", onChange);
5529
- setIsMobile(window.innerWidth < MOBILE_BREAKPOINT);
5530
- return () => mql.removeEventListener("change", onChange);
5531
- }, []);
5532
- return !!isMobile;
5533
- }
5534
-
5535
5552
  // src/components/identity/ResolveAndDisplayIdentity.tsx
5536
5553
  import { jsx as jsx40, jsxs as jsxs27 } from "react/jsx-runtime";
5537
5554
  function ResolveAndDisplayIdentity({
@@ -5676,7 +5693,11 @@ import {
5676
5693
  ZERO_ENCODED_REFERRER
5677
5694
  } from "@ensnode/ensnode-sdk";
5678
5695
  import { jsx as jsx41, jsxs as jsxs28 } from "react/jsx-runtime";
5679
- function LabeledField({ fieldLabel, className, children }) {
5696
+ function LabeledField({
5697
+ fieldLabel,
5698
+ className,
5699
+ children
5700
+ }) {
5680
5701
  return /* @__PURE__ */ jsxs28(
5681
5702
  "div",
5682
5703
  {
@@ -5697,7 +5718,7 @@ function ResolveAndDisplayReferrerIdentity({
5697
5718
  referral,
5698
5719
  accelerate = true,
5699
5720
  withLink = true,
5700
- identityLinkDetails,
5721
+ referrerLinkData,
5701
5722
  withTooltip = true,
5702
5723
  withAvatar = false,
5703
5724
  withIdentifier = true,
@@ -5727,7 +5748,7 @@ function ResolveAndDisplayReferrerIdentity({
5727
5748
  TooltipContent,
5728
5749
  {
5729
5750
  side: "top",
5730
- className: "nhui:bg-gray-50 nhui:text-sm nhui:text-black nhui:text-left nhui:shadow-md nhui:outline-hidden nhui:w-fit",
5751
+ className: "nhui:bg-gray-50 nhui:text-sm nhui:text-black nhui:text-left nhui:shadow-md nhui:outline-hidden nhui:w-fit [&_svg]:fill-gray-50 [&_svg]:bg-gray-50",
5731
5752
  children: [
5732
5753
  "Encoded referrer",
5733
5754
  /* @__PURE__ */ jsx41("code", { className: "nhui:block", children: referral.encodedReferrer }),
@@ -5750,12 +5771,16 @@ function ResolveAndDisplayReferrerIdentity({
5750
5771
  withIdentifier,
5751
5772
  className,
5752
5773
  withLink,
5753
- identityLinkDetails
5774
+ identityLinkDetails: {
5775
+ isExternal: referrerLinkData.isExternal,
5776
+ link: referrerLinkData.getLink(referrerIdentity.address, namespaceId)
5777
+ }
5754
5778
  }
5755
5779
  );
5756
5780
  }
5757
5781
  function RegistrarActionCardLoading({
5758
- showReferrer = true
5782
+ showReferrer = true,
5783
+ showReferralProgramField = true
5759
5784
  }) {
5760
5785
  const isMobile = useIsMobile();
5761
5786
  return /* @__PURE__ */ jsxs28(
@@ -5780,7 +5805,7 @@ function RegistrarActionCardLoading({
5780
5805
  /* @__PURE__ */ jsx41("div", { className: "nhui:animate-pulse nhui:h-[14px] nhui:mt-[4px] nhui:mb-[3px] nhui:bg-gray-200 nhui:rounded-sm nhui:w-1/4 nhui:sm:w-3/5" })
5781
5806
  ] }) })
5782
5807
  ] }),
5783
- /* @__PURE__ */ jsx41(LabeledField, { fieldLabel: "Incentive program", className: "nhui:w-[15%] nhui:min-w-[162px]", children: /* @__PURE__ */ jsx41("div", { className: "nhui:animate-pulse nhui:h-[14px] nhui:mt-[4px] nhui:mb-[3px] nhui:bg-gray-200 nhui:rounded-sm nhui:w-1/4 nhui:sm:w-4/5" }) })
5808
+ showReferralProgramField && /* @__PURE__ */ jsx41(LabeledField, { fieldLabel: "Incentive program", className: "nhui:w-[15%] nhui:min-w-[162px]", children: /* @__PURE__ */ jsx41("div", { className: "nhui:animate-pulse nhui:h-[14px] nhui:mt-[4px] nhui:mb-[3px] nhui:bg-gray-200 nhui:rounded-sm nhui:w-1/4 nhui:sm:w-4/5" }) })
5784
5809
  ]
5785
5810
  }
5786
5811
  );
@@ -5790,6 +5815,10 @@ function RegistrarActionCard({
5790
5815
  namedRegistrarAction,
5791
5816
  now,
5792
5817
  links,
5818
+ showIdentityTooltips = {
5819
+ registrant: false,
5820
+ referrer: false
5821
+ },
5793
5822
  showReferrer = true,
5794
5823
  referralProgramField
5795
5824
  }) {
@@ -5815,15 +5844,15 @@ function RegistrarActionCard({
5815
5844
  {
5816
5845
  className: "nhui:w-full nhui:min-h-[80px] nhui:box-border nhui:flex nhui:flex-col nhui:sm:flex-row nhui:flex-wrap nhui:justify-start nhui:sm:justify-between\n nhui:items-start nhui:gap-2 nhui:p-4 nhui:sm:p-6 nhui:sm:gap-y-5 nhui:rounded-2xl nhui:border nhui:border-gray-200 nhui:text-sm nhui:bg-white",
5817
5846
  children: [
5818
- /* @__PURE__ */ jsx41(LabeledField, { fieldLabel: "Name", className: "nhui:w-[15%] nhui:min-w-[162px]", children: /* @__PURE__ */ jsx41(
5847
+ /* @__PURE__ */ jsx41(LabeledField, { fieldLabel: "Name", className: "nhui:w-[15%] nhui:min-w-[162px]", children: links.name.link !== null ? /* @__PURE__ */ jsx41(
5819
5848
  "a",
5820
5849
  {
5821
- target: "_blank",
5850
+ target: links.name.isExternal ? "_blank" : "_self",
5822
5851
  href: links.name.link.href,
5823
5852
  className: "nhui:max-sm:max-w-3/4 nhui:sm:w-full nhui:box-border nhui:overflow-x-auto nhui:text-blue-600 nhui:font-medium nhui:hover:underline nhui:hover:underline-offset-[25%] nhui:whitespace-nowrap",
5824
5853
  children: /* @__PURE__ */ jsx41(NameDisplay, { name: namedRegistrarAction.name, className: "nhui:h-[21px]" })
5825
5854
  }
5826
- ) }),
5855
+ ) : /* @__PURE__ */ jsx41("p", { className: "nhui:max-sm:max-w-3/4 nhui:sm:w-full nhui:box-border nhui:overflow-x-auto nhui:font-medium nhui:whitespace-nowrap", children: /* @__PURE__ */ jsx41(NameDisplay, { name: namedRegistrarAction.name, className: "nhui:h-[21px]" }) }) }),
5827
5856
  /* @__PURE__ */ jsx41(
5828
5857
  LabeledField,
5829
5858
  {
@@ -5849,7 +5878,7 @@ function RegistrarActionCard({
5849
5878
  identity: registrantIdentity,
5850
5879
  namespaceId,
5851
5880
  withAvatar: true,
5852
- withTooltip: false,
5881
+ withTooltip: showIdentityTooltips.registrant,
5853
5882
  withIdentifier: false,
5854
5883
  identityLinkDetails: links.registrant
5855
5884
  }
@@ -5860,7 +5889,7 @@ function RegistrarActionCard({
5860
5889
  identity: registrantIdentity,
5861
5890
  namespaceId,
5862
5891
  withAvatar: isMobile,
5863
- withTooltip: false,
5892
+ withTooltip: showIdentityTooltips.registrant,
5864
5893
  className: "nhui:font-medium nhui:sm:max-[1220px]:max-w-[110px] nhui:min-[1220px]:max-w-[140px]",
5865
5894
  identityLinkDetails: links.registrant
5866
5895
  }
@@ -5875,8 +5904,8 @@ function RegistrarActionCard({
5875
5904
  referral,
5876
5905
  withAvatar: true,
5877
5906
  withIdentifier: false,
5878
- withTooltip: false,
5879
- identityLinkDetails: links.referrer
5907
+ withTooltip: showIdentityTooltips.referrer,
5908
+ referrerLinkData: links.referrer
5880
5909
  }
5881
5910
  ),
5882
5911
  /* @__PURE__ */ jsx41(LabeledField, { fieldLabel: "Referrer", className: "nhui:w-[15%] nhui:min-w-[110px]", children: /* @__PURE__ */ jsx41(
@@ -5887,8 +5916,8 @@ function RegistrarActionCard({
5887
5916
  referral,
5888
5917
  withAvatar: isMobile,
5889
5918
  withIdentifier: true,
5890
- withTooltip: false,
5891
- identityLinkDetails: links.referrer
5919
+ withTooltip: showIdentityTooltips.referrer,
5920
+ referrerLinkData: links.referrer
5892
5921
  }
5893
5922
  ) })
5894
5923
  ] }),
@@ -5898,12 +5927,125 @@ function RegistrarActionCard({
5898
5927
  );
5899
5928
  }
5900
5929
  var RegistrarActionCardMemo = memo(RegistrarActionCard);
5930
+
5931
+ // src/hooks/useNow.ts
5932
+ import { useEffect as useEffect6, useState as useState7 } from "react";
5933
+
5934
+ // src/hooks/useSystemClock.ts
5935
+ import { getUnixTime } from "date-fns";
5936
+ import { useSyncExternalStore } from "react";
5937
+
5938
+ // src/utils/syncedClock.ts
5939
+ var DEFAULT_TICK_RATE = 16;
5940
+ var HighResolutionSyncedClock = class {
5941
+ #listeners = /* @__PURE__ */ new Set();
5942
+ #currentTime = Date.now();
5943
+ #timerId = null;
5944
+ /**
5945
+ * Tick rate frequency in milliseconds.
5946
+ */
5947
+ #tickRate;
5948
+ /**
5949
+ * Clock's tick handler.
5950
+ *
5951
+ * Runs at `tickRate` frequency, and notifies all listeners about
5952
+ * the current time updates.
5953
+ */
5954
+ #tick = () => {
5955
+ this.#currentTime = Date.now();
5956
+ this.#listeners.forEach((listener) => listener());
5957
+ this.#timerId = setTimeout(this.#tick, this.#tickRate);
5958
+ };
5959
+ /**
5960
+ * Starts the clock.
5961
+ */
5962
+ start = () => {
5963
+ if (this.#timerId === null) {
5964
+ this.#currentTime = Date.now();
5965
+ this.#timerId = setTimeout(this.#tick, this.#tickRate);
5966
+ }
5967
+ };
5968
+ /**
5969
+ * Stops the clock.
5970
+ */
5971
+ stop = () => {
5972
+ if (this.#timerId !== null) {
5973
+ clearTimeout(this.#timerId);
5974
+ this.#timerId = null;
5975
+ }
5976
+ };
5977
+ constructor(tickRate = DEFAULT_TICK_RATE) {
5978
+ this.#tickRate = tickRate;
5979
+ }
5980
+ /**
5981
+ * Adds a new listener to all listeners tracking the synced clock.
5982
+ *
5983
+ * Starts the clock (or restarts it, which is a noop) if there's at
5984
+ * least one listener.
5985
+ *
5986
+ * @param callback to notify the listener about clock updates.
5987
+ */
5988
+ addListener(callback) {
5989
+ this.#listeners.add(callback);
5990
+ if (this.#listeners.size > 0) {
5991
+ this.start();
5992
+ }
5993
+ }
5994
+ /**
5995
+ * Removes a listener from all listeners tracking the synced clock.
5996
+ *
5997
+ * Stops the clock if there's no listener.
5998
+ *
5999
+ * @param callback to notify the listener about clock updates.
6000
+ */
6001
+ removeListener(callback) {
6002
+ this.#listeners.delete(callback);
6003
+ if (this.#listeners.size === 0) {
6004
+ this.stop();
6005
+ }
6006
+ }
6007
+ get currentTime() {
6008
+ return this.#currentTime;
6009
+ }
6010
+ };
6011
+
6012
+ // src/utils/systemClock.ts
6013
+ var systemClock = new HighResolutionSyncedClock();
6014
+
6015
+ // src/hooks/useSystemClock.ts
6016
+ function useSystemClock() {
6017
+ const subscribe = (callback) => {
6018
+ systemClock.addListener(callback);
6019
+ return () => {
6020
+ systemClock.removeListener(callback);
6021
+ };
6022
+ };
6023
+ const getSnapshot = () => getUnixTime(new Date(systemClock.currentTime));
6024
+ const getServerSnapshot = () => getUnixTime(/* @__PURE__ */ new Date());
6025
+ const syncedSystemClock = useSyncExternalStore(subscribe, getSnapshot, getServerSnapshot);
6026
+ return syncedSystemClock ?? getSnapshot();
6027
+ }
6028
+
6029
+ // src/hooks/useNow.ts
6030
+ var DEFAULT_TIME_TO_REFRESH = 1;
6031
+ function useNow(props) {
6032
+ const clock = useSystemClock();
6033
+ const [throttledClock, setThrottledClock] = useState7(clock);
6034
+ const { timeToRefresh = DEFAULT_TIME_TO_REFRESH } = props || {};
6035
+ useEffect6(() => {
6036
+ if (clock - throttledClock >= timeToRefresh) {
6037
+ setThrottledClock(clock);
6038
+ }
6039
+ }, [timeToRefresh, clock, throttledClock]);
6040
+ return throttledClock;
6041
+ }
5901
6042
  export {
5902
6043
  AbsoluteTime,
5903
6044
  AddressDisplay,
5904
6045
  ChainExplorerIcon,
5905
6046
  ChainIcon,
5906
6047
  ChainName,
6048
+ CopyButton,
5907
6049
  DisplayDuration,
5908
6050
  DisplayIdentity,
5909
6051
  EfpIcon,
@@ -5917,15 +6059,28 @@ export {
5917
6059
  IdentityLink,
5918
6060
  IdentityTooltip,
5919
6061
  InfoIcon,
6062
+ LabeledField,
5920
6063
  NameDisplay,
5921
6064
  RegistrarActionCard,
5922
6065
  RegistrarActionCardLoading,
5923
6066
  RegistrarActionCardMemo,
5924
6067
  RelativeTime,
5925
6068
  ResolveAndDisplayIdentity,
6069
+ SUPPORTED_CHAINS,
5926
6070
  TelegramIcon,
5927
6071
  TwitterIcon,
5928
- formatRelativeTime
6072
+ formatRelativeTime,
6073
+ getBlockExplorerAddressDetailsUrl,
6074
+ getBlockExplorerBlockUrl,
6075
+ getBlockExplorerTransactionDetailsUrl,
6076
+ getBlockExplorerUrl,
6077
+ getChainName,
6078
+ getEnsManagerAddressDetailsUrl,
6079
+ getEnsManagerNameDetailsUrl,
6080
+ getEnsManagerUrl,
6081
+ getEnsMetadataServiceAvatarUrl,
6082
+ useIsMobile,
6083
+ useNow
5929
6084
  };
5930
6085
  /*! Bundled license information:
5931
6086