@learncard/ceramic-plugin 1.0.29 → 1.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.
@@ -34942,25 +34942,26 @@ var require_lodash2 = __commonJS({
34942
34942
  }
34943
34943
  });
34944
34944
 
34945
- // ../../../node_modules/.pnpm/cross-fetch@3.1.8/node_modules/cross-fetch/dist/browser-ponyfill.js
34945
+ // ../../../node_modules/.pnpm/cross-fetch@3.2.0/node_modules/cross-fetch/dist/browser-ponyfill.js
34946
34946
  var require_browser_ponyfill = __commonJS({
34947
- "../../../node_modules/.pnpm/cross-fetch@3.1.8/node_modules/cross-fetch/dist/browser-ponyfill.js"(exports, module) {
34948
- var global2 = typeof self !== "undefined" ? self : exports;
34949
- var __self__ = function() {
34947
+ "../../../node_modules/.pnpm/cross-fetch@3.2.0/node_modules/cross-fetch/dist/browser-ponyfill.js"(exports, module) {
34948
+ var __global__ = typeof globalThis !== "undefined" && globalThis || typeof self !== "undefined" && self || typeof global !== "undefined" && global;
34949
+ var __globalThis__ = function() {
34950
34950
  function F() {
34951
34951
  this.fetch = false;
34952
- this.DOMException = global2.DOMException;
34952
+ this.DOMException = __global__.DOMException;
34953
34953
  }
34954
34954
  __name(F, "F");
34955
- F.prototype = global2;
34955
+ F.prototype = __global__;
34956
34956
  return new F();
34957
34957
  }();
34958
- (function(self2) {
34958
+ (function(globalThis2) {
34959
34959
  var irrelevant = function(exports2) {
34960
+ var g = typeof globalThis2 !== "undefined" && globalThis2 || typeof self !== "undefined" && self || typeof global !== "undefined" && global || {};
34960
34961
  var support = {
34961
- searchParams: "URLSearchParams" in self2,
34962
- iterable: "Symbol" in self2 && "iterator" in Symbol,
34963
- blob: "FileReader" in self2 && "Blob" in self2 && function() {
34962
+ searchParams: "URLSearchParams" in g,
34963
+ iterable: "Symbol" in g && "iterator" in Symbol,
34964
+ blob: "FileReader" in g && "Blob" in g && function() {
34964
34965
  try {
34965
34966
  new Blob();
34966
34967
  return true;
@@ -34968,8 +34969,8 @@ var require_browser_ponyfill = __commonJS({
34968
34969
  return false;
34969
34970
  }
34970
34971
  }(),
34971
- formData: "FormData" in self2,
34972
- arrayBuffer: "ArrayBuffer" in self2
34972
+ formData: "FormData" in g,
34973
+ arrayBuffer: "ArrayBuffer" in g
34973
34974
  };
34974
34975
  function isDataView(obj) {
34975
34976
  return obj && DataView.prototype.isPrototypeOf(obj);
@@ -34995,8 +34996,8 @@ var require_browser_ponyfill = __commonJS({
34995
34996
  if (typeof name3 !== "string") {
34996
34997
  name3 = String(name3);
34997
34998
  }
34998
- if (/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(name3)) {
34999
- throw new TypeError("Invalid character in header field name");
34999
+ if (/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(name3) || name3 === "") {
35000
+ throw new TypeError('Invalid character in header field name: "' + name3 + '"');
35000
35001
  }
35001
35002
  return name3.toLowerCase();
35002
35003
  }
@@ -35031,6 +35032,9 @@ var require_browser_ponyfill = __commonJS({
35031
35032
  }, this);
35032
35033
  } else if (Array.isArray(headers)) {
35033
35034
  headers.forEach(function(header) {
35035
+ if (header.length != 2) {
35036
+ throw new TypeError("Headers constructor: expected name/value pair to be length 2, found" + header.length);
35037
+ }
35034
35038
  this.append(header[0], header[1]);
35035
35039
  }, this);
35036
35040
  } else if (headers) {
@@ -35091,6 +35095,8 @@ var require_browser_ponyfill = __commonJS({
35091
35095
  Headers.prototype[Symbol.iterator] = Headers.prototype.entries;
35092
35096
  }
35093
35097
  function consumed(body) {
35098
+ if (body._noBody)
35099
+ return;
35094
35100
  if (body.bodyUsed) {
35095
35101
  return Promise.reject(new TypeError("Already read"));
35096
35102
  }
@@ -35118,7 +35124,9 @@ var require_browser_ponyfill = __commonJS({
35118
35124
  function readBlobAsText(blob) {
35119
35125
  var reader = new FileReader();
35120
35126
  var promise = fileReaderReady(reader);
35121
- reader.readAsText(blob);
35127
+ var match = /charset=([A-Za-z0-9_-]+)/.exec(blob.type);
35128
+ var encoding = match ? match[1] : "utf-8";
35129
+ reader.readAsText(blob, encoding);
35122
35130
  return promise;
35123
35131
  }
35124
35132
  __name(readBlobAsText, "readBlobAsText");
@@ -35144,8 +35152,10 @@ var require_browser_ponyfill = __commonJS({
35144
35152
  function Body() {
35145
35153
  this.bodyUsed = false;
35146
35154
  this._initBody = function(body) {
35155
+ this.bodyUsed = this.bodyUsed;
35147
35156
  this._bodyInit = body;
35148
35157
  if (!body) {
35158
+ this._noBody = true;
35149
35159
  this._bodyText = "";
35150
35160
  } else if (typeof body === "string") {
35151
35161
  this._bodyText = body;
@@ -35189,14 +35199,28 @@ var require_browser_ponyfill = __commonJS({
35189
35199
  return Promise.resolve(new Blob([this._bodyText]));
35190
35200
  }
35191
35201
  };
35192
- this.arrayBuffer = function() {
35193
- if (this._bodyArrayBuffer) {
35194
- return consumed(this) || Promise.resolve(this._bodyArrayBuffer);
35202
+ }
35203
+ this.arrayBuffer = function() {
35204
+ if (this._bodyArrayBuffer) {
35205
+ var isConsumed = consumed(this);
35206
+ if (isConsumed) {
35207
+ return isConsumed;
35208
+ } else if (ArrayBuffer.isView(this._bodyArrayBuffer)) {
35209
+ return Promise.resolve(
35210
+ this._bodyArrayBuffer.buffer.slice(
35211
+ this._bodyArrayBuffer.byteOffset,
35212
+ this._bodyArrayBuffer.byteOffset + this._bodyArrayBuffer.byteLength
35213
+ )
35214
+ );
35195
35215
  } else {
35196
- return this.blob().then(readBlobAsArrayBuffer);
35216
+ return Promise.resolve(this._bodyArrayBuffer);
35197
35217
  }
35198
- };
35199
- }
35218
+ } else if (support.blob) {
35219
+ return this.blob().then(readBlobAsArrayBuffer);
35220
+ } else {
35221
+ throw new Error("could not read as ArrayBuffer");
35222
+ }
35223
+ };
35200
35224
  this.text = function() {
35201
35225
  var rejected = consumed(this);
35202
35226
  if (rejected) {
@@ -35223,13 +35247,16 @@ var require_browser_ponyfill = __commonJS({
35223
35247
  return this;
35224
35248
  }
35225
35249
  __name(Body, "Body");
35226
- var methods = ["DELETE", "GET", "HEAD", "OPTIONS", "POST", "PUT"];
35250
+ var methods = ["CONNECT", "DELETE", "GET", "HEAD", "OPTIONS", "PATCH", "POST", "PUT", "TRACE"];
35227
35251
  function normalizeMethod(method) {
35228
35252
  var upcased = method.toUpperCase();
35229
35253
  return methods.indexOf(upcased) > -1 ? upcased : method;
35230
35254
  }
35231
35255
  __name(normalizeMethod, "normalizeMethod");
35232
35256
  function Request(input, options) {
35257
+ if (!(this instanceof Request)) {
35258
+ throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');
35259
+ }
35233
35260
  options = options || {};
35234
35261
  var body = options.body;
35235
35262
  if (input instanceof Request) {
@@ -35257,12 +35284,28 @@ var require_browser_ponyfill = __commonJS({
35257
35284
  }
35258
35285
  this.method = normalizeMethod(options.method || this.method || "GET");
35259
35286
  this.mode = options.mode || this.mode || null;
35260
- this.signal = options.signal || this.signal;
35287
+ this.signal = options.signal || this.signal || function() {
35288
+ if ("AbortController" in g) {
35289
+ var ctrl = new AbortController();
35290
+ return ctrl.signal;
35291
+ }
35292
+ }();
35261
35293
  this.referrer = null;
35262
35294
  if ((this.method === "GET" || this.method === "HEAD") && body) {
35263
35295
  throw new TypeError("Body not allowed for GET or HEAD requests");
35264
35296
  }
35265
35297
  this._initBody(body);
35298
+ if (this.method === "GET" || this.method === "HEAD") {
35299
+ if (options.cache === "no-store" || options.cache === "no-cache") {
35300
+ var reParamSearch = /([?&])_=[^&]*/;
35301
+ if (reParamSearch.test(this.url)) {
35302
+ this.url = this.url.replace(reParamSearch, "$1_=" + new Date().getTime());
35303
+ } else {
35304
+ var reQueryString = /\?/;
35305
+ this.url += (reQueryString.test(this.url) ? "&" : "?") + "_=" + new Date().getTime();
35306
+ }
35307
+ }
35308
+ }
35266
35309
  }
35267
35310
  __name(Request, "Request");
35268
35311
  Request.prototype.clone = function() {
@@ -35284,12 +35327,18 @@ var require_browser_ponyfill = __commonJS({
35284
35327
  function parseHeaders(rawHeaders) {
35285
35328
  var headers = new Headers();
35286
35329
  var preProcessedHeaders = rawHeaders.replace(/\r?\n[\t ]+/g, " ");
35287
- preProcessedHeaders.split(/\r?\n/).forEach(function(line) {
35330
+ preProcessedHeaders.split("\r").map(function(header) {
35331
+ return header.indexOf("\n") === 0 ? header.substr(1, header.length) : header;
35332
+ }).forEach(function(line) {
35288
35333
  var parts = line.split(":");
35289
35334
  var key2 = parts.shift().trim();
35290
35335
  if (key2) {
35291
35336
  var value = parts.join(":").trim();
35292
- headers.append(key2, value);
35337
+ try {
35338
+ headers.append(key2, value);
35339
+ } catch (error) {
35340
+ console.warn("Response " + error.message);
35341
+ }
35293
35342
  }
35294
35343
  });
35295
35344
  return headers;
@@ -35297,13 +35346,19 @@ var require_browser_ponyfill = __commonJS({
35297
35346
  __name(parseHeaders, "parseHeaders");
35298
35347
  Body.call(Request.prototype);
35299
35348
  function Response(bodyInit, options) {
35349
+ if (!(this instanceof Response)) {
35350
+ throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');
35351
+ }
35300
35352
  if (!options) {
35301
35353
  options = {};
35302
35354
  }
35303
35355
  this.type = "default";
35304
35356
  this.status = options.status === void 0 ? 200 : options.status;
35357
+ if (this.status < 200 || this.status > 599) {
35358
+ throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");
35359
+ }
35305
35360
  this.ok = this.status >= 200 && this.status < 300;
35306
- this.statusText = "statusText" in options ? options.statusText : "OK";
35361
+ this.statusText = options.statusText === void 0 ? "" : "" + options.statusText;
35307
35362
  this.headers = new Headers(options.headers);
35308
35363
  this.url = options.url || "";
35309
35364
  this._initBody(bodyInit);
@@ -35319,7 +35374,9 @@ var require_browser_ponyfill = __commonJS({
35319
35374
  });
35320
35375
  };
35321
35376
  Response.error = function() {
35322
- var response = new Response(null, { status: 0, statusText: "" });
35377
+ var response = new Response(null, { status: 200, statusText: "" });
35378
+ response.ok = false;
35379
+ response.status = 0;
35323
35380
  response.type = "error";
35324
35381
  return response;
35325
35382
  };
@@ -35330,7 +35387,7 @@ var require_browser_ponyfill = __commonJS({
35330
35387
  }
35331
35388
  return new Response(null, { status, headers: { location: url } });
35332
35389
  };
35333
- exports2.DOMException = self2.DOMException;
35390
+ exports2.DOMException = g.DOMException;
35334
35391
  try {
35335
35392
  new exports2.DOMException();
35336
35393
  } catch (err) {
@@ -35356,35 +35413,72 @@ var require_browser_ponyfill = __commonJS({
35356
35413
  __name(abortXhr, "abortXhr");
35357
35414
  xhr.onload = function() {
35358
35415
  var options = {
35359
- status: xhr.status,
35360
35416
  statusText: xhr.statusText,
35361
35417
  headers: parseHeaders(xhr.getAllResponseHeaders() || "")
35362
35418
  };
35419
+ if (request.url.indexOf("file://") === 0 && (xhr.status < 200 || xhr.status > 599)) {
35420
+ options.status = 200;
35421
+ } else {
35422
+ options.status = xhr.status;
35423
+ }
35363
35424
  options.url = "responseURL" in xhr ? xhr.responseURL : options.headers.get("X-Request-URL");
35364
35425
  var body = "response" in xhr ? xhr.response : xhr.responseText;
35365
- resolve(new Response(body, options));
35426
+ setTimeout(function() {
35427
+ resolve(new Response(body, options));
35428
+ }, 0);
35366
35429
  };
35367
35430
  xhr.onerror = function() {
35368
- reject(new TypeError("Network request failed"));
35431
+ setTimeout(function() {
35432
+ reject(new TypeError("Network request failed"));
35433
+ }, 0);
35369
35434
  };
35370
35435
  xhr.ontimeout = function() {
35371
- reject(new TypeError("Network request failed"));
35436
+ setTimeout(function() {
35437
+ reject(new TypeError("Network request timed out"));
35438
+ }, 0);
35372
35439
  };
35373
35440
  xhr.onabort = function() {
35374
- reject(new exports2.DOMException("Aborted", "AbortError"));
35441
+ setTimeout(function() {
35442
+ reject(new exports2.DOMException("Aborted", "AbortError"));
35443
+ }, 0);
35375
35444
  };
35376
- xhr.open(request.method, request.url, true);
35445
+ function fixUrl(url) {
35446
+ try {
35447
+ return url === "" && g.location.href ? g.location.href : url;
35448
+ } catch (e2) {
35449
+ return url;
35450
+ }
35451
+ }
35452
+ __name(fixUrl, "fixUrl");
35453
+ xhr.open(request.method, fixUrl(request.url), true);
35377
35454
  if (request.credentials === "include") {
35378
35455
  xhr.withCredentials = true;
35379
35456
  } else if (request.credentials === "omit") {
35380
35457
  xhr.withCredentials = false;
35381
35458
  }
35382
- if ("responseType" in xhr && support.blob) {
35383
- xhr.responseType = "blob";
35459
+ if ("responseType" in xhr) {
35460
+ if (support.blob) {
35461
+ xhr.responseType = "blob";
35462
+ } else if (support.arrayBuffer) {
35463
+ xhr.responseType = "arraybuffer";
35464
+ }
35465
+ }
35466
+ if (init2 && typeof init2.headers === "object" && !(init2.headers instanceof Headers || g.Headers && init2.headers instanceof g.Headers)) {
35467
+ var names = [];
35468
+ Object.getOwnPropertyNames(init2.headers).forEach(function(name3) {
35469
+ names.push(normalizeName(name3));
35470
+ xhr.setRequestHeader(name3, normalizeValue(init2.headers[name3]));
35471
+ });
35472
+ request.headers.forEach(function(value, name3) {
35473
+ if (names.indexOf(name3) === -1) {
35474
+ xhr.setRequestHeader(name3, value);
35475
+ }
35476
+ });
35477
+ } else {
35478
+ request.headers.forEach(function(value, name3) {
35479
+ xhr.setRequestHeader(name3, value);
35480
+ });
35384
35481
  }
35385
- request.headers.forEach(function(value, name3) {
35386
- xhr.setRequestHeader(name3, value);
35387
- });
35388
35482
  if (request.signal) {
35389
35483
  request.signal.addEventListener("abort", abortXhr);
35390
35484
  xhr.onreadystatechange = function() {
@@ -35398,11 +35492,11 @@ var require_browser_ponyfill = __commonJS({
35398
35492
  }
35399
35493
  __name(fetch2, "fetch");
35400
35494
  fetch2.polyfill = true;
35401
- if (!self2.fetch) {
35402
- self2.fetch = fetch2;
35403
- self2.Headers = Headers;
35404
- self2.Request = Request;
35405
- self2.Response = Response;
35495
+ if (!g.fetch) {
35496
+ g.fetch = fetch2;
35497
+ g.Headers = Headers;
35498
+ g.Request = Request;
35499
+ g.Response = Response;
35406
35500
  }
35407
35501
  exports2.Headers = Headers;
35408
35502
  exports2.Request = Request;
@@ -35411,10 +35505,10 @@ var require_browser_ponyfill = __commonJS({
35411
35505
  Object.defineProperty(exports2, "__esModule", { value: true });
35412
35506
  return exports2;
35413
35507
  }({});
35414
- })(__self__);
35415
- __self__.fetch.ponyfill = true;
35416
- delete __self__.fetch.polyfill;
35417
- var ctx = __self__;
35508
+ })(__globalThis__);
35509
+ __globalThis__.fetch.ponyfill = true;
35510
+ delete __globalThis__.fetch.polyfill;
35511
+ var ctx = __global__.fetch ? __global__ : __globalThis__;
35418
35512
  exports = ctx.fetch;
35419
35513
  exports.default = ctx.fetch;
35420
35514
  exports.fetch = ctx.fetch;
@@ -35425,9 +35519,9 @@ var require_browser_ponyfill = __commonJS({
35425
35519
  }
35426
35520
  });
35427
35521
 
35428
- // ../../../node_modules/.pnpm/dataloader@2.2.2/node_modules/dataloader/index.js
35522
+ // ../../../node_modules/.pnpm/dataloader@2.2.3/node_modules/dataloader/index.js
35429
35523
  var require_dataloader = __commonJS({
35430
- "../../../node_modules/.pnpm/dataloader@2.2.2/node_modules/dataloader/index.js"(exports, module) {
35524
+ "../../../node_modules/.pnpm/dataloader@2.2.3/node_modules/dataloader/index.js"(exports, module) {
35431
35525
  "use strict";
35432
35526
  var DataLoader2 = /* @__PURE__ */ function() {
35433
35527
  function DataLoader3(batchLoadFn, options) {
@@ -35450,8 +35544,9 @@ var require_dataloader = __commonJS({
35450
35544
  }
35451
35545
  var batch = getCurrentBatch(this);
35452
35546
  var cacheMap = this._cacheMap;
35453
- var cacheKey = this._cacheKeyFn(key2);
35547
+ var cacheKey;
35454
35548
  if (cacheMap) {
35549
+ cacheKey = this._cacheKeyFn(key2);
35455
35550
  var cachedPromise = cacheMap.get(cacheKey);
35456
35551
  if (cachedPromise) {
35457
35552
  var cacheHits = batch.cacheHits || (batch.cacheHits = []);
@@ -35575,11 +35670,11 @@ var require_dataloader = __commonJS({
35575
35670
  }
35576
35671
  resolveCacheHits(batch);
35577
35672
  for (var i2 = 0; i2 < batch.callbacks.length; i2++) {
35578
- var value = values[i2];
35579
- if (value instanceof Error) {
35580
- batch.callbacks[i2].reject(value);
35673
+ var _value = values[i2];
35674
+ if (_value instanceof Error) {
35675
+ batch.callbacks[i2].reject(_value);
35581
35676
  } else {
35582
- batch.callbacks[i2].resolve(value);
35677
+ batch.callbacks[i2].resolve(_value);
35583
35678
  }
35584
35679
  }
35585
35680
  })["catch"](function(error) {
@@ -39652,7 +39747,7 @@ function abortable(source, signal) {
39652
39747
  }
39653
39748
  __name(abortable, "abortable");
39654
39749
 
39655
- // ../../../node_modules/.pnpm/nanoid@3.3.7/node_modules/nanoid/index.browser.js
39750
+ // ../../../node_modules/.pnpm/nanoid@3.3.11/node_modules/nanoid/index.browser.js
39656
39751
  var nanoid = /* @__PURE__ */ __name((size = 21) => crypto.getRandomValues(new Uint8Array(size)).reduce((id, byte) => {
39657
39752
  byte &= 63;
39658
39753
  if (byte < 36) {
@@ -40943,10 +41038,10 @@ function verifyTimeChecks(cacao, options) {
40943
41038
  }
40944
41039
  __name(verifyTimeChecks, "verifyTimeChecks");
40945
41040
 
40946
- // ../../../node_modules/.pnpm/@ethersproject+logger@5.7.0/node_modules/@ethersproject/logger/lib.esm/_version.js
40947
- var version2 = "logger/5.7.0";
41041
+ // ../../../node_modules/.pnpm/@ethersproject+logger@5.8.0/node_modules/@ethersproject/logger/lib.esm/_version.js
41042
+ var version2 = "logger/5.8.0";
40948
41043
 
40949
- // ../../../node_modules/.pnpm/@ethersproject+logger@5.7.0/node_modules/@ethersproject/logger/lib.esm/index.js
41044
+ // ../../../node_modules/.pnpm/@ethersproject+logger@5.8.0/node_modules/@ethersproject/logger/lib.esm/index.js
40950
41045
  var _permanentCensorErrors = false;
40951
41046
  var _censorErrors = false;
40952
41047
  var LogLevels = { debug: 1, "default": 2, info: 2, warning: 3, error: 4, off: 5 };
@@ -41236,10 +41331,10 @@ __name(Logger, "Logger");
41236
41331
  Logger.errors = ErrorCode;
41237
41332
  Logger.levels = LogLevel;
41238
41333
 
41239
- // ../../../node_modules/.pnpm/@ethersproject+bytes@5.7.0/node_modules/@ethersproject/bytes/lib.esm/_version.js
41240
- var version3 = "bytes/5.7.0";
41334
+ // ../../../node_modules/.pnpm/@ethersproject+bytes@5.8.0/node_modules/@ethersproject/bytes/lib.esm/_version.js
41335
+ var version3 = "bytes/5.8.0";
41241
41336
 
41242
- // ../../../node_modules/.pnpm/@ethersproject+bytes@5.7.0/node_modules/@ethersproject/bytes/lib.esm/index.js
41337
+ // ../../../node_modules/.pnpm/@ethersproject+bytes@5.8.0/node_modules/@ethersproject/bytes/lib.esm/index.js
41243
41338
  var logger = new Logger(version3);
41244
41339
  function isHexable(value) {
41245
41340
  return !!value.toHexString;
@@ -41568,13 +41663,13 @@ function splitSignature(signature2) {
41568
41663
  }
41569
41664
  __name(splitSignature, "splitSignature");
41570
41665
 
41571
- // ../../../node_modules/.pnpm/@ethersproject+bignumber@5.7.0/node_modules/@ethersproject/bignumber/lib.esm/bignumber.js
41666
+ // ../../../node_modules/.pnpm/@ethersproject+bignumber@5.8.0/node_modules/@ethersproject/bignumber/lib.esm/bignumber.js
41572
41667
  var import_bn = __toESM(require_bn2());
41573
41668
 
41574
- // ../../../node_modules/.pnpm/@ethersproject+bignumber@5.7.0/node_modules/@ethersproject/bignumber/lib.esm/_version.js
41575
- var version4 = "bignumber/5.7.0";
41669
+ // ../../../node_modules/.pnpm/@ethersproject+bignumber@5.8.0/node_modules/@ethersproject/bignumber/lib.esm/_version.js
41670
+ var version4 = "bignumber/5.8.0";
41576
41671
 
41577
- // ../../../node_modules/.pnpm/@ethersproject+bignumber@5.7.0/node_modules/@ethersproject/bignumber/lib.esm/bignumber.js
41672
+ // ../../../node_modules/.pnpm/@ethersproject+bignumber@5.8.0/node_modules/@ethersproject/bignumber/lib.esm/bignumber.js
41578
41673
  var BN = import_bn.default.BN;
41579
41674
  var logger2 = new Logger(version4);
41580
41675
  function _base36To16(value) {
@@ -41582,17 +41677,17 @@ function _base36To16(value) {
41582
41677
  }
41583
41678
  __name(_base36To16, "_base36To16");
41584
41679
 
41585
- // ../../../node_modules/.pnpm/@ethersproject+keccak256@5.7.0/node_modules/@ethersproject/keccak256/lib.esm/index.js
41680
+ // ../../../node_modules/.pnpm/@ethersproject+keccak256@5.8.0/node_modules/@ethersproject/keccak256/lib.esm/index.js
41586
41681
  var import_js_sha32 = __toESM(require_sha3());
41587
41682
  function keccak256(data) {
41588
41683
  return "0x" + import_js_sha32.default.keccak_256(arrayify(data));
41589
41684
  }
41590
41685
  __name(keccak256, "keccak256");
41591
41686
 
41592
- // ../../../node_modules/.pnpm/@ethersproject+address@5.7.0/node_modules/@ethersproject/address/lib.esm/_version.js
41593
- var version5 = "address/5.7.0";
41687
+ // ../../../node_modules/.pnpm/@ethersproject+address@5.8.0/node_modules/@ethersproject/address/lib.esm/_version.js
41688
+ var version5 = "address/5.8.0";
41594
41689
 
41595
- // ../../../node_modules/.pnpm/@ethersproject+address@5.7.0/node_modules/@ethersproject/address/lib.esm/index.js
41690
+ // ../../../node_modules/.pnpm/@ethersproject+address@5.8.0/node_modules/@ethersproject/address/lib.esm/index.js
41596
41691
  var logger3 = new Logger(version5);
41597
41692
  function getChecksumAddress(address) {
41598
41693
  if (!isHexString(address, 20)) {
@@ -41678,10 +41773,10 @@ function getAddress(address) {
41678
41773
  }
41679
41774
  __name(getAddress, "getAddress");
41680
41775
 
41681
- // ../../../node_modules/.pnpm/@ethersproject+properties@5.7.0/node_modules/@ethersproject/properties/lib.esm/_version.js
41682
- var version6 = "properties/5.7.0";
41776
+ // ../../../node_modules/.pnpm/@ethersproject+properties@5.8.0/node_modules/@ethersproject/properties/lib.esm/_version.js
41777
+ var version6 = "properties/5.8.0";
41683
41778
 
41684
- // ../../../node_modules/.pnpm/@ethersproject+properties@5.7.0/node_modules/@ethersproject/properties/lib.esm/index.js
41779
+ // ../../../node_modules/.pnpm/@ethersproject+properties@5.8.0/node_modules/@ethersproject/properties/lib.esm/index.js
41685
41780
  var logger4 = new Logger(version6);
41686
41781
  function defineReadOnly(object, name3, value) {
41687
41782
  Object.defineProperty(object, name3, {
@@ -41692,10 +41787,10 @@ function defineReadOnly(object, name3, value) {
41692
41787
  }
41693
41788
  __name(defineReadOnly, "defineReadOnly");
41694
41789
 
41695
- // ../../../node_modules/.pnpm/@ethersproject+strings@5.7.0/node_modules/@ethersproject/strings/lib.esm/_version.js
41696
- var version7 = "strings/5.7.0";
41790
+ // ../../../node_modules/.pnpm/@ethersproject+strings@5.8.0/node_modules/@ethersproject/strings/lib.esm/_version.js
41791
+ var version7 = "strings/5.8.0";
41697
41792
 
41698
- // ../../../node_modules/.pnpm/@ethersproject+strings@5.7.0/node_modules/@ethersproject/strings/lib.esm/utf8.js
41793
+ // ../../../node_modules/.pnpm/@ethersproject+strings@5.8.0/node_modules/@ethersproject/strings/lib.esm/utf8.js
41699
41794
  var logger5 = new Logger(version7);
41700
41795
  var UnicodeNormalizationForm;
41701
41796
  (function(UnicodeNormalizationForm2) {
@@ -41784,7 +41879,7 @@ function toUtf8Bytes(str, form = UnicodeNormalizationForm.current) {
41784
41879
  }
41785
41880
  __name(toUtf8Bytes, "toUtf8Bytes");
41786
41881
 
41787
- // ../../../node_modules/.pnpm/@ethersproject+hash@5.7.0/node_modules/@ethersproject/hash/lib.esm/message.js
41882
+ // ../../../node_modules/.pnpm/@ethersproject+hash@5.8.0/node_modules/@ethersproject/hash/lib.esm/message.js
41788
41883
  var messagePrefix = "Ethereum Signed Message:\n";
41789
41884
  function hashMessage(message) {
41790
41885
  if (typeof message === "string") {
@@ -41798,7 +41893,7 @@ function hashMessage(message) {
41798
41893
  }
41799
41894
  __name(hashMessage, "hashMessage");
41800
41895
 
41801
- // ../../../node_modules/.pnpm/@ethersproject+signing-key@5.7.0/node_modules/@ethersproject/signing-key/lib.esm/elliptic.js
41896
+ // ../../../node_modules/.pnpm/@ethersproject+signing-key@5.8.0/node_modules/@ethersproject/signing-key/lib.esm/elliptic.js
41802
41897
  var import_bn2 = __toESM(require_bn2());
41803
41898
  var import_hash = __toESM(require_hash());
41804
41899
  function createCommonjsModule(fn, basedir, module) {
@@ -41893,10 +41988,13 @@ var utils_1$1 = createCommonjsModule(function(module, exports) {
41893
41988
  utils.encode = utils_1.encode;
41894
41989
  function getNAF2(num, w, bits) {
41895
41990
  var naf = new Array(Math.max(num.bitLength(), bits) + 1);
41896
- naf.fill(0);
41991
+ var i2;
41992
+ for (i2 = 0; i2 < naf.length; i2 += 1) {
41993
+ naf[i2] = 0;
41994
+ }
41897
41995
  var ws = 1 << w + 1;
41898
41996
  var k = num.clone();
41899
- for (var i2 = 0; i2 < naf.length; i2++) {
41997
+ for (i2 = 0; i2 < naf.length; i2++) {
41900
41998
  var z;
41901
41999
  var mod2 = k.andln(ws - 1);
41902
42000
  if (k.isOdd()) {
@@ -43346,8 +43444,8 @@ KeyPair.prototype.derive = /* @__PURE__ */ __name(function derive(pub) {
43346
43444
  KeyPair.prototype.sign = /* @__PURE__ */ __name(function sign2(msg, enc, options) {
43347
43445
  return this.ec.sign(msg, this, enc, options);
43348
43446
  }, "sign");
43349
- KeyPair.prototype.verify = /* @__PURE__ */ __name(function verify2(msg, signature2) {
43350
- return this.ec.verify(msg, signature2, this);
43447
+ KeyPair.prototype.verify = /* @__PURE__ */ __name(function verify2(msg, signature2, options) {
43448
+ return this.ec.verify(msg, signature2, this, void 0, options);
43351
43449
  }, "verify");
43352
43450
  KeyPair.prototype.inspect = /* @__PURE__ */ __name(function inspect3() {
43353
43451
  return "<Key priv: " + (this.priv && this.priv.toString(16, 2)) + " pub: " + (this.pub && this.pub.inspect()) + " >";
@@ -43381,6 +43479,9 @@ function getLength(buf2, p) {
43381
43479
  if (octetLen === 0 || octetLen > 4) {
43382
43480
  return false;
43383
43481
  }
43482
+ if (buf2[p.place] === 0) {
43483
+ return false;
43484
+ }
43384
43485
  var val = 0;
43385
43486
  for (var i2 = 0, off = p.place; i2 < octetLen; i2++, off++) {
43386
43487
  val <<= 8;
@@ -43426,6 +43527,9 @@ Signature.prototype._importDER = /* @__PURE__ */ __name(function _importDER(data
43426
43527
  if (rlen === false) {
43427
43528
  return false;
43428
43529
  }
43530
+ if ((data[p.place] & 128) !== 0) {
43531
+ return false;
43532
+ }
43429
43533
  var r2 = data.slice(p.place, rlen + p.place);
43430
43534
  p.place += rlen;
43431
43535
  if (data[p.place++] !== 2) {
@@ -43438,6 +43542,9 @@ Signature.prototype._importDER = /* @__PURE__ */ __name(function _importDER(data
43438
43542
  if (data.length !== slen + p.place) {
43439
43543
  return false;
43440
43544
  }
43545
+ if ((data[p.place] & 128) !== 0) {
43546
+ return false;
43547
+ }
43441
43548
  var s2 = data.slice(p.place, slen + p.place);
43442
43549
  if (r2[0] === 0) {
43443
43550
  if (r2[1] & 128) {
@@ -43550,8 +43657,23 @@ EC.prototype.genKeyPair = /* @__PURE__ */ __name(function genKeyPair(options) {
43550
43657
  return this.keyFromPrivate(priv);
43551
43658
  }
43552
43659
  }, "genKeyPair");
43553
- EC.prototype._truncateToN = /* @__PURE__ */ __name(function _truncateToN(msg, truncOnly) {
43554
- var delta = msg.byteLength() * 8 - this.n.bitLength();
43660
+ EC.prototype._truncateToN = /* @__PURE__ */ __name(function _truncateToN(msg, truncOnly, bitLength) {
43661
+ var byteLength;
43662
+ if (import_bn2.default.isBN(msg) || typeof msg === "number") {
43663
+ msg = new import_bn2.default(msg, 16);
43664
+ byteLength = msg.byteLength();
43665
+ } else if (typeof msg === "object") {
43666
+ byteLength = msg.length;
43667
+ msg = new import_bn2.default(msg, 16);
43668
+ } else {
43669
+ var str = msg.toString();
43670
+ byteLength = str.length + 1 >>> 1;
43671
+ msg = new import_bn2.default(str, 16);
43672
+ }
43673
+ if (typeof bitLength !== "number") {
43674
+ bitLength = byteLength * 8;
43675
+ }
43676
+ var delta = bitLength - this.n.bitLength();
43555
43677
  if (delta > 0)
43556
43678
  msg = msg.ushrn(delta);
43557
43679
  if (!truncOnly && msg.cmp(this.n) >= 0)
@@ -43566,11 +43688,22 @@ EC.prototype.sign = /* @__PURE__ */ __name(function sign3(msg, key2, enc, option
43566
43688
  }
43567
43689
  if (!options)
43568
43690
  options = {};
43691
+ if (typeof msg !== "string" && typeof msg !== "number" && !import_bn2.default.isBN(msg)) {
43692
+ assert$5(
43693
+ typeof msg === "object" && msg && typeof msg.length === "number",
43694
+ "Expected message to be an array-like, a hex string, or a BN instance"
43695
+ );
43696
+ assert$5(msg.length >>> 0 === msg.length);
43697
+ for (var i2 = 0; i2 < msg.length; i2++)
43698
+ assert$5((msg[i2] & 255) === msg[i2]);
43699
+ }
43569
43700
  key2 = this.keyFromPrivate(key2, enc);
43570
- msg = this._truncateToN(new import_bn2.default(msg, 16));
43701
+ msg = this._truncateToN(msg, false, options.msgBitLength);
43702
+ assert$5(!msg.isNeg(), "Can not sign a negative message");
43571
43703
  var bytes = this.n.byteLength();
43572
43704
  var bkey = key2.getPrivate().toArray("be", bytes);
43573
43705
  var nonce = msg.toArray("be", bytes);
43706
+ assert$5(new import_bn2.default(nonce).eq(msg), "Can not sign message");
43574
43707
  var drbg = new hmacDrbg({
43575
43708
  hash: this.hash,
43576
43709
  entropy: bkey,
@@ -43603,8 +43736,10 @@ EC.prototype.sign = /* @__PURE__ */ __name(function sign3(msg, key2, enc, option
43603
43736
  return new signature({ r: r2, s: s2, recoveryParam });
43604
43737
  }
43605
43738
  }, "sign");
43606
- EC.prototype.verify = /* @__PURE__ */ __name(function verify3(msg, signature$1, key2, enc) {
43607
- msg = this._truncateToN(new import_bn2.default(msg, 16));
43739
+ EC.prototype.verify = /* @__PURE__ */ __name(function verify3(msg, signature$1, key2, enc, options) {
43740
+ if (!options)
43741
+ options = {};
43742
+ msg = this._truncateToN(msg, false, options.msgBitLength);
43608
43743
  key2 = this.keyFromPublic(key2, enc);
43609
43744
  signature$1 = new signature(signature$1, "hex");
43610
43745
  var r2 = signature$1.r;
@@ -43667,7 +43802,7 @@ EC.prototype.getKeyRecoveryParam = function(e2, signature$1, Q, enc) {
43667
43802
  var elliptic_1 = createCommonjsModule(function(module, exports) {
43668
43803
  "use strict";
43669
43804
  var elliptic = exports;
43670
- elliptic.version = { version: "6.5.4" }.version;
43805
+ elliptic.version = { version: "6.6.1" }.version;
43671
43806
  elliptic.utils = utils_1$1;
43672
43807
  elliptic.rand = function() {
43673
43808
  throw new Error("unsupported");
@@ -43679,10 +43814,10 @@ var elliptic_1 = createCommonjsModule(function(module, exports) {
43679
43814
  });
43680
43815
  var EC$1 = elliptic_1.ec;
43681
43816
 
43682
- // ../../../node_modules/.pnpm/@ethersproject+signing-key@5.7.0/node_modules/@ethersproject/signing-key/lib.esm/_version.js
43683
- var version8 = "signing-key/5.7.0";
43817
+ // ../../../node_modules/.pnpm/@ethersproject+signing-key@5.8.0/node_modules/@ethersproject/signing-key/lib.esm/_version.js
43818
+ var version8 = "signing-key/5.8.0";
43684
43819
 
43685
- // ../../../node_modules/.pnpm/@ethersproject+signing-key@5.7.0/node_modules/@ethersproject/signing-key/lib.esm/index.js
43820
+ // ../../../node_modules/.pnpm/@ethersproject+signing-key@5.8.0/node_modules/@ethersproject/signing-key/lib.esm/index.js
43686
43821
  var logger6 = new Logger(version8);
43687
43822
  var _curve = null;
43688
43823
  function getCurve() {
@@ -43761,10 +43896,10 @@ function computePublicKey(key2, compressed) {
43761
43896
  }
43762
43897
  __name(computePublicKey, "computePublicKey");
43763
43898
 
43764
- // ../../../node_modules/.pnpm/@ethersproject+transactions@5.7.0/node_modules/@ethersproject/transactions/lib.esm/_version.js
43765
- var version9 = "transactions/5.7.0";
43899
+ // ../../../node_modules/.pnpm/@ethersproject+transactions@5.8.0/node_modules/@ethersproject/transactions/lib.esm/_version.js
43900
+ var version9 = "transactions/5.8.0";
43766
43901
 
43767
- // ../../../node_modules/.pnpm/@ethersproject+transactions@5.7.0/node_modules/@ethersproject/transactions/lib.esm/index.js
43902
+ // ../../../node_modules/.pnpm/@ethersproject+transactions@5.8.0/node_modules/@ethersproject/transactions/lib.esm/index.js
43768
43903
  var logger7 = new Logger(version9);
43769
43904
  var TransactionTypes;
43770
43905
  (function(TransactionTypes2) {
@@ -43782,10 +43917,10 @@ function recoverAddress(digest2, signature2) {
43782
43917
  }
43783
43918
  __name(recoverAddress, "recoverAddress");
43784
43919
 
43785
- // ../../../node_modules/.pnpm/@ethersproject+wallet@5.7.0/node_modules/@ethersproject/wallet/lib.esm/_version.js
43786
- var version10 = "wallet/5.7.0";
43920
+ // ../../../node_modules/.pnpm/@ethersproject+wallet@5.8.0/node_modules/@ethersproject/wallet/lib.esm/_version.js
43921
+ var version10 = "wallet/5.8.0";
43787
43922
 
43788
- // ../../../node_modules/.pnpm/@ethersproject+wallet@5.7.0/node_modules/@ethersproject/wallet/lib.esm/index.js
43923
+ // ../../../node_modules/.pnpm/@ethersproject+wallet@5.8.0/node_modules/@ethersproject/wallet/lib.esm/index.js
43789
43924
  var logger8 = new Logger(version10);
43790
43925
  function verifyMessage(message, signature2) {
43791
43926
  return recoverAddress(hashMessage(message), signature2);
@@ -46307,13 +46442,13 @@ function __asyncValues(o2) {
46307
46442
  }
46308
46443
  __name(__asyncValues, "__asyncValues");
46309
46444
 
46310
- // ../../../node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/util/isFunction.js
46445
+ // ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/util/isFunction.js
46311
46446
  function isFunction(value) {
46312
46447
  return typeof value === "function";
46313
46448
  }
46314
46449
  __name(isFunction, "isFunction");
46315
46450
 
46316
- // ../../../node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/util/createErrorClass.js
46451
+ // ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/util/createErrorClass.js
46317
46452
  function createErrorClass(createImpl) {
46318
46453
  var _super = /* @__PURE__ */ __name(function(instance) {
46319
46454
  Error.call(instance);
@@ -46326,7 +46461,7 @@ function createErrorClass(createImpl) {
46326
46461
  }
46327
46462
  __name(createErrorClass, "createErrorClass");
46328
46463
 
46329
- // ../../../node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/util/UnsubscriptionError.js
46464
+ // ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/util/UnsubscriptionError.js
46330
46465
  var UnsubscriptionError = createErrorClass(function(_super) {
46331
46466
  return /* @__PURE__ */ __name(function UnsubscriptionErrorImpl(errors) {
46332
46467
  _super(this);
@@ -46338,7 +46473,7 @@ var UnsubscriptionError = createErrorClass(function(_super) {
46338
46473
  }, "UnsubscriptionErrorImpl");
46339
46474
  });
46340
46475
 
46341
- // ../../../node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/util/arrRemove.js
46476
+ // ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/util/arrRemove.js
46342
46477
  function arrRemove(arr, item) {
46343
46478
  if (arr) {
46344
46479
  var index = arr.indexOf(item);
@@ -46347,7 +46482,7 @@ function arrRemove(arr, item) {
46347
46482
  }
46348
46483
  __name(arrRemove, "arrRemove");
46349
46484
 
46350
- // ../../../node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/Subscription.js
46485
+ // ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/Subscription.js
46351
46486
  var Subscription = function() {
46352
46487
  function Subscription2(initialTeardown) {
46353
46488
  this.initialTeardown = initialTeardown;
@@ -46487,7 +46622,7 @@ function execFinalizer(finalizer) {
46487
46622
  }
46488
46623
  __name(execFinalizer, "execFinalizer");
46489
46624
 
46490
- // ../../../node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/config.js
46625
+ // ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/config.js
46491
46626
  var config = {
46492
46627
  onUnhandledError: null,
46493
46628
  onStoppedNotification: null,
@@ -46496,7 +46631,7 @@ var config = {
46496
46631
  useDeprecatedNextContext: false
46497
46632
  };
46498
46633
 
46499
- // ../../../node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/scheduler/timeoutProvider.js
46634
+ // ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/scheduler/timeoutProvider.js
46500
46635
  var timeoutProvider = {
46501
46636
  setTimeout: function(handler, timeout) {
46502
46637
  var args = [];
@@ -46516,7 +46651,7 @@ var timeoutProvider = {
46516
46651
  delegate: void 0
46517
46652
  };
46518
46653
 
46519
- // ../../../node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/util/reportUnhandledError.js
46654
+ // ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/util/reportUnhandledError.js
46520
46655
  function reportUnhandledError(err) {
46521
46656
  timeoutProvider.setTimeout(function() {
46522
46657
  var onUnhandledError = config.onUnhandledError;
@@ -46529,12 +46664,12 @@ function reportUnhandledError(err) {
46529
46664
  }
46530
46665
  __name(reportUnhandledError, "reportUnhandledError");
46531
46666
 
46532
- // ../../../node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/util/noop.js
46667
+ // ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/util/noop.js
46533
46668
  function noop() {
46534
46669
  }
46535
46670
  __name(noop, "noop");
46536
46671
 
46537
- // ../../../node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/NotificationFactories.js
46672
+ // ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/NotificationFactories.js
46538
46673
  var COMPLETE_NOTIFICATION = function() {
46539
46674
  return createNotification("C", void 0, void 0);
46540
46675
  }();
@@ -46555,7 +46690,7 @@ function createNotification(kind, value, error) {
46555
46690
  }
46556
46691
  __name(createNotification, "createNotification");
46557
46692
 
46558
- // ../../../node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/util/errorContext.js
46693
+ // ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/util/errorContext.js
46559
46694
  var context = null;
46560
46695
  function errorContext(cb) {
46561
46696
  if (config.useDeprecatedSynchronousErrorHandling) {
@@ -46584,7 +46719,7 @@ function captureError(err) {
46584
46719
  }
46585
46720
  __name(captureError, "captureError");
46586
46721
 
46587
- // ../../../node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/Subscriber.js
46722
+ // ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/Subscriber.js
46588
46723
  var Subscriber = function(_super) {
46589
46724
  __extends2(Subscriber2, _super);
46590
46725
  function Subscriber2(destination) {
@@ -46756,18 +46891,18 @@ var EMPTY_OBSERVER = {
46756
46891
  complete: noop
46757
46892
  };
46758
46893
 
46759
- // ../../../node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/symbol/observable.js
46894
+ // ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/symbol/observable.js
46760
46895
  var observable = function() {
46761
46896
  return typeof Symbol === "function" && Symbol.observable || "@@observable";
46762
46897
  }();
46763
46898
 
46764
- // ../../../node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/util/identity.js
46899
+ // ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/util/identity.js
46765
46900
  function identity3(x) {
46766
46901
  return x;
46767
46902
  }
46768
46903
  __name(identity3, "identity");
46769
46904
 
46770
- // ../../../node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/util/pipe.js
46905
+ // ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/util/pipe.js
46771
46906
  function pipeFromArray(fns) {
46772
46907
  if (fns.length === 0) {
46773
46908
  return identity3;
@@ -46783,7 +46918,7 @@ function pipeFromArray(fns) {
46783
46918
  }
46784
46919
  __name(pipeFromArray, "pipeFromArray");
46785
46920
 
46786
- // ../../../node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/Observable.js
46921
+ // ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/Observable.js
46787
46922
  var Observable = function() {
46788
46923
  function Observable2(subscribe) {
46789
46924
  if (subscribe) {
@@ -46879,7 +47014,7 @@ function isSubscriber(value) {
46879
47014
  }
46880
47015
  __name(isSubscriber, "isSubscriber");
46881
47016
 
46882
- // ../../../node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/util/lift.js
47017
+ // ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/util/lift.js
46883
47018
  function hasLift(source) {
46884
47019
  return isFunction(source === null || source === void 0 ? void 0 : source.lift);
46885
47020
  }
@@ -46900,7 +47035,7 @@ function operate(init2) {
46900
47035
  }
46901
47036
  __name(operate, "operate");
46902
47037
 
46903
- // ../../../node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/operators/OperatorSubscriber.js
47038
+ // ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/operators/OperatorSubscriber.js
46904
47039
  function createOperatorSubscriber(destination, onNext, onComplete, onError, onFinalize) {
46905
47040
  return new OperatorSubscriber(destination, onNext, onComplete, onError, onFinalize);
46906
47041
  }
@@ -46950,7 +47085,7 @@ var OperatorSubscriber = function(_super) {
46950
47085
  return OperatorSubscriber2;
46951
47086
  }(Subscriber);
46952
47087
 
46953
- // ../../../node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/util/ObjectUnsubscribedError.js
47088
+ // ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/util/ObjectUnsubscribedError.js
46954
47089
  var ObjectUnsubscribedError = createErrorClass(function(_super) {
46955
47090
  return /* @__PURE__ */ __name(function ObjectUnsubscribedErrorImpl() {
46956
47091
  _super(this);
@@ -46959,7 +47094,7 @@ var ObjectUnsubscribedError = createErrorClass(function(_super) {
46959
47094
  }, "ObjectUnsubscribedErrorImpl");
46960
47095
  });
46961
47096
 
46962
- // ../../../node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/Subject.js
47097
+ // ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/Subject.js
46963
47098
  var Subject = function(_super) {
46964
47099
  __extends2(Subject2, _super);
46965
47100
  function Subject2() {
@@ -47118,7 +47253,7 @@ var AnonymousSubject = function(_super) {
47118
47253
  return AnonymousSubject2;
47119
47254
  }(Subject);
47120
47255
 
47121
- // ../../../node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/BehaviorSubject.js
47256
+ // ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/BehaviorSubject.js
47122
47257
  var BehaviorSubject = function(_super) {
47123
47258
  __extends2(BehaviorSubject2, _super);
47124
47259
  function BehaviorSubject2(_value) {
@@ -47153,7 +47288,7 @@ var BehaviorSubject = function(_super) {
47153
47288
  return BehaviorSubject2;
47154
47289
  }(Subject);
47155
47290
 
47156
- // ../../../node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/scheduler/dateTimestampProvider.js
47291
+ // ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/scheduler/dateTimestampProvider.js
47157
47292
  var dateTimestampProvider = {
47158
47293
  now: function() {
47159
47294
  return (dateTimestampProvider.delegate || Date).now();
@@ -47161,7 +47296,7 @@ var dateTimestampProvider = {
47161
47296
  delegate: void 0
47162
47297
  };
47163
47298
 
47164
- // ../../../node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/scheduler/Action.js
47299
+ // ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/scheduler/Action.js
47165
47300
  var Action = function(_super) {
47166
47301
  __extends2(Action2, _super);
47167
47302
  function Action2(scheduler, work) {
@@ -47177,7 +47312,7 @@ var Action = function(_super) {
47177
47312
  return Action2;
47178
47313
  }(Subscription);
47179
47314
 
47180
- // ../../../node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/scheduler/intervalProvider.js
47315
+ // ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/scheduler/intervalProvider.js
47181
47316
  var intervalProvider = {
47182
47317
  setInterval: function(handler, timeout) {
47183
47318
  var args = [];
@@ -47197,7 +47332,7 @@ var intervalProvider = {
47197
47332
  delegate: void 0
47198
47333
  };
47199
47334
 
47200
- // ../../../node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/scheduler/AsyncAction.js
47335
+ // ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/scheduler/AsyncAction.js
47201
47336
  var AsyncAction = function(_super) {
47202
47337
  __extends2(AsyncAction2, _super);
47203
47338
  function AsyncAction2(scheduler, work) {
@@ -47288,7 +47423,7 @@ var AsyncAction = function(_super) {
47288
47423
  return AsyncAction2;
47289
47424
  }(Action);
47290
47425
 
47291
- // ../../../node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/Scheduler.js
47426
+ // ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/Scheduler.js
47292
47427
  var Scheduler = function() {
47293
47428
  function Scheduler2(schedulerActionCtor, now) {
47294
47429
  if (now === void 0) {
@@ -47308,7 +47443,7 @@ var Scheduler = function() {
47308
47443
  return Scheduler2;
47309
47444
  }();
47310
47445
 
47311
- // ../../../node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/scheduler/AsyncScheduler.js
47446
+ // ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/scheduler/AsyncScheduler.js
47312
47447
  var AsyncScheduler = function(_super) {
47313
47448
  __extends2(AsyncScheduler2, _super);
47314
47449
  function AsyncScheduler2(SchedulerAction, now) {
@@ -47345,22 +47480,22 @@ var AsyncScheduler = function(_super) {
47345
47480
  return AsyncScheduler2;
47346
47481
  }(Scheduler);
47347
47482
 
47348
- // ../../../node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/scheduler/async.js
47483
+ // ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/scheduler/async.js
47349
47484
  var asyncScheduler = new AsyncScheduler(AsyncAction);
47350
47485
  var async = asyncScheduler;
47351
47486
 
47352
- // ../../../node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/observable/empty.js
47487
+ // ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/observable/empty.js
47353
47488
  var EMPTY = new Observable(function(subscriber) {
47354
47489
  return subscriber.complete();
47355
47490
  });
47356
47491
 
47357
- // ../../../node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/util/isScheduler.js
47492
+ // ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/util/isScheduler.js
47358
47493
  function isScheduler(value) {
47359
47494
  return value && isFunction(value.schedule);
47360
47495
  }
47361
47496
  __name(isScheduler, "isScheduler");
47362
47497
 
47363
- // ../../../node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/util/args.js
47498
+ // ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/util/args.js
47364
47499
  function last(arr) {
47365
47500
  return arr[arr.length - 1];
47366
47501
  }
@@ -47374,36 +47509,36 @@ function popNumber(args, defaultValue) {
47374
47509
  }
47375
47510
  __name(popNumber, "popNumber");
47376
47511
 
47377
- // ../../../node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/util/isArrayLike.js
47512
+ // ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/util/isArrayLike.js
47378
47513
  var isArrayLike = /* @__PURE__ */ __name(function(x) {
47379
47514
  return x && typeof x.length === "number" && typeof x !== "function";
47380
47515
  }, "isArrayLike");
47381
47516
 
47382
- // ../../../node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/util/isPromise.js
47517
+ // ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/util/isPromise.js
47383
47518
  function isPromise(value) {
47384
47519
  return isFunction(value === null || value === void 0 ? void 0 : value.then);
47385
47520
  }
47386
47521
  __name(isPromise, "isPromise");
47387
47522
 
47388
- // ../../../node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/util/isInteropObservable.js
47523
+ // ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/util/isInteropObservable.js
47389
47524
  function isInteropObservable(input) {
47390
47525
  return isFunction(input[observable]);
47391
47526
  }
47392
47527
  __name(isInteropObservable, "isInteropObservable");
47393
47528
 
47394
- // ../../../node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/util/isAsyncIterable.js
47529
+ // ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/util/isAsyncIterable.js
47395
47530
  function isAsyncIterable(obj) {
47396
47531
  return Symbol.asyncIterator && isFunction(obj === null || obj === void 0 ? void 0 : obj[Symbol.asyncIterator]);
47397
47532
  }
47398
47533
  __name(isAsyncIterable, "isAsyncIterable");
47399
47534
 
47400
- // ../../../node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/util/throwUnobservableError.js
47535
+ // ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/util/throwUnobservableError.js
47401
47536
  function createInvalidObservableTypeError(input) {
47402
47537
  return new TypeError("You provided " + (input !== null && typeof input === "object" ? "an invalid object" : "'" + input + "'") + " where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.");
47403
47538
  }
47404
47539
  __name(createInvalidObservableTypeError, "createInvalidObservableTypeError");
47405
47540
 
47406
- // ../../../node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/symbol/iterator.js
47541
+ // ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/symbol/iterator.js
47407
47542
  function getSymbolIterator() {
47408
47543
  if (typeof Symbol !== "function" || !Symbol.iterator) {
47409
47544
  return "@@iterator";
@@ -47413,13 +47548,13 @@ function getSymbolIterator() {
47413
47548
  __name(getSymbolIterator, "getSymbolIterator");
47414
47549
  var iterator = getSymbolIterator();
47415
47550
 
47416
- // ../../../node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/util/isIterable.js
47551
+ // ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/util/isIterable.js
47417
47552
  function isIterable(input) {
47418
47553
  return isFunction(input === null || input === void 0 ? void 0 : input[iterator]);
47419
47554
  }
47420
47555
  __name(isIterable, "isIterable");
47421
47556
 
47422
- // ../../../node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/util/isReadableStreamLike.js
47557
+ // ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/util/isReadableStreamLike.js
47423
47558
  function readableStreamLikeToAsyncGenerator(readableStream) {
47424
47559
  return __asyncGenerator(this, arguments, /* @__PURE__ */ __name(function readableStreamLikeToAsyncGenerator_1() {
47425
47560
  var reader, _a, value, done;
@@ -47466,7 +47601,7 @@ function isReadableStreamLike(obj) {
47466
47601
  }
47467
47602
  __name(isReadableStreamLike, "isReadableStreamLike");
47468
47603
 
47469
- // ../../../node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/observable/innerFrom.js
47604
+ // ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/observable/innerFrom.js
47470
47605
  function innerFrom(input) {
47471
47606
  if (input instanceof Observable) {
47472
47607
  return input;
@@ -47619,7 +47754,7 @@ function process2(asyncIterable, subscriber) {
47619
47754
  }
47620
47755
  __name(process2, "process");
47621
47756
 
47622
- // ../../../node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/util/executeSchedule.js
47757
+ // ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/util/executeSchedule.js
47623
47758
  function executeSchedule(parentSubscription, scheduler, work, delay, repeat) {
47624
47759
  if (delay === void 0) {
47625
47760
  delay = 0;
@@ -47642,7 +47777,7 @@ function executeSchedule(parentSubscription, scheduler, work, delay, repeat) {
47642
47777
  }
47643
47778
  __name(executeSchedule, "executeSchedule");
47644
47779
 
47645
- // ../../../node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/operators/observeOn.js
47780
+ // ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/operators/observeOn.js
47646
47781
  function observeOn(scheduler, delay) {
47647
47782
  if (delay === void 0) {
47648
47783
  delay = 0;
@@ -47665,7 +47800,7 @@ function observeOn(scheduler, delay) {
47665
47800
  }
47666
47801
  __name(observeOn, "observeOn");
47667
47802
 
47668
- // ../../../node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/operators/subscribeOn.js
47803
+ // ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/operators/subscribeOn.js
47669
47804
  function subscribeOn(scheduler, delay) {
47670
47805
  if (delay === void 0) {
47671
47806
  delay = 0;
@@ -47678,19 +47813,19 @@ function subscribeOn(scheduler, delay) {
47678
47813
  }
47679
47814
  __name(subscribeOn, "subscribeOn");
47680
47815
 
47681
- // ../../../node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/scheduled/scheduleObservable.js
47816
+ // ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/scheduled/scheduleObservable.js
47682
47817
  function scheduleObservable(input, scheduler) {
47683
47818
  return innerFrom(input).pipe(subscribeOn(scheduler), observeOn(scheduler));
47684
47819
  }
47685
47820
  __name(scheduleObservable, "scheduleObservable");
47686
47821
 
47687
- // ../../../node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/scheduled/schedulePromise.js
47822
+ // ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/scheduled/schedulePromise.js
47688
47823
  function schedulePromise(input, scheduler) {
47689
47824
  return innerFrom(input).pipe(subscribeOn(scheduler), observeOn(scheduler));
47690
47825
  }
47691
47826
  __name(schedulePromise, "schedulePromise");
47692
47827
 
47693
- // ../../../node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/scheduled/scheduleArray.js
47828
+ // ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/scheduled/scheduleArray.js
47694
47829
  function scheduleArray(input, scheduler) {
47695
47830
  return new Observable(function(subscriber) {
47696
47831
  var i2 = 0;
@@ -47708,7 +47843,7 @@ function scheduleArray(input, scheduler) {
47708
47843
  }
47709
47844
  __name(scheduleArray, "scheduleArray");
47710
47845
 
47711
- // ../../../node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/scheduled/scheduleIterable.js
47846
+ // ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/scheduled/scheduleIterable.js
47712
47847
  function scheduleIterable(input, scheduler) {
47713
47848
  return new Observable(function(subscriber) {
47714
47849
  var iterator2;
@@ -47738,7 +47873,7 @@ function scheduleIterable(input, scheduler) {
47738
47873
  }
47739
47874
  __name(scheduleIterable, "scheduleIterable");
47740
47875
 
47741
- // ../../../node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/scheduled/scheduleAsyncIterable.js
47876
+ // ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/scheduled/scheduleAsyncIterable.js
47742
47877
  function scheduleAsyncIterable(input, scheduler) {
47743
47878
  if (!input) {
47744
47879
  throw new Error("Iterable cannot be null");
@@ -47760,13 +47895,13 @@ function scheduleAsyncIterable(input, scheduler) {
47760
47895
  }
47761
47896
  __name(scheduleAsyncIterable, "scheduleAsyncIterable");
47762
47897
 
47763
- // ../../../node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/scheduled/scheduleReadableStreamLike.js
47898
+ // ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/scheduled/scheduleReadableStreamLike.js
47764
47899
  function scheduleReadableStreamLike(input, scheduler) {
47765
47900
  return scheduleAsyncIterable(readableStreamLikeToAsyncGenerator(input), scheduler);
47766
47901
  }
47767
47902
  __name(scheduleReadableStreamLike, "scheduleReadableStreamLike");
47768
47903
 
47769
- // ../../../node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/scheduled/scheduled.js
47904
+ // ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/scheduled/scheduled.js
47770
47905
  function scheduled(input, scheduler) {
47771
47906
  if (input != null) {
47772
47907
  if (isInteropObservable(input)) {
@@ -47792,13 +47927,13 @@ function scheduled(input, scheduler) {
47792
47927
  }
47793
47928
  __name(scheduled, "scheduled");
47794
47929
 
47795
- // ../../../node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/observable/from.js
47930
+ // ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/observable/from.js
47796
47931
  function from3(input, scheduler) {
47797
47932
  return scheduler ? scheduled(input, scheduler) : innerFrom(input);
47798
47933
  }
47799
47934
  __name(from3, "from");
47800
47935
 
47801
- // ../../../node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/util/EmptyError.js
47936
+ // ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/util/EmptyError.js
47802
47937
  var EmptyError = createErrorClass(function(_super) {
47803
47938
  return /* @__PURE__ */ __name(function EmptyErrorImpl() {
47804
47939
  _super(this);
@@ -47807,13 +47942,13 @@ var EmptyError = createErrorClass(function(_super) {
47807
47942
  }, "EmptyErrorImpl");
47808
47943
  });
47809
47944
 
47810
- // ../../../node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/util/isDate.js
47945
+ // ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/util/isDate.js
47811
47946
  function isValidDate(value) {
47812
47947
  return value instanceof Date && !isNaN(value);
47813
47948
  }
47814
47949
  __name(isValidDate, "isValidDate");
47815
47950
 
47816
- // ../../../node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/operators/map.js
47951
+ // ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/operators/map.js
47817
47952
  function map(project, thisArg) {
47818
47953
  return operate(function(source, subscriber) {
47819
47954
  var index = 0;
@@ -47824,7 +47959,7 @@ function map(project, thisArg) {
47824
47959
  }
47825
47960
  __name(map, "map");
47826
47961
 
47827
- // ../../../node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/util/mapOneOrManyArgs.js
47962
+ // ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/util/mapOneOrManyArgs.js
47828
47963
  var isArray = Array.isArray;
47829
47964
  function callOrApply(fn, args) {
47830
47965
  return isArray(args) ? fn.apply(void 0, __spreadArray([], __read(args))) : fn(args);
@@ -47837,7 +47972,7 @@ function mapOneOrManyArgs(fn) {
47837
47972
  }
47838
47973
  __name(mapOneOrManyArgs, "mapOneOrManyArgs");
47839
47974
 
47840
- // ../../../node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/operators/mergeInternals.js
47975
+ // ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/operators/mergeInternals.js
47841
47976
  function mergeInternals(source, subscriber, project, concurrent, onBeforeNext, expand, innerSubScheduler, additionalFinalizer) {
47842
47977
  var buffer2 = [];
47843
47978
  var active = 0;
@@ -47898,7 +48033,7 @@ function mergeInternals(source, subscriber, project, concurrent, onBeforeNext, e
47898
48033
  }
47899
48034
  __name(mergeInternals, "mergeInternals");
47900
48035
 
47901
- // ../../../node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/operators/mergeMap.js
48036
+ // ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/operators/mergeMap.js
47902
48037
  function mergeMap(project, resultSelector, concurrent) {
47903
48038
  if (concurrent === void 0) {
47904
48039
  concurrent = Infinity;
@@ -47918,7 +48053,7 @@ function mergeMap(project, resultSelector, concurrent) {
47918
48053
  }
47919
48054
  __name(mergeMap, "mergeMap");
47920
48055
 
47921
- // ../../../node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/operators/mergeAll.js
48056
+ // ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/operators/mergeAll.js
47922
48057
  function mergeAll(concurrent) {
47923
48058
  if (concurrent === void 0) {
47924
48059
  concurrent = Infinity;
@@ -47927,7 +48062,7 @@ function mergeAll(concurrent) {
47927
48062
  }
47928
48063
  __name(mergeAll, "mergeAll");
47929
48064
 
47930
- // ../../../node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/observable/fromEvent.js
48065
+ // ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/observable/fromEvent.js
47931
48066
  var nodeEventEmitterMethods = ["addListener", "removeListener"];
47932
48067
  var eventTargetMethods = ["addEventListener", "removeEventListener"];
47933
48068
  var jqueryMethods = ["on", "off"];
@@ -47990,7 +48125,7 @@ function isEventTarget(target) {
47990
48125
  }
47991
48126
  __name(isEventTarget, "isEventTarget");
47992
48127
 
47993
- // ../../../node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/observable/timer.js
48128
+ // ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/observable/timer.js
47994
48129
  function timer(dueTime, intervalOrScheduler, scheduler) {
47995
48130
  if (dueTime === void 0) {
47996
48131
  dueTime = 0;
@@ -48026,7 +48161,7 @@ function timer(dueTime, intervalOrScheduler, scheduler) {
48026
48161
  }
48027
48162
  __name(timer, "timer");
48028
48163
 
48029
- // ../../../node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/observable/merge.js
48164
+ // ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/observable/merge.js
48030
48165
  function merge() {
48031
48166
  var args = [];
48032
48167
  for (var _i = 0; _i < arguments.length; _i++) {
@@ -48039,7 +48174,7 @@ function merge() {
48039
48174
  }
48040
48175
  __name(merge, "merge");
48041
48176
 
48042
- // ../../../node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/operators/filter.js
48177
+ // ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/operators/filter.js
48043
48178
  function filter(predicate, thisArg) {
48044
48179
  return operate(function(source, subscriber) {
48045
48180
  var index = 0;
@@ -48050,7 +48185,7 @@ function filter(predicate, thisArg) {
48050
48185
  }
48051
48186
  __name(filter, "filter");
48052
48187
 
48053
- // ../../../node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/operators/defaultIfEmpty.js
48188
+ // ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/operators/defaultIfEmpty.js
48054
48189
  function defaultIfEmpty(defaultValue) {
48055
48190
  return operate(function(source, subscriber) {
48056
48191
  var hasValue = false;
@@ -48067,7 +48202,7 @@ function defaultIfEmpty(defaultValue) {
48067
48202
  }
48068
48203
  __name(defaultIfEmpty, "defaultIfEmpty");
48069
48204
 
48070
- // ../../../node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/operators/take.js
48205
+ // ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/operators/take.js
48071
48206
  function take(count) {
48072
48207
  return count <= 0 ? function() {
48073
48208
  return EMPTY;
@@ -48085,7 +48220,7 @@ function take(count) {
48085
48220
  }
48086
48221
  __name(take, "take");
48087
48222
 
48088
- // ../../../node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/operators/throwIfEmpty.js
48223
+ // ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/operators/throwIfEmpty.js
48089
48224
  function throwIfEmpty(errorFactory) {
48090
48225
  if (errorFactory === void 0) {
48091
48226
  errorFactory = defaultErrorFactory;
@@ -48106,7 +48241,7 @@ function defaultErrorFactory() {
48106
48241
  }
48107
48242
  __name(defaultErrorFactory, "defaultErrorFactory");
48108
48243
 
48109
- // ../../../node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/operators/first.js
48244
+ // ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/operators/first.js
48110
48245
  function first(predicate, defaultValue) {
48111
48246
  var hasDefaultValue = arguments.length >= 2;
48112
48247
  return function(source) {
@@ -48119,7 +48254,7 @@ function first(predicate, defaultValue) {
48119
48254
  }
48120
48255
  __name(first, "first");
48121
48256
 
48122
- // ../../../node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/operators/throttle.js
48257
+ // ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/operators/throttle.js
48123
48258
  function throttle(durationSelector, config2) {
48124
48259
  return operate(function(source, subscriber) {
48125
48260
  var _a = config2 !== null && config2 !== void 0 ? config2 : {}, _b = _a.leading, leading = _b === void 0 ? true : _b, _c = _a.trailing, trailing = _c === void 0 ? false : _c;
@@ -53734,6 +53869,13 @@ var LCNSigningAuthorityForUserValidator = mod.object({
53734
53869
  did: mod.string()
53735
53870
  })
53736
53871
  });
53872
+ var AutoBoostConfigValidator = mod.object({
53873
+ boostUri: mod.string(),
53874
+ signingAuthority: mod.object({
53875
+ endpoint: mod.string(),
53876
+ name: mod.string()
53877
+ })
53878
+ });
53737
53879
  var ConsentFlowTermsStatusValidator = mod.enum(["live", "stale", "withdrawn"]);
53738
53880
  var ConsentFlowContractValidator = mod.object({
53739
53881
  read: mod.object({
@@ -53757,6 +53899,7 @@ var ConsentFlowContractDetailsValidator = mod.object({
53757
53899
  uri: mod.string(),
53758
53900
  needsGuardianConsent: mod.boolean().optional(),
53759
53901
  redirectUrl: mod.string().optional(),
53902
+ frontDoorBoostUri: mod.string().optional(),
53760
53903
  createdAt: mod.string(),
53761
53904
  updatedAt: mod.string(),
53762
53905
  expiresAt: mod.string().optional()
@@ -53772,6 +53915,15 @@ var ConsentFlowContractDataValidator = mod.object({
53772
53915
  var PaginatedConsentFlowDataValidator = PaginationResponseValidator.extend({
53773
53916
  records: ConsentFlowContractDataValidator.array()
53774
53917
  });
53918
+ var ConsentFlowContractDataForDidValidator = mod.object({
53919
+ credentials: mod.object({ category: mod.string(), uri: mod.string() }).array(),
53920
+ personal: mod.record(mod.string()).default({}),
53921
+ date: mod.string(),
53922
+ contractUri: mod.string()
53923
+ });
53924
+ var PaginatedConsentFlowDataForDidValidator = PaginationResponseValidator.extend({
53925
+ records: ConsentFlowContractDataForDidValidator.array()
53926
+ });
53775
53927
  var ConsentFlowTermValidator = mod.object({
53776
53928
  sharing: mod.boolean().optional(),
53777
53929
  shared: mod.string().array().optional(),
@@ -53824,6 +53976,11 @@ var ConsentFlowDataQueryValidator = mod.object({
53824
53976
  credentials: mod.object({ categories: mod.record(mod.boolean()).optional() }).optional(),
53825
53977
  personal: mod.record(mod.boolean()).optional()
53826
53978
  });
53979
+ var ConsentFlowDataForDidQueryValidator = mod.object({
53980
+ credentials: mod.object({ categories: mod.record(mod.boolean()).optional() }).optional(),
53981
+ personal: mod.record(mod.boolean()).optional(),
53982
+ id: StringQuery.optional()
53983
+ });
53827
53984
  var ConsentFlowTermsQueryValidator = mod.object({
53828
53985
  read: mod.object({
53829
53986
  anonymize: mod.boolean().optional(),
@@ -53843,7 +54000,8 @@ var ConsentFlowTransactionActionValidator = mod.enum([
53843
54000
  "consent",
53844
54001
  "update",
53845
54002
  "sync",
53846
- "withdraw"
54003
+ "withdraw",
54004
+ "write"
53847
54005
  ]);
53848
54006
  var ConsentFlowTransactionsQueryValidator = mod.object({
53849
54007
  terms: ConsentFlowTermsQueryValidator.optional(),
@@ -53860,11 +54018,23 @@ var ConsentFlowTransactionValidator = mod.object({
53860
54018
  terms: ConsentFlowTermsValidator.optional(),
53861
54019
  id: mod.string(),
53862
54020
  action: ConsentFlowTransactionActionValidator,
53863
- date: mod.string()
54021
+ date: mod.string(),
54022
+ uris: mod.string().array().optional()
53864
54023
  });
53865
54024
  var PaginatedConsentFlowTransactionsValidator = PaginationResponseValidator.extend({
53866
54025
  records: ConsentFlowTransactionValidator.array()
53867
54026
  });
54027
+ var ContractCredentialValidator = mod.object({
54028
+ credentialUri: mod.string(),
54029
+ termsUri: mod.string(),
54030
+ contractUri: mod.string(),
54031
+ boostUri: mod.string(),
54032
+ category: mod.string().optional(),
54033
+ date: mod.string()
54034
+ });
54035
+ var PaginatedContractCredentialsValidator = PaginationResponseValidator.extend({
54036
+ records: ContractCredentialValidator.array()
54037
+ });
53868
54038
  var LCNNotificationTypeEnumValidator = mod.enum([
53869
54039
  "CONNECTION_REQUEST",
53870
54040
  "CONNECTION_ACCEPTED",
@@ -53906,8 +54076,14 @@ var CeramicURIValidator = mod.string().refine(
53906
54076
  "URI must use storage type ceramic (i.e. must be lc:ceramic:${streamID})"
53907
54077
  );
53908
54078
 
54079
+ // src/defaults.ts
54080
+ var DEFAULT_CERAMIC_ARGS = {
54081
+ ceramicEndpoint: "https://ceramic-node.welibrary.io:7007",
54082
+ defaultContentFamily: "SuperSkills"
54083
+ };
54084
+
53909
54085
  // src/ceramic.ts
53910
- var getCeramicPlugin = /* @__PURE__ */ __name(async (learnCard, { ceramicEndpoint, defaultContentFamily }) => {
54086
+ var getCeramicPlugin = /* @__PURE__ */ __name(async (learnCard, { ceramicEndpoint, defaultContentFamily } = DEFAULT_CERAMIC_ARGS) => {
53911
54087
  const ceramic = new CeramicClient(ceramicEndpoint);
53912
54088
  const learnCardResolver = /* @__PURE__ */ __name(async (did2, _parsedDid, _resolver, options) => learnCard.invoke.didResolver(did2, options), "learnCardResolver");
53913
54089
  const resolver = { ...lib_default.getResolver(), web: learnCardResolver };