@hinkal/common 0.0.29 → 0.0.31

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.
@@ -0,0 +1,11 @@
1
+ import { W as r } from "./zkProofWorkerLogic-BiPfvEJ9.js";
2
+ import "./zkProofWorkerLauncher-DbQzvpF9.js";
3
+ var o = self.location.href, e = "" + new URL("snarkjsWorkerLauncher-Cv-YvgDH.js", import.meta.url).href, a = "" + new URL("utxoWorkerLauncher-DKuoY0Cm.js", import.meta.url).href;
4
+ const n = {
5
+ [r.ZKProof]: o,
6
+ [r.SnarkJS]: e,
7
+ [r.UTXO]: a
8
+ };
9
+ export {
10
+ n as workerViteURL
11
+ };
@@ -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-CrpL7Xvd.js").then(function(h) {
1195
+ const Tt = import("./zkProofWorkerLogic-BiPfvEJ9.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-D66Tc6on.js";
1
+ import { d as dist$1, p as process$1, B as Buffer } from "./zkProofWorkerLauncher-DbQzvpF9.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 H = destroy_1$1, U = state, F = U.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, P = de.ERR_STREAM_WRITE_AFTER_END, G = de.ERR_UNKNOWN_ENCODING, ie = H.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 ? H = Q.debuglog("stream") : H = function() {
13624
13625
  };
