terminalhire 0.40.8 → 0.40.9

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.
@@ -601,9 +601,11 @@ async function shouldNudgeUnpushed() {
601
601
  }
602
602
  async function runBackgroundClaimPush({ now = Date.now() } = {}) {
603
603
  try {
604
- if (!existsSync5(CLAIM_PUSH_AUTO_MARKER) || !existsSync5(CLAIM_PUSH_TOKEN_FILE)) return;
604
+ if (!existsSync5(CLAIM_PUSH_AUTO_MARKER) || !existsSync5(CLAIM_PUSH_TOKEN_FILE)) {
605
+ return { pushed: false, reason: "not-opted-in" };
606
+ }
605
607
  const marker = readAutoMarker();
606
- if (!marker || !marker.autoConsentedAt) return;
608
+ if (!marker || !marker.autoConsentedAt) return { pushed: false, reason: "not-opted-in" };
607
609
  const { listClaims: listClaims2, toPushedClaim: toPushedClaim2, PUSHED_CLAIM_FIELDS: PUSHED_CLAIM_FIELDS2 } = await Promise.resolve().then(() => (init_claims(), claims_exports));
608
610
  const pushed = listClaims2().map((c) => toPushedClaim2(c));
609
611
  const currentHash = computeSnapshotHash(pushed);
@@ -616,9 +618,9 @@ async function runBackgroundClaimPush({ now = Date.now() } = {}) {
616
618
  currentHash,
617
619
  lastSnapshotHash: marker.lastSnapshotHash ?? null
618
620
  });
619
- if (!gate.push) return;
621
+ if (!gate.push) return { pushed: false, reason: gate.reason };
620
622
  const token = await readPushTokenEnc();
621
- if (!token) return;
623
+ if (!token) return { pushed: false, reason: "unreadable-token" };
622
624
  const consentReceipt = {
623
625
  consentedAt: marker.autoConsentedAt,
624
626
  version: AUTO_CONSENT_VERSION,
@@ -630,13 +632,17 @@ async function runBackgroundClaimPush({ now = Date.now() } = {}) {
630
632
  body: JSON.stringify({ consentToken: consentReceipt, claims: pushed, pushToken: token }),
631
633
  signal: AbortSignal.timeout(1e4)
632
634
  });
633
- if (!res.ok) return;
635
+ if (!res.ok) {
636
+ return { pushed: false, reason: `server-${res.status}` };
637
+ }
634
638
  writeAutoMarker({
635
639
  ...marker,
636
640
  lastPushedAt: new Date(now).toISOString(),
637
641
  lastSnapshotHash: currentHash
638
642
  });
643
+ return { pushed: true, reason: "ok" };
639
644
  } catch {
645
+ return { pushed: false, reason: "failed" };
640
646
  }
641
647
  }
642
648
  export {
@@ -5367,17 +5367,17 @@ var init_directoryThreshold = __esm({
5367
5367
  }
5368
5368
  });
5369
5369
 
5370
- // ../../node_modules/@noble/hashes/esm/cryptoNode.js
5370
+ // ../../../term-333/node_modules/@noble/hashes/esm/cryptoNode.js
5371
5371
  import * as nc from "crypto";
5372
5372
  var crypto;
