@ghostlytools/sdk 1.8.0 → 1.8.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.
@@ -10760,6 +10760,18 @@ function cardUrl(value) {
10760
10760
  if (url.protocol !== "https:" || !url.hostname || url.username || url.password) return void 0;
10761
10761
  return url.href.length <= STATUS_CARD_LIMITS.url ? url.href : void 0;
10762
10762
  }
10763
+ /**
10764
+ * The link an app card names, sent or read (WISP 405 § An app): a card's link without its query or fragment. A
10765
+ * private file's read token rides in a query, and a card goes to a contact; a bundle is pinned by its digest, not its link.
10766
+ */
10767
+ function appCardUrl(value) {
10768
+ const href = cardUrl(value);
10769
+ if (!href) return void 0;
10770
+ const url = new URL(href);
10771
+ url.search = "";
10772
+ url.hash = "";
10773
+ return url.href;
10774
+ }
10763
10775
  /** The host a card shows beside a link, so the reader sees where it goes before following it. */
10764
10776
  function cardLinkHost(url) {
10765
10777
  try {
@@ -10877,7 +10889,7 @@ function readStatusCard(raw, now = Date.now()) {
10877
10889
  if (!isAppRef(raw.ref) || id !== appCardId(raw.ref) || !isAppHash(raw.digest) || !appSequence(raw.sequence)) return void 0;
10878
10890
  const title = cardLine(raw.title, STATUS_CARD_LIMITS.appTitle);
10879
10891
  if (!title) return void 0;
10880
- const version = cardLine(raw.version, STATUS_CARD_LIMITS.appVersion), url = cardUrl(raw.url);
10892
+ const version = cardLine(raw.version, STATUS_CARD_LIMITS.appVersion), url = appCardUrl(raw.url);
10881
10893
  return {
10882
10894
  kind: "app",
10883
10895
  id,
@@ -11215,8 +11227,8 @@ function removedCardText(of, title) {
11215
11227
  function statusCardText(card) {
11216
11228
  if (card.kind === "removed") return removedCardText(card.of);
11217
11229
  if (card.kind === "app") {
11218
- const named = `${card.title}${card.version ? ` ${card.version}` : ""}`;
11219
- return [card.opened ? `🧩 Opened ${named} in this chat (Ghostly app)` : `🧩 ${named} (Ghostly app)`, ...card.url ? [card.url] : []].join("\n");
11230
+ const named = `${card.title}${card.version ? ` ${card.version}` : ""}`, url = appCardUrl(card.url);
11231
+ return [card.opened ? `🧩 Opened ${named} in this chat (Ghostly app)` : `🧩 ${named} (Ghostly app)`, ...url ? [url] : []].join("\n");
11220
11232
  }
11221
11233
  if (card.kind === "usage") {
11222
11234
  const left = `${usageLeft(card)}% left${card.window ? ` (${card.window})` : ""}`;
@@ -14005,7 +14017,7 @@ function irohRelayUrl(value, spelling = "dotted") {
14005
14017
  const host = url.hostname, name = host.replace(/\.$/, "");
14006
14018
  if (!name.includes(".") && name !== "localhost") return value;
14007
14019
  if (name.startsWith("[") || /^\d+(\.\d+){3}$/.test(name)) return value;
14008
- const wanted = spelling === "plain" || name === "localhost" ? name : `${name}.`;
14020
+ const wanted = spelling === "dotted" && /(^|\.)iroh\.link$/.test(name) ? `${name}.` : name;
14009
14021
  if (wanted === host) return value;
14010
14022
  url.hostname = wanted;
14011
14023
  return url.href;
@@ -14025,6 +14037,14 @@ function irohDescriptor(descriptor, spelling = "dotted") {
14025
14037
  * as a test relay is (the same rule as the relay settings).
14026
14038
  */
14027
14039
  var RELAY_URL = /^((https|wss):\/\/[^\s]{1,120}|(http|ws):\/\/(127\.0\.0\.1|localhost|\[::1\])(:\d{1,5})?(\/[^\s]{0,100})?)$/;
14040
+ /**
14041
+ * A relay URL with more than its server's address in it: a login, a query or a fragment, which no relay setting takes
14042
+ * (irohWeb.ts `irohRelayProblem`, hyperdhtRelay.ts `hyperdhtRelayProblem`). An older app named its HyperDHT relay as
14043
+ * set, with them; such a descriptor is not dialed or kept, and the rest of what the contact told still is.
14044
+ */
14045
+ var RELAY_WITH_SECRETS = /^[a-z]+:\/\/[^/?#]*@|[?#]/i;
14046
+ /** A relay URL a descriptor may name: `RELAY_URL`, with nothing but the server's address in it. */
14047
+ var relayUrl = (value) => typeof value === "string" && RELAY_URL.test(value) && !RELAY_WITH_SECRETS.test(value);
14028
14048
  var HEX_KEY = /^[0-9a-f]{64}$/;
14029
14049
  /** An Iroh direct address as the adapters parse it: an IPv4 or bracketed IPv6 address and its port. */
14030
14050
  var SOCKET_ADDRESS = /^(\d{1,3}(\.\d{1,3}){3}|\[[0-9A-Fa-f:.]{2,45}(%[A-Za-z0-9._-]{1,16})?\]):\d{1,5}$/;
@@ -14032,7 +14052,7 @@ var MAX_ADDRESSES = 8;
14032
14052
  /**
14033
14053
  * A contact's native descriptors as it tells them on a session (`paired-policy`, `paired-adapters`) or as this app
14034
14054
  * kept them: only what the adapters dial, each field in the shape its adapter makes. The keys are 64 hex characters,
14035
- * a relay passes `RELAY_URL` (the rule its capability record is read by), an Iroh descriptor lists at most eight
14055
+ * a relay passes `relayUrl` (the rule its capability record is read by), an Iroh descriptor lists at most eight
14036
14056
  * socket addresses. A descriptor that is anything else is left out, as one the contact never told; a field this app
14037
14057
  * does not know is not kept.
14038
14058
  */
@@ -14040,17 +14060,16 @@ function checkedDescriptors(value) {
14040
14060
  const out = {};
14041
14061
  if (!value || typeof value !== "object" || Array.isArray(value)) return out;
14042
14062
  const raw = value;
14043
- const relay = (v) => typeof v === "string" && RELAY_URL.test(v);
14044
14063
  const relayed = (v) => v === void 0 || typeof v === "boolean";
14045
14064
  const iroh = raw["iroh/1"];
14046
- if (iroh && typeof iroh === "object" && typeof iroh.id === "string" && HEX_KEY.test(iroh.id) && (iroh.relay === void 0 || iroh.relay === null || relay(iroh.relay)) && relayed(iroh.relayed) && Array.isArray(iroh.addresses) && iroh.addresses.length <= MAX_ADDRESSES && iroh.addresses.every((a) => typeof a === "string" && SOCKET_ADDRESS.test(a))) out["iroh/1"] = {
14065
+ if (iroh && typeof iroh === "object" && typeof iroh.id === "string" && HEX_KEY.test(iroh.id) && (iroh.relay === void 0 || iroh.relay === null || relayUrl(iroh.relay)) && relayed(iroh.relayed) && Array.isArray(iroh.addresses) && iroh.addresses.length <= MAX_ADDRESSES && iroh.addresses.every((a) => typeof a === "string" && SOCKET_ADDRESS.test(a))) out["iroh/1"] = {
14047
14066
  id: iroh.id,
14048
14067
  relay: iroh.relay ?? null,
14049
14068
  addresses: [...iroh.addresses],
14050
14069
  ...iroh.relayed !== void 0 ? { relayed: iroh.relayed } : {}
14051
14070
  };
14052
14071
  const hyper = raw["hyperdht/1"];
14053
- if (hyper && typeof hyper === "object" && typeof hyper.publicKey === "string" && HEX_KEY.test(hyper.publicKey) && (hyper.relay === void 0 || relay(hyper.relay)) && relayed(hyper.relayed)) out["hyperdht/1"] = {
14072
+ if (hyper && typeof hyper === "object" && typeof hyper.publicKey === "string" && HEX_KEY.test(hyper.publicKey) && (hyper.relay === void 0 || relayUrl(hyper.relay)) && relayed(hyper.relayed)) out["hyperdht/1"] = {
14054
14073
  publicKey: hyper.publicKey,
14055
14074
  ...hyper.relay !== void 0 ? { relay: hyper.relay } : {},
14056
14075
  ...hyper.relayed !== void 0 ? { relayed: hyper.relayed } : {}
@@ -14752,7 +14771,7 @@ async function verifyPeerProof(event, c, readStorage) {
14752
14771
  if (sig.length !== 64 || !verify(sig, data, fromZ32(c.externalKey))) throw new Error("Invalid Pubky signature");
14753
14772
  } else if (c.adapter === "keet-import") {
14754
14773
  if (sig.length !== 107 || sig[0] !== 1 || sig[41] !== 0 || sig[42] !== 1) throw new Error("Unsupported Keet attestation");
14755
- const { default: IdentityKey } = await import("./keet-identity-key-Db5KY0V1.js").then((m) => /* @__PURE__ */ __toESM(m.default, 1));
14774
+ const { default: IdentityKey } = await import("./keet-identity-key-uq3scTiE.js").then((m) => /* @__PURE__ */ __toESM(m.default, 1));
14756
14775
  if (!IdentityKey.verify(b4a.from(sig), b4a.from(data), { expectedIdentity: b4a.from(unhex(c.externalKey)) })) throw new Error("Invalid Keet attestation");
14757
14776
  } else throw new Error("Unsupported proof adapter");
14758
14777
  }
@@ -15788,12 +15807,12 @@ function capsDescriptors(descriptors) {
15788
15807
  const iroh = descriptors?.["iroh/1"];
15789
15808
  if (iroh && typeof iroh.id === "string" && HEX64$1.test(iroh.id)) out["iroh/1"] = {
15790
15809
  id: hexToKey(iroh.id),
15791
- ...typeof iroh.relay === "string" && RELAY_URL.test(iroh.relay) ? { relay: iroh.relay } : {}
15810
+ ...relayUrl(iroh.relay) ? { relay: iroh.relay } : {}
15792
15811
  };
15793
15812
  const hyper = descriptors?.["hyperdht/1"];
15794
15813
  if (hyper && typeof hyper.publicKey === "string" && HEX64$1.test(hyper.publicKey)) out["hyperdht/1"] = {
15795
15814
  publicKey: hexToKey(hyper.publicKey),
15796
- ...typeof hyper.relay === "string" && RELAY_URL.test(hyper.relay) ? { relay: hyper.relay } : {}
15815
+ ...relayUrl(hyper.relay) ? { relay: hyper.relay } : {}
15797
15816
  };
15798
15817
  return out;
15799
15818
  }
@@ -15827,16 +15846,17 @@ function parseDescriptors(value) {
15827
15846
  const raw = value;
15828
15847
  const out = {};
15829
15848
  const iroh = raw["iroh/1"], hyper = raw["hyperdht/1"];
15849
+ const withSecrets = (relay) => typeof relay === "string" && RELAY_WITH_SECRETS.test(relay);
15830
15850
  if (iroh !== void 0) {
15831
15851
  if (!iroh || typeof iroh.id !== "string" || !KEY.test(iroh.id) || iroh.relay !== void 0 && (typeof iroh.relay !== "string" || !RELAY_URL.test(iroh.relay))) return null;
15832
- out["iroh/1"] = {
15852
+ if (!withSecrets(iroh.relay)) out["iroh/1"] = {
15833
15853
  id: iroh.id,
15834
15854
  ...iroh.relay !== void 0 ? { relay: iroh.relay } : {}
15835
15855
  };
15836
15856
  }
15837
15857
  if (hyper !== void 0) {
15838
15858
  if (!hyper || typeof hyper.publicKey !== "string" || !KEY.test(hyper.publicKey) || hyper.relay !== void 0 && (typeof hyper.relay !== "string" || !RELAY_URL.test(hyper.relay))) return null;
15839
- out["hyperdht/1"] = {
15859
+ if (!withSecrets(hyper.relay)) out["hyperdht/1"] = {
15840
15860
  publicKey: hyper.publicKey,
15841
15861
  ...hyper.relay !== void 0 ? { relay: hyper.relay } : {}
15842
15862
  };
@@ -19057,8 +19077,20 @@ var FILE_LIMITS = {
19057
19077
  stallMs: 6e4,
19058
19078
  /** A receiver makes what it stored durable, and records the point to resume from, this often. */
19059
19079
  checkpointBytes: 8388608,
19060
- /** A receiver confirms at least this often while writing. */
19080
+ /**
19081
+ * A receiver confirms at least this often while writing, and the file's last bytes at once. Its writes are buffered
19082
+ * and done at once, so confirming whenever they were all done too was confirming nearly every chunk: 6,400 confirms for
19083
+ * 100 MiB, each a native call and a progress update on both sides. A host that batches them (`batchConfirms`) does not.
19084
+ */
19061
19085
  ackEveryBytes: 131072,
19086
+ /**
19087
+ * Batched (`ChatFilesHost.batchConfirms`), bytes stored and not confirmed are confirmed this long after the first of
19088
+ * them was stored, at most. What a sender has in flight may be no more than `ackEveryBytes` (a window at its floor, one
19089
+ * chunk while the path is measured), and bytes waiting here for a confirm are bytes it cannot send: on a slow or
19090
+ * wavering path a confirm comes about every this long, as fast as the window needs. A round trip it measures is up to
19091
+ * this much longer, well inside the queue it allows (`queueMs`).
19092
+ */
19093
+ ackWaitMs: 10,
19062
19094
  /** A sender reads its file this much at a time. */
19063
19095
  readBytes: 1048576,
19064
19096
  /** The session refused a data frame (its send budget was full): the sender looks again after this long. */
@@ -19395,6 +19427,13 @@ var ChatFiles = class {
19395
19427
  peerRoomValue = null;
19396
19428
  /** What the chat's files may have in flight, sized by the path. */
19397
19429
  pace = new FilePace();
19430
+ /**
19431
+ * What the chat's files had in flight just before the last confirm. A receiver confirms many chunks at once
19432
+ * (`ackEveryBytes`), and the chunks sent for them go with that much in flight, the window: counted one by one, the
19433
+ * first went with the window less a confirm, and read as a path carrying that little, it shrank the window and ended
19434
+ * every trial of a larger one (a fifth of the rate on a wavering path). Confirmed chunk by chunk, it is what each sends with.
19435
+ */
19436
+ refill = 0;
19398
19437
  constructor(host) {
19399
19438
  this.host = host;
19400
19439
  }
@@ -19479,6 +19518,7 @@ var ChatFiles = class {
19479
19518
  this.attached = true;
19480
19519
  this.peerRoomValue = null;
19481
19520
  this.pace.reset();
19521
+ this.refill = 0;
19482
19522
  this.host.uplink?.join(this);
19483
19523
  this.sayRoom();
19484
19524
  this.sweep();
@@ -19514,7 +19554,11 @@ var ChatFiles = class {
19514
19554
  clearTimeout(entry.out.wake);
19515
19555
  entry.out.next = entry.record.confirmed;
19516
19556
  }
19517
- if (entry.in) clearTimeout(entry.in.timer);
19557
+ if (entry.in) {
19558
+ clearTimeout(entry.in.timer);
19559
+ clearTimeout(entry.in.ackTimer);
19560
+ entry.in.ackTimer = void 0;
19561
+ }
19518
19562
  if (entry.in && !transferEnded(entry.record)) this.checkpoint(entry);
19519
19563
  }
19520
19564
  }
@@ -19708,7 +19752,7 @@ var ChatFiles = class {
19708
19752
  out.sends.push({
19709
19753
  end: out.next,
19710
19754
  at: this.now(),
19711
- flight: this.inFlight(),
19755
+ flight: Math.max(this.inFlight(), Math.min(this.refill, this.pace.limit(this.floor()))),
19712
19756
  generation
19713
19757
  });
19714
19758
  }
@@ -20057,6 +20101,7 @@ var ChatFiles = class {
20057
20101
  /** An agreed file that ended here, offered again: taken again from the start. */
20058
20102
  async retake(entry) {
20059
20103
  await entry.in?.target?.then((t) => t.discard()).catch(() => {});
20104
+ clearTimeout(entry.in?.ackTimer);
20060
20105
  entry.in = {
20061
20106
  written: 0,
20062
20107
  stored: 0,
@@ -20109,15 +20154,8 @@ var ChatFiles = class {
20109
20154
  if (transferEnded(record) || incoming.dropped) return;
20110
20155
  await (await target).append(bytes);
20111
20156
  incoming.stored = offset + bytes.length;
20112
- if (incoming.stored === incoming.written || incoming.stored - incoming.acked >= FILE_LIMITS.ackEveryBytes) {
20113
- incoming.acked = incoming.stored;
20114
- this.send({
20115
- t: "pf-got",
20116
- id: record.id,
20117
- offset: incoming.stored
20118
- });
20119
- this.changed(entry, true);
20120
- }
20157
+ if (incoming.stored - incoming.acked >= FILE_LIMITS.ackEveryBytes || incoming.stored === record.file.size || !this.host.batchConfirms && incoming.stored === incoming.written) this.confirm(entry);
20158
+ else if (this.host.batchConfirms) incoming.ackTimer ??= setTimeout(() => this.confirm(entry), FILE_LIMITS.ackWaitMs);
20121
20159
  if (incoming.stored - incoming.checkpointed >= FILE_LIMITS.checkpointBytes) await this.checkpointNow(entry);
20122
20160
  }).catch((error) => {
20123
20161
  if (transferEnded(record)) return;
@@ -20131,6 +20169,20 @@ var ChatFiles = class {
20131
20169
  this.startNext();
20132
20170
  });
20133
20171
  }
20172
+ /** `pf-got` for what is stored and not confirmed yet. */
20173
+ confirm(entry) {
20174
+ const { record } = entry, incoming = entry.in;
20175
+ clearTimeout(incoming.ackTimer);
20176
+ incoming.ackTimer = void 0;
20177
+ if (transferEnded(record) || incoming.stored <= incoming.acked) return;
20178
+ incoming.acked = incoming.stored;
20179
+ this.send({
20180
+ t: "pf-got",
20181
+ id: record.id,
20182
+ offset: incoming.stored
20183
+ });
20184
+ this.changed(entry, true);
20185
+ }
20134
20186
  /** What was stored is durable, and a restart resumes from there. */
20135
20187
  async checkpoint(entry) {
20136
20188
  if (!entry.in?.target) return;
@@ -20296,6 +20348,7 @@ var ChatFiles = class {
20296
20348
  out.generation++;
20297
20349
  record.confirmed = frame.offset;
20298
20350
  out.next = frame.offset;
20351
+ this.refill = 0;
20299
20352
  record.state = "active";
20300
20353
  record.pausedBy = record.waitingFor = void 0;
20301
20354
  this.changed(outgoing);
@@ -20323,6 +20376,7 @@ var ChatFiles = class {
20323
20376
  return;
20324
20377
  case "pf-got": {
20325
20378
  if (!isInt$1(frame.offset) || frame.offset <= record.confirmed || frame.offset > out.next) return;
20379
+ this.refill = this.inFlight();
20326
20380
  this.pace.delivered += frame.offset - record.confirmed;
20327
20381
  record.confirmed = frame.offset;
20328
20382
  let sample;
@@ -20367,6 +20421,8 @@ var ChatFiles = class {
20367
20421
  if (entry.in) {
20368
20422
  const incoming = entry.in;
20369
20423
  clearTimeout(incoming.timer);
20424
+ clearTimeout(incoming.ackTimer);
20425
+ incoming.ackTimer = void 0;
20370
20426
  incoming.writing.finally(() => {
20371
20427
  if (transferEnded(record)) incoming.target = void 0;
20372
20428
  });
@@ -21121,6 +21177,8 @@ var CarriedTransport = class {
21121
21177
  seen = -1n;
21122
21178
  /** A read under way: resolved when a carried packet comes meanwhile. */
21123
21179
  waiting = null;
21180
+ /** The records of a publish refused before they were signed, while nobody could carry them: signed when one can (`latest`). */
21181
+ unsigned = null;
21124
21182
  /** The packet the relays have not got yet. */
21125
21183
  pending = null;
21126
21184
  /** How many carried packets of the member's came: a deferral that ends with none more says no member reaches it. */
@@ -21153,6 +21211,7 @@ var CarriedTransport = class {
21153
21211
  async publish(identity, records, options) {
21154
21212
  if (this.stopped || identity.pubKeyZ32 !== this.myKey) return this.inner.publish(identity, records, options);
21155
21213
  this.drop();
21214
+ this.unsigned = null;
21156
21215
  if (this.hooks.open()) {
21157
21216
  const relayOptions = options?.signal ? options : {
21158
21217
  ...options,
@@ -21166,6 +21225,16 @@ var CarriedTransport = class {
21166
21225
  if (this.hooks.direct && this.inner.publishPayload) published.then(() => this.handDirect(payload), () => {});
21167
21226
  return published;
21168
21227
  }
21228
+ if (this.hooks.canCarry && !this.hooks.canCarry()) {
21229
+ const held = this.inner.publishHeld?.(identity.pubKeyZ32, options);
21230
+ if (held) {
21231
+ this.unsigned = {
21232
+ identity,
21233
+ records
21234
+ };
21235
+ throw held;
21236
+ }
21237
+ }
21169
21238
  const payload = this.newest = this.stamp(identity, records);
21170
21239
  this.mine = payload;
21171
21240
  let carried = {
@@ -21332,13 +21401,20 @@ var CarriedTransport = class {
21332
21401
  }
21333
21402
  /** My newest packet for this edge while it is down, for a member that can pass it on now; null once it is up. */
21334
21403
  latest() {
21335
- return this.stopped || this.hooks.open() ? null : this.mine;
21404
+ if (this.stopped || this.hooks.open()) return null;
21405
+ if (this.unsigned) {
21406
+ const { identity, records } = this.unsigned;
21407
+ this.unsigned = null;
21408
+ this.mine = this.newest = this.stamp(identity, records);
21409
+ }
21410
+ return this.mine;
21336
21411
  }
21337
21412
  /** The edge is going: nothing more is deferred or carried, and a last packet goes straight to the relays. */
21338
21413
  stop() {
21339
21414
  this.stopped = true;
21340
21415
  this.drop();
21341
21416
  this.mine = null;
21417
+ this.unsigned = null;
21342
21418
  const waiting = this.waiting;
21343
21419
  this.waiting = null;
21344
21420
  waiting?.();
@@ -23594,6 +23670,9 @@ var GhostLink = class {
23594
23670
  this.advertiseTransports();
23595
23671
  this.options.events?.onTransportsChanged?.();
23596
23672
  };
23673
+ endpoint.onRelayBack = () => {
23674
+ if (this.endpoints.get(endpoint.transport) === endpoint) this.knockAgain(endpoint.transport);
23675
+ };
23597
23676
  this.advertiseTransports();
23598
23677
  if (this.resuming === endpoint.transport) this.knock(endpoint.transport);
23599
23678
  else this.joinRace(endpoint.transport);
@@ -23771,6 +23850,11 @@ var GhostLink = class {
23771
23850
  if (!this.transportOffer().includes(transport)) return;
23772
23851
  const epoch = this.connectionEpoch;
23773
23852
  this.dialing = true;
23853
+ const knocking = this.knocking = {
23854
+ transport,
23855
+ epoch,
23856
+ again: false
23857
+ };
23774
23858
  traceLink(this.myPubKeyZ32, "knock", { transport });
23775
23859
  try {
23776
23860
  const { channel, binding } = await endpoint.connect(descriptor);
@@ -23785,6 +23869,7 @@ var GhostLink = class {
23785
23869
  error: error instanceof Error ? error.message : String(error)
23786
23870
  });
23787
23871
  } finally {
23872
+ if (this.knocking === knocking) this.knocking = null;
23788
23873
  if (epoch === this.connectionEpoch) {
23789
23874
  this.dialing = false;
23790
23875
  this.settleCrossed();
@@ -23792,6 +23877,36 @@ var GhostLink = class {
23792
23877
  }
23793
23878
  if (!this.channel) this.maybeAutoConnect(this.presence);
23794
23879
  }
23880
+ /** The knock under way (`knock`): its transport, its attempt, and whether it was knocked again (`knockAgain`). */
23881
+ knocking = null;
23882
+ /**
23883
+ * The endpoint of a knock still under way is back on its relay (`NativeEndpoint.onRelayBack`): it is knocked again, once,
23884
+ * beside the first, and the first live wins. An Android phone back from Doze knocked at once through an Iroh whose relay
23885
+ * was gone; Iroh found it again only seconds later (its reconnect backoff, up to 16 s), and what the knock sent meanwhile
23886
+ * went nowhere: QUIC sends it again seconds on, and the dial is given 20 s. Live again 4.4 s and 9.8 s after the
23887
+ * return (away 5 and 15 minutes), and once not over Iroh at all (the emulator with a CLI bot, 2026-11-01).
23888
+ */
23889
+ async knockAgain(transport) {
23890
+ const knocking = this.knocking;
23891
+ if (!knocking || knocking.transport !== transport || knocking.again || knocking.epoch !== this.connectionEpoch) return;
23892
+ const endpoint = this.endpoints.get(transport), descriptor = this.peerDescriptors[transport];
23893
+ if (!endpoint || !descriptor || this.channel || this.stopped || this.streamBlocked || this.keyStopped) return;
23894
+ knocking.again = true;
23895
+ traceLink(this.myPubKeyZ32, "knock-again", { transport });
23896
+ try {
23897
+ const { channel, binding } = await endpoint.connect(descriptor);
23898
+ if (this.stopped || knocking.epoch !== this.connectionEpoch || this.channel) {
23899
+ channel.close();
23900
+ return;
23901
+ }
23902
+ this.attach(channel, binding);
23903
+ } catch (error) {
23904
+ traceLink(this.myPubKeyZ32, "knock-again-failed", {
23905
+ transport,
23906
+ error: error instanceof Error ? error.message : String(error)
23907
+ });
23908
+ }
23909
+ }
23795
23910
  canReleaseEndpoint(transport) {
23796
23911
  return this.activeBinding?.transport !== transport && this.candidate?.binding?.transport !== transport && !this.dialing && !this.switcher.pending && !this.transitionTarget;
23797
23912
  }
@@ -31451,16 +31566,10 @@ var GroupSession = class {
31451
31566
  /** Set while a save of what received messages changed is due (`persistSoon`). */
31452
31567
  saveTimer;
31453
31568
  /**
31454
- * The frames of members who left that each member was handed (`frameKey`), so an app that does not take them (from
31455
- * before revision 2026-10-13, and never marks them seen) is not handed them again at every sync. In memory only.
31569
+ * The removals of authors out of the roster that each member was handed (`editKey`), so an app that does not take
31570
+ * them is not handed them again at every sync. In memory only.
31456
31571
  */
31457
31572
  leaversHanded = /* @__PURE__ */ new Map();
31458
- /**
31459
- * The frames a commit took out of the logs (`pruneRelay`), newest last, and whether the app holds them with its
31460
- * messages: a removal's `left` mark can come after its commit, and what the leaver wrote is then kept again
31461
- * (`unprune`). In memory only: started again, the app's rows bring theirs back.
31462
- */
31463
- pruned = [];
31464
31573
  /** Syncs answered per member, a few a minute (`GROUP_LIMITS.syncAnswers`). In memory only. */
31465
31574
  syncsAnswered = /* @__PURE__ */ new Map();
31466
31575
  /**
@@ -31474,6 +31583,8 @@ var GroupSession = class {
31474
31583
  * message written just now. Each frame of the answer keeps it open: it goes a slice at a time. In memory only.
31475
31584
  */
31476
31585
  answering = /* @__PURE__ */ new Map();
31586
+ /** Per member ahead of me: the epoch its last sync said, up to which its answer to mine brings the chain. In memory only. */
31587
+ syncedEpoch = /* @__PURE__ */ new Map();
31477
31588
  /** Catch-up answers still going out, a slice at a time (`handOut`). */
31478
31589
  answers;
31479
31590
  /**
@@ -31496,20 +31607,20 @@ var GroupSession = class {
31496
31607
  if (onRows) {
31497
31608
  const held = new Set(onRows.map(frameKey$1));
31498
31609
  if (state.relay?.length) state.relay = state.relay.filter((f) => !held.has(frameKey$1(f)));
31499
- this.onRows = state.status === "active" ? onRows.filter((f) => this.handsOn(f.s, f.e)) : [];
31610
+ this.onRows = state.status === "active" ? onRows.filter((f) => this.handsOn(f.s)) : [];
31500
31611
  this.trimRelay();
31501
31612
  }
31502
31613
  this.answers = new CatchUpAnswers({
31503
31614
  send: (to, frame) => {
31504
- if ((frame.t === "group-msg" || frame.t === "group-edit") && !rosterHas(this.roster, frame.s)) {
31615
+ if (frame.t === "group-edit" && !rosterHas(this.roster, frame.s)) {
31505
31616
  const handed = this.leaversHanded.get(to) ?? /* @__PURE__ */ new Set();
31506
- this.leaversHanded.set(to, handed.add(frame.t === "group-edit" ? editKey(frame) : frameKey$1(frame)));
31617
+ this.leaversHanded.set(to, handed.add(editKey(frame)));
31507
31618
  }
31508
31619
  return hooks.send(to, frame);
31509
31620
  },
31510
31621
  ...hooks.handled && { handled: (to) => hooks.handled(to) },
31511
31622
  active: () => this.state.status === "active",
31512
- key: (frame) => frame.t === "group-msg" ? frameKey$1(frame) : void 0
31623
+ key: (frame) => frame.t === "group-msg" ? frameKey$1(frame) : frame.t === "group-commit" ? `commit:${frame.commit.e}` : void 0
31513
31624
  });
31514
31625
  this.provisional = new Set((state.provisional ?? []).slice(-GROUP_LIMITS.provisional));
31515
31626
  this.chainMovedAt = this.clock();
@@ -31798,8 +31909,9 @@ var GroupSession = class {
31798
31909
  return this.hooks.save(structuredClone(this.state));
31799
31910
  }
31800
31911
  /**
31801
- * A save within `GROUP_LIMITS.saveWithinMs`, for what a received message changes (what was seen, what is kept to hand
31802
- * on): the state holds the whole hand-on log, and a member back in a busy group wrote all of it once per message.
31912
+ * A save within `GROUP_LIMITS.saveWithinMs`, for what a received message, commit or secret changes (what was seen,
31913
+ * what is kept to hand on, the chain): the state holds the whole hand-on log and chain, and a member back in a busy
31914
+ * group wrote all of it once per message, and once per commit.
31803
31915
  * The message itself is stored before (`hooks.message`). An app killed before the save takes those frames again when
31804
31916
  * it syncs: its store has the messages already, and the state then catches up.
31805
31917
  */
@@ -31907,7 +32019,7 @@ var GroupSession = class {
31907
32019
  }
31908
32020
  transferAdmin(memberKey, now = Date.now()) {
31909
32021
  return this.serialize(async () => {
31910
- this.requireAdmin();
32022
+ this.requireAdmin("Only the admin can hand the admin role over");
31911
32023
  if (!rosterHas(this.roster, memberKey) || memberKey === this.myKey) throw new Error("Not a member");
31912
32024
  await this.commit("role", memberKey, now);
31913
32025
  });
@@ -31968,18 +32080,10 @@ var GroupSession = class {
31968
32080
  this.hooks.changed();
31969
32081
  return { secret };
31970
32082
  }
31971
- /**
31972
- * Someone removed is not handed on any more, whatever they sent while in the roster; one who left still is, for the
31973
- * epochs before its leave (WISP 902 § Catch-up).
31974
- */
32083
+ /** Someone removed or gone is not handed on any more, whatever they sent while in the roster (WISP 902 § Catch-up). */
31975
32084
  pruneRelay() {
31976
- const prune = (log, row) => log.filter((f) => this.handsOn(f.s, f.e) || (this.pruned.push({
31977
- frame: f,
31978
- row
31979
- }), false));
31980
- if (this.state.relay?.length) this.state.relay = prune(this.state.relay, false);
31981
- if (this.onRows?.length) this.onRows = prune(this.onRows, true);
31982
- this.pruned.splice(0, this.pruned.length - GROUP_LIMITS.relay);
32085
+ if (this.state.relay?.length) this.state.relay = this.state.relay.filter((f) => this.handsOn(f.s));
32086
+ if (this.onRows?.length) this.onRows = this.onRows.filter((f) => this.handsOn(f.s));
31983
32087
  if (this.state.relayEdits?.length) this.state.relayEdits = this.state.relayEdits.filter((f) => rosterHas(this.roster, f.s) || this.isRemovalEdit(f));
31984
32088
  }
31985
32089
  /** Whether a kept edit is a removal (WISP 400 § Delete for everyone): its box, under its epoch's key, says `rm`. */
@@ -31993,18 +32097,6 @@ var GroupSession = class {
31993
32097
  return false;
31994
32098
  }
31995
32099
  }
31996
- /** The frames `pruneRelay` dropped that are handed on again now (a removal's `left` mark came after it), back in their logs. */
31997
- unprune() {
31998
- const back = this.pruned.filter((p) => this.handsOn(p.frame.s, p.frame.e));
31999
- if (!back.length) return;
32000
- this.pruned = this.pruned.filter((p) => !back.includes(p));
32001
- for (const { frame, row } of back) {
32002
- const log = row && this.onRows ? this.onRows : this.state.relay ??= [];
32003
- const at = log.findIndex((f) => f.ts > frame.ts);
32004
- log.splice(at < 0 ? log.length : at, 0, frame);
32005
- }
32006
- this.trimRelay();
32007
- }
32008
32100
  /** Another member's edit, kept to hand on: the latest per message; the oldest go once the log is full. False: one as new was kept. */
32009
32101
  keepEdit(frame) {
32010
32102
  const same = (f) => f.s === frame.s && f.e === frame.e && f.n === frame.n;
@@ -32069,7 +32161,6 @@ var GroupSession = class {
32069
32161
  this.state.sent = [];
32070
32162
  this.state.relay = [];
32071
32163
  if (this.onRows) this.onRows = [];
32072
- this.pruned = [];
32073
32164
  this.state.relayEdits = [];
32074
32165
  this.state.alone = [];
32075
32166
  this.waiting = [];
@@ -32572,8 +32663,8 @@ var GroupSession = class {
32572
32663
  }
32573
32664
  /**
32574
32665
  * A message, from its author's edge or handed on by another member. Handed on, it is taken only while both are in
32575
- * the roster (someone removed is neither heard from nor handed on, #300), or from a member in it when its author left
32576
- * after it (`handsOn`), and its boxes only with the author's `xs`.
32666
+ * the roster (someone removed or gone is neither heard from nor handed on, #300, `handsOn`), and its boxes only with
32667
+ * the author's `xs`.
32577
32668
  */
32578
32669
  async receiveMessage(from, raw, waited = false) {
32579
32670
  if (!isMessageFrame$1(raw)) return;
@@ -32584,7 +32675,7 @@ var GroupSession = class {
32584
32675
  const relayed = raw.s !== from;
32585
32676
  const now = this.now(), answer = (this.answering.get(from) ?? 0) > now;
32586
32677
  if (answer) this.answering.set(from, now + ANSWER_WINDOW_MS);
32587
- if (relayed && (!rosterHas(this.roster, from) || !this.handsOn(raw.s, raw.e))) return;
32678
+ if (relayed && (!rosterHas(this.roster, from) || !this.handsOn(raw.s))) return;
32588
32679
  if (this.isDuplicate(raw)) return;
32589
32680
  const signedWhole = relayed && this.wholeSigned(raw);
32590
32681
  if (!signedWhole && !verify(fromBase64Url(raw.sig), messageSigned$1(raw), publicKeyFromZ32(raw.s))) return;
@@ -32635,7 +32726,7 @@ var GroupSession = class {
32635
32726
  this.markSeen(raw);
32636
32727
  this.keep(clean(raw));
32637
32728
  this.persistSoon();
32638
- if (this.handsOn(raw.s, raw.e)) this.took(clean(raw));
32729
+ if (this.handsOn(raw.s)) this.took(clean(raw));
32639
32730
  return;
32640
32731
  }
32641
32732
  const id = first && !this.provisional.has(own) ? groupMessageId(raw.s, first.e, first.n) : own;
@@ -32673,7 +32764,7 @@ var GroupSession = class {
32673
32764
  if (firstFrame && rosterHas(this.state.chain[firstFrame.e]?.m ?? [], this.myKey)) this.markSeen(firstFrame);
32674
32765
  this.keep(clean(raw));
32675
32766
  this.persistSoon();
32676
- if (this.handsOn(raw.s, raw.e)) this.took(clean(raw));
32767
+ if (this.handsOn(raw.s)) this.took(clean(raw));
32677
32768
  }
32678
32769
  /**
32679
32770
  * An edit of a member's own message, from its author's edge or handed on by another member: believed only while its
@@ -32853,6 +32944,14 @@ var GroupSession = class {
32853
32944
  this.asked.set(from, now);
32854
32945
  this.hooks.send(from, this.syncFrame([], from));
32855
32946
  }
32947
+ /**
32948
+ * Whether my sync to `from` (the one my edge opened with) still waits for its answer, which has the chain from the
32949
+ * epoch it said: asking again on reading its newer sync, or a commit of that answer, had each commit I missed sent
32950
+ * twice, each with a secret sealed again (200 missed went as 400 frames, 1,456 when answers go a slice at a time).
32951
+ */
32952
+ awaitsAnswer(from) {
32953
+ return (this.answering.get(from) ?? 0) > this.now();
32954
+ }
32856
32955
  async replayWaiting() {
32857
32956
  await this.metaFollowsChain();
32858
32957
  const ready = this.waiting.filter((w) => w.frame.e <= this.epoch && !!this.state.secrets[w.frame.e]);
@@ -32867,15 +32966,13 @@ var GroupSession = class {
32867
32966
  const raw = frame.commit;
32868
32967
  if (!raw || typeof raw !== "object" || !Number.isSafeInteger(raw.e)) return;
32869
32968
  const e = raw.e;
32969
+ if (this.awaitsAnswer(from)) this.answering.set(from, this.now() + ANSWER_WINDOW_MS);
32870
32970
  if (e <= this.epoch) {
32871
32971
  const known = this.state.chain[e];
32872
32972
  const result = verifyCommit(raw, this.state.chain[e - 1] ?? null, this.id);
32873
32973
  if ("error" in result || result.commit.by !== known.by || result.commit.by !== this.admin) return;
32874
32974
  if (commitHash(result.commit) !== commitHash(known)) await this.fork(`Member ${from.slice(0, 8)} holds a different membership history for epoch ${e}`);
32875
- else if (this.takeLeftMark(known, frame.left)) {
32876
- this.unprune();
32877
- await this.persist();
32878
- }
32975
+ else if (this.takeLeftMark(known, frame.left)) await this.persist();
32879
32976
  return;
32880
32977
  }
32881
32978
  if (e > this.epoch + 1) {
@@ -32897,7 +32994,7 @@ var GroupSession = class {
32897
32994
  commit: result.commit,
32898
32995
  ...mark ? { left: mark } : {}
32899
32996
  });
32900
- if (this.state.status === "active" && !this.state.secrets[this.epoch]) this.ask(from);
32997
+ if (this.state.status === "active" && !this.state.secrets[this.epoch] && !(this.awaitsAnswer(from) && this.epoch < (this.syncedEpoch.get(from) ?? 0))) this.ask(from);
32901
32998
  const next = this.pendingCommits.get(this.epoch + 1);
32902
32999
  if (next) {
32903
33000
  this.pendingCommits.delete(this.epoch + 1);
@@ -32905,21 +33002,12 @@ var GroupSession = class {
32905
33002
  }
32906
33003
  }
32907
33004
  /**
32908
- * Whether a frame of `author` under `epoch` is taken from another member, kept and handed on: while its author is in
32909
- * the roster, or when it left (its removal marked `left`, and it is not back in) and the frame is from before that,
32910
- * and from after any removal of it before that was not a leave: let back in, it is not handed on for those epochs.
33005
+ * Whether a frame of `author` is taken from another member, kept and handed on: only while its author is in the
33006
+ * roster. One who left, as one removed, keeps its seed and the secrets of its epochs, and a copy of its state signs
33007
+ * frames for them after the leave, dated as it likes: whether the admin marked its removal `left` changes nothing.
32911
33008
  */
32912
- handsOn(author, epoch) {
32913
- if (rosterHas(this.roster, author)) return true;
32914
- const chain = this.state.chain;
32915
- let left = false;
32916
- for (let e = chain.length - 1; e > 0; e--) {
32917
- if (chain[e].k !== "remove" || chain[e].s !== author) continue;
32918
- if (left && epoch >= e) return true;
32919
- if (!this.state.leftMarks?.[e] || epoch >= e) return false;
32920
- left = true;
32921
- }
32922
- return left;
33009
+ handsOn(author) {
33010
+ return rosterHas(this.roster, author);
32923
33011
  }
32924
33012
  /** Keeps the admin's mark on a commit that took out a member who left (`GroupCommitFrame.left`) when it holds; true when new. */
32925
33013
  takeLeftMark(commit, mark) {
@@ -32946,7 +33034,7 @@ var GroupSession = class {
32946
33034
  if (sealed) this.takeSecret(commit.e, sealed);
32947
33035
  this.pruneSecrets();
32948
33036
  this.pruneRelay();
32949
- await this.persist();
33037
+ this.persistSoon();
32950
33038
  this.hooks.changed();
32951
33039
  await this.replayWaiting();
32952
33040
  }
@@ -32968,7 +33056,7 @@ var GroupSession = class {
32968
33056
  taken = this.takeSecret(entry.e, entry.s) || taken;
32969
33057
  }
32970
33058
  if (!taken) return;
32971
- await this.persist();
33059
+ this.persistSoon();
32972
33060
  this.hooks.changed();
32973
33061
  await this.replayWaiting();
32974
33062
  }
@@ -32979,7 +33067,8 @@ var GroupSession = class {
32979
33067
  if (!answered.take()) return;
32980
33068
  this.hear(frame);
32981
33069
  if (frame.e > this.epoch) {
32982
- this.ask(from);
33070
+ this.syncedEpoch.set(from, frame.e);
33071
+ if (!this.awaitsAnswer(from)) this.ask(from);
32983
33072
  this.offerMeta(from, frame.mt);
32984
33073
  this.handOwn(from, frame);
32985
33074
  return;
@@ -33016,12 +33105,7 @@ var GroupSession = class {
33016
33105
  });
33017
33106
  const lacks = missingIn(frame, from);
33018
33107
  const asked = new Set(Array.isArray(frame.ask) ? frame.ask.filter((k) => typeof k === "string" && k !== from && k !== this.myKey && rosterHas(this.roster, k)) : []);
33019
- const handed = this.leaversHanded.get(from);
33020
- const kept = !asked.size && !this.state.leftMarks ? [] : this.kept().filter((f) => {
33021
- if (!this.state.chain[f.e] || !rosterHas(this.state.chain[f.e].m, from) || !lacks(f) || this.isRemoved(f)) return false;
33022
- if (asked.has(f.s)) return true;
33023
- return !rosterHas(this.roster, f.s) && !handed?.has(frameKey$1(f)) && this.handsOn(f.s, f.e);
33024
- });
33108
+ const kept = !asked.size ? [] : this.kept().filter((f) => asked.has(f.s) && !!this.state.chain[f.e] && rosterHas(this.state.chain[f.e].m, from) && lacks(f) && !this.isRemoved(f));
33025
33109
  const written = asWritten(this.ownLacked(from, frame), kept);
33026
33110
  const metas = this.metaFor(from, frame.mt);
33027
33111
  for (const f of written) {
@@ -33033,6 +33117,7 @@ var GroupSession = class {
33033
33117
  const edits = (this.state.relayEdits ?? []).filter((f) => f.s === author && readable(f));
33034
33118
  answer.push(...edits.slice(-GROUP_LIMITS.handOnEdits));
33035
33119
  }
33120
+ const handed = this.leaversHanded.get(from);
33036
33121
  const gone = (this.state.relayEdits ?? []).filter((f) => !rosterHas(this.roster, f.s) && readable(f) && !handed?.has(editKey(f)));
33037
33122
  answer.push(...gone.slice(-GROUP_LIMITS.handOnEdits));
33038
33123
  answer.push(...metas.map((m) => m.frame));
@@ -33739,6 +33824,29 @@ function verifyCommunityCommit(raw, parent, parentRoster, groupId, before) {
33739
33824
  * member's second leave under the one statement there was, and no newcomer could enter that group again.
33740
33825
  */
33741
33826
  function verifyCommunityChain(raw, groupId) {
33827
+ const check = checkChain(raw, groupId);
33828
+ for (;;) {
33829
+ const step = check.next();
33830
+ if (step.done) return step.value;
33831
+ }
33832
+ }
33833
+ /**
33834
+ * `verifyCommunityChain` for a client whose engine shares its page's thread: the same checks, letting the thread go every
33835
+ * `CHAIN_SLICE_MS` of them. One commit's signature takes ~2.6 ms in JavaScript on a desktop CPU, several times that on a
33836
+ * phone, so a history near `COMMUNITY_LIMITS.chain` checked at once was an app that drew nothing for 5 s and more.
33837
+ */
33838
+ async function verifyCommunityChainPaced(raw, groupId) {
33839
+ const check = checkChain(raw, groupId), pause = pacer(CHAIN_SLICE_MS);
33840
+ for (;;) {
33841
+ const step = check.next();
33842
+ if (step.done) return step.value;
33843
+ await pause();
33844
+ }
33845
+ }
33846
+ /** `verifyCommunityChainPaced` checks commits for this long at most before it lets the thread go. */
33847
+ var CHAIN_SLICE_MS = 5;
33848
+ /** The chain's checks, one commit per step. */
33849
+ function* checkChain(raw, groupId) {
33742
33850
  if (!Array.isArray(raw) || raw.length === 0 || raw.length > COMMUNITY_LIMITS.chain) return { error: "Malformed membership chain" };
33743
33851
  const chain = [], rosters = [];
33744
33852
  let entry = "";
@@ -33748,6 +33856,7 @@ function verifyCommunityChain(raw, groupId) {
33748
33856
  chain.push(result.commit);
33749
33857
  rosters.push(result.roster);
33750
33858
  if (result.commit.x !== void 0) entry = result.commit.x;
33859
+ yield;
33751
33860
  }
33752
33861
  return {
33753
33862
  chain,
@@ -33899,6 +34008,18 @@ function isSealed(v) {
33899
34008
  "c"
33900
34009
  ].every((k) => typeof v[k] === "string" && B64.test(v[k]) && v[k].length <= 128);
33901
34010
  }
34011
+ /** A welcome's shape and the whole chain it and the pieces before it carry, not yet checked (`CommunitySession.join`). */
34012
+ function readWelcome(link, pieces, welcome) {
34013
+ if (!welcome || typeof welcome !== "object") return { error: "Malformed welcome" };
34014
+ const w = welcome;
34015
+ if (w.t !== "group-welcome" || w.v !== 2 || w.g !== link.g || !Array.isArray(w.commits) || !Array.isArray(w.secrets) || !isSealed(w.rv) || !isSealed(w.entry)) return { error: "Malformed welcome" };
34016
+ const commits = [...pieces.flatMap((p) => p && typeof p === "object" && Array.isArray(p.commits) ? p.commits : []), ...w.commits];
34017
+ if (commits.length > COMMUNITY_LIMITS.chain) return { error: "Membership chain too long" };
34018
+ return {
34019
+ welcome: w,
34020
+ commits
34021
+ };
34022
+ }
33902
34023
  /** A pair payload's box: an ephemeral key, a nonce and a ciphertext of at most `appBytes` sealed. */
33903
34024
  var MAX_PAIR_BOX = Math.ceil((COMMUNITY_LIMITS.appBytes + 16) * 4 / 3) + 4;
33904
34025
  function isPairBox(v) {
@@ -33913,7 +34034,7 @@ function isMessageFrame(v) {
33913
34034
  * One member's view of a community group: the branch it follows and the ones it knows, the
33914
34035
  * secrets it holds, what it has seen, and the recent frames it keeps for others.
33915
34036
  */
33916
- var CommunitySession = class {
34037
+ var CommunitySession = class CommunitySession {
33917
34038
  hooks;
33918
34039
  state;
33919
34040
  identity;
@@ -34026,12 +34147,17 @@ var CommunitySession = class {
34026
34147
  * add was made by another member (the first one to answer me went away) is as good.
34027
34148
  */
34028
34149
  static join(link, pieces, welcome, seedB64, now = Date.now()) {
34029
- if (!welcome || typeof welcome !== "object") return { error: "Malformed welcome" };
34030
- const w = welcome;
34031
- if (w.t !== "group-welcome" || w.v !== 2 || w.g !== link.g || !Array.isArray(w.commits) || !Array.isArray(w.secrets) || !isSealed(w.rv) || !isSealed(w.entry)) return { error: "Malformed welcome" };
34032
- const commits = [...pieces.flatMap((p) => p && typeof p === "object" && Array.isArray(p.commits) ? p.commits : []), ...w.commits];
34033
- if (commits.length > COMMUNITY_LIMITS.chain) return { error: "Membership chain too long" };
34034
- const verified = verifyCommunityChain(commits, link.g);
34150
+ const read = readWelcome(link, pieces, welcome);
34151
+ if ("error" in read) return read;
34152
+ return CommunitySession.joinVerified(link, read.welcome, verifyCommunityChain(read.commits, link.g), seedB64, now);
34153
+ }
34154
+ /** `join`, its chain checked a slice at a time (`verifyCommunityChainPaced`): what an app sharing its page's thread calls. */
34155
+ static async joinPaced(link, pieces, welcome, seedB64, now = Date.now()) {
34156
+ const read = readWelcome(link, pieces, welcome);
34157
+ if ("error" in read) return read;
34158
+ return CommunitySession.joinVerified(link, read.welcome, await verifyCommunityChainPaced(read.commits, link.g), seedB64, now);
34159
+ }
34160
+ static joinVerified(link, w, verified, seedB64, now) {
34035
34161
  if ("error" in verified) return verified;
34036
34162
  const { chain, roster, entry } = verified;
34037
34163
  const me = identityFromSeedB64(seedB64);
@@ -35512,6 +35638,7 @@ var CommunitySession = class {
35512
35638
  case "group-left": return this.receiveLeft(frame);
35513
35639
  case "group-entry": {
35514
35640
  if (frame.to !== this.myKey || !isSealed(frame.s) || frame.x !== this.currentEntryKey()) return false;
35641
+ if (this.state.entry.key === frame.x && this.state.entry.seedB64) return false;
35515
35642
  const seed = openSecret(this.identity.seed, this.myKey, frame.s, entryAad(this.id, this.myKey));
35516
35643
  return !!seed && this.takeEntrySeed(toBase64Url(seed));
35517
35644
  }
@@ -37368,6 +37495,6 @@ function x401ApprovalDigest(subject) {
37368
37495
  return toBase64Url(sha256(utf8Encode(canonical)));
37369
37496
  }
37370
37497
  //#endregion
37371
- export { COMMUNITY_LIMITS as $, identityFromSeed as $C, FRESH_READ_MS as $S, handoffDataFrame as $_, LIVENESS_PING_MS as $a, readImageMeta as $b, encodeAppRangeData as $c, LIVE_POLL_MS as $d, LINK_MAX_CHARS as $f, MAX_MSGS_PAYLOAD_B64 as $g, countUnusedInvite as $h, sparkAddressKind as $i, DNS_TYPE as $l, sha256Hex as $m, bip322MessageHash as $n, meshHubs as $o, buttonLabelClash as $p, checkDidJws as $r, COMMUNITY_PIN_FRAME as $s, carryMentions as $t, identityPresentationBytes as $u, enrollCancelReason as $v, verifyDeviceTransports as $x, requestRecords as $y, readX401ProofResponseHeader as A, RelayBreaker as AC, sealTurnBody as AS, HANDOFF_LIST_PER_FRAME as A_, ENDPOINT as Aa, appRefPublisher as Ab, wakePayload as Ac, RING_LIFETIME as Ad, formatVideoDuration as Af, offerIsFresh as Ag, directBlocked as Ah, openDidDhtPayload as Ai, REACTIONS_CAPABILITY as Al, commitUntaggedHash as Am, parseGroupMetaFrame as An, fetchesByItself as Ao, validReactionNumber as Ap, shortAtprotoDid as Ar, FileUplink as As, mergeKnocks as At, capsDescriptors as Au, readHandoffRelease as Av, utf8Decode as Aw, inviteQrText as Ax, MAX_SLOT_KNOCKS as Ay, APP_STORE_KINDS as B, createRelayPayload as BC, turnSequence as BS, HANDOFF_VERSION as B_, CROSSED_FRESH_MS as Ba, readAppRevocations as Bb, vapidKeysMatch as Bc, checkedDescriptors as Bd, EDIT_SEND_LIMIT as Bf, compressSdp as Bg, OFFER_FAST_MS as Bh, USDT_PUBLIC_RPC as Bi, PAIRED_PROFILE as Bl, verifyCommitSignature as Bm, SshSigError as Bn, GROUP_VERSION_SIGNALS as Bo, ACTIVE_TASK_STATUSES as Bp, parseAtprotoVerificationKey as Br, TYPING_RATE_WINDOW_MS as Bs, mentionedMembers as Bt, IDENTITY_MAX_EVIDENCE as Bu, setAckFrame as Bv, deviceEchoFrame as Bx, contactDay as By, buildX401TokenObject as C, relayUrlProblem as CC, TurnRecordError as CS, HANDOFF_DATA as C_, parseLightningDestination as Ca, sha256Paced as Cb, deviceWakeRequest as Cc, proofStatement as Cd, voiceDownloadName as Cf, wrapDataChannel as Cg, OFFER_HOST_GATHER_MS as Ch, didDhtDocument as Ci, BUTTONS_CAPABILITY as Cl, LEGACY_GROUP_MEMBERS as Cm, groupMetaTag as Cn, parseEngineError as Co, queueReaction as Cp, atprotoDidMethod as Cr, PAIRED_CALL_FRAME as Cs, MAX_KNOCKS as Ct, CAPS_LIMITS as Cu, readHandoffData as Cv, fromBase64Url as Cw, createLink as Cx, turnOff as Cy, readX401ProofRequest as D, BREAKER_BASE_MS as DC, openTurnValue as DS, HANDOFF_HAVE as D_, BOLT11_PATTERN as Da, APP_STATEMENT_LIMITS as Db, readWakePayload as Dc, validExternalKey as Dd, voicePeaksOf as Df, RTC_SIGNAL_MAX_AGE_MS as Dg, DIRECT_OWN_ATTEMPTS as Dh, encodeDidDhtDeactivated as Di, FILES_CAPABILITY as Dl, OWN_FRAME_LIMIT as Dm, nextGroupMetaRevision as Dn, GROUP_VERSION_FILES as Do, reactionIsNewer as Dp, isAtprotoDid as Dr, FILE_DATA_KIND as Ds, groupEntryUrl as Dt, CapsKeys as Du, readHandoffHello as Dv, toBase64 as Dw, inviteLink as Dx, KNOCK_SLOT_LABEL as Dy, isX401Protocol as E, BREAKER_ALL_DOWN_PROBE_MS as EC, nextTurnPosition as ES, HANDOFF_FILE_REQUEST as E_, resolveLightningDestination as Ea, APP_PREFIXES as Eb, readWake as Ec, storageProofPath as Ed, voiceLevelsOf as Ef, RTC_SIGNAL_FUTURE_MS as Eg, DIRECT_EVIDENCE_MS as Eh, didDhtRecords as Ei, FILES_BINARY_CAPABILITY as El, MEMBER_KEY as Em, keepPastGroupMeta as En, GROUP_HAVE_FRAME as Eo, reactionFrame as Ep, checkAtprotoProofRecord as Er, ChatFiles as Es, entryParams as Et, CapsExchange as Eu, readHandoffHave as Ev, randomBytes as Ew, encodeInviteCode as Ex, KNOCK_SLOTS as Ey, appRevocationFor as F, withRequestOptions as FC, turnKeys as FS, HANDOFF_PIECE_OVERHEAD as F_, parseCashuRequestPayload as Fa, isAppKey as Fb, decryptPushPayload as Fc, verifyRingAuthorization as Fd, EDIT_BUFFER_MAX as Ff, RTC_CONFIG as Fg, EXPECT_PEER_MS as Fh, ONCHAIN_PROVIDER as Fi, TYPING_CAPABILITY as Fl, rosterHas as Fm, wrapGroupMeta as Fn, readGroupWant as Fo, groupReplyAuthor as Fp, decodeDagCbor as Fr, transferEnded as Fs, GROUP_WAKE_MEMBER_INTERVAL_MS as Ft, IDENTITY_CHALLENGE_WINDOW as Fu, sortParts as Fv, __require as Fw, DEVICE_CAPABILITIES as Fx, REQUEST_PACKET_BYTES as Fy, readAppStore as G, readOwnRelayPayload as GC, BACKGROUND_WHILE_SIGNALING as GS, handoffAckFrame as G_, DHT_PIN_GRACE_MS as Ga, verifyAppRevocation as Gb, AppRanges as Gc, transportOrder as Gd, dhtEditId as Gf, isGlobalIpv4Host as Gg, RELAY_POLL_INTERVALS as Gh, formatPaymentAmount as Gi, HOLD_DATED_BACK_MS as Gl, edgeParams as Gm, sshKeyDigestHex as Gn, SIGNAL_PROVEN_MS as Go, PR_CHECKS as Gp, DID_DOCUMENT_MAX_BYTES as Gr, TypingReceiver as Gs, GroupSession as Gt, IDENTITY_PROVIDER_ID as Gu, DEVICE_KINDS as Gv, deviceLinkParams as Gx, linkRecords as Gy, checkAppListing as H, newerPacket as HC, turnStatedVerifier as HS, NO_ATTEMPTS as H_, CROSSED_WAIT_MS as Ha, setAppSignatureFastPath as Hb, APP_RANGE_ERRORS as Hc, irohRelayUrl as Hd, MAX_REMOVAL_NUMBER as Hf, decompressSdp as Hg, OFFER_STEP_MAX as Hh, arkAddressPrefix as Hi, SESSION_FRAME_MAX as Hl, confirmationMatches as Hm, parseSshSignature as Hn, SIGNAL_CARRIERS as Ho, BUTTON_STYLES as Hp, unsignedCommitBytes as Hr, TYPING_SEND_LIMIT as Hs, GROUP_LIMITS as Ht, IDENTITY_MAX_RECEIVED as Hu, setUpdateMessage as Hv, deviceFrameCapability as Hx, knockSlotIdentity as Hy, appStoreDecision as I, MAX_DNS_PACKET_BYTES as IC, turnName as IS, HANDOFF_RELEASE as I_, parseFedimintRequestPayload as Ia, isAppRef as Ib, encryptPushPayload as Ic, verifyRingEvidence as Id, EDIT_BUFFER_MS as If, answersOffer as Ig, FIRST_PUBLISH_MAX_MS as Ih, PaymentPreflightError as Ii, UPGRADE_CAPABILITY as Il, signCommit as Im, SSHSIG_MAX_ARMOR as In, readGroupWantNo as Io, pairedReplyAuthor as Ip, encodeDagCbor as Ir, transferStalled as Is, GROUP_WAKE_RECEIVE_LIMIT as It, IDENTITY_CHECK_UNAVAILABLE as Iu, SET_ACK as Iv, __toCommonJS as Iw, DEVICE_ECHO_FRAME as Ix, REQUEST_TEXT_BYTES as Iy, GROUP_TYPING_FRAME as J, decodeTxtPacket as JC, CHAT_RESERVE_MOST_SHARE as JS, handoffAttemptSucceeded as J_, GhostLink as Ja, IMAGE_LIMITS as Jb, appRangeDataFrame as Jc, DHT_FILE_TOO_LARGE as Jd, parseEditFrame as Jf, pickCallCandidates as Jg, TRANSPORTS_GONE_MS as Jh, validatePaymentTarget as Ji, HoldRefusedError as Jl, newEpochSecret as Jm, isLegacySignature as Jn, readGroupSignal as Jo, ROUTINE_STATES as Jp, DID_JWS_ALGS as Jr, parseTypingFrame as Js, frameBytes as Jt, IDENTITY_SUBJECT as Ju, ENROLL_DONE as Jv, deviceLinkSecret as Jx, mergeContactKnocks as Jy, readAppStoreSteps as K, signRelayPayload as KC, BACKGROUND_WRITES_SHARE as KS, handoffAttemptAllowed as K_, EARLY_DIAL_JOIN_MS as Ka, verifyAppSignature as Kb, appRangeCancelFrame as Kc, ACTIVE_DHT_POLL_MS as Kd, editFrame as Kf, keepsToRelays as Kg, SIGNAL_OUT_READS as Kh, isWalletNetwork as Ki, HOLD_LIMITS as Kl, encryptText as Km, sshSignCommand as Kn, SIGNAL_REPLY_MS as Ko, PR_STATES as Kp, DID_FILE_MAX_BYTES as Kr, TypingSender as Ks, asWritten as Kt, IDENTITY_REVOCATION_LABEL as Ku, ENROLL_CANCEL as Kv, deviceLinkRendezvousSeed as Kx, makeStamp as Ky, appUpdateDecision as L, PKARR_FUTURE_SKEW_MS as LC, turnPacket as LS, HANDOFF_REQUEST as L_, ANSWERS_REFUSED_PAUSES as La, isAppSignature as Lb, generateVapidKeys as Lc, RELAY_URL as Ld, EDIT_FRAME as Lf, buildSdpFromSignal as Lg, IDLE_THRESHOLD as Lh, SEPOLIA_TEST_USDT as Li, WAKE_SESSION_CAPABILITY as Ll, sortRoster as Lm, SSHSIG_NAMESPACE as Ln, CARRIED_DEFER_MS as Lo, readReply as Lp, findInMst as Lr, TYPING_FRAME as Ls, GroupWakeLimiter as Lt, IDENTITY_CLOCK_SKEW as Lu, SET_UPDATE as Lv, DEVICE_PING_FRAME as Lx, STAMP_BITS_DEFAULT as Ly, readX401ProofResultHeader as M, budgetRetryMs as MC, signTurnPacket as MS, HANDOFF_OFFER as M_, fedimintRequestPayload as Ma, appSignedBytes as Mb, PUSH_SERVICE_HOSTS as Mc, ringClaims as Md, isVideoMime as Mf, CALL_SIGNAL_FUTURE_MS as Mg, AWAITING_PEER_MS as Mh, signDidDhtPacket as Mi, SESSION_CAPABILITIES_FRAME as Ml, parseGroupCommit as Mm, parseGroupMetaTag as Mn, isGroupMessageId as Mo, PAIRED_REPLY_AUTHORS as Mp, AtprotoProofError as Mr, encodeFileData as Ms, GROUP_WAKE_FRAME as Mt, emptyCapsState as Mu, readHandoffVerified as Mv, __commonJSMin as Mw, pastedAgain as Mx, REQUEST_LABEL as My, x401AnswerableRequests as N, heldBackError as NC, signTurnRelease as NS, HANDOFF_PAKE as N_, findEndpoint as Na, checkAppRevokeStatement as Nb, WebPushError as Nc, ringEvidence as Nd, parseVideoMeta as Nf, CALL_SIGNAL_MAX_AGE_MS as Ng, DEPARTED_READ_MS as Nh, ETHEREUM_USDT as Ni, STATUS_CARD_CAPABILITY as Nl, rememberAlone as Nm, signGroupMeta as Nn, readGroupFileMeta as No, REPLY_ID as Np, atprotoCidFor as Nr, refusalText as Ns, GROUP_WAKE_GROUP_LIMIT as Nt, encodePacketTransports as Nu, sameDigest as Nv, __esmMin as Nw, readInviteCode as Nx, REQUEST_LIFETIME_MS as Ny, readX401ProofRequestHeader as O, BREAKER_MAX_MS as OC, readTurnBody as OS, HANDOFF_HELLO as O_, decodeBolt11 as Oa, appFingerprint as Ob, relayRequest as Oc, verifyNostrProof as Od, PLAYABLE_VIDEO as Of, buildDataSdp as Og, DIRECT_PEERS as Oh, encodeDidDhtPacket as Oi, KNOWN_SESSION_CAPABILITIES as Ol, SAID_AGAIN as Om, openGroupMeta as On, GROUP_WANT_FRAME as Oo, readDhtReactions as Op, normalizeAtprotoHandle as Or, FILE_FRAMES as Os, knockIdentity as Ot, CapsRefusedError as Ou, readHandoffManifest as Ov, toBase64Url as Ow, inviteOwnership as Ox, LINK_RECORD_LABEL as Oy, addedAppPermissions as P, isDiscoveryBudgetError as PC, turnInstance as PS, HANDOFF_PIECE_BYTES as P_, isFederationId as Pa, isAppHash as Pb, checkPushEndpoint as Pc, validRingKey as Pd, EDITED_FRAME as Pf, PAIRED_CALL_CANDIDATES as Pg, DHT_POLL_INTERVALS as Ph, EVM_TEST_CHAINS as Pi, SessionCapabilities as Pl, rosterAdmin as Pm, verifyGroupMetaSignature as Pn, readGroupHave as Po, REPLY_LIMITS as Pp, decodeAtprotoCommit as Pr, sentWhole as Ps, GROUP_WAKE_GROUP_WINDOW_MS as Pt, parsePacketTransports as Pu, sealHandoffPiece as Pv, __exportAll as Pw, DEVICES_CAPABILITY as Px, REQUEST_NAME_UNITS as Py, sealGroupTyping as Q, createIdentity as QC, DEPARTED_READS as QS, handoffContextProof as Q_, LIVENESS_MISSED_PINGS as Qa, previewable as Qb, decodeAppRangeData as Qc, DhtDelivery as Qd, validRemovalNumber as Qf, LABEL$1 as Qg, WATCH_PEER_MS as Qh, isSparkAddress as Qi, DNS_LABEL as Ql, sealSecret as Qm, MessageRefusal as Qn, mayBeHub as Qo, appCardId as Qp, DidError as Qr, typingKindOf as Qs, GROUP_EDIT_TEXT_BYTES as Qt, emptyIdentityLedger as Qu, enrollCancelFrame as Qv, unsignedDeviceTransports as Qx, requestPlaintextBytes as Qy, checkAppBeforeRun as R, PacketTooLargeError as RC, turnPayloadSequence as RS, HANDOFF_TIMINGS as R_, ANSWERS_REFUSED_PAUSE_MS as Ra, readAppRevocation as Rb, pushRequest as Rc, TRANSPORTS as Rd, EDIT_RATE_WINDOW_MS as Rf, callRtcConfig as Rg, LinkSession as Rh, SEPOLIA_TEST_USDT_FAUCET as Ri, parseSessionCapabilities as Rl, verifyChain as Rm, SSH_KEY_TYPES as Rn, CarriedTransport as Ro, replySnippet as Rp, parseAtprotoCar as Rr, TYPING_KINDS as Rs, groupWakeFrame as Rt, IDENTITY_FRAME_LIMIT as Ru, encodeSetSlots as Rv, ENROLL_CAPABILITY as Rx, STAMP_BITS_MAX as Ry, buildX401ResultArtifact as S, readRelayBody as SC, TURN_VERSION as SS, HANDOFF_CANCEL_REASONS as S_, parseInvoiceCallback as Sa, readAppBundleAsync as Sb, WakeLimiter as Sc, proofHash as Sd, recordingMime as Sf, sendBody as Sg, GATHER_STALL_MS as Sh, decodeDidDhtPacket as Si, APP_RANGES_CAPABILITY as Sl, GROUP_VERSION_LARGE as Sm, groupMetaPicture as Sn, engineText as So, parseReactionFrame as Sp, ATPROTO_PROOF_SCOPE as Sr, MAX_PAIRED_CALL_SIGNAL as Ss, KNOCK_TTL_MS as St, CAPS_LABEL as Su, readHandoffCancel as Sv, fromBase64 as Sw, createChatInvite as Sx, takeRequest as Sy, encodeX401Header as T, traceLink as TC, firstDeviceSetSecret as TS, HANDOFF_FILE_MISSING as T_, requestLnurlInvoice as Ta, APP_NAME as Tb, parseWakeFrame as Tc, storageProofBody as Td, voiceLevel as Tf, DATA_CHANNEL_LABEL as Tg, STALLED_EVIDENCE_MS as Th, didDhtKey as Ti, EDIT_CAPABILITY as Tl, MAX_GROUP_MEMBERS as Tm, groupName as Tn, GROUP_FILE_LIMITS as To, reactionEmoji as Tp, atprotoProofRkey as Tr, parsePairedCallFrame as Ts, encodeGroupEntryLink as Tt, CAPS_REFRESH_MS as Tu, readHandoffFileFrame as Tv, isZ32Key as Tw, encodeGhostlyInvite as Tx, ContactRequestError as Ty, checkAppStoreIndex as U, openRelayPayload as UC, turnVerifierMark as US, filePartDigest as U_, DEMOTE_AFTER_FAILURES as Ua, signAppObject as Ub, APP_RANGE_FRAMES as Uc, rankTransports as Ud, REMOVED_TEXT as Uf, extractParamsFromSdp as Ug, PRESENCE_HEARTBEAT as Uh, assertTokenUnits as Ui, SESSION_RECEIVE_PENDING as Ul, confirmationTag as Um, sameSshKey as Un, SIGNAL_FRESH_MS as Uo, CRON_LINE as Up, verifyAtprotoRecordProof as Ur, TYPING_STATUS_MAX as Us, GROUP_REACTED_FRAME as Ut, IDENTITY_MAX_VALIDITY as Uu, signTombstone as Uv, deviceKeyZ32 as Ux, knockSlotOf as Uy, APP_STORE_LIMITS as V, measureRecords as VC, turnSignedMessage as VS, HANDOFF_WINDOW as V_, CROSSED_PROBE_MS as Va, readAppSignature as Vb, APP_RANGE_DATA_KIND as Vc, irohDescriptor as Vd, MAX_EDITS_PER_MESSAGE as Vf, contactRtcConfig as Vg, OFFER_LOOK_MS as Vh, WALLET_NETWORKS as Vi, PairedSession as Vl, GROUP_PROFILE as Vm, parseSshPublicKey as Vn, SIGNALS_PER_MINUTE as Vo, BUTTON_ID as Vp, readAtprotoCid as Vr, TYPING_REFRESH_MS as Vs, parseGroupWakeFrame as Vt, IDENTITY_MAX_FRAME as Vu, setUpdateFrame as Vv, deviceEchoNonce as Vx, knockHolds as Vy, readAppListing as W, parseRelayPayload as WC, BACKGROUND_REQUESTS_PER_MINUTE as WS, filePartName as W_, DEMOTE_MS as Wa, signAppRevocation as Wb, APP_RANGE_LIMITS as Wc, relayedTransports as Wd, RateWindow as Wf, heardCallSignal as Wg, PRESENCE_WINDOW as Wh, assertWholeSats as Wi, HOLD_CAPABILITY as Wl, decryptText as Wm, sshFingerprint as Wn, SIGNAL_HOLD_MS as Wo, ITEM_STATES as Wp, verifyAtprotoSignature as Wr, TYPING_TIMEOUT_MS as Ws, GROUP_READ_NOTE as Wt, IDENTITY_PROOF_CAPABILITY as Wu, verifySetUpdate as Wv, deviceLinkPairing as Wx, knockSlotRecords as Wy, groupTypingEpoch as X, readDnsName as XC, CHAT_WATCH_SHARE as XS, handoffCancelFrame as X_, INVITER_DIAL_GRACE_MS as Xa, isImageMime as Xb, appRangeErrorFrame as Xc, DHT_TEXT_BYTES as Xd, validEditMessage as Xf, signalHasVideo as Xg, UNUSED_INVITE_UPKEEP_MS as Xh, SPARK_NETWORKS as Xi, newMailbox as Xl, openSecret as Xm, verifyBitcoinMessage as Xn, MESH_HUBS as Xo, STATUS_CARD_LIMITS as Xp, DID_MAX_LENGTH as Xr, typingActivity as Xs, COMMUNITY_EDIT_FRAME as Xt, IdentityExchange as Xu, ENROLL_HELLO as Xv, newDeviceSetSecret as Xx, readKnockSlot as Xy, GroupTypingBoard as Y, encodeTxtPacket as YC, CHAT_RESERVE_PER_CHAT as YS, handoffBusyFrame as Y_, HANDLED_WAIT_MS as Ya, imageSize as Yb, appRangeEndFrame as Yc, DHT_MESSAGE_TTL as Yd, parseEditedFrame as Yf, sdpHasCandidates as Yg, UNUSED_INVITE_READS_PER_MINUTE as Yh, walletNetworkOf as Yi, isHoldUrl as Yl, openPair as Ym, legacyMessageHash as Yn, GROUP_VERSION_HUBS as Yo, RUN_RESULTS as Yp, DID_JWS_MAX_LENGTH as Yr, sanitizeTypingStatus as Ys, groupMessageId as Yt, IdentityCheckUnavailable as Yu, ENROLL_GRANT as Yv, devicePingFrame as Yx, openRequest as Yy, openGroupTyping as Z, IDENTITY_MEMO_SIZE as ZC, DEFAULT_RELAYS as ZS, handoffContext as Z_, INVITE_TAKEN as Za, parseImageMeta as Zb, appRangeGetFrame as Zc, DHT_TEXT_REFUSED as Zd, validEditNumber as Zf, waitForIceGathering as Zg, UNUSED_INVITE_WAIT_MAX_MS as Zh, SPARK_PROVIDER as Zi, readManifest as Zl, sealPair as Zm, BIP322_REVISION as Zn, NO_HUB_POLICY as Zo, TASK_STATUSES as Zp, DID_METHODS as Zr, typingFrame as Zs, GROUP_EDIT_FRAME as Zt, boundVerifiedIdentity as Zu, ENROLL_PROOF as Zv, signDeviceTransports as Zx, readLinkRecord as Zy, X401_PROTOCOLS as _, WATCH_SHARE as _C, TURN_REV_LIMIT as _S, HANDOFF_ACK as __, LIGHTNING_DESTINATION_PATTERN as _a, isAppLicense as _b, WAKE_CALL_WAIT_MS as _c, emptyProofLedger as _d, downsamplePeaks as _f, PROTOCOL_VERSION as _g, ANSWER_REFUSED_REDIALS as _h, DID_DHT_MAX_PAYLOAD as _i, isAppVersion as _l, receivedTimestamp as _m, encodeGroupMetaBody as _n, parsePaymentNetworks as _o, REACTION_FRAME as _p, u64 as _r, readBeacon as _s, shortHash as _t, recordsName as _u, isHandoffPartName as _v, stripHidden as _w, INVITE_HRP as _x, endedRequests as _y, X401_DCQL_LIMITS as a, HEDGE_MISSING_MS as aC, TURN_VISIBLE_MS as aS, HTTP_SERVICE_PROTO as a_, PUBKY_PROOF_ROOT as aa, APP_CLIENT_NAME as ab, mayPin as ac, receivedIdentityStatus as ad, readDhtFile as af, formatLocalTarget as ag, RATCHET_KEEP_MS as ah, didWebFile as ai, APP_PEER_OPEN_MAX as al, checkStatusCard as am, MENTION_EVERYONE as an, RACE_ANSWERED_MS as ao, linksIn as ap, ByteReader as ar, beaconKeys as as, communityHasFrame as at, WELL_KNOWN_PATH as au, handoffHaveFrames as av, encrypt as aw, createContactLink as ax, enrollProofFrame as ay, buildX401ProofRequest as b, currentRelays as bC, TURN_SLOTS as bS, HANDOFF_BUSY_REASONS as b_, findLightningDestination as ba, pacer as bb, WAKE_SUBJECT as bc, nostrProofTemplate as bd, isPlayableAudioType as bf, encodeChunk as bg, DataLink as bh, DID_DHT_VERSION as bi, readAppFrame as bl, GROUP_ID as bm, groupMetaChange as bn, EngineError as bo, nextReactionNumber as bp, ATPROTO_FULL_SCOPE as br, shouldBeHub as bs, verifyCommunityCommit as bt, wellKnownUrl as bu, readHandoffAck as bv, bytesEqual as bw, INVITE_VERSION as bx, planKnocks as by, readX401DcqlQuery as c, RELAY_REQUESTS_PER_MINUTE as cC, turnPutSummary as cS, SERVICES_VERSION as c_, newPubkyProofFolder as ca, APP_PERMISSIONS as cb, parsePinnedFrame as cc, verifyIdentityPresentation as cd, formatFileSize as cf, resolveTargetUrl as cg, emptyRatchetState as ch, didWebHost as ci, APP_RESUME_GRACE_MS as cl, sameButtonText as cm, mentionsMember as cn, REDESCRIBED_GRACE_MS as co, sanitizePreviewImage as cp, decodeBitcoinAddress as cr, freshHubs as cs, communityUntaggedHash as ct, domainTxtRecord as cu, handoffOfferFrame as cv, tryDecrypt as cw, DEVICE_INVITE_BYTES as cx, readEnrollHello as cy, newX401HolderKey as d, RelaysFailedError as dC, TURN_BODY_BYTES as dS, isValidServiceId as d_, pubkyProofFile as da, appDigest as db, pinNumberHolds as dc, lastSharedWithMe as dd, sanitizeMime as df, viewerResponseHeaders as dg, ratchetOn as dh, parseDidDocument as di, AppSessions as dl, taskProgress as dm, GROUP_META_PAST as dn, SWITCH_RETIRE_MS as do, forwardedMany as dp, encodeTx as dr, lobbyRecords as ds, encodeCommunityLink as dt, isPublicAddress as du, handoffRequestFrame as dv, jpegSize$1 as dw, createDeviceInvite as dx, MAX_DONE as dy, GROUP_BURST_MS as eC, seedSigner as eS, RECORD_TTL as e_, sparkInvoiceDetails as ea, seenEntry as eb, GROUP_PIN_FRAME as ec, identityRevocationValue as ed, emptyDhtDeliveryState as ef, presenceSeenAt as eg, FOLLOW_MS as eh, checkDidSignature as ei, isServeId as el, cardEditNumber as em, communityEditFrame as en, MAX_PAIRED_MESSAGE_FRAME as eo, LINK_PREVIEW_LIMITS as ep, bip322ToSign as er, meshRendezvous as es, COMMUNITY_PROFILE as et, DOMAIN_FILE_MAX_BYTES as eu, handoffDigest as ev, identityFromSeedB64 as ew, canonicalJson as ex, enrollDigits as ey, readX401SdJwtVc as f, SIGNALING_ALLOWANCE_SHARE as fC, TURN_LABEL as fS, isViewerTag as f_, pubkyProofPath as fa, appViewOf as fb, pinnedFrame as fc, PROOF_ADAPTERS as fd, PLAYABLE_AUDIO as ff, webLocalFetch as fg, ratchetOpen as fh, parseDidJws as fi, appCloseFrame as fl, usageLeft as fm, GROUP_META_PAST_CHARS as fn, UNPROVEN_AUTH_MS as fo, readForwarded as fp, encodeWitness as fr, mergeBeacon as fs, leaveStands as ft, nip05RootKey as fu, handoffRetryAfter as fv, sanitizeAvatar as fw, deviceInviteJoinerKeyZ32 as fx, MAX_MISSED as fy, X401_LIMITS as g, TURN_SOURCE_TIMEOUT_MS as gC, TURN_NO_ACTIVE as gS, viewerTag as g_, pubkyHomeserverOf as ga, findAppForbiddenKey as gb, WAKE_CALL_TTL_SECONDS as gc, STORAGE_ROOT as gd, baseMime as gf, MAX_CHUNK_PAYLOAD_BYTES as gg, ratchetUnknownSession as gh, strictBase64Url as gi, chatAppId as gl, heardTime as gm, MAX_GROUP_PICTURE_LENGTH as gn, pairedMessageFrame as go, REACTED_FRAME as gp, u32$1 as gr, rankHubs as gs, rosterHash as gt, recordsFromWellKnown as gu, handoffVersions as gv, sanitizeNick as gw, DEVICE_INVITE_VERSION as gx, clearMissed as gy, X401_HEADERS as h, SLOW_MS as hC, TURN_NAME_BYTES as hS, servicesToWire as h_, homeserverWebEndpoint as ha, checkAppManifest as hb, WAKE_CALL_INTERVAL_MS as hc, STORAGE_LIFETIME as hd, VOICE_METER as hf, LIMITS as hg, ratchetSessionOf as hh, staticDidDocument as hi, appOpenFrame as hl, claimedTime as hm, MAX_GROUP_NAME_LENGTH as hn, pairedMessageFits as ho, QUICK_REACTIONS as hp, txHash as hr, pickHubs as hs, leftStatement as ht, recordsFromTxt as hu, handoffVerifiedMessage as hv, sanitizeDisplayText as hw, readDeviceInvite as hx, REOPEN_BELOW as hy, x401ApprovalDigest as i, GROUP_SIGNALING_ALLOWANCE_SHARE as iC, TURN_SETTLE_MS as iS, parseLinkRecords as i_, PUBKY_PROOF_MAX_BYTES as ia, APP_CLIENTS as ib, PIN_LIMITS as ic, newIdentityBinding as id, dhtFileId as if, HttpHost as ig, RATCHET_HEADER_BYTES as ih, didWebDocumentUrl as ii, APP_FRAME as il, cardUrl as im, validEditText as in, PONG_WAIT_MS as io, linkStop as ip, BitcoinAddressError as ir, COMMUNITY_TOPOLOGY as is, communityGroupId as it, NIP05_PATH as iu, handoffFileRequestFrame as iv, decrypt as iw, CONTACT_LINK_VERSION as ix, enrollMessage as iy, readX401ProofResult as j, DiscoveryBudgetError as jC, signTurnBody as jS, HANDOFF_MANIFEST as j_, cashuRequestPayload as ja, appRevocationId as jb, wakeRequest as jc, ringAuthorization as jd, isPlayableVideoType as jf, parseRtcSignal as jg, symmetricNat as jh, resolveDidDht as ji, SERVICES_CAPABILITY as jl, expectedRoster as jm, parseGroupMetaStatement as jn, groupFileFallback as jo, wireReaction as jp, AtprotoCid as jr, decodeFileData as js, readKnocks as jt, dialDescriptors as ju, readHandoffTurnFrame as jv, utf8Encode as jw, ownInviteRefusal as jx, REQUEST_CLOCK_SKEW_MS as jy, readX401ProofResponse as k, BREAKER_THRESHOLD as kC, readTurnPacket as kS, HANDOFF_LATER_BYTES as k_, findBolt11 as ka, appRef as kb, wakeFrame as kc, verifyPeerProof as kd, VIDEO_LIMITS as kf, extractRtcParams as kg, DirectPathWatch as kh, jwkThumbprint as ki, PIN_CAPABILITY as kl, commitHash as km, parseGroupMetaBody as kn, GROUP_WANT_NO_FRAME as ko, readReaction as kp, parseAtprotoDidDocument as kr, FILE_LIMITS as ks, knockRecords as kt, DHT_TEXT_CAPABILITY as ku, readHandoffPake as kv, toZ32 as kw, inviteQrSegments as kx, MAX_SEEN as ky, x401VpToken as l, REQUESTS_PER_MINUTE as lC, TOMBSTONE_SEQUENCE as lS, decodeServices as l_, normalizePubkyKey as la, APP_SCREENSHOTS_DIR as lb, pinFrame as lc, IDENTITY_TIMELINE_MAX as ld, safeBlobType as lf, sanitizeRequestHeaders as lg, isRatcheted as lh, normalizeDid as li, APP_SEND_LIMIT as ll, statusCardBytes as lm, validMentions as ln, RESUME_WAIT_MS as lo, FORWARD_LIMITS as lp, decodeTx as lr, hubRank as ls, decodeCommunityLink as lt, domainWellKnownFile as lu, handoffPakeFrame as lv, MAX_AVATAR_LENGTH as lw, DEVICE_INVITE_LIFETIME_S as lx, verifyEnrollProof as ly, x401HolderJwk as m, SLOW_DEMOTE_MS as mC, TURN_MAX as mS, servicesFromWire as m_, encodeSvcbPacket as ma, buildAppBundle as mb, DEVICE_WAKE_TTL_SECONDS as mc, PeerProofs as md, VOICE_LIMITS as mf, CHUNK_KIND as mg, ratchetSeal as mh, signingKeys as mi, appDataFrame as ml, arrivalKey as mm, MAX_GROUP_NAME_BYTES as mn, WAKE_LOST_MS as mo, GROUP_REACTION_FRAME as mp, sha256d as mr, newerHead as ms, leaveStatement3 as mt, parseDomainTxt as mu, handoffVerifiedFrame as mv, hasVisible as mw, encodeDeviceInvite as mx, NEW_PER_HOUR as my, X401_RESPONSE_MODES as n, GROUP_OVER_PACE_MS as nC, TURN_PUT_WINDOW_MS as nS, emptyLinkRecords as n_, BITCOIN_NETWORKS as na, APP_BUNDLE_LIMITS as nb, PIN_CLOCK_SKEW_MS as nc, identityStatementText as nd, DHT_FILE_CAPABILITY as nf, GhostlyHttpError as ng, MAX_SKIPPED_KEYS as nh, didJwsAlg as ni, readAppRangeFrame as nl, cardLinkHost as nm, meshMessageRef as nn, PAIRING_ATTEMPT_MS as no, canonicalUrl as np, decodeBase64 as nr, pickMeshHubs as ns, GROUP_READ_NOTE_COMMUNITY as nt, DOMAIN_METHODS as nu, handoffEphemeral as nv, sign as nw, readCanonicalJson as nx, enrollGrantFrame as ny, matchX401Dcql as o, HEDGE_MS as oC, classifyTurnRead as oS, LEGACY_SERVICES as o_, isPubkyKey as oa, APP_FORBIDDEN_KEYS as ob, nextPinNumber as oc, revokesIdentity as od, FileTransfers as of, parseLocalTarget as og, RATCHET_OVERHEAD as oh, didWebFileNames as oi, APP_RATE_LIMIT as ol, readStatusCard as om, MENTION_LIMITS as on, RACE_DIRECT_MS as oo, parseLinkPreview as op, compactSize as or, beaconRecords as os, communityMessageId as ot, decodeDnsResponse as ou, handoffHelloFrame as ov, generateEncryptionKey as ow, encodeContactLink as ox, formatEnrollDigits as oy, sameX401HolderJwk as p, SIGNALING_WINDOW_MS as pC, TURN_LAST_SEQUENCE as pS, serviceIdFromName as p_, decodeSvcbRecords as pa, assembleAppBundle as pb, readPin as pc, PROOF_CAPABILITY as pd, RECORDING_TYPES as pf, CHUNK_FLAG_END as pg, ratchetRoot as ph, parseDidSignaturePaste as pi, appDataBytes as pl, MESSAGE_CLOCK_SKEW_MS as pm, MAX_GROUP_META_BODY as pn, WAKE_ANSWER_GRACE_MS as po, COMMUNITY_REACTION_FRAME as pp, hash160 as pr, mergeLobby as ps, leaveStatement as pt, normalizeDomain as pu, handoffStreamKey as pv, MAX_NICK_LENGTH as pw, deviceInviteJoinerParams as px, MAX_WAITING as py, signAppStore as q, decodeDnsAnswers as qC, CHAT_RESERVE as qS, handoffAttemptFailed as q_, FIRST_PAIRING_PACE_MS as qa, verifyAppStatementBytes as qb, appRangeChunk as qc, DHT_FILE_REFUSED as qd, editedFrame as qf, parseCallSignal as qg, STALLED_LOOK_MS as qh, parsePaymentAmount as qi, HoldKeys as ql, epochKeys as qm, verifySshSignature as qn, groupSignalFrame as qo, REMOVABLE_KINDS as qp, DID_GHOSTLY_SERVICE as qr, parseTypingActivity as qs, chainPieces as qt, IDENTITY_STATEMENT_PREFIX as qu, ENROLL_CANCEL_REASONS as qv, deviceLinkSealKey as qx, makeStampPaced as qy, readX401OpenId4VpRequest as r, GROUP_RATION_WINDOW_MS as rC, TURN_RAISE_READ_TIMEOUT_MS as rS, isEmptyLinkPacket as r_, isBitcoinAddress as ra, APP_BUNDLE_MAGIC as rb, PIN_FRAME as rc, isIdentityBinding as rd, dhtFileElements as rf, HttpClient as rg, RATCHET_CAPABILITY as rh, didSignedMessages as ri, APP_DATA_MAX_BYTES as rl, cardTimeUtc as rm, parseCommunityEdit as rn, PAIRING_RETRY_MS as ro, linkEnd as rp, verifyBip322 as rr, wireHubPolicy as rs, communityCommitHash as rt, DOMAIN_TXT_MAX_BYTES as ru, handoffFileMissingFrame as rv, verify as rw, CONTACT_LINK_BYTES as rx, enrollHelloFrame as ry, presentX401SdJwtVc as s, PREVIOUS_DEFAULT_RELAYS as sC, keptAtEqualSequence as sS, MAX_SERVICES as s_, isPubkyProofFolder as sa, APP_ICON_PATH as sb, parsePinFrame as sc, signIdentityPresentation as sd, PREVIEWABLE_IMAGE as sf, relativizeLocation as sg, RatchetBox as sh, didWebFileUrl as si, APP_RATE_WINDOW_MS as sl, removedCardText as sm, mentionsBytes as sn, RACE_RELAYED_MS as so, previewImageSize as sp, decodeAnyBitcoinAddress as sr, doorHubs as ss, communityRoster as st, dnsProofName as su, handoffManifestFrames as sv, sealedLength as sw, readContactLink as sx, readEnrollGrant as sy, X401_REQUEST_LIMITS as t, GROUP_BURST_ONE_LINK as tC, webCryptoSigner as tS, buildLinkRecords as t_, sparkNetworkOf as ta, stampHolds as tb, PINNED_FRAME as tc, identityStatement as td, peekDhtMailbox as tf, unusedInviteWait as tg, MAX_SKIP as th, didGhostlyServiceEntry as ti, parseAppRangeFrame as tl, cardLine as tm, communityMessageAuthor as tn, PAIRED_FRAME_TOO_LARGE as to, LINK_TRAILING as tp, bip322ToSpend as tr, parseHubPolicy as ts, CommunitySession as tt, DOMAIN_MAX_RECORDS as tu, handoffDoneFrame as tv, publicKeyFromZ32 as tw, canonicalJsonBytes as tx, enrollDoneFrame as ty, X401_CREDENTIAL_LIMITS as u, RelayTransport as uC, TOMBSTONE_TURN as uS, encodeServices as u_, pubkyProofCapability as ua, APP_VIEWS as ub, pinIsNewer as uc, applyIdentityEvent as ud, sanitizeFileName as uf, sanitizeResponseHeaders as ug, ratchetHeard as uh, parseDid as ui, APP_VERSION_MAX as ul, statusCardText as um, wireMentions as un, RTC_UNSTARTED_MS as uo, forwardedAgain as up, decodeWitness as ur, lobbyKeys as us, derivedSecret as ut, encodeDnsQuery as uu, handoffReleaseFrame as uv, MAX_AVATAR_SIDE as uw, DEVICE_INVITE_OWN_DEVICE as ux, FLOOD_PER_DAY as uy, X401_SCHEME as v, WAY_BACK_SHARE as vC, TURN_SEALED_BYTES as vS, HANDOFF_ATTEMPTS as v_, LNURL_LIMITS as va, isAppPath as vb, WAKE_FRAME as vc, importedProof as vd, fileMessageText as vf, decodeChunk as vg, CONNECT_TIMEOUT_MS as vh, DID_DHT_PREFIX as vi, isChatAppId as vl, shownTime as vm, groupDisplayName as vn, publishFailure as vo, REACTION_LIMITS as vp, varBytes as vr, readBeaconHead as vs, signCommunity as vt, txtValue as vu, newHandoffId as vv, trimEndOf as vw, INVITE_LINK_ORIGIN as vx, inboxRecord as vy, decodeX401Header as w, setLinkTraceSink as wC, encodeTurnFields as wS, HANDOFF_DONE as w_, parsePayParams as wa, yieldThread as wb, newWakeToken as wc, storageProof as wd, voiceFileName as wf, DATA_CHANNEL_ID as wg, REANSWERS as wh, didDhtFromPublicKey as wi, CALLS_CAPABILITY as wl, MAX_GROUP_CHAIN as wm, groupMetaToHand as wn, PairingTracker as wo, reactedFrame as wp, atprotoProofRecord as wr, PairedCalls as ws, decodeGroupEntryLink as wt, CAPS_PUBLISH_SPACING_MS as wu, readHandoffDone as wv, fromZ32 as ww, decodeInviteCode as wx, CONTACT_RECORD_TTL as wy, buildX401ProofResult as x, normalizeRelayUrl as xC, TURN_TTL as xS, HANDOFF_CANCEL as x_, invoiceCallbackUrl as xa, readAppBundle as xb, WAKE_TTL_SECONDS as xc, proofCapability as xd, parseVoiceMeta as xf, encodeControl as xg, GATHER_ATTEMPTS as xh, DidDhtError as xi, APPS_CAPABILITY as xl, GROUP_MEMBER_CAP as xm, groupMetaNewer as xn, engineError as xo, parseReactedFrame as xp, ATPROTO_PROOF_COLLECTION as xr, validHead as xs, GROUP_ENTRY_PROFILE as xt, CAPS_ISSUED_BACK_MS as xu, readHandoffBusy as xv, concatBytes as xw, OwnInviteError as xx, settleRequest as xy, X401_VERSION as y, WRITE_FIRST_MS as yC, TURN_SIGNED_BYTES as yS, HANDOFF_BUSY as y_, fetchLnurlJson as ya, isAppUrl as yb, WAKE_INTERVAL_MS as yc, isProofAdapter as yd, formatVoiceDuration as yf, decodeControl as yg, DATA_SETTLE_MS as yh, DID_DHT_TTL as yi, parseAppFrame as yl, GROUP_ADMIN_OFF_ERROR as ym, groupMetaBody as yn, ENGINE_ERRORS as yo, ReactionWindow as yp, ATPROTO_DECLARED_SCOPE as yr, readLobby as ys, verifyCommunityChain as yt, validDomainRecord as yu, openHandoffPiece as yv, unwrapPasted as yw, INVITE_MAX_LENGTH as yx, newInbox as yy, planAppUpdate as z, RELAY_PAYLOAD_MAX_BYTES as zC, turnReleaseMessage as zS, HANDOFF_VERIFIED as z_, BLOCKED_DIAL_WAIT_MS as za, readAppRevocationShape as zb, vapidAuthorization as zc, automaticTransport as zd, EDIT_RECEIVE_LIMIT as zf, callSignalHeardAt as zg, MAX_DHT_TEXT_BYTES as zh, TEST_USDT_FAUCET_AMOUNT as zi, sessionCapabilitiesFrame as zl, verifyCommit as zm, SSH_PUBLIC_KEY_MAX as zn, GROUP_SIGNAL_FRAME as zo, wireReply as zp, parseAtprotoDidKey as zr, TYPING_RATE_LIMIT as zs, groupWakes as zt, IDENTITY_FRAME_WINDOW_MS as zu, readSetUpdate as zv, HANDOFF_CAPABILITY as zx, STAMP_BITS_MIN as zy };
37498
+ export { COMMUNITY_LIMITS as $, decodeTxtPacket as $C, CHAT_RESERVE_MOST_SHARE as $S, handoffBusyFrame as $_, LIVENESS_MISSED_PINGS as $a, exifOrientation as $b, decodeAppRangeData as $c, DHT_TEXT_BYTES as $d, validEditMessage as $f, sdpHasCandidates as $g, UNUSED_INVITE_READS_PER_MINUTE as $h, isSparkAddress as $i, DNS_LABEL as $l, openPair as $m, MessageRefusal as $n, mayBeHub as $o, STATUS_CARD_LIMITS as $p, DidError as $r, typingKindOf as $s, GROUP_EDIT_TEXT_BYTES as $t, emptyIdentityLedger as $u, ENROLL_GRANT as $v, deviceLinkSecret as $x, openRequest as $y, readX401ProofResponseHeader as A, traceLink as AC, firstDeviceSetSecret as AS, HANDOFF_FILE_REQUEST as A_, findBolt11 as Aa, APP_PREFIXES as Ab, wakeFrame as Ac, verifyPeerProof as Ad, voicePeaksOf as Af, RTC_SIGNAL_FUTURE_MS as Ag, DIRECT_EVIDENCE_MS as Ah, jwkThumbprint as Ai, PIN_CAPABILITY as Al, MEMBER_KEY as Am, parseGroupMetaBody as An, GROUP_WANT_NO_FRAME as Ao, reactionIsNewer as Ap, parseAtprotoDidDocument as Ar, FILE_LIMITS as As, knockRecords as At, DHT_TEXT_CAPABILITY as Au, readHandoffHave as Av, isZ32Key as Aw, encodeGhostlyInvite as Ax, KNOCK_SLOTS as Ay, APP_STORE_KINDS as B, withRequestOptions as BC, turnKeys as BS, HANDOFF_RELEASE as B_, BLOCKED_DIAL_WAIT_MS as Ba, isAppRef as Bb, vapidAuthorization as Bc, TRANSPORTS as Bd, EDIT_FRAME as Bf, answersOffer as Bg, FIRST_PUBLISH_MAX_MS as Bh, TEST_USDT_FAUCET_AMOUNT as Bi, sessionCapabilitiesFrame as Bl, signCommit as Bm, SSH_PUBLIC_KEY_MAX as Bn, GROUP_SIGNAL_FRAME as Bo, readReply as Bp, parseAtprotoDidKey as Br, TYPING_RATE_LIMIT as Bs, groupWakes as Bt, IDENTITY_FRAME_WINDOW_MS as Bu, SET_ACK as Bv, __require as Bw, DEVICE_CAPABILITIES as Bx, REQUEST_TEXT_BYTES as By, buildX401TokenObject as C, WAY_BACK_SHARE as CC, TURN_SEALED_BYTES as CS, HANDOFF_BUSY as C_, parseInvoiceCallback as Ca, isAppUrl as Cb, WakeLimiter as Cc, proofHash as Cd, isPlayableAudioType as Cf, decodeControl as Cg, DATA_SETTLE_MS as Ch, decodeDidDhtPacket as Ci, APP_RANGES_CAPABILITY as Cl, GROUP_ADMIN_OFF_ERROR as Cm, groupMetaPicture as Cn, engineText as Co, nextReactionNumber as Cp, ATPROTO_PROOF_SCOPE as Cr, MAX_PAIRED_CALL_SIGNAL as Cs, KNOCK_TTL_MS as Ct, CAPS_LABEL as Cu, openHandoffPiece as Cv, trimEndOf as Cw, INVITE_LINK_ORIGIN as Cx, newInbox as Cy, readX401ProofRequest as D, readRelayBody as DC, TURN_VERSION as DS, HANDOFF_DATA as D_, resolveLightningDestination as Da, sha256Paced as Db, readWake as Dc, storageProofPath as Dd, voiceFileName as Df, wrapDataChannel as Dg, OFFER_HOST_GATHER_MS as Dh, didDhtRecords as Di, FILES_BINARY_CAPABILITY as Dl, LEGACY_GROUP_MEMBERS as Dm, keepPastGroupMeta as Dn, GROUP_HAVE_FRAME as Do, reactedFrame as Dp, checkAtprotoProofRecord as Dr, ChatFiles as Ds, entryParams as Dt, CapsExchange as Du, readHandoffData as Dv, fromBase64 as Dw, createChatInvite as Dx, turnOff as Dy, isX401Protocol as E, normalizeRelayUrl as EC, TURN_TTL as ES, HANDOFF_CANCEL_REASONS as E_, requestLnurlInvoice as Ea, readAppBundleAsync as Eb, parseWakeFrame as Ec, storageProofBody as Ed, voiceDownloadName as Ef, sendBody as Eg, GATHER_STALL_MS as Eh, didDhtKey as Ei, EDIT_CAPABILITY as El, GROUP_VERSION_LARGE as Em, groupName as En, GROUP_FILE_LIMITS as Eo, queueReaction as Ep, atprotoProofRkey as Er, parsePairedCallFrame as Es, encodeGroupEntryLink as Et, CAPS_REFRESH_MS as Eu, readHandoffCancel as Ev, concatBytes as Ew, OwnInviteError as Ex, takeRequest as Ey, appRevocationFor as F, RelayBreaker as FC, sealTurnBody as FS, HANDOFF_MANIFEST as F_, isFederationId as Fa, appRevocationId as Fb, checkPushEndpoint as Fc, validRingKey as Fd, isVideoMime as Ff, parseRtcSignal as Fg, symmetricNat as Fh, EVM_TEST_CHAINS as Fi, SessionCapabilities as Fl, expectedRoster as Fm, verifyGroupMetaSignature as Fn, readGroupHave as Fo, PAIRED_REPLY_AUTHORS as Fp, decodeAtprotoCommit as Fr, sentWhole as Fs, GROUP_WAKE_GROUP_WINDOW_MS as Ft, parsePacketTransports as Fu, readHandoffTurnFrame as Fv, utf8Decode as Fw, inviteQrText as Fx, REQUEST_CLOCK_SKEW_MS as Fy, readAppStore as G, createRelayPayload as GC, turnSequence as GS, HANDOFF_WINDOW as G_, DEMOTE_MS as Ga, readAppSignature as Gb, APP_RANGE_LIMITS as Gc, rankTransports as Gd, MAX_REMOVAL_NUMBER as Gf, contactRtcConfig as Gg, OFFER_LOOK_MS as Gh, assertWholeSats as Gi, HOLD_CAPABILITY as Gl, GROUP_PROFILE as Gm, sshFingerprint as Gn, SIGNAL_HOLD_MS as Go, BUTTON_STYLES as Gp, verifyAtprotoSignature as Gr, TYPING_TIMEOUT_MS as Gs, GROUP_READ_NOTE as Gt, IDENTITY_PROOF_CAPABILITY as Gu, setUpdateFrame as Gv, deviceEchoFrame as Gx, knockHolds as Gy, checkAppListing as H, PKARR_FUTURE_SKEW_MS as HC, turnPacket as HS, HANDOFF_TIMINGS as H_, CROSSED_PROBE_MS as Ha, readAppRevocation as Hb, APP_RANGE_DATA_KIND as Hc, checkedDescriptors as Hd, EDIT_RECEIVE_LIMIT as Hf, callRtcConfig as Hg, LinkSession as Hh, WALLET_NETWORKS as Hi, PairedSession as Hl, verifyChain as Hm, parseSshPublicKey as Hn, SIGNALS_PER_MINUTE as Ho, wireReply as Hp, readAtprotoCid as Hr, TYPING_REFRESH_MS as Hs, parseGroupWakeFrame as Ht, IDENTITY_MAX_FRAME as Hu, encodeSetSlots as Hv, DEVICE_PING_FRAME as Hx, STAMP_BITS_MAX as Hy, appStoreDecision as I, DiscoveryBudgetError as IC, signTurnBody as IS, HANDOFF_OFFER as I_, parseCashuRequestPayload as Ia, appSignedBytes as Ib, decryptPushPayload as Ic, verifyRingAuthorization as Id, parseVideoMeta as If, CALL_SIGNAL_FUTURE_MS as Ig, AWAITING_PEER_MS as Ih, ONCHAIN_PROVIDER as Ii, TYPING_CAPABILITY as Il, parseGroupCommit as Im, wrapGroupMeta as In, readGroupWant as Io, REPLY_ID as Ip, decodeDagCbor as Ir, transferEnded as Is, GROUP_WAKE_MEMBER_INTERVAL_MS as It, IDENTITY_CHALLENGE_WINDOW as Iu, readHandoffVerified as Iv, utf8Encode as Iw, ownInviteRefusal as Ix, REQUEST_LABEL as Iy, GROUP_TYPING_FRAME as J, openRelayPayload as JC, turnVerifierMark as JS, filePartName as J_, FIRST_PAIRING_PACE_MS as Ja, signAppRevocation as Jb, appRangeChunk as Jc, transportOrder as Jd, dhtEditId as Jf, heardCallSignal as Jg, PRESENCE_WINDOW as Jh, parsePaymentAmount as Ji, HoldKeys as Jl, decryptText as Jm, verifySshSignature as Jn, groupSignalFrame as Jo, PR_CHECKS as Jp, DID_GHOSTLY_SERVICE as Jr, parseTypingActivity as Js, chainPieces as Jt, IDENTITY_STATEMENT_PREFIX as Ju, verifySetUpdate as Jv, deviceKeyZ32 as Jx, knockSlotRecords as Jy, readAppStoreSteps as K, measureRecords as KC, turnSignedMessage as KS, NO_ATTEMPTS as K_, DHT_PIN_GRACE_MS as Ka, setAppSignatureFastPath as Kb, AppRanges as Kc, relayUrl as Kd, REMOVED_TEXT as Kf, decompressSdp as Kg, OFFER_STEP_MAX as Kh, formatPaymentAmount as Ki, HOLD_DATED_BACK_MS as Kl, confirmationMatches as Km, sshKeyDigestHex as Kn, SIGNAL_PROVEN_MS as Ko, CRON_LINE as Kp, DID_DOCUMENT_MAX_BYTES as Kr, TypingReceiver as Ks, GroupSession as Kt, IDENTITY_PROVIDER_ID as Ku, setUpdateMessage as Kv, deviceEchoNonce as Kx, knockSlotIdentity as Ky, appUpdateDecision as L, budgetRetryMs as LC, signTurnPacket as LS, HANDOFF_PAKE as L_, parseFedimintRequestPayload as La, checkAppRevokeStatement as Lb, encryptPushPayload as Lc, verifyRingEvidence as Ld, EDITED_FRAME as Lf, CALL_SIGNAL_MAX_AGE_MS as Lg, DEPARTED_READ_MS as Lh, PaymentPreflightError as Li, UPGRADE_CAPABILITY as Ll, rememberAlone as Lm, SSHSIG_MAX_ARMOR as Ln, readGroupWantNo as Lo, REPLY_LIMITS as Lp, encodeDagCbor as Lr, transferStalled as Ls, GROUP_WAKE_RECEIVE_LIMIT as Lt, IDENTITY_CHECK_UNAVAILABLE as Lu, sameDigest as Lv, __commonJSMin as Lw, pastedAgain as Lx, REQUEST_LIFETIME_MS as Ly, readX401ProofResultHeader as M, BREAKER_BASE_MS as MC, openTurnValue as MS, HANDOFF_HELLO as M_, cashuRequestPayload as Ma, appFingerprint as Mb, wakeRequest as Mc, ringAuthorization as Md, VIDEO_LIMITS as Mf, buildDataSdp as Mg, DIRECT_PEERS as Mh, resolveDidDht as Mi, SERVICES_CAPABILITY as Ml, SAID_AGAIN as Mm, parseGroupMetaStatement as Mn, groupFileFallback as Mo, readReaction as Mp, AtprotoCid as Mr, decodeFileData as Ms, readKnocks as Mt, dialDescriptors as Mu, readHandoffManifest as Mv, toBase64 as Mw, inviteLink as Mx, LINK_RECORD_LABEL as My, x401AnswerableRequests as N, BREAKER_MAX_MS as NC, readTurnBody as NS, HANDOFF_LATER_BYTES as N_, fedimintRequestPayload as Na, appRef as Nb, PUSH_SERVICE_HOSTS as Nc, ringClaims as Nd, formatVideoDuration as Nf, extractRtcParams as Ng, DirectPathWatch as Nh, signDidDhtPacket as Ni, SESSION_CAPABILITIES_FRAME as Nl, commitHash as Nm, parseGroupMetaTag as Nn, isGroupMessageId as No, validReactionNumber as Np, AtprotoProofError as Nr, encodeFileData as Ns, GROUP_WAKE_FRAME as Nt, emptyCapsState as Nu, readHandoffPake as Nv, toBase64Url as Nw, inviteOwnership as Nx, MAX_SEEN as Ny, readX401ProofRequestHeader as O, relayUrlProblem as OC, TurnRecordError as OS, HANDOFF_DONE as O_, BOLT11_PATTERN as Oa, yieldThread as Ob, readWakePayload as Oc, validExternalKey as Od, voiceLevel as Of, DATA_CHANNEL_ID as Og, REANSWERS as Oh, encodeDidDhtDeactivated as Oi, FILES_CAPABILITY as Ol, MAX_GROUP_CHAIN as Om, nextGroupMetaRevision as On, GROUP_VERSION_FILES as Oo, reactionEmoji as Op, isAtprotoDid as Or, FILE_DATA_KIND as Os, groupEntryUrl as Ot, CapsKeys as Ou, readHandoffDone as Ov, fromBase64Url as Ow, createLink as Ox, CONTACT_RECORD_TTL as Oy, addedAppPermissions as P, BREAKER_THRESHOLD as PC, readTurnPacket as PS, HANDOFF_LIST_PER_FRAME as P_, findEndpoint as Pa, appRefPublisher as Pb, WebPushError as Pc, ringEvidence as Pd, isPlayableVideoType as Pf, offerIsFresh as Pg, directBlocked as Ph, ETHEREUM_USDT as Pi, STATUS_CARD_CAPABILITY as Pl, commitUntaggedHash as Pm, signGroupMeta as Pn, readGroupFileMeta as Po, wireReaction as Pp, atprotoCidFor as Pr, refusalText as Ps, GROUP_WAKE_GROUP_LIMIT as Pt, encodePacketTransports as Pu, readHandoffRelease as Pv, toZ32 as Pw, inviteQrSegments as Px, MAX_SLOT_KNOCKS as Py, sealGroupTyping as Q, decodeDnsAnswers as QC, CHAT_RESERVE as QS, handoffAttemptSucceeded as Q_, INVITE_TAKEN as Qa, IMAGE_LIMITS as Qb, appRangeGetFrame as Qc, DHT_MESSAGE_TTL as Qd, parseEditedFrame as Qf, pickCallCandidates as Qg, TRANSPORTS_GONE_MS as Qh, SPARK_PROVIDER as Qi, readManifest as Ql, newEpochSecret as Qm, BIP322_REVISION as Qn, NO_HUB_POLICY as Qo, RUN_RESULTS as Qp, DID_METHODS as Qr, typingFrame as Qs, GROUP_EDIT_FRAME as Qt, boundVerifiedIdentity as Qu, ENROLL_DONE as Qv, deviceLinkSealKey as Qx, mergeContactKnocks as Qy, checkAppBeforeRun as R, heldBackError as RC, signTurnRelease as RS, HANDOFF_PIECE_BYTES as R_, ANSWERS_REFUSED_PAUSES as Ra, isAppHash as Rb, generateVapidKeys as Rc, RELAY_URL as Rd, EDIT_BUFFER_MAX as Rf, PAIRED_CALL_CANDIDATES as Rg, DHT_POLL_INTERVALS as Rh, SEPOLIA_TEST_USDT as Ri, WAKE_SESSION_CAPABILITY as Rl, rosterAdmin as Rm, SSHSIG_NAMESPACE as Rn, CARRIED_DEFER_MS as Ro, groupReplyAuthor as Rp, findInMst as Rr, TYPING_FRAME as Rs, GroupWakeLimiter as Rt, IDENTITY_CLOCK_SKEW as Ru, sealHandoffPiece as Rv, __esmMin as Rw, readInviteCode as Rx, REQUEST_NAME_UNITS as Ry, buildX401ResultArtifact as S, WATCH_SHARE as SC, TURN_REV_LIMIT as SS, HANDOFF_ATTEMPTS as S_, invoiceCallbackUrl as Sa, isAppPath as Sb, WAKE_TTL_SECONDS as Sc, proofCapability as Sd, formatVoiceDuration as Sf, decodeChunk as Sg, CONNECT_TIMEOUT_MS as Sh, DidDhtError as Si, APPS_CAPABILITY as Sl, shownTime as Sm, groupMetaNewer as Sn, engineError as So, ReactionWindow as Sp, ATPROTO_PROOF_COLLECTION as Sr, validHead as Ss, GROUP_ENTRY_PROFILE as St, CAPS_ISSUED_BACK_MS as Su, newHandoffId as Sv, stripHidden as Sw, INVITE_HRP as Sx, inboxRecord as Sy, encodeX401Header as T, currentRelays as TC, TURN_SLOTS as TS, HANDOFF_CANCEL as T_, parsePayParams as Ta, readAppBundle as Tb, newWakeToken as Tc, storageProof as Td, recordingMime as Tf, encodeControl as Tg, GATHER_ATTEMPTS as Th, didDhtFromPublicKey as Ti, CALLS_CAPABILITY as Tl, GROUP_MEMBER_CAP as Tm, groupMetaToHand as Tn, PairingTracker as To, parseReactionFrame as Tp, atprotoProofRecord as Tr, PairedCalls as Ts, decodeGroupEntryLink as Tt, CAPS_PUBLISH_SPACING_MS as Tu, readHandoffBusy as Tv, bytesEqual as Tw, INVITE_VERSION as Tx, settleRequest as Ty, checkAppStoreIndex as U, PacketTooLargeError as UC, turnPayloadSequence as US, HANDOFF_VERIFIED as U_, CROSSED_WAIT_MS as Ua, readAppRevocationShape as Ub, APP_RANGE_ERRORS as Uc, irohDescriptor as Ud, EDIT_SEND_LIMIT as Uf, callSignalHeardAt as Ug, MAX_DHT_TEXT_BYTES as Uh, arkAddressPrefix as Ui, SESSION_FRAME_MAX as Ul, verifyCommit as Um, parseSshSignature as Un, SIGNAL_CARRIERS as Uo, ACTIVE_TASK_STATUSES as Up, unsignedCommitBytes as Ur, TYPING_SEND_LIMIT as Us, GROUP_LIMITS as Ut, IDENTITY_MAX_RECEIVED as Uu, readSetUpdate as Uv, ENROLL_CAPABILITY as Ux, STAMP_BITS_MIN as Uy, APP_STORE_LIMITS as V, MAX_DNS_PACKET_BYTES as VC, turnName as VS, HANDOFF_REQUEST as V_, CROSSED_FRESH_MS as Va, isAppSignature as Vb, vapidKeysMatch as Vc, automaticTransport as Vd, EDIT_RATE_WINDOW_MS as Vf, buildSdpFromSignal as Vg, IDLE_THRESHOLD as Vh, USDT_PUBLIC_RPC as Vi, PAIRED_PROFILE as Vl, sortRoster as Vm, SshSigError as Vn, GROUP_VERSION_SIGNALS as Vo, replySnippet as Vp, parseAtprotoVerificationKey as Vr, TYPING_RATE_WINDOW_MS as Vs, mentionedMembers as Vt, IDENTITY_MAX_EVIDENCE as Vu, SET_UPDATE as Vv, __toCommonJS as Vw, DEVICE_ECHO_FRAME as Vx, STAMP_BITS_DEFAULT as Vy, readAppListing as W, RELAY_PAYLOAD_MAX_BYTES as WC, turnReleaseMessage as WS, HANDOFF_VERSION as W_, DEMOTE_AFTER_FAILURES as Wa, readAppRevocations as Wb, APP_RANGE_FRAMES as Wc, irohRelayUrl as Wd, MAX_EDITS_PER_MESSAGE as Wf, compressSdp as Wg, OFFER_FAST_MS as Wh, assertTokenUnits as Wi, SESSION_RECEIVE_PENDING as Wl, verifyCommitSignature as Wm, sameSshKey as Wn, SIGNAL_FRESH_MS as Wo, BUTTON_ID as Wp, verifyAtprotoRecordProof as Wr, TYPING_STATUS_MAX as Ws, GROUP_REACTED_FRAME as Wt, IDENTITY_MAX_VALIDITY as Wu, setAckFrame as Wv, HANDOFF_CAPABILITY as Wx, contactDay as Wy, groupTypingEpoch as X, readOwnRelayPayload as XC, BACKGROUND_WHILE_SIGNALING as XS, handoffAttemptAllowed as X_, HANDLED_WAIT_MS as Xa, verifyAppSignature as Xb, appRangeEndFrame as Xc, DHT_FILE_REFUSED as Xd, editedFrame as Xf, keepsToRelays as Xg, SIGNAL_OUT_READS as Xh, walletNetworkOf as Xi, isHoldUrl as Xl, encryptText as Xm, legacyMessageHash as Xn, GROUP_VERSION_HUBS as Xo, REMOVABLE_KINDS as Xp, DID_JWS_MAX_LENGTH as Xr, sanitizeTypingStatus as Xs, groupMessageId as Xt, IdentityCheckUnavailable as Xu, ENROLL_CANCEL as Xv, deviceLinkParams as Xx, makeStamp as Xy, GroupTypingBoard as Y, parseRelayPayload as YC, BACKGROUND_REQUESTS_PER_MINUTE as YS, handoffAckFrame as Y_, GhostLink as Ya, verifyAppRevocation as Yb, appRangeDataFrame as Yc, ACTIVE_DHT_POLL_MS as Yd, editFrame as Yf, isGlobalIpv4Host as Yg, RELAY_POLL_INTERVALS as Yh, validatePaymentTarget as Yi, HoldRefusedError as Yl, edgeParams as Ym, isLegacySignature as Yn, readGroupSignal as Yo, PR_STATES as Yp, DID_JWS_ALGS as Yr, parseTypingFrame as Ys, frameBytes as Yt, IDENTITY_SUBJECT as Yu, DEVICE_KINDS as Yv, deviceLinkPairing as Yx, linkRecords as Yy, openGroupTyping as Z, signRelayPayload as ZC, BACKGROUND_WRITES_SHARE as ZS, handoffAttemptFailed as Z_, INVITER_DIAL_GRACE_MS as Za, verifyAppStatementBytes as Zb, appRangeErrorFrame as Zc, DHT_FILE_TOO_LARGE as Zd, parseEditFrame as Zf, parseCallSignal as Zg, STALLED_LOOK_MS as Zh, SPARK_NETWORKS as Zi, newMailbox as Zl, epochKeys as Zm, verifyBitcoinMessage as Zn, MESH_HUBS as Zo, ROUTINE_STATES as Zp, DID_MAX_LENGTH as Zr, typingActivity as Zs, COMMUNITY_EDIT_FRAME as Zt, IdentityExchange as Zu, ENROLL_CANCEL_REASONS as Zv, deviceLinkRendezvousSeed as Zx, makeStampPaced as Zy, X401_PROTOCOLS as _, SIGNALING_ALLOWANCE_SHARE as _C, TURN_LABEL as _S, serviceIdFromName as __, pubkyHomeserverOf as _a, assembleAppBundle as _b, WAKE_CALL_TTL_SECONDS as _c, STORAGE_ROOT as _d, VOICE_LIMITS as _f, CHUNK_FLAG_END as _g, ratchetRoot as _h, strictBase64Url as _i, chatAppId as _l, MESSAGE_CLOCK_SKEW_MS as _m, MAX_GROUP_PICTURE_LENGTH as _n, pairedMessageFrame as _o, GROUP_REACTION_FRAME as _p, u32$1 as _r, rankHubs as _s, shortHash as _t, recordsFromWellKnown as _u, handoffStreamKey as _v, sanitizeAvatar as _w, deviceInviteJoinerKeyZ32 as _x, MAX_WAITING as _y, X401_DCQL_LIMITS as a, GROUP_BURST_MS as aC, seedSigner as aS, buildLinkRecords as a_, PUBKY_PROOF_MAX_BYTES as aa, stampHolds as ab, PIN_LIMITS as ac, newIdentityBinding as ad, DHT_FILE_CAPABILITY as af, unusedInviteWait as ag, MAX_SKIP as ah, didWebDocumentUrl as ai, APP_FRAME as al, cardLine as am, validEditText as an, PONG_WAIT_MS as ao, canonicalUrl as ap, BitcoinAddressError as ar, COMMUNITY_TOPOLOGY as as, communityHasFrame as at, NIP05_PATH as au, handoffDoneFrame as av, identityFromSeedB64 as aw, canonicalJson as ax, enrollDoneFrame as ay, buildX401ProofRequest as b, SLOW_MS as bC, TURN_NAME_BYTES as bS, viewerTag as b_, fetchLnurlJson as ba, findAppForbiddenKey as bb, WAKE_INTERVAL_MS as bc, isProofAdapter as bd, downsamplePeaks as bf, MAX_CHUNK_PAYLOAD_BYTES as bg, ratchetUnknownSession as bh, DID_DHT_TTL as bi, parseAppFrame as bl, heardTime as bm, groupMetaBody as bn, ENGINE_ERRORS as bo, REACTION_FRAME as bp, ATPROTO_DECLARED_SCOPE as br, readLobby as bs, verifyCommunityChainPaced as bt, validDomainRecord as bu, handoffVersions as bv, sanitizeDisplayText as bw, readDeviceInvite as bx, clearMissed as by, readX401DcqlQuery as c, GROUP_RATION_WINDOW_MS as cC, TURN_RAISE_READ_TIMEOUT_MS as cS, parseLinkRecords as c_, isPubkyProofFolder as ca, APP_CLIENTS as cb, parsePinFrame as cc, signIdentityPresentation as cd, readDhtFile as cf, HttpHost as cg, RATCHET_HEADER_BYTES as ch, didWebFileUrl as ci, APP_RATE_WINDOW_MS as cl, cardUrl as cm, mentionsBytes as cn, RACE_RELAYED_MS as co, linksIn as cp, decodeAnyBitcoinAddress as cr, doorHubs as cs, communityUntaggedHash as ct, dnsProofName as cu, handoffFileRequestFrame as cv, verify as cw, CONTACT_LINK_BYTES as cx, enrollMessage as cy, newX401HolderKey as d, HEDGE_MS as dC, classifyTurnRead as dS, MAX_SERVICES as d_, pubkyProofCapability as da, APP_ICON_PATH as db, pinIsNewer as dc, applyIdentityEvent as dd, formatFileSize as df, relativizeLocation as dg, RatchetBox as dh, parseDid as di, APP_VERSION_MAX as dl, removedCardText as dm, wireMentions as dn, RTC_UNSTARTED_MS as do, sanitizePreviewImage as dp, decodeWitness as dr, lobbyKeys as ds, encodeCommunityLink as dt, encodeDnsQuery as du, handoffManifestFrames as dv, generateEncryptionKey as dw, encodeContactLink as dx, readEnrollGrant as dy, CHAT_RESERVE_PER_CHAT as eC, devicePingFrame as eS, signalHasVideo as e_, sparkAddressKind as ea, readKnockSlot as eb, COMMUNITY_PIN_FRAME as ec, identityPresentationBytes as ed, DHT_TEXT_REFUSED as ef, UNUSED_INVITE_UPKEEP_MS as eg, openSecret as eh, checkDidJws as ei, encodeAppRangeData as el, TASK_STATUSES as em, carryMentions as en, LIVENESS_PING_MS as eo, validEditNumber as ep, bip322MessageHash as er, meshHubs as es, COMMUNITY_PROFILE as et, DNS_TYPE as eu, handoffCancelFrame as ev, encodeTxtPacket as ew, imageSize as ex, ENROLL_HELLO as ey, readX401SdJwtVc as f, PREVIOUS_DEFAULT_RELAYS as fC, keptAtEqualSequence as fS, SERVICES_VERSION as f_, pubkyProofFile as fa, APP_PERMISSIONS as fb, pinNumberHolds as fc, lastSharedWithMe as fd, safeBlobType as ff, resolveTargetUrl as fg, emptyRatchetState as fh, parseDidDocument as fi, AppSessions as fl, sameButtonText as fm, GROUP_META_PAST as fn, SWITCH_RETIRE_MS as fo, FORWARD_LIMITS as fp, encodeTx as fr, lobbyRecords as fs, leaveStands as ft, isPublicAddress as fu, handoffOfferFrame as fv, sealedLength as fw, readContactLink as fx, readEnrollHello as fy, X401_LIMITS as g, RelaysFailedError as gC, TURN_BODY_BYTES as gS, isViewerTag as g_, homeserverWebEndpoint as ga, appViewOf as gb, WAKE_CALL_INTERVAL_MS as gc, STORAGE_LIFETIME as gd, RECORDING_TYPES as gf, webLocalFetch as gg, ratchetOpen as gh, staticDidDocument as gi, appOpenFrame as gl, usageLeft as gm, MAX_GROUP_NAME_LENGTH as gn, pairedMessageFits as go, COMMUNITY_REACTION_FRAME as gp, txHash as gr, pickHubs as gs, rosterHash as gt, recordsFromTxt as gu, handoffRetryAfter as gv, jpegSize$1 as gw, createDeviceInvite as gx, MAX_MISSED as gy, X401_HEADERS as h, RelayTransport as hC, TOMBSTONE_TURN as hS, isValidServiceId as h_, encodeSvcbPacket as ha, appDigest as hb, DEVICE_WAKE_TTL_SECONDS as hc, PeerProofs as hd, PLAYABLE_AUDIO as hf, viewerResponseHeaders as hg, ratchetOn as hh, signingKeys as hi, appDataFrame as hl, taskProgress as hm, MAX_GROUP_NAME_BYTES as hn, WAKE_LOST_MS as ho, readForwarded as hp, sha256d as hr, newerHead as hs, leftStatement as ht, parseDomainTxt as hu, handoffRequestFrame as hv, MAX_AVATAR_SIDE as hw, DEVICE_INVITE_OWN_DEVICE as hx, MAX_DONE as hy, x401ApprovalDigest as i, FRESH_READ_MS as iC, verifyDeviceTransports as iS, RECORD_TTL as i_, isBitcoinAddress as ia, seenEntry as ib, PIN_FRAME as ic, isIdentityBinding as id, peekDhtMailbox as if, presenceSeenAt as ig, FOLLOW_MS as ih, didSignedMessages as ii, APP_DATA_MAX_BYTES as il, cardEditNumber as im, parseCommunityEdit as in, PAIRING_RETRY_MS as io, LINK_TRAILING as ip, verifyBip322 as ir, wireHubPolicy as is, communityGroupId as it, DOMAIN_TXT_MAX_BYTES as iu, handoffDigest as iv, identityFromSeed as iw, readImageMeta as ix, enrollDigits as iy, readX401ProofResult as j, BREAKER_ALL_DOWN_PROBE_MS as jC, nextTurnPosition as jS, HANDOFF_HAVE as j_, ENDPOINT as ja, APP_STATEMENT_LIMITS as jb, wakePayload as jc, RING_LIFETIME as jd, PLAYABLE_VIDEO as jf, RTC_SIGNAL_MAX_AGE_MS as jg, DIRECT_OWN_ATTEMPTS as jh, openDidDhtPayload as ji, REACTIONS_CAPABILITY as jl, OWN_FRAME_LIMIT as jm, parseGroupMetaFrame as jn, fetchesByItself as jo, readDhtReactions as jp, shortAtprotoDid as jr, FileUplink as js, mergeKnocks as jt, capsDescriptors as ju, readHandoffHello as jv, randomBytes as jw, encodeInviteCode as jx, KNOCK_SLOT_LABEL as jy, readX401ProofResponse as k, setLinkTraceSink as kC, encodeTurnFields as kS, HANDOFF_FILE_MISSING as k_, decodeBolt11 as ka, APP_NAME as kb, relayRequest as kc, verifyNostrProof as kd, voiceLevelsOf as kf, DATA_CHANNEL_LABEL as kg, STALLED_EVIDENCE_MS as kh, encodeDidDhtPacket as ki, KNOWN_SESSION_CAPABILITIES as kl, MAX_GROUP_MEMBERS as km, openGroupMeta as kn, GROUP_WANT_FRAME as ko, reactionFrame as kp, normalizeAtprotoHandle as kr, FILE_FRAMES as ks, knockIdentity as kt, CapsRefusedError as ku, readHandoffFileFrame as kv, fromZ32 as kw, decodeInviteCode as kx, ContactRequestError as ky, x401VpToken as l, GROUP_SIGNALING_ALLOWANCE_SHARE as lC, TURN_SETTLE_MS as lS, HTTP_SERVICE_PROTO as l_, newPubkyProofFolder as la, APP_CLIENT_NAME as lb, parsePinnedFrame as lc, verifyIdentityPresentation as ld, FileTransfers as lf, formatLocalTarget as lg, RATCHET_KEEP_MS as lh, didWebHost as li, APP_RESUME_GRACE_MS as ll, checkStatusCard as lm, mentionsMember as ln, REDESCRIBED_GRACE_MS as lo, parseLinkPreview as lp, decodeBitcoinAddress as lr, freshHubs as ls, decodeCommunityLink as lt, domainTxtRecord as lu, handoffHaveFrames as lv, decrypt as lw, CONTACT_LINK_VERSION as lx, enrollProofFrame as ly, x401HolderJwk as m, REQUESTS_PER_MINUTE as mC, TOMBSTONE_SEQUENCE as mS, encodeServices as m_, decodeSvcbRecords as ma, APP_VIEWS as mb, readPin as mc, PROOF_CAPABILITY as md, sanitizeMime as mf, sanitizeResponseHeaders as mg, ratchetHeard as mh, parseDidSignaturePaste as mi, appDataBytes as ml, statusCardText as mm, MAX_GROUP_META_BODY as mn, WAKE_ANSWER_GRACE_MS as mo, forwardedMany as mp, hash160 as mr, mergeLobby as ms, leaveStatement3 as mt, normalizeDomain as mu, handoffReleaseFrame as mv, MAX_AVATAR_LENGTH as mw, DEVICE_INVITE_LIFETIME_S as mx, FLOOD_PER_DAY as my, X401_RESPONSE_MODES as n, DEFAULT_RELAYS as nC, signDeviceTransports as nS, LABEL$1 as n_, sparkNetworkOf as na, requestPlaintextBytes as nb, PINNED_FRAME as nc, identityStatement as nd, LIVE_POLL_MS as nf, WATCH_PEER_MS as ng, sealSecret as nh, didGhostlyServiceEntry as ni, parseAppRangeFrame as nl, appCardUrl as nm, communityMessageAuthor as nn, PAIRED_FRAME_TOO_LARGE as no, LINK_MAX_CHARS as np, bip322ToSpend as nr, parseHubPolicy as ns, GROUP_READ_NOTE_COMMUNITY as nt, DOMAIN_MAX_RECORDS as nu, handoffContextProof as nv, IDENTITY_MEMO_SIZE as nw, parseImageMeta as nx, enrollCancelFrame as ny, matchX401Dcql as o, GROUP_BURST_ONE_LINK as oC, webCryptoSigner as oS, emptyLinkRecords as o_, PUBKY_PROOF_ROOT as oa, APP_BUNDLE_LIMITS as ob, mayPin as oc, receivedIdentityStatus as od, dhtFileElements as of, GhostlyHttpError as og, MAX_SKIPPED_KEYS as oh, didWebFile as oi, APP_PEER_OPEN_MAX as ol, cardLinkHost as om, MENTION_EVERYONE as on, RACE_ANSWERED_MS as oo, linkEnd as op, ByteReader as or, beaconKeys as os, communityMessageId as ot, WELL_KNOWN_PATH as ou, handoffEphemeral as ov, publicKeyFromZ32 as ow, canonicalJsonBytes as ox, enrollGrantFrame as oy, sameX401HolderJwk as p, RELAY_REQUESTS_PER_MINUTE as pC, turnPutSummary as pS, decodeServices as p_, pubkyProofPath as pa, APP_SCREENSHOTS_DIR as pb, pinnedFrame as pc, PROOF_ADAPTERS as pd, sanitizeFileName as pf, sanitizeRequestHeaders as pg, isRatcheted as ph, parseDidJws as pi, appCloseFrame as pl, statusCardBytes as pm, GROUP_META_PAST_CHARS as pn, UNPROVEN_AUTH_MS as po, forwardedAgain as pp, encodeWitness as pr, mergeBeacon as ps, leaveStatement as pt, nip05RootKey as pu, handoffPakeFrame as pv, tryDecrypt as pw, DEVICE_INVITE_BYTES as px, verifyEnrollProof as py, signAppStore as q, newerPacket as qC, turnStatedVerifier as qS, filePartDigest as q_, EARLY_DIAL_JOIN_MS as qa, signAppObject as qb, appRangeCancelFrame as qc, relayedTransports as qd, RateWindow as qf, extractParamsFromSdp as qg, PRESENCE_HEARTBEAT as qh, isWalletNetwork as qi, HOLD_LIMITS as ql, confirmationTag as qm, sshSignCommand as qn, SIGNAL_REPLY_MS as qo, ITEM_STATES as qp, DID_FILE_MAX_BYTES as qr, TypingSender as qs, asWritten as qt, IDENTITY_REVOCATION_LABEL as qu, signTombstone as qv, deviceFrameCapability as qx, knockSlotOf as qy, readX401OpenId4VpRequest as r, DEPARTED_READS as rC, unsignedDeviceTransports as rS, MAX_MSGS_PAYLOAD_B64 as r_, BITCOIN_NETWORKS as ra, requestRecords as rb, PIN_CLOCK_SKEW_MS as rc, identityStatementText as rd, emptyDhtDeliveryState as rf, countUnusedInvite as rg, sha256Hex as rh, didJwsAlg as ri, readAppRangeFrame as rl, buttonLabelClash as rm, meshMessageRef as rn, PAIRING_ATTEMPT_MS as ro, LINK_PREVIEW_LIMITS as rp, decodeBase64 as rr, pickMeshHubs as rs, communityCommitHash as rt, DOMAIN_METHODS as ru, handoffDataFrame as rv, createIdentity as rw, previewable as rx, enrollCancelReason as ry, presentX401SdJwtVc as s, GROUP_OVER_PACE_MS as sC, TURN_PUT_WINDOW_MS as sS, isEmptyLinkPacket as s_, isPubkyKey as sa, APP_BUNDLE_MAGIC as sb, nextPinNumber as sc, revokesIdentity as sd, dhtFileId as sf, HttpClient as sg, RATCHET_CAPABILITY as sh, didWebFileNames as si, APP_RATE_LIMIT as sl, cardTimeUtc as sm, MENTION_LIMITS as sn, RACE_DIRECT_MS as so, linkStop as sp, compactSize as sr, beaconRecords as ss, communityRoster as st, decodeDnsResponse as su, handoffFileMissingFrame as sv, sign as sw, readCanonicalJson as sx, enrollHelloFrame as sy, X401_REQUEST_LIMITS as t, CHAT_WATCH_SHARE as tC, newDeviceSetSecret as tS, waitForIceGathering as t_, sparkInvoiceDetails as ta, readLinkRecord as tb, GROUP_PIN_FRAME as tc, identityRevocationValue as td, DhtDelivery as tf, UNUSED_INVITE_WAIT_MAX_MS as tg, sealPair as th, checkDidSignature as ti, isServeId as tl, appCardId as tm, communityEditFrame as tn, MAX_PAIRED_MESSAGE_FRAME as to, validRemovalNumber as tp, bip322ToSign as tr, meshRendezvous as ts, CommunitySession as tt, DOMAIN_FILE_MAX_BYTES as tu, handoffContext as tv, readDnsName as tw, isImageMime as tx, ENROLL_PROOF as ty, X401_CREDENTIAL_LIMITS as u, HEDGE_MISSING_MS as uC, TURN_VISIBLE_MS as uS, LEGACY_SERVICES as u_, normalizePubkyKey as ua, APP_FORBIDDEN_KEYS as ub, pinFrame as uc, IDENTITY_TIMELINE_MAX as ud, PREVIEWABLE_IMAGE as uf, parseLocalTarget as ug, RATCHET_OVERHEAD as uh, normalizeDid as ui, APP_SEND_LIMIT as ul, readStatusCard as um, validMentions as un, RESUME_WAIT_MS as uo, previewImageSize as up, decodeTx as ur, hubRank as us, derivedSecret as ut, domainWellKnownFile as uu, handoffHelloFrame as uv, encrypt as uw, createContactLink as ux, formatEnrollDigits as uy, X401_SCHEME as v, SIGNALING_WINDOW_MS as vC, TURN_LAST_SEQUENCE as vS, servicesFromWire as v_, LIGHTNING_DESTINATION_PATTERN as va, buildAppBundle as vb, WAKE_CALL_WAIT_MS as vc, emptyProofLedger as vd, VOICE_METER as vf, CHUNK_KIND as vg, ratchetSeal as vh, DID_DHT_MAX_PAYLOAD as vi, isAppVersion as vl, arrivalKey as vm, encodeGroupMetaBody as vn, parsePaymentNetworks as vo, QUICK_REACTIONS as vp, u64 as vr, readBeacon as vs, signCommunity as vt, recordsName as vu, handoffVerifiedFrame as vv, MAX_NICK_LENGTH as vw, deviceInviteJoinerParams as vx, NEW_PER_HOUR as vy, decodeX401Header as w, WRITE_FIRST_MS as wC, TURN_SIGNED_BYTES as wS, HANDOFF_BUSY_REASONS as w_, parseLightningDestination as wa, pacer as wb, deviceWakeRequest as wc, proofStatement as wd, parseVoiceMeta as wf, encodeChunk as wg, DataLink as wh, didDhtDocument as wi, BUTTONS_CAPABILITY as wl, GROUP_ID as wm, groupMetaTag as wn, parseEngineError as wo, parseReactedFrame as wp, atprotoDidMethod as wr, PAIRED_CALL_FRAME as ws, MAX_KNOCKS as wt, CAPS_LIMITS as wu, readHandoffAck as wv, unwrapPasted as ww, INVITE_MAX_LENGTH as wx, planKnocks as wy, buildX401ProofResult as x, TURN_SOURCE_TIMEOUT_MS as xC, TURN_NO_ACTIVE as xS, HANDOFF_ACK as x_, findLightningDestination as xa, isAppLicense as xb, WAKE_SUBJECT as xc, nostrProofTemplate as xd, fileMessageText as xf, PROTOCOL_VERSION as xg, ANSWER_REFUSED_REDIALS as xh, DID_DHT_VERSION as xi, readAppFrame as xl, receivedTimestamp as xm, groupMetaChange as xn, EngineError as xo, REACTION_LIMITS as xp, ATPROTO_FULL_SCOPE as xr, shouldBeHub as xs, verifyCommunityCommit as xt, wellKnownUrl as xu, isHandoffPartName as xv, sanitizeNick as xw, DEVICE_INVITE_VERSION as xx, endedRequests as xy, X401_VERSION as y, SLOW_DEMOTE_MS as yC, TURN_MAX as yS, servicesToWire as y_, LNURL_LIMITS as ya, checkAppManifest as yb, WAKE_FRAME as yc, importedProof as yd, baseMime as yf, LIMITS as yg, ratchetSessionOf as yh, DID_DHT_PREFIX as yi, isChatAppId as yl, claimedTime as ym, groupDisplayName as yn, publishFailure as yo, REACTED_FRAME as yp, varBytes as yr, readBeaconHead as ys, verifyCommunityChain as yt, txtValue as yu, handoffVerifiedMessage as yv, hasVisible as yw, encodeDeviceInvite as yx, REOPEN_BELOW as yy, planAppUpdate as z, isDiscoveryBudgetError as zC, turnInstance as zS, HANDOFF_PIECE_OVERHEAD as z_, ANSWERS_REFUSED_PAUSE_MS as za, isAppKey as zb, pushRequest as zc, RELAY_WITH_SECRETS as zd, EDIT_BUFFER_MS as zf, RTC_CONFIG as zg, EXPECT_PEER_MS as zh, SEPOLIA_TEST_USDT_FAUCET as zi, parseSessionCapabilities as zl, rosterHas as zm, SSH_KEY_TYPES as zn, CarriedTransport as zo, pairedReplyAuthor as zp, parseAtprotoCar as zr, TYPING_KINDS as zs, groupWakeFrame as zt, IDENTITY_FRAME_LIMIT as zu, sortParts as zv, __exportAll as zw, DEVICES_CAPABILITY as zx, REQUEST_PACKET_BYTES as zy };
37372
37499
 
37373
- //# sourceMappingURL=src-CfpOdLVf.js.map
37500
+ //# sourceMappingURL=src-DytzSJB6.js.map