13625
13626
  var U = 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, P, 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, Ue) {
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;
@@ -55093,7 +55094,7 @@ function requireHashBase$1() {
55093
55094
  if (hasRequiredHashBase$1)
55094
55095
  return hashBase$1;
55095
55096
  hasRequiredHashBase$1 = 1;
55096
- var a = requireSafeBuffer$1().Buffer, d = readableBrowserExports.Transform, n = inherits_browserExports;
55097
+ var a = requireSafeBuffer$1().Buffer, d = readableBrowserExports.Transform, n = requireInherits_browser();
55097
55098
  function c(l, y) {
55098
55099
  if (!a.isBuffer(l) && typeof l != "string")
55099
55100
  throw new TypeError(y + " must be a string or a buffer");
@@ -55151,7 +55152,7 @@ function requireMd5_js() {
55151
55152
  if (hasRequiredMd5_js)
55152
55153
  return md5_js;
55153
55154
  hasRequiredMd5_js = 1;
55154
- var a = inherits_browserExports, d = requireHashBase$1(), n = requireSafeBuffer$1().Buffer, c = new Array(16);
55155
+ var a = requireInherits_browser(), d = requireHashBase$1(), n = requireSafeBuffer$1().Buffer, c = new Array(16);
55155
55156
  function u() {
55156
55157
  d.call(this, 64), this._a = 1732584193, this._b = 4023233417, this._c = 2562383102, this._d = 271733878;
55157
55158
  }
@@ -55187,7 +55188,7 @@ function requireHashBase() {
55187
55188
  if (hasRequiredHashBase)
55188
55189
  return hashBase;
55189
55190
  hasRequiredHashBase = 1;
55190
- var a = requireSafeBuffer$1().Buffer, d = readableBrowserExports.Transform, n = inherits_browserExports;
55191
+ var a = requireSafeBuffer$1().Buffer, d = readableBrowserExports.Transform, n = requireInherits_browser();
55191
55192
  function c(l, y) {
55192
55193
  if (!a.isBuffer(l) && typeof l != "string")
55193
55194
  throw new TypeError(y + " must be a string or a buffer");
@@ -55245,7 +55246,7 @@ function requireRipemd160() {
55245
55246
  if (hasRequiredRipemd160)
55246
55247
  return ripemd160$3;
55247
55248
  hasRequiredRipemd160 = 1;
55248
- var a = require$$0$5.Buffer, d = inherits_browserExports, n = requireHashBase(), c = new Array(16), u = [
55249
+ var a = require$$0$5.Buffer, d = requireInherits_browser(), n = requireHashBase(), c = new Array(16), u = [
55249
55250
  0,
55250
55251
  1,
55251
55252
  2,
@@ -55646,7 +55647,7 @@ function requireSha() {
55646
55647
  if (hasRequiredSha)
55647
55648
  return sha$1;
55648
55649
  hasRequiredSha = 1;
55649
- var a = inherits_browserExports, d = requireHash(), n = requireSafeBuffer$1().Buffer, c = [
55650
+ var a = requireInherits_browser(), d = requireHash(), n = requireSafeBuffer$1().Buffer, c = [
55650
55651
  1518500249,
55651
55652
  1859775393,
55652
55653
  -1894007588,
@@ -55687,7 +55688,7 @@ function requireSha1() {
55687
55688
  if (hasRequiredSha1)
55688
55689
  return sha1$1;
55689
55690
  hasRequiredSha1 = 1;
55690
- var a = inherits_browserExports, d = requireHash(), n = requireSafeBuffer$1().Buffer, c = [
55691
+ var a = requireInherits_browser(), d = requireHash(), n = requireSafeBuffer$1().Buffer, c = [
55691
55692
  1518500249,
55692
55693
  1859775393,
55693
55694
  -1894007588,
@@ -55731,7 +55732,7 @@ function requireSha256() {
55731
55732
  if (hasRequiredSha256)
55732
55733
  return sha256$4;
55733
55734
  hasRequiredSha256 = 1;
55734
- var a = inherits_browserExports, d = requireHash(), n = requireSafeBuffer$1().Buffer, c = [
55735
+ var a = requireInherits_browser(), d = requireHash(), n = requireSafeBuffer$1().Buffer, c = [
55735
55736
  1116352408,
55736
55737
  1899447441,
55737
55738
  3049323471,
@@ -55841,7 +55842,7 @@ function requireSha224() {
55841
55842
  if (hasRequiredSha224)
55842
55843
  return sha224$1;
55843
55844
  hasRequiredSha224 = 1;
55844
- var a = inherits_browserExports, d = requireSha256(), n = requireHash(), c = requireSafeBuffer$1().Buffer, u = new Array(64);
55845
+ var a = requireInherits_browser(), d = requireSha256(), n = requireHash(), c = requireSafeBuffer$1().Buffer, u = new Array(64);
55845
55846
  function l() {
55846
55847
  this.init(), this._w = u, n.call(this, 64, 56);
55847
55848
  }
@@ -55857,7 +55858,7 @@ function requireSha512() {
55857
55858
  if (hasRequiredSha512)
55858
55859
  return sha512$4;
55859
55860
  hasRequiredSha512 = 1;
55860
- var a = inherits_browserExports, d = requireHash(), n = requireSafeBuffer$1().Buffer, c = [
55861
+ var a = requireInherits_browser(), d = requireHash(), n = requireSafeBuffer$1().Buffer, c = [
55861
55862
  1116352408,
55862
55863
  3609767458,
55863
55864
  1899447441,
@@ -56082,7 +56083,7 @@ function requireSha384() {
56082
56083
  if (hasRequiredSha384)
56083
56084
  return sha384$1;
56084
56085
  hasRequiredSha384 = 1;
56085
- var a = inherits_browserExports, d = requireSha512(), n = requireHash(), c = requireSafeBuffer$1().Buffer, u = new Array(160);
56086
+ var a = requireInherits_browser(), d = requireSha512(), n = requireHash(), c = requireSafeBuffer$1().Buffer, u = new Array(160);
56086
56087
  function l() {
56087
56088
  this.init(), this._w = u, n.call(this, 128, 112);
56088
56089
  }
@@ -56115,7 +56116,7 @@ function requireStreamBrowserify() {
56115
56116
  if (hasRequiredStreamBrowserify)
56116
56117
  return streamBrowserify;
56117
56118
  hasRequiredStreamBrowserify = 1, streamBrowserify = n;
56118
- var a = eventsExports.EventEmitter, d = inherits_browserExports;
56119
+ var a = eventsExports.EventEmitter, d = requireInherits_browser();
56119
56120
  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;
56120
56121
  function n() {
56121
56122
  a.call(this);
@@ -56153,7 +56154,7 @@ function requireCipherBase() {
56153
56154
  if (hasRequiredCipherBase)
56154
56155
  return cipherBase;
56155
56156
  hasRequiredCipherBase = 1;
56156
- var a = requireSafeBuffer$1().Buffer, d = requireStreamBrowserify().Transform, n = requireString_decoder().StringDecoder, c = inherits_browserExports;
56157
+ var a = requireSafeBuffer$1().Buffer, d = requireStreamBrowserify().Transform, n = requireString_decoder().StringDecoder, c = requireInherits_browser();
56157
56158
  function u(l) {
56158
56159
  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;
56159
56160
  }
@@ -56200,7 +56201,7 @@ function requireBrowser$9() {
56200
56201
  if (hasRequiredBrowser$9)
56201
56202
  return browser$c;
56202
56203
  hasRequiredBrowser$9 = 1;
56203
- var a = inherits_browserExports, d = requireMd5_js(), n = requireRipemd160(), c = requireSha_js(), u = requireCipherBase();
56204
+ var a = requireInherits_browser(), d = requireMd5_js(), n = requireRipemd160(), c = requireSha_js(), u = requireCipherBase();
56204
56205
  function l(y) {
56205
56206
  u.call(this, "digest"), this._hash = y;
56206
56207
  }
@@ -56217,7 +56218,7 @@ function requireLegacy() {
56217
56218
  if (hasRequiredLegacy)
56218
56219
  return legacy;
56219
56220
  hasRequiredLegacy = 1;
56220
- var a = inherits_browserExports, d = requireSafeBuffer$1().Buffer, n = requireCipherBase(), c = d.alloc(128), u = 64;
56221
+ var a = requireInherits_browser(), d = requireSafeBuffer$1().Buffer, n = requireCipherBase(), c = d.alloc(128), u = 64;
56221
56222
  function l(y, Q) {
56222
56223
  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));
56223
56224
  for (var H = this._ipad = d.allocUnsafe(u), U = this._opad = d.allocUnsafe(u), F = 0; F < u; F++)
@@ -56246,7 +56247,7 @@ function requireBrowser$8() {
56246
56247
  if (hasRequiredBrowser$8)
56247
56248
  return browser$b;
56248
56249
  hasRequiredBrowser$8 = 1;
56249
- var a = inherits_browserExports, d = requireLegacy(), n = requireCipherBase(), c = requireSafeBuffer$1().Buffer, u = requireMd5(), l = requireRipemd160(), y = requireSha_js(), Q = c.alloc(128);
56250
+ var a = requireInherits_browser(), d = requireLegacy(), n = requireCipherBase(), c = requireSafeBuffer$1().Buffer, u = requireMd5(), l = requireRipemd160(), y = requireSha_js(), Q = c.alloc(128);
56250
56251
  function H(U, F) {
56251
56252
  n.call(this, "digest"), typeof F == "string" && (F = c.from(F));
56252
56253
  var de = U === "sha512" || U === "sha384" ? 128 : 64;
@@ -57365,7 +57366,7 @@ function requireDes$1() {
57365
57366
  if (hasRequiredDes$1)
57366
57367
  return des;
57367
57368
  hasRequiredDes$1 = 1;
57368
- var a = requireMinimalisticAssert(), d = inherits_browserExports, n = requireUtils$2(), c = requireCipher();
57369
+ var a = requireMinimalisticAssert(), d = requireInherits_browser(), n = requireUtils$2(), c = requireCipher();
57369
57370
  function u() {
57370
57371
  this.tmp = new Array(2), this.keys = null;
57371
57372
  }
@@ -57441,7 +57442,7 @@ function requireCbc$1() {
57441
57442
  if (hasRequiredCbc$1)
57442
57443
  return cbc$1;
57443
57444
  hasRequiredCbc$1 = 1;
57444
- var a = requireMinimalisticAssert(), d = inherits_browserExports, n = {};
57445
+ var a = requireMinimalisticAssert(), d = requireInherits_browser(), n = {};
57445
57446
  function c(l) {
57446
57447
  a.equal(l.length, 8, "Invalid IV length"), this.iv = new Array(8);
57447
57448
  for (var y = 0; y < this.iv.length; y++)
@@ -57485,7 +57486,7 @@ function requireEde() {
57485
57486
  if (hasRequiredEde)
57486
57487
  return ede;
57487
57488
  hasRequiredEde = 1;
57488
- var a = requireMinimalisticAssert(), d = inherits_browserExports, n = requireCipher(), c = requireDes$1();
57489
+ var a = requireMinimalisticAssert(), d = requireInherits_browser(), n = requireCipher(), c = requireDes$1();
57489
57490
  function u(y, Q) {
57490
57491
  a.equal(Q.length, 24, "Invalid key length");
57491
57492
  var H = Q.slice(0, 8), U = Q.slice(8, 16), F = Q.slice(16, 24);
@@ -57520,7 +57521,7 @@ function requireBrowserifyDes() {
57520
57521
  if (hasRequiredBrowserifyDes)
57521
57522
  return browserifyDes;
57522
57523
  hasRequiredBrowserifyDes = 1;
57523
- var a = requireCipherBase(), d = requireDes(), n = inherits_browserExports, c = requireSafeBuffer$1().Buffer, u = {
57524
+ var a = requireCipherBase(), d = requireDes(), n = requireInherits_browser(), c = requireSafeBuffer$1().Buffer, u = {
57524
57525
  "des-ede3-cbc": d.CBC.instantiate(d.EDE),
57525
57526
  "des-ede3": d.EDE,
57526
57527
  "des-ede-cbc": d.CBC.instantiate(d.EDE),
@@ -58022,7 +58023,7 @@ function requireAuthCipher() {
58022
58023
  if (hasRequiredAuthCipher)
58023
58024
  return authCipher;
58024
58025
  hasRequiredAuthCipher = 1;
58025
- var a = requireAes(), d = requireSafeBuffer$1().Buffer, n = requireCipherBase(), c = inherits_browserExports, u = requireGhash(), l = requireBufferXor(), y = requireIncr32();
58026
+ var a = requireAes(), d = requireSafeBuffer$1().Buffer, n = requireCipherBase(), c = requireInherits_browser(), u = requireGhash(), l = requireBufferXor(), y = requireIncr32();
58026
58027
  function Q(F, de) {
58027
58028
  var B = 0;
58028
58029
  F.length !== de.length && B++;
@@ -58081,7 +58082,7 @@ function requireStreamCipher() {
58081
58082
  if (hasRequiredStreamCipher)
58082
58083
  return streamCipher;
58083
58084
  hasRequiredStreamCipher = 1;
58084
- var a = requireAes(), d = requireSafeBuffer$1().Buffer, n = requireCipherBase(), c = inherits_browserExports;
58085
+ var a = requireAes(), d = requireSafeBuffer$1().Buffer, n = requireCipherBase(), c = requireInherits_browser();
58085
58086
  function u(l, y, Q, H) {
58086
58087
  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 = H, this._mode = l;
58087
58088
  }
@@ -58122,7 +58123,7 @@ function requireEncrypter() {
58122
58123
  if (hasRequiredEncrypter)
58123
58124
  return encrypter;
58124
58125
  hasRequiredEncrypter = 1;
58125
- var a = requireModes$1(), d = requireAuthCipher(), n = requireSafeBuffer$1().Buffer, c = requireStreamCipher(), u = requireCipherBase(), l = requireAes(), y = requireEvp_bytestokey(), Q = inherits_browserExports;
58126
+ var a = requireModes$1(), d = requireAuthCipher(), n = requireSafeBuffer$1().Buffer, c = requireStreamCipher(), u = requireCipherBase(), l = requireAes(), y = requireEvp_bytestokey(), Q = requireInherits_browser();
58126
58127
  function H(ne, be, L) {
58127
58128
  u.call(this), this._cache = new F(), this._cipher = new l.AES(be), this._prev = n.from(L), this._mode = ne, this._autopadding = !0;
58128
58129
  }
@@ -58182,7 +58183,7 @@ function requireDecrypter() {
58182
58183
  if (hasRequiredDecrypter)
58183
58184
  return decrypter;
58184
58185
  hasRequiredDecrypter = 1;
58185
- var a = requireAuthCipher(), d = requireSafeBuffer$1().Buffer, n = requireModes$1(), c = requireStreamCipher(), u = requireCipherBase(), l = requireAes(), y = requireEvp_bytestokey(), Q = inherits_browserExports;
58186
+ var a = requireAuthCipher(), d = requireSafeBuffer$1().Buffer, n = requireModes$1(), c = requireStreamCipher(), u = requireCipherBase(), l = requireAes(), y = requireEvp_bytestokey(), Q = requireInherits_browser();
58186
58187
  function H(ne, be, L) {
58187
58188
  u.call(this), this._cache = new U(), this._last = void 0, this._cipher = new l.AES(be), this._prev = d.from(L), this._mode = ne, this._autopadding = !0;
58188
58189
  }
@@ -61217,7 +61218,7 @@ function require_stream_writable() {
61217
61218
  var n = !process$1.browser && ["v0.10", "v0.9."].indexOf(process$1.version.slice(0, 5)) > -1 ? setImmediate : a.nextTick, c;
61218
61219
  L.WritableState = ne;
61219
61220
  var u = Object.create(requireUtil());
61220
- u.inherits = inherits_browserExports;
61221
+ u.inherits = requireInherits_browser();
61221
61222
  var l = {
61222
61223
  deprecate: browser$e
61223
61224
  }, y = requireStreamBrowser(), Q = requireSafeBuffer().Buffer, H = (typeof commonjsGlobal < "u" ? commonjsGlobal : typeof window < "u" ? window : typeof self < "u" ? self : {}).Uint8Array || function() {
@@ -61427,7 +61428,7 @@ function require_stream_duplex() {
61427
61428
  };
61428
61429
  _stream_duplex = H;
61429
61430
  var n = Object.create(requireUtil());
61430
- n.inherits = inherits_browserExports;
61431
+ n.inherits = requireInherits_browser();
61431
61432
  var c = require_stream_readable(), u = require_stream_writable();
61432
61433
  n.inherits(H, c);
61433
61434
  for (var l = d(u.prototype), y = 0; y < l.length; y++) {
@@ -61485,7 +61486,7 @@ function require_stream_readable() {
61485
61486
  return l.isBuffer(Ne) || Ne instanceof y;
61486
61487
  }
61487
61488
  var U = Object.create(requireUtil());
61488
- U.inherits = inherits_browserExports;
61489
+ U.inherits = requireInherits_browser();
61489
61490
  var F = util$c, de = void 0;
61490
61491
  F && F.debuglog ? de = F.debuglog("stream") : de = function() {
61491
61492
  };
@@ -61789,7 +61790,7 @@ function require_stream_transform() {
61789
61790
  return _stream_transform;
61790
61791
  hasRequired_stream_transform = 1, _stream_transform = c;
61791
61792
  var a = require_stream_duplex(), d = Object.create(requireUtil());
61792
- d.inherits = inherits_browserExports, d.inherits(c, a);
61793
+ d.inherits = requireInherits_browser(), d.inherits(c, a);
61793
61794
  function n(y, Q) {
61794
61795
  var H = this._transformState;
61795
61796
  H.transforming = !1;
@@ -61854,7 +61855,7 @@ function require_stream_passthrough() {
61854
61855
  return _stream_passthrough;
61855
61856
  hasRequired_stream_passthrough = 1, _stream_passthrough = n;
61856
61857
  var a = require_stream_transform(), d = Object.create(requireUtil());
61857
- d.inherits = inherits_browserExports, d.inherits(n, a);
61858
+ d.inherits = requireInherits_browser(), d.inherits(n, a);
61858
61859
  function n(c) {
61859
61860
  if (!(this instanceof n))
61860
61861
  return new n(c);
@@ -63414,7 +63415,7 @@ function requireShort() {
63414
63415
  if (hasRequiredShort)
63415
63416
  return short;
63416
63417
  hasRequiredShort = 1;
63417
- var a = requireUtils(), d = requireBn$3(), n = inherits_browserExports, c = requireBase$1(), u = a.assert;
63418
+ var a = requireUtils(), d = requireBn$3(), n = requireInherits_browser(), c = requireBase$1(), u = a.assert;
63418
63419
  function l(H) {
63419
63420
  c.call(this, "short", H), this.a = new d(H.a, 16).toRed(this.red), this.b = new d(H.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(H), this._endoWnafT1 = new Array(4), this._endoWnafT2 = new Array(4);
63420
63421
  }
@@ -63763,7 +63764,7 @@ function requireMont() {
63763
63764
  if (hasRequiredMont)
63764
63765
  return mont;
63765
63766
  hasRequiredMont = 1;
63766
- var a = requireBn$3(), d = inherits_browserExports, n = requireBase$1(), c = requireUtils();
63767
+ var a = requireBn$3(), d = requireInherits_browser(), n = requireBase$1(), c = requireUtils();
63767
63768
  function u(y) {
63768
63769
  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));
63769
63770
  }
@@ -63820,7 +63821,7 @@ function requireEdwards() {
63820
63821
  if (hasRequiredEdwards)
63821
63822
  return edwards;
63822
63823
  hasRequiredEdwards = 1;
63823
- var a = requireUtils(), d = requireBn$3(), n = inherits_browserExports, c = requireBase$1(), u = a.assert;
63824
+ var a = requireUtils(), d = requireBn$3(), n = requireInherits_browser(), c = requireBase$1(), u = a.assert;
63824
63825
  function l(Q) {
63825
63826
  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;
63826
63827
  }
@@ -66551,7 +66552,7 @@ function requireVmBrowserify() {
66551
66552
  var hasRequiredApi;
66552
66553
  function requireApi() {
66553
66554
  return hasRequiredApi || (hasRequiredApi = 1, function(a) {
66554
- var d = requireAsn1$1(), n = inherits_browserExports, c = a;
66555
+ var d = requireAsn1$1(), n = requireInherits_browser(), c = a;
66555
66556
  c.define = function(y, Q) {
66556
66557
  return new u(y, Q);
66557
66558
  };
@@ -66590,7 +66591,7 @@ function requireReporter() {
66590
66591
  if (hasRequiredReporter)
66591
66592
  return reporter;
66592
66593
  hasRequiredReporter = 1;
66593
- var a = inherits_browserExports;
66594
+ var a = requireInherits_browser();
66594
66595
  function d(c) {
66595
66596
  this._reporterState = {
66596
66597
  obj: null,
@@ -66655,7 +66656,7 @@ function requireBuffer() {
66655
66656
  if (hasRequiredBuffer)
66656
66657
  return buffer;
66657
66658
  hasRequiredBuffer = 1;
66658
- var a = inherits_browserExports, d = requireBase().Reporter, n = require$$0$5.Buffer;
66659
+ var a = requireInherits_browser(), d = requireBase().Reporter, n = require$$0$5.Buffer;
66659
66660
  function c(l, y) {
66660
66661
  if (d.call(this, y), !n.isBuffer(l)) {
66661
66662
  this.error("Input not Buffer");
@@ -67095,7 +67096,7 @@ function requireDer$1() {
67095
67096
  if (hasRequiredDer$1)
67096
67097
  return der_1$1;
67097
67098
  hasRequiredDer$1 = 1;
67098
- var a = inherits_browserExports, d = requireAsn1$1(), n = d.base, c = d.bignum, u = d.constants.der;
67099
+ var a = requireInherits_browser(), d = requireAsn1$1(), n = d.base, c = d.bignum, u = d.constants.der;
67099
67100
  function l(U) {
67100
67101
  this.enc = "der", this.name = U.name, this.entity = U, this.tree = new y(), this.tree._init(U.body);
67101
67102
  }
@@ -67266,7 +67267,7 @@ function requirePem$1() {
67266
67267
  if (hasRequiredPem$1)
67267
67268
  return pem$1;
67268
67269
  hasRequiredPem$1 = 1;
67269
- var a = inherits_browserExports, d = require$$0$5.Buffer, n = requireDer$1();
67270
+ var a = requireInherits_browser(), d = require$$0$5.Buffer, n = requireDer$1();
67270
67271
  function c(u) {
67271
67272
  n.call(this, u), this.enc = "pem";
67272
67273
  }
@@ -67305,7 +67306,7 @@ function requireDer() {
67305
67306
  if (hasRequiredDer)
67306
67307
  return der_1;
67307
67308
  hasRequiredDer = 1;
67308
- var a = inherits_browserExports, d = require$$0$5.Buffer, n = requireAsn1$1(), c = n.base, u = n.constants.der;
67309
+ var a = requireInherits_browser(), d = require$$0$5.Buffer, n = requireAsn1$1(), c = n.base, u = n.constants.der;
67309
67310
  function l(U) {
67310
67311
  this.enc = "der", this.name = U.name, this.entity = U, this.tree = new y(), this.tree._init(U.body);
67311
67312
  }
@@ -67454,7 +67455,7 @@ function requirePem() {
67454
67455
  if (hasRequiredPem)
67455
67456
  return pem;
67456
67457
  hasRequiredPem = 1;
67457
- var a = inherits_browserExports, d = requireDer();
67458
+ var a = requireInherits_browser(), d = requireDer();
67458
67459
  function n(c) {
67459
67460
  d.call(this, c), this.enc = "pem";
67460
67461
  }
@@ -67917,7 +67918,7 @@ function requireBrowser$3() {
67917
67918
  if (hasRequiredBrowser$3)
67918
67919
  return browser$6;
67919
67920
  hasRequiredBrowser$3 = 1;
67920
- var a = requireSafeBuffer$1().Buffer, d = requireBrowser$9(), n = requireReadableBrowser(), c = inherits_browserExports, u = requireSign(), l = requireVerify(), y = require$$6$1;
67921
+ var a = requireSafeBuffer$1().Buffer, d = requireBrowser$9(), n = requireReadableBrowser(), c = requireInherits_browser(), u = requireSign(), l = requireVerify(), y = require$$6$1;
67921
67922
  Object.keys(y).forEach(function(de) {
67922
67923
  y[de].id = a.from(y[de].id, "hex"), y[de.toLowerCase()] = y[de];
67923
67924
  });
@@ -161607,7 +161608,7 @@ class WorkerFactory {
161607
161608
  constructor() {
161608
161609
  }
161609
161610
  static resolveWorkerURL = async (d) => {
161610
- const n = typeof document < "u" && document?.location?.href || "", { workerViteURL: c } = await import("./viteWorkerURL.constant-BoLfW0oX.js");
161611
+ const n = typeof document < "u" && document?.location?.href || "", { workerViteURL: c } = await import("./viteWorkerURL.constant-mj-bKq7N.js");
161611
161612
  return new URL(c[d], n);
161612
161613
  };
161613
161614
  static createWorker = async (d) => {
@@ -161615,12 +161616,12 @@ class WorkerFactory {
161615
161616
  let c;
161616
161617
  return d === WorkerVariant.SnarkJS ? c = await import(
161617
161618
  /* @vite-ignore */
161618
- "./snarkjsWorkerLogic-b8peaANj.js"
161619
+ "./snarkjsWorkerLogic-DXEYSZwG.js"
161619
161620
  ) : d === WorkerVariant.ZKProof ? c = await Promise.resolve().then(function() {
161620
161621
  return zkProofWorkerLogic;
161621
161622
  }) : d === WorkerVariant.UTXO && (c = await import(
161622
161623
  /* @vite-ignore */
161623
- "./utxoWorkerLogic-C7Mo8QFn.js"
161624
+ "./utxoWorkerLogic--SvAHZvF.js"
161624
161625
  )), c.default;
161625
161626
  }
161626
161627
  const n = await WorkerFactory.resolveWorkerURL(d);