5373
5373
  var init_cryptoNode = __esm({
5374
- "../../node_modules/@noble/hashes/esm/cryptoNode.js"() {
5374
+ "../../../term-333/node_modules/@noble/hashes/esm/cryptoNode.js"() {
5375
5375
  "use strict";
5376
5376
  crypto = nc && typeof nc === "object" && "webcrypto" in nc ? nc.webcrypto : nc && typeof nc === "object" && "randomBytes" in nc ? nc : void 0;
5377
5377
  }
5378
5378
  });
5379
5379
 
5380
- // ../../node_modules/@noble/hashes/esm/utils.js
5380
+ // ../../../term-333/node_modules/@noble/hashes/esm/utils.js
5381
5381
  function isBytes(a) {
5382
5382
  return a instanceof Uint8Array || ArrayBuffer.isView(a) && a.constructor.name === "Uint8Array";
5383
5383
  }
@@ -5497,7 +5497,7 @@ function randomBytes(bytesLength = 32) {
5497
5497
  }
5498
5498
  var hasHexBuiltin, hexes, asciis, Hash;
5499
5499
  var init_utils = __esm({
5500
- "../../node_modules/@noble/hashes/esm/utils.js"() {
5500
+ "../../../term-333/node_modules/@noble/hashes/esm/utils.js"() {
5501
5501
  "use strict";
5502
5502
  init_cryptoNode();
5503
5503
  hasHexBuiltin = /* @__PURE__ */ (() => (
@@ -5511,7 +5511,7 @@ var init_utils = __esm({
5511
5511
  }
5512
5512
  });
5513
5513
 
5514
- // ../../node_modules/@noble/hashes/esm/_md.js
5514
+ // ../../../term-333/node_modules/@noble/hashes/esm/_md.js
5515
5515
  function setBigUint64(view, byteOffset, value, isLE2) {
5516
5516
  if (typeof view.setBigUint64 === "function")
5517
5517
  return view.setBigUint64(byteOffset, value, isLE2);
@@ -5526,7 +5526,7 @@ function setBigUint64(view, byteOffset, value, isLE2) {
5526
5526
  }
5527
5527
  var HashMD, SHA512_IV;
5528
5528
  var init_md = __esm({
5529
- "../../node_modules/@noble/hashes/esm/_md.js"() {
5529
+ "../../../term-333/node_modules/@noble/hashes/esm/_md.js"() {
5530
5530
  "use strict";
5531
5531
  init_utils();
5532
5532
  HashMD = class extends Hash {
@@ -5640,7 +5640,7 @@ var init_md = __esm({
5640
5640
  }
5641
5641
  });
5642
5642
 
5643
- // ../../node_modules/@noble/hashes/esm/_u64.js
5643
+ // ../../../term-333/node_modules/@noble/hashes/esm/_u64.js
5644
5644
  function fromBig(n, le = false) {
5645
5645
  if (le)
5646
5646
  return { h: Number(n & U32_MASK64), l: Number(n >> _32n & U32_MASK64) };
@@ -5662,7 +5662,7 @@ function add(Ah, Al, Bh, Bl) {
5662
5662
  }
5663
5663
  var U32_MASK64, _32n, shrSH, shrSL, rotrSH, rotrSL, rotrBH, rotrBL, add3L, add3H, add4L, add4H, add5L, add5H;
5664
5664
  var init_u64 = __esm({
5665
- "../../node_modules/@noble/hashes/esm/_u64.js"() {
5665
+ "../../../term-333/node_modules/@noble/hashes/esm/_u64.js"() {
5666
5666
  "use strict";
5667
5667
  U32_MASK64 = /* @__PURE__ */ BigInt(2 ** 32 - 1);
5668
5668
  _32n = /* @__PURE__ */ BigInt(32);
@@ -5681,10 +5681,10 @@ var init_u64 = __esm({
5681
5681
  }
5682
5682
  });
5683
5683
 
5684
- // ../../node_modules/@noble/hashes/esm/sha2.js
5684
+ // ../../../term-333/node_modules/@noble/hashes/esm/sha2.js
5685
5685
  var K512, SHA512_Kh, SHA512_Kl, SHA512_W_H, SHA512_W_L, SHA512, sha512;
5686
5686
  var init_sha2 = __esm({
5687
- "../../node_modules/@noble/hashes/esm/sha2.js"() {
5687
+ "../../../term-333/node_modules/@noble/hashes/esm/sha2.js"() {
5688
5688
  "use strict";
5689
5689
  init_md();
5690
5690
  init_u64();
@@ -5890,7 +5890,7 @@ var init_sha2 = __esm({
5890
5890
  }
5891
5891
  });
5892
5892
 
5893
- // ../../node_modules/@noble/curves/esm/utils.js
5893
+ // ../../../term-333/node_modules/@noble/curves/esm/utils.js
5894
5894
  function _abool2(value, title = "") {
5895
5895
  if (typeof value !== "boolean") {
5896
5896
  const prefix = title && `"${title}"`;
@@ -5997,7 +5997,7 @@ function memoized(fn) {
5997
5997
  }
5998
5998
  var _0n, _1n, isPosBig, bitMask, notImplemented;
5999
5999
  var init_utils2 = __esm({
6000
- "../../node_modules/@noble/curves/esm/utils.js"() {
6000
+ "../../../term-333/node_modules/@noble/curves/esm/utils.js"() {
6001
6001
  "use strict";
6002
6002
  init_utils();
6003
6003
  init_utils();
@@ -6011,7 +6011,7 @@ var init_utils2 = __esm({
6011
6011
  }
6012
6012
  });
6013
6013
 
6014
- // ../../node_modules/@noble/curves/esm/abstract/modular.js
6014
+ // ../../../term-333/node_modules/@noble/curves/esm/abstract/modular.js
6015
6015
  function mod(a, b) {
6016
6016
  const result = a % b;
6017
6017
  return result >= _0n2 ? result : b + result;
@@ -6308,7 +6308,7 @@ function Field(ORDER, bitLenOrOpts, isLE2 = false, opts = {}) {
6308
6308
  }
6309
6309
  var _0n2, _1n2, _2n, _3n, _4n, _5n, _7n, _8n, _9n, _16n, isNegativeLE, FIELD_FIELDS;
6310
6310
  var init_modular = __esm({
6311
- "../../node_modules/@noble/curves/esm/abstract/modular.js"() {
6311
+ "../../../term-333/node_modules/@noble/curves/esm/abstract/modular.js"() {
6312
6312
  "use strict";
6313
6313
  init_utils2();
6314
6314
  _0n2 = BigInt(0);
@@ -6344,7 +6344,7 @@ var init_modular = __esm({
6344
6344
  }
6345
6345
  });
6346
6346
 
6347
- // ../../node_modules/@noble/curves/esm/abstract/curve.js
6347
+ // ../../../term-333/node_modules/@noble/curves/esm/abstract/curve.js
6348
6348
  function negateCt(condition, item) {
6349
6349
  const neg = item.negate();
6350
6350
  return condition ? neg : item;
@@ -6477,7 +6477,7 @@ function _createCurveFields(type, CURVE, curveOpts = {}, FpFnLE) {
6477
6477
  }
6478
6478
  var _0n3, _1n3, pointPrecomputes, pointWindowSizes, wNAF;
6479
6479
  var init_curve = __esm({
6480
- "../../node_modules/@noble/curves/esm/abstract/curve.js"() {
6480
+ "../../../term-333/node_modules/@noble/curves/esm/abstract/curve.js"() {
6481
6481
  "use strict";
6482
6482
  init_utils2();
6483
6483
  init_modular();
@@ -6615,7 +6615,7 @@ var init_curve = __esm({
6615
6615
  }
6616
6616
  });
6617
6617
 
6618
- // ../../node_modules/@noble/curves/esm/abstract/edwards.js
6618
+ // ../../../term-333/node_modules/@noble/curves/esm/abstract/edwards.js
6619
6619
  function isEdValidXY(Fp2, CURVE, x, y) {
6620
6620
  const x2 = Fp2.sqr(x);
6621
6621
  const y2 = Fp2.sqr(y);
@@ -7096,7 +7096,7 @@ function twistedEdwards(c) {
7096
7096
  }
7097
7097
  var _0n4, _1n4, _2n2, _8n2, PrimeEdwardsPoint;
7098
7098
  var init_edwards = __esm({
7099
- "../../node_modules/@noble/curves/esm/abstract/edwards.js"() {
7099
+ "../../../term-333/node_modules/@noble/curves/esm/abstract/edwards.js"() {
7100
7100
  "use strict";
7101
7101
  init_utils2();
7102
7102
  init_curve();
@@ -7175,7 +7175,7 @@ var init_edwards = __esm({
7175
7175
  }
7176
7176
  });
7177
7177
 
7178
- // ../../node_modules/@noble/curves/esm/abstract/montgomery.js
7178
+ // ../../../term-333/node_modules/@noble/curves/esm/abstract/montgomery.js
7179
7179
  function validateOpts(curve) {
7180
7180
  _validateObject(curve, {
7181
7181
  adjustScalarBytes: "function",
@@ -7293,7 +7293,7 @@ function montgomery(curveDef) {
7293
7293
  }
7294
7294
  var _0n5, _1n5, _2n3;
7295
7295
  var init_montgomery = __esm({
7296
- "../../node_modules/@noble/curves/esm/abstract/montgomery.js"() {
7296
+ "../../../term-333/node_modules/@noble/curves/esm/abstract/montgomery.js"() {
7297
7297
  "use strict";
7298
7298
  init_utils2();
7299
7299
  init_modular();
@@ -7303,7 +7303,7 @@ var init_montgomery = __esm({
7303
7303
  }
7304
7304
  });
7305
7305
 
7306
- // ../../node_modules/@noble/curves/esm/ed25519.js
7306
+ // ../../../term-333/node_modules/@noble/curves/esm/ed25519.js
7307
7307
  function ed25519_pow_2_252_3(x) {
7308
7308
  const _10n = BigInt(10), _20n = BigInt(20), _40n = BigInt(40), _80n = BigInt(80);
7309
7309
  const P = ed25519_CURVE_p;
@@ -7381,7 +7381,7 @@ function ristretto255_map(bytes) {
7381
7381
  }
7382
7382
  var _0n6, _1n6, _2n4, _3n2, _5n2, _8n3, ed25519_CURVE_p, ed25519_CURVE, ED25519_SQRT_M1, Fp, Fn, ed25519Defaults, ed25519, x25519, SQRT_M1, SQRT_AD_MINUS_ONE, INVSQRT_A_MINUS_D, ONE_MINUS_D_SQ, D_MINUS_ONE_SQ, invertSqrt, MAX_255B, bytes255ToNumberLE, _RistrettoPoint;
7383
7383
  var init_ed25519 = __esm({
7384
- "../../node_modules/@noble/curves/esm/ed25519.js"() {
7384
+ "../../../term-333/node_modules/@noble/curves/esm/ed25519.js"() {
7385
7385
  "use strict";
7386
7386
  init_sha2();
7387
7387
  init_utils();
@@ -7551,7 +7551,7 @@ var init_ed25519 = __esm({
7551
7551
  }
7552
7552
  });
7553
7553
 
7554
- // ../../node_modules/@noble/ciphers/esm/utils.js
7554
+ // ../../../term-333/node_modules/@noble/ciphers/esm/utils.js
7555
7555
  function isBytes2(a) {
7556
7556
  return a instanceof Uint8Array || ArrayBuffer.isView(a) && a.constructor.name === "Uint8Array";
7557
7557
  }
@@ -7658,7 +7658,7 @@ function copyBytes2(bytes) {
7658
7658
  }
7659
7659
  var isLE, wrapCipher;
7660
7660
  var init_utils3 = __esm({
7661
- "../../node_modules/@noble/ciphers/esm/utils.js"() {
7661
+ "../../../term-333/node_modules/@noble/ciphers/esm/utils.js"() {
7662
7662
  "use strict";
7663
7663
  isLE = /* @__PURE__ */ (() => new Uint8Array(new Uint32Array([287454020]).buffer)[0] === 68)();
7664
7664
  wrapCipher = /* @__NO_SIDE_EFFECTS__ */ (params, constructor) => {
@@ -7713,7 +7713,7 @@ var init_utils3 = __esm({
7713
7713
  }
7714
7714
  });
7715
7715
 
7716
- // ../../node_modules/@noble/ciphers/esm/_arx.js
7716
+ // ../../../term-333/node_modules/@noble/ciphers/esm/_arx.js
7717
7717
  function rotl(a, b) {
7718
7718
  return a << b | a >>> 32 - b;
7719
7719
  }
@@ -7813,7 +7813,7 @@ function createCipher(core, opts) {
7813
7813
  }
7814
7814
  var _utf8ToBytes, sigma16, sigma32, sigma16_32, sigma32_32, BLOCK_LEN, BLOCK_LEN32, MAX_COUNTER, U32_EMPTY;
7815
7815
  var init_arx = __esm({
7816
- "../../node_modules/@noble/ciphers/esm/_arx.js"() {
7816
+ "../../../term-333/node_modules/@noble/ciphers/esm/_arx.js"() {
7817
7817
  "use strict";
7818
7818
  init_utils3();
7819
7819
  _utf8ToBytes = (str) => Uint8Array.from(str.split("").map((c) => c.charCodeAt(0)));
@@ -7828,7 +7828,7 @@ var init_arx = __esm({
7828
7828
  }
7829
7829
  });
7830
7830
 
7831
- // ../../node_modules/@noble/ciphers/esm/_poly1305.js
7831
+ // ../../../term-333/node_modules/@noble/ciphers/esm/_poly1305.js
7832
7832
  function wrapConstructorWithKey(hashCons) {
7833
7833
  const hashC = (msg, key) => hashCons(key).update(toBytes2(msg)).digest();
7834
7834
  const tmp = hashCons(new Uint8Array(32));
@@ -7839,7 +7839,7 @@ function wrapConstructorWithKey(hashCons) {
7839
7839
  }
7840
7840
  var u8to16, Poly1305, poly1305;
7841
7841
  var init_poly1305 = __esm({
7842
- "../../node_modules/@noble/ciphers/esm/_poly1305.js"() {
7842
+ "../../../term-333/node_modules/@noble/ciphers/esm/_poly1305.js"() {
7843
7843
  "use strict";
7844
7844
  init_utils3();
7845
7845
  u8to16 = (a, i) => a[i++] & 255 | (a[i++] & 255) << 8;
@@ -8090,7 +8090,7 @@ var init_poly1305 = __esm({
8090
8090
  }
8091
8091
  });
8092
8092
 
8093
- // ../../node_modules/@noble/ciphers/esm/chacha.js
8093
+ // ../../../term-333/node_modules/@noble/ciphers/esm/chacha.js
8094
8094
  function chachaCore(s, k, n, out, cnt, rounds = 20) {
8095
8095
  let y00 = s[0], y01 = s[1], y02 = s[2], y03 = s[3], y04 = k[0], y05 = k[1], y06 = k[2], y07 = k[3], y08 = k[4], y09 = k[5], y10 = k[6], y11 = k[7], y12 = cnt, y13 = n[0], y14 = n[1], y15 = n[2];
8096
8096
  let x00 = y00, x01 = y01, x02 = y02, x03 = y03, x04 = y04, x05 = y05, x06 = y06, x07 = y07, x08 = y08, x09 = y09, x10 = y10, x11 = y11, x12 = y12, x13 = y13, x14 = y14, x15 = y15;
@@ -8270,7 +8270,7 @@ function computeTag(fn, key, nonce, data, AAD) {
8270
8270
  }
8271
8271
  var chacha20, xchacha20, ZEROS16, updatePadded, ZEROS32, _poly1305_aead, chacha20poly1305, xchacha20poly1305;
8272
8272
  var init_chacha = __esm({
8273
- "../../node_modules/@noble/ciphers/esm/chacha.js"() {
8273
+ "../../../term-333/node_modules/@noble/ciphers/esm/chacha.js"() {
8274
8274
  "use strict";
8275
8275
  init_arx();
8276
8276
  init_poly1305();
@@ -970,17 +970,17 @@ var init_directoryThreshold = __esm({
970
970
  }
971
971
  });
972
972
 
973
- // ../../node_modules/@noble/hashes/esm/cryptoNode.js
973
+ // ../../../term-333/node_modules/@noble/hashes/esm/cryptoNode.js
974
974
  import * as nc from "crypto";
975
975
  var crypto;
976
976
  var init_cryptoNode = __esm({
977
- "../../node_modules/@noble/hashes/esm/cryptoNode.js"() {
977
+ "../../../term-333/node_modules/@noble/hashes/esm/cryptoNode.js"() {
978
978
  "use strict";
979
979
  crypto = nc && typeof nc === "object" && "webcrypto" in nc ? nc.webcrypto : nc && typeof nc === "object" && "randomBytes" in nc ? nc : void 0;
980
980
  }
981
981
  });
982
982
 
983
- // ../../node_modules/@noble/hashes/esm/utils.js
983
+ // ../../../term-333/node_modules/@noble/hashes/esm/utils.js
984
984
  function isBytes(a) {
985
985
  return a instanceof Uint8Array || ArrayBuffer.isView(a) && a.constructor.name === "Uint8Array";
986
986
  }
@@ -1100,7 +1100,7 @@ function randomBytes(bytesLength = 32) {
1100
1100
  }
1101
1101
  var hasHexBuiltin, hexes, asciis, Hash;
1102
1102
  var init_utils = __esm({
1103
- "../../node_modules/@noble/hashes/esm/utils.js"() {
1103
+ "../../../term-333/node_modules/@noble/hashes/esm/utils.js"() {
1104
1104
  "use strict";
1105
1105
  init_cryptoNode();
1106
1106
  hasHexBuiltin = /* @__PURE__ */ (() => (
@@ -1114,7 +1114,7 @@ var init_utils = __esm({
1114
1114
  }
1115
1115
  });
1116
1116
 
1117
- // ../../node_modules/@noble/hashes/esm/_md.js
1117
+ // ../../../term-333/node_modules/@noble/hashes/esm/_md.js
1118
1118
  function setBigUint64(view, byteOffset, value, isLE2) {
1119
1119
  if (typeof view.setBigUint64 === "function")
1120
1120
  return view.setBigUint64(byteOffset, value, isLE2);
@@ -1129,7 +1129,7 @@ function setBigUint64(view, byteOffset, value, isLE2) {
1129
1129
  }
1130
1130
  var HashMD, SHA512_IV;
1131
1131
  var init_md = __esm({
1132
- "../../node_modules/@noble/hashes/esm/_md.js"() {
1132
+ "../../../term-333/node_modules/@noble/hashes/esm/_md.js"() {
1133
1133
  "use strict";
1134
1134
  init_utils();
1135
1135
  HashMD = class extends Hash {
@@ -1243,7 +1243,7 @@ var init_md = __esm({
1243
1243
  }
1244
1244
  });
1245
1245
 
1246
- // ../../node_modules/@noble/hashes/esm/_u64.js
1246
+ // ../../../term-333/node_modules/@noble/hashes/esm/_u64.js
1247
1247
  function fromBig(n, le = false) {
1248
1248
  if (le)
1249
1249
  return { h: Number(n & U32_MASK64), l: Number(n >> _32n & U32_MASK64) };
@@ -1265,7 +1265,7 @@ function add(Ah, Al, Bh, Bl) {
1265
1265
  }
1266
1266
  var U32_MASK64, _32n, shrSH, shrSL, rotrSH, rotrSL, rotrBH, rotrBL, add3L, add3H, add4L, add4H, add5L, add5H;
1267
1267
  var init_u64 = __esm({
1268
- "../../node_modules/@noble/hashes/esm/_u64.js"() {
1268
+ "../../../term-333/node_modules/@noble/hashes/esm/_u64.js"() {
1269
1269
  "use strict";
1270
1270
  U32_MASK64 = /* @__PURE__ */ BigInt(2 ** 32 - 1);
1271
1271
  _32n = /* @__PURE__ */ BigInt(32);
@@ -1284,10 +1284,10 @@ var init_u64 = __esm({
1284
1284
  }
1285
1285
  });
1286
1286
 
1287
- // ../../node_modules/@noble/hashes/esm/sha2.js
1287
+ // ../../../term-333/node_modules/@noble/hashes/esm/sha2.js
1288
1288
  var K512, SHA512_Kh, SHA512_Kl, SHA512_W_H, SHA512_W_L, SHA512, sha512;
1289
1289
  var init_sha2 = __esm({
1290
- "../../node_modules/@noble/hashes/esm/sha2.js"() {
1290
+ "../../../term-333/node_modules/@noble/hashes/esm/sha2.js"() {
1291
1291
  "use strict";
1292
1292
  init_md();
1293
1293
  init_u64();
@@ -1493,7 +1493,7 @@ var init_sha2 = __esm({
1493
1493
  }
1494
1494
  });
1495
1495
 
1496
- // ../../node_modules/@noble/curves/esm/utils.js
1496
+ // ../../../term-333/node_modules/@noble/curves/esm/utils.js
1497
1497
  function _abool2(value, title = "") {
1498
1498
  if (typeof value !== "boolean") {
1499
1499
  const prefix = title && `"${title}"`;
@@ -1600,7 +1600,7 @@ function memoized(fn) {
1600
1600
  }
1601
1601
  var _0n, _1n, isPosBig, bitMask, notImplemented;
1602
1602
  var init_utils2 = __esm({
1603
- "../../node_modules/@noble/curves/esm/utils.js"() {
1603
+ "../../../term-333/node_modules/@noble/curves/esm/utils.js"() {
1604
1604
  "use strict";
1605
1605
  init_utils();
1606
1606
  init_utils();
@@ -1614,7 +1614,7 @@ var init_utils2 = __esm({
1614
1614
  }
1615
1615
  });
1616
1616
 
1617
- // ../../node_modules/@noble/curves/esm/abstract/modular.js
1617
+ // ../../../term-333/node_modules/@noble/curves/esm/abstract/modular.js
1618
1618
  function mod(a, b) {
1619
1619
  const result = a % b;
1620
1620
  return result >= _0n2 ? result : b + result;
@@ -1911,7 +1911,7 @@ function Field(ORDER, bitLenOrOpts, isLE2 = false, opts = {}) {
1911
1911
  }
1912
1912
  var _0n2, _1n2, _2n, _3n, _4n, _5n, _7n, _8n, _9n, _16n, isNegativeLE, FIELD_FIELDS;
1913
1913
  var init_modular = __esm({
1914
- "../../node_modules/@noble/curves/esm/abstract/modular.js"() {
1914
+ "../../../term-333/node_modules/@noble/curves/esm/abstract/modular.js"() {
1915
1915
  "use strict";
1916
1916
  init_utils2();
1917
1917
  _0n2 = BigInt(0);
@@ -1947,7 +1947,7 @@ var init_modular = __esm({
1947
1947
  }
1948
1948
  });
1949
1949
 
1950
- // ../../node_modules/@noble/curves/esm/abstract/curve.js
1950
+ // ../../../term-333/node_modules/@noble/curves/esm/abstract/curve.js
1951
1951
  function negateCt(condition, item) {
1952
1952
  const neg = item.negate();
1953
1953
  return condition ? neg : item;
@@ -2080,7 +2080,7 @@ function _createCurveFields(type, CURVE, curveOpts = {}, FpFnLE) {
2080
2080
  }
2081
2081
  var _0n3, _1n3, pointPrecomputes, pointWindowSizes, wNAF;
2082
2082
  var init_curve = __esm({
2083
- "../../node_modules/@noble/curves/esm/abstract/curve.js"() {
2083
+ "../../../term-333/node_modules/@noble/curves/esm/abstract/curve.js"() {
2084
2084
  "use strict";
2085
2085
  init_utils2();
2086
2086
  init_modular();
@@ -2218,7 +2218,7 @@ var init_curve = __esm({
2218
2218
  }
2219
2219
  });
2220
2220
 
2221
- // ../../node_modules/@noble/curves/esm/abstract/edwards.js
2221
+ // ../../../term-333/node_modules/@noble/curves/esm/abstract/edwards.js
2222
2222
  function isEdValidXY(Fp2, CURVE, x, y) {
2223
2223
  const x2 = Fp2.sqr(x);
2224
2224
  const y2 = Fp2.sqr(y);
@@ -2699,7 +2699,7 @@ function twistedEdwards(c) {
2699
2699
  }
2700
2700
  var _0n4, _1n4, _2n2, _8n2, PrimeEdwardsPoint;
2701
2701
  var init_edwards = __esm({
2702
- "../../node_modules/@noble/curves/esm/abstract/edwards.js"() {
2702
+ "../../../term-333/node_modules/@noble/curves/esm/abstract/edwards.js"() {
2703
2703
  "use strict";
2704
2704
  init_utils2();
2705
2705
  init_curve();
@@ -2778,7 +2778,7 @@ var init_edwards = __esm({
2778
2778
  }
2779
2779
  });
2780
2780
 
2781
- // ../../node_modules/@noble/curves/esm/abstract/montgomery.js
2781
+ // ../../../term-333/node_modules/@noble/curves/esm/abstract/montgomery.js
2782
2782
  function validateOpts(curve) {
2783
2783
  _validateObject(curve, {
2784
2784
  adjustScalarBytes: "function",
@@ -2896,7 +2896,7 @@ function montgomery(curveDef) {
2896
2896
  }
2897
2897
  var _0n5, _1n5, _2n3;
2898
2898
  var init_montgomery = __esm({
2899
- "../../node_modules/@noble/curves/esm/abstract/montgomery.js"() {
2899
+ "../../../term-333/node_modules/@noble/curves/esm/abstract/montgomery.js"() {
2900
2900
  "use strict";
2901
2901
  init_utils2();
2902
2902
  init_modular();
@@ -2906,7 +2906,7 @@ var init_montgomery = __esm({
2906
2906
  }
2907
2907
  });
2908
2908
 
2909
- // ../../node_modules/@noble/curves/esm/ed25519.js
2909
+ // ../../../term-333/node_modules/@noble/curves/esm/ed25519.js
2910
2910
  function ed25519_pow_2_252_3(x) {
2911
2911
  const _10n = BigInt(10), _20n = BigInt(20), _40n = BigInt(40), _80n = BigInt(80);
2912
2912
  const P = ed25519_CURVE_p;
@@ -2984,7 +2984,7 @@ function ristretto255_map(bytes) {
2984
2984
  }
2985
2985
  var _0n6, _1n6, _2n4, _3n2, _5n2, _8n3, ed25519_CURVE_p, ed25519_CURVE, ED25519_SQRT_M1, Fp, Fn, ed25519Defaults, ed25519, x25519, SQRT_M1, SQRT_AD_MINUS_ONE, INVSQRT_A_MINUS_D, ONE_MINUS_D_SQ, D_MINUS_ONE_SQ, invertSqrt, MAX_255B, bytes255ToNumberLE, _RistrettoPoint;
2986
2986
  var init_ed25519 = __esm({
2987
- "../../node_modules/@noble/curves/esm/ed25519.js"() {
2987
+ "../../../term-333/node_modules/@noble/curves/esm/ed25519.js"() {
2988
2988
  "use strict";
2989
2989
  init_sha2();
2990
2990
  init_utils();
@@ -3154,7 +3154,7 @@ var init_ed25519 = __esm({
3154
3154
  }
3155
3155
  });
3156
3156
 
3157
- // ../../node_modules/@noble/ciphers/esm/utils.js
3157
+ // ../../../term-333/node_modules/@noble/ciphers/esm/utils.js
3158
3158
  function isBytes2(a) {
3159
3159
  return a instanceof Uint8Array || ArrayBuffer.isView(a) && a.constructor.name === "Uint8Array";
3160
3160
  }
@@ -3261,7 +3261,7 @@ function copyBytes2(bytes) {
3261
3261
  }
3262
3262
  var isLE, wrapCipher;
3263
3263
  var init_utils3 = __esm({
3264
- "../../node_modules/@noble/ciphers/esm/utils.js"() {
3264
+ "../../../term-333/node_modules/@noble/ciphers/esm/utils.js"() {
3265
3265
  "use strict";
3266
3266
  isLE = /* @__PURE__ */ (() => new Uint8Array(new Uint32Array([287454020]).buffer)[0] === 68)();
3267
3267
  wrapCipher = /* @__NO_SIDE_EFFECTS__ */ (params, constructor) => {
@@ -3316,7 +3316,7 @@ var init_utils3 = __esm({
3316
3316
  }
3317
3317
  });
3318
3318
 
3319
- // ../../node_modules/@noble/ciphers/esm/_arx.js
3319
+ // ../../../term-333/node_modules/@noble/ciphers/esm/_arx.js
3320
3320
  function rotl(a, b) {
3321
3321
  return a << b | a >>> 32 - b;
3322
3322
  }
@@ -3416,7 +3416,7 @@ function createCipher(core, opts) {
3416
3416
  }
3417
3417
  var _utf8ToBytes, sigma16, sigma32, sigma16_32, sigma32_32, BLOCK_LEN, BLOCK_LEN32, MAX_COUNTER, U32_EMPTY;
3418
3418
  var init_arx = __esm({
3419
- "../../node_modules/@noble/ciphers/esm/_arx.js"() {
3419
+ "../../../term-333/node_modules/@noble/ciphers/esm/_arx.js"() {
3420
3420
  "use strict";
3421
3421
  init_utils3();
3422
3422
  _utf8ToBytes = (str) => Uint8Array.from(str.split("").map((c) => c.charCodeAt(0)));
@@ -3431,7 +3431,7 @@ var init_arx = __esm({
3431
3431
  }
3432
3432
  });
3433
3433
 
3434
- // ../../node_modules/@noble/ciphers/esm/_poly1305.js
3434
+ // ../../../term-333/node_modules/@noble/ciphers/esm/_poly1305.js
3435
3435
  function wrapConstructorWithKey(hashCons) {
3436
3436
  const hashC = (msg, key) => hashCons(key).update(toBytes2(msg)).digest();
3437
3437
  const tmp = hashCons(new Uint8Array(32));
@@ -3442,7 +3442,7 @@ function wrapConstructorWithKey(hashCons) {
3442
3442
  }
3443
3443
  var u8to16, Poly1305, poly1305;
3444
3444
  var init_poly1305 = __esm({
3445
- "../../node_modules/@noble/ciphers/esm/_poly1305.js"() {
3445
+ "../../../term-333/node_modules/@noble/ciphers/esm/_poly1305.js"() {
3446
3446
  "use strict";
3447
3447
  init_utils3();
3448
3448
  u8to16 = (a, i) => a[i++] & 255 | (a[i++] & 255) << 8;
@@ -3693,7 +3693,7 @@ var init_poly1305 = __esm({
3693
3693
  }
3694
3694
  });
3695
3695
 
3696
- // ../../node_modules/@noble/ciphers/esm/chacha.js
3696
+ // ../../../term-333/node_modules/@noble/ciphers/esm/chacha.js
3697
3697
  function chachaCore(s, k, n, out, cnt, rounds = 20) {
3698
3698
  let y00 = s[0], y01 = s[1], y02 = s[2], y03 = s[3], y04 = k[0], y05 = k[1], y06 = k[2], y07 = k[3], y08 = k[4], y09 = k[5], y10 = k[6], y11 = k[7], y12 = cnt, y13 = n[0], y14 = n[1], y15 = n[2];
3699
3699
  let x00 = y00, x01 = y01, x02 = y02, x03 = y03, x04 = y04, x05 = y05, x06 = y06, x07 = y07, x08 = y08, x09 = y09, x10 = y10, x11 = y11, x12 = y12, x13 = y13, x14 = y14, x15 = y15;
@@ -3873,7 +3873,7 @@ function computeTag(fn, key, nonce, data, AAD) {
3873
3873
  }
3874
3874
  var chacha20, xchacha20, ZEROS16, updatePadded, ZEROS32, _poly1305_aead, chacha20poly1305, xchacha20poly1305;
3875
3875
  var init_chacha = __esm({
3876
- "../../node_modules/@noble/ciphers/esm/chacha.js"() {
3876
+ "../../../term-333/node_modules/@noble/ciphers/esm/chacha.js"() {
3877
3877
  "use strict";
3878
3878
  init_arx();
3879
3879
  init_poly1305();