@ghostlytools/sdk 1.7.0 → 1.7.1

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.
@@ -1512,7 +1512,8 @@ var RelayTransport = class {
1512
1512
  * which this client has not read (an inviter's warm packet under the key it gave its contact, from a clock ahead of
1513
1513
  * this one). That packet is read from that relay, and the records go again dated just past it, once. Without this
1514
1514
  * the packet was refused until this device's clock passed the other one's, however long that took, and on a relay
1515
- * that did take it, readers still preferred the later-dated empty packet of another relay.
1515
+ * that did take it, readers still preferred the later-dated empty packet of another relay. `read`: how to learn the
1516
+ * held packet's date where it is not a relay to ask (the CLI's DHT, whose nodes answer 302 for a later-dated packet).
1516
1517
  */
1517
1518
  async publishDated(identity, records, put, options = {}, again = false, elsewhere = false) {
1518
1519
  const key = identity.pubKeyZ32;
@@ -1522,10 +1523,10 @@ var RelayTransport = class {
1522
1523
  }
1523
1524
  const timestamp = this.nextTimestamp(key);
1524
1525
  let redated;
1525
- const conflict = (relay) => {
1526
+ const conflict = (relay, read) => {
1526
1527
  if (again || redated) return;
1527
1528
  redated = (async () => {
1528
- const held = await this.heldAt(relay, key, asker(options, true));
1529
+ const held = read ? await read().catch(() => null) : await this.heldAt(relay, key, asker(options, true));
1529
1530
  if (held === null || held < timestamp) return false;
1530
1531
  traceLink(key, "publish-redated", {
1531
1532
  aheadMs: Number((held - timestamp) / 1000n),
@@ -1629,6 +1630,19 @@ var RelayTransport = class {
1629
1630
  await this.putRedated(pubKeyZ32, payload, seq, options, PAYLOAD_REDATES);
1630
1631
  }
1631
1632
  /**
1633
+ * A payload every relay's budget held back while another path took it (the CLI's DHT): the publish is out, and each
1634
+ * relay gets it once its budget frees a request for the same asker (`catchUpLater`), unless a newer packet of the key
1635
+ * goes there first. Retried by the link instead, each try was signed and put on the DHT again (1-1.6 puts a minute per
1636
+ * chat at budget, not one per 4 min). `timestamp`: its date when signed here; read from the payload otherwise.
1637
+ */
1638
+ putLater(pubKeyZ32, payload, timestamp, options = {}) {
1639
+ const at = timestamp ?? options.signedAt ?? openRelayPayload(pubKeyZ32, payload).seq;
1640
+ try {
1641
+ this.written.set(pubKeyZ32, readOwnRelayPayload(pubKeyZ32, payload));
1642
+ } catch {}
1643
+ for (const relay of this.relays) this.catchUpLater(relay, pubKeyZ32, payload, at, asker(options, true));
1644
+ }
1645
+ /**
1632
1646
  * A payload signed in this process (a group edge's offer or answer, `CarriedTransport`) put on every relay, past what
1633
1647
  * a relay that answers 409 holds: that one is read, and the records go again at once, signed by `options.redate` dated
1634
1648
  * just past it, `left` times at most. A packet put here is the key's latest too: a publish dated here next
@@ -4197,11 +4211,77 @@ async function signAppObject(prefix, value, signer) {
4197
4211
  }
4198
4212
  };
4199
4213
  }
4214
+ var fastPath = null;
4215
+ /** Gives (or, with `null`, takes back) the faster check of every app signature this process verifies. */
4216
+ function setAppSignatureFastPath(check) {
4217
+ fastPath = check;
4218
+ }
4219
+ /** The group order L, little-endian: an S at or above it is refused by the strict check. */
4220
+ var GROUP_ORDER = Uint8Array.from([
4221
+ 237,
4222
+ 211,
4223
+ 245,
4224
+ 92,
4225
+ 26,
4226
+ 99,
4227
+ 18,
4228
+ 88,
4229
+ 214,
4230
+ 156,
4231
+ 247,
4232
+ 162,
4233
+ 222,
4234
+ 249,
4235
+ 222,
4236
+ 20,
4237
+ 0,
4238
+ 0,
4239
+ 0,
4240
+ 0,
4241
+ 0,
4242
+ 0,
4243
+ 0,
4244
+ 0,
4245
+ 0,
4246
+ 0,
4247
+ 0,
4248
+ 0,
4249
+ 0,
4250
+ 0,
4251
+ 0,
4252
+ 16
4253
+ ]);
4254
+ /** Whether each key seen lately is a canonical encoding of a point not of small order: a list repeats its publishers. */
4255
+ var keysFit = /* @__PURE__ */ new Map();
4256
+ function fastPathTakes(signature, publicKey) {
4257
+ if (signature.length !== 64 || publicKey.length !== 32) return false;
4258
+ let below = false;
4259
+ for (let i = 31; i >= 0; i--) if (signature[32 + i] !== GROUP_ORDER[i]) {
4260
+ below = signature[32 + i] < GROUP_ORDER[i];
4261
+ break;
4262
+ }
4263
+ if (!below) return false;
4264
+ const id = toBase64Url(publicKey);
4265
+ let fit = keysFit.get(id);
4266
+ if (fit === void 0) {
4267
+ try {
4268
+ fit = !ed25519.Point.fromBytes(publicKey, false).isSmallOrder();
4269
+ } catch {
4270
+ fit = false;
4271
+ }
4272
+ if (keysFit.size >= 256) keysFit.clear();
4273
+ keysFit.set(id, fit);
4274
+ }
4275
+ return fit;
4276
+ }
4200
4277
  /**
4201
4278
  * Ed25519 verification as RFC 8032 writes it (`zip215: false`): canonical encodings of the point and the scalar only,
4202
4279
  * so every parser (this one, a Rust one with `verify_strict`) accepts exactly the same signatures.
4203
4280
  */
4204
4281
  function strictVerify(signature, message, publicKey) {
4282
+ if (fastPath && fastPathTakes(signature, publicKey)) try {
4283
+ if (fastPath(signature, message, publicKey)) return true;
4284
+ } catch {}
4205
4285
  try {
4206
4286
  return ed25519.verify(signature, message, publicKey, { zip215: false });
4207
4287
  } catch {
@@ -4357,9 +4437,9 @@ function verifyAppRevocation(revocation, checked) {
4357
4437
  }
4358
4438
  /**
4359
4439
  * Reads `ghostly-revoke.json`: canonical bytes holding a list of signed revocations. One that does not verify refuses the
4360
- * file, as a store index's `revoked` does.
4440
+ * file, as a store index's `revoked` does. With `checked`, a revocation it holds is not checked again.
4361
4441
  */
4362
- function readAppRevocations(bytes) {
4442
+ function readAppRevocations(bytes, checked) {
4363
4443
  const read = readCanonicalJson(bytes);
4364
4444
  if (!read.ok) return read;
4365
4445
  if (!Array.isArray(read.value) || read.value.length > APP_STATEMENT_LIMITS.revocations) return {
@@ -4369,7 +4449,7 @@ function readAppRevocations(bytes) {
4369
4449
  };
4370
4450
  const revocations = [];
4371
4451
  for (const entry of read.value) {
4372
- const one = readAppRevocation(entry);
4452
+ const one = readAppRevocation(entry, checked);
4373
4453
  if (!one.ok) return one;
4374
4454
  revocations.push(one.revocation);
4375
4455
  }
@@ -6547,16 +6627,18 @@ function compressSdp(sdp) {
6547
6627
  function decompressSdp(compressed) {
6548
6628
  return atob(compressed);
6549
6629
  }
6550
- var RTC_CONFIG = {
6551
- iceServers: [
6552
- { urls: "stun:stun.l.google.com:19302" },
6553
- { urls: "stun:stun1.l.google.com:19302" },
6554
- { urls: "stun:stun2.l.google.com:19302" },
6555
- { urls: "stun:stun3.l.google.com:19302" },
6556
- { urls: "stun:stun4.l.google.com:19302" }
6557
- ],
6558
- iceCandidatePoolSize: 10
6559
- };
6630
+ /**
6631
+ * The apps' STUN servers. No candidate pool: a call's connection is made when the call is placed and its offer follows
6632
+ * at once, so pre-gathered sessions save no time, and each one opens its own sockets, asks every STUN server and takes
6633
+ * its own TURN allocation (a TURN server's per-user quota then refuses the call's own).
6634
+ */
6635
+ var RTC_CONFIG = { iceServers: [
6636
+ { urls: "stun:stun.l.google.com:19302" },
6637
+ { urls: "stun:stun1.l.google.com:19302" },
6638
+ { urls: "stun:stun2.l.google.com:19302" },
6639
+ { urls: "stun:stun3.l.google.com:19302" },
6640
+ { urls: "stun:stun4.l.google.com:19302" }
6641
+ ] };
6560
6642
  /**
6561
6643
  * A call's WebRTC configuration: the apps' STUN servers, then the profile's own (Settings → Network → ICE
6562
6644
  * servers: a TURN relay, typically). A relay is what connects a call when no direct path works: a VPN that takes
@@ -6590,12 +6672,10 @@ function callRtcConfig(extra = [], { relayOnly = false } = {}) {
6590
6672
  }
6591
6673
  /**
6592
6674
  * The WebRTC configuration of a chat's data link or a group's edge, from the profile's settings: its ICE servers,
6593
- * and "Hide my IP from contacts" (`relayOnly`), as a call's (`callRtcConfig`). No candidate pool: an app holds one
6594
- * such connection per chat and per group member, and a call only one.
6675
+ * and "Hide my IP from contacts" (`relayOnly`), as a call's (`callRtcConfig`).
6595
6676
  */
6596
6677
  function contactRtcConfig(settings) {
6597
- const { iceCandidatePoolSize: _pool, ...config } = callRtcConfig(settings.iceServers ?? [], { relayOnly: settings.relayOnly === true });
6598
- return config;
6678
+ return callRtcConfig(settings.iceServers ?? [], { relayOnly: settings.relayOnly === true });
6599
6679
  }
6600
6680
  /** Whether a connection keeps to relays (`iceTransportPolicy: "relay"`): what it sends a contact is then relay candidates only. */
6601
6681
  function keepsToRelays(pc) {
@@ -7498,9 +7578,20 @@ function decodeChunk(data) {
7498
7578
  payload: data.subarray(CHUNK_HEADER_BYTES)
7499
7579
  };
7500
7580
  }
7501
- function wrapDataChannel(dc) {
7581
+ /**
7582
+ * `ended`: its connection was torn down. The channel closes then as if the data channel had said so, and lets go of
7583
+ * the data channel's events: node-datachannel does not always report a channel of a closed connection closed, and its
7584
+ * native handle would hold whatever listens to it (the session, the link) for good.
7585
+ */
7586
+ function wrapDataChannel(dc, ended) {
7502
7587
  dc.binaryType = "arraybuffer";
7503
7588
  dc.bufferedAmountLowThreshold = LIMITS.sendLowWaterMark;
7589
+ const listening = new AbortController();
7590
+ const closed = () => {
7591
+ if (listening.signal.aborted) return;
7592
+ listening.abort();
7593
+ channel.onClose?.();
7594
+ };
7504
7595
  const channel = {
7505
7596
  send(data) {
7506
7597
  if (dc.readyState !== "open") throw new Error("Data link is not open");
@@ -7511,15 +7602,15 @@ function wrapDataChannel(dc) {
7511
7602
  return dc.bufferedAmount;
7512
7603
  },
7513
7604
  drained() {
7514
- if (dc.bufferedAmount <= LIMITS.sendLowWaterMark || dc.readyState !== "open") return Promise.resolve();
7605
+ if (dc.bufferedAmount <= LIMITS.sendLowWaterMark || dc.readyState !== "open" || listening.signal.aborted) return Promise.resolve();
7515
7606
  return new Promise((resolve) => {
7516
7607
  const done = () => {
7517
7608
  dc.removeEventListener("bufferedamountlow", done);
7518
- dc.removeEventListener("close", done);
7609
+ listening.signal.removeEventListener("abort", done);
7519
7610
  resolve();
7520
7611
  };
7521
7612
  dc.addEventListener("bufferedamountlow", done);
7522
- dc.addEventListener("close", done);
7613
+ listening.signal.addEventListener("abort", done);
7523
7614
  });
7524
7615
  },
7525
7616
  close() {
@@ -7529,12 +7620,14 @@ function wrapDataChannel(dc) {
7529
7620
  onMessage: null,
7530
7621
  onClose: null
7531
7622
  };
7623
+ const { signal } = listening;
7532
7624
  dc.addEventListener("message", (event) => {
7533
7625
  const data = event.data;
7534
7626
  if (typeof data === "string") channel.onMessage?.(data);
7535
7627
  else if (data instanceof ArrayBuffer) channel.onMessage?.(new Uint8Array(data));
7536
- });
7537
- dc.addEventListener("close", () => channel.onClose?.());
7628
+ }, { signal });
7629
+ dc.addEventListener("close", closed, { signal });
7630
+ ended?.addEventListener("abort", closed, { signal });
7538
7631
  return channel;
7539
7632
  }
7540
7633
  /**
@@ -9109,6 +9202,8 @@ var DataLink = class {
9109
9202
  options;
9110
9203
  state = "idle";
9111
9204
  pc = null;
9205
+ /** Each connection's listeners, and its data channel's (`wrapDataChannel`), dropped once it is closed. */
9206
+ ends = /* @__PURE__ */ new WeakMap();
9112
9207
  myOfferTs = 0;
9113
9208
  /**
9114
9209
  * An offer or answer of this side's that went without a public candidate came to nothing (both descriptions were
@@ -9380,7 +9475,7 @@ var DataLink = class {
9380
9475
  let stalled = null;
9381
9476
  for (let attempt = 1;; attempt++) {
9382
9477
  const pc = this.createConnection();
9383
- stalled?.close();
9478
+ if (stalled) this.closeConnection(stalled);
9384
9479
  await describe(pc);
9385
9480
  if (this.pc !== pc) return null;
9386
9481
  const gathering = Date.now();
@@ -9415,6 +9510,9 @@ var DataLink = class {
9415
9510
  createConnection() {
9416
9511
  const pc = this.options.createPeerConnection();
9417
9512
  this.pc = pc;
9513
+ const ended = new AbortController();
9514
+ this.ends.set(pc, ended);
9515
+ const { signal } = ended;
9418
9516
  const dc = pc.createDataChannel(DATA_CHANNEL_LABEL, {
9419
9517
  negotiated: true,
9420
9518
  id: 0,
@@ -9430,12 +9528,12 @@ var DataLink = class {
9430
9528
  this.options.setFastPoll(false);
9431
9529
  this.options.publishSignal(null);
9432
9530
  this.options.onDirect?.("open");
9433
- this.options.onOpen(wrapDataChannel(dc));
9531
+ this.options.onOpen(wrapDataChannel(dc, signal));
9434
9532
  tracePair(this.options.myPubKeyZ32, pc);
9435
- });
9533
+ }, { signal });
9436
9534
  dc.addEventListener("close", () => {
9437
9535
  if (this.pc === pc) this.failed(true);
9438
- });
9536
+ }, { signal });
9439
9537
  pc.addEventListener("connectionstatechange", () => {
9440
9538
  if (this.pc !== pc) return;
9441
9539
  if (this.disconnectTimer) {
@@ -9450,7 +9548,7 @@ var DataLink = class {
9450
9548
  if (this.pc === pc) this.failed();
9451
9549
  }, DISCONNECT_GRACE_MS);
9452
9550
  }
9453
- });
9551
+ }, { signal });
9454
9552
  this.startAttemptTimer(pc);
9455
9553
  return pc;
9456
9554
  }
@@ -9483,9 +9581,19 @@ var DataLink = class {
9483
9581
  this.myOfferTs = 0;
9484
9582
  this.remoteSdp = null;
9485
9583
  if (!pc) return false;
9486
- pc.close();
9584
+ this.closeConnection(pc);
9487
9585
  return true;
9488
9586
  }
9587
+ /**
9588
+ * Closes `pc` and drops its listeners and its data channel's. The channel tells it closed (`wrapDataChannel`) a
9589
+ * microtask later, after the link's own `onClose`, as when the data channel said so itself: node-datachannel does not
9590
+ * always report a closed connection's channel closed, and the listeners it kept would hold the link for good.
9591
+ */
9592
+ closeConnection(pc) {
9593
+ pc.close();
9594
+ const ended = this.ends.get(pc);
9595
+ if (ended) queueMicrotask(() => ended.abort());
9596
+ }
9489
9597
  reset() {
9490
9598
  const wasOpen = this.state === "open";
9491
9599
  const hadConnection = this.teardown();
@@ -11323,10 +11431,12 @@ var EXTENSIONS = {
11323
11431
  "audio/aac": "aac",
11324
11432
  "audio/wav": "wav"
11325
11433
  };
11434
+ /** A time no date can hold (past Date's end, NaN) makes a name without one, never "NaN-NaN-NaN". */
11326
11435
  function voiceName(prefix, mime, timestamp) {
11327
- const date = new Date(timestamp);
11436
+ const date = new Date(timestamp), extension = EXTENSIONS[baseMime(mime)] ?? "audio";
11437
+ if (Number.isNaN(date.getTime())) return `${prefix}.${extension}`;
11328
11438
  const pad = (n) => String(n).padStart(2, "0");
11329
- return `${prefix} ${`${date.getFullYear()}-${pad(date.getMonth() + 1)}-${pad(date.getDate())} ${pad(date.getHours())}.${pad(date.getMinutes())}.${pad(date.getSeconds())}`}.${EXTENSIONS[baseMime(mime)] ?? "audio"}`;
11439
+ return `${prefix} ${`${date.getFullYear()}-${pad(date.getMonth() + 1)}-${pad(date.getDate())} ${pad(date.getHours())}.${pad(date.getMinutes())}.${pad(date.getSeconds())}`}.${extension}`;
11330
11440
  }
11331
11441
  /** A name for the file, for whoever saves it or runs a Ghostly that shows it as a file. */
11332
11442
  function voiceFileName(mime, timestamp) {
@@ -13803,7 +13913,7 @@ async function verifyPeerProof(event, c, readStorage) {
13803
13913
  if (sig.length !== 64 || !verify(sig, data, fromZ32(c.externalKey))) throw new Error("Invalid Pubky signature");
13804
13914
  } else if (c.adapter === "keet-import") {
13805
13915
  if (sig.length !== 107 || sig[0] !== 1 || sig[41] !== 0 || sig[42] !== 1) throw new Error("Unsupported Keet attestation");
13806
- const { default: IdentityKey } = await import("./keet-identity-key-1vdp73-d.js").then((m) => /* @__PURE__ */ __toESM(m.default, 1));
13916
+ const { default: IdentityKey } = await import("./keet-identity-key-pEh9Tr2Z.js").then((m) => /* @__PURE__ */ __toESM(m.default, 1));
13807
13917
  if (!IdentityKey.verify(b4a.from(sig), b4a.from(data), { expectedIdentity: b4a.from(unhex(c.externalKey)) })) throw new Error("Invalid Keet attestation");
13808
13918
  } else throw new Error("Unsupported proof adapter");
13809
13919
  }
@@ -17052,6 +17162,12 @@ var AppRanges = class {
17052
17162
  draining = /* @__PURE__ */ new Set();
17053
17163
  asking = /* @__PURE__ */ new Map();
17054
17164
  waiting = /* @__PURE__ */ new Map();
17165
+ /**
17166
+ * The size each serve of the contact said (its last `ar-end`), by app and serve id: an ask past it is cut to it. The
17167
+ * server counts the bytes asked against its 32 MiB a second; an app reading small files with remote.read's 1 MiB
17168
+ * length was refused `busy` from the 33rd read in a second, having moved about 1 MiB (agents#1766).
17169
+ */
17170
+ sizes = /* @__PURE__ */ new Map();
17055
17171
  nextRequest = 0;
17056
17172
  /** The asks taken in the last second (when, how many bytes) and their sum: what `bytesPerSecond` counts. Kept across sessions. */
17057
17173
  taken = [];
@@ -17061,9 +17177,13 @@ var AppRanges = class {
17061
17177
  this.newServeId = newServeId;
17062
17178
  this.now = now;
17063
17179
  }
17064
- /** Lets the contact's `app` read `file` on this session: the serve id to tell it. */
17180
+ /**
17181
+ * Lets the contact's `app` read `file` on this session: the serve id to tell it. A file the app serves already answers
17182
+ * the id it has, so an app that serves again on each play holds one serve per file, not one per call.
17183
+ */
17065
17184
  serve(app, file) {
17066
17185
  if (!isChatAppId(app)) throw new Error("Not a chat app id");
17186
+ for (const [served, serve] of this.serves) if (serve.app === app && serve.file === file) return served;
17067
17187
  let id = this.newServeId();
17068
17188
  while (this.serves.has(id)) id = this.newServeId();
17069
17189
  this.serves.set(id, {
@@ -17097,15 +17217,20 @@ var AppRanges = class {
17097
17217
  return null;
17098
17218
  }
17099
17219
  const at = this.now();
17100
- while (this.taken.length && this.taken[0].at <= at - 1e3) this.takenBytes -= this.taken.shift().bytes;
17220
+ while (this.taken.length && this.taken[0].at <= at - 1e3) {
17221
+ const old = this.taken.shift();
17222
+ old.out = true;
17223
+ this.takenBytes -= old.bytes;
17224
+ }
17101
17225
  if (this.takenBytes + frame.n > APP_RANGE_LIMITS.bytesPerSecond) {
17102
17226
  this.send(appRangeErrorFrame(app, request, "busy"));
17103
17227
  return null;
17104
17228
  }
17105
- this.taken.push({
17229
+ const charge = {
17106
17230
  at,
17107
17231
  bytes: frame.n
17108
- });
17232
+ };
17233
+ this.taken.push(charge);
17109
17234
  this.takenBytes += frame.n;
17110
17235
  const task = {
17111
17236
  app,
@@ -17114,7 +17239,8 @@ var AppRanges = class {
17114
17239
  file: serve.file,
17115
17240
  offset: frame.o,
17116
17241
  length: frame.n,
17117
- live: true
17242
+ live: true,
17243
+ charge
17118
17244
  };
17119
17245
  this.serving.set(slot(app, request), task);
17120
17246
  return task;
@@ -17126,7 +17252,13 @@ var AppRanges = class {
17126
17252
  }
17127
17253
  /** Every byte of `task` was sent: `ar-end` goes with the file's size, unless the task was dropped meanwhile. */
17128
17254
  finish(task, size) {
17129
- if (this.take(task)) this.send(appRangeEndFrame(task.app, task.request, size));
17255
+ if (!this.take(task)) return;
17256
+ const charge = task.charge, sent = Math.max(0, Math.min(task.length, size - task.offset));
17257
+ if (charge && !charge.out && charge.bytes > sent) {
17258
+ this.takenBytes -= charge.bytes - sent;
17259
+ charge.bytes = sent;
17260
+ }
17261
+ this.send(appRangeEndFrame(task.app, task.request, size));
17130
17262
  }
17131
17263
  /** The file under `task` could not be read: `ar-err` goes in place of the rest, unless the task was dropped meanwhile. */
17132
17264
  fail(task, error) {
@@ -17146,6 +17278,8 @@ var AppRanges = class {
17146
17278
  /** Reads `length` bytes at `offset` of what the contact's `app` serves as `serve`: the bytes (fewer at the end) and the file's size. */
17147
17279
  read(app, serve, offset, length) {
17148
17280
  appRangeGetFrame(app, serve, 0, offset, length);
17281
+ const size = this.sizes.get(`${app} ${serve}`);
17282
+ if (size !== void 0 && size > offset) length = Math.min(length, size - offset);
17149
17283
  return new Promise((resolve, reject) => {
17150
17284
  const ask = {
17151
17285
  app,
@@ -17181,10 +17315,12 @@ var AppRanges = class {
17181
17315
  if (frame.t === "ar-err") return this.settle(ask, [
17182
17316
  "not-served",
17183
17317
  "changed",
17184
- "gone"
17318
+ "gone",
17319
+ "busy"
17185
17320
  ].find((code) => code === frame.e) ?? "failed");
17186
17321
  if (ask.got !== Math.max(0, Math.min(ask.length, frame.z - ask.offset))) return this.settle(ask, "failed");
17187
17322
  this.settle(ask);
17323
+ this.sizes.set(`${ask.app} ${ask.serve}`, frame.z);
17188
17324
  ask.resolve({
17189
17325
  bytes: concatBytes(...ask.chunks),
17190
17326
  size: frame.z
@@ -17198,9 +17334,11 @@ var AppRanges = class {
17198
17334
  for (const ask of this.waiting.get(app) ?? []) ask.reject(new Error(error));
17199
17335
  this.waiting.delete(app);
17200
17336
  for (const ask of this.asking.values()) if (ask.app === app) this.settle(ask, error);
17337
+ for (const key of [...this.sizes.keys()]) if (key.startsWith(`${app} `)) this.sizes.delete(key);
17201
17338
  }
17202
17339
  /** The session ended: no serve id lasts into the next, and every request fails with `offline`. */
17203
17340
  reset() {
17341
+ this.sizes.clear();
17204
17342
  const apps = new Set([...this.serves.values()].map((serve) => serve.app).concat([...this.serving.values(), ...this.draining].map((task) => task.app), [...this.waiting.keys()], [...this.asking.values()].map((ask) => ask.app)));
17205
17343
  for (const app of apps) this.closeApp(app, "offline");
17206
17344
  }
@@ -30695,6 +30833,7 @@ var GroupSession = class {
30695
30833
  const previous = this.top;
30696
30834
  const roster = expectedRoster(previous.m, kind, this.myKey, subject);
30697
30835
  if (!roster) throw new Error("This change is not allowed");
30836
+ if ((kind === "add" || kind === "rotate") && this.state.chain.length + 1 + 2 * (roster.length - 1) > 1024) throw new Error("This group has reached its membership history limit. Create a new group.");
30698
30837
  const epoch = previous.e + 1;
30699
30838
  const secret = newEpochSecret();
30700
30839
  const draft = {
@@ -31942,19 +32081,24 @@ var GroupSession = class {
31942
32081
  /**
31943
32082
  * Who made the change a statement brings me: its signer, when they were the admin all along since the statement I
31944
32083
  * held (or, with none, since I got in). A new admin signs again what the last one set (`metaFollowsChain`): to a
31945
- * member that missed that, it is no change of theirs it can tell apart, so nobody is named.
32084
+ * member that missed that, it is no change of theirs it can tell apart, so nobody is named. With none held, theirs is
32085
+ * one dated after the commit that made them the admin: what they sign again keeps its date.
31946
32086
  */
31947
32087
  metaAuthor(before, s) {
31948
32088
  const chain = this.state.chain, from = before ? before.e : chain.findIndex((c) => rosterHas(c.m, this.myKey));
31949
- for (let e = Math.max(0, from); e <= s.e; e++) if (rosterAdmin(chain[e].m) !== s.by) return void 0;
31950
- return s.by;
32089
+ let moved;
32090
+ for (let e = Math.max(0, from); e <= s.e; e++) if (rosterAdmin(chain[e].m) !== s.by) {
32091
+ if (before) return void 0;
32092
+ moved = e + 1;
32093
+ }
32094
+ return moved === void 0 || s.ts > chain[moved].ts ? s.by : void 0;
31951
32095
  }
31952
32096
  /** After the chain or my secrets moved: the waiting statement, and, if I became the admin, the name and picture signed again as mine. */
31953
32097
  async metaFollowsChain() {
31954
32098
  const pending = this.pendingMeta;
31955
32099
  this.pendingMeta = void 0;
31956
32100
  if (pending) await this.receiveMeta(pending.from, pending.frame);
31957
- if (this.isAdmin && this.state.meta && this.state.meta.by !== this.myKey) await this.publishMeta(this.state.meta.body, Date.now());
32101
+ if (this.isAdmin && this.state.meta && this.state.meta.by !== this.myKey) await this.publishMeta(this.state.meta.body, this.state.meta.ts);
31958
32102
  }
31959
32103
  async fork(reason) {
31960
32104
  if (this.state.status !== "active") return;
@@ -34562,25 +34706,33 @@ var CommunitySession = class {
34562
34706
  /**
34563
34707
  * Who made the change a statement brings me (`at`: its commit's place on my main branch): its signer, when they were
34564
34708
  * the admin all along since the statement I held (or, with none, since I got in). A new admin signs again what the
34565
- * last one set (`metaFollowsChain`): to a member that missed that, it is no change of theirs it can tell apart.
34709
+ * last one set (`metaFollowsChain`): to a member that missed that, it is no change of theirs it can tell apart. With
34710
+ * none held, theirs is one dated after the commit that made them the admin: what they sign again keeps its date.
34566
34711
  */
34567
34712
  metaAuthor(before, s, at) {
34568
34713
  const from = before ? this.mainIndex.get(before.h) : void 0;
34569
- let roster = before && from !== void 0 ? this.rosterAt(before.h) ?? null : null, counted = from !== void 0;
34714
+ let roster = before && from !== void 0 ? this.rosterAt(before.h) ?? null : null, counted = from !== void 0, moved;
34570
34715
  for (let i = from ?? 0; i <= at; i++) {
34571
34716
  if (i !== from) roster = communityRoster(roster, this.state.chain[i]);
34572
34717
  if (!roster) return void 0;
34573
34718
  counted ||= rosterHas(roster, this.myKey);
34574
- if (counted && rosterAdmin(roster) !== s.by) return void 0;
34719
+ if (counted && rosterAdmin(roster) !== s.by) {
34720
+ if (before) return void 0;
34721
+ moved = i + 1;
34722
+ }
34575
34723
  }
34576
- return s.by;
34724
+ return moved === void 0 || s.ts > this.state.chain[moved].ts ? s.by : void 0;
34577
34725
  }
34578
- /** After the chain or my secrets moved: the waiting statement, and, if I became the admin, the name and picture signed again as mine. */
34726
+ /**
34727
+ * After the chain or my secrets moved: the waiting statement, and, if I became the admin, or my statement's commit
34728
+ * went with a branch that lost a fork, the name and picture signed again as mine under the main branch.
34729
+ */
34579
34730
  async metaFollowsChain() {
34580
34731
  const pending = this.pendingMeta;
34581
34732
  this.pendingMeta = void 0;
34582
34733
  if (pending && await this.receiveMeta(pending.from, pending.frame)) this.hooks.relay?.(pending.frame);
34583
- if (this.isAdmin && this.state.meta && this.state.meta.by !== this.myKey) await this.publishMeta(this.state.meta.body, this.hooks.clock?.() ?? Date.now());
34734
+ const meta = this.state.meta;
34735
+ if (this.isAdmin && meta && (meta.by !== this.myKey || !this.mainIndex.has(meta.h))) await this.publishMeta(meta.body, meta.ts);
34584
34736
  }
34585
34737
  async fork(reason) {
34586
34738
  if (this.state.status !== "active") return;
@@ -34855,11 +35007,11 @@ function inOneRun(steps) {
34855
35007
  * Checks an index's fields and bounds, and every revocation it carries (one that does not verify refuses the index:
34856
35008
  * the store copied it, so a broken one is the store's fault). The signature and `expires` are `readAppStore`'s. An
34857
35009
  * unknown key of the index, a listing or a removal is ignored unless `strict`; a revocation is its publisher's signed
34858
- * statement and keeps its exact keys.
35010
+ * statement and keeps its exact keys. With `checked`, a revocation it holds is not checked again.
34859
35011
  */
34860
- function checkAppStoreIndex(value, options = {}) {
35012
+ function checkAppStoreIndex(value, options = {}, checked) {
34861
35013
  const fields = inOneRun(checkAppStoreFieldsSteps(value, options));
34862
- return fields.ok ? inOneRun(checkAppStoreRevocationsSteps(value)) : fields;
35014
+ return fields.ok ? inOneRun(checkAppStoreRevocationsSteps(value, checked)) : fields;
34863
35015
  }
34864
35016
  /**
34865
35017
  * The first half of `checkAppStoreIndex`: the fields and bounds, and the shape of every revocation, with no signature
@@ -34941,10 +35093,10 @@ function* checkAppStoreRevocationsSteps(index, checked) {
34941
35093
  * signature, the signature of each revocation, then `expires` against `now` (seconds): more than 90 days ahead is
34942
35094
  * refused, past is `expired`. The index's own signature comes before its revocations': an index nobody signed costs
34943
35095
  * its reader one signature check, whatever it carries. A key it does not know is ignored (a later store's optional
34944
- * field) and stays in the bytes the signature covers.
35096
+ * field) and stays in the bytes the signature covers. With `checked`, a revocation it holds is not checked again.
34945
35097
  */
34946
- function readAppStore(indexBytes, sigBytes, now, heldKey) {
34947
- return inOneRun(readAppStoreSteps(indexBytes, sigBytes, now, heldKey));
35098
+ function readAppStore(indexBytes, sigBytes, now, heldKey, checked) {
35099
+ return inOneRun(readAppStoreSteps(indexBytes, sigBytes, now, heldKey, checked));
34948
35100
  }
34949
35101
  /**
34950
35102
  * `readAppStore` in steps, for a reader that shares its thread (a page): it stops after each listing, removal and
@@ -34989,11 +35141,12 @@ function* readAppStoreSteps(indexBytes, sigBytes, now, heldKey, checked) {
34989
35141
  }
34990
35142
  /**
34991
35143
  * Signs an index with the store key: its canonical bytes and the `ghostly-store.sig` bytes. Throws on a bad index, and
34992
- * on a key this format does not define: a writer is strict, so a misspelt key is never signed.
35144
+ * on a key this format does not define: a writer is strict, so a misspelt key is never signed. With `revocations`, a
35145
+ * revocation it holds is not checked again.
34993
35146
  */
34994
- async function signAppStore(index, signer) {
35147
+ async function signAppStore(index, signer, revocations) {
34995
35148
  if (index.key !== toZ32(signer.publicKey)) throw new Error("A store index is signed by its own key");
34996
- const checked = checkAppStoreIndex(JSON.parse(JSON.stringify(index)), { strict: true });
35149
+ const checked = checkAppStoreIndex(JSON.parse(JSON.stringify(index)), { strict: true }, revocations);
34997
35150
  if (!checked.ok) throw new Error(`Not a valid store index (${checked.reason}${checked.detail ? `: ${checked.detail}` : ""})`);
34998
35151
  const { bytes, signature } = await signAppObject(APP_PREFIXES.store, index, signer);
34999
35152
  return {
@@ -35838,6 +35991,6 @@ function x401ApprovalDigest(subject) {
35838
35991
  return toBase64Url(sha256(utf8Encode(canonical)));
35839
35992
  }
35840
35993
  //#endregion
35841
- export { COMMUNITY_LIMITS as $, fromZ32 as $C, setLinkTraceSink as $S, readHandoffBusy as $_, LIVENESS_PING_MS as $a, createChatInvite as $b, isServeId as $c, emptyDhtDeliveryState as $d, LINK_PREVIEW_LIMITS as $f, HANDOFF_CANCEL as $g, encodeControl as $h, sparkAddressKind as $i, DOMAIN_FILE_MAX_BYTES as $l, DATA_SETTLE_MS as $m, bip322MessageHash as $n, meshHubs as $o, cardLinkHost as $p, checkDidJws as $r, GROUP_PIN_FRAME as $s, carryMentions as $t, identityRevocationValue as $u, settleRequest as $v, TURN_VERSION as $x, readAppBundle as $y, readX401ProofResponseHeader as A, publicKeyFromZ32 as AC, GROUP_BURST_MS as AS, handoffContextProof as A_, ENDPOINT as Aa, readImageMeta as Ab, wakeRequest as Ac, ringAuthorization as Ad, isPlayableVideoType as Af, LABEL$1 as Ag, WATCH_PEER_MS as Ah, openDidDhtPayload as Ai, SERVICES_CAPABILITY as Al, rememberAlone as Am, parseGroupMetaFrame as An, fetchesByItself as Ao, REPLY_ID as Ap, shortAtprotoDid as Ar, FileUplink as As, mergeKnocks as At, dialDescriptors as Au, enrollCancelFrame as Av, verifyDeviceTransports as Ax, requestPlaintextBytes as Ay, APP_STORE_KINDS as B, jpegSize$1 as BC, RelayTransport as BS, handoffOfferFrame as B_, CROSSED_FRESH_MS as Ba, DEVICE_INVITE_LIFETIME_S as Bb, APP_RANGE_DATA_KIND as Bc, irohDescriptor as Bd, MAX_EDITS_PER_MESSAGE as Bf, SERVICES_VERSION as Bg, resolveTargetUrl as Bh, USDT_PUBLIC_RPC as Bi, PairedSession as Bl, confirmationTag as Bm, SshSigError as Bn, GROUP_VERSION_SIGNALS as Bo, CRON_LINE as Bp, parseAtprotoVerificationKey as Br, TYPING_REFRESH_MS as Bs, mentionedMembers as Bt, IDENTITY_MAX_FRAME as Bu, readEnrollHello as Bv, TOMBSTONE_SEQUENCE as Bx, APP_PERMISSIONS as By, buildX401TokenObject as C, decodeTxtPacket as CC, CHAT_RESERVE as CS, handoffAckFrame as C_, parseLightningDestination as Ca, verifyAppSignature as Cb, newWakeToken as Cc, storageProof as Cd, voiceFileName as Cf, isGlobalIpv4Host as Cg, PRESENCE_HEARTBEAT as Ch, didDhtDocument as Ci, CALLS_CAPABILITY as Cl, MEMBER_KEY as Cm, groupMetaTag as Cn, parseEngineError as Co, reactionFrame as Cp, atprotoDidMethod as Cr, PAIRED_CALL_FRAME as Cs, MAX_KNOCKS as Ct, CAPS_PUBLISH_SPACING_MS as Cu, DEVICE_KINDS as Cv, deviceLinkRendezvousSeed as Cx, linkRecords as Cy, readX401ProofRequest as D, createIdentity as DC, DEFAULT_RELAYS as DS, handoffBusyFrame as D_, BOLT11_PATTERN as Da, isImageMime as Db, relayRequest as Dc, verifyNostrProof as Dd, PLAYABLE_VIDEO as Df, sdpHasCandidates as Dg, TRANSPORTS_GONE_MS as Dh, encodeDidDhtDeactivated as Di, KNOWN_SESSION_CAPABILITIES as Dl, commitUntaggedHash as Dm, nextGroupMetaRevision as Dn, GROUP_VERSION_FILES as Do, validReactionNumber as Dp, isAtprotoDid as Dr, FILE_DATA_KIND as Ds, groupEntryUrl as Dt, CapsRefusedError as Du, ENROLL_GRANT as Dv, newDeviceSetSecret as Dx, openRequest as Dy, isX401Protocol as E, IDENTITY_MEMO_SIZE as EC, CHAT_WATCH_SHARE as ES, handoffAttemptSucceeded as E_, resolveLightningDestination as Ea, imageSize as Eb, readWakePayload as Ec, validExternalKey as Ed, voicePeaksOf as Ef, pickCallCandidates as Eg, STALLED_LOOK_MS as Eh, didDhtRecords as Ei, FILES_CAPABILITY as El, commitHash as Em, keepPastGroupMeta as En, GROUP_HAVE_FRAME as Eo, readReaction as Ep, checkAtprotoProofRecord as Er, ChatFiles as Es, entryParams as Et, CapsKeys as Eu, ENROLL_DONE as Ev, devicePingFrame as Ex, mergeContactKnocks as Ey, appRevocationFor as F, generateEncryptionKey as FC, HEDGE_MISSING_MS as FS, handoffFileMissingFrame as F_, parseCashuRequestPayload as Fa, CONTACT_LINK_VERSION as Fb, encryptPushPayload as Fc, verifyRingEvidence as Fd, EDIT_BUFFER_MS as Ff, isEmptyLinkPacket as Fg, HttpClient as Fh, ONCHAIN_PROVIDER as Fi, UPGRADE_CAPABILITY as Fl, verifyChain as Fm, wrapGroupMeta as Fn, readGroupWant as Fo, replySnippet as Fp, decodeDagCbor as Fr, transferStalled as Fs, GROUP_WAKE_MEMBER_INTERVAL_MS as Ft, IDENTITY_CHECK_UNAVAILABLE as Fu, enrollHelloFrame as Fv, TURN_SETTLE_MS as Fx, APP_BUNDLE_MAGIC as Fy, readAppStore as G, sanitizeNick as GC, SLOW_MS as GS, handoffStreamKey as G_, DHT_PIN_GRACE_MS as Ga, encodeDeviceInvite as Gb, appRangeCancelFrame as Gc, ACTIVE_DHT_POLL_MS as Gd, editFrame as Gf, serviceIdFromName as Gg, CHUNK_FLAG_END as Gh, formatPaymentAmount as Gi, HOLD_LIMITS as Gl, newEpochSecret as Gm, sshKeyDigestHex as Gn, SIGNAL_PROVEN_MS as Go, ROUTINE_STATES as Gp, DID_DOCUMENT_MAX_BYTES as Gr, TypingSender as Gs, GroupSession as Gt, IDENTITY_REVOCATION_LABEL as Gu, MAX_WAITING as Gv, TURN_MAX as Gx, assembleAppBundle as Gy, checkAppListing as H, MAX_NICK_LENGTH as HC, SIGNALING_ALLOWANCE_SHARE as HS, handoffReleaseFrame as H_, CROSSED_WAIT_MS as Ha, createDeviceInvite as Hb, APP_RANGE_FRAMES as Hc, rankTransports as Hd, REMOVED_TEXT as Hf, encodeServices as Hg, sanitizeResponseHeaders as Hh, arkAddressPrefix as Hi, SESSION_RECEIVE_PENDING as Hl, edgeParams as Hm, parseSshSignature as Hn, SIGNAL_CARRIERS as Ho, PR_CHECKS as Hp, unsignedCommitBytes as Hr, TYPING_STATUS_MAX as Hs, GROUP_LIMITS as Ht, IDENTITY_MAX_VALIDITY as Hu, FLOOD_PER_DAY as Hv, TURN_BODY_BYTES as Hx, APP_VIEWS as Hy, appStoreDecision as I, sealedLength as IC, HEDGE_MS as IS, handoffFileRequestFrame as I_, parseFedimintRequestPayload as Ia, createContactLink as Ib, generateVapidKeys as Ic, RELAY_URL as Id, EDIT_FRAME as If, parseLinkRecords as Ig, HttpHost as Ih, PaymentPreflightError as Ii, WAKE_SESSION_CAPABILITY as Il, verifyCommit as Im, SSHSIG_MAX_ARMOR as In, readGroupWantNo as Io, wireReply as Ip, encodeDagCbor as Ir, TYPING_FRAME as Is, GROUP_WAKE_RECEIVE_LIMIT as It, IDENTITY_CLOCK_SKEW as Iu, enrollMessage as Iv, TURN_VISIBLE_MS as Ix, APP_CLIENTS as Iy, GROUP_TYPING_FRAME as J, unwrapPasted as JC, WAY_BACK_SHARE as JS, handoffVersions as J_, GhostLink as Ja, INVITE_HRP as Jb, appRangeEndFrame as Jc, DHT_MESSAGE_TTL as Jd, parseEditedFrame as Jf, viewerTag as Jg, MAX_CHUNK_PAYLOAD_BYTES as Jh, validatePaymentTarget as Ji, isHoldUrl as Jl, sealPair as Jm, isLegacySignature as Jn, readGroupSignal as Jo, TASK_STATUSES as Jp, DID_JWS_ALGS as Jr, sanitizeTypingStatus as Js, frameBytes as Jt, IdentityCheckUnavailable as Ju, clearMissed as Jv, TURN_REV_LIMIT as Jx, findAppForbiddenKey as Jy, readAppStoreSteps as K, stripHidden as KC, TURN_SOURCE_TIMEOUT_MS as KS, handoffVerifiedFrame as K_, EARLY_DIAL_JOIN_MS as Ka, readDeviceInvite as Kb, appRangeChunk as Kc, DHT_FILE_REFUSED as Kd, editedFrame as Kf, servicesFromWire as Kg, CHUNK_KIND as Kh, isWalletNetwork as Ki, HoldKeys as Kl, openPair as Km, sshSignCommand as Kn, SIGNAL_REPLY_MS as Ko, RUN_RESULTS as Kp, DID_FILE_MAX_BYTES as Kr, parseTypingActivity as Ks, asWritten as Kt, IDENTITY_STATEMENT_PREFIX as Ku, NEW_PER_HOUR as Kv, TURN_NAME_BYTES as Kx, buildAppBundle as Ky, appUpdateDecision as L, tryDecrypt as LC, PREVIOUS_DEFAULT_RELAYS as LS, handoffHaveFrames as L_, ANSWERS_REFUSED_PAUSES as La, encodeContactLink as Lb, pushRequest as Lc, TRANSPORTS as Ld, EDIT_RATE_WINDOW_MS as Lf, HTTP_SERVICE_PROTO as Lg, formatLocalTarget as Lh, SEPOLIA_TEST_USDT as Li, parseSessionCapabilities as Ll, verifyCommitSignature as Lm, SSHSIG_NAMESPACE as Ln, CARRIED_DEFER_MS as Lo, ACTIVE_TASK_STATUSES as Lp, findInMst as Lr, TYPING_KINDS as Ls, GroupWakeLimiter as Lt, IDENTITY_FRAME_LIMIT as Lu, enrollProofFrame as Lv, classifyTurnRead as Lx, APP_CLIENT_NAME as Ly, readX401ProofResultHeader as M, verify as MC, GROUP_OVER_PACE_MS as MS, handoffDigest as M_, fedimintRequestPayload as Ma, canonicalJsonBytes as Mb, WebPushError as Mc, ringEvidence as Md, parseVideoMeta as Mf, RECORD_TTL as Mg, presenceSeenAt as Mh, signDidDhtPacket as Mi, STATUS_CARD_CAPABILITY as Ml, rosterHas as Mm, parseGroupMetaTag as Mn, isGroupMessageId as Mo, groupReplyAuthor as Mp, AtprotoProofError as Mr, encodeFileData as Ms, GROUP_WAKE_FRAME as Mt, encodePacketTransports as Mu, enrollDigits as Mv, webCryptoSigner as Mx, seenEntry as My, x401AnswerableRequests as N, decrypt as NC, GROUP_RATION_WINDOW_MS as NS, handoffDoneFrame as N_, findEndpoint as Na, readCanonicalJson as Nb, checkPushEndpoint as Nc, validRingKey as Nd, EDITED_FRAME as Nf, buildLinkRecords as Ng, unusedInviteWait as Nh, ETHEREUM_USDT as Ni, SessionCapabilities as Nl, signCommit as Nm, signGroupMeta as Nn, readGroupFileMeta as No, pairedReplyAuthor as Np, atprotoCidFor as Nr, refusalText as Ns, GROUP_WAKE_GROUP_LIMIT as Nt, parsePacketTransports as Nu, enrollDoneFrame as Nv, TURN_PUT_WINDOW_MS as Nx, stampHolds as Ny, readX401ProofRequestHeader as O, identityFromSeed as OC, DEPARTED_READS as OS, handoffCancelFrame as O_, decodeBolt11 as Oa, parseImageMeta as Ob, wakeFrame as Oc, verifyPeerProof as Od, VIDEO_LIMITS as Of, signalHasVideo as Og, UNUSED_INVITE_READS_PER_MINUTE as Oh, encodeDidDhtPacket as Oi, PIN_CAPABILITY as Ol, expectedRoster as Om, openGroupMeta as On, GROUP_WANT_FRAME as Oo, wireReaction as Op, normalizeAtprotoHandle as Or, FILE_FRAMES as Os, knockIdentity as Ot, DHT_TEXT_CAPABILITY as Ou, ENROLL_HELLO as Ov, signDeviceTransports as Ox, readKnockSlot as Oy, addedAppPermissions as P, encrypt as PC, GROUP_SIGNALING_ALLOWANCE_SHARE as PS, handoffEphemeral as P_, isFederationId as Pa, CONTACT_LINK_BYTES as Pb, decryptPushPayload as Pc, verifyRingAuthorization as Pd, EDIT_BUFFER_MAX as Pf, emptyLinkRecords as Pg, GhostlyHttpError as Ph, EVM_TEST_CHAINS as Pi, TYPING_CAPABILITY as Pl, sortRoster as Pm, verifyGroupMetaSignature as Pn, readGroupHave as Po, readReply as Pp, decodeAtprotoCommit as Pr, transferEnded as Ps, GROUP_WAKE_GROUP_WINDOW_MS as Pt, IDENTITY_CHALLENGE_WINDOW as Pu, enrollGrantFrame as Pv, TURN_RAISE_READ_TIMEOUT_MS as Px, APP_BUNDLE_LIMITS as Py, sealGroupTyping as Q, fromBase64Url as QC, readRelayBody as QS, readHandoffAck as Q_, LIVENESS_MISSED_PINGS as Qa, OwnInviteError as Qb, encodeAppRangeData as Qc, LIVE_POLL_MS as Qd, LINK_MAX_CHARS as Qf, HANDOFF_BUSY_REASONS as Qg, encodeChunk as Qh, isSparkAddress as Qi, DNS_TYPE as Ql, CONNECT_TIMEOUT_MS as Qm, MessageRefusal as Qn, mayBeHub as Qo, cardLine as Qp, DidError as Qr, COMMUNITY_PIN_FRAME as Qs, GROUP_EDIT_TEXT_BYTES as Qt, identityPresentationBytes as Qu, planKnocks as Qv, TURN_TTL as Qx, pacer as Qy, checkAppBeforeRun as R, MAX_AVATAR_LENGTH as RC, RELAY_REQUESTS_PER_MINUTE as RS, handoffHelloFrame as R_, ANSWERS_REFUSED_PAUSE_MS as Ra, readContactLink as Rb, vapidAuthorization as Rc, automaticTransport as Rd, EDIT_RECEIVE_LIMIT as Rf, LEGACY_SERVICES as Rg, parseLocalTarget as Rh, SEPOLIA_TEST_USDT_FAUCET as Ri, sessionCapabilitiesFrame as Rl, GROUP_PROFILE as Rm, SSH_KEY_TYPES as Rn, CarriedTransport as Ro, BUTTON_ID as Rp, parseAtprotoCar as Rr, TYPING_RATE_LIMIT as Rs, groupWakeFrame as Rt, IDENTITY_FRAME_WINDOW_MS as Ru, formatEnrollDigits as Rv, keptAtEqualSequence as Rx, APP_FORBIDDEN_KEYS as Ry, buildX401ResultArtifact as S, decodeDnsAnswers as SC, BACKGROUND_WHILE_SIGNALING as SS, filePartName as S_, parseInvoiceCallback as Sa, verifyAppRevocation as Sb, deviceWakeRequest as Sc, proofStatement as Sd, voiceDownloadName as Sf, heardCallSignal as Sg, OFFER_STEP_MAX as Sh, decodeDidDhtPacket as Si, BUTTONS_CAPABILITY as Sl, MAX_GROUP_MEMBERS as Sm, groupMetaPicture as Sn, engineText as So, reactionEmoji as Sp, ATPROTO_PROOF_SCOPE as Sr, MAX_PAIRED_CALL_SIGNAL as Ss, KNOCK_TTL_MS as St, CAPS_LIMITS as Su, verifySetUpdate as Sv, deviceLinkParams as Sx, knockSlotRecords as Sy, encodeX401Header as T, readDnsName as TC, CHAT_RESERVE_PER_CHAT as TS, handoffAttemptFailed as T_, requestLnurlInvoice as Ta, IMAGE_LIMITS as Tb, readWake as Tc, storageProofPath as Td, voiceLevelsOf as Tf, parseCallSignal as Tg, RELAY_POLL_INTERVALS as Th, didDhtKey as Ti, FILES_BINARY_CAPABILITY as Tl, SAID_AGAIN as Tm, groupName as Tn, GROUP_FILE_LIMITS as To, readDhtReactions as Tp, atprotoProofRkey as Tr, parsePairedCallFrame as Ts, encodeGroupEntryLink as Tt, CapsExchange as Tu, ENROLL_CANCEL_REASONS as Tv, deviceLinkSecret as Tx, makeStampPaced as Ty, checkAppStoreIndex as U, hasVisible as UC, SIGNALING_WINDOW_MS as US, handoffRequestFrame as U_, DEMOTE_AFTER_FAILURES as Ua, deviceInviteJoinerKeyZ32 as Ub, APP_RANGE_LIMITS as Uc, relayedTransports as Ud, RateWindow as Uf, isValidServiceId as Ug, viewerResponseHeaders as Uh, assertTokenUnits as Ui, HOLD_CAPABILITY as Ul, encryptText as Um, sameSshKey as Un, SIGNAL_FRESH_MS as Uo, PR_STATES as Up, verifyAtprotoRecordProof as Ur, TYPING_TIMEOUT_MS as Us, GROUP_REACTED_FRAME as Ut, IDENTITY_PROOF_CAPABILITY as Uu, MAX_DONE as Uv, TURN_LABEL as Ux, appDigest as Uy, APP_STORE_LIMITS as V, sanitizeAvatar as VC, RelaysFailedError as VS, handoffPakeFrame as V_, CROSSED_PROBE_MS as Va, DEVICE_INVITE_OWN_DEVICE as Vb, APP_RANGE_ERRORS as Vc, irohRelayUrl as Vd, MAX_REMOVAL_NUMBER as Vf, decodeServices as Vg, sanitizeRequestHeaders as Vh, WALLET_NETWORKS as Vi, SESSION_FRAME_MAX as Vl, decryptText as Vm, parseSshPublicKey as Vn, SIGNALS_PER_MINUTE as Vo, ITEM_STATES as Vp, readAtprotoCid as Vr, TYPING_SEND_LIMIT as Vs, parseGroupWakeFrame as Vt, IDENTITY_MAX_RECEIVED as Vu, verifyEnrollProof as Vv, TOMBSTONE_TURN as Vx, APP_SCREENSHOTS_DIR as Vy, readAppListing as W, sanitizeDisplayText as WC, SLOW_DEMOTE_MS as WS, handoffRetryAfter as W_, DEMOTE_MS as Wa, deviceInviteJoinerParams as Wb, AppRanges as Wc, transportOrder as Wd, dhtEditId as Wf, isViewerTag as Wg, webLocalFetch as Wh, assertWholeSats as Wi, HOLD_DATED_BACK_MS as Wl, epochKeys as Wm, sshFingerprint as Wn, SIGNAL_HOLD_MS as Wo, REMOVABLE_KINDS as Wp, verifyAtprotoSignature as Wr, TypingReceiver as Ws, GROUP_READ_NOTE as Wt, IDENTITY_PROVIDER_ID as Wu, MAX_MISSED as Wv, TURN_LAST_SEQUENCE as Wx, appViewOf as Wy, groupTypingEpoch as X, concatBytes as XC, currentRelays as XS, newHandoffId as X_, INVITER_DIAL_GRACE_MS as Xa, INVITE_MAX_LENGTH as Xb, appRangeGetFrame as Xc, DHT_TEXT_REFUSED as Xd, validEditNumber as Xf, HANDOFF_ATTEMPTS as Xg, decodeChunk as Xh, SPARK_NETWORKS as Xi, readManifest as Xl, sha256Hex as Xm, verifyBitcoinMessage as Xn, MESH_HUBS as Xo, buttonLabelClash as Xp, DID_MAX_LENGTH as Xr, typingFrame as Xs, COMMUNITY_EDIT_FRAME as Xt, boundVerifiedIdentity as Xu, inboxRecord as Xv, TURN_SIGNED_BYTES as Xx, isAppPath as Xy, GroupTypingBoard as Y, bytesEqual as YC, WRITE_FIRST_MS as YS, isHandoffPartName as Y_, HANDLED_WAIT_MS as Ya, INVITE_LINK_ORIGIN as Yb, appRangeErrorFrame as Yc, DHT_TEXT_BYTES as Yd, validEditMessage as Yf, HANDOFF_ACK as Yg, PROTOCOL_VERSION as Yh, walletNetworkOf as Yi, newMailbox as Yl, sealSecret as Ym, legacyMessageHash as Yn, GROUP_VERSION_HUBS as Yo, appCardId as Yp, DID_JWS_MAX_LENGTH as Yr, typingActivity as Ys, groupMessageId as Yt, IdentityExchange as Yu, endedRequests as Yv, TURN_SEALED_BYTES as Yx, isAppLicense as Yy, openGroupTyping as Z, fromBase64 as ZC, normalizeRelayUrl as ZS, openHandoffPiece as Z_, INVITE_TAKEN as Za, INVITE_VERSION as Zb, decodeAppRangeData as Zc, DhtDelivery as Zd, validRemovalNumber as Zf, HANDOFF_BUSY as Zg, decodeControl as Zh, SPARK_PROVIDER as Zi, DNS_LABEL as Zl, ANSWER_REFUSED_REDIALS as Zm, BIP322_REVISION as Zn, NO_HUB_POLICY as Zo, cardEditNumber as Zp, DID_METHODS as Zr, typingKindOf as Zs, GROUP_EDIT_FRAME as Zt, emptyIdentityLedger as Zu, newInbox as Zv, TURN_SLOTS as Zx, isAppUrl as Zy, X401_PROTOCOLS as _, newerPacket as _C, turnSequence as _S, HANDOFF_VERIFIED as __, LIGHTNING_DESTINATION_PATTERN as _a, readAppRevocationShape as _b, WAKE_FRAME as _c, importedProof as _d, fileMessageText as _f, callSignalHeardAt as _g, IDLE_THRESHOLD as _h, DID_DHT_MAX_PAYLOAD as _i, isChatAppId as _l, GROUP_ID as _m, encodeGroupMetaBody as _n, parsePaymentNetworks as _o, nextReactionNumber as _p, u64 as _r, readBeacon as _s, shortHash as _t, txtValue as _u, readSetUpdate as _v, deviceEchoFrame as _x, STAMP_BITS_MIN as _y, X401_DCQL_LIMITS as a, RelayBreaker as aC, readTurnBody as aS, HANDOFF_HAVE as a_, PUBKY_PROOF_ROOT as aa, APP_STATEMENT_LIMITS as ab, nextPinNumber as ac, revokesIdentity as ad, FileTransfers as af, RTC_SIGNAL_MAX_AGE_MS as ag, STALLED_EVIDENCE_MS as ah, didWebFile as ai, APP_RATE_LIMIT as al, sameButtonText as am, MENTION_EVERYONE as an, RACE_ANSWERED_MS as ao, sanitizePreviewImage as ap, ByteReader as ar, beaconKeys as as, communityHasFrame as at, decodeDnsResponse as au, readHandoffHello as av, utf8Decode as aw, inviteOwnership as ax, KNOCK_SLOT_LABEL as ay, buildX401ProofRequest as b, readOwnRelayPayload as bC, turnVerifierMark as bS, NO_ATTEMPTS as b_, findLightningDestination as ba, signAppObject as bb, WAKE_TTL_SECONDS as bc, proofCapability as bd, parseVoiceMeta as bf, decompressSdp as bg, OFFER_FAST_MS as bh, DID_DHT_VERSION as bi, APPS_CAPABILITY as bl, LEGACY_GROUP_MEMBERS as bm, groupMetaChange as bn, EngineError as bo, queueReaction as bp, ATPROTO_FULL_SCOPE as br, shouldBeHub as bs, verifyCommunityCommit as bt, CAPS_ISSUED_BACK_MS as bu, setUpdateMessage as bv, deviceKeyZ32 as bx, knockSlotIdentity as by, readX401DcqlQuery as c, heldBackError as cC, signTurnBody as cS, HANDOFF_LIST_PER_FRAME as c_, newPubkyProofFolder as ca, appRefPublisher as cb, pinFrame as cc, IDENTITY_TIMELINE_MAX as cd, safeBlobType as cf, offerIsFresh as cg, DIRECT_PEERS as ch, didWebHost as ci, APP_SEND_LIMIT as cl, taskProgress as cm, mentionsMember as cn, REDESCRIBED_GRACE_MS as co, forwardedMany as cp, decodeBitcoinAddress as cr, freshHubs as cs, communityUntaggedHash as ct, domainWellKnownFile as cu, readHandoffRelease as cv, __esmMin as cw, ownInviteRefusal as cx, MAX_SLOT_KNOCKS as cy, newX401HolderKey as d, MAX_DNS_PACKET_BYTES as dC, turnInstance as dS, HANDOFF_PAKE as d_, pubkyProofFile as da, checkAppRevokeStatement as db, pinnedFrame as dc, PROOF_ADAPTERS as dd, PLAYABLE_AUDIO as df, CALL_SIGNAL_MAX_AGE_MS as dg, symmetricNat as dh, parseDidDocument as di, appCloseFrame as dl, arrivalKey as dm, GROUP_META_PAST as dn, SWITCH_RETIRE_MS as do, GROUP_REACTION_FRAME as dp, encodeTx as dr, lobbyRecords as ds, encodeCommunityLink as dt, nip05RootKey as du, sameDigest as dv, __toCommonJS as dw, DEVICES_CAPABILITY as dx, REQUEST_LIFETIME_MS as dy, traceLink as eC, TurnRecordError as eS, HANDOFF_CANCEL_REASONS as e_, sparkInvoiceDetails as ea, readAppBundleAsync as eb, PINNED_FRAME as ec, identityStatement as ed, peekDhtMailbox as ef, sendBody as eg, DataLink as eh, checkDidSignature as ei, parseAppRangeFrame as el, cardTimeUtc as em, communityEditFrame as en, MAX_PAIRED_MESSAGE_FRAME as eo, canonicalUrl as ep, bip322ToSign as er, meshRendezvous as es, COMMUNITY_PROFILE as et, DOMAIN_MAX_RECORDS as eu, readHandoffCancel as ev, isZ32Key as ew, createLink as ex, takeRequest as ey, readX401SdJwtVc as f, PKARR_FUTURE_SKEW_MS as fC, turnKeys as fS, HANDOFF_PIECE_BYTES as f_, pubkyProofPath as fa, isAppHash as fb, readPin as fc, PROOF_CAPABILITY as fd, RECORDING_TYPES as ff, PAIRED_CALL_CANDIDATES as fg, AWAITING_PEER_MS as fh, parseDidJws as fi, appDataBytes as fl, claimedTime as fm, GROUP_META_PAST_CHARS as fn, UNPROVEN_AUTH_MS as fo, QUICK_REACTIONS as fp, encodeWitness as fr, mergeBeacon as fs, leaveStands as ft, normalizeDomain as fu, sealHandoffPiece as fv, DEVICE_CAPABILITIES as fx, REQUEST_NAME_UNITS as fy, X401_LIMITS as g, measureRecords as gC, turnReleaseMessage as gS, HANDOFF_TIMINGS as g_, pubkyHomeserverOf as ga, readAppRevocation as gb, WAKE_CALL_WAIT_MS as gc, emptyProofLedger as gd, downsamplePeaks as gf, callRtcConfig as gg, FIRST_PUBLISH_MAX_MS as gh, strictBase64Url as gi, isAppVersion as gl, GROUP_ADMIN_OFF_ERROR as gm, MAX_GROUP_PICTURE_LENGTH as gn, pairedMessageFrame as go, ReactionWindow as gp, u32$1 as gr, rankHubs as gs, rosterHash as gt, recordsName as gu, encodeSetSlots as gv, HANDOFF_CAPABILITY as gx, STAMP_BITS_MAX as gy, X401_HEADERS as h, createRelayPayload as hC, turnPayloadSequence as hS, HANDOFF_REQUEST as h_, homeserverWebEndpoint as ha, isAppSignature as hb, WAKE_CALL_TTL_SECONDS as hc, STORAGE_ROOT as hd, baseMime as hf, buildSdpFromSignal as hg, EXPECT_PEER_MS as hh, staticDidDocument as hi, chatAppId as hl, shownTime as hm, MAX_GROUP_NAME_LENGTH as hn, pairedMessageFits as ho, REACTION_LIMITS as hp, txHash as hr, pickHubs as hs, leftStatement as ht, recordsFromWellKnown as hu, SET_UPDATE as hv, ENROLL_CAPABILITY as hx, STAMP_BITS_DEFAULT as hy, x401ApprovalDigest as i, BREAKER_THRESHOLD as iC, openTurnValue as iS, HANDOFF_FILE_REQUEST as i_, PUBKY_PROOF_MAX_BYTES as ia, APP_PREFIXES as ib, mayPin as ic, receivedIdentityStatus as id, readDhtFile as if, RTC_SIGNAL_FUTURE_MS as ig, REANSWERS as ih, didWebDocumentUrl as ii, APP_PEER_OPEN_MAX as il, removedCardText as im, validEditText as in, PONG_WAIT_MS as io, previewImageSize as ip, BitcoinAddressError as ir, COMMUNITY_TOPOLOGY as is, communityGroupId as it, WELL_KNOWN_PATH as iu, readHandoffHave as iv, toZ32 as iw, inviteLink as ix, KNOCK_SLOTS as iy, readX401ProofResult as j, sign as jC, GROUP_BURST_ONE_LINK as jS, handoffDataFrame as j_, cashuRequestPayload as ja, canonicalJson as jb, PUSH_SERVICE_HOSTS as jc, ringClaims as jd, isVideoMime as jf, MAX_MSGS_PAYLOAD_B64 as jg, countUnusedInvite as jh, resolveDidDht as ji, SESSION_CAPABILITIES_FRAME as jl, rosterAdmin as jm, parseGroupMetaStatement as jn, groupFileFallback as jo, REPLY_LIMITS as jp, AtprotoCid as jr, decodeFileData as js, readKnocks as jt, emptyCapsState as ju, enrollCancelReason as jv, seedSigner as jx, requestRecords as jy, readX401ProofResponse as k, identityFromSeedB64 as kC, FRESH_READ_MS as kS, handoffContext as k_, findBolt11 as ka, previewable as kb, wakePayload as kc, RING_LIFETIME as kd, formatVideoDuration as kf, waitForIceGathering as kg, UNUSED_INVITE_WAIT_MAX_MS as kh, jwkThumbprint as ki, REACTIONS_CAPABILITY as kl, parseGroupCommit as km, parseGroupMetaBody as kn, GROUP_WANT_NO_FRAME as ko, PAIRED_REPLY_AUTHORS as kp, parseAtprotoDidDocument as kr, FILE_LIMITS as ks, knockRecords as kt, capsDescriptors as ku, ENROLL_PROOF as kv, unsignedDeviceTransports as kx, readLinkRecord as ky, x401VpToken as l, isDiscoveryBudgetError as lC, signTurnPacket as lS, HANDOFF_MANIFEST as l_, normalizePubkyKey as la, appRevocationId as lb, pinIsNewer as lc, applyIdentityEvent as ld, sanitizeFileName as lf, parseRtcSignal as lg, DirectPathWatch as lh, normalizeDid as li, APP_VERSION_MAX as ll, usageLeft as lm, validMentions as ln, RESUME_WAIT_MS as lo, readForwarded as lp, decodeTx as lr, hubRank as ls, decodeCommunityLink as lt, encodeDnsQuery as lu, readHandoffTurnFrame as lv, __exportAll as lw, pastedAgain as lx, REQUEST_CLOCK_SKEW_MS as ly, x401HolderJwk as m, RELAY_PAYLOAD_MAX_BYTES as mC, turnPacket as mS, HANDOFF_RELEASE as m_, encodeSvcbPacket as ma, isAppRef as mb, WAKE_CALL_INTERVAL_MS as mc, STORAGE_LIFETIME as md, VOICE_METER as mf, answersOffer as mg, DHT_POLL_INTERVALS as mh, signingKeys as mi, appOpenFrame as ml, receivedTimestamp as mm, MAX_GROUP_NAME_BYTES as mn, WAKE_LOST_MS as mo, REACTION_FRAME as mp, sha256d as mr, newerHead as ms, leaveStatement3 as mt, recordsFromTxt as mu, SET_ACK as mv, DEVICE_PING_FRAME as mx, REQUEST_TEXT_BYTES as my, X401_RESPONSE_MODES as n, BREAKER_BASE_MS as nC, firstDeviceSetSecret as nS, HANDOFF_DONE as n_, BITCOIN_NETWORKS as na, yieldThread as nb, PIN_FRAME as nc, isIdentityBinding as nd, dhtFileElements as nf, DATA_CHANNEL_ID as ng, GATHER_STALL_MS as nh, didJwsAlg as ni, APP_DATA_MAX_BYTES as nl, checkStatusCard as nm, meshMessageRef as nn, PAIRING_ATTEMPT_MS as no, linksIn as np, decodeBase64 as nr, pickMeshHubs as ns, GROUP_READ_NOTE_COMMUNITY as nt, DOMAIN_TXT_MAX_BYTES as nu, readHandoffDone as nv, toBase64 as nw, encodeGhostlyInvite as nx, CONTACT_RECORD_TTL as ny, matchX401Dcql as o, DiscoveryBudgetError as oC, readTurnPacket as oS, HANDOFF_HELLO as o_, isPubkyKey as oa, appFingerprint as ob, parsePinFrame as oc, signIdentityPresentation as od, PREVIEWABLE_IMAGE as of, buildDataSdp as og, DIRECT_EVIDENCE_MS as oh, didWebFileNames as oi, APP_RATE_WINDOW_MS as ol, statusCardBytes as om, MENTION_LIMITS as on, RACE_DIRECT_MS as oo, FORWARD_LIMITS as op, compactSize as or, beaconRecords as os, communityMessageId as ot, dnsProofName as ou, readHandoffManifest as ov, utf8Encode as ow, inviteQrSegments as ox, LINK_RECORD_LABEL as oy, sameX401HolderJwk as p, PacketTooLargeError as pC, turnName as pS, HANDOFF_PIECE_OVERHEAD as p_, decodeSvcbRecords as pa, isAppKey as pb, DEVICE_WAKE_TTL_SECONDS as pc, PeerProofs as pd, VOICE_LIMITS as pf, RTC_CONFIG as pg, DEPARTED_READ_MS as ph, parseDidSignaturePaste as pi, appDataFrame as pl, heardTime as pm, MAX_GROUP_META_BODY as pn, WAKE_ANSWER_GRACE_MS as po, REACTED_FRAME as pp, hash160 as pr, mergeLobby as ps, leaveStatement as pt, parseDomainTxt as pu, sortParts as pv, DEVICE_ECHO_FRAME as px, REQUEST_PACKET_BYTES as py, signAppStore as q, trimEndOf as qC, WATCH_SHARE as qS, handoffVerifiedMessage as q_, FIRST_PAIRING_PACE_MS as qa, DEVICE_INVITE_VERSION as qb, appRangeDataFrame as qc, DHT_FILE_TOO_LARGE as qd, parseEditFrame as qf, servicesToWire as qg, LIMITS as qh, parsePaymentAmount as qi, HoldRefusedError as ql, openSecret as qm, verifySshSignature as qn, groupSignalFrame as qo, STATUS_CARD_LIMITS as qp, DID_GHOSTLY_SERVICE as qr, parseTypingFrame as qs, chainPieces as qt, IDENTITY_SUBJECT as qu, REOPEN_BELOW as qv, TURN_NO_ACTIVE as qx, checkAppManifest as qy, readX401OpenId4VpRequest as r, BREAKER_MAX_MS as rC, nextTurnPosition as rS, HANDOFF_FILE_MISSING as r_, isBitcoinAddress as ra, APP_NAME as rb, PIN_LIMITS as rc, newIdentityBinding as rd, dhtFileId as rf, DATA_CHANNEL_LABEL as rg, OFFER_HOST_GATHER_MS as rh, didSignedMessages as ri, APP_FRAME as rl, readStatusCard as rm, parseCommunityEdit as rn, PAIRING_RETRY_MS as ro, parseLinkPreview as rp, verifyBip322 as rr, wireHubPolicy as rs, communityCommitHash as rt, NIP05_PATH as ru, readHandoffFileFrame as rv, toBase64Url as rw, encodeInviteCode as rx, ContactRequestError as ry, presentX401SdJwtVc as s, budgetRetryMs as sC, sealTurnBody as sS, HANDOFF_LATER_BYTES as s_, isPubkyProofFolder as sa, appRef as sb, parsePinnedFrame as sc, verifyIdentityPresentation as sd, formatFileSize as sf, extractRtcParams as sg, DIRECT_OWN_ATTEMPTS as sh, didWebFileUrl as si, APP_RESUME_GRACE_MS as sl, statusCardText as sm, mentionsBytes as sn, RACE_RELAYED_MS as so, forwardedAgain as sp, decodeAnyBitcoinAddress as sr, doorHubs as ss, communityRoster as st, domainTxtRecord as su, readHandoffPake as sv, __commonJSMin as sw, inviteQrText as sx, MAX_SEEN as sy, X401_REQUEST_LIMITS as t, BREAKER_ALL_DOWN_PROBE_MS as tC, encodeTurnFields as tS, HANDOFF_DATA as t_, sparkNetworkOf as ta, sha256Paced as tb, PIN_CLOCK_SKEW_MS as tc, identityStatementText as td, DHT_FILE_CAPABILITY as tf, wrapDataChannel as tg, GATHER_ATTEMPTS as th, didGhostlyServiceEntry as ti, readAppRangeFrame as tl, cardUrl as tm, communityMessageAuthor as tn, PAIRED_FRAME_TOO_LARGE as to, linkEnd as tp, bip322ToSpend as tr, parseHubPolicy as ts, CommunitySession as tt, DOMAIN_METHODS as tu, readHandoffData as tv, randomBytes as tw, decodeInviteCode as tx, turnOff as ty, X401_CREDENTIAL_LIMITS as u, withRequestOptions as uC, signTurnRelease as uS, HANDOFF_OFFER as u_, pubkyProofCapability as ua, appSignedBytes as ub, pinNumberHolds as uc, lastSharedWithMe as ud, sanitizeMime as uf, CALL_SIGNAL_FUTURE_MS as ug, directBlocked as uh, parseDid as ui, AppSessions as ul, MESSAGE_CLOCK_SKEW_MS as um, wireMentions as un, RTC_UNSTARTED_MS as uo, COMMUNITY_REACTION_FRAME as up, decodeWitness as ur, lobbyKeys as us, derivedSecret as ut, isPublicAddress as uu, readHandoffVerified as uv, __require as uw, readInviteCode as ux, REQUEST_LABEL as uy, X401_SCHEME as v, openRelayPayload as vC, turnSignedMessage as vS, HANDOFF_VERSION as v_, LNURL_LIMITS as va, readAppRevocations as vb, WAKE_INTERVAL_MS as vc, isProofAdapter as vd, formatVoiceDuration as vf, compressSdp as vg, LinkSession as vh, DID_DHT_PREFIX as vi, parseAppFrame as vl, GROUP_MEMBER_CAP as vm, groupDisplayName as vn, publishFailure as vo, parseReactedFrame as vp, varBytes as vr, readBeaconHead as vs, signCommunity as vt, validDomainRecord as vu, setAckFrame as vv, deviceEchoNonce as vx, contactDay as vy, decodeX401Header as w, encodeTxtPacket as wC, CHAT_RESERVE_MOST_SHARE as wS, handoffAttemptAllowed as w_, parsePayParams as wa, verifyAppStatementBytes as wb, parseWakeFrame as wc, storageProofBody as wd, voiceLevel as wf, keepsToRelays as wg, PRESENCE_WINDOW as wh, didDhtFromPublicKey as wi, EDIT_CAPABILITY as wl, OWN_FRAME_LIMIT as wm, groupMetaToHand as wn, PairingTracker as wo, reactionIsNewer as wp, atprotoProofRecord as wr, PairedCalls as ws, decodeGroupEntryLink as wt, CAPS_REFRESH_MS as wu, ENROLL_CANCEL as wv, deviceLinkSealKey as wx, makeStamp as wy, buildX401ProofResult as x, signRelayPayload as xC, BACKGROUND_REQUESTS_PER_MINUTE as xS, filePartDigest as x_, invoiceCallbackUrl as xa, signAppRevocation as xb, WakeLimiter as xc, proofHash as xd, recordingMime as xf, extractParamsFromSdp as xg, OFFER_LOOK_MS as xh, DidDhtError as xi, APP_RANGES_CAPABILITY as xl, MAX_GROUP_CHAIN as xm, groupMetaNewer as xn, engineError as xo, reactedFrame as xp, ATPROTO_PROOF_COLLECTION as xr, validHead as xs, GROUP_ENTRY_PROFILE as xt, CAPS_LABEL as xu, signTombstone as xv, deviceLinkPairing as xx, knockSlotOf as xy, X401_VERSION as y, parseRelayPayload as yC, turnStatedVerifier as yS, HANDOFF_WINDOW as y_, fetchLnurlJson as ya, readAppSignature as yb, WAKE_SUBJECT as yc, nostrProofTemplate as yd, isPlayableAudioType as yf, contactRtcConfig as yg, MAX_DHT_TEXT_BYTES as yh, DID_DHT_TTL as yi, readAppFrame as yl, GROUP_VERSION_LARGE as ym, groupMetaBody as yn, ENGINE_ERRORS as yo, parseReactionFrame as yp, ATPROTO_DECLARED_SCOPE as yr, readLobby as ys, verifyCommunityChain as yt, wellKnownUrl as yu, setUpdateFrame as yv, deviceFrameCapability as yx, knockHolds as yy, planAppUpdate as z, MAX_AVATAR_SIDE as zC, REQUESTS_PER_MINUTE as zS, handoffManifestFrames as z_, BLOCKED_DIAL_WAIT_MS as za, DEVICE_INVITE_BYTES as zb, vapidKeysMatch as zc, checkedDescriptors as zd, EDIT_SEND_LIMIT as zf, MAX_SERVICES as zg, relativizeLocation as zh, TEST_USDT_FAUCET_AMOUNT as zi, PAIRED_PROFILE as zl, confirmationMatches as zm, SSH_PUBLIC_KEY_MAX as zn, GROUP_SIGNAL_FRAME as zo, BUTTON_STYLES as zp, parseAtprotoDidKey as zr, TYPING_RATE_WINDOW_MS as zs, groupWakes as zt, IDENTITY_MAX_EVIDENCE as zu, readEnrollGrant as zv, turnPutSummary as zx, APP_ICON_PATH as zy };
35994
+ export { COMMUNITY_LIMITS as $, fromBase64Url as $C, readRelayBody as $S, readHandoffBusy as $_, LIVENESS_PING_MS as $a, OwnInviteError as $b, isServeId as $c, emptyDhtDeliveryState as $d, LINK_PREVIEW_LIMITS as $f, HANDOFF_CANCEL as $g, encodeControl as $h, sparkAddressKind as $i, DOMAIN_FILE_MAX_BYTES as $l, DATA_SETTLE_MS as $m, bip322MessageHash as $n, meshHubs as $o, cardLinkHost as $p, checkDidJws as $r, GROUP_PIN_FRAME as $s, carryMentions as $t, identityRevocationValue as $u, settleRequest as $v, TURN_TTL as $x, readAppBundle as $y, readX401ProofResponseHeader as A, identityFromSeedB64 as AC, FRESH_READ_MS as AS, handoffContextProof as A_, ENDPOINT as Aa, previewable as Ab, wakeRequest as Ac, ringAuthorization as Ad, isPlayableVideoType as Af, LABEL$1 as Ag, WATCH_PEER_MS as Ah, openDidDhtPayload as Ai, SERVICES_CAPABILITY as Al, rememberAlone as Am, parseGroupMetaFrame as An, fetchesByItself as Ao, REPLY_ID as Ap, shortAtprotoDid as Ar, FileUplink as As, mergeKnocks as At, dialDescriptors as Au, enrollCancelFrame as Av, unsignedDeviceTransports as Ax, requestPlaintextBytes as Ay, APP_STORE_KINDS as B, MAX_AVATAR_SIDE as BC, REQUESTS_PER_MINUTE as BS, handoffOfferFrame as B_, CROSSED_FRESH_MS as Ba, DEVICE_INVITE_BYTES as Bb, APP_RANGE_DATA_KIND as Bc, irohDescriptor as Bd, MAX_EDITS_PER_MESSAGE as Bf, SERVICES_VERSION as Bg, resolveTargetUrl as Bh, USDT_PUBLIC_RPC as Bi, PairedSession as Bl, confirmationTag as Bm, SshSigError as Bn, GROUP_VERSION_SIGNALS as Bo, CRON_LINE as Bp, parseAtprotoVerificationKey as Br, TYPING_REFRESH_MS as Bs, mentionedMembers as Bt, IDENTITY_MAX_FRAME as Bu, readEnrollHello as Bv, turnPutSummary as Bx, APP_PERMISSIONS as By, buildX401TokenObject as C, decodeDnsAnswers as CC, BACKGROUND_WHILE_SIGNALING as CS, handoffAckFrame as C_, parseLightningDestination as Ca, verifyAppRevocation as Cb, newWakeToken as Cc, storageProof as Cd, voiceFileName as Cf, isGlobalIpv4Host as Cg, PRESENCE_HEARTBEAT as Ch, didDhtDocument as Ci, CALLS_CAPABILITY as Cl, MEMBER_KEY as Cm, groupMetaTag as Cn, parseEngineError as Co, reactionFrame as Cp, atprotoDidMethod as Cr, PAIRED_CALL_FRAME as Cs, MAX_KNOCKS as Ct, CAPS_PUBLISH_SPACING_MS as Cu, DEVICE_KINDS as Cv, deviceLinkParams as Cx, linkRecords as Cy, readX401ProofRequest as D, IDENTITY_MEMO_SIZE as DC, CHAT_WATCH_SHARE as DS, handoffBusyFrame as D_, BOLT11_PATTERN as Da, imageSize as Db, relayRequest as Dc, verifyNostrProof as Dd, PLAYABLE_VIDEO as Df, sdpHasCandidates as Dg, TRANSPORTS_GONE_MS as Dh, encodeDidDhtDeactivated as Di, KNOWN_SESSION_CAPABILITIES as Dl, commitUntaggedHash as Dm, nextGroupMetaRevision as Dn, GROUP_VERSION_FILES as Do, validReactionNumber as Dp, isAtprotoDid as Dr, FILE_DATA_KIND as Ds, groupEntryUrl as Dt, CapsRefusedError as Du, ENROLL_GRANT as Dv, devicePingFrame as Dx, openRequest as Dy, isX401Protocol as E, readDnsName as EC, CHAT_RESERVE_PER_CHAT as ES, handoffAttemptSucceeded as E_, resolveLightningDestination as Ea, IMAGE_LIMITS as Eb, readWakePayload as Ec, validExternalKey as Ed, voicePeaksOf as Ef, pickCallCandidates as Eg, STALLED_LOOK_MS as Eh, didDhtRecords as Ei, FILES_CAPABILITY as El, commitHash as Em, keepPastGroupMeta as En, GROUP_HAVE_FRAME as Eo, readReaction as Ep, checkAtprotoProofRecord as Er, ChatFiles as Es, entryParams as Et, CapsKeys as Eu, ENROLL_DONE as Ev, deviceLinkSecret as Ex, mergeContactKnocks as Ey, appRevocationFor as F, encrypt as FC, GROUP_SIGNALING_ALLOWANCE_SHARE as FS, handoffFileMissingFrame as F_, parseCashuRequestPayload as Fa, CONTACT_LINK_BYTES as Fb, encryptPushPayload as Fc, verifyRingEvidence as Fd, EDIT_BUFFER_MS as Ff, isEmptyLinkPacket as Fg, HttpClient as Fh, ONCHAIN_PROVIDER as Fi, UPGRADE_CAPABILITY as Fl, verifyChain as Fm, wrapGroupMeta as Fn, readGroupWant as Fo, replySnippet as Fp, decodeDagCbor as Fr, transferStalled as Fs, GROUP_WAKE_MEMBER_INTERVAL_MS as Ft, IDENTITY_CHECK_UNAVAILABLE as Fu, enrollHelloFrame as Fv, TURN_RAISE_READ_TIMEOUT_MS as Fx, APP_BUNDLE_MAGIC as Fy, readAppStore as G, sanitizeDisplayText as GC, SLOW_DEMOTE_MS as GS, handoffStreamKey as G_, DHT_PIN_GRACE_MS as Ga, deviceInviteJoinerParams as Gb, appRangeCancelFrame as Gc, ACTIVE_DHT_POLL_MS as Gd, editFrame as Gf, serviceIdFromName as Gg, CHUNK_FLAG_END as Gh, formatPaymentAmount as Gi, HOLD_LIMITS as Gl, newEpochSecret as Gm, sshKeyDigestHex as Gn, SIGNAL_PROVEN_MS as Go, ROUTINE_STATES as Gp, DID_DOCUMENT_MAX_BYTES as Gr, TypingSender as Gs, GroupSession as Gt, IDENTITY_REVOCATION_LABEL as Gu, MAX_WAITING as Gv, TURN_LAST_SEQUENCE as Gx, assembleAppBundle as Gy, checkAppListing as H, sanitizeAvatar as HC, RelaysFailedError as HS, handoffReleaseFrame as H_, CROSSED_WAIT_MS as Ha, DEVICE_INVITE_OWN_DEVICE as Hb, APP_RANGE_FRAMES as Hc, rankTransports as Hd, REMOVED_TEXT as Hf, encodeServices as Hg, sanitizeResponseHeaders as Hh, arkAddressPrefix as Hi, SESSION_RECEIVE_PENDING as Hl, edgeParams as Hm, parseSshSignature as Hn, SIGNAL_CARRIERS as Ho, PR_CHECKS as Hp, unsignedCommitBytes as Hr, TYPING_STATUS_MAX as Hs, GROUP_LIMITS as Ht, IDENTITY_MAX_VALIDITY as Hu, FLOOD_PER_DAY as Hv, TOMBSTONE_TURN as Hx, APP_VIEWS as Hy, appStoreDecision as I, generateEncryptionKey as IC, HEDGE_MISSING_MS as IS, handoffFileRequestFrame as I_, parseFedimintRequestPayload as Ia, CONTACT_LINK_VERSION as Ib, generateVapidKeys as Ic, RELAY_URL as Id, EDIT_FRAME as If, parseLinkRecords as Ig, HttpHost as Ih, PaymentPreflightError as Ii, WAKE_SESSION_CAPABILITY as Il, verifyCommit as Im, SSHSIG_MAX_ARMOR as In, readGroupWantNo as Io, wireReply as Ip, encodeDagCbor as Ir, TYPING_FRAME as Is, GROUP_WAKE_RECEIVE_LIMIT as It, IDENTITY_CLOCK_SKEW as Iu, enrollMessage as Iv, TURN_SETTLE_MS as Ix, APP_CLIENTS as Iy, GROUP_TYPING_FRAME as J, trimEndOf as JC, WATCH_SHARE as JS, handoffVersions as J_, GhostLink as Ja, DEVICE_INVITE_VERSION as Jb, appRangeEndFrame as Jc, DHT_MESSAGE_TTL as Jd, parseEditedFrame as Jf, viewerTag as Jg, MAX_CHUNK_PAYLOAD_BYTES as Jh, validatePaymentTarget as Ji, isHoldUrl as Jl, sealPair as Jm, isLegacySignature as Jn, readGroupSignal as Jo, TASK_STATUSES as Jp, DID_JWS_ALGS as Jr, sanitizeTypingStatus as Js, frameBytes as Jt, IdentityCheckUnavailable as Ju, clearMissed as Jv, TURN_NO_ACTIVE as Jx, findAppForbiddenKey as Jy, readAppStoreSteps as K, sanitizeNick as KC, SLOW_MS as KS, handoffVerifiedFrame as K_, EARLY_DIAL_JOIN_MS as Ka, encodeDeviceInvite as Kb, appRangeChunk as Kc, DHT_FILE_REFUSED as Kd, editedFrame as Kf, servicesFromWire as Kg, CHUNK_KIND as Kh, isWalletNetwork as Ki, HoldKeys as Kl, openPair as Km, sshSignCommand as Kn, SIGNAL_REPLY_MS as Ko, RUN_RESULTS as Kp, DID_FILE_MAX_BYTES as Kr, parseTypingActivity as Ks, asWritten as Kt, IDENTITY_STATEMENT_PREFIX as Ku, NEW_PER_HOUR as Kv, TURN_MAX as Kx, buildAppBundle as Ky, appUpdateDecision as L, sealedLength as LC, HEDGE_MS as LS, handoffHaveFrames as L_, ANSWERS_REFUSED_PAUSES as La, createContactLink as Lb, pushRequest as Lc, TRANSPORTS as Ld, EDIT_RATE_WINDOW_MS as Lf, HTTP_SERVICE_PROTO as Lg, formatLocalTarget as Lh, SEPOLIA_TEST_USDT as Li, parseSessionCapabilities as Ll, verifyCommitSignature as Lm, SSHSIG_NAMESPACE as Ln, CARRIED_DEFER_MS as Lo, ACTIVE_TASK_STATUSES as Lp, findInMst as Lr, TYPING_KINDS as Ls, GroupWakeLimiter as Lt, IDENTITY_FRAME_LIMIT as Lu, enrollProofFrame as Lv, TURN_VISIBLE_MS as Lx, APP_CLIENT_NAME as Ly, readX401ProofResultHeader as M, sign as MC, GROUP_BURST_ONE_LINK as MS, handoffDigest as M_, fedimintRequestPayload as Ma, canonicalJson as Mb, WebPushError as Mc, ringEvidence as Md, parseVideoMeta as Mf, RECORD_TTL as Mg, presenceSeenAt as Mh, signDidDhtPacket as Mi, STATUS_CARD_CAPABILITY as Ml, rosterHas as Mm, parseGroupMetaTag as Mn, isGroupMessageId as Mo, groupReplyAuthor as Mp, AtprotoProofError as Mr, encodeFileData as Ms, GROUP_WAKE_FRAME as Mt, encodePacketTransports as Mu, enrollDigits as Mv, seedSigner as Mx, seenEntry as My, x401AnswerableRequests as N, verify as NC, GROUP_OVER_PACE_MS as NS, handoffDoneFrame as N_, findEndpoint as Na, canonicalJsonBytes as Nb, checkPushEndpoint as Nc, validRingKey as Nd, EDITED_FRAME as Nf, buildLinkRecords as Ng, unusedInviteWait as Nh, ETHEREUM_USDT as Ni, SessionCapabilities as Nl, signCommit as Nm, signGroupMeta as Nn, readGroupFileMeta as No, pairedReplyAuthor as Np, atprotoCidFor as Nr, refusalText as Ns, GROUP_WAKE_GROUP_LIMIT as Nt, parsePacketTransports as Nu, enrollDoneFrame as Nv, webCryptoSigner as Nx, stampHolds as Ny, readX401ProofRequestHeader as O, createIdentity as OC, DEFAULT_RELAYS as OS, handoffCancelFrame as O_, decodeBolt11 as Oa, isImageMime as Ob, wakeFrame as Oc, verifyPeerProof as Od, VIDEO_LIMITS as Of, signalHasVideo as Og, UNUSED_INVITE_READS_PER_MINUTE as Oh, encodeDidDhtPacket as Oi, PIN_CAPABILITY as Ol, expectedRoster as Om, openGroupMeta as On, GROUP_WANT_FRAME as Oo, wireReaction as Op, normalizeAtprotoHandle as Or, FILE_FRAMES as Os, knockIdentity as Ot, DHT_TEXT_CAPABILITY as Ou, ENROLL_HELLO as Ov, newDeviceSetSecret as Ox, readKnockSlot as Oy, addedAppPermissions as P, decrypt as PC, GROUP_RATION_WINDOW_MS as PS, handoffEphemeral as P_, isFederationId as Pa, readCanonicalJson as Pb, decryptPushPayload as Pc, verifyRingAuthorization as Pd, EDIT_BUFFER_MAX as Pf, emptyLinkRecords as Pg, GhostlyHttpError as Ph, EVM_TEST_CHAINS as Pi, TYPING_CAPABILITY as Pl, sortRoster as Pm, verifyGroupMetaSignature as Pn, readGroupHave as Po, readReply as Pp, decodeAtprotoCommit as Pr, transferEnded as Ps, GROUP_WAKE_GROUP_WINDOW_MS as Pt, IDENTITY_CHALLENGE_WINDOW as Pu, enrollGrantFrame as Pv, TURN_PUT_WINDOW_MS as Px, APP_BUNDLE_LIMITS as Py, sealGroupTyping as Q, fromBase64 as QC, normalizeRelayUrl as QS, readHandoffAck as Q_, LIVENESS_MISSED_PINGS as Qa, INVITE_VERSION as Qb, encodeAppRangeData as Qc, LIVE_POLL_MS as Qd, LINK_MAX_CHARS as Qf, HANDOFF_BUSY_REASONS as Qg, encodeChunk as Qh, isSparkAddress as Qi, DNS_TYPE as Ql, CONNECT_TIMEOUT_MS as Qm, MessageRefusal as Qn, mayBeHub as Qo, cardLine as Qp, DidError as Qr, COMMUNITY_PIN_FRAME as Qs, GROUP_EDIT_TEXT_BYTES as Qt, identityPresentationBytes as Qu, planKnocks as Qv, TURN_SLOTS as Qx, pacer as Qy, checkAppBeforeRun as R, tryDecrypt as RC, PREVIOUS_DEFAULT_RELAYS as RS, handoffHelloFrame as R_, ANSWERS_REFUSED_PAUSE_MS as Ra, encodeContactLink as Rb, vapidAuthorization as Rc, automaticTransport as Rd, EDIT_RECEIVE_LIMIT as Rf, LEGACY_SERVICES as Rg, parseLocalTarget as Rh, SEPOLIA_TEST_USDT_FAUCET as Ri, sessionCapabilitiesFrame as Rl, GROUP_PROFILE as Rm, SSH_KEY_TYPES as Rn, CarriedTransport as Ro, BUTTON_ID as Rp, parseAtprotoCar as Rr, TYPING_RATE_LIMIT as Rs, groupWakeFrame as Rt, IDENTITY_FRAME_WINDOW_MS as Ru, formatEnrollDigits as Rv, classifyTurnRead as Rx, APP_FORBIDDEN_KEYS as Ry, buildX401ResultArtifact as S, signRelayPayload as SC, BACKGROUND_REQUESTS_PER_MINUTE as SS, filePartName as S_, parseInvoiceCallback as Sa, signAppRevocation as Sb, deviceWakeRequest as Sc, proofStatement as Sd, voiceDownloadName as Sf, heardCallSignal as Sg, OFFER_STEP_MAX as Sh, decodeDidDhtPacket as Si, BUTTONS_CAPABILITY as Sl, MAX_GROUP_MEMBERS as Sm, groupMetaPicture as Sn, engineText as So, reactionEmoji as Sp, ATPROTO_PROOF_SCOPE as Sr, MAX_PAIRED_CALL_SIGNAL as Ss, KNOCK_TTL_MS as St, CAPS_LIMITS as Su, verifySetUpdate as Sv, deviceLinkPairing as Sx, knockSlotRecords as Sy, encodeX401Header as T, encodeTxtPacket as TC, CHAT_RESERVE_MOST_SHARE as TS, handoffAttemptFailed as T_, requestLnurlInvoice as Ta, verifyAppStatementBytes as Tb, readWake as Tc, storageProofPath as Td, voiceLevelsOf as Tf, parseCallSignal as Tg, RELAY_POLL_INTERVALS as Th, didDhtKey as Ti, FILES_BINARY_CAPABILITY as Tl, SAID_AGAIN as Tm, groupName as Tn, GROUP_FILE_LIMITS as To, readDhtReactions as Tp, atprotoProofRkey as Tr, parsePairedCallFrame as Ts, encodeGroupEntryLink as Tt, CapsExchange as Tu, ENROLL_CANCEL_REASONS as Tv, deviceLinkSealKey as Tx, makeStampPaced as Ty, checkAppStoreIndex as U, MAX_NICK_LENGTH as UC, SIGNALING_ALLOWANCE_SHARE as US, handoffRequestFrame as U_, DEMOTE_AFTER_FAILURES as Ua, createDeviceInvite as Ub, APP_RANGE_LIMITS as Uc, relayedTransports as Ud, RateWindow as Uf, isValidServiceId as Ug, viewerResponseHeaders as Uh, assertTokenUnits as Ui, HOLD_CAPABILITY as Ul, encryptText as Um, sameSshKey as Un, SIGNAL_FRESH_MS as Uo, PR_STATES as Up, verifyAtprotoRecordProof as Ur, TYPING_TIMEOUT_MS as Us, GROUP_REACTED_FRAME as Ut, IDENTITY_PROOF_CAPABILITY as Uu, MAX_DONE as Uv, TURN_BODY_BYTES as Ux, appDigest as Uy, APP_STORE_LIMITS as V, jpegSize$1 as VC, RelayTransport as VS, handoffPakeFrame as V_, CROSSED_PROBE_MS as Va, DEVICE_INVITE_LIFETIME_S as Vb, APP_RANGE_ERRORS as Vc, irohRelayUrl as Vd, MAX_REMOVAL_NUMBER as Vf, decodeServices as Vg, sanitizeRequestHeaders as Vh, WALLET_NETWORKS as Vi, SESSION_FRAME_MAX as Vl, decryptText as Vm, parseSshPublicKey as Vn, SIGNALS_PER_MINUTE as Vo, ITEM_STATES as Vp, readAtprotoCid as Vr, TYPING_SEND_LIMIT as Vs, parseGroupWakeFrame as Vt, IDENTITY_MAX_RECEIVED as Vu, verifyEnrollProof as Vv, TOMBSTONE_SEQUENCE as Vx, APP_SCREENSHOTS_DIR as Vy, readAppListing as W, hasVisible as WC, SIGNALING_WINDOW_MS as WS, handoffRetryAfter as W_, DEMOTE_MS as Wa, deviceInviteJoinerKeyZ32 as Wb, AppRanges as Wc, transportOrder as Wd, dhtEditId as Wf, isViewerTag as Wg, webLocalFetch as Wh, assertWholeSats as Wi, HOLD_DATED_BACK_MS as Wl, epochKeys as Wm, sshFingerprint as Wn, SIGNAL_HOLD_MS as Wo, REMOVABLE_KINDS as Wp, verifyAtprotoSignature as Wr, TypingReceiver as Ws, GROUP_READ_NOTE as Wt, IDENTITY_PROVIDER_ID as Wu, MAX_MISSED as Wv, TURN_LABEL as Wx, appViewOf as Wy, groupTypingEpoch as X, bytesEqual as XC, WRITE_FIRST_MS as XS, newHandoffId as X_, INVITER_DIAL_GRACE_MS as Xa, INVITE_LINK_ORIGIN as Xb, appRangeGetFrame as Xc, DHT_TEXT_REFUSED as Xd, validEditNumber as Xf, HANDOFF_ATTEMPTS as Xg, decodeChunk as Xh, SPARK_NETWORKS as Xi, readManifest as Xl, sha256Hex as Xm, verifyBitcoinMessage as Xn, MESH_HUBS as Xo, buttonLabelClash as Xp, DID_MAX_LENGTH as Xr, typingFrame as Xs, COMMUNITY_EDIT_FRAME as Xt, boundVerifiedIdentity as Xu, inboxRecord as Xv, TURN_SEALED_BYTES as Xx, isAppPath as Xy, GroupTypingBoard as Y, unwrapPasted as YC, WAY_BACK_SHARE as YS, isHandoffPartName as Y_, HANDLED_WAIT_MS as Ya, INVITE_HRP as Yb, appRangeErrorFrame as Yc, DHT_TEXT_BYTES as Yd, validEditMessage as Yf, HANDOFF_ACK as Yg, PROTOCOL_VERSION as Yh, walletNetworkOf as Yi, newMailbox as Yl, sealSecret as Ym, legacyMessageHash as Yn, GROUP_VERSION_HUBS as Yo, appCardId as Yp, DID_JWS_MAX_LENGTH as Yr, typingActivity as Ys, groupMessageId as Yt, IdentityExchange as Yu, endedRequests as Yv, TURN_REV_LIMIT as Yx, isAppLicense as Yy, openGroupTyping as Z, concatBytes as ZC, currentRelays as ZS, openHandoffPiece as Z_, INVITE_TAKEN as Za, INVITE_MAX_LENGTH as Zb, decodeAppRangeData as Zc, DhtDelivery as Zd, validRemovalNumber as Zf, HANDOFF_BUSY as Zg, decodeControl as Zh, SPARK_PROVIDER as Zi, DNS_LABEL as Zl, ANSWER_REFUSED_REDIALS as Zm, BIP322_REVISION as Zn, NO_HUB_POLICY as Zo, cardEditNumber as Zp, DID_METHODS as Zr, typingKindOf as Zs, GROUP_EDIT_FRAME as Zt, emptyIdentityLedger as Zu, newInbox as Zv, TURN_SIGNED_BYTES as Zx, isAppUrl as Zy, X401_PROTOCOLS as _, measureRecords as _C, turnReleaseMessage as _S, HANDOFF_VERIFIED as __, LIGHTNING_DESTINATION_PATTERN as _a, readAppRevocationShape as _b, WAKE_FRAME as _c, importedProof as _d, fileMessageText as _f, callSignalHeardAt as _g, IDLE_THRESHOLD as _h, DID_DHT_MAX_PAYLOAD as _i, isChatAppId as _l, GROUP_ID as _m, encodeGroupMetaBody as _n, parsePaymentNetworks as _o, nextReactionNumber as _p, u64 as _r, readBeacon as _s, shortHash as _t, txtValue as _u, readSetUpdate as _v, HANDOFF_CAPABILITY as _x, STAMP_BITS_MIN as _y, X401_DCQL_LIMITS as a, BREAKER_THRESHOLD as aC, openTurnValue as aS, HANDOFF_HAVE as a_, PUBKY_PROOF_ROOT as aa, APP_STATEMENT_LIMITS as ab, nextPinNumber as ac, revokesIdentity as ad, FileTransfers as af, RTC_SIGNAL_MAX_AGE_MS as ag, STALLED_EVIDENCE_MS as ah, didWebFile as ai, APP_RATE_LIMIT as al, sameButtonText as am, MENTION_EVERYONE as an, RACE_ANSWERED_MS as ao, sanitizePreviewImage as ap, ByteReader as ar, beaconKeys as as, communityHasFrame as at, decodeDnsResponse as au, readHandoffHello as av, toZ32 as aw, inviteLink as ax, KNOCK_SLOT_LABEL as ay, buildX401ProofRequest as b, parseRelayPayload as bC, turnStatedVerifier as bS, NO_ATTEMPTS as b_, findLightningDestination as ba, setAppSignatureFastPath as bb, WAKE_TTL_SECONDS as bc, proofCapability as bd, parseVoiceMeta as bf, decompressSdp as bg, OFFER_FAST_MS as bh, DID_DHT_VERSION as bi, APPS_CAPABILITY as bl, LEGACY_GROUP_MEMBERS as bm, groupMetaChange as bn, EngineError as bo, queueReaction as bp, ATPROTO_FULL_SCOPE as br, shouldBeHub as bs, verifyCommunityCommit as bt, CAPS_ISSUED_BACK_MS as bu, setUpdateMessage as bv, deviceFrameCapability as bx, knockSlotIdentity as by, readX401DcqlQuery as c, budgetRetryMs as cC, sealTurnBody as cS, HANDOFF_LIST_PER_FRAME as c_, newPubkyProofFolder as ca, appRefPublisher as cb, pinFrame as cc, IDENTITY_TIMELINE_MAX as cd, safeBlobType as cf, offerIsFresh as cg, DIRECT_PEERS as ch, didWebHost as ci, APP_SEND_LIMIT as cl, taskProgress as cm, mentionsMember as cn, REDESCRIBED_GRACE_MS as co, forwardedMany as cp, decodeBitcoinAddress as cr, freshHubs as cs, communityUntaggedHash as ct, domainWellKnownFile as cu, readHandoffRelease as cv, __commonJSMin as cw, inviteQrText as cx, MAX_SLOT_KNOCKS as cy, newX401HolderKey as d, withRequestOptions as dC, signTurnRelease as dS, HANDOFF_PAKE as d_, pubkyProofFile as da, checkAppRevokeStatement as db, pinnedFrame as dc, PROOF_ADAPTERS as dd, PLAYABLE_AUDIO as df, CALL_SIGNAL_MAX_AGE_MS as dg, symmetricNat as dh, parseDidDocument as di, appCloseFrame as dl, arrivalKey as dm, GROUP_META_PAST as dn, SWITCH_RETIRE_MS as do, GROUP_REACTION_FRAME as dp, encodeTx as dr, lobbyRecords as ds, encodeCommunityLink as dt, nip05RootKey as du, sameDigest as dv, __require as dw, readInviteCode as dx, REQUEST_LIFETIME_MS as dy, setLinkTraceSink as eC, TURN_VERSION as eS, HANDOFF_CANCEL_REASONS as e_, sparkInvoiceDetails as ea, readAppBundleAsync as eb, PINNED_FRAME as ec, identityStatement as ed, peekDhtMailbox as ef, sendBody as eg, DataLink as eh, checkDidSignature as ei, parseAppRangeFrame as el, cardTimeUtc as em, communityEditFrame as en, MAX_PAIRED_MESSAGE_FRAME as eo, canonicalUrl as ep, bip322ToSign as er, meshRendezvous as es, COMMUNITY_PROFILE as et, DOMAIN_MAX_RECORDS as eu, readHandoffCancel as ev, fromZ32 as ew, createChatInvite as ex, takeRequest as ey, readX401SdJwtVc as f, MAX_DNS_PACKET_BYTES as fC, turnInstance as fS, HANDOFF_PIECE_BYTES as f_, pubkyProofPath as fa, isAppHash as fb, readPin as fc, PROOF_CAPABILITY as fd, RECORDING_TYPES as ff, PAIRED_CALL_CANDIDATES as fg, AWAITING_PEER_MS as fh, parseDidJws as fi, appDataBytes as fl, claimedTime as fm, GROUP_META_PAST_CHARS as fn, UNPROVEN_AUTH_MS as fo, QUICK_REACTIONS as fp, encodeWitness as fr, mergeBeacon as fs, leaveStands as ft, normalizeDomain as fu, sealHandoffPiece as fv, __toCommonJS as fw, DEVICES_CAPABILITY as fx, REQUEST_NAME_UNITS as fy, X401_LIMITS as g, createRelayPayload as gC, turnPayloadSequence as gS, HANDOFF_TIMINGS as g_, pubkyHomeserverOf as ga, readAppRevocation as gb, WAKE_CALL_WAIT_MS as gc, emptyProofLedger as gd, downsamplePeaks as gf, callRtcConfig as gg, FIRST_PUBLISH_MAX_MS as gh, strictBase64Url as gi, isAppVersion as gl, GROUP_ADMIN_OFF_ERROR as gm, MAX_GROUP_PICTURE_LENGTH as gn, pairedMessageFrame as go, ReactionWindow as gp, u32$1 as gr, rankHubs as gs, rosterHash as gt, recordsName as gu, encodeSetSlots as gv, ENROLL_CAPABILITY as gx, STAMP_BITS_MAX as gy, X401_HEADERS as h, RELAY_PAYLOAD_MAX_BYTES as hC, turnPacket as hS, HANDOFF_REQUEST as h_, homeserverWebEndpoint as ha, isAppSignature as hb, WAKE_CALL_TTL_SECONDS as hc, STORAGE_ROOT as hd, baseMime as hf, buildSdpFromSignal as hg, EXPECT_PEER_MS as hh, staticDidDocument as hi, chatAppId as hl, shownTime as hm, MAX_GROUP_NAME_LENGTH as hn, pairedMessageFits as ho, REACTION_LIMITS as hp, txHash as hr, pickHubs as hs, leftStatement as ht, recordsFromWellKnown as hu, SET_UPDATE as hv, DEVICE_PING_FRAME as hx, STAMP_BITS_DEFAULT as hy, x401ApprovalDigest as i, BREAKER_MAX_MS as iC, nextTurnPosition as iS, HANDOFF_FILE_REQUEST as i_, PUBKY_PROOF_MAX_BYTES as ia, APP_PREFIXES as ib, mayPin as ic, receivedIdentityStatus as id, readDhtFile as if, RTC_SIGNAL_FUTURE_MS as ig, REANSWERS as ih, didWebDocumentUrl as ii, APP_PEER_OPEN_MAX as il, removedCardText as im, validEditText as in, PONG_WAIT_MS as io, previewImageSize as ip, BitcoinAddressError as ir, COMMUNITY_TOPOLOGY as is, communityGroupId as it, WELL_KNOWN_PATH as iu, readHandoffHave as iv, toBase64Url as iw, encodeInviteCode as ix, KNOCK_SLOTS as iy, readX401ProofResult as j, publicKeyFromZ32 as jC, GROUP_BURST_MS as jS, handoffDataFrame as j_, cashuRequestPayload as ja, readImageMeta as jb, PUSH_SERVICE_HOSTS as jc, ringClaims as jd, isVideoMime as jf, MAX_MSGS_PAYLOAD_B64 as jg, countUnusedInvite as jh, resolveDidDht as ji, SESSION_CAPABILITIES_FRAME as jl, rosterAdmin as jm, parseGroupMetaStatement as jn, groupFileFallback as jo, REPLY_LIMITS as jp, AtprotoCid as jr, decodeFileData as js, readKnocks as jt, emptyCapsState as ju, enrollCancelReason as jv, verifyDeviceTransports as jx, requestRecords as jy, readX401ProofResponse as k, identityFromSeed as kC, DEPARTED_READS as kS, handoffContext as k_, findBolt11 as ka, parseImageMeta as kb, wakePayload as kc, RING_LIFETIME as kd, formatVideoDuration as kf, waitForIceGathering as kg, UNUSED_INVITE_WAIT_MAX_MS as kh, jwkThumbprint as ki, REACTIONS_CAPABILITY as kl, parseGroupCommit as km, parseGroupMetaBody as kn, GROUP_WANT_NO_FRAME as ko, PAIRED_REPLY_AUTHORS as kp, parseAtprotoDidDocument as kr, FILE_LIMITS as ks, knockRecords as kt, capsDescriptors as ku, ENROLL_PROOF as kv, signDeviceTransports as kx, readLinkRecord as ky, x401VpToken as l, heldBackError as lC, signTurnBody as lS, HANDOFF_MANIFEST as l_, normalizePubkyKey as la, appRevocationId as lb, pinIsNewer as lc, applyIdentityEvent as ld, sanitizeFileName as lf, parseRtcSignal as lg, DirectPathWatch as lh, normalizeDid as li, APP_VERSION_MAX as ll, usageLeft as lm, validMentions as ln, RESUME_WAIT_MS as lo, readForwarded as lp, decodeTx as lr, hubRank as ls, decodeCommunityLink as lt, encodeDnsQuery as lu, readHandoffTurnFrame as lv, __esmMin as lw, ownInviteRefusal as lx, REQUEST_CLOCK_SKEW_MS as ly, x401HolderJwk as m, PacketTooLargeError as mC, turnName as mS, HANDOFF_RELEASE as m_, encodeSvcbPacket as ma, isAppRef as mb, WAKE_CALL_INTERVAL_MS as mc, STORAGE_LIFETIME as md, VOICE_METER as mf, answersOffer as mg, DHT_POLL_INTERVALS as mh, signingKeys as mi, appOpenFrame as ml, receivedTimestamp as mm, MAX_GROUP_NAME_BYTES as mn, WAKE_LOST_MS as mo, REACTION_FRAME as mp, sha256d as mr, newerHead as ms, leaveStatement3 as mt, recordsFromTxt as mu, SET_ACK as mv, DEVICE_ECHO_FRAME as mx, REQUEST_TEXT_BYTES as my, X401_RESPONSE_MODES as n, BREAKER_ALL_DOWN_PROBE_MS as nC, encodeTurnFields as nS, HANDOFF_DONE as n_, BITCOIN_NETWORKS as na, yieldThread as nb, PIN_FRAME as nc, isIdentityBinding as nd, dhtFileElements as nf, DATA_CHANNEL_ID as ng, GATHER_STALL_MS as nh, didJwsAlg as ni, APP_DATA_MAX_BYTES as nl, checkStatusCard as nm, meshMessageRef as nn, PAIRING_ATTEMPT_MS as no, linksIn as np, decodeBase64 as nr, pickMeshHubs as ns, GROUP_READ_NOTE_COMMUNITY as nt, DOMAIN_TXT_MAX_BYTES as nu, readHandoffDone as nv, randomBytes as nw, decodeInviteCode as nx, CONTACT_RECORD_TTL as ny, matchX401Dcql as o, RelayBreaker as oC, readTurnBody as oS, HANDOFF_HELLO as o_, isPubkyKey as oa, appFingerprint as ob, parsePinFrame as oc, signIdentityPresentation as od, PREVIEWABLE_IMAGE as of, buildDataSdp as og, DIRECT_EVIDENCE_MS as oh, didWebFileNames as oi, APP_RATE_WINDOW_MS as ol, statusCardBytes as om, MENTION_LIMITS as on, RACE_DIRECT_MS as oo, FORWARD_LIMITS as op, compactSize as or, beaconRecords as os, communityMessageId as ot, dnsProofName as ou, readHandoffManifest as ov, utf8Decode as ow, inviteOwnership as ox, LINK_RECORD_LABEL as oy, sameX401HolderJwk as p, PKARR_FUTURE_SKEW_MS as pC, turnKeys as pS, HANDOFF_PIECE_OVERHEAD as p_, decodeSvcbRecords as pa, isAppKey as pb, DEVICE_WAKE_TTL_SECONDS as pc, PeerProofs as pd, VOICE_LIMITS as pf, RTC_CONFIG as pg, DEPARTED_READ_MS as ph, parseDidSignaturePaste as pi, appDataFrame as pl, heardTime as pm, MAX_GROUP_META_BODY as pn, WAKE_ANSWER_GRACE_MS as po, REACTED_FRAME as pp, hash160 as pr, mergeLobby as ps, leaveStatement as pt, parseDomainTxt as pu, sortParts as pv, DEVICE_CAPABILITIES as px, REQUEST_PACKET_BYTES as py, signAppStore as q, stripHidden as qC, TURN_SOURCE_TIMEOUT_MS as qS, handoffVerifiedMessage as q_, FIRST_PAIRING_PACE_MS as qa, readDeviceInvite as qb, appRangeDataFrame as qc, DHT_FILE_TOO_LARGE as qd, parseEditFrame as qf, servicesToWire as qg, LIMITS as qh, parsePaymentAmount as qi, HoldRefusedError as ql, openSecret as qm, verifySshSignature as qn, groupSignalFrame as qo, STATUS_CARD_LIMITS as qp, DID_GHOSTLY_SERVICE as qr, parseTypingFrame as qs, chainPieces as qt, IDENTITY_SUBJECT as qu, REOPEN_BELOW as qv, TURN_NAME_BYTES as qx, checkAppManifest as qy, readX401OpenId4VpRequest as r, BREAKER_BASE_MS as rC, firstDeviceSetSecret as rS, HANDOFF_FILE_MISSING as r_, isBitcoinAddress as ra, APP_NAME as rb, PIN_LIMITS as rc, newIdentityBinding as rd, dhtFileId as rf, DATA_CHANNEL_LABEL as rg, OFFER_HOST_GATHER_MS as rh, didSignedMessages as ri, APP_FRAME as rl, readStatusCard as rm, parseCommunityEdit as rn, PAIRING_RETRY_MS as ro, parseLinkPreview as rp, verifyBip322 as rr, wireHubPolicy as rs, communityCommitHash as rt, NIP05_PATH as ru, readHandoffFileFrame as rv, toBase64 as rw, encodeGhostlyInvite as rx, ContactRequestError as ry, presentX401SdJwtVc as s, DiscoveryBudgetError as sC, readTurnPacket as sS, HANDOFF_LATER_BYTES as s_, isPubkyProofFolder as sa, appRef as sb, parsePinnedFrame as sc, verifyIdentityPresentation as sd, formatFileSize as sf, extractRtcParams as sg, DIRECT_OWN_ATTEMPTS as sh, didWebFileUrl as si, APP_RESUME_GRACE_MS as sl, statusCardText as sm, mentionsBytes as sn, RACE_RELAYED_MS as so, forwardedAgain as sp, decodeAnyBitcoinAddress as sr, doorHubs as ss, communityRoster as st, domainTxtRecord as su, readHandoffPake as sv, utf8Encode as sw, inviteQrSegments as sx, MAX_SEEN as sy, X401_REQUEST_LIMITS as t, traceLink as tC, TurnRecordError as tS, HANDOFF_DATA as t_, sparkNetworkOf as ta, sha256Paced as tb, PIN_CLOCK_SKEW_MS as tc, identityStatementText as td, DHT_FILE_CAPABILITY as tf, wrapDataChannel as tg, GATHER_ATTEMPTS as th, didGhostlyServiceEntry as ti, readAppRangeFrame as tl, cardUrl as tm, communityMessageAuthor as tn, PAIRED_FRAME_TOO_LARGE as to, linkEnd as tp, bip322ToSpend as tr, parseHubPolicy as ts, CommunitySession as tt, DOMAIN_METHODS as tu, readHandoffData as tv, isZ32Key as tw, createLink as tx, turnOff as ty, X401_CREDENTIAL_LIMITS as u, isDiscoveryBudgetError as uC, signTurnPacket as uS, HANDOFF_OFFER as u_, pubkyProofCapability as ua, appSignedBytes as ub, pinNumberHolds as uc, lastSharedWithMe as ud, sanitizeMime as uf, CALL_SIGNAL_FUTURE_MS as ug, directBlocked as uh, parseDid as ui, AppSessions as ul, MESSAGE_CLOCK_SKEW_MS as um, wireMentions as un, RTC_UNSTARTED_MS as uo, COMMUNITY_REACTION_FRAME as up, decodeWitness as ur, lobbyKeys as us, derivedSecret as ut, isPublicAddress as uu, readHandoffVerified as uv, __exportAll as uw, pastedAgain as ux, REQUEST_LABEL as uy, X401_SCHEME as v, newerPacket as vC, turnSequence as vS, HANDOFF_VERSION as v_, LNURL_LIMITS as va, readAppRevocations as vb, WAKE_INTERVAL_MS as vc, isProofAdapter as vd, formatVoiceDuration as vf, compressSdp as vg, LinkSession as vh, DID_DHT_PREFIX as vi, parseAppFrame as vl, GROUP_MEMBER_CAP as vm, groupDisplayName as vn, publishFailure as vo, parseReactedFrame as vp, varBytes as vr, readBeaconHead as vs, signCommunity as vt, validDomainRecord as vu, setAckFrame as vv, deviceEchoFrame as vx, contactDay as vy, decodeX401Header as w, decodeTxtPacket as wC, CHAT_RESERVE as wS, handoffAttemptAllowed as w_, parsePayParams as wa, verifyAppSignature as wb, parseWakeFrame as wc, storageProofBody as wd, voiceLevel as wf, keepsToRelays as wg, PRESENCE_WINDOW as wh, didDhtFromPublicKey as wi, EDIT_CAPABILITY as wl, OWN_FRAME_LIMIT as wm, groupMetaToHand as wn, PairingTracker as wo, reactionIsNewer as wp, atprotoProofRecord as wr, PairedCalls as ws, decodeGroupEntryLink as wt, CAPS_REFRESH_MS as wu, ENROLL_CANCEL as wv, deviceLinkRendezvousSeed as wx, makeStamp as wy, buildX401ProofResult as x, readOwnRelayPayload as xC, turnVerifierMark as xS, filePartDigest as x_, invoiceCallbackUrl as xa, signAppObject as xb, WakeLimiter as xc, proofHash as xd, recordingMime as xf, extractParamsFromSdp as xg, OFFER_LOOK_MS as xh, DidDhtError as xi, APP_RANGES_CAPABILITY as xl, MAX_GROUP_CHAIN as xm, groupMetaNewer as xn, engineError as xo, reactedFrame as xp, ATPROTO_PROOF_COLLECTION as xr, validHead as xs, GROUP_ENTRY_PROFILE as xt, CAPS_LABEL as xu, signTombstone as xv, deviceKeyZ32 as xx, knockSlotOf as xy, X401_VERSION as y, openRelayPayload as yC, turnSignedMessage as yS, HANDOFF_WINDOW as y_, fetchLnurlJson as ya, readAppSignature as yb, WAKE_SUBJECT as yc, nostrProofTemplate as yd, isPlayableAudioType as yf, contactRtcConfig as yg, MAX_DHT_TEXT_BYTES as yh, DID_DHT_TTL as yi, readAppFrame as yl, GROUP_VERSION_LARGE as ym, groupMetaBody as yn, ENGINE_ERRORS as yo, parseReactionFrame as yp, ATPROTO_DECLARED_SCOPE as yr, readLobby as ys, verifyCommunityChain as yt, wellKnownUrl as yu, setUpdateFrame as yv, deviceEchoNonce as yx, knockHolds as yy, planAppUpdate as z, MAX_AVATAR_LENGTH as zC, RELAY_REQUESTS_PER_MINUTE as zS, handoffManifestFrames as z_, BLOCKED_DIAL_WAIT_MS as za, readContactLink as zb, vapidKeysMatch as zc, checkedDescriptors as zd, EDIT_SEND_LIMIT as zf, MAX_SERVICES as zg, relativizeLocation as zh, TEST_USDT_FAUCET_AMOUNT as zi, PAIRED_PROFILE as zl, confirmationMatches as zm, SSH_PUBLIC_KEY_MAX as zn, GROUP_SIGNAL_FRAME as zo, BUTTON_STYLES as zp, parseAtprotoDidKey as zr, TYPING_RATE_WINDOW_MS as zs, groupWakes as zt, IDENTITY_MAX_EVIDENCE as zu, readEnrollGrant as zv, keptAtEqualSequence as zx, APP_ICON_PATH as zy };
35842
35995
 
35843
- //# sourceMappingURL=src-6TkCNWCQ.js.map
35996
+ //# sourceMappingURL=src-BQIrd6HM.js.map