@hinkal/common 0.0.78 → 0.0.79

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.
@@ -1,5 +1,5 @@
1
- import { p as Se, B as ho } from "./zkProofWorkerLauncher-B6N47HzJ.js";
2
- import { r as sn, g as Ua, a as Lo, b as mo, c as en, e as ja, d as $a, u as zn, f as bo } from "./zkProofWorkerLogic-CoZWjscG.js";
1
+ import { p as Se, B as ho } from "./zkProofWorkerLauncher-CcfFQfFc.js";
2
+ import { r as sn, g as Ua, a as Lo, b as mo, c as en, e as ja, d as $a, u as zn, f as bo } from "./zkProofWorkerLogic-DcWG3gRO.js";
3
3
  const yo = [0, 1, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4];
4
4
  function rn(c, t) {
5
5
  if (!t || t == 10)
@@ -1,5 +1,5 @@
1
- import { B as U } from "./zkProofWorkerLauncher-B6N47HzJ.js";
2
- import { U as l, h as T, f, i as I, j as y, k as m, l as h, p as S } from "./zkProofWorkerLogic-CoZWjscG.js";
1
+ import { B as U } from "./zkProofWorkerLauncher-CcfFQfFc.js";
2
+ import { U as l, h as T, f, i as I, j as y, k as m, l as h, p as S } from "./zkProofWorkerLogic-DcWG3gRO.js";
3
3
  const g = (e) => {
4
4
  const t = T.decode(
5
5
  ["uint256", "address", "tuple(uint256, uint256, uint256, uint256)", "uint256", "uint256"],
@@ -1,5 +1,5 @@
1
- import { W as r } from "./zkProofWorkerLogic-CoZWjscG.js";
2
- import "./zkProofWorkerLauncher-B6N47HzJ.js";
1
+ import { W as r } from "./zkProofWorkerLogic-DcWG3gRO.js";
2
+ import "./zkProofWorkerLauncher-CcfFQfFc.js";
3
3
  var o = self.location.href, e = "" + new URL("snarkjsWorkerLauncher-BA9NPDjf.js", import.meta.url).href, a = "" + new URL("utxoWorkerLauncher-DnwHvvqe.js", import.meta.url).href;
4
4
  const n = {
5
5
  [r.ZKProof]: o,
@@ -1192,7 +1192,7 @@ const It = /* @__PURE__ */ dt(mt), Ft = () => {
1192
1192
  };
1193
1193
  globalThis.process = It;
1194
1194
  globalThis.Buffer = gr;
1195
- const Tt = import("./zkProofWorkerLogic-CoZWjscG.js").then(function(h) {
1195
+ const Tt = import("./zkProofWorkerLogic-DcWG3gRO.js").then(function(h) {
1196
1196
  return h.z;
1197
1197
  });
1198
1198
  addEventListener("message", async (h) => {
@@ -1,4 +1,4 @@
1
- import { d as dist$1, p as process$1, B as Buffer } from "./zkProofWorkerLauncher-B6N47HzJ.js";
1
+ import { d as dist$1, p as process$1, B as Buffer } from "./zkProofWorkerLauncher-CcfFQfFc.js";
2
2
  const hexLen = [0, 1, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4];
3
3
  function fromString$1(a, d) {
4
4
  if (!d || d == 10)
@@ -12204,25 +12204,26 @@ var tryTypedArrays = function(d) {
12204
12204
  })(types$i);
12205
12205
  var isBufferBrowser = function(d) {
12206
12206
  return d && typeof d == "object" && typeof d.copy == "function" && typeof d.fill == "function" && typeof d.readUInt8 == "function";
12207
- }, inherits_browser$1 = { exports: {} };
12208
- typeof Object.create == "function" ? inherits_browser$1.exports = function(d, n) {
12209
- n && (d.super_ = n, d.prototype = Object.create(n.prototype, {
12210
- constructor: {
12211
- value: d,
12212
- enumerable: !1,
12213
- writable: !0,
12214
- configurable: !0
12207
+ }, inherits_browser$1 = { exports: {} }, hasRequiredInherits_browser;
12208
+ function requireInherits_browser() {
12209
+ return hasRequiredInherits_browser || (hasRequiredInherits_browser = 1, typeof Object.create == "function" ? inherits_browser$1.exports = function(d, n) {
12210
+ n && (d.super_ = n, d.prototype = Object.create(n.prototype, {
12211
+ constructor: {
12212
+ value: d,
12213
+ enumerable: !1,
12214
+ writable: !0,
12215
+ configurable: !0
12216
+ }
12217
+ }));
12218
+ } : inherits_browser$1.exports = function(d, n) {
12219
+ if (n) {
12220
+ d.super_ = n;
12221
+ var c = function() {
12222
+ };
12223
+ c.prototype = n.prototype, d.prototype = new c(), d.prototype.constructor = d;
12215
12224
  }
12216
- }));
12217
- } : inherits_browser$1.exports = function(d, n) {
12218
- if (n) {
12219
- d.super_ = n;
12220
- var c = function() {
12221
- };
12222
- c.prototype = n.prototype, d.prototype = new c(), d.prototype.constructor = d;
12223
- }
12224
- };
12225
- var inherits_browserExports = inherits_browser$1.exports;
12225
+ }), inherits_browser$1.exports;
12226
+ }
12226
12227
  (function(a) {
12227
12228
  var d = Object.getOwnPropertyDescriptors || function(ue) {
12228
12229
  for (var he = Object.keys(ue), fe = {}, pe = 0; pe < he.length; pe++)
@@ -12532,7 +12533,7 @@ var inherits_browserExports = inherits_browser$1.exports;
12532
12533
  }
12533
12534
  a.log = function() {
12534
12535
  console.log("%s - %s", k(), a.format.apply(a, arguments));
12535
- }, a.inherits = inherits_browserExports, a._extend = function(ce, ue) {
12536
+ }, a.inherits = requireInherits_browser(), a._extend = function(ce, ue) {
12536
12537
  if (!ue || !K(ue))
12537
12538
  return ce;
12538
12539
  for (var he = Object.keys(ue), fe = he.length; fe--; )
@@ -12949,7 +12950,7 @@ function require_stream_writable$1() {
12949
12950
  return u.isBuffer(pe) || pe instanceof l;
12950
12951
  }
12951
12952
  var U = destroy_1$1, H = state, F = H.getHighWaterMark, de = errorsBrowser.codes, B = de.ERR_INVALID_ARG_TYPE, ne = de.ERR_METHOD_NOT_IMPLEMENTED, be = de.ERR_MULTIPLE_CALLBACK, L = de.ERR_STREAM_CANNOT_PIPE, V = de.ERR_STREAM_DESTROYED, q = de.ERR_STREAM_NULL_VALUES, O = de.ERR_STREAM_WRITE_AFTER_END, G = de.ERR_UNKNOWN_ENCODING, ie = U.errorOrDestroy;
12952
- inherits_browserExports(ve, c);
12953
+ requireInherits_browser()(ve, c);
12953
12954
  function ye() {
12954
12955
  }
12955
12956
  function Be(pe, Ne, Ie) {
@@ -13170,7 +13171,7 @@ function require_stream_duplex$1() {
13170
13171
  };
13171
13172
  _stream_duplex$1 = y;
13172
13173
  var d = require_stream_readable$1(), n = require_stream_writable$1();
13173
- inherits_browserExports(y, d);
13174
+ requireInherits_browser()(y, d);
13174
13175
  for (var c = a(n.prototype), u = 0; u < c.length; u++) {
13175
13176
  var l = c[u];
13176
13177
  y.prototype[l] || (y.prototype[l] = n.prototype[l]);
@@ -13623,7 +13624,7 @@ function require_stream_readable$1() {
13623
13624
  Q && Q.debuglog ? U = Q.debuglog("stream") : U = function() {
13624
13625
  };
13625
13626
  var H = requireBuffer_list(), F = destroy_1$1, de = state, B = de.getHighWaterMark, ne = errorsBrowser.codes, be = ne.ERR_INVALID_ARG_TYPE, L = ne.ERR_STREAM_PUSH_AFTER_EOF, V = ne.ERR_METHOD_NOT_IMPLEMENTED, q = ne.ERR_STREAM_UNSHIFT_AFTER_END_EVENT, O, G, ie;
13626
- inherits_browserExports(K, n);
13627
+ requireInherits_browser()(K, n);
13627
13628
  var ye = F.errorOrDestroy, Be = ["error", "close", "destroy", "pause", "resume"];
13628
13629
  function j(We, la, He) {
13629
13630
  if (typeof We.prependListener == "function")
@@ -13950,7 +13951,7 @@ function require_stream_readable$1() {
13950
13951
  return _stream_readable$1;
13951
13952
  }
13952
13953
  var _stream_transform$1 = Transform$1, _require$codes$1 = errorsBrowser.codes, ERR_METHOD_NOT_IMPLEMENTED = _require$codes$1.ERR_METHOD_NOT_IMPLEMENTED, ERR_MULTIPLE_CALLBACK = _require$codes$1.ERR_MULTIPLE_CALLBACK, ERR_TRANSFORM_ALREADY_TRANSFORMING = _require$codes$1.ERR_TRANSFORM_ALREADY_TRANSFORMING, ERR_TRANSFORM_WITH_LENGTH_0 = _require$codes$1.ERR_TRANSFORM_WITH_LENGTH_0, Duplex = require_stream_duplex$1();
13953
- inherits_browserExports(Transform$1, Duplex);
13954
+ requireInherits_browser()(Transform$1, Duplex);
13954
13955
  function afterTransform(a, d) {
13955
13956
  var n = this._transformState;
13956
13957
  n.transforming = !1;
@@ -14011,7 +14012,7 @@ function done(a, d, n) {
14011
14012
  return a.push(null);
14012
14013
  }
14013
14014
  var _stream_passthrough$1 = PassThrough, Transform = _stream_transform$1;
14014
- inherits_browserExports(PassThrough, Transform);
14015
+ requireInherits_browser()(PassThrough, Transform);
14015
14016
  function PassThrough(a) {
14016
14017
  if (!(this instanceof PassThrough))
14017
14018
  return new PassThrough(a);
@@ -19218,7 +19219,7 @@ function requireUtils$3() {
19218
19219
  if (hasRequiredUtils$3)
19219
19220
  return utils$k;
19220
19221
  hasRequiredUtils$3 = 1;
19221
- var a = requireMinimalisticAssert(), d = inherits_browserExports;
19222
+ var a = requireMinimalisticAssert(), d = requireInherits_browser();
19222
19223
  utils$k.inherits = d;
19223
19224
  function n(_, I) {
19224
19225
  return (_.charCodeAt(I) & 64512) !== 55296 || I < 0 || I + 1 >= _.length ? !1 : (_.charCodeAt(I + 1) & 64512) === 56320;
@@ -55098,7 +55099,7 @@ function requireHashBase$1() {
55098
55099
  if (hasRequiredHashBase$1)
55099
55100
  return hashBase$1;
55100
55101
  hasRequiredHashBase$1 = 1;
55101
- var a = requireSafeBuffer$1().Buffer, d = readableBrowserExports.Transform, n = inherits_browserExports;
55102
+ var a = requireSafeBuffer$1().Buffer, d = readableBrowserExports.Transform, n = requireInherits_browser();
55102
55103
  function c(l, y) {
55103
55104
  if (!a.isBuffer(l) && typeof l != "string")
55104
55105
  throw new TypeError(y + " must be a string or a buffer");
@@ -55156,7 +55157,7 @@ function requireMd5_js() {
55156
55157
  if (hasRequiredMd5_js)
55157
55158
  return md5_js;
55158
55159
  hasRequiredMd5_js = 1;
55159
- var a = inherits_browserExports, d = requireHashBase$1(), n = requireSafeBuffer$1().Buffer, c = new Array(16);
55160
+ var a = requireInherits_browser(), d = requireHashBase$1(), n = requireSafeBuffer$1().Buffer, c = new Array(16);
55160
55161
  function u() {
55161
55162
  d.call(this, 64), this._a = 1732584193, this._b = 4023233417, this._c = 2562383102, this._d = 271733878;
55162
55163
  }
@@ -55192,7 +55193,7 @@ function requireHashBase() {
55192
55193
  if (hasRequiredHashBase)
55193
55194
  return hashBase;
55194
55195
  hasRequiredHashBase = 1;
55195
- var a = requireSafeBuffer$1().Buffer, d = readableBrowserExports.Transform, n = inherits_browserExports;
55196
+ var a = requireSafeBuffer$1().Buffer, d = readableBrowserExports.Transform, n = requireInherits_browser();
55196
55197
  function c(l, y) {
55197
55198
  if (!a.isBuffer(l) && typeof l != "string")
55198
55199
  throw new TypeError(y + " must be a string or a buffer");
@@ -55250,7 +55251,7 @@ function requireRipemd160() {
55250
55251
  if (hasRequiredRipemd160)
55251
55252
  return ripemd160$3;
55252
55253
  hasRequiredRipemd160 = 1;
55253
- var a = require$$0$4.Buffer, d = inherits_browserExports, n = requireHashBase(), c = new Array(16), u = [
55254
+ var a = require$$0$4.Buffer, d = requireInherits_browser(), n = requireHashBase(), c = new Array(16), u = [
55254
55255
  0,
55255
55256
  1,
55256
55257
  2,
@@ -55651,7 +55652,7 @@ function requireSha() {
55651
55652
  if (hasRequiredSha)
55652
55653
  return sha$1;
55653
55654
  hasRequiredSha = 1;
55654
- var a = inherits_browserExports, d = requireHash(), n = requireSafeBuffer$1().Buffer, c = [
55655
+ var a = requireInherits_browser(), d = requireHash(), n = requireSafeBuffer$1().Buffer, c = [
55655
55656
  1518500249,
55656
55657
  1859775393,
55657
55658
  -1894007588,
@@ -55692,7 +55693,7 @@ function requireSha1() {
55692
55693
  if (hasRequiredSha1)
55693
55694
  return sha1$1;
55694
55695
  hasRequiredSha1 = 1;
55695
- var a = inherits_browserExports, d = requireHash(), n = requireSafeBuffer$1().Buffer, c = [
55696
+ var a = requireInherits_browser(), d = requireHash(), n = requireSafeBuffer$1().Buffer, c = [
55696
55697
  1518500249,
55697
55698
  1859775393,
55698
55699
  -1894007588,
@@ -55736,7 +55737,7 @@ function requireSha256() {
55736
55737
  if (hasRequiredSha256)
55737
55738
  return sha256$4;
55738
55739
  hasRequiredSha256 = 1;
55739
- var a = inherits_browserExports, d = requireHash(), n = requireSafeBuffer$1().Buffer, c = [
55740
+ var a = requireInherits_browser(), d = requireHash(), n = requireSafeBuffer$1().Buffer, c = [
55740
55741
  1116352408,
55741
55742
  1899447441,
55742
55743
  3049323471,
@@ -55846,7 +55847,7 @@ function requireSha224() {
55846
55847
  if (hasRequiredSha224)
55847
55848
  return sha224$1;
55848
55849
  hasRequiredSha224 = 1;
55849
- var a = inherits_browserExports, d = requireSha256(), n = requireHash(), c = requireSafeBuffer$1().Buffer, u = new Array(64);
55850
+ var a = requireInherits_browser(), d = requireSha256(), n = requireHash(), c = requireSafeBuffer$1().Buffer, u = new Array(64);
55850
55851
  function l() {
55851
55852
  this.init(), this._w = u, n.call(this, 64, 56);
55852
55853
  }
@@ -55862,7 +55863,7 @@ function requireSha512() {
55862
55863
  if (hasRequiredSha512)
55863
55864
  return sha512$4;
55864
55865
  hasRequiredSha512 = 1;
55865
- var a = inherits_browserExports, d = requireHash(), n = requireSafeBuffer$1().Buffer, c = [
55866
+ var a = requireInherits_browser(), d = requireHash(), n = requireSafeBuffer$1().Buffer, c = [
55866
55867
  1116352408,
55867
55868
  3609767458,
55868
55869
  1899447441,
@@ -56087,7 +56088,7 @@ function requireSha384() {
56087
56088
  if (hasRequiredSha384)
56088
56089
  return sha384$1;
56089
56090
  hasRequiredSha384 = 1;
56090
- var a = inherits_browserExports, d = requireSha512(), n = requireHash(), c = requireSafeBuffer$1().Buffer, u = new Array(160);
56091
+ var a = requireInherits_browser(), d = requireSha512(), n = requireHash(), c = requireSafeBuffer$1().Buffer, u = new Array(160);
56091
56092
  function l() {
56092
56093
  this.init(), this._w = u, n.call(this, 128, 112);
56093
56094
  }
@@ -56120,7 +56121,7 @@ function requireStreamBrowserify() {
56120
56121
  if (hasRequiredStreamBrowserify)
56121
56122
  return streamBrowserify;
56122
56123
  hasRequiredStreamBrowserify = 1, streamBrowserify = n;
56123
- var a = eventsExports.EventEmitter, d = inherits_browserExports;
56124
+ var a = eventsExports.EventEmitter, d = requireInherits_browser();
56124
56125
  d(n, a), n.Readable = require_stream_readable$1(), n.Writable = require_stream_writable$1(), n.Duplex = require_stream_duplex$1(), n.Transform = _stream_transform$1, n.PassThrough = _stream_passthrough$1, n.finished = endOfStream, n.pipeline = pipeline_1, n.Stream = n;
56125
56126
  function n() {
56126
56127
  a.call(this);
@@ -56158,7 +56159,7 @@ function requireCipherBase() {
56158
56159
  if (hasRequiredCipherBase)
56159
56160
  return cipherBase;
56160
56161
  hasRequiredCipherBase = 1;
56161
- var a = requireSafeBuffer$1().Buffer, d = requireStreamBrowserify().Transform, n = requireString_decoder().StringDecoder, c = inherits_browserExports;
56162
+ var a = requireSafeBuffer$1().Buffer, d = requireStreamBrowserify().Transform, n = requireString_decoder().StringDecoder, c = requireInherits_browser();
56162
56163
  function u(l) {
56163
56164
  d.call(this), this.hashMode = typeof l == "string", this.hashMode ? this[l] = this._finalOrDigest : this.final = this._finalOrDigest, this._final && (this.__final = this._final, this._final = null), this._decoder = null, this._encoding = null;
56164
56165
  }
@@ -56205,7 +56206,7 @@ function requireBrowser$9() {
56205
56206
  if (hasRequiredBrowser$9)
56206
56207
  return browser$c;
56207
56208
  hasRequiredBrowser$9 = 1;
56208
- var a = inherits_browserExports, d = requireMd5_js(), n = requireRipemd160(), c = requireSha_js(), u = requireCipherBase();
56209
+ var a = requireInherits_browser(), d = requireMd5_js(), n = requireRipemd160(), c = requireSha_js(), u = requireCipherBase();
56209
56210
  function l(y) {
56210
56211
  u.call(this, "digest"), this._hash = y;
56211
56212
  }
@@ -56222,7 +56223,7 @@ function requireLegacy() {
56222
56223
  if (hasRequiredLegacy)
56223
56224
  return legacy;
56224
56225
  hasRequiredLegacy = 1;
56225
- var a = inherits_browserExports, d = requireSafeBuffer$1().Buffer, n = requireCipherBase(), c = d.alloc(128), u = 64;
56226
+ var a = requireInherits_browser(), d = requireSafeBuffer$1().Buffer, n = requireCipherBase(), c = d.alloc(128), u = 64;
56226
56227
  function l(y, Q) {
56227
56228
  n.call(this, "digest"), typeof Q == "string" && (Q = d.from(Q)), this._alg = y, this._key = Q, Q.length > u ? Q = y(Q) : Q.length < u && (Q = d.concat([Q, c], u));
56228
56229
  for (var U = this._ipad = d.allocUnsafe(u), H = this._opad = d.allocUnsafe(u), F = 0; F < u; F++)
@@ -56251,7 +56252,7 @@ function requireBrowser$8() {
56251
56252
  if (hasRequiredBrowser$8)
56252
56253
  return browser$b;
56253
56254
  hasRequiredBrowser$8 = 1;
56254
- var a = inherits_browserExports, d = requireLegacy(), n = requireCipherBase(), c = requireSafeBuffer$1().Buffer, u = requireMd5(), l = requireRipemd160(), y = requireSha_js(), Q = c.alloc(128);
56255
+ var a = requireInherits_browser(), d = requireLegacy(), n = requireCipherBase(), c = requireSafeBuffer$1().Buffer, u = requireMd5(), l = requireRipemd160(), y = requireSha_js(), Q = c.alloc(128);
56255
56256
  function U(H, F) {
56256
56257
  n.call(this, "digest"), typeof F == "string" && (F = c.from(F));
56257
56258
  var de = H === "sha512" || H === "sha384" ? 128 : 64;
@@ -57370,7 +57371,7 @@ function requireDes$1() {
57370
57371
  if (hasRequiredDes$1)
57371
57372
  return des;
57372
57373
  hasRequiredDes$1 = 1;
57373
- var a = requireMinimalisticAssert(), d = inherits_browserExports, n = requireUtils$2(), c = requireCipher();
57374
+ var a = requireMinimalisticAssert(), d = requireInherits_browser(), n = requireUtils$2(), c = requireCipher();
57374
57375
  function u() {
57375
57376
  this.tmp = new Array(2), this.keys = null;
57376
57377
  }
@@ -57446,7 +57447,7 @@ function requireCbc$1() {
57446
57447
  if (hasRequiredCbc$1)
57447
57448
  return cbc$1;
57448
57449
  hasRequiredCbc$1 = 1;
57449
- var a = requireMinimalisticAssert(), d = inherits_browserExports, n = {};
57450
+ var a = requireMinimalisticAssert(), d = requireInherits_browser(), n = {};
57450
57451
  function c(l) {
57451
57452
  a.equal(l.length, 8, "Invalid IV length"), this.iv = new Array(8);
57452
57453
  for (var y = 0; y < this.iv.length; y++)
@@ -57490,7 +57491,7 @@ function requireEde() {
57490
57491
  if (hasRequiredEde)
57491
57492
  return ede;
57492
57493
  hasRequiredEde = 1;
57493
- var a = requireMinimalisticAssert(), d = inherits_browserExports, n = requireCipher(), c = requireDes$1();
57494
+ var a = requireMinimalisticAssert(), d = requireInherits_browser(), n = requireCipher(), c = requireDes$1();
57494
57495
  function u(y, Q) {
57495
57496
  a.equal(Q.length, 24, "Invalid key length");
57496
57497
  var U = Q.slice(0, 8), H = Q.slice(8, 16), F = Q.slice(16, 24);
@@ -57525,7 +57526,7 @@ function requireBrowserifyDes() {
57525
57526
  if (hasRequiredBrowserifyDes)
57526
57527
  return browserifyDes;
57527
57528
  hasRequiredBrowserifyDes = 1;
57528
- var a = requireCipherBase(), d = requireDes(), n = inherits_browserExports, c = requireSafeBuffer$1().Buffer, u = {
57529
+ var a = requireCipherBase(), d = requireDes(), n = requireInherits_browser(), c = requireSafeBuffer$1().Buffer, u = {
57529
57530
  "des-ede3-cbc": d.CBC.instantiate(d.EDE),
57530
57531
  "des-ede3": d.EDE,
57531
57532
  "des-ede-cbc": d.CBC.instantiate(d.EDE),
@@ -58027,7 +58028,7 @@ function requireAuthCipher() {
58027
58028
  if (hasRequiredAuthCipher)
58028
58029
  return authCipher;
58029
58030
  hasRequiredAuthCipher = 1;
58030
- var a = requireAes(), d = requireSafeBuffer$1().Buffer, n = requireCipherBase(), c = inherits_browserExports, u = requireGhash(), l = requireBufferXor(), y = requireIncr32();
58031
+ var a = requireAes(), d = requireSafeBuffer$1().Buffer, n = requireCipherBase(), c = requireInherits_browser(), u = requireGhash(), l = requireBufferXor(), y = requireIncr32();
58031
58032
  function Q(F, de) {
58032
58033
  var B = 0;
58033
58034
  F.length !== de.length && B++;
@@ -58086,7 +58087,7 @@ function requireStreamCipher() {
58086
58087
  if (hasRequiredStreamCipher)
58087
58088
  return streamCipher;
58088
58089
  hasRequiredStreamCipher = 1;
58089
- var a = requireAes(), d = requireSafeBuffer$1().Buffer, n = requireCipherBase(), c = inherits_browserExports;
58090
+ var a = requireAes(), d = requireSafeBuffer$1().Buffer, n = requireCipherBase(), c = requireInherits_browser();
58090
58091
  function u(l, y, Q, U) {
58091
58092
  n.call(this), this._cipher = new a.AES(y), this._prev = d.from(Q), this._cache = d.allocUnsafe(0), this._secCache = d.allocUnsafe(0), this._decrypt = U, this._mode = l;
58092
58093
  }
@@ -58127,7 +58128,7 @@ function requireEncrypter() {
58127
58128
  if (hasRequiredEncrypter)
58128
58129
  return encrypter;
58129
58130
  hasRequiredEncrypter = 1;
58130
- var a = requireModes$1(), d = requireAuthCipher(), n = requireSafeBuffer$1().Buffer, c = requireStreamCipher(), u = requireCipherBase(), l = requireAes(), y = requireEvp_bytestokey(), Q = inherits_browserExports;
58131
+ var a = requireModes$1(), d = requireAuthCipher(), n = requireSafeBuffer$1().Buffer, c = requireStreamCipher(), u = requireCipherBase(), l = requireAes(), y = requireEvp_bytestokey(), Q = requireInherits_browser();
58131
58132
  function U(ne, be, L) {
58132
58133
  u.call(this), this._cache = new F(), this._cipher = new l.AES(be), this._prev = n.from(L), this._mode = ne, this._autopadding = !0;
58133
58134
  }
@@ -58187,7 +58188,7 @@ function requireDecrypter() {
58187
58188
  if (hasRequiredDecrypter)
58188
58189
  return decrypter;
58189
58190
  hasRequiredDecrypter = 1;
58190
- var a = requireAuthCipher(), d = requireSafeBuffer$1().Buffer, n = requireModes$1(), c = requireStreamCipher(), u = requireCipherBase(), l = requireAes(), y = requireEvp_bytestokey(), Q = inherits_browserExports;
58191
+ var a = requireAuthCipher(), d = requireSafeBuffer$1().Buffer, n = requireModes$1(), c = requireStreamCipher(), u = requireCipherBase(), l = requireAes(), y = requireEvp_bytestokey(), Q = requireInherits_browser();
58191
58192
  function U(ne, be, L) {
58192
58193
  u.call(this), this._cache = new H(), this._last = void 0, this._cipher = new l.AES(be), this._prev = d.from(L), this._mode = ne, this._autopadding = !0;
58193
58194
  }
@@ -61222,7 +61223,7 @@ function require_stream_writable() {
61222
61223
  var n = !process$1.browser && ["v0.10", "v0.9."].indexOf(process$1.version.slice(0, 5)) > -1 ? setImmediate : a.nextTick, c;
61223
61224
  L.WritableState = ne;
61224
61225
  var u = Object.create(requireUtil());
61225
- u.inherits = inherits_browserExports;
61226
+ u.inherits = requireInherits_browser();
61226
61227
  var l = {
61227
61228
  deprecate: browser$e
61228
61229
  }, y = requireStreamBrowser(), Q = requireSafeBuffer().Buffer, U = (typeof commonjsGlobal < "u" ? commonjsGlobal : typeof window < "u" ? window : typeof self < "u" ? self : {}).Uint8Array || function() {
@@ -61432,7 +61433,7 @@ function require_stream_duplex() {
61432
61433
  };
61433
61434
  _stream_duplex = U;
61434
61435
  var n = Object.create(requireUtil());
61435
- n.inherits = inherits_browserExports;
61436
+ n.inherits = requireInherits_browser();
61436
61437
  var c = require_stream_readable(), u = require_stream_writable();
61437
61438
  n.inherits(U, c);
61438
61439
  for (var l = d(u.prototype), y = 0; y < l.length; y++) {
@@ -61490,7 +61491,7 @@ function require_stream_readable() {
61490
61491
  return l.isBuffer(Ne) || Ne instanceof y;
61491
61492
  }
61492
61493
  var H = Object.create(requireUtil());
61493
- H.inherits = inherits_browserExports;
61494
+ H.inherits = requireInherits_browser();
61494
61495
  var F = util$c, de = void 0;
61495
61496
  F && F.debuglog ? de = F.debuglog("stream") : de = function() {
61496
61497
  };
@@ -61794,7 +61795,7 @@ function require_stream_transform() {
61794
61795
  return _stream_transform;
61795
61796
  hasRequired_stream_transform = 1, _stream_transform = c;
61796
61797
  var a = require_stream_duplex(), d = Object.create(requireUtil());
61797
- d.inherits = inherits_browserExports, d.inherits(c, a);
61798
+ d.inherits = requireInherits_browser(), d.inherits(c, a);
61798
61799
  function n(y, Q) {
61799
61800
  var U = this._transformState;
61800
61801
  U.transforming = !1;
@@ -61859,7 +61860,7 @@ function require_stream_passthrough() {
61859
61860
  return _stream_passthrough;
61860
61861
  hasRequired_stream_passthrough = 1, _stream_passthrough = n;
61861
61862
  var a = require_stream_transform(), d = Object.create(requireUtil());
61862
- d.inherits = inherits_browserExports, d.inherits(n, a);
61863
+ d.inherits = requireInherits_browser(), d.inherits(n, a);
61863
61864
  function n(c) {
61864
61865
  if (!(this instanceof n))
61865
61866
  return new n(c);
@@ -63419,7 +63420,7 @@ function requireShort() {
63419
63420
  if (hasRequiredShort)
63420
63421
  return short;
63421
63422
  hasRequiredShort = 1;
63422
- var a = requireUtils(), d = requireBn$3(), n = inherits_browserExports, c = requireBase$1(), u = a.assert;
63423
+ var a = requireUtils(), d = requireBn$3(), n = requireInherits_browser(), c = requireBase$1(), u = a.assert;
63423
63424
  function l(U) {
63424
63425
  c.call(this, "short", U), this.a = new d(U.a, 16).toRed(this.red), this.b = new d(U.b, 16).toRed(this.red), this.tinv = this.two.redInvm(), this.zeroA = this.a.fromRed().cmpn(0) === 0, this.threeA = this.a.fromRed().sub(this.p).cmpn(-3) === 0, this.endo = this._getEndomorphism(U), this._endoWnafT1 = new Array(4), this._endoWnafT2 = new Array(4);
63425
63426
  }
@@ -63768,7 +63769,7 @@ function requireMont() {
63768
63769
  if (hasRequiredMont)
63769
63770
  return mont;
63770
63771
  hasRequiredMont = 1;
63771
- var a = requireBn$3(), d = inherits_browserExports, n = requireBase$1(), c = requireUtils();
63772
+ var a = requireBn$3(), d = requireInherits_browser(), n = requireBase$1(), c = requireUtils();
63772
63773
  function u(y) {
63773
63774
  n.call(this, "mont", y), this.a = new a(y.a, 16).toRed(this.red), this.b = new a(y.b, 16).toRed(this.red), this.i4 = new a(4).toRed(this.red).redInvm(), this.two = new a(2).toRed(this.red), this.a24 = this.i4.redMul(this.a.redAdd(this.two));
63774
63775
  }
@@ -63825,7 +63826,7 @@ function requireEdwards() {
63825
63826
  if (hasRequiredEdwards)
63826
63827
  return edwards;
63827
63828
  hasRequiredEdwards = 1;
63828
- var a = requireUtils(), d = requireBn$3(), n = inherits_browserExports, c = requireBase$1(), u = a.assert;
63829
+ var a = requireUtils(), d = requireBn$3(), n = requireInherits_browser(), c = requireBase$1(), u = a.assert;
63829
63830
  function l(Q) {
63830
63831
  this.twisted = (Q.a | 0) !== 1, this.mOneA = this.twisted && (Q.a | 0) === -1, this.extended = this.mOneA, c.call(this, "edwards", Q), this.a = new d(Q.a, 16).umod(this.red.m), this.a = this.a.toRed(this.red), this.c = new d(Q.c, 16).toRed(this.red), this.c2 = this.c.redSqr(), this.d = new d(Q.d, 16).toRed(this.red), this.dd = this.d.redAdd(this.d), u(!this.twisted || this.c.fromRed().cmpn(1) === 0), this.oneC = (Q.c | 0) === 1;
63831
63832
  }
@@ -66556,7 +66557,7 @@ function requireVmBrowserify() {
66556
66557
  var hasRequiredApi;
66557
66558
  function requireApi() {
66558
66559
  return hasRequiredApi || (hasRequiredApi = 1, function(a) {
66559
- var d = requireAsn1$1(), n = inherits_browserExports, c = a;
66560
+ var d = requireAsn1$1(), n = requireInherits_browser(), c = a;
66560
66561
  c.define = function(y, Q) {
66561
66562
  return new u(y, Q);
66562
66563
  };
@@ -66595,7 +66596,7 @@ function requireReporter() {
66595
66596
  if (hasRequiredReporter)
66596
66597
  return reporter;
66597
66598
  hasRequiredReporter = 1;
66598
- var a = inherits_browserExports;
66599
+ var a = requireInherits_browser();
66599
66600
  function d(c) {
66600
66601
  this._reporterState = {
66601
66602
  obj: null,
@@ -66660,7 +66661,7 @@ function requireBuffer() {
66660
66661
  if (hasRequiredBuffer)
66661
66662
  return buffer;
66662
66663
  hasRequiredBuffer = 1;
66663
- var a = inherits_browserExports, d = requireBase().Reporter, n = require$$0$4.Buffer;
66664
+ var a = requireInherits_browser(), d = requireBase().Reporter, n = require$$0$4.Buffer;
66664
66665
  function c(l, y) {
66665
66666
  if (d.call(this, y), !n.isBuffer(l)) {
66666
66667
  this.error("Input not Buffer");
@@ -67100,7 +67101,7 @@ function requireDer$1() {
67100
67101
  if (hasRequiredDer$1)
67101
67102
  return der_1$1;
67102
67103
  hasRequiredDer$1 = 1;
67103
- var a = inherits_browserExports, d = requireAsn1$1(), n = d.base, c = d.bignum, u = d.constants.der;
67104
+ var a = requireInherits_browser(), d = requireAsn1$1(), n = d.base, c = d.bignum, u = d.constants.der;
67104
67105
  function l(H) {
67105
67106
  this.enc = "der", this.name = H.name, this.entity = H, this.tree = new y(), this.tree._init(H.body);
67106
67107
  }
@@ -67271,7 +67272,7 @@ function requirePem$1() {
67271
67272
  if (hasRequiredPem$1)
67272
67273
  return pem$1;
67273
67274
  hasRequiredPem$1 = 1;
67274
- var a = inherits_browserExports, d = require$$0$4.Buffer, n = requireDer$1();
67275
+ var a = requireInherits_browser(), d = require$$0$4.Buffer, n = requireDer$1();
67275
67276
  function c(u) {
67276
67277
  n.call(this, u), this.enc = "pem";
67277
67278
  }
@@ -67310,7 +67311,7 @@ function requireDer() {
67310
67311
  if (hasRequiredDer)
67311
67312
  return der_1;
67312
67313
  hasRequiredDer = 1;
67313
- var a = inherits_browserExports, d = require$$0$4.Buffer, n = requireAsn1$1(), c = n.base, u = n.constants.der;
67314
+ var a = requireInherits_browser(), d = require$$0$4.Buffer, n = requireAsn1$1(), c = n.base, u = n.constants.der;
67314
67315
  function l(H) {
67315
67316
  this.enc = "der", this.name = H.name, this.entity = H, this.tree = new y(), this.tree._init(H.body);
67316
67317
  }
@@ -67459,7 +67460,7 @@ function requirePem() {
67459
67460
  if (hasRequiredPem)
67460
67461
  return pem;
67461
67462
  hasRequiredPem = 1;
67462
- var a = inherits_browserExports, d = requireDer();
67463
+ var a = requireInherits_browser(), d = requireDer();
67463
67464
  function n(c) {
67464
67465
  d.call(this, c), this.enc = "pem";
67465
67466
  }
@@ -67922,7 +67923,7 @@ function requireBrowser$3() {
67922
67923
  if (hasRequiredBrowser$3)
67923
67924
  return browser$6;
67924
67925
  hasRequiredBrowser$3 = 1;
67925
- var a = requireSafeBuffer$1().Buffer, d = requireBrowser$9(), n = requireReadableBrowser(), c = inherits_browserExports, u = requireSign(), l = requireVerify(), y = require$$6$1;
67926
+ var a = requireSafeBuffer$1().Buffer, d = requireBrowser$9(), n = requireReadableBrowser(), c = requireInherits_browser(), u = requireSign(), l = requireVerify(), y = require$$6$1;
67926
67927
  Object.keys(y).forEach(function(de) {
67927
67928
  y[de].id = a.from(y[de].id, "hex"), y[de.toLowerCase()] = y[de];
67928
67929
  });
@@ -165268,7 +165269,7 @@ class WorkerFactory {
165268
165269
  constructor() {
165269
165270
  }
165270
165271
  static resolveWorkerURL = async (d) => {
165271
- const n = typeof document < "u" && document?.location?.href || "", { workerViteURL: c } = await import("./viteWorkerURL.constant-C2LptopZ.js");
165272
+ const n = typeof document < "u" && document?.location?.href || "", { workerViteURL: c } = await import("./viteWorkerURL.constant-BkqzYEvJ.js");
165272
165273
  return new URL(c[d], n);
165273
165274
  };
165274
165275
  static createWorker = async (d) => {
@@ -165276,12 +165277,12 @@ class WorkerFactory {
165276
165277
  let c;
165277
165278
  return d === WorkerVariant.SnarkJS ? c = await import(
165278
165279
  /* @vite-ignore */
165279
- "./snarkjsWorkerLogic-BjmDzeq6.js"
165280
+ "./snarkjsWorkerLogic-3gJNdUo1.js"
165280
165281
  ) : d === WorkerVariant.ZKProof ? c = await Promise.resolve().then(function() {
165281
165282
  return zkProofWorkerLogic;
165282
165283
  }) : d === WorkerVariant.UTXO && (c = await import(
165283
165284
  /* @vite-ignore */
165284
- "./utxoWorkerLogic-GWhGyg9m.js"
165285
+ "./utxoWorkerLogic-BTCX21yI.js"
165285
165286
  )), c.default;
165286
165287
  }
165287
165288
  const n = await WorkerFactory.resolveWorkerURL(d);