@ikonai/sdk 0.0.7 → 0.0.8

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.
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- function Nl(e) {
1
+ function yl(e) {
2
2
  return e;
3
3
  }
4
4
  function Ce(e) {
@@ -6,26 +6,26 @@ function Ce(e) {
6
6
  throw new Error("Protocol message too short");
7
7
  return (e[4] | e[5] << 8 | e[6] << 16 | e[7] << 24) >>> 0;
8
8
  }
9
- function Ct(e) {
9
+ function _t(e) {
10
10
  return Ce(e) & 4294901760;
11
11
  }
12
12
  function _e(e) {
13
13
  const n = we(e), d = new DataView(n.buffer, n.byteOffset, n.byteLength);
14
14
  if (n.length < 27)
15
15
  throw new Error("Protocol payload too short");
16
- const i = d.getUint32(0, !0), s = d.getUint32(4, !0), a = d.getUint32(8, !0), c = d.getUint32(12, !0), f = d.getUint32(16, !0), w = d.getUint32(20, !0), F = d.getUint8(24), t = d.getUint8(25), r = d.getUint8(26);
17
- if (27 + w * 4 > n.length)
16
+ const i = d.getUint32(0, !0), s = d.getUint32(4, !0), a = d.getUint32(8, !0), c = d.getUint32(12, !0), w = d.getUint32(16, !0), f = d.getUint32(20, !0), F = d.getUint8(24), t = d.getUint8(25), r = d.getUint8(26);
17
+ if (27 + f * 4 > n.length)
18
18
  throw new Error("Protocol header exceeds payload length");
19
19
  const l = [];
20
20
  let u = 27;
21
- for (let b = 0; b < w; b++)
21
+ for (let b = 0; b < f; b++)
22
22
  l.push(d.getUint32(u, !0)), u += 4;
23
23
  return {
24
24
  length: i,
25
25
  opcode: s,
26
26
  senderId: a,
27
27
  trackId: c,
28
- sequenceId: f,
28
+ sequenceId: w,
29
29
  targetIds: l,
30
30
  payloadVersion: F,
31
31
  payloadType: t,
@@ -44,18 +44,18 @@ function N(e, n, d) {
44
44
  return i.subarray(a, s.length);
45
45
  }
46
46
  function M(e, n, d, i) {
47
- const s = i?.senderId ?? 0, a = i?.trackId ?? 0, c = i?.sequenceId ?? 0, f = i?.flags ?? 0, w = i?.targetIds ?? [], F = i?.payloadType ?? 8, t = 27 + w.length * 4, r = t + n.length, o = new Uint8Array(r), l = new DataView(o.buffer);
48
- l.setUint32(0, r, !0), l.setUint32(4, e >>> 0, !0), l.setUint32(8, s >>> 0, !0), l.setUint32(12, a >>> 0, !0), l.setUint32(16, c >>> 0, !0), l.setUint32(20, w.length >>> 0, !0), l.setUint8(24, d & 255), l.setUint8(25, F & 255), l.setUint8(26, f & 255);
47
+ const s = i?.senderId ?? 0, a = i?.trackId ?? 0, c = i?.sequenceId ?? 0, w = i?.flags ?? 0, f = i?.targetIds ?? [], F = i?.payloadType ?? 8, t = 27 + f.length * 4, r = t + n.length, o = new Uint8Array(r), l = new DataView(o.buffer);
48
+ l.setUint32(0, r, !0), l.setUint32(4, e >>> 0, !0), l.setUint32(8, s >>> 0, !0), l.setUint32(12, a >>> 0, !0), l.setUint32(16, c >>> 0, !0), l.setUint32(20, f.length >>> 0, !0), l.setUint8(24, d & 255), l.setUint8(25, F & 255), l.setUint8(26, w & 255);
49
49
  let u = 27;
50
- for (let b = 0; b < w.length; b++)
51
- l.setUint32(u, w[b] >>> 0, !0), u += 4;
50
+ for (let b = 0; b < f.length; b++)
51
+ l.setUint32(u, f[b] >>> 0, !0), u += 4;
52
52
  return o.set(n, t), o;
53
53
  }
54
54
  var S = /* @__PURE__ */ ((e) => (e[e.Null = 1] = "Null", e[e.Bool = 2] = "Bool", e[e.Int32 = 3] = "Int32", e[e.Int64 = 4] = "Int64", e[e.UInt32 = 5] = "UInt32", e[e.UInt64 = 6] = "UInt64", e[e.Float32 = 7] = "Float32", e[e.Float64 = 8] = "Float64", e[e.Array = 9] = "Array", e[e.Dict = 10] = "Dict", e[e.Object = 11] = "Object", e[e.String = 12] = "String", e[e.Binary = 13] = "Binary", e[e.Guid = 14] = "Guid", e))(S || {});
55
- const bt = 161, mt = 162, Fe = new TextEncoder(), _t = new TextDecoder("utf-8", { fatal: !0 });
55
+ const mt = 161, yt = 162, Fe = new TextEncoder(), Lt = new TextDecoder("utf-8", { fatal: !0 });
56
56
  class m {
57
57
  constructor(n = 1) {
58
- this.version = n, this.buffer.writeByte(bt), this.buffer.writeVarUInt(n >>> 0);
58
+ this.version = n, this.buffer.writeByte(mt), this.buffer.writeVarUInt(n >>> 0);
59
59
  }
60
60
  buffer = new fe();
61
61
  closed = !1;
@@ -113,7 +113,7 @@ class m {
113
113
  this.writeVariableField(n, 10, c);
114
114
  }
115
115
  finish() {
116
- return this.closed || (this.buffer.writeByte(mt), this.closed = !0, this.cached = this.buffer.toUint8Array()), this.cached;
116
+ return this.closed || (this.buffer.writeByte(yt), this.closed = !0, this.cached = this.buffer.toUint8Array()), this.cached;
117
117
  }
118
118
  writeFixedField(n, d, i) {
119
119
  this.writeFieldHeader(n, d, 0), i();
@@ -122,7 +122,7 @@ class m {
122
122
  this.writeFieldHeader(n, d, i.length), this.buffer.writeBytes(i);
123
123
  }
124
124
  writeFieldHeader(n, d, i) {
125
- this.buffer.writeUInt32(n >>> 0), this.buffer.writeByte(Te(d)), vt(d) && this.buffer.writeVarUInt(i >>> 0);
125
+ this.buffer.writeUInt32(n >>> 0), this.buffer.writeByte(Te(d)), Gt(d) && this.buffer.writeVarUInt(i >>> 0);
126
126
  }
127
127
  }
128
128
  class pe {
@@ -246,7 +246,7 @@ class Le {
246
246
  beginEntry() {
247
247
  if (this.entryOpen)
248
248
  throw new Error("Previous dictionary entry not completed");
249
- return this.count++, this.entryOpen = !0, new Lt(this.keyType, this.valueType, this.payload, () => {
249
+ return this.count++, this.entryOpen = !0, new Dt(this.keyType, this.valueType, this.payload, () => {
250
250
  this.entryOpen = !1;
251
251
  });
252
252
  }
@@ -257,7 +257,7 @@ class Le {
257
257
  return n.writeByte(Te(this.keyType)), n.writeByte(Te(this.valueType)), n.writeVarUInt(this.count), n.writeBytes(this.payload.toUint8Array()), n.toUint8Array();
258
258
  }
259
259
  }
260
- class Lt {
260
+ class Dt {
261
261
  constructor(n, d, i, s) {
262
262
  this.keyType = n, this.valueType = d, this.payload = i, this.onComplete = s;
263
263
  }
@@ -458,7 +458,7 @@ class y {
458
458
  const d = we(n);
459
459
  if (d.length < 2)
460
460
  throw new Error("Teleport payload too short");
461
- if (d[0] !== bt || d[d.length - 1] !== mt)
461
+ if (d[0] !== mt || d[d.length - 1] !== yt)
462
462
  throw new Error("Teleport object missing markers");
463
463
  const i = { offset: 1 }, s = R(d, i, "InvalidLength");
464
464
  return new y(d, s, i.offset);
@@ -468,7 +468,7 @@ class y {
468
468
  return null;
469
469
  if (this.offset + 5 > this.buffer.length)
470
470
  throw new Error("Teleport object truncated");
471
- const n = Gt(this.buffer, this.offset);
471
+ const n = Kt(this.buffer, this.offset);
472
472
  this.offset += 4;
473
473
  const d = this.buffer[this.offset++], i = d >> 4 & 15;
474
474
  if ((d & 15) !== 0)
@@ -478,10 +478,10 @@ class y {
478
478
  if (s >= 0)
479
479
  J(this.buffer, this.offset, s), a = this.buffer.subarray(this.offset, this.offset + s), this.offset += s;
480
480
  else {
481
- const c = { offset: this.offset }, f = R(this.buffer, c, "InvalidLength");
482
- J(this.buffer, c.offset, f), a = this.buffer.subarray(c.offset, c.offset + f), this.offset = c.offset + f;
481
+ const c = { offset: this.offset }, w = R(this.buffer, c, "InvalidLength");
482
+ J(this.buffer, c.offset, w), a = this.buffer.subarray(c.offset, c.offset + w), this.offset = c.offset + w;
483
483
  }
484
- return new Dt(n, i, a);
484
+ return new jt(n, i, a);
485
485
  }
486
486
  }
487
487
  class Y {
@@ -546,7 +546,7 @@ class Y {
546
546
  return this.ensureType(
547
547
  12
548
548
  /* String */
549
- ), _t.decode(this.payload);
549
+ ), Lt.decode(this.payload);
550
550
  }
551
551
  asGuid() {
552
552
  return this.ensureType(
@@ -577,7 +577,7 @@ class Y {
577
577
  throw new Error(`Teleport value has type ${S[this.type]}, expected ${S[n]}`);
578
578
  }
579
579
  }
580
- class Dt extends Y {
580
+ class jt extends Y {
581
581
  constructor(n, d, i) {
582
582
  super(d, i), this.fieldId = n;
583
583
  }
@@ -684,7 +684,7 @@ class je {
684
684
  return null;
685
685
  }
686
686
  const n = this.readKey(), d = this.readValue();
687
- return this.index++, new jt(n, d);
687
+ return this.index++, new Ht(n, d);
688
688
  }
689
689
  readKey() {
690
690
  const n = ne(this.keyType);
@@ -743,7 +743,7 @@ class je {
743
743
  }
744
744
  }
745
745
  }
746
- class jt {
746
+ class Ht {
747
747
  constructor(n, d) {
748
748
  this.key = n, this.value = d;
749
749
  }
@@ -760,8 +760,8 @@ class D {
760
760
  throw new Error("Guid string must be 32 hex characters");
761
761
  const i = new Uint8Array(16), s = D.parseHexSlice(d, 0, 8), a = D.parseHexSlice(d, 8, 4), c = D.parseHexSlice(d, 12, 4);
762
762
  D.writeUInt32LE(i, 0, s), D.writeUInt16LE(i, 4, a), D.writeUInt16LE(i, 6, c);
763
- for (let f = 0; f < 8; f++)
764
- i[8 + f] = D.parseHexSlice(d, 16 + f * 2, 2);
763
+ for (let w = 0; w < 8; w++)
764
+ i[8 + w] = D.parseHexSlice(d, 16 + w * 2, 2);
765
765
  return new D(i);
766
766
  }
767
767
  static fromBytes(n) {
@@ -866,7 +866,7 @@ function R(e, n, d) {
866
866
  for (; n.offset < e.length; ) {
867
867
  const c = e[n.offset++];
868
868
  if (a++, i |= (c & 127) << s, (c & 128) === 0) {
869
- if (a !== Ht(i))
869
+ if (a !== vt(i))
870
870
  throw new Error("Teleport VarUInt is not canonical");
871
871
  return i >>> 0;
872
872
  }
@@ -875,7 +875,7 @@ function R(e, n, d) {
875
875
  }
876
876
  throw new Error(d);
877
877
  }
878
- function Ht(e) {
878
+ function vt(e) {
879
879
  return e < 128 ? 1 : e < 16384 ? 2 : e < 2097152 ? 3 : e < 268435456 ? 4 : 5;
880
880
  }
881
881
  function Te(e, n = 0) {
@@ -883,7 +883,7 @@ function Te(e, n = 0) {
883
883
  throw new Error("Teleport flags must fit into 4 bits");
884
884
  return (e & 15) << 4 | n & 15;
885
885
  }
886
- function vt(e) {
886
+ function Gt(e) {
887
887
  return e === 12 || e === 13 || e === 9 || e === 11 || e === 10;
888
888
  }
889
889
  function ne(e) {
@@ -914,7 +914,7 @@ function J(e, n, d) {
914
914
  if (n < 0 || d < 0 || n + d > e.length)
915
915
  throw new Error("Teleport payload exceeds bounds");
916
916
  }
917
- function Gt(e, n) {
917
+ function Kt(e, n) {
918
918
  return (e[n] | e[n + 1] << 8 | e[n + 2] << 16 | e[n + 3] << 24) >>> 0;
919
919
  }
920
920
  function ve(e, n) {
@@ -925,13 +925,13 @@ function ve(e, n) {
925
925
  throw new Error("Array flags must be zero");
926
926
  const s = { offset: n + 1 }, a = R(e, s, "ArrayMalformed"), c = ne(i);
927
927
  if (c >= 0) {
928
- const w = c * a;
929
- return J(e, s.offset, w), s.offset + w - n;
928
+ const f = c * a;
929
+ return J(e, s.offset, f), s.offset + f - n;
930
930
  }
931
- let f = s.offset;
932
- for (let w = 0; w < a; w++)
933
- f = Me(i, e, f, "ArrayMalformed");
934
- return f - n;
931
+ let w = s.offset;
932
+ for (let f = 0; f < a; f++)
933
+ w = Me(i, e, w, "ArrayMalformed");
934
+ return w - n;
935
935
  }
936
936
  function Ge(e, n) {
937
937
  if (n + 2 > e.length)
@@ -942,7 +942,7 @@ function Ge(e, n) {
942
942
  He(d);
943
943
  const s = { offset: n + 2 }, a = R(e, s, "DictMalformed");
944
944
  let c = s.offset;
945
- for (let f = 0; f < a; f++)
945
+ for (let w = 0; w < a; w++)
946
946
  c = Me(d, e, c, "DictMalformed"), c = Me(i, e, c, "DictMalformed");
947
947
  return c - n;
948
948
  }
@@ -1002,10 +1002,10 @@ var ae;
1002
1002
  e.decode = a;
1003
1003
  function c(t, r) {
1004
1004
  const o = r ?? n();
1005
- return d(o), f(t, o), o;
1005
+ return d(o), w(t, o), o;
1006
1006
  }
1007
1007
  e.readFromTeleport = c;
1008
- function f(t, r) {
1008
+ function w(t, r) {
1009
1009
  let o;
1010
1010
  for (; (o = t.next()) !== null; )
1011
1011
  switch (o.fieldId) {
@@ -1023,11 +1023,11 @@ var ae;
1023
1023
  }
1024
1024
  }
1025
1025
  }
1026
- function w(t, r) {
1026
+ function f(t, r) {
1027
1027
  const o = i(t);
1028
1028
  return M(e.TeleportOpcode, o, e.TeleportVersion, r);
1029
1029
  }
1030
- e.toProtocolMessage = w;
1030
+ e.toProtocolMessage = f;
1031
1031
  function F(t, r) {
1032
1032
  const o = N(t, e.TeleportOpcode, e.TeleportVersion);
1033
1033
  return a(o, r);
@@ -1062,10 +1062,10 @@ var ze;
1062
1062
  e.decode = a;
1063
1063
  function c(t, r) {
1064
1064
  const o = r ?? n();
1065
- return d(o), f(t, o), o;
1065
+ return d(o), w(t, o), o;
1066
1066
  }
1067
1067
  e.readFromTeleport = c;
1068
- function f(t, r) {
1068
+ function w(t, r) {
1069
1069
  let o;
1070
1070
  for (; (o = t.next()) !== null; )
1071
1071
  switch (o.fieldId) {
@@ -1083,11 +1083,11 @@ var ze;
1083
1083
  }
1084
1084
  }
1085
1085
  }
1086
- function w(t, r) {
1086
+ function f(t, r) {
1087
1087
  const o = i(t);
1088
1088
  return M(e.TeleportOpcode, o, e.TeleportVersion, r);
1089
1089
  }
1090
- e.toProtocolMessage = w;
1090
+ e.toProtocolMessage = f;
1091
1091
  function F(t, r) {
1092
1092
  const o = N(t, e.TeleportOpcode, e.TeleportVersion);
1093
1093
  return a(o, r);
@@ -1122,10 +1122,10 @@ var Ye;
1122
1122
  e.decode = a;
1123
1123
  function c(t, r) {
1124
1124
  const o = r ?? n();
1125
- return d(o), f(t, o), o;
1125
+ return d(o), w(t, o), o;
1126
1126
  }
1127
1127
  e.readFromTeleport = c;
1128
- function f(t, r) {
1128
+ function w(t, r) {
1129
1129
  let o;
1130
1130
  for (; (o = t.next()) !== null; )
1131
1131
  switch (o.fieldId) {
@@ -1143,11 +1143,11 @@ var Ye;
1143
1143
  }
1144
1144
  }
1145
1145
  }
1146
- function w(t, r) {
1146
+ function f(t, r) {
1147
1147
  const o = i(t);
1148
1148
  return M(e.TeleportOpcode, o, e.TeleportVersion, r);
1149
1149
  }
1150
- e.toProtocolMessage = w;
1150
+ e.toProtocolMessage = f;
1151
1151
  function F(t, r) {
1152
1152
  const o = N(t, e.TeleportOpcode, e.TeleportVersion);
1153
1153
  return a(o, r);
@@ -1187,10 +1187,10 @@ var ge;
1187
1187
  e.decode = a;
1188
1188
  function c(r, o) {
1189
1189
  const l = o ?? n();
1190
- return d(l), f(r, l), l;
1190
+ return d(l), w(r, l), l;
1191
1191
  }
1192
1192
  e.readFromTeleport = c;
1193
- function f(r, o) {
1193
+ function w(r, o) {
1194
1194
  let l;
1195
1195
  for (; (l = r.next()) !== null; )
1196
1196
  switch (l.fieldId) {
@@ -1220,11 +1220,11 @@ var ge;
1220
1220
  }
1221
1221
  }
1222
1222
  }
1223
- function w(r, o) {
1223
+ function f(r, o) {
1224
1224
  const l = i(r);
1225
1225
  return M(e.TeleportOpcode, l, e.TeleportVersion, o);
1226
1226
  }
1227
- e.toProtocolMessage = w;
1227
+ e.toProtocolMessage = f;
1228
1228
  function F(r, o) {
1229
1229
  const l = N(r, e.TeleportOpcode, e.TeleportVersion);
1230
1230
  return a(l, o);
@@ -1327,10 +1327,10 @@ var Xe;
1327
1327
  e.decode = a;
1328
1328
  function c(t, r) {
1329
1329
  const o = r ?? n();
1330
- return d(o), f(t, o), o;
1330
+ return d(o), w(t, o), o;
1331
1331
  }
1332
1332
  e.readFromTeleport = c;
1333
- function f(t, r) {
1333
+ function w(t, r) {
1334
1334
  let o;
1335
1335
  for (; (o = t.next()) !== null; )
1336
1336
  switch (o.fieldId) {
@@ -1348,11 +1348,11 @@ var Xe;
1348
1348
  }
1349
1349
  }
1350
1350
  }
1351
- function w(t, r) {
1351
+ function f(t, r) {
1352
1352
  const o = i(t);
1353
1353
  return M(e.TeleportOpcode, o, e.TeleportVersion, r);
1354
1354
  }
1355
- e.toProtocolMessage = w;
1355
+ e.toProtocolMessage = f;
1356
1356
  function F(t, r) {
1357
1357
  const o = N(t, e.TeleportOpcode, e.TeleportVersion);
1358
1358
  return a(o, r);
@@ -1387,10 +1387,10 @@ var qe;
1387
1387
  e.decode = a;
1388
1388
  function c(t, r) {
1389
1389
  const o = r ?? n();
1390
- return d(o), f(t, o), o;
1390
+ return d(o), w(t, o), o;
1391
1391
  }
1392
1392
  e.readFromTeleport = c;
1393
- function f(t, r) {
1393
+ function w(t, r) {
1394
1394
  let o;
1395
1395
  for (; (o = t.next()) !== null; )
1396
1396
  switch (o.fieldId) {
@@ -1408,11 +1408,11 @@ var qe;
1408
1408
  }
1409
1409
  }
1410
1410
  }
1411
- function w(t, r) {
1411
+ function f(t, r) {
1412
1412
  const o = i(t);
1413
1413
  return M(e.TeleportOpcode, o, e.TeleportVersion, r);
1414
1414
  }
1415
- e.toProtocolMessage = w;
1415
+ e.toProtocolMessage = f;
1416
1416
  function F(t, r) {
1417
1417
  const o = N(t, e.TeleportOpcode, e.TeleportVersion);
1418
1418
  return a(o, r);
@@ -1445,19 +1445,19 @@ var Ze;
1445
1445
  e.decode = a;
1446
1446
  function c(t, r) {
1447
1447
  const o = r ?? n();
1448
- return f(t), o;
1448
+ return w(t), o;
1449
1449
  }
1450
1450
  e.readFromTeleport = c;
1451
- function f(t, r) {
1451
+ function w(t, r) {
1452
1452
  let o;
1453
1453
  for (; (o = t.next()) !== null; )
1454
1454
  o.fieldId;
1455
1455
  }
1456
- function w(t, r) {
1456
+ function f(t, r) {
1457
1457
  const o = i();
1458
1458
  return M(e.TeleportOpcode, o, e.TeleportVersion, r);
1459
1459
  }
1460
- e.toProtocolMessage = w;
1460
+ e.toProtocolMessage = f;
1461
1461
  function F(t, r) {
1462
1462
  const o = N(t, e.TeleportOpcode, e.TeleportVersion);
1463
1463
  return a(o, r);
@@ -1497,10 +1497,10 @@ var Qe;
1497
1497
  e.decode = a;
1498
1498
  function c(r, o) {
1499
1499
  const l = o ?? n();
1500
- return d(l), f(r, l), l;
1500
+ return d(l), w(r, l), l;
1501
1501
  }
1502
1502
  e.readFromTeleport = c;
1503
- function f(r, o) {
1503
+ function w(r, o) {
1504
1504
  let l;
1505
1505
  for (; (l = r.next()) !== null; )
1506
1506
  switch (l.fieldId) {
@@ -1518,11 +1518,11 @@ var Qe;
1518
1518
  }
1519
1519
  }
1520
1520
  }
1521
- function w(r, o) {
1521
+ function f(r, o) {
1522
1522
  const l = i(r);
1523
1523
  return M(e.TeleportOpcode, l, e.TeleportVersion, o);
1524
1524
  }
1525
- e.toProtocolMessage = w;
1525
+ e.toProtocolMessage = f;
1526
1526
  function F(r, o) {
1527
1527
  const l = N(r, e.TeleportOpcode, e.TeleportVersion);
1528
1528
  return a(l, o);
@@ -1623,19 +1623,19 @@ var Be;
1623
1623
  e.decode = a;
1624
1624
  function c(t, r) {
1625
1625
  const o = r ?? n();
1626
- return f(t), o;
1626
+ return w(t), o;
1627
1627
  }
1628
1628
  e.readFromTeleport = c;
1629
- function f(t, r) {
1629
+ function w(t, r) {
1630
1630
  let o;
1631
1631
  for (; (o = t.next()) !== null; )
1632
1632
  o.fieldId;
1633
1633
  }
1634
- function w(t, r) {
1634
+ function f(t, r) {
1635
1635
  const o = i();
1636
1636
  return M(e.TeleportOpcode, o, e.TeleportVersion, r);
1637
1637
  }
1638
- e.toProtocolMessage = w;
1638
+ e.toProtocolMessage = f;
1639
1639
  function F(t, r) {
1640
1640
  const o = N(t, e.TeleportOpcode, e.TeleportVersion);
1641
1641
  return a(o, r);
@@ -1668,19 +1668,19 @@ var Ae;
1668
1668
  e.decode = a;
1669
1669
  function c(t, r) {
1670
1670
  const o = r ?? n();
1671
- return f(t), o;
1671
+ return w(t), o;
1672
1672
  }
1673
1673
  e.readFromTeleport = c;
1674
- function f(t, r) {
1674
+ function w(t, r) {
1675
1675
  let o;
1676
1676
  for (; (o = t.next()) !== null; )
1677
1677
  o.fieldId;
1678
1678
  }
1679
- function w(t, r) {
1679
+ function f(t, r) {
1680
1680
  const o = i();
1681
1681
  return M(e.TeleportOpcode, o, e.TeleportVersion, r);
1682
1682
  }
1683
- e.toProtocolMessage = w;
1683
+ e.toProtocolMessage = f;
1684
1684
  function F(t, r) {
1685
1685
  const o = N(t, e.TeleportOpcode, e.TeleportVersion);
1686
1686
  return a(o, r);
@@ -1715,10 +1715,10 @@ var Ue;
1715
1715
  e.decode = a;
1716
1716
  function c(t, r) {
1717
1717
  const o = r ?? n();
1718
- return d(o), f(t, o), o;
1718
+ return d(o), w(t, o), o;
1719
1719
  }
1720
1720
  e.readFromTeleport = c;
1721
- function f(t, r) {
1721
+ function w(t, r) {
1722
1722
  let o;
1723
1723
  for (; (o = t.next()) !== null; )
1724
1724
  switch (o.fieldId) {
@@ -1742,11 +1742,11 @@ var Ue;
1742
1742
  }
1743
1743
  }
1744
1744
  }
1745
- function w(t, r) {
1745
+ function f(t, r) {
1746
1746
  const o = i(t);
1747
1747
  return M(e.TeleportOpcode, o, e.TeleportVersion, r);
1748
1748
  }
1749
- e.toProtocolMessage = w;
1749
+ e.toProtocolMessage = f;
1750
1750
  function F(t, r) {
1751
1751
  const o = N(t, e.TeleportOpcode, e.TeleportVersion);
1752
1752
  return a(o, r);
@@ -1779,19 +1779,19 @@ var er;
1779
1779
  e.decode = a;
1780
1780
  function c(t, r) {
1781
1781
  const o = r ?? n();
1782
- return f(t), o;
1782
+ return w(t), o;
1783
1783
  }
1784
1784
  e.readFromTeleport = c;
1785
- function f(t, r) {
1785
+ function w(t, r) {
1786
1786
  let o;
1787
1787
  for (; (o = t.next()) !== null; )
1788
1788
  o.fieldId;
1789
1789
  }
1790
- function w(t, r) {
1790
+ function f(t, r) {
1791
1791
  const o = i();
1792
1792
  return M(e.TeleportOpcode, o, e.TeleportVersion, r);
1793
1793
  }
1794
- e.toProtocolMessage = w;
1794
+ e.toProtocolMessage = f;
1795
1795
  function F(t, r) {
1796
1796
  const o = N(t, e.TeleportOpcode, e.TeleportVersion);
1797
1797
  return a(o, r);
@@ -1826,10 +1826,10 @@ var rr;
1826
1826
  e.decode = a;
1827
1827
  function c(t, r) {
1828
1828
  const o = r ?? n();
1829
- return d(o), f(t, o), o;
1829
+ return d(o), w(t, o), o;
1830
1830
  }
1831
1831
  e.readFromTeleport = c;
1832
- function f(t, r) {
1832
+ function w(t, r) {
1833
1833
  let o;
1834
1834
  for (; (o = t.next()) !== null; )
1835
1835
  switch (o.fieldId) {
@@ -1847,11 +1847,11 @@ var rr;
1847
1847
  }
1848
1848
  }
1849
1849
  }
1850
- function w(t, r) {
1850
+ function f(t, r) {
1851
1851
  const o = i(t);
1852
1852
  return M(e.TeleportOpcode, o, e.TeleportVersion, r);
1853
1853
  }
1854
- e.toProtocolMessage = w;
1854
+ e.toProtocolMessage = f;
1855
1855
  function F(t, r) {
1856
1856
  const o = N(t, e.TeleportOpcode, e.TeleportVersion);
1857
1857
  return a(o, r);
@@ -1886,10 +1886,10 @@ var or;
1886
1886
  e.decode = a;
1887
1887
  function c(t, r) {
1888
1888
  const o = r ?? n();
1889
- return d(o), f(t, o), o;
1889
+ return d(o), w(t, o), o;
1890
1890
  }
1891
1891
  e.readFromTeleport = c;
1892
- function f(t, r) {
1892
+ function w(t, r) {
1893
1893
  let o;
1894
1894
  for (; (o = t.next()) !== null; )
1895
1895
  switch (o.fieldId) {
@@ -1931,11 +1931,11 @@ var or;
1931
1931
  }
1932
1932
  }
1933
1933
  }
1934
- function w(t, r) {
1934
+ function f(t, r) {
1935
1935
  const o = i(t);
1936
1936
  return M(e.TeleportOpcode, o, e.TeleportVersion, r);
1937
1937
  }
1938
- e.toProtocolMessage = w;
1938
+ e.toProtocolMessage = f;
1939
1939
  function F(t, r) {
1940
1940
  const o = N(t, e.TeleportOpcode, e.TeleportVersion);
1941
1941
  return a(o, r);
@@ -1970,10 +1970,10 @@ var tr;
1970
1970
  e.decode = a;
1971
1971
  function c(t, r) {
1972
1972
  const o = r ?? n();
1973
- return d(o), f(t, o), o;
1973
+ return d(o), w(t, o), o;
1974
1974
  }
1975
1975
  e.readFromTeleport = c;
1976
- function f(t, r) {
1976
+ function w(t, r) {
1977
1977
  let o;
1978
1978
  for (; (o = t.next()) !== null; )
1979
1979
  switch (o.fieldId) {
@@ -1997,11 +1997,11 @@ var tr;
1997
1997
  }
1998
1998
  }
1999
1999
  }
2000
- function w(t, r) {
2000
+ function f(t, r) {
2001
2001
  const o = i(t);
2002
2002
  return M(e.TeleportOpcode, o, e.TeleportVersion, r);
2003
2003
  }
2004
- e.toProtocolMessage = w;
2004
+ e.toProtocolMessage = f;
2005
2005
  function F(t, r) {
2006
2006
  const o = N(t, e.TeleportOpcode, e.TeleportVersion);
2007
2007
  return a(o, r);
@@ -2036,10 +2036,10 @@ var lr;
2036
2036
  e.decode = a;
2037
2037
  function c(t, r) {
2038
2038
  const o = r ?? n();
2039
- return d(o), f(t, o), o;
2039
+ return d(o), w(t, o), o;
2040
2040
  }
2041
2041
  e.readFromTeleport = c;
2042
- function f(t, r) {
2042
+ function w(t, r) {
2043
2043
  let o;
2044
2044
  for (; (o = t.next()) !== null; )
2045
2045
  switch (o.fieldId) {
@@ -2051,11 +2051,11 @@ var lr;
2051
2051
  }
2052
2052
  }
2053
2053
  }
2054
- function w(t, r) {
2054
+ function f(t, r) {
2055
2055
  const o = i(t);
2056
2056
  return M(e.TeleportOpcode, o, e.TeleportVersion, r);
2057
2057
  }
2058
- e.toProtocolMessage = w;
2058
+ e.toProtocolMessage = f;
2059
2059
  function F(t, r) {
2060
2060
  const o = N(t, e.TeleportOpcode, e.TeleportVersion);
2061
2061
  return a(o, r);
@@ -2090,10 +2090,10 @@ var nr;
2090
2090
  e.decode = a;
2091
2091
  function c(t, r) {
2092
2092
  const o = r ?? n();
2093
- return d(o), f(t, o), o;
2093
+ return d(o), w(t, o), o;
2094
2094
  }
2095
2095
  e.readFromTeleport = c;
2096
- function f(t, r) {
2096
+ function w(t, r) {
2097
2097
  let o;
2098
2098
  for (; (o = t.next()) !== null; )
2099
2099
  switch (o.fieldId) {
@@ -2117,11 +2117,11 @@ var nr;
2117
2117
  }
2118
2118
  }
2119
2119
  }
2120
- function w(t, r) {
2120
+ function f(t, r) {
2121
2121
  const o = i(t);
2122
2122
  return M(e.TeleportOpcode, o, e.TeleportVersion, r);
2123
2123
  }
2124
- e.toProtocolMessage = w;
2124
+ e.toProtocolMessage = f;
2125
2125
  function F(t, r) {
2126
2126
  const o = N(t, e.TeleportOpcode, e.TeleportVersion);
2127
2127
  return a(o, r);
@@ -2154,19 +2154,19 @@ var dr;
2154
2154
  e.decode = a;
2155
2155
  function c(t, r) {
2156
2156
  const o = r ?? n();
2157
- return f(t), o;
2157
+ return w(t), o;
2158
2158
  }
2159
2159
  e.readFromTeleport = c;
2160
- function f(t, r) {
2160
+ function w(t, r) {
2161
2161
  let o;
2162
2162
  for (; (o = t.next()) !== null; )
2163
2163
  o.fieldId;
2164
2164
  }
2165
- function w(t, r) {
2165
+ function f(t, r) {
2166
2166
  const o = i();
2167
2167
  return M(e.TeleportOpcode, o, e.TeleportVersion, r);
2168
2168
  }
2169
- e.toProtocolMessage = w;
2169
+ e.toProtocolMessage = f;
2170
2170
  function F(t, r) {
2171
2171
  const o = N(t, e.TeleportOpcode, e.TeleportVersion);
2172
2172
  return a(o, r);
@@ -2201,10 +2201,10 @@ var ir;
2201
2201
  e.decode = a;
2202
2202
  function c(t, r) {
2203
2203
  const o = r ?? n();
2204
- return d(o), f(t, o), o;
2204
+ return d(o), w(t, o), o;
2205
2205
  }
2206
2206
  e.readFromTeleport = c;
2207
- function f(t, r) {
2207
+ function w(t, r) {
2208
2208
  let o;
2209
2209
  for (; (o = t.next()) !== null; )
2210
2210
  switch (o.fieldId) {
@@ -2222,11 +2222,11 @@ var ir;
2222
2222
  }
2223
2223
  }
2224
2224
  }
2225
- function w(t, r) {
2225
+ function f(t, r) {
2226
2226
  const o = i(t);
2227
2227
  return M(e.TeleportOpcode, o, e.TeleportVersion, r);
2228
2228
  }
2229
- e.toProtocolMessage = w;
2229
+ e.toProtocolMessage = f;
2230
2230
  function F(t, r) {
2231
2231
  const o = N(t, e.TeleportOpcode, e.TeleportVersion);
2232
2232
  return a(o, r);
@@ -2261,10 +2261,10 @@ var sr;
2261
2261
  e.decode = a;
2262
2262
  function c(t, r) {
2263
2263
  const o = r ?? n();
2264
- return d(o), f(t, o), o;
2264
+ return d(o), w(t, o), o;
2265
2265
  }
2266
2266
  e.readFromTeleport = c;
2267
- function f(t, r) {
2267
+ function w(t, r) {
2268
2268
  let o;
2269
2269
  for (; (o = t.next()) !== null; )
2270
2270
  switch (o.fieldId) {
@@ -2282,11 +2282,11 @@ var sr;
2282
2282
  }
2283
2283
  }
2284
2284
  }
2285
- function w(t, r) {
2285
+ function f(t, r) {
2286
2286
  const o = i(t);
2287
2287
  return M(e.TeleportOpcode, o, e.TeleportVersion, r);
2288
2288
  }
2289
- e.toProtocolMessage = w;
2289
+ e.toProtocolMessage = f;
2290
2290
  function F(t, r) {
2291
2291
  const o = N(t, e.TeleportOpcode, e.TeleportVersion);
2292
2292
  return a(o, r);
@@ -2326,10 +2326,10 @@ var ar;
2326
2326
  e.decode = a;
2327
2327
  function c(r, o) {
2328
2328
  const l = o ?? n();
2329
- return d(l), f(r, l), l;
2329
+ return d(l), w(r, l), l;
2330
2330
  }
2331
2331
  e.readFromTeleport = c;
2332
- function f(r, o) {
2332
+ function w(r, o) {
2333
2333
  let l;
2334
2334
  for (; (l = r.next()) !== null; )
2335
2335
  switch (l.fieldId) {
@@ -2347,11 +2347,11 @@ var ar;
2347
2347
  }
2348
2348
  }
2349
2349
  }
2350
- function w(r, o) {
2350
+ function f(r, o) {
2351
2351
  const l = i(r);
2352
2352
  return M(e.TeleportOpcode, l, e.TeleportVersion, o);
2353
2353
  }
2354
- e.toProtocolMessage = w;
2354
+ e.toProtocolMessage = f;
2355
2355
  function F(r, o) {
2356
2356
  const l = N(r, e.TeleportOpcode, e.TeleportVersion);
2357
2357
  return a(l, o);
@@ -2464,10 +2464,10 @@ var cr;
2464
2464
  e.decode = a;
2465
2465
  function c(t, r) {
2466
2466
  const o = r ?? n();
2467
- return d(o), f(t, o), o;
2467
+ return d(o), w(t, o), o;
2468
2468
  }
2469
2469
  e.readFromTeleport = c;
2470
- function f(t, r) {
2470
+ function w(t, r) {
2471
2471
  let o;
2472
2472
  for (; (o = t.next()) !== null; )
2473
2473
  switch (o.fieldId) {
@@ -2485,11 +2485,11 @@ var cr;
2485
2485
  }
2486
2486
  }
2487
2487
  }
2488
- function w(t, r) {
2488
+ function f(t, r) {
2489
2489
  const o = i(t);
2490
2490
  return M(e.TeleportOpcode, o, e.TeleportVersion, r);
2491
2491
  }
2492
- e.toProtocolMessage = w;
2492
+ e.toProtocolMessage = f;
2493
2493
  function F(t, r) {
2494
2494
  const o = N(t, e.TeleportOpcode, e.TeleportVersion);
2495
2495
  return a(o, r);
@@ -2524,10 +2524,10 @@ var ur;
2524
2524
  e.decode = a;
2525
2525
  function c(t, r) {
2526
2526
  const o = r ?? n();
2527
- return d(o), f(t, o), o;
2527
+ return d(o), w(t, o), o;
2528
2528
  }
2529
2529
  e.readFromTeleport = c;
2530
- function f(t, r) {
2530
+ function w(t, r) {
2531
2531
  let o;
2532
2532
  for (; (o = t.next()) !== null; )
2533
2533
  switch (o.fieldId) {
@@ -2551,11 +2551,11 @@ var ur;
2551
2551
  }
2552
2552
  }
2553
2553
  }
2554
- function w(t, r) {
2554
+ function f(t, r) {
2555
2555
  const o = i(t);
2556
2556
  return M(e.TeleportOpcode, o, e.TeleportVersion, r);
2557
2557
  }
2558
- e.toProtocolMessage = w;
2558
+ e.toProtocolMessage = f;
2559
2559
  function F(t, r) {
2560
2560
  const o = N(t, e.TeleportOpcode, e.TeleportVersion);
2561
2561
  return a(o, r);
@@ -2588,19 +2588,19 @@ var fr;
2588
2588
  e.decode = a;
2589
2589
  function c(t, r) {
2590
2590
  const o = r ?? n();
2591
- return f(t), o;
2591
+ return w(t), o;
2592
2592
  }
2593
2593
  e.readFromTeleport = c;
2594
- function f(t, r) {
2594
+ function w(t, r) {
2595
2595
  let o;
2596
2596
  for (; (o = t.next()) !== null; )
2597
2597
  o.fieldId;
2598
2598
  }
2599
- function w(t, r) {
2599
+ function f(t, r) {
2600
2600
  const o = i();
2601
2601
  return M(e.TeleportOpcode, o, e.TeleportVersion, r);
2602
2602
  }
2603
- e.toProtocolMessage = w;
2603
+ e.toProtocolMessage = f;
2604
2604
  function F(t, r) {
2605
2605
  const o = N(t, e.TeleportOpcode, e.TeleportVersion);
2606
2606
  return a(o, r);
@@ -2635,10 +2635,10 @@ var wr;
2635
2635
  e.decode = a;
2636
2636
  function c(t, r) {
2637
2637
  const o = r ?? n();
2638
- return d(o), f(t, o), o;
2638
+ return d(o), w(t, o), o;
2639
2639
  }
2640
2640
  e.readFromTeleport = c;
2641
- function f(t, r) {
2641
+ function w(t, r) {
2642
2642
  let o;
2643
2643
  for (; (o = t.next()) !== null; )
2644
2644
  switch (o.fieldId) {
@@ -2650,11 +2650,11 @@ var wr;
2650
2650
  }
2651
2651
  }
2652
2652
  }
2653
- function w(t, r) {
2653
+ function f(t, r) {
2654
2654
  const o = i(t);
2655
2655
  return M(e.TeleportOpcode, o, e.TeleportVersion, r);
2656
2656
  }
2657
- e.toProtocolMessage = w;
2657
+ e.toProtocolMessage = f;
2658
2658
  function F(t, r) {
2659
2659
  const o = N(t, e.TeleportOpcode, e.TeleportVersion);
2660
2660
  return a(o, r);
@@ -2687,19 +2687,19 @@ var Ir;
2687
2687
  e.decode = a;
2688
2688
  function c(t, r) {
2689
2689
  const o = r ?? n();
2690
- return f(t), o;
2690
+ return w(t), o;
2691
2691
  }
2692
2692
  e.readFromTeleport = c;
2693
- function f(t, r) {
2693
+ function w(t, r) {
2694
2694
  let o;
2695
2695
  for (; (o = t.next()) !== null; )
2696
2696
  o.fieldId;
2697
2697
  }
2698
- function w(t, r) {
2698
+ function f(t, r) {
2699
2699
  const o = i();
2700
2700
  return M(e.TeleportOpcode, o, e.TeleportVersion, r);
2701
2701
  }
2702
- e.toProtocolMessage = w;
2702
+ e.toProtocolMessage = f;
2703
2703
  function F(t, r) {
2704
2704
  const o = N(t, e.TeleportOpcode, e.TeleportVersion);
2705
2705
  return a(o, r);
@@ -2734,10 +2734,10 @@ var Fr;
2734
2734
  e.decode = a;
2735
2735
  function c(t, r) {
2736
2736
  const o = r ?? n();
2737
- return d(o), f(t, o), o;
2737
+ return d(o), w(t, o), o;
2738
2738
  }
2739
2739
  e.readFromTeleport = c;
2740
- function f(t, r) {
2740
+ function w(t, r) {
2741
2741
  let o;
2742
2742
  for (; (o = t.next()) !== null; )
2743
2743
  switch (o.fieldId) {
@@ -2755,11 +2755,11 @@ var Fr;
2755
2755
  }
2756
2756
  }
2757
2757
  }
2758
- function w(t, r) {
2758
+ function f(t, r) {
2759
2759
  const o = i(t);
2760
2760
  return M(e.TeleportOpcode, o, e.TeleportVersion, r);
2761
2761
  }
2762
- e.toProtocolMessage = w;
2762
+ e.toProtocolMessage = f;
2763
2763
  function F(t, r) {
2764
2764
  const o = N(t, e.TeleportOpcode, e.TeleportVersion);
2765
2765
  return a(o, r);
@@ -2794,10 +2794,10 @@ var Tr;
2794
2794
  e.decode = a;
2795
2795
  function c(t, r) {
2796
2796
  const o = r ?? n();
2797
- return d(o), f(t, o), o;
2797
+ return d(o), w(t, o), o;
2798
2798
  }
2799
2799
  e.readFromTeleport = c;
2800
- function f(t, r) {
2800
+ function w(t, r) {
2801
2801
  let o;
2802
2802
  for (; (o = t.next()) !== null; )
2803
2803
  switch (o.fieldId) {
@@ -2809,11 +2809,11 @@ var Tr;
2809
2809
  }
2810
2810
  }
2811
2811
  }
2812
- function w(t, r) {
2812
+ function f(t, r) {
2813
2813
  const o = i(t);
2814
2814
  return M(e.TeleportOpcode, o, e.TeleportVersion, r);
2815
2815
  }
2816
- e.toProtocolMessage = w;
2816
+ e.toProtocolMessage = f;
2817
2817
  function F(t, r) {
2818
2818
  const o = N(t, e.TeleportOpcode, e.TeleportVersion);
2819
2819
  return a(o, r);
@@ -2848,10 +2848,10 @@ var hr;
2848
2848
  e.decode = a;
2849
2849
  function c(t, r) {
2850
2850
  const o = r ?? n();
2851
- return d(o), f(t, o), o;
2851
+ return d(o), w(t, o), o;
2852
2852
  }
2853
2853
  e.readFromTeleport = c;
2854
- function f(t, r) {
2854
+ function w(t, r) {
2855
2855
  let o;
2856
2856
  for (; (o = t.next()) !== null; )
2857
2857
  switch (o.fieldId) {
@@ -2863,11 +2863,11 @@ var hr;
2863
2863
  }
2864
2864
  }
2865
2865
  }
2866
- function w(t, r) {
2866
+ function f(t, r) {
2867
2867
  const o = i(t);
2868
2868
  return M(e.TeleportOpcode, o, e.TeleportVersion, r);
2869
2869
  }
2870
- e.toProtocolMessage = w;
2870
+ e.toProtocolMessage = f;
2871
2871
  function F(t, r) {
2872
2872
  const o = N(t, e.TeleportOpcode, e.TeleportVersion);
2873
2873
  return a(o, r);
@@ -2902,10 +2902,10 @@ var pr;
2902
2902
  e.decode = a;
2903
2903
  function c(t, r) {
2904
2904
  const o = r ?? n();
2905
- return d(o), f(t, o), o;
2905
+ return d(o), w(t, o), o;
2906
2906
  }
2907
2907
  e.readFromTeleport = c;
2908
- function f(t, r) {
2908
+ function w(t, r) {
2909
2909
  let o;
2910
2910
  for (; (o = t.next()) !== null; )
2911
2911
  switch (o.fieldId) {
@@ -2929,11 +2929,11 @@ var pr;
2929
2929
  }
2930
2930
  }
2931
2931
  }
2932
- function w(t, r) {
2932
+ function f(t, r) {
2933
2933
  const o = i(t);
2934
2934
  return M(e.TeleportOpcode, o, e.TeleportVersion, r);
2935
2935
  }
2936
- e.toProtocolMessage = w;
2936
+ e.toProtocolMessage = f;
2937
2937
  function F(t, r) {
2938
2938
  const o = N(t, e.TeleportOpcode, e.TeleportVersion);
2939
2939
  return a(o, r);
@@ -2968,10 +2968,10 @@ var br;
2968
2968
  e.decode = a;
2969
2969
  function c(t, r) {
2970
2970
  const o = r ?? n();
2971
- return d(o), f(t, o), o;
2971
+ return d(o), w(t, o), o;
2972
2972
  }
2973
2973
  e.readFromTeleport = c;
2974
- function f(t, r) {
2974
+ function w(t, r) {
2975
2975
  let o;
2976
2976
  for (; (o = t.next()) !== null; )
2977
2977
  switch (o.fieldId) {
@@ -2989,11 +2989,11 @@ var br;
2989
2989
  }
2990
2990
  }
2991
2991
  }
2992
- function w(t, r) {
2992
+ function f(t, r) {
2993
2993
  const o = i(t);
2994
2994
  return M(e.TeleportOpcode, o, e.TeleportVersion, r);
2995
2995
  }
2996
- e.toProtocolMessage = w;
2996
+ e.toProtocolMessage = f;
2997
2997
  function F(t, r) {
2998
2998
  const o = N(t, e.TeleportOpcode, e.TeleportVersion);
2999
2999
  return a(o, r);
@@ -3026,19 +3026,19 @@ var mr;
3026
3026
  e.decode = a;
3027
3027
  function c(t, r) {
3028
3028
  const o = r ?? n();
3029
- return f(t), o;
3029
+ return w(t), o;
3030
3030
  }
3031
3031
  e.readFromTeleport = c;
3032
- function f(t, r) {
3032
+ function w(t, r) {
3033
3033
  let o;
3034
3034
  for (; (o = t.next()) !== null; )
3035
3035
  o.fieldId;
3036
3036
  }
3037
- function w(t, r) {
3037
+ function f(t, r) {
3038
3038
  const o = i();
3039
3039
  return M(e.TeleportOpcode, o, e.TeleportVersion, r);
3040
3040
  }
3041
- e.toProtocolMessage = w;
3041
+ e.toProtocolMessage = f;
3042
3042
  function F(t, r) {
3043
3043
  const o = N(t, e.TeleportOpcode, e.TeleportVersion);
3044
3044
  return a(o, r);
@@ -3071,19 +3071,19 @@ var yr;
3071
3071
  e.decode = a;
3072
3072
  function c(t, r) {
3073
3073
  const o = r ?? n();
3074
- return f(t), o;
3074
+ return w(t), o;
3075
3075
  }
3076
3076
  e.readFromTeleport = c;
3077
- function f(t, r) {
3077
+ function w(t, r) {
3078
3078
  let o;
3079
3079
  for (; (o = t.next()) !== null; )
3080
3080
  o.fieldId;
3081
3081
  }
3082
- function w(t, r) {
3082
+ function f(t, r) {
3083
3083
  const o = i();
3084
3084
  return M(e.TeleportOpcode, o, e.TeleportVersion, r);
3085
3085
  }
3086
- e.toProtocolMessage = w;
3086
+ e.toProtocolMessage = f;
3087
3087
  function F(t, r) {
3088
3088
  const o = N(t, e.TeleportOpcode, e.TeleportVersion);
3089
3089
  return a(o, r);
@@ -3118,10 +3118,10 @@ var Er;
3118
3118
  e.decode = a;
3119
3119
  function c(t, r) {
3120
3120
  const o = r ?? n();
3121
- return d(o), f(t, o), o;
3121
+ return d(o), w(t, o), o;
3122
3122
  }
3123
3123
  e.readFromTeleport = c;
3124
- function f(t, r) {
3124
+ function w(t, r) {
3125
3125
  let o;
3126
3126
  for (; (o = t.next()) !== null; )
3127
3127
  switch (o.fieldId) {
@@ -3139,11 +3139,11 @@ var Er;
3139
3139
  }
3140
3140
  }
3141
3141
  }
3142
- function w(t, r) {
3142
+ function f(t, r) {
3143
3143
  const o = i(t);
3144
3144
  return M(e.TeleportOpcode, o, e.TeleportVersion, r);
3145
3145
  }
3146
- e.toProtocolMessage = w;
3146
+ e.toProtocolMessage = f;
3147
3147
  function F(t, r) {
3148
3148
  const o = N(t, e.TeleportOpcode, e.TeleportVersion);
3149
3149
  return a(o, r);
@@ -3180,10 +3180,10 @@ var Nr;
3180
3180
  e.decode = a;
3181
3181
  function c(t, r) {
3182
3182
  const o = r ?? n();
3183
- return d(o), f(t, o), o;
3183
+ return d(o), w(t, o), o;
3184
3184
  }
3185
3185
  e.readFromTeleport = c;
3186
- function f(t, r) {
3186
+ function w(t, r) {
3187
3187
  let o;
3188
3188
  for (; (o = t.next()) !== null; )
3189
3189
  switch (o.fieldId) {
@@ -3195,11 +3195,11 @@ var Nr;
3195
3195
  }
3196
3196
  }
3197
3197
  }
3198
- function w(t, r) {
3198
+ function f(t, r) {
3199
3199
  const o = i(t);
3200
3200
  return M(e.TeleportOpcode, o, e.TeleportVersion, r);
3201
3201
  }
3202
- e.toProtocolMessage = w;
3202
+ e.toProtocolMessage = f;
3203
3203
  function F(t, r) {
3204
3204
  const o = N(t, e.TeleportOpcode, e.TeleportVersion);
3205
3205
  return a(o, r);
@@ -3234,10 +3234,10 @@ var Mr;
3234
3234
  e.decode = a;
3235
3235
  function c(t, r) {
3236
3236
  const o = r ?? n();
3237
- return d(o), f(t, o), o;
3237
+ return d(o), w(t, o), o;
3238
3238
  }
3239
3239
  e.readFromTeleport = c;
3240
- function f(t, r) {
3240
+ function w(t, r) {
3241
3241
  let o;
3242
3242
  for (; (o = t.next()) !== null; )
3243
3243
  switch (o.fieldId) {
@@ -3273,11 +3273,11 @@ var Mr;
3273
3273
  }
3274
3274
  }
3275
3275
  }
3276
- function w(t, r) {
3276
+ function f(t, r) {
3277
3277
  const o = i(t);
3278
3278
  return M(e.TeleportOpcode, o, e.TeleportVersion, r);
3279
3279
  }
3280
- e.toProtocolMessage = w;
3280
+ e.toProtocolMessage = f;
3281
3281
  function F(t, r) {
3282
3282
  const o = N(t, e.TeleportOpcode, e.TeleportVersion);
3283
3283
  return a(o, r);
@@ -3312,10 +3312,10 @@ var gr;
3312
3312
  e.decode = a;
3313
3313
  function c(t, r) {
3314
3314
  const o = r ?? n();
3315
- return d(o), f(t, o), o;
3315
+ return d(o), w(t, o), o;
3316
3316
  }
3317
3317
  e.readFromTeleport = c;
3318
- function f(t, r) {
3318
+ function w(t, r) {
3319
3319
  let o;
3320
3320
  for (; (o = t.next()) !== null; )
3321
3321
  switch (o.fieldId) {
@@ -3327,11 +3327,11 @@ var gr;
3327
3327
  }
3328
3328
  }
3329
3329
  }
3330
- function w(t, r) {
3330
+ function f(t, r) {
3331
3331
  const o = i(t);
3332
3332
  return M(e.TeleportOpcode, o, e.TeleportVersion, r);
3333
3333
  }
3334
- e.toProtocolMessage = w;
3334
+ e.toProtocolMessage = f;
3335
3335
  function F(t, r) {
3336
3336
  const o = N(t, e.TeleportOpcode, e.TeleportVersion);
3337
3337
  return a(o, r);
@@ -3366,10 +3366,10 @@ var Pr;
3366
3366
  e.decode = a;
3367
3367
  function c(t, r) {
3368
3368
  const o = r ?? n();
3369
- return d(o), f(t, o), o;
3369
+ return d(o), w(t, o), o;
3370
3370
  }
3371
3371
  e.readFromTeleport = c;
3372
- function f(t, r) {
3372
+ function w(t, r) {
3373
3373
  let o;
3374
3374
  for (; (o = t.next()) !== null; )
3375
3375
  switch (o.fieldId) {
@@ -3381,11 +3381,11 @@ var Pr;
3381
3381
  }
3382
3382
  }
3383
3383
  }
3384
- function w(t, r) {
3384
+ function f(t, r) {
3385
3385
  const o = i(t);
3386
3386
  return M(e.TeleportOpcode, o, e.TeleportVersion, r);
3387
3387
  }
3388
- e.toProtocolMessage = w;
3388
+ e.toProtocolMessage = f;
3389
3389
  function F(t, r) {
3390
3390
  const o = N(t, e.TeleportOpcode, e.TeleportVersion);
3391
3391
  return a(o, r);
@@ -3418,19 +3418,19 @@ var Vr;
3418
3418
  e.decode = a;
3419
3419
  function c(t, r) {
3420
3420
  const o = r ?? n();
3421
- return f(t), o;
3421
+ return w(t), o;
3422
3422
  }
3423
3423
  e.readFromTeleport = c;
3424
- function f(t, r) {
3424
+ function w(t, r) {
3425
3425
  let o;
3426
3426
  for (; (o = t.next()) !== null; )
3427
3427
  o.fieldId;
3428
3428
  }
3429
- function w(t, r) {
3429
+ function f(t, r) {
3430
3430
  const o = i();
3431
3431
  return M(e.TeleportOpcode, o, e.TeleportVersion, r);
3432
3432
  }
3433
- e.toProtocolMessage = w;
3433
+ e.toProtocolMessage = f;
3434
3434
  function F(t, r) {
3435
3435
  const o = N(t, e.TeleportOpcode, e.TeleportVersion);
3436
3436
  return a(o, r);
@@ -3463,19 +3463,19 @@ var Sr;
3463
3463
  e.decode = a;
3464
3464
  function c(t, r) {
3465
3465
  const o = r ?? n();
3466
- return f(t), o;
3466
+ return w(t), o;
3467
3467
  }
3468
3468
  e.readFromTeleport = c;
3469
- function f(t, r) {
3469
+ function w(t, r) {
3470
3470
  let o;
3471
3471
  for (; (o = t.next()) !== null; )
3472
3472
  o.fieldId;
3473
3473
  }
3474
- function w(t, r) {
3474
+ function f(t, r) {
3475
3475
  const o = i();
3476
3476
  return M(e.TeleportOpcode, o, e.TeleportVersion, r);
3477
3477
  }
3478
- e.toProtocolMessage = w;
3478
+ e.toProtocolMessage = f;
3479
3479
  function F(t, r) {
3480
3480
  const o = N(t, e.TeleportOpcode, e.TeleportVersion);
3481
3481
  return a(o, r);
@@ -3508,19 +3508,19 @@ var kr;
3508
3508
  e.decode = a;
3509
3509
  function c(t, r) {
3510
3510
  const o = r ?? n();
3511
- return f(t), o;
3511
+ return w(t), o;
3512
3512
  }
3513
3513
  e.readFromTeleport = c;
3514
- function f(t, r) {
3514
+ function w(t, r) {
3515
3515
  let o;
3516
3516
  for (; (o = t.next()) !== null; )
3517
3517
  o.fieldId;
3518
3518
  }
3519
- function w(t, r) {
3519
+ function f(t, r) {
3520
3520
  const o = i();
3521
3521
  return M(e.TeleportOpcode, o, e.TeleportVersion, r);
3522
3522
  }
3523
- e.toProtocolMessage = w;
3523
+ e.toProtocolMessage = f;
3524
3524
  function F(t, r) {
3525
3525
  const o = N(t, e.TeleportOpcode, e.TeleportVersion);
3526
3526
  return a(o, r);
@@ -3553,19 +3553,19 @@ var Or;
3553
3553
  e.decode = a;
3554
3554
  function c(t, r) {
3555
3555
  const o = r ?? n();
3556
- return f(t), o;
3556
+ return w(t), o;
3557
3557
  }
3558
3558
  e.readFromTeleport = c;
3559
- function f(t, r) {
3559
+ function w(t, r) {
3560
3560
  let o;
3561
3561
  for (; (o = t.next()) !== null; )
3562
3562
  o.fieldId;
3563
3563
  }
3564
- function w(t, r) {
3564
+ function f(t, r) {
3565
3565
  const o = i();
3566
3566
  return M(e.TeleportOpcode, o, e.TeleportVersion, r);
3567
3567
  }
3568
- e.toProtocolMessage = w;
3568
+ e.toProtocolMessage = f;
3569
3569
  function F(t, r) {
3570
3570
  const o = N(t, e.TeleportOpcode, e.TeleportVersion);
3571
3571
  return a(o, r);
@@ -3600,10 +3600,10 @@ var Cr;
3600
3600
  e.decode = a;
3601
3601
  function c(t, r) {
3602
3602
  const o = r ?? n();
3603
- return d(o), f(t, o), o;
3603
+ return d(o), w(t, o), o;
3604
3604
  }
3605
3605
  e.readFromTeleport = c;
3606
- function f(t, r) {
3606
+ function w(t, r) {
3607
3607
  let o;
3608
3608
  for (; (o = t.next()) !== null; )
3609
3609
  switch (o.fieldId) {
@@ -3615,11 +3615,11 @@ var Cr;
3615
3615
  }
3616
3616
  }
3617
3617
  }
3618
- function w(t, r) {
3618
+ function f(t, r) {
3619
3619
  const o = i(t);
3620
3620
  return M(e.TeleportOpcode, o, e.TeleportVersion, r);
3621
3621
  }
3622
- e.toProtocolMessage = w;
3622
+ e.toProtocolMessage = f;
3623
3623
  function F(t, r) {
3624
3624
  const o = N(t, e.TeleportOpcode, e.TeleportVersion);
3625
3625
  return a(o, r);
@@ -3652,19 +3652,19 @@ var _r;
3652
3652
  e.decode = a;
3653
3653
  function c(t, r) {
3654
3654
  const o = r ?? n();
3655
- return f(t), o;
3655
+ return w(t), o;
3656
3656
  }
3657
3657
  e.readFromTeleport = c;
3658
- function f(t, r) {
3658
+ function w(t, r) {
3659
3659
  let o;
3660
3660
  for (; (o = t.next()) !== null; )
3661
3661
  o.fieldId;
3662
3662
  }
3663
- function w(t, r) {
3663
+ function f(t, r) {
3664
3664
  const o = i();
3665
3665
  return M(e.TeleportOpcode, o, e.TeleportVersion, r);
3666
3666
  }
3667
- e.toProtocolMessage = w;
3667
+ e.toProtocolMessage = f;
3668
3668
  function F(t, r) {
3669
3669
  const o = N(t, e.TeleportOpcode, e.TeleportVersion);
3670
3670
  return a(o, r);
@@ -3699,10 +3699,10 @@ var Lr;
3699
3699
  e.decode = a;
3700
3700
  function c(t, r) {
3701
3701
  const o = r ?? n();
3702
- return d(o), f(t, o), o;
3702
+ return d(o), w(t, o), o;
3703
3703
  }
3704
3704
  e.readFromTeleport = c;
3705
- function f(t, r) {
3705
+ function w(t, r) {
3706
3706
  let o;
3707
3707
  for (; (o = t.next()) !== null; )
3708
3708
  switch (o.fieldId) {
@@ -3714,11 +3714,11 @@ var Lr;
3714
3714
  }
3715
3715
  }
3716
3716
  }
3717
- function w(t, r) {
3717
+ function f(t, r) {
3718
3718
  const o = i(t);
3719
3719
  return M(e.TeleportOpcode, o, e.TeleportVersion, r);
3720
3720
  }
3721
- e.toProtocolMessage = w;
3721
+ e.toProtocolMessage = f;
3722
3722
  function F(t, r) {
3723
3723
  const o = N(t, e.TeleportOpcode, e.TeleportVersion);
3724
3724
  return a(o, r);
@@ -3753,10 +3753,10 @@ var Dr;
3753
3753
  e.decode = a;
3754
3754
  function c(t, r) {
3755
3755
  const o = r ?? n();
3756
- return d(o), f(t, o), o;
3756
+ return d(o), w(t, o), o;
3757
3757
  }
3758
3758
  e.readFromTeleport = c;
3759
- function f(t, r) {
3759
+ function w(t, r) {
3760
3760
  let o;
3761
3761
  for (; (o = t.next()) !== null; )
3762
3762
  switch (o.fieldId) {
@@ -3780,11 +3780,11 @@ var Dr;
3780
3780
  }
3781
3781
  }
3782
3782
  }
3783
- function w(t, r) {
3783
+ function f(t, r) {
3784
3784
  const o = i(t);
3785
3785
  return M(e.TeleportOpcode, o, e.TeleportVersion, r);
3786
3786
  }
3787
- e.toProtocolMessage = w;
3787
+ e.toProtocolMessage = f;
3788
3788
  function F(t, r) {
3789
3789
  const o = N(t, e.TeleportOpcode, e.TeleportVersion);
3790
3790
  return a(o, r);
@@ -3819,10 +3819,10 @@ var jr;
3819
3819
  e.decode = a;
3820
3820
  function c(t, r) {
3821
3821
  const o = r ?? n();
3822
- return d(o), f(t, o), o;
3822
+ return d(o), w(t, o), o;
3823
3823
  }
3824
3824
  e.readFromTeleport = c;
3825
- function f(t, r) {
3825
+ function w(t, r) {
3826
3826
  let o;
3827
3827
  for (; (o = t.next()) !== null; )
3828
3828
  switch (o.fieldId) {
@@ -3852,11 +3852,11 @@ var jr;
3852
3852
  }
3853
3853
  }
3854
3854
  }
3855
- function w(t, r) {
3855
+ function f(t, r) {
3856
3856
  const o = i(t);
3857
3857
  return M(e.TeleportOpcode, o, e.TeleportVersion, r);
3858
3858
  }
3859
- e.toProtocolMessage = w;
3859
+ e.toProtocolMessage = f;
3860
3860
  function F(t, r) {
3861
3861
  const o = N(t, e.TeleportOpcode, e.TeleportVersion);
3862
3862
  return a(o, r);
@@ -3891,10 +3891,10 @@ var Hr;
3891
3891
  e.decode = a;
3892
3892
  function c(t, r) {
3893
3893
  const o = r ?? n();
3894
- return d(o), f(t, o), o;
3894
+ return d(o), w(t, o), o;
3895
3895
  }
3896
3896
  e.readFromTeleport = c;
3897
- function f(t, r) {
3897
+ function w(t, r) {
3898
3898
  let o;
3899
3899
  for (; (o = t.next()) !== null; )
3900
3900
  switch (o.fieldId) {
@@ -3912,11 +3912,11 @@ var Hr;
3912
3912
  }
3913
3913
  }
3914
3914
  }
3915
- function w(t, r) {
3915
+ function f(t, r) {
3916
3916
  const o = i(t);
3917
3917
  return M(e.TeleportOpcode, o, e.TeleportVersion, r);
3918
3918
  }
3919
- e.toProtocolMessage = w;
3919
+ e.toProtocolMessage = f;
3920
3920
  function F(t, r) {
3921
3921
  const o = N(t, e.TeleportOpcode, e.TeleportVersion);
3922
3922
  return a(o, r);
@@ -3951,10 +3951,10 @@ var W;
3951
3951
  e.decode = a;
3952
3952
  function c(t, r) {
3953
3953
  const o = r ?? n();
3954
- return d(o), f(t, o), o;
3954
+ return d(o), w(t, o), o;
3955
3955
  }
3956
3956
  e.readFromTeleport = c;
3957
- function f(t, r) {
3957
+ function w(t, r) {
3958
3958
  let o;
3959
3959
  for (; (o = t.next()) !== null; )
3960
3960
  switch (o.fieldId) {
@@ -3972,11 +3972,11 @@ var W;
3972
3972
  }
3973
3973
  }
3974
3974
  }
3975
- function w(t, r) {
3975
+ function f(t, r) {
3976
3976
  const o = i(t);
3977
3977
  return M(e.TeleportOpcode, o, e.TeleportVersion, r);
3978
3978
  }
3979
- e.toProtocolMessage = w;
3979
+ e.toProtocolMessage = f;
3980
3980
  function F(t, r) {
3981
3981
  const o = N(t, e.TeleportOpcode, e.TeleportVersion);
3982
3982
  return a(o, r);
@@ -4016,10 +4016,10 @@ var vr;
4016
4016
  e.decode = a;
4017
4017
  function c(r, o) {
4018
4018
  const l = o ?? n();
4019
- return d(l), f(r, l), l;
4019
+ return d(l), w(r, l), l;
4020
4020
  }
4021
4021
  e.readFromTeleport = c;
4022
- function f(r, o) {
4022
+ function w(r, o) {
4023
4023
  let l;
4024
4024
  for (; (l = r.next()) !== null; )
4025
4025
  switch (l.fieldId) {
@@ -4031,11 +4031,11 @@ var vr;
4031
4031
  }
4032
4032
  }
4033
4033
  }
4034
- function w(r, o) {
4034
+ function f(r, o) {
4035
4035
  const l = i(r);
4036
4036
  return M(e.TeleportOpcode, l, e.TeleportVersion, o);
4037
4037
  }
4038
- e.toProtocolMessage = w;
4038
+ e.toProtocolMessage = f;
4039
4039
  function F(r, o) {
4040
4040
  const l = N(r, e.TeleportOpcode, e.TeleportVersion);
4041
4041
  return a(l, o);
@@ -4138,10 +4138,10 @@ var Gr;
4138
4138
  e.decode = a;
4139
4139
  function c(t, r) {
4140
4140
  const o = r ?? n();
4141
- return d(o), f(t, o), o;
4141
+ return d(o), w(t, o), o;
4142
4142
  }
4143
4143
  e.readFromTeleport = c;
4144
- function f(t, r) {
4144
+ function w(t, r) {
4145
4145
  let o;
4146
4146
  for (; (o = t.next()) !== null; )
4147
4147
  switch (o.fieldId) {
@@ -4213,11 +4213,11 @@ var Gr;
4213
4213
  }
4214
4214
  }
4215
4215
  }
4216
- function w(t, r) {
4216
+ function f(t, r) {
4217
4217
  const o = i(t);
4218
4218
  return M(e.TeleportOpcode, o, e.TeleportVersion, r);
4219
4219
  }
4220
- e.toProtocolMessage = w;
4220
+ e.toProtocolMessage = f;
4221
4221
  function F(t, r) {
4222
4222
  const o = N(t, e.TeleportOpcode, e.TeleportVersion);
4223
4223
  return a(o, r);
@@ -4257,10 +4257,10 @@ var Kr;
4257
4257
  e.decode = a;
4258
4258
  function c(r, o) {
4259
4259
  const l = o ?? n();
4260
- return d(l), f(r, l), l;
4260
+ return d(l), w(r, l), l;
4261
4261
  }
4262
4262
  e.readFromTeleport = c;
4263
- function f(r, o) {
4263
+ function w(r, o) {
4264
4264
  let l;
4265
4265
  for (; (l = r.next()) !== null; )
4266
4266
  switch (l.fieldId) {
@@ -4272,11 +4272,11 @@ var Kr;
4272
4272
  }
4273
4273
  }
4274
4274
  }
4275
- function w(r, o) {
4275
+ function f(r, o) {
4276
4276
  const l = i(r);
4277
4277
  return M(e.TeleportOpcode, l, e.TeleportVersion, o);
4278
4278
  }
4279
- e.toProtocolMessage = w;
4279
+ e.toProtocolMessage = f;
4280
4280
  function F(r, o) {
4281
4281
  const l = N(r, e.TeleportOpcode, e.TeleportVersion);
4282
4282
  return a(l, o);
@@ -4388,10 +4388,10 @@ var xr;
4388
4388
  e.decode = a;
4389
4389
  function c(r, o) {
4390
4390
  const l = o ?? n();
4391
- return d(l), f(r, l), l;
4391
+ return d(l), w(r, l), l;
4392
4392
  }
4393
4393
  e.readFromTeleport = c;
4394
- function f(r, o) {
4394
+ function w(r, o) {
4395
4395
  let l;
4396
4396
  for (; (l = r.next()) !== null; )
4397
4397
  switch (l.fieldId) {
@@ -4475,11 +4475,11 @@ var xr;
4475
4475
  }
4476
4476
  }
4477
4477
  }
4478
- function w(r, o) {
4478
+ function f(r, o) {
4479
4479
  const l = i(r);
4480
4480
  return M(e.TeleportOpcode, l, e.TeleportVersion, o);
4481
4481
  }
4482
- e.toProtocolMessage = w;
4482
+ e.toProtocolMessage = f;
4483
4483
  function F(r, o) {
4484
4484
  const l = N(r, e.TeleportOpcode, e.TeleportVersion);
4485
4485
  return a(l, o);
@@ -4532,10 +4532,10 @@ var Wr;
4532
4532
  e.decode = a;
4533
4533
  function c(r, o) {
4534
4534
  const l = o ?? n();
4535
- return d(l), f(r, l), l;
4535
+ return d(l), w(r, l), l;
4536
4536
  }
4537
4537
  e.readFromTeleport = c;
4538
- function f(r, o) {
4538
+ function w(r, o) {
4539
4539
  let l;
4540
4540
  for (; (l = r.next()) !== null; )
4541
4541
  switch (l.fieldId) {
@@ -4673,11 +4673,11 @@ var Wr;
4673
4673
  }
4674
4674
  }
4675
4675
  }
4676
- function w(r, o) {
4676
+ function f(r, o) {
4677
4677
  const l = i(r);
4678
4678
  return M(e.TeleportOpcode, l, e.TeleportVersion, o);
4679
4679
  }
4680
- e.toProtocolMessage = w;
4680
+ e.toProtocolMessage = f;
4681
4681
  function F(r, o) {
4682
4682
  const l = N(r, e.TeleportOpcode, e.TeleportVersion);
4683
4683
  return a(l, o);
@@ -4721,10 +4721,10 @@ var Jr;
4721
4721
  e.decode = a;
4722
4722
  function c(t, r) {
4723
4723
  const o = r ?? n();
4724
- return d(o), f(t, o), o;
4724
+ return d(o), w(t, o), o;
4725
4725
  }
4726
4726
  e.readFromTeleport = c;
4727
- function f(t, r) {
4727
+ function w(t, r) {
4728
4728
  let o;
4729
4729
  for (; (o = t.next()) !== null; )
4730
4730
  switch (o.fieldId) {
@@ -4742,11 +4742,11 @@ var Jr;
4742
4742
  }
4743
4743
  }
4744
4744
  }
4745
- function w(t, r) {
4745
+ function f(t, r) {
4746
4746
  const o = i(t);
4747
4747
  return M(e.TeleportOpcode, o, e.TeleportVersion, r);
4748
4748
  }
4749
- e.toProtocolMessage = w;
4749
+ e.toProtocolMessage = f;
4750
4750
  function F(t, r) {
4751
4751
  const o = N(t, e.TeleportOpcode, e.TeleportVersion);
4752
4752
  return a(o, r);
@@ -4781,10 +4781,10 @@ var $r;
4781
4781
  e.decode = a;
4782
4782
  function c(t, r) {
4783
4783
  const o = r ?? n();
4784
- return d(o), f(t, o), o;
4784
+ return d(o), w(t, o), o;
4785
4785
  }
4786
4786
  e.readFromTeleport = c;
4787
- function f(t, r) {
4787
+ function w(t, r) {
4788
4788
  let o;
4789
4789
  for (; (o = t.next()) !== null; )
4790
4790
  switch (o.fieldId) {
@@ -4802,11 +4802,11 @@ var $r;
4802
4802
  }
4803
4803
  }
4804
4804
  }
4805
- function w(t, r) {
4805
+ function f(t, r) {
4806
4806
  const o = i(t);
4807
4807
  return M(e.TeleportOpcode, o, e.TeleportVersion, r);
4808
4808
  }
4809
- e.toProtocolMessage = w;
4809
+ e.toProtocolMessage = f;
4810
4810
  function F(t, r) {
4811
4811
  const o = N(t, e.TeleportOpcode, e.TeleportVersion);
4812
4812
  return a(o, r);
@@ -4846,10 +4846,10 @@ var Rr;
4846
4846
  e.decode = a;
4847
4847
  function c(r, o) {
4848
4848
  const l = o ?? n();
4849
- return d(l), f(r, l), l;
4849
+ return d(l), w(r, l), l;
4850
4850
  }
4851
4851
  e.readFromTeleport = c;
4852
- function f(r, o) {
4852
+ function w(r, o) {
4853
4853
  let l;
4854
4854
  for (; (l = r.next()) !== null; )
4855
4855
  switch (l.fieldId) {
@@ -4861,11 +4861,11 @@ var Rr;
4861
4861
  }
4862
4862
  }
4863
4863
  }
4864
- function w(r, o) {
4864
+ function f(r, o) {
4865
4865
  const l = i(r);
4866
4866
  return M(e.TeleportOpcode, l, e.TeleportVersion, o);
4867
4867
  }
4868
- e.toProtocolMessage = w;
4868
+ e.toProtocolMessage = f;
4869
4869
  function F(r, o) {
4870
4870
  const l = N(r, e.TeleportOpcode, e.TeleportVersion);
4871
4871
  return a(l, o);
@@ -4968,10 +4968,10 @@ var zr;
4968
4968
  e.decode = a;
4969
4969
  function c(t, r) {
4970
4970
  const o = r ?? n();
4971
- return d(o), f(t, o), o;
4971
+ return d(o), w(t, o), o;
4972
4972
  }
4973
4973
  e.readFromTeleport = c;
4974
- function f(t, r) {
4974
+ function w(t, r) {
4975
4975
  let o;
4976
4976
  for (; (o = t.next()) !== null; )
4977
4977
  switch (o.fieldId) {
@@ -5019,11 +5019,11 @@ var zr;
5019
5019
  }
5020
5020
  }
5021
5021
  }
5022
- function w(t, r) {
5022
+ function f(t, r) {
5023
5023
  const o = i(t);
5024
5024
  return M(e.TeleportOpcode, o, e.TeleportVersion, r);
5025
5025
  }
5026
- e.toProtocolMessage = w;
5026
+ e.toProtocolMessage = f;
5027
5027
  function F(t, r) {
5028
5028
  const o = N(t, e.TeleportOpcode, e.TeleportVersion);
5029
5029
  return a(o, r);
@@ -5058,10 +5058,10 @@ var Yr;
5058
5058
  e.decode = a;
5059
5059
  function c(t, r) {
5060
5060
  const o = r ?? n();
5061
- return d(o), f(t, o), o;
5061
+ return d(o), w(t, o), o;
5062
5062
  }
5063
5063
  e.readFromTeleport = c;
5064
- function f(t, r) {
5064
+ function w(t, r) {
5065
5065
  let o;
5066
5066
  for (; (o = t.next()) !== null; )
5067
5067
  switch (o.fieldId) {
@@ -5079,11 +5079,11 @@ var Yr;
5079
5079
  }
5080
5080
  }
5081
5081
  }
5082
- function w(t, r) {
5082
+ function f(t, r) {
5083
5083
  const o = i(t);
5084
5084
  return M(e.TeleportOpcode, o, e.TeleportVersion, r);
5085
5085
  }
5086
- e.toProtocolMessage = w;
5086
+ e.toProtocolMessage = f;
5087
5087
  function F(t, r) {
5088
5088
  const o = N(t, e.TeleportOpcode, e.TeleportVersion);
5089
5089
  return a(o, r);
@@ -5118,10 +5118,10 @@ var U;
5118
5118
  e.decode = a;
5119
5119
  function c(t, r) {
5120
5120
  const o = r ?? n();
5121
- return d(o), f(t, o), o;
5121
+ return d(o), w(t, o), o;
5122
5122
  }
5123
5123
  e.readFromTeleport = c;
5124
- function f(t, r) {
5124
+ function w(t, r) {
5125
5125
  let o;
5126
5126
  for (; (o = t.next()) !== null; )
5127
5127
  switch (o.fieldId) {
@@ -5157,11 +5157,11 @@ var U;
5157
5157
  }
5158
5158
  }
5159
5159
  }
5160
- function w(t, r) {
5160
+ function f(t, r) {
5161
5161
  const o = i(t);
5162
5162
  return M(e.TeleportOpcode, o, e.TeleportVersion, r);
5163
5163
  }
5164
- e.toProtocolMessage = w;
5164
+ e.toProtocolMessage = f;
5165
5165
  function F(t, r) {
5166
5166
  const o = N(t, e.TeleportOpcode, e.TeleportVersion);
5167
5167
  return a(o, r);
@@ -5194,19 +5194,19 @@ var Xr;
5194
5194
  e.decode = a;
5195
5195
  function c(t, r) {
5196
5196
  const o = r ?? n();
5197
- return f(t), o;
5197
+ return w(t), o;
5198
5198
  }
5199
5199
  e.readFromTeleport = c;
5200
- function f(t, r) {
5200
+ function w(t, r) {
5201
5201
  let o;
5202
5202
  for (; (o = t.next()) !== null; )
5203
5203
  o.fieldId;
5204
5204
  }
5205
- function w(t, r) {
5205
+ function f(t, r) {
5206
5206
  const o = i();
5207
5207
  return M(e.TeleportOpcode, o, e.TeleportVersion, r);
5208
5208
  }
5209
- e.toProtocolMessage = w;
5209
+ e.toProtocolMessage = f;
5210
5210
  function F(t, r) {
5211
5211
  const o = N(t, e.TeleportOpcode, e.TeleportVersion);
5212
5212
  return a(o, r);
@@ -5259,10 +5259,10 @@ var Pe;
5259
5259
  e.decode = a;
5260
5260
  function c(o, l) {
5261
5261
  const u = l ?? n();
5262
- return d(u), f(o, u), u;
5262
+ return d(u), w(o, u), u;
5263
5263
  }
5264
5264
  e.readFromTeleport = c;
5265
- function f(o, l) {
5265
+ function w(o, l) {
5266
5266
  let u;
5267
5267
  for (; (u = o.next()) !== null; )
5268
5268
  switch (u.fieldId) {
@@ -5322,11 +5322,11 @@ var Pe;
5322
5322
  }
5323
5323
  }
5324
5324
  }
5325
- function w(o, l) {
5325
+ function f(o, l) {
5326
5326
  const u = i(o);
5327
5327
  return M(e.TeleportOpcode, u, e.TeleportVersion, l);
5328
5328
  }
5329
- e.toProtocolMessage = w;
5329
+ e.toProtocolMessage = f;
5330
5330
  function F(o, l) {
5331
5331
  const u = N(o, e.TeleportOpcode, e.TeleportVersion);
5332
5332
  return a(u, l);
@@ -5379,10 +5379,10 @@ var qr;
5379
5379
  e.decode = a;
5380
5380
  function c(t, r) {
5381
5381
  const o = r ?? n();
5382
- return d(o), f(t, o), o;
5382
+ return d(o), w(t, o), o;
5383
5383
  }
5384
5384
  e.readFromTeleport = c;
5385
- function f(t, r) {
5385
+ function w(t, r) {
5386
5386
  let o;
5387
5387
  for (; (o = t.next()) !== null; )
5388
5388
  switch (o.fieldId) {
@@ -5430,11 +5430,11 @@ var qr;
5430
5430
  }
5431
5431
  }
5432
5432
  }
5433
- function w(t, r) {
5433
+ function f(t, r) {
5434
5434
  const o = i(t);
5435
5435
  return M(e.TeleportOpcode, o, e.TeleportVersion, r);
5436
5436
  }
5437
- e.toProtocolMessage = w;
5437
+ e.toProtocolMessage = f;
5438
5438
  function F(t, r) {
5439
5439
  const o = N(t, e.TeleportOpcode, e.TeleportVersion);
5440
5440
  return a(o, r);
@@ -5469,10 +5469,10 @@ var Zr;
5469
5469
  e.decode = a;
5470
5470
  function c(t, r) {
5471
5471
  const o = r ?? n();
5472
- return d(o), f(t, o), o;
5472
+ return d(o), w(t, o), o;
5473
5473
  }
5474
5474
  e.readFromTeleport = c;
5475
- function f(t, r) {
5475
+ function w(t, r) {
5476
5476
  let o;
5477
5477
  for (; (o = t.next()) !== null; )
5478
5478
  switch (o.fieldId) {
@@ -5490,11 +5490,11 @@ var Zr;
5490
5490
  }
5491
5491
  }
5492
5492
  }
5493
- function w(t, r) {
5493
+ function f(t, r) {
5494
5494
  const o = i(t);
5495
5495
  return M(e.TeleportOpcode, o, e.TeleportVersion, r);
5496
5496
  }
5497
- e.toProtocolMessage = w;
5497
+ e.toProtocolMessage = f;
5498
5498
  function F(t, r) {
5499
5499
  const o = N(t, e.TeleportOpcode, e.TeleportVersion);
5500
5500
  return a(o, r);
@@ -5538,10 +5538,10 @@ var Ve;
5538
5538
  e.decode = a;
5539
5539
  function c(r, o) {
5540
5540
  const l = o ?? n();
5541
- return d(l), f(r, l), l;
5541
+ return d(l), w(r, l), l;
5542
5542
  }
5543
5543
  e.readFromTeleport = c;
5544
- function f(r, o) {
5544
+ function w(r, o) {
5545
5545
  let l;
5546
5546
  for (; (l = r.next()) !== null; )
5547
5547
  switch (l.fieldId) {
@@ -5691,11 +5691,11 @@ var Ve;
5691
5691
  }
5692
5692
  }
5693
5693
  }
5694
- function w(r, o) {
5694
+ function f(r, o) {
5695
5695
  const l = i(r);
5696
5696
  return M(e.TeleportOpcode, l, e.TeleportVersion, o);
5697
5697
  }
5698
- e.toProtocolMessage = w;
5698
+ e.toProtocolMessage = f;
5699
5699
  function F(r, o) {
5700
5700
  const l = N(r, e.TeleportOpcode, e.TeleportVersion);
5701
5701
  return a(l, o);
@@ -5739,10 +5739,10 @@ var ce;
5739
5739
  e.decode = a;
5740
5740
  function c(t, r) {
5741
5741
  const o = r ?? n();
5742
- return d(o), f(t, o), o;
5742
+ return d(o), w(t, o), o;
5743
5743
  }
5744
5744
  e.readFromTeleport = c;
5745
- function f(t, r) {
5745
+ function w(t, r) {
5746
5746
  let o;
5747
5747
  for (; (o = t.next()) !== null; )
5748
5748
  switch (o.fieldId) {
@@ -5790,11 +5790,11 @@ var ce;
5790
5790
  }
5791
5791
  }
5792
5792
  }
5793
- function w(t, r) {
5793
+ function f(t, r) {
5794
5794
  const o = i(t);
5795
5795
  return M(e.TeleportOpcode, o, e.TeleportVersion, r);
5796
5796
  }
5797
- e.toProtocolMessage = w;
5797
+ e.toProtocolMessage = f;
5798
5798
  function F(t, r) {
5799
5799
  const o = N(t, e.TeleportOpcode, e.TeleportVersion);
5800
5800
  return a(o, r);
@@ -5838,10 +5838,10 @@ var L;
5838
5838
  e.decode = a;
5839
5839
  function c(r, o) {
5840
5840
  const l = o ?? n();
5841
- return d(l), f(r, l), l;
5841
+ return d(l), w(r, l), l;
5842
5842
  }
5843
5843
  e.readFromTeleport = c;
5844
- function f(r, o) {
5844
+ function w(r, o) {
5845
5845
  let l;
5846
5846
  for (; (l = r.next()) !== null; )
5847
5847
  switch (l.fieldId) {
@@ -5991,11 +5991,11 @@ var L;
5991
5991
  }
5992
5992
  }
5993
5993
  }
5994
- function w(r, o) {
5994
+ function f(r, o) {
5995
5995
  const l = i(r);
5996
5996
  return M(e.TeleportOpcode, l, e.TeleportVersion, o);
5997
5997
  }
5998
- e.toProtocolMessage = w;
5998
+ e.toProtocolMessage = f;
5999
5999
  function F(r, o) {
6000
6000
  const l = N(r, e.TeleportOpcode, e.TeleportVersion);
6001
6001
  return a(l, o);
@@ -6037,19 +6037,19 @@ var be = /* @__PURE__ */ ((e) => (e[e.Unknown = 0] = "Unknown", e[e.MobileWeb =
6037
6037
  e.decode = a;
6038
6038
  function c(t, r) {
6039
6039
  const o = r ?? n();
6040
- return f(t), o;
6040
+ return w(t), o;
6041
6041
  }
6042
6042
  e.readFromTeleport = c;
6043
- function f(t, r) {
6043
+ function w(t, r) {
6044
6044
  let o;
6045
6045
  for (; (o = t.next()) !== null; )
6046
6046
  o.fieldId;
6047
6047
  }
6048
- function w(t, r) {
6048
+ function f(t, r) {
6049
6049
  const o = i();
6050
6050
  return M(e.TeleportOpcode, o, e.TeleportVersion, r);
6051
6051
  }
6052
- e.toProtocolMessage = w;
6052
+ e.toProtocolMessage = f;
6053
6053
  function F(t, r) {
6054
6054
  const o = N(t, e.TeleportOpcode, e.TeleportVersion);
6055
6055
  return a(o, r);
@@ -6084,10 +6084,10 @@ var Br;
6084
6084
  e.decode = a;
6085
6085
  function c(t, r) {
6086
6086
  const o = r ?? n();
6087
- return d(o), f(t, o), o;
6087
+ return d(o), w(t, o), o;
6088
6088
  }
6089
6089
  e.readFromTeleport = c;
6090
- function f(t, r) {
6090
+ function w(t, r) {
6091
6091
  let o;
6092
6092
  for (; (o = t.next()) !== null; )
6093
6093
  switch (o.fieldId) {
@@ -6105,11 +6105,11 @@ var Br;
6105
6105
  }
6106
6106
  }
6107
6107
  }
6108
- function w(t, r) {
6108
+ function f(t, r) {
6109
6109
  const o = i(t);
6110
6110
  return M(e.TeleportOpcode, o, e.TeleportVersion, r);
6111
6111
  }
6112
- e.toProtocolMessage = w;
6112
+ e.toProtocolMessage = f;
6113
6113
  function F(t, r) {
6114
6114
  const o = N(t, e.TeleportOpcode, e.TeleportVersion);
6115
6115
  return a(o, r);
@@ -6142,19 +6142,19 @@ var Ar;
6142
6142
  e.decode = a;
6143
6143
  function c(t, r) {
6144
6144
  const o = r ?? n();
6145
- return f(t), o;
6145
+ return w(t), o;
6146
6146
  }
6147
6147
  e.readFromTeleport = c;
6148
- function f(t, r) {
6148
+ function w(t, r) {
6149
6149
  let o;
6150
6150
  for (; (o = t.next()) !== null; )
6151
6151
  o.fieldId;
6152
6152
  }
6153
- function w(t, r) {
6153
+ function f(t, r) {
6154
6154
  const o = i();
6155
6155
  return M(e.TeleportOpcode, o, e.TeleportVersion, r);
6156
6156
  }
6157
- e.toProtocolMessage = w;
6157
+ e.toProtocolMessage = f;
6158
6158
  function F(t, r) {
6159
6159
  const o = N(t, e.TeleportOpcode, e.TeleportVersion);
6160
6160
  return a(o, r);
@@ -6189,10 +6189,10 @@ var Ur;
6189
6189
  e.decode = a;
6190
6190
  function c(t, r) {
6191
6191
  const o = r ?? n();
6192
- return d(o), f(t, o), o;
6192
+ return d(o), w(t, o), o;
6193
6193
  }
6194
6194
  e.readFromTeleport = c;
6195
- function f(t, r) {
6195
+ function w(t, r) {
6196
6196
  let o;
6197
6197
  for (; (o = t.next()) !== null; )
6198
6198
  switch (o.fieldId) {
@@ -6210,11 +6210,11 @@ var Ur;
6210
6210
  }
6211
6211
  }
6212
6212
  }
6213
- function w(t, r) {
6213
+ function f(t, r) {
6214
6214
  const o = i(t);
6215
6215
  return M(e.TeleportOpcode, o, e.TeleportVersion, r);
6216
6216
  }
6217
- e.toProtocolMessage = w;
6217
+ e.toProtocolMessage = f;
6218
6218
  function F(t, r) {
6219
6219
  const o = N(t, e.TeleportOpcode, e.TeleportVersion);
6220
6220
  return a(o, r);
@@ -6254,10 +6254,10 @@ var eo;
6254
6254
  e.decode = a;
6255
6255
  function c(r, o) {
6256
6256
  const l = o ?? n();
6257
- return d(l), f(r, l), l;
6257
+ return d(l), w(r, l), l;
6258
6258
  }
6259
6259
  e.readFromTeleport = c;
6260
- function f(r, o) {
6260
+ function w(r, o) {
6261
6261
  let l;
6262
6262
  for (; (l = r.next()) !== null; )
6263
6263
  switch (l.fieldId) {
@@ -6299,11 +6299,11 @@ var eo;
6299
6299
  }
6300
6300
  }
6301
6301
  }
6302
- function w(r, o) {
6302
+ function f(r, o) {
6303
6303
  const l = i(r);
6304
6304
  return M(e.TeleportOpcode, l, e.TeleportVersion, o);
6305
6305
  }
6306
- e.toProtocolMessage = w;
6306
+ e.toProtocolMessage = f;
6307
6307
  function F(r, o) {
6308
6308
  const l = N(r, e.TeleportOpcode, e.TeleportVersion);
6309
6309
  return a(l, o);
@@ -6345,10 +6345,10 @@ var ro;
6345
6345
  e.decode = a;
6346
6346
  function c(t, r) {
6347
6347
  const o = r ?? n();
6348
- return d(o), f(t, o), o;
6348
+ return d(o), w(t, o), o;
6349
6349
  }
6350
6350
  e.readFromTeleport = c;
6351
- function f(t, r) {
6351
+ function w(t, r) {
6352
6352
  let o;
6353
6353
  for (; (o = t.next()) !== null; )
6354
6354
  switch (o.fieldId) {
@@ -6366,11 +6366,11 @@ var ro;
6366
6366
  }
6367
6367
  }
6368
6368
  }
6369
- function w(t, r) {
6369
+ function f(t, r) {
6370
6370
  const o = i(t);
6371
6371
  return M(e.TeleportOpcode, o, e.TeleportVersion, r);
6372
6372
  }
6373
- e.toProtocolMessage = w;
6373
+ e.toProtocolMessage = f;
6374
6374
  function F(t, r) {
6375
6375
  const o = N(t, e.TeleportOpcode, e.TeleportVersion);
6376
6376
  return a(o, r);
@@ -6405,10 +6405,10 @@ var oo;
6405
6405
  e.decode = a;
6406
6406
  function c(t, r) {
6407
6407
  const o = r ?? n();
6408
- return d(o), f(t, o), o;
6408
+ return d(o), w(t, o), o;
6409
6409
  }
6410
6410
  e.readFromTeleport = c;
6411
- function f(t, r) {
6411
+ function w(t, r) {
6412
6412
  let o;
6413
6413
  for (; (o = t.next()) !== null; )
6414
6414
  switch (o.fieldId) {
@@ -6426,11 +6426,11 @@ var oo;
6426
6426
  }
6427
6427
  }
6428
6428
  }
6429
- function w(t, r) {
6429
+ function f(t, r) {
6430
6430
  const o = i(t);
6431
6431
  return M(e.TeleportOpcode, o, e.TeleportVersion, r);
6432
6432
  }
6433
- e.toProtocolMessage = w;
6433
+ e.toProtocolMessage = f;
6434
6434
  function F(t, r) {
6435
6435
  const o = N(t, e.TeleportOpcode, e.TeleportVersion);
6436
6436
  return a(o, r);
@@ -6465,10 +6465,10 @@ var to;
6465
6465
  e.decode = a;
6466
6466
  function c(t, r) {
6467
6467
  const o = r ?? n();
6468
- return d(o), f(t, o), o;
6468
+ return d(o), w(t, o), o;
6469
6469
  }
6470
6470
  e.readFromTeleport = c;
6471
- function f(t, r) {
6471
+ function w(t, r) {
6472
6472
  let o;
6473
6473
  for (; (o = t.next()) !== null; )
6474
6474
  switch (o.fieldId) {
@@ -6492,11 +6492,11 @@ var to;
6492
6492
  }
6493
6493
  }
6494
6494
  }
6495
- function w(t, r) {
6495
+ function f(t, r) {
6496
6496
  const o = i(t);
6497
6497
  return M(e.TeleportOpcode, o, e.TeleportVersion, r);
6498
6498
  }
6499
- e.toProtocolMessage = w;
6499
+ e.toProtocolMessage = f;
6500
6500
  function F(t, r) {
6501
6501
  const o = N(t, e.TeleportOpcode, e.TeleportVersion);
6502
6502
  return a(o, r);
@@ -6531,10 +6531,10 @@ var lo;
6531
6531
  e.decode = a;
6532
6532
  function c(t, r) {
6533
6533
  const o = r ?? n();
6534
- return d(o), f(t, o), o;
6534
+ return d(o), w(t, o), o;
6535
6535
  }
6536
6536
  e.readFromTeleport = c;
6537
- function f(t, r) {
6537
+ function w(t, r) {
6538
6538
  let o;
6539
6539
  for (; (o = t.next()) !== null; )
6540
6540
  switch (o.fieldId) {
@@ -6582,11 +6582,11 @@ var lo;
6582
6582
  }
6583
6583
  }
6584
6584
  }
6585
- function w(t, r) {
6585
+ function f(t, r) {
6586
6586
  const o = i(t);
6587
6587
  return M(e.TeleportOpcode, o, e.TeleportVersion, r);
6588
6588
  }
6589
- e.toProtocolMessage = w;
6589
+ e.toProtocolMessage = f;
6590
6590
  function F(t, r) {
6591
6591
  const o = N(t, e.TeleportOpcode, e.TeleportVersion);
6592
6592
  return a(o, r);
@@ -6621,10 +6621,10 @@ var no;
6621
6621
  e.decode = a;
6622
6622
  function c(t, r) {
6623
6623
  const o = r ?? n();
6624
- return d(o), f(t, o), o;
6624
+ return d(o), w(t, o), o;
6625
6625
  }
6626
6626
  e.readFromTeleport = c;
6627
- function f(t, r) {
6627
+ function w(t, r) {
6628
6628
  let o;
6629
6629
  for (; (o = t.next()) !== null; )
6630
6630
  switch (o.fieldId) {
@@ -6660,11 +6660,11 @@ var no;
6660
6660
  }
6661
6661
  }
6662
6662
  }
6663
- function w(t, r) {
6663
+ function f(t, r) {
6664
6664
  const o = i(t);
6665
6665
  return M(e.TeleportOpcode, o, e.TeleportVersion, r);
6666
6666
  }
6667
- e.toProtocolMessage = w;
6667
+ e.toProtocolMessage = f;
6668
6668
  function F(t, r) {
6669
6669
  const o = N(t, e.TeleportOpcode, e.TeleportVersion);
6670
6670
  return a(o, r);
@@ -6704,10 +6704,10 @@ var ue;
6704
6704
  e.decode = a;
6705
6705
  function c(r, o) {
6706
6706
  const l = o ?? n();
6707
- return d(l), f(r, l), l;
6707
+ return d(l), w(r, l), l;
6708
6708
  }
6709
6709
  e.readFromTeleport = c;
6710
- function f(r, o) {
6710
+ function w(r, o) {
6711
6711
  let l;
6712
6712
  for (; (l = r.next()) !== null; )
6713
6713
  switch (l.fieldId) {
@@ -6773,11 +6773,11 @@ var ue;
6773
6773
  }
6774
6774
  }
6775
6775
  }
6776
- function w(r, o) {
6776
+ function f(r, o) {
6777
6777
  const l = i(r);
6778
6778
  return M(e.TeleportOpcode, l, e.TeleportVersion, o);
6779
6779
  }
6780
- e.toProtocolMessage = w;
6780
+ e.toProtocolMessage = f;
6781
6781
  function F(r, o) {
6782
6782
  const l = N(r, e.TeleportOpcode, e.TeleportVersion);
6783
6783
  return a(l, o);
@@ -6910,10 +6910,10 @@ var io;
6910
6910
  e.decode = a;
6911
6911
  function c(t, r) {
6912
6912
  const o = r ?? n();
6913
- return d(o), f(t, o), o;
6913
+ return d(o), w(t, o), o;
6914
6914
  }
6915
6915
  e.readFromTeleport = c;
6916
- function f(t, r) {
6916
+ function w(t, r) {
6917
6917
  let o;
6918
6918
  for (; (o = t.next()) !== null; )
6919
6919
  switch (o.fieldId) {
@@ -6949,11 +6949,11 @@ var io;
6949
6949
  }
6950
6950
  }
6951
6951
  }
6952
- function w(t, r) {
6952
+ function f(t, r) {
6953
6953
  const o = i(t);
6954
6954
  return M(e.TeleportOpcode, o, e.TeleportVersion, r);
6955
6955
  }
6956
- e.toProtocolMessage = w;
6956
+ e.toProtocolMessage = f;
6957
6957
  function F(t, r) {
6958
6958
  const o = N(t, e.TeleportOpcode, e.TeleportVersion);
6959
6959
  return a(o, r);
@@ -6988,10 +6988,10 @@ var Z;
6988
6988
  e.decode = a;
6989
6989
  function c(t, r) {
6990
6990
  const o = r ?? n();
6991
- return d(o), f(t, o), o;
6991
+ return d(o), w(t, o), o;
6992
6992
  }
6993
6993
  e.readFromTeleport = c;
6994
- function f(t, r) {
6994
+ function w(t, r) {
6995
6995
  let o;
6996
6996
  for (; (o = t.next()) !== null; )
6997
6997
  switch (o.fieldId) {
@@ -7039,11 +7039,11 @@ var Z;
7039
7039
  }
7040
7040
  }
7041
7041
  }
7042
- function w(t, r) {
7042
+ function f(t, r) {
7043
7043
  const o = i(t);
7044
7044
  return M(e.TeleportOpcode, o, e.TeleportVersion, r);
7045
7045
  }
7046
- e.toProtocolMessage = w;
7046
+ e.toProtocolMessage = f;
7047
7047
  function F(t, r) {
7048
7048
  const o = N(t, e.TeleportOpcode, e.TeleportVersion);
7049
7049
  return a(o, r);
@@ -7076,19 +7076,19 @@ var ee;
7076
7076
  e.decode = a;
7077
7077
  function c(t, r) {
7078
7078
  const o = r ?? n();
7079
- return f(t), o;
7079
+ return w(t), o;
7080
7080
  }
7081
7081
  e.readFromTeleport = c;
7082
- function f(t, r) {
7082
+ function w(t, r) {
7083
7083
  let o;
7084
7084
  for (; (o = t.next()) !== null; )
7085
7085
  o.fieldId;
7086
7086
  }
7087
- function w(t, r) {
7087
+ function f(t, r) {
7088
7088
  const o = i();
7089
7089
  return M(e.TeleportOpcode, o, e.TeleportVersion, r);
7090
7090
  }
7091
- e.toProtocolMessage = w;
7091
+ e.toProtocolMessage = f;
7092
7092
  function F(t, r) {
7093
7093
  const o = N(t, e.TeleportOpcode, e.TeleportVersion);
7094
7094
  return a(o, r);
@@ -7192,10 +7192,10 @@ var Se;
7192
7192
  e.decode = a;
7193
7193
  function c(p, E) {
7194
7194
  const I = E ?? n();
7195
- return d(I), f(p, I), I;
7195
+ return d(I), w(p, I), I;
7196
7196
  }
7197
7197
  e.readFromTeleport = c;
7198
- function f(p, E) {
7198
+ function w(p, E) {
7199
7199
  let I;
7200
7200
  for (; (I = p.next()) !== null; )
7201
7201
  switch (I.fieldId) {
@@ -7297,11 +7297,11 @@ var Se;
7297
7297
  }
7298
7298
  }
7299
7299
  }
7300
- function w(p, E) {
7300
+ function f(p, E) {
7301
7301
  const I = i(p);
7302
7302
  return M(e.TeleportOpcode, I, e.TeleportVersion, E);
7303
7303
  }
7304
- e.toProtocolMessage = w;
7304
+ e.toProtocolMessage = f;
7305
7305
  function F(p, E) {
7306
7306
  const I = N(p, e.TeleportOpcode, e.TeleportVersion);
7307
7307
  return a(I, E);
@@ -7646,10 +7646,10 @@ var so;
7646
7646
  e.decode = a;
7647
7647
  function c(t, r) {
7648
7648
  const o = r ?? n();
7649
- return d(o), f(t, o), o;
7649
+ return d(o), w(t, o), o;
7650
7650
  }
7651
7651
  e.readFromTeleport = c;
7652
- function f(t, r) {
7652
+ function w(t, r) {
7653
7653
  let o;
7654
7654
  for (; (o = t.next()) !== null; )
7655
7655
  switch (o.fieldId) {
@@ -7661,11 +7661,11 @@ var so;
7661
7661
  }
7662
7662
  }
7663
7663
  }
7664
- function w(t, r) {
7664
+ function f(t, r) {
7665
7665
  const o = i(t);
7666
7666
  return M(e.TeleportOpcode, o, e.TeleportVersion, r);
7667
7667
  }
7668
- e.toProtocolMessage = w;
7668
+ e.toProtocolMessage = f;
7669
7669
  function F(t, r) {
7670
7670
  const o = N(t, e.TeleportOpcode, e.TeleportVersion);
7671
7671
  return a(o, r);
@@ -7719,10 +7719,10 @@ var ao;
7719
7719
  e.decode = a;
7720
7720
  function c(l, u) {
7721
7721
  const b = u ?? n();
7722
- return d(b), f(l, b), b;
7722
+ return d(b), w(l, b), b;
7723
7723
  }
7724
7724
  e.readFromTeleport = c;
7725
- function f(l, u) {
7725
+ function w(l, u) {
7726
7726
  let b;
7727
7727
  for (; (b = l.next()) !== null; )
7728
7728
  switch (b.fieldId) {
@@ -7824,11 +7824,11 @@ var ao;
7824
7824
  }
7825
7825
  }
7826
7826
  }
7827
- function w(l, u) {
7827
+ function f(l, u) {
7828
7828
  const b = i(l);
7829
7829
  return M(e.TeleportOpcode, b, e.TeleportVersion, u);
7830
7830
  }
7831
- e.toProtocolMessage = w;
7831
+ e.toProtocolMessage = f;
7832
7832
  function F(l, u) {
7833
7833
  const b = N(l, e.TeleportOpcode, e.TeleportVersion);
7834
7834
  return a(b, u);
@@ -8094,10 +8094,10 @@ var co;
8094
8094
  e.decode = a;
8095
8095
  function c(r, o) {
8096
8096
  const l = o ?? n();
8097
- return d(l), f(r, l), l;
8097
+ return d(l), w(r, l), l;
8098
8098
  }
8099
8099
  e.readFromTeleport = c;
8100
- function f(r, o) {
8100
+ function w(r, o) {
8101
8101
  let l;
8102
8102
  for (; (l = r.next()) !== null; )
8103
8103
  switch (l.fieldId) {
@@ -8115,11 +8115,11 @@ var co;
8115
8115
  }
8116
8116
  }
8117
8117
  }
8118
- function w(r, o) {
8118
+ function f(r, o) {
8119
8119
  const l = i(r);
8120
8120
  return M(e.TeleportOpcode, l, e.TeleportVersion, o);
8121
8121
  }
8122
- e.toProtocolMessage = w;
8122
+ e.toProtocolMessage = f;
8123
8123
  function F(r, o) {
8124
8124
  const l = N(r, e.TeleportOpcode, e.TeleportVersion);
8125
8125
  return a(l, o);
@@ -8163,10 +8163,10 @@ var uo;
8163
8163
  e.decode = a;
8164
8164
  function c(t, r) {
8165
8165
  const o = r ?? n();
8166
- return d(o), f(t, o), o;
8166
+ return d(o), w(t, o), o;
8167
8167
  }
8168
8168
  e.readFromTeleport = c;
8169
- function f(t, r) {
8169
+ function w(t, r) {
8170
8170
  let o;
8171
8171
  for (; (o = t.next()) !== null; )
8172
8172
  switch (o.fieldId) {
@@ -8184,11 +8184,11 @@ var uo;
8184
8184
  }
8185
8185
  }
8186
8186
  }
8187
- function w(t, r) {
8187
+ function f(t, r) {
8188
8188
  const o = i(t);
8189
8189
  return M(e.TeleportOpcode, o, e.TeleportVersion, r);
8190
8190
  }
8191
- e.toProtocolMessage = w;
8191
+ e.toProtocolMessage = f;
8192
8192
  function F(t, r) {
8193
8193
  const o = N(t, e.TeleportOpcode, e.TeleportVersion);
8194
8194
  return a(o, r);
@@ -8223,10 +8223,10 @@ var fo;
8223
8223
  e.decode = a;
8224
8224
  function c(t, r) {
8225
8225
  const o = r ?? n();
8226
- return d(o), f(t, o), o;
8226
+ return d(o), w(t, o), o;
8227
8227
  }
8228
8228
  e.readFromTeleport = c;
8229
- function f(t, r) {
8229
+ function w(t, r) {
8230
8230
  let o;
8231
8231
  for (; (o = t.next()) !== null; )
8232
8232
  switch (o.fieldId) {
@@ -8244,11 +8244,11 @@ var fo;
8244
8244
  }
8245
8245
  }
8246
8246
  }
8247
- function w(t, r) {
8247
+ function f(t, r) {
8248
8248
  const o = i(t);
8249
8249
  return M(e.TeleportOpcode, o, e.TeleportVersion, r);
8250
8250
  }
8251
- e.toProtocolMessage = w;
8251
+ e.toProtocolMessage = f;
8252
8252
  function F(t, r) {
8253
8253
  const o = N(t, e.TeleportOpcode, e.TeleportVersion);
8254
8254
  return a(o, r);
@@ -8281,19 +8281,19 @@ var wo;
8281
8281
  e.decode = a;
8282
8282
  function c(t, r) {
8283
8283
  const o = r ?? n();
8284
- return f(t), o;
8284
+ return w(t), o;
8285
8285
  }
8286
8286
  e.readFromTeleport = c;
8287
- function f(t, r) {
8287
+ function w(t, r) {
8288
8288
  let o;
8289
8289
  for (; (o = t.next()) !== null; )
8290
8290
  o.fieldId;
8291
8291
  }
8292
- function w(t, r) {
8292
+ function f(t, r) {
8293
8293
  const o = i();
8294
8294
  return M(e.TeleportOpcode, o, e.TeleportVersion, r);
8295
8295
  }
8296
- e.toProtocolMessage = w;
8296
+ e.toProtocolMessage = f;
8297
8297
  function F(t, r) {
8298
8298
  const o = N(t, e.TeleportOpcode, e.TeleportVersion);
8299
8299
  return a(o, r);
@@ -8326,19 +8326,19 @@ var de;
8326
8326
  e.decode = a;
8327
8327
  function c(t, r) {
8328
8328
  const o = r ?? n();
8329
- return f(t), o;
8329
+ return w(t), o;
8330
8330
  }
8331
8331
  e.readFromTeleport = c;
8332
- function f(t, r) {
8332
+ function w(t, r) {
8333
8333
  let o;
8334
8334
  for (; (o = t.next()) !== null; )
8335
8335
  o.fieldId;
8336
8336
  }
8337
- function w(t, r) {
8337
+ function f(t, r) {
8338
8338
  const o = i();
8339
8339
  return M(e.TeleportOpcode, o, e.TeleportVersion, r);
8340
8340
  }
8341
- e.toProtocolMessage = w;
8341
+ e.toProtocolMessage = f;
8342
8342
  function F(t, r) {
8343
8343
  const o = N(t, e.TeleportOpcode, e.TeleportVersion);
8344
8344
  return a(o, r);
@@ -8375,10 +8375,10 @@ var Io;
8375
8375
  e.decode = a;
8376
8376
  function c(t, r) {
8377
8377
  const o = r ?? n();
8378
- return d(o), f(t, o), o;
8378
+ return d(o), w(t, o), o;
8379
8379
  }
8380
8380
  e.readFromTeleport = c;
8381
- function f(t, r) {
8381
+ function w(t, r) {
8382
8382
  let o;
8383
8383
  for (; (o = t.next()) !== null; )
8384
8384
  switch (o.fieldId) {
@@ -8390,11 +8390,11 @@ var Io;
8390
8390
  }
8391
8391
  }
8392
8392
  }
8393
- function w(t, r) {
8393
+ function f(t, r) {
8394
8394
  const o = i(t);
8395
8395
  return M(e.TeleportOpcode, o, e.TeleportVersion, r);
8396
8396
  }
8397
- e.toProtocolMessage = w;
8397
+ e.toProtocolMessage = f;
8398
8398
  function F(t, r) {
8399
8399
  const o = N(t, e.TeleportOpcode, e.TeleportVersion);
8400
8400
  return a(o, r);
@@ -8431,10 +8431,10 @@ var Fo;
8431
8431
  e.decode = a;
8432
8432
  function c(t, r) {
8433
8433
  const o = r ?? n();
8434
- return d(o), f(t, o), o;
8434
+ return d(o), w(t, o), o;
8435
8435
  }
8436
8436
  e.readFromTeleport = c;
8437
- function f(t, r) {
8437
+ function w(t, r) {
8438
8438
  let o;
8439
8439
  for (; (o = t.next()) !== null; )
8440
8440
  switch (o.fieldId) {
@@ -8446,11 +8446,11 @@ var Fo;
8446
8446
  }
8447
8447
  }
8448
8448
  }
8449
- function w(t, r) {
8449
+ function f(t, r) {
8450
8450
  const o = i(t);
8451
8451
  return M(e.TeleportOpcode, o, e.TeleportVersion, r);
8452
8452
  }
8453
- e.toProtocolMessage = w;
8453
+ e.toProtocolMessage = f;
8454
8454
  function F(t, r) {
8455
8455
  const o = N(t, e.TeleportOpcode, e.TeleportVersion);
8456
8456
  return a(o, r);
@@ -8487,10 +8487,10 @@ var To;
8487
8487
  e.decode = a;
8488
8488
  function c(t, r) {
8489
8489
  const o = r ?? n();
8490
- return d(o), f(t, o), o;
8490
+ return d(o), w(t, o), o;
8491
8491
  }
8492
8492
  e.readFromTeleport = c;
8493
- function f(t, r) {
8493
+ function w(t, r) {
8494
8494
  let o;
8495
8495
  for (; (o = t.next()) !== null; )
8496
8496
  switch (o.fieldId) {
@@ -8502,11 +8502,11 @@ var To;
8502
8502
  }
8503
8503
  }
8504
8504
  }
8505
- function w(t, r) {
8505
+ function f(t, r) {
8506
8506
  const o = i(t);
8507
8507
  return M(e.TeleportOpcode, o, e.TeleportVersion, r);
8508
8508
  }
8509
- e.toProtocolMessage = w;
8509
+ e.toProtocolMessage = f;
8510
8510
  function F(t, r) {
8511
8511
  const o = N(t, e.TeleportOpcode, e.TeleportVersion);
8512
8512
  return a(o, r);
@@ -8541,10 +8541,10 @@ var ho;
8541
8541
  e.decode = a;
8542
8542
  function c(t, r) {
8543
8543
  const o = r ?? n();
8544
- return d(o), f(t, o), o;
8544
+ return d(o), w(t, o), o;
8545
8545
  }
8546
8546
  e.readFromTeleport = c;
8547
- function f(t, r) {
8547
+ function w(t, r) {
8548
8548
  let o;
8549
8549
  for (; (o = t.next()) !== null; )
8550
8550
  switch (o.fieldId) {
@@ -8562,11 +8562,11 @@ var ho;
8562
8562
  }
8563
8563
  }
8564
8564
  }
8565
- function w(t, r) {
8565
+ function f(t, r) {
8566
8566
  const o = i(t);
8567
8567
  return M(e.TeleportOpcode, o, e.TeleportVersion, r);
8568
8568
  }
8569
- e.toProtocolMessage = w;
8569
+ e.toProtocolMessage = f;
8570
8570
  function F(t, r) {
8571
8571
  const o = N(t, e.TeleportOpcode, e.TeleportVersion);
8572
8572
  return a(o, r);
@@ -8603,10 +8603,10 @@ var po;
8603
8603
  e.decode = a;
8604
8604
  function c(t, r) {
8605
8605
  const o = r ?? n();
8606
- return d(o), f(t, o), o;
8606
+ return d(o), w(t, o), o;
8607
8607
  }
8608
8608
  e.readFromTeleport = c;
8609
- function f(t, r) {
8609
+ function w(t, r) {
8610
8610
  let o;
8611
8611
  for (; (o = t.next()) !== null; )
8612
8612
  switch (o.fieldId) {
@@ -8624,11 +8624,11 @@ var po;
8624
8624
  }
8625
8625
  }
8626
8626
  }
8627
- function w(t, r) {
8627
+ function f(t, r) {
8628
8628
  const o = i(t);
8629
8629
  return M(e.TeleportOpcode, o, e.TeleportVersion, r);
8630
8630
  }
8631
- e.toProtocolMessage = w;
8631
+ e.toProtocolMessage = f;
8632
8632
  function F(t, r) {
8633
8633
  const o = N(t, e.TeleportOpcode, e.TeleportVersion);
8634
8634
  return a(o, r);
@@ -8665,10 +8665,10 @@ var bo;
8665
8665
  e.decode = a;
8666
8666
  function c(t, r) {
8667
8667
  const o = r ?? n();
8668
- return d(o), f(t, o), o;
8668
+ return d(o), w(t, o), o;
8669
8669
  }
8670
8670
  e.readFromTeleport = c;
8671
- function f(t, r) {
8671
+ function w(t, r) {
8672
8672
  let o;
8673
8673
  for (; (o = t.next()) !== null; )
8674
8674
  switch (o.fieldId) {
@@ -8680,11 +8680,11 @@ var bo;
8680
8680
  }
8681
8681
  }
8682
8682
  }
8683
- function w(t, r) {
8683
+ function f(t, r) {
8684
8684
  const o = i(t);
8685
8685
  return M(e.TeleportOpcode, o, e.TeleportVersion, r);
8686
8686
  }
8687
- e.toProtocolMessage = w;
8687
+ e.toProtocolMessage = f;
8688
8688
  function F(t, r) {
8689
8689
  const o = N(t, e.TeleportOpcode, e.TeleportVersion);
8690
8690
  return a(o, r);
@@ -8721,10 +8721,10 @@ var mo;
8721
8721
  e.decode = a;
8722
8722
  function c(t, r) {
8723
8723
  const o = r ?? n();
8724
- return d(o), f(t, o), o;
8724
+ return d(o), w(t, o), o;
8725
8725
  }
8726
8726
  e.readFromTeleport = c;
8727
- function f(t, r) {
8727
+ function w(t, r) {
8728
8728
  let o;
8729
8729
  for (; (o = t.next()) !== null; )
8730
8730
  switch (o.fieldId) {
@@ -8820,11 +8820,11 @@ var mo;
8820
8820
  }
8821
8821
  }
8822
8822
  }
8823
- function w(t, r) {
8823
+ function f(t, r) {
8824
8824
  const o = i(t);
8825
8825
  return M(e.TeleportOpcode, o, e.TeleportVersion, r);
8826
8826
  }
8827
- e.toProtocolMessage = w;
8827
+ e.toProtocolMessage = f;
8828
8828
  function F(t, r) {
8829
8829
  const o = N(t, e.TeleportOpcode, e.TeleportVersion);
8830
8830
  return a(o, r);
@@ -8861,10 +8861,10 @@ var yo;
8861
8861
  e.decode = a;
8862
8862
  function c(t, r) {
8863
8863
  const o = r ?? n();
8864
- return d(o), f(t, o), o;
8864
+ return d(o), w(t, o), o;
8865
8865
  }
8866
8866
  e.readFromTeleport = c;
8867
- function f(t, r) {
8867
+ function w(t, r) {
8868
8868
  let o;
8869
8869
  for (; (o = t.next()) !== null; )
8870
8870
  switch (o.fieldId) {
@@ -8876,11 +8876,11 @@ var yo;
8876
8876
  }
8877
8877
  }
8878
8878
  }
8879
- function w(t, r) {
8879
+ function f(t, r) {
8880
8880
  const o = i(t);
8881
8881
  return M(e.TeleportOpcode, o, e.TeleportVersion, r);
8882
8882
  }
8883
- e.toProtocolMessage = w;
8883
+ e.toProtocolMessage = f;
8884
8884
  function F(t, r) {
8885
8885
  const o = N(t, e.TeleportOpcode, e.TeleportVersion);
8886
8886
  return a(o, r);
@@ -8917,10 +8917,10 @@ var Eo;
8917
8917
  e.decode = a;
8918
8918
  function c(t, r) {
8919
8919
  const o = r ?? n();
8920
- return d(o), f(t, o), o;
8920
+ return d(o), w(t, o), o;
8921
8921
  }
8922
8922
  e.readFromTeleport = c;
8923
- function f(t, r) {
8923
+ function w(t, r) {
8924
8924
  let o;
8925
8925
  for (; (o = t.next()) !== null; )
8926
8926
  switch (o.fieldId) {
@@ -8932,11 +8932,11 @@ var Eo;
8932
8932
  }
8933
8933
  }
8934
8934
  }
8935
- function w(t, r) {
8935
+ function f(t, r) {
8936
8936
  const o = i(t);
8937
8937
  return M(e.TeleportOpcode, o, e.TeleportVersion, r);
8938
8938
  }
8939
- e.toProtocolMessage = w;
8939
+ e.toProtocolMessage = f;
8940
8940
  function F(t, r) {
8941
8941
  const o = N(t, e.TeleportOpcode, e.TeleportVersion);
8942
8942
  return a(o, r);
@@ -8973,10 +8973,10 @@ var No;
8973
8973
  e.decode = a;
8974
8974
  function c(t, r) {
8975
8975
  const o = r ?? n();
8976
- return d(o), f(t, o), o;
8976
+ return d(o), w(t, o), o;
8977
8977
  }
8978
8978
  e.readFromTeleport = c;
8979
- function f(t, r) {
8979
+ function w(t, r) {
8980
8980
  let o;
8981
8981
  for (; (o = t.next()) !== null; )
8982
8982
  switch (o.fieldId) {
@@ -8988,11 +8988,11 @@ var No;
8988
8988
  }
8989
8989
  }
8990
8990
  }
8991
- function w(t, r) {
8991
+ function f(t, r) {
8992
8992
  const o = i(t);
8993
8993
  return M(e.TeleportOpcode, o, e.TeleportVersion, r);
8994
8994
  }
8995
- e.toProtocolMessage = w;
8995
+ e.toProtocolMessage = f;
8996
8996
  function F(t, r) {
8997
8997
  const o = N(t, e.TeleportOpcode, e.TeleportVersion);
8998
8998
  return a(o, r);
@@ -9029,10 +9029,10 @@ var Mo;
9029
9029
  e.decode = a;
9030
9030
  function c(t, r) {
9031
9031
  const o = r ?? n();
9032
- return d(o), f(t, o), o;
9032
+ return d(o), w(t, o), o;
9033
9033
  }
9034
9034
  e.readFromTeleport = c;
9035
- function f(t, r) {
9035
+ function w(t, r) {
9036
9036
  let o;
9037
9037
  for (; (o = t.next()) !== null; )
9038
9038
  switch (o.fieldId) {
@@ -9044,11 +9044,11 @@ var Mo;
9044
9044
  }
9045
9045
  }
9046
9046
  }
9047
- function w(t, r) {
9047
+ function f(t, r) {
9048
9048
  const o = i(t);
9049
9049
  return M(e.TeleportOpcode, o, e.TeleportVersion, r);
9050
9050
  }
9051
- e.toProtocolMessage = w;
9051
+ e.toProtocolMessage = f;
9052
9052
  function F(t, r) {
9053
9053
  const o = N(t, e.TeleportOpcode, e.TeleportVersion);
9054
9054
  return a(o, r);
@@ -9083,10 +9083,10 @@ var $ = /* @__PURE__ */ ((e) => (e[e.NONE = 0] = "NONE", e[e.CONSTANT_GROUP_BITS
9083
9083
  e.decode = a;
9084
9084
  function c(t, r) {
9085
9085
  const o = r ?? n();
9086
- return d(o), f(t, o), o;
9086
+ return d(o), w(t, o), o;
9087
9087
  }
9088
9088
  e.readFromTeleport = c;
9089
- function f(t, r) {
9089
+ function w(t, r) {
9090
9090
  let o;
9091
9091
  for (; (o = t.next()) !== null; )
9092
9092
  switch (o.fieldId) {
@@ -9146,11 +9146,11 @@ var $ = /* @__PURE__ */ ((e) => (e[e.NONE = 0] = "NONE", e[e.CONSTANT_GROUP_BITS
9146
9146
  }
9147
9147
  }
9148
9148
  }
9149
- function w(t, r) {
9149
+ function f(t, r) {
9150
9150
  const o = i(t);
9151
9151
  return M(e.TeleportOpcode, o, e.TeleportVersion, r);
9152
9152
  }
9153
- e.toProtocolMessage = w;
9153
+ e.toProtocolMessage = f;
9154
9154
  function F(t, r) {
9155
9155
  const o = N(t, e.TeleportOpcode, e.TeleportVersion);
9156
9156
  return a(o, r);
@@ -9188,10 +9188,10 @@ var Po;
9188
9188
  e.decode = a;
9189
9189
  function c(r, o) {
9190
9190
  const l = o ?? n();
9191
- return d(l), f(r, l), l;
9191
+ return d(l), w(r, l), l;
9192
9192
  }
9193
9193
  e.readFromTeleport = c;
9194
- function f(r, o) {
9194
+ function w(r, o) {
9195
9195
  let l;
9196
9196
  for (; (l = r.next()) !== null; )
9197
9197
  switch (l.fieldId) {
@@ -9203,11 +9203,11 @@ var Po;
9203
9203
  }
9204
9204
  }
9205
9205
  }
9206
- function w(r, o) {
9206
+ function f(r, o) {
9207
9207
  const l = i(r);
9208
9208
  return M(e.TeleportOpcode, l, e.TeleportVersion, o);
9209
9209
  }
9210
- e.toProtocolMessage = w;
9210
+ e.toProtocolMessage = f;
9211
9211
  function F(r, o) {
9212
9212
  const l = N(r, e.TeleportOpcode, e.TeleportVersion);
9213
9213
  return a(l, o);
@@ -9255,10 +9255,10 @@ var Vo;
9255
9255
  e.decode = a;
9256
9256
  function c(r, o) {
9257
9257
  const l = o ?? n();
9258
- return d(l), f(r, l), l;
9258
+ return d(l), w(r, l), l;
9259
9259
  }
9260
9260
  e.readFromTeleport = c;
9261
- function f(r, o) {
9261
+ function w(r, o) {
9262
9262
  let l;
9263
9263
  for (; (l = r.next()) !== null; )
9264
9264
  switch (l.fieldId) {
@@ -9288,11 +9288,11 @@ var Vo;
9288
9288
  }
9289
9289
  }
9290
9290
  }
9291
- function w(r, o) {
9291
+ function f(r, o) {
9292
9292
  const l = i(r);
9293
9293
  return M(e.TeleportOpcode, l, e.TeleportVersion, o);
9294
9294
  }
9295
- e.toProtocolMessage = w;
9295
+ e.toProtocolMessage = f;
9296
9296
  function F(r, o) {
9297
9297
  const l = N(r, e.TeleportOpcode, e.TeleportVersion);
9298
9298
  return a(l, o);
@@ -9337,10 +9337,10 @@ var re;
9337
9337
  e.decode = a;
9338
9338
  function c(r, o) {
9339
9339
  const l = o ?? n();
9340
- return d(l), f(r, l), l;
9340
+ return d(l), w(r, l), l;
9341
9341
  }
9342
9342
  e.readFromTeleport = c;
9343
- function f(r, o) {
9343
+ function w(r, o) {
9344
9344
  let l;
9345
9345
  for (; (l = r.next()) !== null; )
9346
9346
  switch (l.fieldId) {
@@ -9364,11 +9364,11 @@ var re;
9364
9364
  }
9365
9365
  }
9366
9366
  }
9367
- function w(r, o) {
9367
+ function f(r, o) {
9368
9368
  const l = i(r);
9369
9369
  return M(e.TeleportOpcode, l, e.TeleportVersion, o);
9370
9370
  }
9371
- e.toProtocolMessage = w;
9371
+ e.toProtocolMessage = f;
9372
9372
  function F(r, o) {
9373
9373
  const l = N(r, e.TeleportOpcode, e.TeleportVersion);
9374
9374
  return a(l, o);
@@ -9408,19 +9408,19 @@ var So;
9408
9408
  e.decode = a;
9409
9409
  function c(t, r) {
9410
9410
  const o = r ?? n();
9411
- return f(t), o;
9411
+ return w(t), o;
9412
9412
  }
9413
9413
  e.readFromTeleport = c;
9414
- function f(t, r) {
9414
+ function w(t, r) {
9415
9415
  let o;
9416
9416
  for (; (o = t.next()) !== null; )
9417
9417
  o.fieldId;
9418
9418
  }
9419
- function w(t, r) {
9419
+ function f(t, r) {
9420
9420
  const o = i();
9421
9421
  return M(e.TeleportOpcode, o, e.TeleportVersion, r);
9422
9422
  }
9423
- e.toProtocolMessage = w;
9423
+ e.toProtocolMessage = f;
9424
9424
  function F(t, r) {
9425
9425
  const o = N(t, e.TeleportOpcode, e.TeleportVersion);
9426
9426
  return a(o, r);
@@ -9466,10 +9466,10 @@ var ko;
9466
9466
  e.decode = a;
9467
9467
  function c(o, l) {
9468
9468
  const u = l ?? n();
9469
- return d(u), f(o, u), u;
9469
+ return d(u), w(o, u), u;
9470
9470
  }
9471
9471
  e.readFromTeleport = c;
9472
- function f(o, l) {
9472
+ function w(o, l) {
9473
9473
  let u;
9474
9474
  for (; (u = o.next()) !== null; )
9475
9475
  switch (u.fieldId) {
@@ -9547,11 +9547,11 @@ var ko;
9547
9547
  }
9548
9548
  }
9549
9549
  }
9550
- function w(o, l) {
9550
+ function f(o, l) {
9551
9551
  const u = i(o);
9552
9552
  return M(e.TeleportOpcode, u, e.TeleportVersion, l);
9553
9553
  }
9554
- e.toProtocolMessage = w;
9554
+ e.toProtocolMessage = f;
9555
9555
  function F(o, l) {
9556
9556
  const u = N(o, e.TeleportOpcode, e.TeleportVersion);
9557
9557
  return a(u, l);
@@ -9658,10 +9658,10 @@ var Oo;
9658
9658
  e.decode = a;
9659
9659
  function c(r, o) {
9660
9660
  const l = o ?? n();
9661
- return d(l), f(r, l), l;
9661
+ return d(l), w(r, l), l;
9662
9662
  }
9663
9663
  e.readFromTeleport = c;
9664
- function f(r, o) {
9664
+ function w(r, o) {
9665
9665
  let l;
9666
9666
  for (; (l = r.next()) !== null; )
9667
9667
  switch (l.fieldId) {
@@ -9769,11 +9769,11 @@ var Oo;
9769
9769
  }
9770
9770
  }
9771
9771
  }
9772
- function w(r, o) {
9772
+ function f(r, o) {
9773
9773
  const l = i(r);
9774
9774
  return M(e.TeleportOpcode, l, e.TeleportVersion, o);
9775
9775
  }
9776
- e.toProtocolMessage = w;
9776
+ e.toProtocolMessage = f;
9777
9777
  function F(r, o) {
9778
9778
  const l = N(r, e.TeleportOpcode, e.TeleportVersion);
9779
9779
  return a(l, o);
@@ -9818,10 +9818,10 @@ var Co;
9818
9818
  e.decode = a;
9819
9819
  function c(r, o) {
9820
9820
  const l = o ?? n();
9821
- return d(l), f(r, l), l;
9821
+ return d(l), w(r, l), l;
9822
9822
  }
9823
9823
  e.readFromTeleport = c;
9824
- function f(r, o) {
9824
+ function w(r, o) {
9825
9825
  let l;
9826
9826
  for (; (l = r.next()) !== null; )
9827
9827
  switch (l.fieldId) {
@@ -9935,11 +9935,11 @@ var Co;
9935
9935
  }
9936
9936
  }
9937
9937
  }
9938
- function w(r, o) {
9938
+ function f(r, o) {
9939
9939
  const l = i(r);
9940
9940
  return M(e.TeleportOpcode, l, e.TeleportVersion, o);
9941
9941
  }
9942
- e.toProtocolMessage = w;
9942
+ e.toProtocolMessage = f;
9943
9943
  function F(r, o) {
9944
9944
  const l = N(r, e.TeleportOpcode, e.TeleportVersion);
9945
9945
  return a(l, o);
@@ -9984,10 +9984,10 @@ var _o;
9984
9984
  e.decode = a;
9985
9985
  function c(r, o) {
9986
9986
  const l = o ?? n();
9987
- return d(l), f(r, l), l;
9987
+ return d(l), w(r, l), l;
9988
9988
  }
9989
9989
  e.readFromTeleport = c;
9990
- function f(r, o) {
9990
+ function w(r, o) {
9991
9991
  let l;
9992
9992
  for (; (l = r.next()) !== null; )
9993
9993
  switch (l.fieldId) {
@@ -10089,11 +10089,11 @@ var _o;
10089
10089
  }
10090
10090
  }
10091
10091
  }
10092
- function w(r, o) {
10092
+ function f(r, o) {
10093
10093
  const l = i(r);
10094
10094
  return M(e.TeleportOpcode, l, e.TeleportVersion, o);
10095
10095
  }
10096
- e.toProtocolMessage = w;
10096
+ e.toProtocolMessage = f;
10097
10097
  function F(r, o) {
10098
10098
  const l = N(r, e.TeleportOpcode, e.TeleportVersion);
10099
10099
  return a(l, o);
@@ -10133,19 +10133,19 @@ var Lo;
10133
10133
  e.decode = a;
10134
10134
  function c(t, r) {
10135
10135
  const o = r ?? n();
10136
- return f(t), o;
10136
+ return w(t), o;
10137
10137
  }
10138
10138
  e.readFromTeleport = c;
10139
- function f(t, r) {
10139
+ function w(t, r) {
10140
10140
  let o;
10141
10141
  for (; (o = t.next()) !== null; )
10142
10142
  o.fieldId;
10143
10143
  }
10144
- function w(t, r) {
10144
+ function f(t, r) {
10145
10145
  const o = i();
10146
10146
  return M(e.TeleportOpcode, o, e.TeleportVersion, r);
10147
10147
  }
10148
- e.toProtocolMessage = w;
10148
+ e.toProtocolMessage = f;
10149
10149
  function F(t, r) {
10150
10150
  const o = N(t, e.TeleportOpcode, e.TeleportVersion);
10151
10151
  return a(o, r);
@@ -10183,10 +10183,10 @@ var Do;
10183
10183
  e.decode = a;
10184
10184
  function c(r, o) {
10185
10185
  const l = o ?? n();
10186
- return d(l), f(r, l), l;
10186
+ return d(l), w(r, l), l;
10187
10187
  }
10188
10188
  e.readFromTeleport = c;
10189
- function f(r, o) {
10189
+ function w(r, o) {
10190
10190
  let l;
10191
10191
  for (; (l = r.next()) !== null; )
10192
10192
  switch (l.fieldId) {
@@ -10228,11 +10228,11 @@ var Do;
10228
10228
  }
10229
10229
  }
10230
10230
  }
10231
- function w(r, o) {
10231
+ function f(r, o) {
10232
10232
  const l = i(r);
10233
10233
  return M(e.TeleportOpcode, l, e.TeleportVersion, o);
10234
10234
  }
10235
- e.toProtocolMessage = w;
10235
+ e.toProtocolMessage = f;
10236
10236
  function F(r, o) {
10237
10237
  const l = N(r, e.TeleportOpcode, e.TeleportVersion);
10238
10238
  return a(l, o);
@@ -10277,10 +10277,10 @@ var jo;
10277
10277
  e.decode = a;
10278
10278
  function c(r, o) {
10279
10279
  const l = o ?? n();
10280
- return d(l), f(r, l), l;
10280
+ return d(l), w(r, l), l;
10281
10281
  }
10282
10282
  e.readFromTeleport = c;
10283
- function f(r, o) {
10283
+ function w(r, o) {
10284
10284
  let l;
10285
10285
  for (; (l = r.next()) !== null; )
10286
10286
  switch (l.fieldId) {
@@ -10316,11 +10316,11 @@ var jo;
10316
10316
  }
10317
10317
  }
10318
10318
  }
10319
- function w(r, o) {
10319
+ function f(r, o) {
10320
10320
  const l = i(r);
10321
10321
  return M(e.TeleportOpcode, l, e.TeleportVersion, o);
10322
10322
  }
10323
- e.toProtocolMessage = w;
10323
+ e.toProtocolMessage = f;
10324
10324
  function F(r, o) {
10325
10325
  const l = N(r, e.TeleportOpcode, e.TeleportVersion);
10326
10326
  return a(l, o);
@@ -10370,10 +10370,10 @@ var Ho;
10370
10370
  e.decode = a;
10371
10371
  function c(r, o) {
10372
10372
  const l = o ?? n();
10373
- return d(l), f(r, l), l;
10373
+ return d(l), w(r, l), l;
10374
10374
  }
10375
10375
  e.readFromTeleport = c;
10376
- function f(r, o) {
10376
+ function w(r, o) {
10377
10377
  let l;
10378
10378
  for (; (l = r.next()) !== null; )
10379
10379
  switch (l.fieldId) {
@@ -10457,11 +10457,11 @@ var Ho;
10457
10457
  }
10458
10458
  }
10459
10459
  }
10460
- function w(r, o) {
10460
+ function f(r, o) {
10461
10461
  const l = i(r);
10462
10462
  return M(e.TeleportOpcode, l, e.TeleportVersion, o);
10463
10463
  }
10464
- e.toProtocolMessage = w;
10464
+ e.toProtocolMessage = f;
10465
10465
  function F(r, o) {
10466
10466
  const l = N(r, e.TeleportOpcode, e.TeleportVersion);
10467
10467
  return a(l, o);
@@ -10582,10 +10582,10 @@ var vo;
10582
10582
  e.decode = a;
10583
10583
  function c(r, o) {
10584
10584
  const l = o ?? n();
10585
- return d(l), f(r, l), l;
10585
+ return d(l), w(r, l), l;
10586
10586
  }
10587
10587
  e.readFromTeleport = c;
10588
- function f(r, o) {
10588
+ function w(r, o) {
10589
10589
  let l;
10590
10590
  for (; (l = r.next()) !== null; )
10591
10591
  switch (l.fieldId) {
@@ -10633,11 +10633,11 @@ var vo;
10633
10633
  }
10634
10634
  }
10635
10635
  }
10636
- function w(r, o) {
10636
+ function f(r, o) {
10637
10637
  const l = i(r);
10638
10638
  return M(e.TeleportOpcode, l, e.TeleportVersion, o);
10639
10639
  }
10640
- e.toProtocolMessage = w;
10640
+ e.toProtocolMessage = f;
10641
10641
  function F(r, o) {
10642
10642
  const l = N(r, e.TeleportOpcode, e.TeleportVersion);
10643
10643
  return a(l, o);
@@ -10677,19 +10677,19 @@ var Go;
10677
10677
  e.decode = a;
10678
10678
  function c(t, r) {
10679
10679
  const o = r ?? n();
10680
- return f(t), o;
10680
+ return w(t), o;
10681
10681
  }
10682
10682
  e.readFromTeleport = c;
10683
- function f(t, r) {
10683
+ function w(t, r) {
10684
10684
  let o;
10685
10685
  for (; (o = t.next()) !== null; )
10686
10686
  o.fieldId;
10687
10687
  }
10688
- function w(t, r) {
10688
+ function f(t, r) {
10689
10689
  const o = i();
10690
10690
  return M(e.TeleportOpcode, o, e.TeleportVersion, r);
10691
10691
  }
10692
- e.toProtocolMessage = w;
10692
+ e.toProtocolMessage = f;
10693
10693
  function F(t, r) {
10694
10694
  const o = N(t, e.TeleportOpcode, e.TeleportVersion);
10695
10695
  return a(o, r);
@@ -10727,10 +10727,10 @@ var Ko;
10727
10727
  e.decode = a;
10728
10728
  function c(r, o) {
10729
10729
  const l = o ?? n();
10730
- return d(l), f(r, l), l;
10730
+ return d(l), w(r, l), l;
10731
10731
  }
10732
10732
  e.readFromTeleport = c;
10733
- function f(r, o) {
10733
+ function w(r, o) {
10734
10734
  let l;
10735
10735
  for (; (l = r.next()) !== null; )
10736
10736
  switch (l.fieldId) {
@@ -10772,11 +10772,11 @@ var Ko;
10772
10772
  }
10773
10773
  }
10774
10774
  }
10775
- function w(r, o) {
10775
+ function f(r, o) {
10776
10776
  const l = i(r);
10777
10777
  return M(e.TeleportOpcode, l, e.TeleportVersion, o);
10778
10778
  }
10779
- e.toProtocolMessage = w;
10779
+ e.toProtocolMessage = f;
10780
10780
  function F(r, o) {
10781
10781
  const l = N(r, e.TeleportOpcode, e.TeleportVersion);
10782
10782
  return a(l, o);
@@ -10821,10 +10821,10 @@ var xo;
10821
10821
  e.decode = a;
10822
10822
  function c(r, o) {
10823
10823
  const l = o ?? n();
10824
- return d(l), f(r, l), l;
10824
+ return d(l), w(r, l), l;
10825
10825
  }
10826
10826
  e.readFromTeleport = c;
10827
- function f(r, o) {
10827
+ function w(r, o) {
10828
10828
  let l;
10829
10829
  for (; (l = r.next()) !== null; )
10830
10830
  switch (l.fieldId) {
@@ -10860,11 +10860,11 @@ var xo;
10860
10860
  }
10861
10861
  }
10862
10862
  }
10863
- function w(r, o) {
10863
+ function f(r, o) {
10864
10864
  const l = i(r);
10865
10865
  return M(e.TeleportOpcode, l, e.TeleportVersion, o);
10866
10866
  }
10867
- e.toProtocolMessage = w;
10867
+ e.toProtocolMessage = f;
10868
10868
  function F(r, o) {
10869
10869
  const l = N(r, e.TeleportOpcode, e.TeleportVersion);
10870
10870
  return a(l, o);
@@ -10909,10 +10909,10 @@ var Wo;
10909
10909
  e.decode = a;
10910
10910
  function c(r, o) {
10911
10911
  const l = o ?? n();
10912
- return d(l), f(r, l), l;
10912
+ return d(l), w(r, l), l;
10913
10913
  }
10914
10914
  e.readFromTeleport = c;
10915
- function f(r, o) {
10915
+ function w(r, o) {
10916
10916
  let l;
10917
10917
  for (; (l = r.next()) !== null; )
10918
10918
  switch (l.fieldId) {
@@ -11014,11 +11014,11 @@ var Wo;
11014
11014
  }
11015
11015
  }
11016
11016
  }
11017
- function w(r, o) {
11017
+ function f(r, o) {
11018
11018
  const l = i(r);
11019
11019
  return M(e.TeleportOpcode, l, e.TeleportVersion, o);
11020
11020
  }
11021
- e.toProtocolMessage = w;
11021
+ e.toProtocolMessage = f;
11022
11022
  function F(r, o) {
11023
11023
  const l = N(r, e.TeleportOpcode, e.TeleportVersion);
11024
11024
  return a(l, o);
@@ -11063,10 +11063,10 @@ var Jo;
11063
11063
  e.decode = a;
11064
11064
  function c(r, o) {
11065
11065
  const l = o ?? n();
11066
- return d(l), f(r, l), l;
11066
+ return d(l), w(r, l), l;
11067
11067
  }
11068
11068
  e.readFromTeleport = c;
11069
- function f(r, o) {
11069
+ function w(r, o) {
11070
11070
  let l;
11071
11071
  for (; (l = r.next()) !== null; )
11072
11072
  switch (l.fieldId) {
@@ -11180,11 +11180,11 @@ var Jo;
11180
11180
  }
11181
11181
  }
11182
11182
  }
11183
- function w(r, o) {
11183
+ function f(r, o) {
11184
11184
  const l = i(r);
11185
11185
  return M(e.TeleportOpcode, l, e.TeleportVersion, o);
11186
11186
  }
11187
- e.toProtocolMessage = w;
11187
+ e.toProtocolMessage = f;
11188
11188
  function F(r, o) {
11189
11189
  const l = N(r, e.TeleportOpcode, e.TeleportVersion);
11190
11190
  return a(l, o);
@@ -11229,10 +11229,10 @@ var $o;
11229
11229
  e.decode = a;
11230
11230
  function c(r, o) {
11231
11231
  const l = o ?? n();
11232
- return d(l), f(r, l), l;
11232
+ return d(l), w(r, l), l;
11233
11233
  }
11234
11234
  e.readFromTeleport = c;
11235
- function f(r, o) {
11235
+ function w(r, o) {
11236
11236
  let l;
11237
11237
  for (; (l = r.next()) !== null; )
11238
11238
  switch (l.fieldId) {
@@ -11298,11 +11298,11 @@ var $o;
11298
11298
  }
11299
11299
  }
11300
11300
  }
11301
- function w(r, o) {
11301
+ function f(r, o) {
11302
11302
  const l = i(r);
11303
11303
  return M(e.TeleportOpcode, l, e.TeleportVersion, o);
11304
11304
  }
11305
- e.toProtocolMessage = w;
11305
+ e.toProtocolMessage = f;
11306
11306
  function F(r, o) {
11307
11307
  const l = N(r, e.TeleportOpcode, e.TeleportVersion);
11308
11308
  return a(l, o);
@@ -11347,10 +11347,10 @@ var Ro;
11347
11347
  e.decode = a;
11348
11348
  function c(r, o) {
11349
11349
  const l = o ?? n();
11350
- return d(l), f(r, l), l;
11350
+ return d(l), w(r, l), l;
11351
11351
  }
11352
11352
  e.readFromTeleport = c;
11353
- function f(r, o) {
11353
+ function w(r, o) {
11354
11354
  let l;
11355
11355
  for (; (l = r.next()) !== null; )
11356
11356
  switch (l.fieldId) {
@@ -11380,11 +11380,11 @@ var Ro;
11380
11380
  }
11381
11381
  }
11382
11382
  }
11383
- function w(r, o) {
11383
+ function f(r, o) {
11384
11384
  const l = i(r);
11385
11385
  return M(e.TeleportOpcode, l, e.TeleportVersion, o);
11386
11386
  }
11387
- e.toProtocolMessage = w;
11387
+ e.toProtocolMessage = f;
11388
11388
  function F(r, o) {
11389
11389
  const l = N(r, e.TeleportOpcode, e.TeleportVersion);
11390
11390
  return a(l, o);
@@ -11424,19 +11424,19 @@ var zo;
11424
11424
  e.decode = a;
11425
11425
  function c(t, r) {
11426
11426
  const o = r ?? n();
11427
- return f(t), o;
11427
+ return w(t), o;
11428
11428
  }
11429
11429
  e.readFromTeleport = c;
11430
- function f(t, r) {
11430
+ function w(t, r) {
11431
11431
  let o;
11432
11432
  for (; (o = t.next()) !== null; )
11433
11433
  o.fieldId;
11434
11434
  }
11435
- function w(t, r) {
11435
+ function f(t, r) {
11436
11436
  const o = i();
11437
11437
  return M(e.TeleportOpcode, o, e.TeleportVersion, r);
11438
11438
  }
11439
- e.toProtocolMessage = w;
11439
+ e.toProtocolMessage = f;
11440
11440
  function F(t, r) {
11441
11441
  const o = N(t, e.TeleportOpcode, e.TeleportVersion);
11442
11442
  return a(o, r);
@@ -11474,10 +11474,10 @@ var Yo;
11474
11474
  e.decode = a;
11475
11475
  function c(r, o) {
11476
11476
  const l = o ?? n();
11477
- return d(l), f(r, l), l;
11477
+ return d(l), w(r, l), l;
11478
11478
  }
11479
11479
  e.readFromTeleport = c;
11480
- function f(r, o) {
11480
+ function w(r, o) {
11481
11481
  let l;
11482
11482
  for (; (l = r.next()) !== null; )
11483
11483
  switch (l.fieldId) {
@@ -11513,11 +11513,11 @@ var Yo;
11513
11513
  }
11514
11514
  }
11515
11515
  }
11516
- function w(r, o) {
11516
+ function f(r, o) {
11517
11517
  const l = i(r);
11518
11518
  return M(e.TeleportOpcode, l, e.TeleportVersion, o);
11519
11519
  }
11520
- e.toProtocolMessage = w;
11520
+ e.toProtocolMessage = f;
11521
11521
  function F(r, o) {
11522
11522
  const l = N(r, e.TeleportOpcode, e.TeleportVersion);
11523
11523
  return a(l, o);
@@ -11569,10 +11569,10 @@ var Xo;
11569
11569
  e.decode = a;
11570
11570
  function c(o, l) {
11571
11571
  const u = l ?? n();
11572
- return d(u), f(o, u), u;
11572
+ return d(u), w(o, u), u;
11573
11573
  }
11574
11574
  e.readFromTeleport = c;
11575
- function f(o, l) {
11575
+ function w(o, l) {
11576
11576
  let u;
11577
11577
  for (; (u = o.next()) !== null; )
11578
11578
  switch (u.fieldId) {
@@ -11614,11 +11614,11 @@ var Xo;
11614
11614
  }
11615
11615
  }
11616
11616
  }
11617
- function w(o, l) {
11617
+ function f(o, l) {
11618
11618
  const u = i(o);
11619
11619
  return M(e.TeleportOpcode, u, e.TeleportVersion, l);
11620
11620
  }
11621
- e.toProtocolMessage = w;
11621
+ e.toProtocolMessage = f;
11622
11622
  function F(o, l) {
11623
11623
  const u = N(o, e.TeleportOpcode, e.TeleportVersion);
11624
11624
  return a(u, l);
@@ -11725,10 +11725,10 @@ var qo;
11725
11725
  e.decode = a;
11726
11726
  function c(r, o) {
11727
11727
  const l = o ?? n();
11728
- return d(l), f(r, l), l;
11728
+ return d(l), w(r, l), l;
11729
11729
  }
11730
11730
  e.readFromTeleport = c;
11731
- function f(r, o) {
11731
+ function w(r, o) {
11732
11732
  let l;
11733
11733
  for (; (l = r.next()) !== null; )
11734
11734
  switch (l.fieldId) {
@@ -11770,11 +11770,11 @@ var qo;
11770
11770
  }
11771
11771
  }
11772
11772
  }
11773
- function w(r, o) {
11773
+ function f(r, o) {
11774
11774
  const l = i(r);
11775
11775
  return M(e.TeleportOpcode, l, e.TeleportVersion, o);
11776
11776
  }
11777
- e.toProtocolMessage = w;
11777
+ e.toProtocolMessage = f;
11778
11778
  function F(r, o) {
11779
11779
  const l = N(r, e.TeleportOpcode, e.TeleportVersion);
11780
11780
  return a(l, o);
@@ -11819,10 +11819,10 @@ var Zo;
11819
11819
  e.decode = a;
11820
11820
  function c(r, o) {
11821
11821
  const l = o ?? n();
11822
- return d(l), f(r, l), l;
11822
+ return d(l), w(r, l), l;
11823
11823
  }
11824
11824
  e.readFromTeleport = c;
11825
- function f(r, o) {
11825
+ function w(r, o) {
11826
11826
  let l;
11827
11827
  for (; (l = r.next()) !== null; )
11828
11828
  switch (l.fieldId) {
@@ -11852,11 +11852,11 @@ var Zo;
11852
11852
  }
11853
11853
  }
11854
11854
  }
11855
- function w(r, o) {
11855
+ function f(r, o) {
11856
11856
  const l = i(r);
11857
11857
  return M(e.TeleportOpcode, l, e.TeleportVersion, o);
11858
11858
  }
11859
- e.toProtocolMessage = w;
11859
+ e.toProtocolMessage = f;
11860
11860
  function F(r, o) {
11861
11861
  const l = N(r, e.TeleportOpcode, e.TeleportVersion);
11862
11862
  return a(l, o);
@@ -11910,10 +11910,10 @@ var Qo;
11910
11910
  e.decode = a;
11911
11911
  function c(o, l) {
11912
11912
  const u = l ?? n();
11913
- return d(u), f(o, u), u;
11913
+ return d(u), w(o, u), u;
11914
11914
  }
11915
11915
  e.readFromTeleport = c;
11916
- function f(o, l) {
11916
+ function w(o, l) {
11917
11917
  let u;
11918
11918
  for (; (u = o.next()) !== null; )
11919
11919
  switch (u.fieldId) {
@@ -11955,11 +11955,11 @@ var Qo;
11955
11955
  }
11956
11956
  }
11957
11957
  }
11958
- function w(o, l) {
11958
+ function f(o, l) {
11959
11959
  const u = i(o);
11960
11960
  return M(e.TeleportOpcode, u, e.TeleportVersion, l);
11961
11961
  }
11962
- e.toProtocolMessage = w;
11962
+ e.toProtocolMessage = f;
11963
11963
  function F(o, l) {
11964
11964
  const u = N(o, e.TeleportOpcode, e.TeleportVersion);
11965
11965
  return a(u, l);
@@ -12013,10 +12013,10 @@ var Bo;
12013
12013
  e.decode = a;
12014
12014
  function c(r, o) {
12015
12015
  const l = o ?? n();
12016
- return d(l), f(r, l), l;
12016
+ return d(l), w(r, l), l;
12017
12017
  }
12018
12018
  e.readFromTeleport = c;
12019
- function f(r, o) {
12019
+ function w(r, o) {
12020
12020
  let l;
12021
12021
  for (; (l = r.next()) !== null; )
12022
12022
  switch (l.fieldId) {
@@ -12118,11 +12118,11 @@ var Bo;
12118
12118
  }
12119
12119
  }
12120
12120
  }
12121
- function w(r, o) {
12121
+ function f(r, o) {
12122
12122
  const l = i(r);
12123
12123
  return M(e.TeleportOpcode, l, e.TeleportVersion, o);
12124
12124
  }
12125
- e.toProtocolMessage = w;
12125
+ e.toProtocolMessage = f;
12126
12126
  function F(r, o) {
12127
12127
  const l = N(r, e.TeleportOpcode, e.TeleportVersion);
12128
12128
  return a(l, o);
@@ -12162,19 +12162,19 @@ var Ao;
12162
12162
  e.decode = a;
12163
12163
  function c(t, r) {
12164
12164
  const o = r ?? n();
12165
- return f(t), o;
12165
+ return w(t), o;
12166
12166
  }
12167
12167
  e.readFromTeleport = c;
12168
- function f(t, r) {
12168
+ function w(t, r) {
12169
12169
  let o;
12170
12170
  for (; (o = t.next()) !== null; )
12171
12171
  o.fieldId;
12172
12172
  }
12173
- function w(t, r) {
12173
+ function f(t, r) {
12174
12174
  const o = i();
12175
12175
  return M(e.TeleportOpcode, o, e.TeleportVersion, r);
12176
12176
  }
12177
- e.toProtocolMessage = w;
12177
+ e.toProtocolMessage = f;
12178
12178
  function F(t, r) {
12179
12179
  const o = N(t, e.TeleportOpcode, e.TeleportVersion);
12180
12180
  return a(o, r);
@@ -12212,10 +12212,10 @@ var Uo;
12212
12212
  e.decode = a;
12213
12213
  function c(r, o) {
12214
12214
  const l = o ?? n();
12215
- return d(l), f(r, l), l;
12215
+ return d(l), w(r, l), l;
12216
12216
  }
12217
12217
  e.readFromTeleport = c;
12218
- function f(r, o) {
12218
+ function w(r, o) {
12219
12219
  let l;
12220
12220
  for (; (l = r.next()) !== null; )
12221
12221
  switch (l.fieldId) {
@@ -12239,11 +12239,11 @@ var Uo;
12239
12239
  }
12240
12240
  }
12241
12241
  }
12242
- function w(r, o) {
12242
+ function f(r, o) {
12243
12243
  const l = i(r);
12244
12244
  return M(e.TeleportOpcode, l, e.TeleportVersion, o);
12245
12245
  }
12246
- e.toProtocolMessage = w;
12246
+ e.toProtocolMessage = f;
12247
12247
  function F(r, o) {
12248
12248
  const l = N(r, e.TeleportOpcode, e.TeleportVersion);
12249
12249
  return a(l, o);
@@ -12288,10 +12288,10 @@ var et;
12288
12288
  e.decode = a;
12289
12289
  function c(r, o) {
12290
12290
  const l = o ?? n();
12291
- return d(l), f(r, l), l;
12291
+ return d(l), w(r, l), l;
12292
12292
  }
12293
12293
  e.readFromTeleport = c;
12294
- function f(r, o) {
12294
+ function w(r, o) {
12295
12295
  let l;
12296
12296
  for (; (l = r.next()) !== null; )
12297
12297
  switch (l.fieldId) {
@@ -12321,11 +12321,11 @@ var et;
12321
12321
  }
12322
12322
  }
12323
12323
  }
12324
- function w(r, o) {
12324
+ function f(r, o) {
12325
12325
  const l = i(r);
12326
12326
  return M(e.TeleportOpcode, l, e.TeleportVersion, o);
12327
12327
  }
12328
- e.toProtocolMessage = w;
12328
+ e.toProtocolMessage = f;
12329
12329
  function F(r, o) {
12330
12330
  const l = N(r, e.TeleportOpcode, e.TeleportVersion);
12331
12331
  return a(l, o);
@@ -12370,10 +12370,10 @@ var rt;
12370
12370
  e.decode = a;
12371
12371
  function c(r, o) {
12372
12372
  const l = o ?? n();
12373
- return d(l), f(r, l), l;
12373
+ return d(l), w(r, l), l;
12374
12374
  }
12375
12375
  e.readFromTeleport = c;
12376
- function f(r, o) {
12376
+ function w(r, o) {
12377
12377
  let l;
12378
12378
  for (; (l = r.next()) !== null; )
12379
12379
  switch (l.fieldId) {
@@ -12415,11 +12415,11 @@ var rt;
12415
12415
  }
12416
12416
  }
12417
12417
  }
12418
- function w(r, o) {
12418
+ function f(r, o) {
12419
12419
  const l = i(r);
12420
12420
  return M(e.TeleportOpcode, l, e.TeleportVersion, o);
12421
12421
  }
12422
- e.toProtocolMessage = w;
12422
+ e.toProtocolMessage = f;
12423
12423
  function F(r, o) {
12424
12424
  const l = N(r, e.TeleportOpcode, e.TeleportVersion);
12425
12425
  return a(l, o);
@@ -12464,10 +12464,10 @@ var ot;
12464
12464
  e.decode = a;
12465
12465
  function c(r, o) {
12466
12466
  const l = o ?? n();
12467
- return d(l), f(r, l), l;
12467
+ return d(l), w(r, l), l;
12468
12468
  }
12469
12469
  e.readFromTeleport = c;
12470
- function f(r, o) {
12470
+ function w(r, o) {
12471
12471
  let l;
12472
12472
  for (; (l = r.next()) !== null; )
12473
12473
  switch (l.fieldId) {
@@ -12503,11 +12503,11 @@ var ot;
12503
12503
  }
12504
12504
  }
12505
12505
  }
12506
- function w(r, o) {
12506
+ function f(r, o) {
12507
12507
  const l = i(r);
12508
12508
  return M(e.TeleportOpcode, l, e.TeleportVersion, o);
12509
12509
  }
12510
- e.toProtocolMessage = w;
12510
+ e.toProtocolMessage = f;
12511
12511
  function F(r, o) {
12512
12512
  const l = N(r, e.TeleportOpcode, e.TeleportVersion);
12513
12513
  return a(l, o);
@@ -12549,10 +12549,10 @@ var tt;
12549
12549
  e.decode = a;
12550
12550
  function c(t, r) {
12551
12551
  const o = r ?? n();
12552
- return d(o), f(t, o), o;
12552
+ return d(o), w(t, o), o;
12553
12553
  }
12554
12554
  e.readFromTeleport = c;
12555
- function f(t, r) {
12555
+ function w(t, r) {
12556
12556
  let o;
12557
12557
  for (; (o = t.next()) !== null; )
12558
12558
  switch (o.fieldId) {
@@ -12642,11 +12642,11 @@ var tt;
12642
12642
  }
12643
12643
  }
12644
12644
  }
12645
- function w(t, r) {
12645
+ function f(t, r) {
12646
12646
  const o = i(t);
12647
12647
  return M(e.TeleportOpcode, o, e.TeleportVersion, r);
12648
12648
  }
12649
- e.toProtocolMessage = w;
12649
+ e.toProtocolMessage = f;
12650
12650
  function F(t, r) {
12651
12651
  const o = N(t, e.TeleportOpcode, e.TeleportVersion);
12652
12652
  return a(o, r);
@@ -12679,19 +12679,19 @@ var lt;
12679
12679
  e.decode = a;
12680
12680
  function c(t, r) {
12681
12681
  const o = r ?? n();
12682
- return f(t), o;
12682
+ return w(t), o;
12683
12683
  }
12684
12684
  e.readFromTeleport = c;
12685
- function f(t, r) {
12685
+ function w(t, r) {
12686
12686
  let o;
12687
12687
  for (; (o = t.next()) !== null; )
12688
12688
  o.fieldId;
12689
12689
  }
12690
- function w(t, r) {
12690
+ function f(t, r) {
12691
12691
  const o = i();
12692
12692
  return M(e.TeleportOpcode, o, e.TeleportVersion, r);
12693
12693
  }
12694
- e.toProtocolMessage = w;
12694
+ e.toProtocolMessage = f;
12695
12695
  function F(t, r) {
12696
12696
  const o = N(t, e.TeleportOpcode, e.TeleportVersion);
12697
12697
  return a(o, r);
@@ -12724,19 +12724,19 @@ var nt;
12724
12724
  e.decode = a;
12725
12725
  function c(t, r) {
12726
12726
  const o = r ?? n();
12727
- return f(t), o;
12727
+ return w(t), o;
12728
12728
  }
12729
12729
  e.readFromTeleport = c;
12730
- function f(t, r) {
12730
+ function w(t, r) {
12731
12731
  let o;
12732
12732
  for (; (o = t.next()) !== null; )
12733
12733
  o.fieldId;
12734
12734
  }
12735
- function w(t, r) {
12735
+ function f(t, r) {
12736
12736
  const o = i();
12737
12737
  return M(e.TeleportOpcode, o, e.TeleportVersion, r);
12738
12738
  }
12739
- e.toProtocolMessage = w;
12739
+ e.toProtocolMessage = f;
12740
12740
  function F(t, r) {
12741
12741
  const o = N(t, e.TeleportOpcode, e.TeleportVersion);
12742
12742
  return a(o, r);
@@ -12796,10 +12796,10 @@ var dt;
12796
12796
  e.decode = a;
12797
12797
  function c(l, u) {
12798
12798
  const b = u ?? n();
12799
- return d(b), f(l, b), b;
12799
+ return d(b), w(l, b), b;
12800
12800
  }
12801
12801
  e.readFromTeleport = c;
12802
- function f(l, u) {
12802
+ function w(l, u) {
12803
12803
  let b;
12804
12804
  for (; (b = l.next()) !== null; )
12805
12805
  switch (b.fieldId) {
@@ -12853,11 +12853,11 @@ var dt;
12853
12853
  }
12854
12854
  }
12855
12855
  }
12856
- function w(l, u) {
12856
+ function f(l, u) {
12857
12857
  const b = i(l);
12858
12858
  return M(e.TeleportOpcode, b, e.TeleportVersion, u);
12859
12859
  }
12860
- e.toProtocolMessage = w;
12860
+ e.toProtocolMessage = f;
12861
12861
  function F(l, u) {
12862
12862
  const b = N(l, e.TeleportOpcode, e.TeleportVersion);
12863
12863
  return a(b, u);
@@ -12922,10 +12922,10 @@ var it;
12922
12922
  e.decode = a;
12923
12923
  function c(r, o) {
12924
12924
  const l = o ?? n();
12925
- return d(l), f(r, l), l;
12925
+ return d(l), w(r, l), l;
12926
12926
  }
12927
12927
  e.readFromTeleport = c;
12928
- function f(r, o) {
12928
+ function w(r, o) {
12929
12929
  let l;
12930
12930
  for (; (l = r.next()) !== null; )
12931
12931
  switch (l.fieldId) {
@@ -12937,11 +12937,11 @@ var it;
12937
12937
  }
12938
12938
  }
12939
12939
  }
12940
- function w(r, o) {
12940
+ function f(r, o) {
12941
12941
  const l = i(r);
12942
12942
  return M(e.TeleportOpcode, l, e.TeleportVersion, o);
12943
12943
  }
12944
- e.toProtocolMessage = w;
12944
+ e.toProtocolMessage = f;
12945
12945
  function F(r, o) {
12946
12946
  const l = N(r, e.TeleportOpcode, e.TeleportVersion);
12947
12947
  return a(l, o);
@@ -13036,10 +13036,10 @@ var Q;
13036
13036
  e.decode = a;
13037
13037
  function c(t, r) {
13038
13038
  const o = r ?? n();
13039
- return d(o), f(t, o), o;
13039
+ return d(o), w(t, o), o;
13040
13040
  }
13041
13041
  e.readFromTeleport = c;
13042
- function f(t, r) {
13042
+ function w(t, r) {
13043
13043
  let o;
13044
13044
  for (; (o = t.next()) !== null; )
13045
13045
  switch (o.fieldId) {
@@ -13057,11 +13057,11 @@ var Q;
13057
13057
  }
13058
13058
  }
13059
13059
  }
13060
- function w(t, r) {
13060
+ function f(t, r) {
13061
13061
  const o = i(t);
13062
13062
  return M(e.TeleportOpcode, o, e.TeleportVersion, r);
13063
13063
  }
13064
- e.toProtocolMessage = w;
13064
+ e.toProtocolMessage = f;
13065
13065
  function F(t, r) {
13066
13066
  const o = N(t, e.TeleportOpcode, e.TeleportVersion);
13067
13067
  return a(o, r);
@@ -13096,10 +13096,10 @@ var oe;
13096
13096
  e.decode = a;
13097
13097
  function c(t, r) {
13098
13098
  const o = r ?? n();
13099
- return d(o), f(t, o), o;
13099
+ return d(o), w(t, o), o;
13100
13100
  }
13101
13101
  e.readFromTeleport = c;
13102
- function f(t, r) {
13102
+ function w(t, r) {
13103
13103
  let o;
13104
13104
  for (; (o = t.next()) !== null; )
13105
13105
  switch (o.fieldId) {
@@ -13111,11 +13111,11 @@ var oe;
13111
13111
  }
13112
13112
  }
13113
13113
  }
13114
- function w(t, r) {
13114
+ function f(t, r) {
13115
13115
  const o = i(t);
13116
13116
  return M(e.TeleportOpcode, o, e.TeleportVersion, r);
13117
13117
  }
13118
- e.toProtocolMessage = w;
13118
+ e.toProtocolMessage = f;
13119
13119
  function F(t, r) {
13120
13120
  const o = N(t, e.TeleportOpcode, e.TeleportVersion);
13121
13121
  return a(o, r);
@@ -13148,19 +13148,19 @@ var st;
13148
13148
  e.decode = a;
13149
13149
  function c(t, r) {
13150
13150
  const o = r ?? n();
13151
- return f(t), o;
13151
+ return w(t), o;
13152
13152
  }
13153
13153
  e.readFromTeleport = c;
13154
- function f(t, r) {
13154
+ function w(t, r) {
13155
13155
  let o;
13156
13156
  for (; (o = t.next()) !== null; )
13157
13157
  o.fieldId;
13158
13158
  }
13159
- function w(t, r) {
13159
+ function f(t, r) {
13160
13160
  const o = i();
13161
13161
  return M(e.TeleportOpcode, o, e.TeleportVersion, r);
13162
13162
  }
13163
- e.toProtocolMessage = w;
13163
+ e.toProtocolMessage = f;
13164
13164
  function F(t, r) {
13165
13165
  const o = N(t, e.TeleportOpcode, e.TeleportVersion);
13166
13166
  return a(o, r);
@@ -13204,10 +13204,10 @@ var at;
13204
13204
  e.decode = a;
13205
13205
  function c(r, o) {
13206
13206
  const l = o ?? n();
13207
- return d(l), f(r, l), l;
13207
+ return d(l), w(r, l), l;
13208
13208
  }
13209
13209
  e.readFromTeleport = c;
13210
- function f(r, o) {
13210
+ function w(r, o) {
13211
13211
  let l;
13212
13212
  for (; (l = r.next()) !== null; )
13213
13213
  switch (l.fieldId) {
@@ -13225,11 +13225,11 @@ var at;
13225
13225
  }
13226
13226
  }
13227
13227
  }
13228
- function w(r, o) {
13228
+ function f(r, o) {
13229
13229
  const l = i(r);
13230
13230
  return M(e.TeleportOpcode, l, e.TeleportVersion, o);
13231
13231
  }
13232
- e.toProtocolMessage = w;
13232
+ e.toProtocolMessage = f;
13233
13233
  function F(r, o) {
13234
13234
  const l = N(r, e.TeleportOpcode, e.TeleportVersion);
13235
13235
  return a(l, o);
@@ -13284,10 +13284,10 @@ var ct;
13284
13284
  e.decode = a;
13285
13285
  function c(r, o) {
13286
13286
  const l = o ?? n();
13287
- return d(l), f(r, l), l;
13287
+ return d(l), w(r, l), l;
13288
13288
  }
13289
13289
  e.readFromTeleport = c;
13290
- function f(r, o) {
13290
+ function w(r, o) {
13291
13291
  let l;
13292
13292
  for (; (l = r.next()) !== null; )
13293
13293
  switch (l.fieldId) {
@@ -13305,11 +13305,11 @@ var ct;
13305
13305
  }
13306
13306
  }
13307
13307
  }
13308
- function w(r, o) {
13308
+ function f(r, o) {
13309
13309
  const l = i(r);
13310
13310
  return M(e.TeleportOpcode, l, e.TeleportVersion, o);
13311
13311
  }
13312
- e.toProtocolMessage = w;
13312
+ e.toProtocolMessage = f;
13313
13313
  function F(r, o) {
13314
13314
  const l = N(r, e.TeleportOpcode, e.TeleportVersion);
13315
13315
  return a(l, o);
@@ -13351,19 +13351,19 @@ var ut;
13351
13351
  e.decode = a;
13352
13352
  function c(t, r) {
13353
13353
  const o = r ?? n();
13354
- return f(t), o;
13354
+ return w(t), o;
13355
13355
  }
13356
13356
  e.readFromTeleport = c;
13357
- function f(t, r) {
13357
+ function w(t, r) {
13358
13358
  let o;
13359
13359
  for (; (o = t.next()) !== null; )
13360
13360
  o.fieldId;
13361
13361
  }
13362
- function w(t, r) {
13362
+ function f(t, r) {
13363
13363
  const o = i();
13364
13364
  return M(e.TeleportOpcode, o, e.TeleportVersion, r);
13365
13365
  }
13366
- e.toProtocolMessage = w;
13366
+ e.toProtocolMessage = f;
13367
13367
  function F(t, r) {
13368
13368
  const o = N(t, e.TeleportOpcode, e.TeleportVersion);
13369
13369
  return a(o, r);
@@ -13396,19 +13396,19 @@ var ft;
13396
13396
  e.decode = a;
13397
13397
  function c(t, r) {
13398
13398
  const o = r ?? n();
13399
- return f(t), o;
13399
+ return w(t), o;
13400
13400
  }
13401
13401
  e.readFromTeleport = c;
13402
- function f(t, r) {
13402
+ function w(t, r) {
13403
13403
  let o;
13404
13404
  for (; (o = t.next()) !== null; )
13405
13405
  o.fieldId;
13406
13406
  }
13407
- function w(t, r) {
13407
+ function f(t, r) {
13408
13408
  const o = i();
13409
13409
  return M(e.TeleportOpcode, o, e.TeleportVersion, r);
13410
13410
  }
13411
- e.toProtocolMessage = w;
13411
+ e.toProtocolMessage = f;
13412
13412
  function F(t, r) {
13413
13413
  const o = N(t, e.TeleportOpcode, e.TeleportVersion);
13414
13414
  return a(o, r);
@@ -13443,10 +13443,10 @@ var wt;
13443
13443
  e.decode = a;
13444
13444
  function c(t, r) {
13445
13445
  const o = r ?? n();
13446
- return d(o), f(t, o), o;
13446
+ return d(o), w(t, o), o;
13447
13447
  }
13448
13448
  e.readFromTeleport = c;
13449
- function f(t, r) {
13449
+ function w(t, r) {
13450
13450
  let o;
13451
13451
  for (; (o = t.next()) !== null; )
13452
13452
  switch (o.fieldId) {
@@ -13464,11 +13464,11 @@ var wt;
13464
13464
  }
13465
13465
  }
13466
13466
  }
13467
- function w(t, r) {
13467
+ function f(t, r) {
13468
13468
  const o = i(t);
13469
13469
  return M(e.TeleportOpcode, o, e.TeleportVersion, r);
13470
13470
  }
13471
- e.toProtocolMessage = w;
13471
+ e.toProtocolMessage = f;
13472
13472
  function F(t, r) {
13473
13473
  const o = N(t, e.TeleportOpcode, e.TeleportVersion);
13474
13474
  return a(o, r);
@@ -13501,19 +13501,19 @@ var It;
13501
13501
  e.decode = a;
13502
13502
  function c(t, r) {
13503
13503
  const o = r ?? n();
13504
- return f(t), o;
13504
+ return w(t), o;
13505
13505
  }
13506
13506
  e.readFromTeleport = c;
13507
- function f(t, r) {
13507
+ function w(t, r) {
13508
13508
  let o;
13509
13509
  for (; (o = t.next()) !== null; )
13510
13510
  o.fieldId;
13511
13511
  }
13512
- function w(t, r) {
13512
+ function f(t, r) {
13513
13513
  const o = i();
13514
13514
  return M(e.TeleportOpcode, o, e.TeleportVersion, r);
13515
13515
  }
13516
- e.toProtocolMessage = w;
13516
+ e.toProtocolMessage = f;
13517
13517
  function F(t, r) {
13518
13518
  const o = N(t, e.TeleportOpcode, e.TeleportVersion);
13519
13519
  return a(o, r);
@@ -13548,10 +13548,10 @@ var Ft;
13548
13548
  e.decode = a;
13549
13549
  function c(t, r) {
13550
13550
  const o = r ?? n();
13551
- return d(o), f(t, o), o;
13551
+ return d(o), w(t, o), o;
13552
13552
  }
13553
13553
  e.readFromTeleport = c;
13554
- function f(t, r) {
13554
+ function w(t, r) {
13555
13555
  let o;
13556
13556
  for (; (o = t.next()) !== null; )
13557
13557
  switch (o.fieldId) {
@@ -13587,11 +13587,11 @@ var Ft;
13587
13587
  }
13588
13588
  }
13589
13589
  }
13590
- function w(t, r) {
13590
+ function f(t, r) {
13591
13591
  const o = i(t);
13592
13592
  return M(e.TeleportOpcode, o, e.TeleportVersion, r);
13593
13593
  }
13594
- e.toProtocolMessage = w;
13594
+ e.toProtocolMessage = f;
13595
13595
  function F(t, r) {
13596
13596
  const o = N(t, e.TeleportOpcode, e.TeleportVersion);
13597
13597
  return a(o, r);
@@ -13626,10 +13626,10 @@ var te;
13626
13626
  e.decode = a;
13627
13627
  function c(t, r) {
13628
13628
  const o = r ?? n();
13629
- return d(o), f(t, o), o;
13629
+ return d(o), w(t, o), o;
13630
13630
  }
13631
13631
  e.readFromTeleport = c;
13632
- function f(t, r) {
13632
+ function w(t, r) {
13633
13633
  let o;
13634
13634
  for (; (o = t.next()) !== null; )
13635
13635
  switch (o.fieldId) {
@@ -13659,11 +13659,11 @@ var te;
13659
13659
  }
13660
13660
  }
13661
13661
  }
13662
- function w(t, r) {
13662
+ function f(t, r) {
13663
13663
  const o = i(t);
13664
13664
  return M(e.TeleportOpcode, o, e.TeleportVersion, r);
13665
13665
  }
13666
- e.toProtocolMessage = w;
13666
+ e.toProtocolMessage = f;
13667
13667
  function F(t, r) {
13668
13668
  const o = N(t, e.TeleportOpcode, e.TeleportVersion);
13669
13669
  return a(o, r);
@@ -13696,19 +13696,19 @@ var Tt;
13696
13696
  e.decode = a;
13697
13697
  function c(t, r) {
13698
13698
  const o = r ?? n();
13699
- return f(t), o;
13699
+ return w(t), o;
13700
13700
  }
13701
13701
  e.readFromTeleport = c;
13702
- function f(t, r) {
13702
+ function w(t, r) {
13703
13703
  let o;
13704
13704
  for (; (o = t.next()) !== null; )
13705
13705
  o.fieldId;
13706
13706
  }
13707
- function w(t, r) {
13707
+ function f(t, r) {
13708
13708
  const o = i();
13709
13709
  return M(e.TeleportOpcode, o, e.TeleportVersion, r);
13710
13710
  }
13711
- e.toProtocolMessage = w;
13711
+ e.toProtocolMessage = f;
13712
13712
  function F(t, r) {
13713
13713
  const o = N(t, e.TeleportOpcode, e.TeleportVersion);
13714
13714
  return a(o, r);
@@ -13735,17 +13735,17 @@ class xe extends le {
13735
13735
  super(`No keepalive received within ${n}ms`), this.name = "KeepaliveTimeoutError";
13736
13736
  }
13737
13737
  }
13738
- class Kt extends Ke {
13738
+ class xt extends Ke {
13739
13739
  constructor(n) {
13740
13740
  super(`Maximum reconnection attempts (${n}) exceeded`), this.name = "MaxRetriesExceededError";
13741
13741
  }
13742
13742
  }
13743
- class xt extends j {
13743
+ class Wt extends j {
13744
13744
  constructor(n) {
13745
13745
  super(`Channel provisioning timeout after ${n}ms`), this.name = "ProvisioningTimeoutError";
13746
13746
  }
13747
13747
  }
13748
- class Wt extends j {
13748
+ class El extends j {
13749
13749
  constructor(n) {
13750
13750
  super(`Channel not found: ${n}`), this.name = "ChannelNotFoundError";
13751
13751
  }
@@ -13755,12 +13755,12 @@ class Jt extends j {
13755
13755
  super(`Space not found for domain: ${n}`), this.name = "SpaceNotFoundError";
13756
13756
  }
13757
13757
  }
13758
- class $t extends j {
13758
+ class Nl extends j {
13759
13759
  constructor() {
13760
13760
  super("No channels available in this space"), this.name = "NoChannelsError";
13761
13761
  }
13762
13762
  }
13763
- var yt = /* @__PURE__ */ ((e) => (e[e.DEBUG = 0] = "DEBUG", e[e.INFO = 1] = "INFO", e[e.WARN = 2] = "WARN", e[e.ERROR = 3] = "ERROR", e[e.NONE = 4] = "NONE", e))(yt || {});
13763
+ var Et = /* @__PURE__ */ ((e) => (e[e.DEBUG = 0] = "DEBUG", e[e.INFO = 1] = "INFO", e[e.WARN = 2] = "WARN", e[e.ERROR = 3] = "ERROR", e[e.NONE = 4] = "NONE", e))(Et || {});
13764
13764
  let We = 1, he = null;
13765
13765
  function Ml(e) {
13766
13766
  We = e;
@@ -13768,24 +13768,24 @@ function Ml(e) {
13768
13768
  function gl() {
13769
13769
  return We;
13770
13770
  }
13771
- function Rt(e) {
13771
+ function $t(e) {
13772
13772
  he = e;
13773
13773
  }
13774
13774
  function Pl() {
13775
13775
  return he;
13776
13776
  }
13777
- const zt = {
13777
+ const Rt = {
13778
13778
  0: "DEBUG",
13779
13779
  1: "INFO",
13780
13780
  2: "WARN",
13781
13781
  3: "ERROR",
13782
13782
  4: "NONE"
13783
13783
  };
13784
- function Yt(e, n) {
13784
+ function zt(e, n) {
13785
13785
  return `[${e}] ${n}`;
13786
13786
  }
13787
13787
  function Ie(e, n, d, i) {
13788
- const s = (/* @__PURE__ */ new Date()).toISOString(), a = zt[e];
13788
+ const s = (/* @__PURE__ */ new Date()).toISOString(), a = Rt[e];
13789
13789
  if (he && he({
13790
13790
  timestamp: s,
13791
13791
  level: e,
@@ -13794,7 +13794,7 @@ function Ie(e, n, d, i) {
13794
13794
  message: d,
13795
13795
  args: i
13796
13796
  }), We <= e) {
13797
- const c = Yt(n, d);
13797
+ const c = zt(n, d);
13798
13798
  switch (e) {
13799
13799
  case 0:
13800
13800
  console.debug(c, ...i);
@@ -13828,7 +13828,7 @@ function B(e) {
13828
13828
  };
13829
13829
  }
13830
13830
  const X = B("WebSocketTransport");
13831
- class Xt {
13831
+ class Yt {
13832
13832
  ws = null;
13833
13833
  keepaliveTimeout = null;
13834
13834
  keepaliveTimeoutMs;
@@ -13845,27 +13845,27 @@ class Xt {
13845
13845
  X.debug(`Connecting to WebSocket: ${n}`);
13846
13846
  try {
13847
13847
  this.ws = new WebSocket(n), this.ws.binaryType = "arraybuffer";
13848
- } catch (w) {
13849
- s(new le(`Failed to create WebSocket: ${w}`, w instanceof Error ? w : void 0));
13848
+ } catch (f) {
13849
+ s(new le(`Failed to create WebSocket: ${f}`, f instanceof Error ? f : void 0));
13850
13850
  return;
13851
13851
  }
13852
13852
  let a = !1, c = !1;
13853
- const f = () => {
13853
+ const w = () => {
13854
13854
  this.ws && (this.ws.onopen = null, this.ws.onerror = null, this.ws.onclose = null, this.ws.onmessage = null);
13855
13855
  };
13856
13856
  this.ws.onopen = () => {
13857
13857
  a = !0, X.debug("WebSocket connected, sending auth ticket"), this.ws.send(d), this.resetKeepaliveTimeout(), c || (c = !0, i());
13858
13858
  }, this.ws.onerror = () => {
13859
- X.error("WebSocket error"), c || (c = !0, f(), s(new le("WebSocket connection failed")));
13860
- }, this.ws.onclose = (w) => {
13859
+ X.error("WebSocket error"), c || (c = !0, w(), s(new le("WebSocket connection failed")));
13860
+ }, this.ws.onclose = (f) => {
13861
13861
  if (this.clearKeepaliveTimeout(), !a && !c) {
13862
- c = !0, f(), s(new le("WebSocket connection closed before opening"));
13862
+ c = !0, w(), s(new le("WebSocket connection closed before opening"));
13863
13863
  return;
13864
13864
  }
13865
- const F = w.wasClean && (w.code === 1e3 || w.code === 1001), t = w.reason || `code=${w.code}`;
13865
+ const F = f.wasClean && (f.code === 1e3 || f.code === 1001), t = f.reason || `code=${f.code}`;
13866
13866
  X.debug(`WebSocket closed: ${t}, clean=${F}`), this.callbacks.onClose(t, F);
13867
- }, this.ws.onmessage = (w) => {
13868
- this.handleProtocolMessage(new Uint8Array(w.data));
13867
+ }, this.ws.onmessage = (f) => {
13868
+ this.handleProtocolMessage(new Uint8Array(f.data));
13869
13869
  };
13870
13870
  });
13871
13871
  }
@@ -13897,17 +13897,18 @@ class Xt {
13897
13897
  this.keepaliveTimeout && (clearTimeout(this.keepaliveTimeout), this.keepaliveTimeout = null);
13898
13898
  }
13899
13899
  }
13900
- const K = B("WebTransportTransport");
13901
- function Et() {
13900
+ const K = B("WebTransportTransport"), ht = 4;
13901
+ function Nt() {
13902
13902
  return typeof WebTransport < "u";
13903
13903
  }
13904
- class qt {
13904
+ class Xt {
13905
13905
  transport = null;
13906
13906
  stream = null;
13907
13907
  reader = null;
13908
13908
  writer = null;
13909
13909
  keepaliveTimeout = null;
13910
13910
  readLoopActive = !1;
13911
+ receiveBuffer = new Uint8Array(0);
13911
13912
  keepaliveTimeoutMs;
13912
13913
  callbacks;
13913
13914
  sessionId;
@@ -13918,7 +13919,7 @@ class qt {
13918
13919
  return this.transport !== null && this.writer !== null;
13919
13920
  }
13920
13921
  async connect(n, d) {
13921
- if (!Et())
13922
+ if (!Nt())
13922
13923
  throw new le("WebTransport is not supported in this browser");
13923
13924
  K.debug(`Connecting to WebTransport: ${n}`);
13924
13925
  try {
@@ -13956,7 +13957,7 @@ class qt {
13956
13957
  K.debug("Read loop: stream ended");
13957
13958
  break;
13958
13959
  }
13959
- n && this.handleProtocolMessage(n);
13960
+ n && (this.appendToBuffer(n), this.processBufferedMessages());
13960
13961
  }
13961
13962
  } catch (n) {
13962
13963
  this.readLoopActive && (K.error("Read loop error:", n), this.callbacks.onError(n instanceof Error ? n : new Error(String(n))));
@@ -13964,6 +13965,30 @@ class qt {
13964
13965
  K.debug("Read loop ended");
13965
13966
  }
13966
13967
  }
13968
+ /**
13969
+ * Append incoming data to the receive buffer.
13970
+ */
13971
+ appendToBuffer(n) {
13972
+ const d = new Uint8Array(this.receiveBuffer.length + n.length);
13973
+ d.set(this.receiveBuffer, 0), d.set(n, this.receiveBuffer.length), this.receiveBuffer = d;
13974
+ }
13975
+ /**
13976
+ * Process complete messages from the receive buffer.
13977
+ * Protocol messages start with a 4-byte little-endian length field.
13978
+ */
13979
+ processBufferedMessages() {
13980
+ for (; this.receiveBuffer.length >= ht; ) {
13981
+ const d = new DataView(this.receiveBuffer.buffer, this.receiveBuffer.byteOffset, this.receiveBuffer.byteLength).getUint32(0, !0);
13982
+ if (d < ht) {
13983
+ K.error(`Invalid message length: ${d}`), this.callbacks.onError(new Error(`Invalid protocol message length: ${d}`)), this.receiveBuffer = new Uint8Array(0);
13984
+ return;
13985
+ }
13986
+ if (this.receiveBuffer.length < d)
13987
+ return;
13988
+ const i = this.receiveBuffer.slice(0, d);
13989
+ this.receiveBuffer = this.receiveBuffer.slice(d), this.handleProtocolMessage(i);
13990
+ }
13991
+ }
13967
13992
  /**
13968
13993
  * Handle incoming protocol message.
13969
13994
  */
@@ -14004,7 +14029,7 @@ class qt {
14004
14029
  * Clean up resources.
14005
14030
  */
14006
14031
  cleanup() {
14007
- if (this.reader && (this.reader.releaseLock(), this.reader = null), this.writer && (this.writer.releaseLock(), this.writer = null), this.stream = null, this.transport) {
14032
+ if (this.reader && (this.reader.releaseLock(), this.reader = null), this.writer && (this.writer.releaseLock(), this.writer = null), this.stream = null, this.receiveBuffer = new Uint8Array(0), this.transport) {
14008
14033
  try {
14009
14034
  this.transport.close();
14010
14035
  } catch {
@@ -14014,7 +14039,7 @@ class qt {
14014
14039
  }
14015
14040
  }
14016
14041
  const q = B("Channel");
14017
- class Zt {
14042
+ class qt {
14018
14043
  state = "disconnected";
14019
14044
  transport = null;
14020
14045
  config;
@@ -14093,13 +14118,13 @@ class Zt {
14093
14118
  switch (n.Type) {
14094
14119
  case v.WebSocket:
14095
14120
  case v.WebSocketProxy:
14096
- this.transport = new Xt(d);
14121
+ this.transport = new Yt(d);
14097
14122
  break;
14098
14123
  case v.WebTransport:
14099
14124
  case v.WebTransportProxy:
14100
- if (!Et())
14125
+ if (!Nt())
14101
14126
  throw new Error("WebTransport is not supported in this browser");
14102
- this.transport = new qt(d);
14127
+ this.transport = new Xt(d);
14103
14128
  break;
14104
14129
  default:
14105
14130
  throw new Error(`Unsupported entrypoint type: ${v[n.Type]}`);
@@ -14140,8 +14165,8 @@ class Zt {
14140
14165
  this.state !== n && (q.debug(`Channel state: ${this.state} -> ${n}`), this.state = n, this.config.onStateChange?.(n));
14141
14166
  }
14142
14167
  }
14143
- const x = B("ChannelManager"), ht = $.GROUP_CORE;
14144
- class Qt {
14168
+ const x = B("ChannelManager"), pt = $.GROUP_CORE;
14169
+ class Zt {
14145
14170
  channels = /* @__PURE__ */ new Map();
14146
14171
  // keyed by opcode group
14147
14172
  activeType = null;
@@ -14185,7 +14210,7 @@ class Qt {
14185
14210
  * The opcode group is extracted from the message automatically.
14186
14211
  */
14187
14212
  sendProtocolMessage(n) {
14188
- const d = Ct(n);
14213
+ const d = _t(n);
14189
14214
  for (const [i, s] of this.channels)
14190
14215
  if (i & d) {
14191
14216
  s.send(n);
@@ -14229,15 +14254,15 @@ class Qt {
14229
14254
  */
14230
14255
  async connectAllChannels(n, d) {
14231
14256
  x.info(`Trying endpoint type: ${v[n]} (${d.length} channels)`);
14232
- const i = d.find((a) => (a.OpcodeGroupsFromServer & ht) !== 0), s = d.filter((a) => (a.OpcodeGroupsFromServer & ht) === 0);
14257
+ const i = d.find((a) => (a.OpcodeGroupsFromServer & pt) !== 0), s = d.filter((a) => (a.OpcodeGroupsFromServer & pt) === 0);
14233
14258
  if (!i)
14234
14259
  throw new Error("No core channel found in entrypoints");
14235
14260
  if (x.debug("Connecting core channel first..."), await this.connectChannel(i), s.length > 0) {
14236
14261
  x.debug(`Connecting ${s.length} additional channels in parallel...`);
14237
- const c = (await Promise.allSettled(s.map((f) => this.connectChannel(f)))).filter((f) => f.status === "rejected");
14262
+ const c = (await Promise.allSettled(s.map((w) => this.connectChannel(w)))).filter((w) => w.status === "rejected");
14238
14263
  if (c.length > 0) {
14239
- const f = c.map((w) => w.reason);
14240
- throw new Error(`${c.length} channel(s) failed: ${f.join(", ")}`);
14264
+ const w = c.map((f) => f.reason);
14265
+ throw new Error(`${c.length} channel(s) failed: ${w.join(", ")}`);
14241
14266
  }
14242
14267
  }
14243
14268
  x.info(`All ${d.length} channels connected using ${v[n]}`);
@@ -14246,7 +14271,7 @@ class Qt {
14246
14271
  * Connect a single channel.
14247
14272
  */
14248
14273
  async connectChannel(n) {
14249
- const d = new Zt({
14274
+ const d = new qt({
14250
14275
  entrypoint: n,
14251
14276
  sessionId: this.config.sessionId,
14252
14277
  keepaliveTimeoutMs: this.config.keepaliveTimeoutMs,
@@ -14296,7 +14321,7 @@ class Qt {
14296
14321
  if (!this.shouldReconnect)
14297
14322
  return;
14298
14323
  if (this.reconnectAttempts >= this.config.maxReconnectAttempts) {
14299
- x.error(`Max reconnect attempts (${this.config.maxReconnectAttempts}) reached`), this.setState("offline"), this.config.onError?.(new Kt(this.config.maxReconnectAttempts));
14324
+ x.error(`Max reconnect attempts (${this.config.maxReconnectAttempts}) reached`), this.setState("offline"), this.config.onError?.(new xt(this.config.maxReconnectAttempts));
14300
14325
  return;
14301
14326
  }
14302
14327
  this.setState("reconnecting"), this.reconnectAttempts++;
@@ -14336,11 +14361,11 @@ class Qt {
14336
14361
  });
14337
14362
  }
14338
14363
  }
14339
- const Bt = 5e3, At = 3e4, Ut = 35e3, el = 500, rl = 6, Nt = 6e4, ol = {}, G = B("Authenticator"), ie = $.GROUP_CORE | $.GROUP_KEEPALIVE | $.GROUP_EVENTS | $.GROUP_ACTIONS | $.GROUP_UI | $.GROUP_AUDIO | $.GROUP_VIDEO, tl = 1e3, ll = 5e3;
14364
+ const Qt = 5e3, Bt = 3e4, At = 35e3, Ut = 500, el = 6, Mt = 6e4, gt = {}, G = B("Authenticator"), ie = $.GROUP_CORE | $.GROUP_KEEPALIVE | $.GROUP_EVENTS | $.GROUP_ACTIONS | $.GROUP_UI | $.GROUP_AUDIO | $.GROUP_VIDEO, rl = 1e3, ol = 5e3;
14340
14365
  function Je() {
14341
14366
  return "device-" + Math.random().toString(36).substring(2, 15);
14342
14367
  }
14343
- async function nl(e) {
14368
+ async function tl(e) {
14344
14369
  try {
14345
14370
  const n = await fetch("https://api.dev.ikon.live/users/me", {
14346
14371
  credentials: "include",
@@ -14351,13 +14376,14 @@ async function nl(e) {
14351
14376
  return;
14352
14377
  }
14353
14378
  }
14354
- function dl(e) {
14379
+ function ll(e) {
14355
14380
  return e === "development" ? "https://api.dev.ikon.live" : "https://api.prod.ikon.live";
14356
14381
  }
14357
- function il() {
14358
- return typeof window > "u" ? "https://api.prod.ikon.live" : window.location.hostname.includes(".dev.") ? "https://api.dev.ikon.live" : "https://api.prod.ikon.live";
14382
+ function nl() {
14383
+ const e = typeof import.meta < "u" ? gt?.VITE_IKON_BASE_URL : void 0;
14384
+ return e || (typeof window > "u" ? "https://api.prod.ikon.live" : window.location.hostname.includes(".dev.") ? "https://api.dev.ikon.live" : "https://api.prod.ikon.live");
14359
14385
  }
14360
- function sl() {
14386
+ function dl() {
14361
14387
  if (typeof window > "u")
14362
14388
  return { parameters: {} };
14363
14389
  const e = window.location.pathname;
@@ -14368,12 +14394,12 @@ function sl() {
14368
14394
  if (s && (d = decodeURIComponent(s[1])), n && d)
14369
14395
  throw new j("URL cannot contain both /s/[sessionId] and /c/[channelKey]");
14370
14396
  const a = new URLSearchParams(window.location.search), c = {};
14371
- for (const [f, w] of a.entries())
14372
- c[f] = w;
14397
+ for (const [w, f] of a.entries())
14398
+ c[w] = f;
14373
14399
  return { sessionId: n, channelKey: d, parameters: c };
14374
14400
  }
14375
- function al() {
14376
- const e = typeof import.meta < "u" ? ol?.VITE_IKON_SPACE_DOMAIN : void 0;
14401
+ function il() {
14402
+ const e = typeof import.meta < "u" ? gt?.VITE_IKON_SPACE_DOMAIN : void 0;
14377
14403
  if (e)
14378
14404
  return e;
14379
14405
  if (typeof window > "u")
@@ -14383,7 +14409,7 @@ function al() {
14383
14409
  throw new j(`Cannot derive space domain from hostname: ${n}`);
14384
14410
  return d[1];
14385
14411
  }
14386
- function cl(e, n) {
14412
+ function sl(e, n) {
14387
14413
  return new Promise((d, i) => {
14388
14414
  const s = setTimeout(d, e);
14389
14415
  if (n) {
@@ -14398,13 +14424,11 @@ function cl(e, n) {
14398
14424
  }
14399
14425
  });
14400
14426
  }
14401
- function Mt(e, n) {
14427
+ function al(e, n) {
14402
14428
  const d = { signal: n };
14403
- return e ? d.headers = {
14404
- Authorization: `Bearer ${e}`
14405
- } : d.credentials = "include", d;
14429
+ return d.credentials = "include", d;
14406
14430
  }
14407
- function ul(e, n, d) {
14431
+ function Pt(e, n, d) {
14408
14432
  const i = {
14409
14433
  method: "POST",
14410
14434
  headers: {
@@ -14416,66 +14440,58 @@ function ul(e, n, d) {
14416
14440
  };
14417
14441
  return n || (i.credentials = "include"), i;
14418
14442
  }
14419
- async function fl(e, n, d, i) {
14443
+ async function cl(e, n, d, i) {
14420
14444
  const s = `${e}/spaces/domain/${encodeURIComponent(n)}`;
14421
14445
  G.debug(`Fetching space by domain: ${n}`);
14422
- const a = await fetch(s, Mt(d, i));
14446
+ const a = await fetch(s, al(d, i));
14423
14447
  if (!a.ok) {
14424
14448
  if (a.status === 404)
14425
14449
  throw new Jt(n);
14426
- const f = await a.text().catch(() => "Unknown error");
14427
- throw new j(`Failed to fetch space: ${a.status} ${f}`);
14450
+ const w = await a.text().catch(() => "Unknown error");
14451
+ throw new j(`Failed to fetch space: ${a.status} ${w}`);
14428
14452
  }
14429
14453
  const c = await a.json();
14430
14454
  return G.debug(`Found space: ${c.name} (${c.id})`), c;
14431
14455
  }
14432
- async function gt(e, n, d, i) {
14433
- const s = `${e}/rooms?space=${encodeURIComponent(n)}&scope=my&limit=50`;
14434
- G.debug(`Fetching channels for space: ${n}`);
14435
- const a = await fetch(s, Mt(d, i));
14436
- if (!a.ok) {
14437
- const f = await a.text().catch(() => "Unknown error");
14438
- throw new j(`Failed to fetch channels: ${a.status} ${f}`);
14439
- }
14440
- const c = await a.json();
14441
- return G.debug(`Found ${c.results.length} channels`), c.results;
14442
- }
14443
- function Pt(e, n) {
14444
- if (e.length === 0)
14445
- throw new $t();
14446
- if (n) {
14447
- const i = e.find((s) => s.channelSlug === n || s.roomTemplateSlug === n);
14448
- if (!i)
14449
- throw new Wt(n);
14450
- return G.debug(`Selected channel by key '${n}': ${i.code}`), i;
14451
- }
14452
- const d = e[0];
14453
- return G.debug(`Selected first channel: ${d.code}`), d;
14456
+ async function Vt(e, n, d, i, s, a) {
14457
+ const c = `${e}/rooms`, w = {
14458
+ space: n,
14459
+ ...d ? { key: d } : {},
14460
+ ...i && Object.keys(i).length > 0 ? { params: i } : {}
14461
+ };
14462
+ G.debug(`Requesting channel for space: ${n}${d ? `, key: ${d}` : ""}`);
14463
+ const f = await fetch(c, Pt(w, s, a));
14464
+ if (!f.ok) {
14465
+ const t = await f.text().catch(() => "Unknown error");
14466
+ throw new j(`Failed to request channel: ${f.status} ${t}`);
14467
+ }
14468
+ const F = await f.json();
14469
+ return G.debug(`Got channel: ${F.code}`), F;
14454
14470
  }
14455
- async function wl(e, n, d, i) {
14456
- const s = `${e}/rooms/connect`, a = await fetch(s, ul(n, d, i));
14471
+ async function ul(e, n, d, i) {
14472
+ const s = `${e}/rooms/connect`, a = await fetch(s, Pt(n, d, i));
14457
14473
  if (!a.ok) {
14458
14474
  const c = await a.text().catch(() => "Unknown error");
14459
14475
  throw new j(`Backend connect failed: ${a.status} ${c}`);
14460
14476
  }
14461
14477
  return a.json();
14462
14478
  }
14463
- async function Vt(e, n, d, i, s) {
14479
+ async function St(e, n, d, i, s) {
14464
14480
  const a = Date.now();
14465
- let c = tl;
14481
+ let c = rl;
14466
14482
  for (; ; ) {
14467
14483
  if (s?.aborted)
14468
14484
  throw new j("Connection aborted");
14469
14485
  if (Date.now() - a >= d)
14470
- throw new xt(d);
14471
- const w = await wl(e, n, i, s), F = w.state?.toLowerCase();
14486
+ throw new Wt(d);
14487
+ const f = await ul(e, n, i, s), F = f.state?.toLowerCase();
14472
14488
  if (F === "running")
14473
- return w;
14489
+ return f;
14474
14490
  if (F === "provisioning") {
14475
- G.debug(`Channel provisioning, waiting ${c}ms...`), await cl(c, s), c = Math.min(c * 1.5, ll);
14491
+ G.debug(`Channel provisioning, waiting ${c}ms...`), await sl(c, s), c = Math.min(c * 1.5, ol);
14476
14492
  continue;
14477
14493
  }
14478
- throw new j(`Unexpected channel state: ${w.state}`);
14494
+ throw new j(`Unexpected channel state: ${f.state}`);
14479
14495
  }
14480
14496
  }
14481
14497
  async function $e(e, n) {
@@ -14489,7 +14505,7 @@ async function $e(e, n) {
14489
14505
  const a = Pe.fromProtocolMessage(s);
14490
14506
  return G.debug(`Got ${a.Entrypoints.length} entrypoints`), { authResponse: a };
14491
14507
  }
14492
- function Il(e, n) {
14508
+ function fl(e, n) {
14493
14509
  return Ve.create({
14494
14510
  ServerSessionId: "",
14495
14511
  // Server will fill this in
@@ -14517,7 +14533,7 @@ function Il(e, n) {
14517
14533
  Parameters: e.parameters ?? {}
14518
14534
  });
14519
14535
  }
14520
- function Fl(e) {
14536
+ function wl(e) {
14521
14537
  return {
14522
14538
  ServerSessionId: e.ServerSessionId,
14523
14539
  ContextType: e.ContextType,
@@ -14544,12 +14560,12 @@ function Fl(e) {
14544
14560
  Parameters: e.Parameters
14545
14561
  };
14546
14562
  }
14547
- async function Tl(e, n) {
14563
+ async function Il(e, n) {
14548
14564
  const d = `https://${e.host}:${e.httpsPort}`;
14549
14565
  G.debug(`Authenticating with local server: ${d}`);
14550
14566
  let i = e.userId;
14551
- i || (i = await nl(n), i || (i = "local", G.warn('Could not determine user ID. Using fallback "local". To fix: either provide userId in config, or log in to the Ikon portal at https://portal.dev.ikon.live')));
14552
- const s = Il(e, i), a = Fl(s);
14567
+ i || (i = await tl(n), i || (i = "local", G.warn('Could not determine user ID. Using fallback "local". To fix: either provide userId in config, or log in to the Ikon portal at https://portal.dev.ikon.live')));
14568
+ const s = fl(e, i), a = wl(s);
14553
14569
  G.debug("Requesting connect token...");
14554
14570
  const c = await fetch(`${d}/connect-token`, {
14555
14571
  method: "POST",
@@ -14563,22 +14579,27 @@ async function Tl(e, n) {
14563
14579
  const t = await c.text().catch(() => "Unknown error");
14564
14580
  throw new j(`Failed to get connect token: ${c.status} ${t}`);
14565
14581
  }
14566
- const w = (await c.json()).token;
14567
- if (!w)
14582
+ const f = (await c.json()).token;
14583
+ if (!f)
14568
14584
  throw new j("Server did not return a token");
14569
14585
  G.debug("Got JWT token, requesting connection...");
14570
- const F = `${d}/connect?token=${encodeURIComponent(w)}`;
14586
+ const F = `${d}/connect?token=${encodeURIComponent(f)}`;
14571
14587
  return $e(F, n);
14572
14588
  }
14573
- async function hl(e, n) {
14589
+ async function Fl(e, n) {
14574
14590
  G.debug("Starting browser authentication");
14575
- const d = sl(), i = e.channelKey ?? d.channelKey, s = e.sessionId ?? d.sessionId, a = { ...d.parameters, ...e.parameters };
14591
+ const d = dl(), i = e.channelKey ?? d.channelKey, s = e.sessionId ?? d.sessionId, a = { ...d.parameters, ...e.parameters };
14576
14592
  if (s && i)
14577
14593
  throw new j("Cannot specify both sessionId and channelKey. Use sessionId for precomputed sessions or channelKey to select a channel.");
14578
- const c = il(), f = al();
14579
- G.debug(`Backend URL: ${c}, Space domain: ${f}`);
14580
- const w = await fl(c, f, void 0, n), F = await gt(c, w.id, void 0, n), r = {
14581
- code: Pt(F, i).code,
14594
+ const c = nl(), w = il();
14595
+ G.debug(`Backend URL: ${c}, Space domain: ${w}`);
14596
+ const f = await cl(c, w, void 0, n), F = await fetch(`${c}/profiles/me?space=${encodeURIComponent(f.id)}`, { credentials: "include", signal: n });
14597
+ if (!F.ok) {
14598
+ const b = await F.text().catch(() => "Unknown error");
14599
+ throw new j(`Failed to get or create profile: ${F.status} ${b}`);
14600
+ }
14601
+ const r = {
14602
+ code: (await Vt(c, f.id, i, a, void 0, n)).code,
14582
14603
  contextType: me.Browser,
14583
14604
  userType: Ee.Human,
14584
14605
  clientType: be.DesktopWeb,
@@ -14596,16 +14617,16 @@ async function hl(e, n) {
14596
14617
  launchParams: a,
14597
14618
  hash: s,
14598
14619
  waitForRunning: !0
14599
- }, o = e.provisioningTimeoutMs ?? Nt, l = await Vt(c, r, o, void 0, n);
14620
+ }, o = e.provisioningTimeoutMs ?? Mt, l = await St(c, r, o, void 0, n);
14600
14621
  if (!l.configuration?.url)
14601
14622
  throw new j("Backend did not return a connect URL");
14602
14623
  const u = l.configuration.url;
14603
14624
  return G.debug("Got connect URL, authenticating with Ikon server"), $e(u, n);
14604
14625
  }
14605
- async function pl(e, n) {
14626
+ async function Tl(e, n) {
14606
14627
  if (G.debug("Starting API key authentication"), e.sessionId && e.channelKey)
14607
14628
  throw new j("Cannot specify both sessionId and channelKey. Use sessionId for precomputed sessions or channelKey to select a channel.");
14608
- const d = dl(e.backendType);
14629
+ const d = ll(e.backendType);
14609
14630
  G.debug(`Backend URL: ${d}, Space ID: ${e.spaceId}`);
14610
14631
  const i = await fetch(`${d}/auth/api-key`, {
14611
14632
  method: "POST",
@@ -14620,8 +14641,8 @@ async function pl(e, n) {
14620
14641
  signal: n
14621
14642
  });
14622
14643
  if (!i.ok) {
14623
- const l = await i.text().catch(() => "Unknown error");
14624
- throw new j(`API key authentication failed: ${i.status} ${l}`);
14644
+ const o = await i.text().catch(() => "Unknown error");
14645
+ throw new j(`API key authentication failed: ${i.status} ${o}`);
14625
14646
  }
14626
14647
  const a = (await i.json()).token;
14627
14648
  if (!a)
@@ -14635,12 +14656,12 @@ async function pl(e, n) {
14635
14656
  signal: n
14636
14657
  });
14637
14658
  if (!c.ok) {
14638
- const l = await c.text().catch(() => "Unknown error");
14639
- throw new j(`Failed to get or create profile: ${c.status} ${l}`);
14659
+ const o = await c.text().catch(() => "Unknown error");
14660
+ throw new j(`Failed to get or create profile: ${c.status} ${o}`);
14640
14661
  }
14641
14662
  G.debug("Profile created or retrieved");
14642
- const f = await gt(d, e.spaceId, a, n), F = {
14643
- code: Pt(f, e.channelKey).code,
14663
+ const f = {
14664
+ code: (await Vt(d, e.spaceId, e.channelKey, e.parameters, a, n)).code,
14644
14665
  contextType: me.Plugin,
14645
14666
  userType: e.userType ?? Ee.Human,
14646
14667
  clientType: e.clientType ?? be.DesktopWeb,
@@ -14658,19 +14679,19 @@ async function pl(e, n) {
14658
14679
  launchParams: e.parameters,
14659
14680
  hash: e.sessionId,
14660
14681
  waitForRunning: !0
14661
- }, t = e.provisioningTimeoutMs ?? Nt, r = await Vt(d, F, t, a, n);
14662
- if (!r.configuration?.url)
14682
+ }, F = e.provisioningTimeoutMs ?? Mt, t = await St(d, f, F, a, n);
14683
+ if (!t.configuration?.url)
14663
14684
  throw new j("Backend did not return a connect URL");
14664
- const o = r.configuration.url;
14665
- return G.debug("Got connect URL, authenticating with Ikon server"), $e(o, n);
14685
+ const r = t.configuration.url;
14686
+ return G.debug("Got connect URL, authenticating with Ikon server"), $e(r, n);
14666
14687
  }
14667
- const A = B("EndpointSelector"), pt = {
14688
+ const A = B("EndpointSelector"), bt = {
14668
14689
  [v.WebTransport]: 0,
14669
14690
  [v.WebSocket]: 1,
14670
14691
  [v.WebTransportProxy]: 2,
14671
14692
  [v.WebSocketProxy]: 3
14672
14693
  }, Ne = "ikon_endpoint_type";
14673
- class bl {
14694
+ class hl {
14674
14695
  isLocal;
14675
14696
  workingEndpointType = null;
14676
14697
  constructor(n) {
@@ -14685,8 +14706,8 @@ class bl {
14685
14706
  if (this.isLocal)
14686
14707
  return A.debug(`Local mode: using server order [${d.map((s) => v[s]).join(", ")}]`), d;
14687
14708
  const i = [...d].sort((s, a) => {
14688
- const c = pt[s] ?? 999, f = pt[a] ?? 999;
14689
- return c - f;
14709
+ const c = bt[s] ?? 999, w = bt[a] ?? 999;
14710
+ return c - w;
14690
14711
  });
14691
14712
  if (this.workingEndpointType !== null && n.has(this.workingEndpointType)) {
14692
14713
  const s = i.indexOf(this.workingEndpointType);
@@ -14753,13 +14774,13 @@ class Vl {
14753
14774
  _globalState = null;
14754
14775
  _initialGlobalStateReceived = !1;
14755
14776
  constructor(n) {
14756
- this.config = n, this.slowConnectionThresholdMs = n.timeouts?.slowConnectionThresholdMs ?? Bt, this.connectionTimeoutMs = n.timeouts?.connectionTimeoutMs ?? At;
14777
+ this.config = n, this.slowConnectionThresholdMs = n.timeouts?.slowConnectionThresholdMs ?? Qt, this.connectionTimeoutMs = n.timeouts?.connectionTimeoutMs ?? Bt;
14757
14778
  const d = [n.local, n.browser, n.apiKey].filter(Boolean).length;
14758
14779
  if (d === 0)
14759
14780
  throw new Error('IkonClient requires one of: "local", "browser", or "apiKey" configuration');
14760
14781
  if (d > 1)
14761
14782
  throw new Error('IkonClient accepts only one of: "local", "browser", or "apiKey" configuration');
14762
- this.endpointSelector = new bl({
14783
+ this.endpointSelector = new hl({
14763
14784
  local: n.local
14764
14785
  });
14765
14786
  }
@@ -14806,11 +14827,11 @@ class Vl {
14806
14827
  }, this.connectionTimeoutMs);
14807
14828
  try {
14808
14829
  const n = await this.authenticate();
14809
- this.authResponse = n.authResponse, this._sessionId = n.authResponse.ClientContext.SessionId, H.info(`Authenticated with session ID: ${this._sessionId}, ${this.authResponse.Entrypoints.length} entrypoints`), this.channelManager = new Qt({
14830
+ this.authResponse = n.authResponse, this._sessionId = n.authResponse.ClientContext.SessionId, H.info(`Authenticated with session ID: ${this._sessionId}, ${this.authResponse.Entrypoints.length} entrypoints`), this.channelManager = new Zt({
14810
14831
  sessionId: this._sessionId,
14811
- keepaliveTimeoutMs: this.config.timeouts?.keepaliveTimeoutMs ?? Ut,
14812
- reconnectBackoffMs: this.config.timeouts?.reconnectBackoffMs ?? el,
14813
- maxReconnectAttempts: this.config.timeouts?.maxReconnectAttempts ?? rl,
14832
+ keepaliveTimeoutMs: this.config.timeouts?.keepaliveTimeoutMs ?? At,
14833
+ reconnectBackoffMs: this.config.timeouts?.reconnectBackoffMs ?? Ut,
14834
+ maxReconnectAttempts: this.config.timeouts?.maxReconnectAttempts ?? el,
14814
14835
  endpointSelector: this.endpointSelector,
14815
14836
  onProtocolMessage: (d) => {
14816
14837
  this.handleProtocolMessage(d);
@@ -14872,11 +14893,11 @@ class Vl {
14872
14893
  async authenticate() {
14873
14894
  const n = this.abortController?.signal;
14874
14895
  if (this.config.local)
14875
- return Tl(this.config.local, n);
14896
+ return Il(this.config.local, n);
14876
14897
  if (this.config.browser)
14877
- return hl(this.config.browser, n);
14898
+ return Fl(this.config.browser, n);
14878
14899
  if (this.config.apiKey)
14879
- return pl(this.config.apiKey, n);
14900
+ return Tl(this.config.apiKey, n);
14880
14901
  throw new Error("No connection configuration provided (need local, browser, or apiKey)");
14881
14902
  }
14882
14903
  /**
@@ -15022,13 +15043,13 @@ function Ol(e) {
15022
15043
  function Cl(e) {
15023
15044
  return e === "offlineError";
15024
15045
  }
15025
- const St = 1e3, kt = yt.INFO;
15026
- let z = [], ke = St, Ot = kt, Oe = null;
15027
- function ml(e) {
15028
- e.level < Ot || (z.push(e), z.length > ke && (z = z.slice(-ke)));
15046
+ const kt = 1e3, Ot = Et.INFO;
15047
+ let z = [], ke = kt, Ct = Ot, Oe = null;
15048
+ function pl(e) {
15049
+ e.level < Ct || (z.push(e), z.length > ke && (z = z.slice(-ke)));
15029
15050
  }
15030
- function yl(e) {
15031
- ke = e?.maxBufferSize ?? St, Ot = e?.minLevel ?? kt, z = [], Rt(ml);
15051
+ function bl(e) {
15052
+ ke = e?.maxBufferSize ?? kt, Ct = e?.minLevel ?? Ot, z = [], $t(pl);
15032
15053
  }
15033
15054
  function _l(e) {
15034
15055
  Oe = e;
@@ -15036,14 +15057,14 @@ function _l(e) {
15036
15057
  function Ll() {
15037
15058
  return z;
15038
15059
  }
15039
- function El() {
15060
+ function ml() {
15040
15061
  const e = z;
15041
15062
  return z = [], e;
15042
15063
  }
15043
15064
  function Dl() {
15044
15065
  if (!Oe || z.length === 0)
15045
15066
  return 0;
15046
- const e = El();
15067
+ const e = ml();
15047
15068
  return Oe(e), e.length;
15048
15069
  }
15049
15070
  function jl() {
@@ -15052,30 +15073,30 @@ function jl() {
15052
15073
  function Hl() {
15053
15074
  return z.length;
15054
15075
  }
15055
- yl();
15076
+ bl();
15056
15077
  export {
15057
15078
  j as AuthenticationError,
15058
- Zt as Channel,
15059
- Qt as ChannelManager,
15060
- Wt as ChannelNotFoundError,
15079
+ qt as Channel,
15080
+ Zt as ChannelManager,
15081
+ El as ChannelNotFoundError,
15061
15082
  ee as ClientReady,
15062
15083
  be as ClientType,
15063
15084
  Ke as ConnectionError,
15064
15085
  me as ContextType,
15065
- bl as EndpointSelector,
15086
+ hl as EndpointSelector,
15066
15087
  v as EntrypointType,
15067
15088
  Se as GlobalState,
15068
15089
  Vl as IkonClient,
15069
15090
  xe as KeepaliveTimeoutError,
15070
- yt as LogLevel,
15071
- Kt as MaxRetriesExceededError,
15072
- $t as NoChannelsError,
15091
+ Et as LogLevel,
15092
+ xt as MaxRetriesExceededError,
15093
+ Nl as NoChannelsError,
15073
15094
  $ as Opcode,
15074
- xt as ProvisioningTimeoutError,
15095
+ Wt as ProvisioningTimeoutError,
15075
15096
  Jt as SpaceNotFoundError,
15076
15097
  le as TransportError,
15077
15098
  Ee as UserType,
15078
- Nl as asProtocolMessage,
15099
+ yl as asProtocolMessage,
15079
15100
  jl as clearLogBuffer,
15080
15101
  B as createLogger,
15081
15102
  Dl as flushLogs,
@@ -15083,17 +15104,17 @@ export {
15083
15104
  Hl as getLogBufferSize,
15084
15105
  gl as getLogLevel,
15085
15106
  Pl as getLogSink,
15086
- yl as initializeLogSink,
15107
+ bl as initializeLogSink,
15087
15108
  kl as isConnected,
15088
15109
  Sl as isConnecting,
15089
15110
  Cl as isError,
15090
15111
  Ol as isOffline,
15091
- Et as isWebTransportSupported,
15112
+ Nt as isWebTransportSupported,
15092
15113
  Ce as readOpcode,
15093
- Ct as readOpcodeGroup,
15114
+ _t as readOpcodeGroup,
15094
15115
  _e as readProtocolMessageHeaders,
15095
15116
  Ml as setLogLevel,
15096
- Rt as setLogSink,
15117
+ $t as setLogSink,
15097
15118
  _l as setSendLogsCallback,
15098
- El as takeBufferedLogs
15119
+ ml as takeBufferedLogs
15099
15120
  };