@ikonai/sdk 0.0.5 → 0.0.6
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 +761 -683
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -6,7 +6,7 @@ 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
|
|
9
|
+
function Ct(e) {
|
|
10
10
|
return Ce(e) & 4294901760;
|
|
11
11
|
}
|
|
12
12
|
function _e(e) {
|
|
@@ -32,7 +32,7 @@ function _e(e) {
|
|
|
32
32
|
flags: r
|
|
33
33
|
};
|
|
34
34
|
}
|
|
35
|
-
function
|
|
35
|
+
function N(e, n, d) {
|
|
36
36
|
const i = we(e), s = _e(i);
|
|
37
37
|
if (n !== void 0 && s.opcode !== n)
|
|
38
38
|
throw new Error(`Unexpected opcode ${s.opcode}`);
|
|
@@ -52,10 +52,10 @@ function M(e, n, d, i) {
|
|
|
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
|
|
55
|
+
const pt = 161, bt = 162, Fe = new TextEncoder(), _t = new TextDecoder("utf-8", { fatal: !0 });
|
|
56
56
|
class m {
|
|
57
57
|
constructor(n = 1) {
|
|
58
|
-
this.version = n, this.buffer.writeByte(
|
|
58
|
+
this.version = n, this.buffer.writeByte(pt), 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(
|
|
116
|
+
return this.closed || (this.buffer.writeByte(bt), 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)),
|
|
125
|
+
this.buffer.writeUInt32(n >>> 0), this.buffer.writeByte(Te(d)), vt(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
|
|
249
|
+
return this.count++, this.entryOpen = !0, new Lt(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
|
|
260
|
+
class Lt {
|
|
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] !==
|
|
461
|
+
if (d[0] !== pt || d[d.length - 1] !== bt)
|
|
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 =
|
|
471
|
+
const n = Gt(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)
|
|
@@ -481,7 +481,7 @@ class y {
|
|
|
481
481
|
const c = { offset: this.offset }, f = R(this.buffer, c, "InvalidLength");
|
|
482
482
|
J(this.buffer, c.offset, f), a = this.buffer.subarray(c.offset, c.offset + f), this.offset = c.offset + f;
|
|
483
483
|
}
|
|
484
|
-
return new
|
|
484
|
+
return new Dt(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
|
-
),
|
|
549
|
+
), _t.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
|
|
580
|
+
class Dt 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
|
|
687
|
+
return this.index++, new jt(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
|
|
746
|
+
class jt {
|
|
747
747
|
constructor(n, d) {
|
|
748
748
|
this.key = n, this.value = d;
|
|
749
749
|
}
|
|
@@ -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 !==
|
|
869
|
+
if (a !== Ht(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
|
|
878
|
+
function Ht(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
|
|
886
|
+
function vt(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
|
|
917
|
+
function Gt(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) {
|
|
@@ -1029,7 +1029,7 @@ var ae;
|
|
|
1029
1029
|
}
|
|
1030
1030
|
e.toProtocolMessage = w;
|
|
1031
1031
|
function F(t, r) {
|
|
1032
|
-
const o =
|
|
1032
|
+
const o = N(t, e.TeleportOpcode, e.TeleportVersion);
|
|
1033
1033
|
return a(o, r);
|
|
1034
1034
|
}
|
|
1035
1035
|
e.fromProtocolMessage = F;
|
|
@@ -1089,7 +1089,7 @@ var Re;
|
|
|
1089
1089
|
}
|
|
1090
1090
|
e.toProtocolMessage = w;
|
|
1091
1091
|
function F(t, r) {
|
|
1092
|
-
const o =
|
|
1092
|
+
const o = N(t, e.TeleportOpcode, e.TeleportVersion);
|
|
1093
1093
|
return a(o, r);
|
|
1094
1094
|
}
|
|
1095
1095
|
e.fromProtocolMessage = F;
|
|
@@ -1149,7 +1149,7 @@ var ze;
|
|
|
1149
1149
|
}
|
|
1150
1150
|
e.toProtocolMessage = w;
|
|
1151
1151
|
function F(t, r) {
|
|
1152
|
-
const o =
|
|
1152
|
+
const o = N(t, e.TeleportOpcode, e.TeleportVersion);
|
|
1153
1153
|
return a(o, r);
|
|
1154
1154
|
}
|
|
1155
1155
|
e.fromProtocolMessage = F;
|
|
@@ -1226,7 +1226,7 @@ var ge;
|
|
|
1226
1226
|
}
|
|
1227
1227
|
e.toProtocolMessage = w;
|
|
1228
1228
|
function F(r, o) {
|
|
1229
|
-
const l =
|
|
1229
|
+
const l = N(r, e.TeleportOpcode, e.TeleportVersion);
|
|
1230
1230
|
return a(l, o);
|
|
1231
1231
|
}
|
|
1232
1232
|
e.fromProtocolMessage = F;
|
|
@@ -1257,17 +1257,17 @@ var ge;
|
|
|
1257
1257
|
T.writeStringField(r.ErrorFieldId, I.Error), T.writeInt32Field(r.CallIndexFieldId, I.CallIndex | 0), T.writeStringField(r.FunctionNameFieldId, I.FunctionName), T.writeStringField(r.ResultJsonFieldId, I.ResultJson);
|
|
1258
1258
|
}
|
|
1259
1259
|
r.writeToTeleport = b;
|
|
1260
|
-
function
|
|
1260
|
+
function O(I, T) {
|
|
1261
1261
|
const h = y.create(I);
|
|
1262
1262
|
return p(h, T);
|
|
1263
1263
|
}
|
|
1264
|
-
r.decode =
|
|
1264
|
+
r.decode = O;
|
|
1265
1265
|
function p(I, T) {
|
|
1266
1266
|
const h = T ?? o();
|
|
1267
|
-
return l(h),
|
|
1267
|
+
return l(h), E(I, h), h;
|
|
1268
1268
|
}
|
|
1269
1269
|
r.readFromTeleport = p;
|
|
1270
|
-
function
|
|
1270
|
+
function E(I, T) {
|
|
1271
1271
|
let h;
|
|
1272
1272
|
for (; (h = I.next()) !== null; )
|
|
1273
1273
|
switch (h.fieldId) {
|
|
@@ -1354,7 +1354,7 @@ var Ye;
|
|
|
1354
1354
|
}
|
|
1355
1355
|
e.toProtocolMessage = w;
|
|
1356
1356
|
function F(t, r) {
|
|
1357
|
-
const o =
|
|
1357
|
+
const o = N(t, e.TeleportOpcode, e.TeleportVersion);
|
|
1358
1358
|
return a(o, r);
|
|
1359
1359
|
}
|
|
1360
1360
|
e.fromProtocolMessage = F;
|
|
@@ -1414,7 +1414,7 @@ var Xe;
|
|
|
1414
1414
|
}
|
|
1415
1415
|
e.toProtocolMessage = w;
|
|
1416
1416
|
function F(t, r) {
|
|
1417
|
-
const o =
|
|
1417
|
+
const o = N(t, e.TeleportOpcode, e.TeleportVersion);
|
|
1418
1418
|
return a(o, r);
|
|
1419
1419
|
}
|
|
1420
1420
|
e.fromProtocolMessage = F;
|
|
@@ -1459,7 +1459,7 @@ var qe;
|
|
|
1459
1459
|
}
|
|
1460
1460
|
e.toProtocolMessage = w;
|
|
1461
1461
|
function F(t, r) {
|
|
1462
|
-
const o =
|
|
1462
|
+
const o = N(t, e.TeleportOpcode, e.TeleportVersion);
|
|
1463
1463
|
return a(o, r);
|
|
1464
1464
|
}
|
|
1465
1465
|
e.fromProtocolMessage = F;
|
|
@@ -1524,7 +1524,7 @@ var Ze;
|
|
|
1524
1524
|
}
|
|
1525
1525
|
e.toProtocolMessage = w;
|
|
1526
1526
|
function F(r, o) {
|
|
1527
|
-
const l =
|
|
1527
|
+
const l = N(r, e.TeleportOpcode, e.TeleportVersion);
|
|
1528
1528
|
return a(l, o);
|
|
1529
1529
|
}
|
|
1530
1530
|
e.fromProtocolMessage = F;
|
|
@@ -1555,17 +1555,17 @@ var Ze;
|
|
|
1555
1555
|
T.writeStringField(r.LabelFieldId, I.Label), T.writeFloat64Field(r.ScoreFieldId, I.Score), T.writeBoolField(r.IsFlaggedFieldId, I.IsFlagged), T.writeStringField(r.OriginalCategoryFieldId, I.OriginalCategory);
|
|
1556
1556
|
}
|
|
1557
1557
|
r.writeToTeleport = b;
|
|
1558
|
-
function
|
|
1558
|
+
function O(I, T) {
|
|
1559
1559
|
const h = y.create(I);
|
|
1560
1560
|
return p(h, T);
|
|
1561
1561
|
}
|
|
1562
|
-
r.decode =
|
|
1562
|
+
r.decode = O;
|
|
1563
1563
|
function p(I, T) {
|
|
1564
1564
|
const h = T ?? o();
|
|
1565
|
-
return l(h),
|
|
1565
|
+
return l(h), E(I, h), h;
|
|
1566
1566
|
}
|
|
1567
1567
|
r.readFromTeleport = p;
|
|
1568
|
-
function
|
|
1568
|
+
function E(I, T) {
|
|
1569
1569
|
let h;
|
|
1570
1570
|
for (; (h = I.next()) !== null; )
|
|
1571
1571
|
switch (h.fieldId) {
|
|
@@ -1637,7 +1637,7 @@ var Qe;
|
|
|
1637
1637
|
}
|
|
1638
1638
|
e.toProtocolMessage = w;
|
|
1639
1639
|
function F(t, r) {
|
|
1640
|
-
const o =
|
|
1640
|
+
const o = N(t, e.TeleportOpcode, e.TeleportVersion);
|
|
1641
1641
|
return a(o, r);
|
|
1642
1642
|
}
|
|
1643
1643
|
e.fromProtocolMessage = F;
|
|
@@ -1682,7 +1682,7 @@ var Be;
|
|
|
1682
1682
|
}
|
|
1683
1683
|
e.toProtocolMessage = w;
|
|
1684
1684
|
function F(t, r) {
|
|
1685
|
-
const o =
|
|
1685
|
+
const o = N(t, e.TeleportOpcode, e.TeleportVersion);
|
|
1686
1686
|
return a(o, r);
|
|
1687
1687
|
}
|
|
1688
1688
|
e.fromProtocolMessage = F;
|
|
@@ -1748,7 +1748,7 @@ var Ae;
|
|
|
1748
1748
|
}
|
|
1749
1749
|
e.toProtocolMessage = w;
|
|
1750
1750
|
function F(t, r) {
|
|
1751
|
-
const o =
|
|
1751
|
+
const o = N(t, e.TeleportOpcode, e.TeleportVersion);
|
|
1752
1752
|
return a(o, r);
|
|
1753
1753
|
}
|
|
1754
1754
|
e.fromProtocolMessage = F;
|
|
@@ -1793,7 +1793,7 @@ var Ue;
|
|
|
1793
1793
|
}
|
|
1794
1794
|
e.toProtocolMessage = w;
|
|
1795
1795
|
function F(t, r) {
|
|
1796
|
-
const o =
|
|
1796
|
+
const o = N(t, e.TeleportOpcode, e.TeleportVersion);
|
|
1797
1797
|
return a(o, r);
|
|
1798
1798
|
}
|
|
1799
1799
|
e.fromProtocolMessage = F;
|
|
@@ -1853,7 +1853,7 @@ var er;
|
|
|
1853
1853
|
}
|
|
1854
1854
|
e.toProtocolMessage = w;
|
|
1855
1855
|
function F(t, r) {
|
|
1856
|
-
const o =
|
|
1856
|
+
const o = N(t, e.TeleportOpcode, e.TeleportVersion);
|
|
1857
1857
|
return a(o, r);
|
|
1858
1858
|
}
|
|
1859
1859
|
e.fromProtocolMessage = F;
|
|
@@ -1937,7 +1937,7 @@ var rr;
|
|
|
1937
1937
|
}
|
|
1938
1938
|
e.toProtocolMessage = w;
|
|
1939
1939
|
function F(t, r) {
|
|
1940
|
-
const o =
|
|
1940
|
+
const o = N(t, e.TeleportOpcode, e.TeleportVersion);
|
|
1941
1941
|
return a(o, r);
|
|
1942
1942
|
}
|
|
1943
1943
|
e.fromProtocolMessage = F;
|
|
@@ -2003,7 +2003,7 @@ var or;
|
|
|
2003
2003
|
}
|
|
2004
2004
|
e.toProtocolMessage = w;
|
|
2005
2005
|
function F(t, r) {
|
|
2006
|
-
const o =
|
|
2006
|
+
const o = N(t, e.TeleportOpcode, e.TeleportVersion);
|
|
2007
2007
|
return a(o, r);
|
|
2008
2008
|
}
|
|
2009
2009
|
e.fromProtocolMessage = F;
|
|
@@ -2057,7 +2057,7 @@ var tr;
|
|
|
2057
2057
|
}
|
|
2058
2058
|
e.toProtocolMessage = w;
|
|
2059
2059
|
function F(t, r) {
|
|
2060
|
-
const o =
|
|
2060
|
+
const o = N(t, e.TeleportOpcode, e.TeleportVersion);
|
|
2061
2061
|
return a(o, r);
|
|
2062
2062
|
}
|
|
2063
2063
|
e.fromProtocolMessage = F;
|
|
@@ -2123,7 +2123,7 @@ var lr;
|
|
|
2123
2123
|
}
|
|
2124
2124
|
e.toProtocolMessage = w;
|
|
2125
2125
|
function F(t, r) {
|
|
2126
|
-
const o =
|
|
2126
|
+
const o = N(t, e.TeleportOpcode, e.TeleportVersion);
|
|
2127
2127
|
return a(o, r);
|
|
2128
2128
|
}
|
|
2129
2129
|
e.fromProtocolMessage = F;
|
|
@@ -2168,7 +2168,7 @@ var nr;
|
|
|
2168
2168
|
}
|
|
2169
2169
|
e.toProtocolMessage = w;
|
|
2170
2170
|
function F(t, r) {
|
|
2171
|
-
const o =
|
|
2171
|
+
const o = N(t, e.TeleportOpcode, e.TeleportVersion);
|
|
2172
2172
|
return a(o, r);
|
|
2173
2173
|
}
|
|
2174
2174
|
e.fromProtocolMessage = F;
|
|
@@ -2228,7 +2228,7 @@ var dr;
|
|
|
2228
2228
|
}
|
|
2229
2229
|
e.toProtocolMessage = w;
|
|
2230
2230
|
function F(t, r) {
|
|
2231
|
-
const o =
|
|
2231
|
+
const o = N(t, e.TeleportOpcode, e.TeleportVersion);
|
|
2232
2232
|
return a(o, r);
|
|
2233
2233
|
}
|
|
2234
2234
|
e.fromProtocolMessage = F;
|
|
@@ -2288,7 +2288,7 @@ var ir;
|
|
|
2288
2288
|
}
|
|
2289
2289
|
e.toProtocolMessage = w;
|
|
2290
2290
|
function F(t, r) {
|
|
2291
|
-
const o =
|
|
2291
|
+
const o = N(t, e.TeleportOpcode, e.TeleportVersion);
|
|
2292
2292
|
return a(o, r);
|
|
2293
2293
|
}
|
|
2294
2294
|
e.fromProtocolMessage = F;
|
|
@@ -2353,7 +2353,7 @@ var sr;
|
|
|
2353
2353
|
}
|
|
2354
2354
|
e.toProtocolMessage = w;
|
|
2355
2355
|
function F(r, o) {
|
|
2356
|
-
const l =
|
|
2356
|
+
const l = N(r, e.TeleportOpcode, e.TeleportVersion);
|
|
2357
2357
|
return a(l, o);
|
|
2358
2358
|
}
|
|
2359
2359
|
e.fromProtocolMessage = F;
|
|
@@ -2389,17 +2389,17 @@ var sr;
|
|
|
2389
2389
|
});
|
|
2390
2390
|
}
|
|
2391
2391
|
r.writeToTeleport = b;
|
|
2392
|
-
function
|
|
2392
|
+
function O(T, h) {
|
|
2393
2393
|
const g = y.create(T);
|
|
2394
2394
|
return p(g, h);
|
|
2395
2395
|
}
|
|
2396
|
-
r.decode =
|
|
2396
|
+
r.decode = O;
|
|
2397
2397
|
function p(T, h) {
|
|
2398
2398
|
const g = h ?? o();
|
|
2399
|
-
return l(g),
|
|
2399
|
+
return l(g), E(T, g), g;
|
|
2400
2400
|
}
|
|
2401
2401
|
r.readFromTeleport = p;
|
|
2402
|
-
function
|
|
2402
|
+
function E(T, h) {
|
|
2403
2403
|
let g;
|
|
2404
2404
|
for (; (g = T.next()) !== null; )
|
|
2405
2405
|
switch (g.fieldId) {
|
|
@@ -2491,7 +2491,7 @@ var ar;
|
|
|
2491
2491
|
}
|
|
2492
2492
|
e.toProtocolMessage = w;
|
|
2493
2493
|
function F(t, r) {
|
|
2494
|
-
const o =
|
|
2494
|
+
const o = N(t, e.TeleportOpcode, e.TeleportVersion);
|
|
2495
2495
|
return a(o, r);
|
|
2496
2496
|
}
|
|
2497
2497
|
e.fromProtocolMessage = F;
|
|
@@ -2557,7 +2557,7 @@ var cr;
|
|
|
2557
2557
|
}
|
|
2558
2558
|
e.toProtocolMessage = w;
|
|
2559
2559
|
function F(t, r) {
|
|
2560
|
-
const o =
|
|
2560
|
+
const o = N(t, e.TeleportOpcode, e.TeleportVersion);
|
|
2561
2561
|
return a(o, r);
|
|
2562
2562
|
}
|
|
2563
2563
|
e.fromProtocolMessage = F;
|
|
@@ -2602,7 +2602,7 @@ var ur;
|
|
|
2602
2602
|
}
|
|
2603
2603
|
e.toProtocolMessage = w;
|
|
2604
2604
|
function F(t, r) {
|
|
2605
|
-
const o =
|
|
2605
|
+
const o = N(t, e.TeleportOpcode, e.TeleportVersion);
|
|
2606
2606
|
return a(o, r);
|
|
2607
2607
|
}
|
|
2608
2608
|
e.fromProtocolMessage = F;
|
|
@@ -2656,7 +2656,7 @@ var fr;
|
|
|
2656
2656
|
}
|
|
2657
2657
|
e.toProtocolMessage = w;
|
|
2658
2658
|
function F(t, r) {
|
|
2659
|
-
const o =
|
|
2659
|
+
const o = N(t, e.TeleportOpcode, e.TeleportVersion);
|
|
2660
2660
|
return a(o, r);
|
|
2661
2661
|
}
|
|
2662
2662
|
e.fromProtocolMessage = F;
|
|
@@ -2701,7 +2701,7 @@ var wr;
|
|
|
2701
2701
|
}
|
|
2702
2702
|
e.toProtocolMessage = w;
|
|
2703
2703
|
function F(t, r) {
|
|
2704
|
-
const o =
|
|
2704
|
+
const o = N(t, e.TeleportOpcode, e.TeleportVersion);
|
|
2705
2705
|
return a(o, r);
|
|
2706
2706
|
}
|
|
2707
2707
|
e.fromProtocolMessage = F;
|
|
@@ -2761,7 +2761,7 @@ var Ir;
|
|
|
2761
2761
|
}
|
|
2762
2762
|
e.toProtocolMessage = w;
|
|
2763
2763
|
function F(t, r) {
|
|
2764
|
-
const o =
|
|
2764
|
+
const o = N(t, e.TeleportOpcode, e.TeleportVersion);
|
|
2765
2765
|
return a(o, r);
|
|
2766
2766
|
}
|
|
2767
2767
|
e.fromProtocolMessage = F;
|
|
@@ -2815,7 +2815,7 @@ var Fr;
|
|
|
2815
2815
|
}
|
|
2816
2816
|
e.toProtocolMessage = w;
|
|
2817
2817
|
function F(t, r) {
|
|
2818
|
-
const o =
|
|
2818
|
+
const o = N(t, e.TeleportOpcode, e.TeleportVersion);
|
|
2819
2819
|
return a(o, r);
|
|
2820
2820
|
}
|
|
2821
2821
|
e.fromProtocolMessage = F;
|
|
@@ -2869,7 +2869,7 @@ var Tr;
|
|
|
2869
2869
|
}
|
|
2870
2870
|
e.toProtocolMessage = w;
|
|
2871
2871
|
function F(t, r) {
|
|
2872
|
-
const o =
|
|
2872
|
+
const o = N(t, e.TeleportOpcode, e.TeleportVersion);
|
|
2873
2873
|
return a(o, r);
|
|
2874
2874
|
}
|
|
2875
2875
|
e.fromProtocolMessage = F;
|
|
@@ -2935,7 +2935,7 @@ var hr;
|
|
|
2935
2935
|
}
|
|
2936
2936
|
e.toProtocolMessage = w;
|
|
2937
2937
|
function F(t, r) {
|
|
2938
|
-
const o =
|
|
2938
|
+
const o = N(t, e.TeleportOpcode, e.TeleportVersion);
|
|
2939
2939
|
return a(o, r);
|
|
2940
2940
|
}
|
|
2941
2941
|
e.fromProtocolMessage = F;
|
|
@@ -2995,7 +2995,7 @@ var pr;
|
|
|
2995
2995
|
}
|
|
2996
2996
|
e.toProtocolMessage = w;
|
|
2997
2997
|
function F(t, r) {
|
|
2998
|
-
const o =
|
|
2998
|
+
const o = N(t, e.TeleportOpcode, e.TeleportVersion);
|
|
2999
2999
|
return a(o, r);
|
|
3000
3000
|
}
|
|
3001
3001
|
e.fromProtocolMessage = F;
|
|
@@ -3040,7 +3040,7 @@ var br;
|
|
|
3040
3040
|
}
|
|
3041
3041
|
e.toProtocolMessage = w;
|
|
3042
3042
|
function F(t, r) {
|
|
3043
|
-
const o =
|
|
3043
|
+
const o = N(t, e.TeleportOpcode, e.TeleportVersion);
|
|
3044
3044
|
return a(o, r);
|
|
3045
3045
|
}
|
|
3046
3046
|
e.fromProtocolMessage = F;
|
|
@@ -3085,7 +3085,7 @@ var mr;
|
|
|
3085
3085
|
}
|
|
3086
3086
|
e.toProtocolMessage = w;
|
|
3087
3087
|
function F(t, r) {
|
|
3088
|
-
const o =
|
|
3088
|
+
const o = N(t, e.TeleportOpcode, e.TeleportVersion);
|
|
3089
3089
|
return a(o, r);
|
|
3090
3090
|
}
|
|
3091
3091
|
e.fromProtocolMessage = F;
|
|
@@ -3145,12 +3145,12 @@ var yr;
|
|
|
3145
3145
|
}
|
|
3146
3146
|
e.toProtocolMessage = w;
|
|
3147
3147
|
function F(t, r) {
|
|
3148
|
-
const o =
|
|
3148
|
+
const o = N(t, e.TeleportOpcode, e.TeleportVersion);
|
|
3149
3149
|
return a(o, r);
|
|
3150
3150
|
}
|
|
3151
3151
|
e.fromProtocolMessage = F;
|
|
3152
3152
|
})(yr || (yr = {}));
|
|
3153
|
-
var
|
|
3153
|
+
var Er;
|
|
3154
3154
|
((e) => {
|
|
3155
3155
|
e.TeleportVersion = 1, e.TeleportOpcode = 1048583, e.TeleportLayoutHash = 3199876816, e.LocationFieldId = 3182968015;
|
|
3156
3156
|
function n(t) {
|
|
@@ -3201,12 +3201,12 @@ var Nr;
|
|
|
3201
3201
|
}
|
|
3202
3202
|
e.toProtocolMessage = w;
|
|
3203
3203
|
function F(t, r) {
|
|
3204
|
-
const o =
|
|
3204
|
+
const o = N(t, e.TeleportOpcode, e.TeleportVersion);
|
|
3205
3205
|
return a(o, r);
|
|
3206
3206
|
}
|
|
3207
3207
|
e.fromProtocolMessage = F;
|
|
3208
|
-
})(
|
|
3209
|
-
var
|
|
3208
|
+
})(Er || (Er = {}));
|
|
3209
|
+
var Nr;
|
|
3210
3210
|
((e) => {
|
|
3211
3211
|
e.TeleportVersion = 1, e.TeleportOpcode = 1048579, e.TeleportLayoutHash = 3933620822, e.PreciseCreatedAtFieldId = 522063616, e.UserIdFieldId = 781727218, e.CreatedAtFieldId = 1263193241, e.TextFieldId = 2069861431, e.GenerateChatMessageFieldId = 4027184195;
|
|
3212
3212
|
function n(t) {
|
|
@@ -3279,11 +3279,11 @@ var Er;
|
|
|
3279
3279
|
}
|
|
3280
3280
|
e.toProtocolMessage = w;
|
|
3281
3281
|
function F(t, r) {
|
|
3282
|
-
const o =
|
|
3282
|
+
const o = N(t, e.TeleportOpcode, e.TeleportVersion);
|
|
3283
3283
|
return a(o, r);
|
|
3284
3284
|
}
|
|
3285
3285
|
e.fromProtocolMessage = F;
|
|
3286
|
-
})(
|
|
3286
|
+
})(Nr || (Nr = {}));
|
|
3287
3287
|
var Mr;
|
|
3288
3288
|
((e) => {
|
|
3289
3289
|
e.TeleportVersion = 1, e.TeleportOpcode = 1048580, e.TeleportLayoutHash = 4065222582, e.DeltaFieldId = 3346802728;
|
|
@@ -3333,7 +3333,7 @@ var Mr;
|
|
|
3333
3333
|
}
|
|
3334
3334
|
e.toProtocolMessage = w;
|
|
3335
3335
|
function F(t, r) {
|
|
3336
|
-
const o =
|
|
3336
|
+
const o = N(t, e.TeleportOpcode, e.TeleportVersion);
|
|
3337
3337
|
return a(o, r);
|
|
3338
3338
|
}
|
|
3339
3339
|
e.fromProtocolMessage = F;
|
|
@@ -3387,7 +3387,7 @@ var gr;
|
|
|
3387
3387
|
}
|
|
3388
3388
|
e.toProtocolMessage = w;
|
|
3389
3389
|
function F(t, r) {
|
|
3390
|
-
const o =
|
|
3390
|
+
const o = N(t, e.TeleportOpcode, e.TeleportVersion);
|
|
3391
3391
|
return a(o, r);
|
|
3392
3392
|
}
|
|
3393
3393
|
e.fromProtocolMessage = F;
|
|
@@ -3432,7 +3432,7 @@ var Pr;
|
|
|
3432
3432
|
}
|
|
3433
3433
|
e.toProtocolMessage = w;
|
|
3434
3434
|
function F(t, r) {
|
|
3435
|
-
const o =
|
|
3435
|
+
const o = N(t, e.TeleportOpcode, e.TeleportVersion);
|
|
3436
3436
|
return a(o, r);
|
|
3437
3437
|
}
|
|
3438
3438
|
e.fromProtocolMessage = F;
|
|
@@ -3477,7 +3477,7 @@ var Vr;
|
|
|
3477
3477
|
}
|
|
3478
3478
|
e.toProtocolMessage = w;
|
|
3479
3479
|
function F(t, r) {
|
|
3480
|
-
const o =
|
|
3480
|
+
const o = N(t, e.TeleportOpcode, e.TeleportVersion);
|
|
3481
3481
|
return a(o, r);
|
|
3482
3482
|
}
|
|
3483
3483
|
e.fromProtocolMessage = F;
|
|
@@ -3522,7 +3522,7 @@ var Sr;
|
|
|
3522
3522
|
}
|
|
3523
3523
|
e.toProtocolMessage = w;
|
|
3524
3524
|
function F(t, r) {
|
|
3525
|
-
const o =
|
|
3525
|
+
const o = N(t, e.TeleportOpcode, e.TeleportVersion);
|
|
3526
3526
|
return a(o, r);
|
|
3527
3527
|
}
|
|
3528
3528
|
e.fromProtocolMessage = F;
|
|
@@ -3567,7 +3567,7 @@ var kr;
|
|
|
3567
3567
|
}
|
|
3568
3568
|
e.toProtocolMessage = w;
|
|
3569
3569
|
function F(t, r) {
|
|
3570
|
-
const o =
|
|
3570
|
+
const o = N(t, e.TeleportOpcode, e.TeleportVersion);
|
|
3571
3571
|
return a(o, r);
|
|
3572
3572
|
}
|
|
3573
3573
|
e.fromProtocolMessage = F;
|
|
@@ -3621,7 +3621,7 @@ var Or;
|
|
|
3621
3621
|
}
|
|
3622
3622
|
e.toProtocolMessage = w;
|
|
3623
3623
|
function F(t, r) {
|
|
3624
|
-
const o =
|
|
3624
|
+
const o = N(t, e.TeleportOpcode, e.TeleportVersion);
|
|
3625
3625
|
return a(o, r);
|
|
3626
3626
|
}
|
|
3627
3627
|
e.fromProtocolMessage = F;
|
|
@@ -3666,7 +3666,7 @@ var Cr;
|
|
|
3666
3666
|
}
|
|
3667
3667
|
e.toProtocolMessage = w;
|
|
3668
3668
|
function F(t, r) {
|
|
3669
|
-
const o =
|
|
3669
|
+
const o = N(t, e.TeleportOpcode, e.TeleportVersion);
|
|
3670
3670
|
return a(o, r);
|
|
3671
3671
|
}
|
|
3672
3672
|
e.fromProtocolMessage = F;
|
|
@@ -3720,7 +3720,7 @@ var _r;
|
|
|
3720
3720
|
}
|
|
3721
3721
|
e.toProtocolMessage = w;
|
|
3722
3722
|
function F(t, r) {
|
|
3723
|
-
const o =
|
|
3723
|
+
const o = N(t, e.TeleportOpcode, e.TeleportVersion);
|
|
3724
3724
|
return a(o, r);
|
|
3725
3725
|
}
|
|
3726
3726
|
e.fromProtocolMessage = F;
|
|
@@ -3786,7 +3786,7 @@ var Lr;
|
|
|
3786
3786
|
}
|
|
3787
3787
|
e.toProtocolMessage = w;
|
|
3788
3788
|
function F(t, r) {
|
|
3789
|
-
const o =
|
|
3789
|
+
const o = N(t, e.TeleportOpcode, e.TeleportVersion);
|
|
3790
3790
|
return a(o, r);
|
|
3791
3791
|
}
|
|
3792
3792
|
e.fromProtocolMessage = F;
|
|
@@ -3858,7 +3858,7 @@ var Dr;
|
|
|
3858
3858
|
}
|
|
3859
3859
|
e.toProtocolMessage = w;
|
|
3860
3860
|
function F(t, r) {
|
|
3861
|
-
const o =
|
|
3861
|
+
const o = N(t, e.TeleportOpcode, e.TeleportVersion);
|
|
3862
3862
|
return a(o, r);
|
|
3863
3863
|
}
|
|
3864
3864
|
e.fromProtocolMessage = F;
|
|
@@ -3918,7 +3918,7 @@ var jr;
|
|
|
3918
3918
|
}
|
|
3919
3919
|
e.toProtocolMessage = w;
|
|
3920
3920
|
function F(t, r) {
|
|
3921
|
-
const o =
|
|
3921
|
+
const o = N(t, e.TeleportOpcode, e.TeleportVersion);
|
|
3922
3922
|
return a(o, r);
|
|
3923
3923
|
}
|
|
3924
3924
|
e.fromProtocolMessage = F;
|
|
@@ -3978,7 +3978,7 @@ var W;
|
|
|
3978
3978
|
}
|
|
3979
3979
|
e.toProtocolMessage = w;
|
|
3980
3980
|
function F(t, r) {
|
|
3981
|
-
const o =
|
|
3981
|
+
const o = N(t, e.TeleportOpcode, e.TeleportVersion);
|
|
3982
3982
|
return a(o, r);
|
|
3983
3983
|
}
|
|
3984
3984
|
e.fromProtocolMessage = F;
|
|
@@ -4037,7 +4037,7 @@ var Hr;
|
|
|
4037
4037
|
}
|
|
4038
4038
|
e.toProtocolMessage = w;
|
|
4039
4039
|
function F(r, o) {
|
|
4040
|
-
const l =
|
|
4040
|
+
const l = N(r, e.TeleportOpcode, e.TeleportVersion);
|
|
4041
4041
|
return a(l, o);
|
|
4042
4042
|
}
|
|
4043
4043
|
e.fromProtocolMessage = F;
|
|
@@ -4068,17 +4068,17 @@ var Hr;
|
|
|
4068
4068
|
T.writeStringField(r.EventNameFieldId, I.EventName), T.writeStringField(r.MessageFieldId, I.Message), T.writeStringField(r.ParametersFieldId, I.Parameters), T.writeStringField(r.TimeFieldId, I.Time);
|
|
4069
4069
|
}
|
|
4070
4070
|
r.writeToTeleport = b;
|
|
4071
|
-
function
|
|
4071
|
+
function O(I, T) {
|
|
4072
4072
|
const h = y.create(I);
|
|
4073
4073
|
return p(h, T);
|
|
4074
4074
|
}
|
|
4075
|
-
r.decode =
|
|
4075
|
+
r.decode = O;
|
|
4076
4076
|
function p(I, T) {
|
|
4077
4077
|
const h = T ?? o();
|
|
4078
|
-
return l(h),
|
|
4078
|
+
return l(h), E(I, h), h;
|
|
4079
4079
|
}
|
|
4080
4080
|
r.readFromTeleport = p;
|
|
4081
|
-
function
|
|
4081
|
+
function E(I, T) {
|
|
4082
4082
|
let h;
|
|
4083
4083
|
for (; (h = I.next()) !== null; )
|
|
4084
4084
|
switch (h.fieldId) {
|
|
@@ -4219,7 +4219,7 @@ var vr;
|
|
|
4219
4219
|
}
|
|
4220
4220
|
e.toProtocolMessage = w;
|
|
4221
4221
|
function F(t, r) {
|
|
4222
|
-
const o =
|
|
4222
|
+
const o = N(t, e.TeleportOpcode, e.TeleportVersion);
|
|
4223
4223
|
return a(o, r);
|
|
4224
4224
|
}
|
|
4225
4225
|
e.fromProtocolMessage = F;
|
|
@@ -4278,7 +4278,7 @@ var Gr;
|
|
|
4278
4278
|
}
|
|
4279
4279
|
e.toProtocolMessage = w;
|
|
4280
4280
|
function F(r, o) {
|
|
4281
|
-
const l =
|
|
4281
|
+
const l = N(r, e.TeleportOpcode, e.TeleportVersion);
|
|
4282
4282
|
return a(l, o);
|
|
4283
4283
|
}
|
|
4284
4284
|
e.fromProtocolMessage = F;
|
|
@@ -4309,17 +4309,17 @@ var Gr;
|
|
|
4309
4309
|
T.writeStringField(r.MessageFieldId, I.Message), T.writeStringField(r.ParametersFieldId, I.Parameters), T.writeInt32Field(r.TypeFieldId, I.Type | 0), T.writeStringField(r.TimeFieldId, I.Time);
|
|
4310
4310
|
}
|
|
4311
4311
|
r.writeToTeleport = b;
|
|
4312
|
-
function
|
|
4312
|
+
function O(I, T) {
|
|
4313
4313
|
const h = y.create(I);
|
|
4314
4314
|
return p(h, T);
|
|
4315
4315
|
}
|
|
4316
|
-
r.decode =
|
|
4316
|
+
r.decode = O;
|
|
4317
4317
|
function p(I, T) {
|
|
4318
4318
|
const h = T ?? o();
|
|
4319
|
-
return l(h),
|
|
4319
|
+
return l(h), E(I, h), h;
|
|
4320
4320
|
}
|
|
4321
4321
|
r.readFromTeleport = p;
|
|
4322
|
-
function
|
|
4322
|
+
function E(I, T) {
|
|
4323
4323
|
let h;
|
|
4324
4324
|
for (; (h = I.next()) !== null; )
|
|
4325
4325
|
switch (h.fieldId) {
|
|
@@ -4372,11 +4372,11 @@ var Kr;
|
|
|
4372
4372
|
o.writeInt32Field(e.TotalRetriesFieldId, r.TotalRetries | 0), o.writeInt32Field(e.RunsRemainingFieldId, r.RunsRemaining | 0), o.writeInt32Field(e.TotalItemsFieldId, r.TotalItems | 0), o.writeStringField(e.StartedAtFieldId, r.StartedAt), o.writeStringField(e.ProcessingIdFieldId, r.ProcessingId), o.writeInt32Field(e.TotalRunsFieldId, r.TotalRuns | 0), o.writeInt32Field(e.TotalFailuresFieldId, r.TotalFailures | 0), o.writeInt32Field(e.ItemsRemainingFieldId, r.ItemsRemaining | 0), o.writeFloat32Field(e.ElapsedSecondsFieldId, r.ElapsedSeconds), o.writeFloat32Field(e.EstimatedTimeLeftSecondsRunsFieldId, r.EstimatedTimeLeftSecondsRuns), o.writeInt32Field(e.TotalPagesFieldId, r.TotalPages | 0), o.writeFloat32Field(e.EstimatedTimeLeftSecondsItemsFieldId, r.EstimatedTimeLeftSecondsItems), o.writeDictionaryField(e.UsagesFieldId, S.String, S.Float64, (l) => {
|
|
4373
4373
|
const u = r.Usages;
|
|
4374
4374
|
for (const b of Object.keys(u)) {
|
|
4375
|
-
const
|
|
4375
|
+
const O = b, p = u[b];
|
|
4376
4376
|
if (p == null)
|
|
4377
4377
|
continue;
|
|
4378
|
-
const
|
|
4379
|
-
|
|
4378
|
+
const E = l.beginEntry();
|
|
4379
|
+
E.writeKeyString(O), E.writeValueFloat64(p), E.complete();
|
|
4380
4380
|
}
|
|
4381
4381
|
});
|
|
4382
4382
|
}
|
|
@@ -4481,7 +4481,7 @@ var Kr;
|
|
|
4481
4481
|
}
|
|
4482
4482
|
e.toProtocolMessage = w;
|
|
4483
4483
|
function F(r, o) {
|
|
4484
|
-
const l =
|
|
4484
|
+
const l = N(r, e.TeleportOpcode, e.TeleportVersion);
|
|
4485
4485
|
return a(l, o);
|
|
4486
4486
|
}
|
|
4487
4487
|
e.fromProtocolMessage = F;
|
|
@@ -4516,11 +4516,11 @@ var xr;
|
|
|
4516
4516
|
o.writeInt32Field(e.InputItemCountFieldId, r.InputItemCount | 0), o.writeInt32Field(e.DuplicateItemCountFieldId, r.DuplicateItemCount | 0), o.writeBoolField(e.HasCompletedFieldId, r.HasCompleted), o.writeInt32Field(e.InputItemCacheMissFieldId, r.InputItemCacheMiss | 0), o.writeInt32Field(e.OutputItemCacheHitsFieldId, r.OutputItemCacheHits | 0), o.writeStringField(e.StartedAtFieldId, r.StartedAt), o.writeInt32Field(e.ProcessedItemCacheMissFieldId, r.ProcessedItemCacheMiss | 0), o.writeInt32Field(e.ProcessedItemCacheHitsFieldId, r.ProcessedItemCacheHits | 0), o.writeInt32Field(e.WarningLogCountFieldId, r.WarningLogCount | 0), o.writeStringField(e.ProcessingIdFieldId, r.ProcessingId), o.writeInt32Field(e.OutputItemCacheMissFieldId, r.OutputItemCacheMiss | 0), o.writeInt32Field(e.OutputItemCountFieldId, r.OutputItemCount | 0), o.writeFloat32Field(e.ElapsedSecondsFieldId, r.ElapsedSeconds), o.writeBoolField(e.WasCancelledFieldId, r.WasCancelled), o.writeInt32Field(e.ProcessFailureCountFieldId, r.ProcessFailureCount | 0), o.writeBoolField(e.HasFaultedFieldId, r.HasFaulted), o.writeInt32Field(e.ProcessedItemCountFieldId, r.ProcessedItemCount | 0), o.writeInt32Field(e.ProcessRetryCountFieldId, r.ProcessRetryCount | 0), o.writeInt32Field(e.ErrorLogCountFieldId, r.ErrorLogCount | 0), o.writeInt32Field(e.InputItemCacheHitsFieldId, r.InputItemCacheHits | 0), o.writeInt32Field(e.InvalidItemCountFieldId, r.InvalidItemCount | 0), o.writeDictionaryField(e.UsagesFieldId, S.String, S.Float32, (l) => {
|
|
4517
4517
|
const u = r.Usages;
|
|
4518
4518
|
for (const b of Object.keys(u)) {
|
|
4519
|
-
const
|
|
4519
|
+
const O = b, p = u[b];
|
|
4520
4520
|
if (p == null)
|
|
4521
4521
|
continue;
|
|
4522
|
-
const
|
|
4523
|
-
|
|
4522
|
+
const E = l.beginEntry();
|
|
4523
|
+
E.writeKeyString(O), E.writeValueFloat32(p), E.complete();
|
|
4524
4524
|
}
|
|
4525
4525
|
});
|
|
4526
4526
|
}
|
|
@@ -4679,7 +4679,7 @@ var xr;
|
|
|
4679
4679
|
}
|
|
4680
4680
|
e.toProtocolMessage = w;
|
|
4681
4681
|
function F(r, o) {
|
|
4682
|
-
const l =
|
|
4682
|
+
const l = N(r, e.TeleportOpcode, e.TeleportVersion);
|
|
4683
4683
|
return a(l, o);
|
|
4684
4684
|
}
|
|
4685
4685
|
e.fromProtocolMessage = F;
|
|
@@ -4748,7 +4748,7 @@ var Wr;
|
|
|
4748
4748
|
}
|
|
4749
4749
|
e.toProtocolMessage = w;
|
|
4750
4750
|
function F(t, r) {
|
|
4751
|
-
const o =
|
|
4751
|
+
const o = N(t, e.TeleportOpcode, e.TeleportVersion);
|
|
4752
4752
|
return a(o, r);
|
|
4753
4753
|
}
|
|
4754
4754
|
e.fromProtocolMessage = F;
|
|
@@ -4808,7 +4808,7 @@ var Jr;
|
|
|
4808
4808
|
}
|
|
4809
4809
|
e.toProtocolMessage = w;
|
|
4810
4810
|
function F(t, r) {
|
|
4811
|
-
const o =
|
|
4811
|
+
const o = N(t, e.TeleportOpcode, e.TeleportVersion);
|
|
4812
4812
|
return a(o, r);
|
|
4813
4813
|
}
|
|
4814
4814
|
e.fromProtocolMessage = F;
|
|
@@ -4867,7 +4867,7 @@ var $r;
|
|
|
4867
4867
|
}
|
|
4868
4868
|
e.toProtocolMessage = w;
|
|
4869
4869
|
function F(r, o) {
|
|
4870
|
-
const l =
|
|
4870
|
+
const l = N(r, e.TeleportOpcode, e.TeleportVersion);
|
|
4871
4871
|
return a(l, o);
|
|
4872
4872
|
}
|
|
4873
4873
|
e.fromProtocolMessage = F;
|
|
@@ -4898,17 +4898,17 @@ var $r;
|
|
|
4898
4898
|
T.writeStringField(r.EventNameFieldId, I.EventName), T.writeFloat32Field(r.UsageFieldId, I.Usage), T.writeStringField(r.ParametersFieldId, I.Parameters), T.writeStringField(r.TimeFieldId, I.Time);
|
|
4899
4899
|
}
|
|
4900
4900
|
r.writeToTeleport = b;
|
|
4901
|
-
function
|
|
4901
|
+
function O(I, T) {
|
|
4902
4902
|
const h = y.create(I);
|
|
4903
4903
|
return p(h, T);
|
|
4904
4904
|
}
|
|
4905
|
-
r.decode =
|
|
4905
|
+
r.decode = O;
|
|
4906
4906
|
function p(I, T) {
|
|
4907
4907
|
const h = T ?? o();
|
|
4908
|
-
return l(h),
|
|
4908
|
+
return l(h), E(I, h), h;
|
|
4909
4909
|
}
|
|
4910
4910
|
r.readFromTeleport = p;
|
|
4911
|
-
function
|
|
4911
|
+
function E(I, T) {
|
|
4912
4912
|
let h;
|
|
4913
4913
|
for (; (h = I.next()) !== null; )
|
|
4914
4914
|
switch (h.fieldId) {
|
|
@@ -5025,7 +5025,7 @@ var Rr;
|
|
|
5025
5025
|
}
|
|
5026
5026
|
e.toProtocolMessage = w;
|
|
5027
5027
|
function F(t, r) {
|
|
5028
|
-
const o =
|
|
5028
|
+
const o = N(t, e.TeleportOpcode, e.TeleportVersion);
|
|
5029
5029
|
return a(o, r);
|
|
5030
5030
|
}
|
|
5031
5031
|
e.fromProtocolMessage = F;
|
|
@@ -5085,7 +5085,7 @@ var zr;
|
|
|
5085
5085
|
}
|
|
5086
5086
|
e.toProtocolMessage = w;
|
|
5087
5087
|
function F(t, r) {
|
|
5088
|
-
const o =
|
|
5088
|
+
const o = N(t, e.TeleportOpcode, e.TeleportVersion);
|
|
5089
5089
|
return a(o, r);
|
|
5090
5090
|
}
|
|
5091
5091
|
e.fromProtocolMessage = F;
|
|
@@ -5163,7 +5163,7 @@ var U;
|
|
|
5163
5163
|
}
|
|
5164
5164
|
e.toProtocolMessage = w;
|
|
5165
5165
|
function F(t, r) {
|
|
5166
|
-
const o =
|
|
5166
|
+
const o = N(t, e.TeleportOpcode, e.TeleportVersion);
|
|
5167
5167
|
return a(o, r);
|
|
5168
5168
|
}
|
|
5169
5169
|
e.fromProtocolMessage = F;
|
|
@@ -5208,7 +5208,7 @@ var Yr;
|
|
|
5208
5208
|
}
|
|
5209
5209
|
e.toProtocolMessage = w;
|
|
5210
5210
|
function F(t, r) {
|
|
5211
|
-
const o =
|
|
5211
|
+
const o = N(t, e.TeleportOpcode, e.TeleportVersion);
|
|
5212
5212
|
return a(o, r);
|
|
5213
5213
|
}
|
|
5214
5214
|
e.fromProtocolMessage = F;
|
|
@@ -5233,8 +5233,8 @@ var Pe;
|
|
|
5233
5233
|
function s(o, l) {
|
|
5234
5234
|
l.writeStringField(e.CertHashFieldId, o.CertHash), l.writeArrayField(e.EntrypointsFieldId, S.Object, (u) => {
|
|
5235
5235
|
for (const b of o.Entrypoints)
|
|
5236
|
-
u.writeObject(ce.TeleportVersion, (
|
|
5237
|
-
ce.writeToTeleport(b,
|
|
5236
|
+
u.writeObject(ce.TeleportVersion, (O) => {
|
|
5237
|
+
ce.writeToTeleport(b, O);
|
|
5238
5238
|
});
|
|
5239
5239
|
}), l.writeStringField(e.ChannelIdFieldId, o.ChannelId), l.writeObjectField(e.ClientContextFieldId, L.TeleportVersion, (u) => {
|
|
5240
5240
|
L.writeToTeleport(o.ClientContext, u);
|
|
@@ -5242,12 +5242,12 @@ var Pe;
|
|
|
5242
5242
|
L.writeToTeleport(o.ServerContext, u);
|
|
5243
5243
|
}), l.writeDictionaryField(e.FeatureFlagsFieldId, S.String, S.Bool, (u) => {
|
|
5244
5244
|
const b = o.FeatureFlags;
|
|
5245
|
-
for (const
|
|
5246
|
-
const p =
|
|
5247
|
-
if (
|
|
5245
|
+
for (const O of Object.keys(b)) {
|
|
5246
|
+
const p = O, E = b[O];
|
|
5247
|
+
if (E == null)
|
|
5248
5248
|
continue;
|
|
5249
5249
|
const I = u.beginEntry();
|
|
5250
|
-
I.writeKeyString(p), I.writeValueBool(
|
|
5250
|
+
I.writeKeyString(p), I.writeValueBool(E), I.complete();
|
|
5251
5251
|
}
|
|
5252
5252
|
}), l.writeStringField(e.SpaceIdFieldId, o.SpaceId), l.writeStringField(e.PrimaryUserIdFieldId, o.PrimaryUserId), l.writeStringField(e.ChannelTemplateIdFieldId, o.ChannelTemplateId);
|
|
5253
5253
|
}
|
|
@@ -5328,7 +5328,7 @@ var Pe;
|
|
|
5328
5328
|
}
|
|
5329
5329
|
e.toProtocolMessage = w;
|
|
5330
5330
|
function F(o, l) {
|
|
5331
|
-
const u =
|
|
5331
|
+
const u = N(o, e.TeleportOpcode, e.TeleportVersion);
|
|
5332
5332
|
return a(u, l);
|
|
5333
5333
|
}
|
|
5334
5334
|
e.fromProtocolMessage = F;
|
|
@@ -5436,7 +5436,7 @@ var Xr;
|
|
|
5436
5436
|
}
|
|
5437
5437
|
e.toProtocolMessage = w;
|
|
5438
5438
|
function F(t, r) {
|
|
5439
|
-
const o =
|
|
5439
|
+
const o = N(t, e.TeleportOpcode, e.TeleportVersion);
|
|
5440
5440
|
return a(o, r);
|
|
5441
5441
|
}
|
|
5442
5442
|
e.fromProtocolMessage = F;
|
|
@@ -5496,7 +5496,7 @@ var qr;
|
|
|
5496
5496
|
}
|
|
5497
5497
|
e.toProtocolMessage = w;
|
|
5498
5498
|
function F(t, r) {
|
|
5499
|
-
const o =
|
|
5499
|
+
const o = N(t, e.TeleportOpcode, e.TeleportVersion);
|
|
5500
5500
|
return a(o, r);
|
|
5501
5501
|
}
|
|
5502
5502
|
e.fromProtocolMessage = F;
|
|
@@ -5522,11 +5522,11 @@ var Ve;
|
|
|
5522
5522
|
o.writeStringField(e.DeviceIdFieldId, r.DeviceId), o.writeStringField(e.InstallIdFieldId, r.InstallId), o.writeStringField(e.UserAgentFieldId, r.UserAgent), o.writeInt32Field(e.ContextTypeFieldId, r.ContextType), o.writeBoolField(e.HasInputFieldId, r.HasInput), o.writeInt32Field(e.UserTypeFieldId, r.UserType), o.writeStringField(e.UserIdFieldId, r.UserId), o.writeStringField(e.ProductIdFieldId, r.ProductId), o.writeStringField(e.AuthSessionIdFieldId, r.AuthSessionId), o.writeInt32Field(e.OpcodeGroupsFromServerFieldId, r.OpcodeGroupsFromServer), o.writeBoolField(e.ReceiveAllMessagesFieldId, r.ReceiveAllMessages), o.writeStringField(e.DescriptionFieldId, r.Description), o.writeStringField(e.LocaleFieldId, r.Locale), o.writeInt32Field(e.SdkTypeFieldId, r.SdkType), o.writeInt32Field(e.PayloadTypeFieldId, r.PayloadType), o.writeStringField(e.VersionIdFieldId, r.VersionId), o.writeInt32Field(e.ClientTypeFieldId, r.ClientType), o.writeDictionaryField(e.ParametersFieldId, S.String, S.String, (l) => {
|
|
5523
5523
|
const u = r.Parameters;
|
|
5524
5524
|
for (const b of Object.keys(u)) {
|
|
5525
|
-
const
|
|
5525
|
+
const O = b, p = u[b];
|
|
5526
5526
|
if (p == null)
|
|
5527
5527
|
continue;
|
|
5528
|
-
const
|
|
5529
|
-
|
|
5528
|
+
const E = l.beginEntry();
|
|
5529
|
+
E.writeKeyString(O), E.writeValueString(p), E.complete();
|
|
5530
5530
|
}
|
|
5531
5531
|
}), o.writeBoolField(e.IsInternalFieldId, r.IsInternal), o.writeInt32Field(e.OpcodeGroupsToServerFieldId, r.OpcodeGroupsToServer), o.writeStringField(e.ChannelLocaleFieldId, r.ChannelLocale), o.writeInt32Field(e.ProtocolVersionFieldId, r.ProtocolVersion | 0), o.writeStringField(e.ServerSessionIdFieldId, r.ServerSessionId), o.writeStringField(e.EmbeddedSpaceIdFieldId, r.EmbeddedSpaceId);
|
|
5532
5532
|
}
|
|
@@ -5697,7 +5697,7 @@ var Ve;
|
|
|
5697
5697
|
}
|
|
5698
5698
|
e.toProtocolMessage = w;
|
|
5699
5699
|
function F(r, o) {
|
|
5700
|
-
const l =
|
|
5700
|
+
const l = N(r, e.TeleportOpcode, e.TeleportVersion);
|
|
5701
5701
|
return a(l, o);
|
|
5702
5702
|
}
|
|
5703
5703
|
e.fromProtocolMessage = F;
|
|
@@ -5796,7 +5796,7 @@ var ce;
|
|
|
5796
5796
|
}
|
|
5797
5797
|
e.toProtocolMessage = w;
|
|
5798
5798
|
function F(t, r) {
|
|
5799
|
-
const o =
|
|
5799
|
+
const o = N(t, e.TeleportOpcode, e.TeleportVersion);
|
|
5800
5800
|
return a(o, r);
|
|
5801
5801
|
}
|
|
5802
5802
|
e.fromProtocolMessage = F;
|
|
@@ -5822,11 +5822,11 @@ var L;
|
|
|
5822
5822
|
o.writeStringField(e.DeviceIdFieldId, r.DeviceId), o.writeStringField(e.InstallIdFieldId, r.InstallId), o.writeStringField(e.UserAgentFieldId, r.UserAgent), o.writeInt32Field(e.ContextTypeFieldId, r.ContextType), o.writeBoolField(e.HasInputFieldId, r.HasInput), o.writeInt32Field(e.UserTypeFieldId, r.UserType), o.writeStringField(e.UserIdFieldId, r.UserId), o.writeStringField(e.ProductIdFieldId, r.ProductId), o.writeStringField(e.AuthSessionIdFieldId, r.AuthSessionId), o.writeBoolField(e.ReceiveAllMessagesFieldId, r.ReceiveAllMessages), o.writeStringField(e.DescriptionFieldId, r.Description), o.writeStringField(e.LocaleFieldId, r.Locale), o.writeInt32Field(e.SdkTypeFieldId, r.SdkType), o.writeInt32Field(e.SessionIdFieldId, r.SessionId | 0), o.writeUInt64Field(e.PreciseJoinedAtFieldId, r.PreciseJoinedAt), o.writeInt32Field(e.PayloadTypeFieldId, r.PayloadType), o.writeStringField(e.VersionIdFieldId, r.VersionId), o.writeStringField(e.UniqueSessionIdFieldId, r.UniqueSessionId), o.writeInt32Field(e.ClientTypeFieldId, r.ClientType), o.writeBoolField(e.IsReadyFieldId, r.IsReady), o.writeDictionaryField(e.ParametersFieldId, S.String, S.String, (l) => {
|
|
5823
5823
|
const u = r.Parameters;
|
|
5824
5824
|
for (const b of Object.keys(u)) {
|
|
5825
|
-
const
|
|
5825
|
+
const O = b, p = u[b];
|
|
5826
5826
|
if (p == null)
|
|
5827
5827
|
continue;
|
|
5828
|
-
const
|
|
5829
|
-
|
|
5828
|
+
const E = l.beginEntry();
|
|
5829
|
+
E.writeKeyString(O), E.writeValueString(p), E.complete();
|
|
5830
5830
|
}
|
|
5831
5831
|
}), o.writeBoolField(e.IsInternalFieldId, r.IsInternal), o.writeStringField(e.ChannelLocaleFieldId, r.ChannelLocale), o.writeStringField(e.EmbeddedSpaceIdFieldId, r.EmbeddedSpaceId);
|
|
5832
5832
|
}
|
|
@@ -5997,7 +5997,7 @@ var L;
|
|
|
5997
5997
|
}
|
|
5998
5998
|
e.toProtocolMessage = w;
|
|
5999
5999
|
function F(r, o) {
|
|
6000
|
-
const l =
|
|
6000
|
+
const l = N(r, e.TeleportOpcode, e.TeleportVersion);
|
|
6001
6001
|
return a(l, o);
|
|
6002
6002
|
}
|
|
6003
6003
|
e.fromProtocolMessage = F;
|
|
@@ -6011,7 +6011,7 @@ var L;
|
|
|
6011
6011
|
return o;
|
|
6012
6012
|
}
|
|
6013
6013
|
})(L || (L = {}));
|
|
6014
|
-
var be = /* @__PURE__ */ ((e) => (e[e.Unknown = 0] = "Unknown", e[e.MobileWeb = 1] = "MobileWeb", e[e.MobileApp = 2] = "MobileApp", e[e.DesktopWeb = 3] = "DesktopWeb", e[e.DesktopApp = 4] = "DesktopApp", e))(be || {}), me = /* @__PURE__ */ ((e) => (e[e.Unknown = 0] = "Unknown", e[e.Backend = 2] = "Backend", e[e.Server = 4] = "Server", e[e.Plugin = 8] = "Plugin", e[e.Browser = 16] = "Browser", e))(me || {}), v = /* @__PURE__ */ ((e) => (e[e.None = 0] = "None", e[e.WebSocket = 1] = "WebSocket", e[e.WebSocketProxy = 2] = "WebSocketProxy", e[e.WebTransport = 4] = "WebTransport", e[e.WebTransportProxy = 8] = "WebTransportProxy", e[e.Tcp = 16] = "Tcp", e[e.TcpProxy = 32] = "TcpProxy", e[e.Https = 64] = "Https", e))(v || {}), ye = /* @__PURE__ */ ((e) => (e[e.Unknown = 0] = "Unknown", e[e.MessagePack = 1] = "MessagePack", e[e.MemoryPack = 2] = "MemoryPack", e[e.Json = 4] = "Json", e[e.Teleport = 8] = "Teleport", e[e.All = 15] = "All", e))(ye || {}),
|
|
6014
|
+
var be = /* @__PURE__ */ ((e) => (e[e.Unknown = 0] = "Unknown", e[e.MobileWeb = 1] = "MobileWeb", e[e.MobileApp = 2] = "MobileApp", e[e.DesktopWeb = 3] = "DesktopWeb", e[e.DesktopApp = 4] = "DesktopApp", e))(be || {}), me = /* @__PURE__ */ ((e) => (e[e.Unknown = 0] = "Unknown", e[e.Backend = 2] = "Backend", e[e.Server = 4] = "Server", e[e.Plugin = 8] = "Plugin", e[e.Browser = 16] = "Browser", e))(me || {}), v = /* @__PURE__ */ ((e) => (e[e.None = 0] = "None", e[e.WebSocket = 1] = "WebSocket", e[e.WebSocketProxy = 2] = "WebSocketProxy", e[e.WebTransport = 4] = "WebTransport", e[e.WebTransportProxy = 8] = "WebTransportProxy", e[e.Tcp = 16] = "Tcp", e[e.TcpProxy = 32] = "TcpProxy", e[e.Https = 64] = "Https", e))(v || {}), ye = /* @__PURE__ */ ((e) => (e[e.Unknown = 0] = "Unknown", e[e.MessagePack = 1] = "MessagePack", e[e.MemoryPack = 2] = "MemoryPack", e[e.Json = 4] = "Json", e[e.Teleport = 8] = "Teleport", e[e.All = 15] = "All", e))(ye || {}), Ee = /* @__PURE__ */ ((e) => (e[e.Unknown = 0] = "Unknown", e[e.Machine = 1] = "Machine", e[e.Human = 2] = "Human", e))(Ee || {}), Zr;
|
|
6015
6015
|
((e) => {
|
|
6016
6016
|
e.TeleportVersion = 1, e.TeleportOpcode = 262146, e.TeleportLayoutHash = 4089149075;
|
|
6017
6017
|
function n(t) {
|
|
@@ -6051,7 +6051,7 @@ var be = /* @__PURE__ */ ((e) => (e[e.Unknown = 0] = "Unknown", e[e.MobileWeb =
|
|
|
6051
6051
|
}
|
|
6052
6052
|
e.toProtocolMessage = w;
|
|
6053
6053
|
function F(t, r) {
|
|
6054
|
-
const o =
|
|
6054
|
+
const o = N(t, e.TeleportOpcode, e.TeleportVersion);
|
|
6055
6055
|
return a(o, r);
|
|
6056
6056
|
}
|
|
6057
6057
|
e.fromProtocolMessage = F;
|
|
@@ -6111,7 +6111,7 @@ var Qr;
|
|
|
6111
6111
|
}
|
|
6112
6112
|
e.toProtocolMessage = w;
|
|
6113
6113
|
function F(t, r) {
|
|
6114
|
-
const o =
|
|
6114
|
+
const o = N(t, e.TeleportOpcode, e.TeleportVersion);
|
|
6115
6115
|
return a(o, r);
|
|
6116
6116
|
}
|
|
6117
6117
|
e.fromProtocolMessage = F;
|
|
@@ -6156,7 +6156,7 @@ var Br;
|
|
|
6156
6156
|
}
|
|
6157
6157
|
e.toProtocolMessage = w;
|
|
6158
6158
|
function F(t, r) {
|
|
6159
|
-
const o =
|
|
6159
|
+
const o = N(t, e.TeleportOpcode, e.TeleportVersion);
|
|
6160
6160
|
return a(o, r);
|
|
6161
6161
|
}
|
|
6162
6162
|
e.fromProtocolMessage = F;
|
|
@@ -6216,7 +6216,7 @@ var Ar;
|
|
|
6216
6216
|
}
|
|
6217
6217
|
e.toProtocolMessage = w;
|
|
6218
6218
|
function F(t, r) {
|
|
6219
|
-
const o =
|
|
6219
|
+
const o = N(t, e.TeleportOpcode, e.TeleportVersion);
|
|
6220
6220
|
return a(o, r);
|
|
6221
6221
|
}
|
|
6222
6222
|
e.fromProtocolMessage = F;
|
|
@@ -6305,7 +6305,7 @@ var Ur;
|
|
|
6305
6305
|
}
|
|
6306
6306
|
e.toProtocolMessage = w;
|
|
6307
6307
|
function F(r, o) {
|
|
6308
|
-
const l =
|
|
6308
|
+
const l = N(r, e.TeleportOpcode, e.TeleportVersion);
|
|
6309
6309
|
return a(l, o);
|
|
6310
6310
|
}
|
|
6311
6311
|
e.fromProtocolMessage = F;
|
|
@@ -6372,7 +6372,7 @@ var eo;
|
|
|
6372
6372
|
}
|
|
6373
6373
|
e.toProtocolMessage = w;
|
|
6374
6374
|
function F(t, r) {
|
|
6375
|
-
const o =
|
|
6375
|
+
const o = N(t, e.TeleportOpcode, e.TeleportVersion);
|
|
6376
6376
|
return a(o, r);
|
|
6377
6377
|
}
|
|
6378
6378
|
e.fromProtocolMessage = F;
|
|
@@ -6432,7 +6432,7 @@ var ro;
|
|
|
6432
6432
|
}
|
|
6433
6433
|
e.toProtocolMessage = w;
|
|
6434
6434
|
function F(t, r) {
|
|
6435
|
-
const o =
|
|
6435
|
+
const o = N(t, e.TeleportOpcode, e.TeleportVersion);
|
|
6436
6436
|
return a(o, r);
|
|
6437
6437
|
}
|
|
6438
6438
|
e.fromProtocolMessage = F;
|
|
@@ -6498,7 +6498,7 @@ var oo;
|
|
|
6498
6498
|
}
|
|
6499
6499
|
e.toProtocolMessage = w;
|
|
6500
6500
|
function F(t, r) {
|
|
6501
|
-
const o =
|
|
6501
|
+
const o = N(t, e.TeleportOpcode, e.TeleportVersion);
|
|
6502
6502
|
return a(o, r);
|
|
6503
6503
|
}
|
|
6504
6504
|
e.fromProtocolMessage = F;
|
|
@@ -6588,7 +6588,7 @@ var to;
|
|
|
6588
6588
|
}
|
|
6589
6589
|
e.toProtocolMessage = w;
|
|
6590
6590
|
function F(t, r) {
|
|
6591
|
-
const o =
|
|
6591
|
+
const o = N(t, e.TeleportOpcode, e.TeleportVersion);
|
|
6592
6592
|
return a(o, r);
|
|
6593
6593
|
}
|
|
6594
6594
|
e.fromProtocolMessage = F;
|
|
@@ -6666,7 +6666,7 @@ var lo;
|
|
|
6666
6666
|
}
|
|
6667
6667
|
e.toProtocolMessage = w;
|
|
6668
6668
|
function F(t, r) {
|
|
6669
|
-
const o =
|
|
6669
|
+
const o = N(t, e.TeleportOpcode, e.TeleportVersion);
|
|
6670
6670
|
return a(o, r);
|
|
6671
6671
|
}
|
|
6672
6672
|
e.fromProtocolMessage = F;
|
|
@@ -6779,7 +6779,7 @@ var ue;
|
|
|
6779
6779
|
}
|
|
6780
6780
|
e.toProtocolMessage = w;
|
|
6781
6781
|
function F(r, o) {
|
|
6782
|
-
const l =
|
|
6782
|
+
const l = N(r, e.TeleportOpcode, e.TeleportVersion);
|
|
6783
6783
|
return a(l, o);
|
|
6784
6784
|
}
|
|
6785
6785
|
e.fromProtocolMessage = F;
|
|
@@ -6810,17 +6810,17 @@ var ue;
|
|
|
6810
6810
|
T.writeBoolField(r.HasDefaultValueFieldId, I.HasDefaultValue), T.writeStringField(r.DefaultValueJsonFieldId, I.DefaultValueJson), T.writeStringField(r.EnumerableItemTypeNameFieldId, I.EnumerableItemTypeName), T.writeStringField(r.DescriptionFieldId, I.Description), T.writeBinaryField(r.DefaultValueDataFieldId, I.DefaultValueData), T.writeBoolField(r.IsEnumerableFieldId, I.IsEnumerable), T.writeStringField(r.TypeNameFieldId, I.TypeName), T.writeStringField(r.ParameterNameFieldId, I.ParameterName), T.writeInt32Field(r.ParameterIndexFieldId, I.ParameterIndex | 0);
|
|
6811
6811
|
}
|
|
6812
6812
|
r.writeToTeleport = b;
|
|
6813
|
-
function
|
|
6813
|
+
function O(I, T) {
|
|
6814
6814
|
const h = y.create(I);
|
|
6815
6815
|
return p(h, T);
|
|
6816
6816
|
}
|
|
6817
|
-
r.decode =
|
|
6817
|
+
r.decode = O;
|
|
6818
6818
|
function p(I, T) {
|
|
6819
6819
|
const h = T ?? o();
|
|
6820
|
-
return l(h),
|
|
6820
|
+
return l(h), E(I, h), h;
|
|
6821
6821
|
}
|
|
6822
6822
|
r.readFromTeleport = p;
|
|
6823
|
-
function
|
|
6823
|
+
function E(I, T) {
|
|
6824
6824
|
let h;
|
|
6825
6825
|
for (; (h = I.next()) !== null; )
|
|
6826
6826
|
switch (h.fieldId) {
|
|
@@ -6955,7 +6955,7 @@ var no;
|
|
|
6955
6955
|
}
|
|
6956
6956
|
e.toProtocolMessage = w;
|
|
6957
6957
|
function F(t, r) {
|
|
6958
|
-
const o =
|
|
6958
|
+
const o = N(t, e.TeleportOpcode, e.TeleportVersion);
|
|
6959
6959
|
return a(o, r);
|
|
6960
6960
|
}
|
|
6961
6961
|
e.fromProtocolMessage = F;
|
|
@@ -7045,7 +7045,7 @@ var Z;
|
|
|
7045
7045
|
}
|
|
7046
7046
|
e.toProtocolMessage = w;
|
|
7047
7047
|
function F(t, r) {
|
|
7048
|
-
const o =
|
|
7048
|
+
const o = N(t, e.TeleportOpcode, e.TeleportVersion);
|
|
7049
7049
|
return a(o, r);
|
|
7050
7050
|
}
|
|
7051
7051
|
e.fromProtocolMessage = F;
|
|
@@ -7090,7 +7090,7 @@ var ee;
|
|
|
7090
7090
|
}
|
|
7091
7091
|
e.toProtocolMessage = w;
|
|
7092
7092
|
function F(t, r) {
|
|
7093
|
-
const o =
|
|
7093
|
+
const o = N(t, e.TeleportOpcode, e.TeleportVersion);
|
|
7094
7094
|
return a(o, r);
|
|
7095
7095
|
}
|
|
7096
7096
|
e.fromProtocolMessage = F;
|
|
@@ -7099,8 +7099,8 @@ var Se;
|
|
|
7099
7099
|
((e) => {
|
|
7100
7100
|
e.TeleportVersion = 3, e.TeleportOpcode = 65539, e.TeleportLayoutHash = 2784858855, e.FirstUserIdFieldId = 693643444, e.ClientsFieldId = 1144553441, e.TrackingStreamsFieldId = 1497620243, e.ChannelIdFieldId = 1559330978, e.SessionIdFieldId = 1999510636, e.ChannelUrlFieldId = 2277643855, e.ChannelNameFieldId = 2469008121, e.OrganisationNameFieldId = 3219210453, e.FunctionsFieldId = 3678477544, e.UIStreamsFieldId = 3696445035, e.SpaceIdFieldId = 3707543140, e.PrimaryUserIdFieldId = 3712281496, e.ChannelInstanceIdFieldId = 3823842552, e.AudioStreamsFieldId = 3895362455, e.VideoStreamsFieldId = 3897397815, e.SpaceNameFieldId = 4225107827;
|
|
7101
7101
|
function n(p) {
|
|
7102
|
-
const
|
|
7103
|
-
return d(
|
|
7102
|
+
const E = {};
|
|
7103
|
+
return d(E), p && Object.assign(E, p), E;
|
|
7104
7104
|
}
|
|
7105
7105
|
e.create = n;
|
|
7106
7106
|
function d(p) {
|
|
@@ -7108,12 +7108,12 @@ var Se;
|
|
|
7108
7108
|
}
|
|
7109
7109
|
e.reset = d;
|
|
7110
7110
|
function i(p) {
|
|
7111
|
-
const
|
|
7112
|
-
return s(p,
|
|
7111
|
+
const E = new m(e.TeleportVersion);
|
|
7112
|
+
return s(p, E), E.finish();
|
|
7113
7113
|
}
|
|
7114
7114
|
e.encode = i;
|
|
7115
|
-
function s(p,
|
|
7116
|
-
|
|
7115
|
+
function s(p, E) {
|
|
7116
|
+
E.writeStringField(e.FirstUserIdFieldId, p.FirstUserId), E.writeDictionaryField(e.ClientsFieldId, S.Int32, S.Object, (I) => {
|
|
7117
7117
|
const T = p.Clients;
|
|
7118
7118
|
for (const h of Object.keys(T)) {
|
|
7119
7119
|
const g = Number(h), V = T[h];
|
|
@@ -7124,7 +7124,7 @@ var Se;
|
|
|
7124
7124
|
L.writeToTeleport(V, P);
|
|
7125
7125
|
}), _.complete();
|
|
7126
7126
|
}
|
|
7127
|
-
}),
|
|
7127
|
+
}), E.writeDictionaryField(e.TrackingStreamsFieldId, S.String, S.Object, (I) => {
|
|
7128
7128
|
const T = p.TrackingStreams;
|
|
7129
7129
|
for (const h of Object.keys(T)) {
|
|
7130
7130
|
const g = h, V = T[h];
|
|
@@ -7135,7 +7135,7 @@ var Se;
|
|
|
7135
7135
|
e.TrackingStreamState.writeToTeleport(V, P);
|
|
7136
7136
|
}), _.complete();
|
|
7137
7137
|
}
|
|
7138
|
-
}),
|
|
7138
|
+
}), E.writeStringField(e.ChannelIdFieldId, p.ChannelId), E.writeStringField(e.SessionIdFieldId, p.SessionId), E.writeStringField(e.ChannelUrlFieldId, p.ChannelUrl), E.writeStringField(e.ChannelNameFieldId, p.ChannelName), E.writeStringField(e.OrganisationNameFieldId, p.OrganisationName), E.writeDictionaryField(e.FunctionsFieldId, S.Int32, S.Array, (I) => {
|
|
7139
7139
|
const T = p.Functions;
|
|
7140
7140
|
for (const h of Object.keys(T)) {
|
|
7141
7141
|
const g = Number(h), V = T[h];
|
|
@@ -7144,12 +7144,12 @@ var Se;
|
|
|
7144
7144
|
const _ = I.beginEntry();
|
|
7145
7145
|
_.writeKeyInt32(g | 0), _.writeValueArray(S.Object, (P) => {
|
|
7146
7146
|
for (const k of V)
|
|
7147
|
-
P.writeObject(ue.TeleportVersion, (
|
|
7148
|
-
ue.writeToTeleport(k,
|
|
7147
|
+
P.writeObject(ue.TeleportVersion, (C) => {
|
|
7148
|
+
ue.writeToTeleport(k, C);
|
|
7149
7149
|
});
|
|
7150
7150
|
}), _.complete();
|
|
7151
7151
|
}
|
|
7152
|
-
}),
|
|
7152
|
+
}), E.writeDictionaryField(e.UIStreamsFieldId, S.String, S.Object, (I) => {
|
|
7153
7153
|
const T = p.UIStreams;
|
|
7154
7154
|
for (const h of Object.keys(T)) {
|
|
7155
7155
|
const g = h, V = T[h];
|
|
@@ -7160,7 +7160,7 @@ var Se;
|
|
|
7160
7160
|
e.UIStreamState.writeToTeleport(V, P);
|
|
7161
7161
|
}), _.complete();
|
|
7162
7162
|
}
|
|
7163
|
-
}),
|
|
7163
|
+
}), E.writeStringField(e.SpaceIdFieldId, p.SpaceId), E.writeStringField(e.PrimaryUserIdFieldId, p.PrimaryUserId), E.writeStringField(e.ChannelInstanceIdFieldId, p.ChannelInstanceId), E.writeDictionaryField(e.AudioStreamsFieldId, S.String, S.Object, (I) => {
|
|
7164
7164
|
const T = p.AudioStreams;
|
|
7165
7165
|
for (const h of Object.keys(T)) {
|
|
7166
7166
|
const g = h, V = T[h];
|
|
@@ -7171,7 +7171,7 @@ var Se;
|
|
|
7171
7171
|
e.AudioStreamState.writeToTeleport(V, P);
|
|
7172
7172
|
}), _.complete();
|
|
7173
7173
|
}
|
|
7174
|
-
}),
|
|
7174
|
+
}), E.writeDictionaryField(e.VideoStreamsFieldId, S.String, S.Object, (I) => {
|
|
7175
7175
|
const T = p.VideoStreams;
|
|
7176
7176
|
for (const h of Object.keys(T)) {
|
|
7177
7177
|
const g = h, V = T[h];
|
|
@@ -7182,199 +7182,199 @@ var Se;
|
|
|
7182
7182
|
e.VideoStreamState.writeToTeleport(V, P);
|
|
7183
7183
|
}), _.complete();
|
|
7184
7184
|
}
|
|
7185
|
-
}),
|
|
7185
|
+
}), E.writeStringField(e.SpaceNameFieldId, p.SpaceName);
|
|
7186
7186
|
}
|
|
7187
7187
|
e.writeToTeleport = s;
|
|
7188
|
-
function a(p,
|
|
7188
|
+
function a(p, E) {
|
|
7189
7189
|
const I = y.create(p);
|
|
7190
|
-
return c(I,
|
|
7190
|
+
return c(I, E);
|
|
7191
7191
|
}
|
|
7192
7192
|
e.decode = a;
|
|
7193
|
-
function c(p,
|
|
7194
|
-
const I =
|
|
7193
|
+
function c(p, E) {
|
|
7194
|
+
const I = E ?? n();
|
|
7195
7195
|
return d(I), f(p, I), I;
|
|
7196
7196
|
}
|
|
7197
7197
|
e.readFromTeleport = c;
|
|
7198
|
-
function f(p,
|
|
7198
|
+
function f(p, E) {
|
|
7199
7199
|
let I;
|
|
7200
7200
|
for (; (I = p.next()) !== null; )
|
|
7201
7201
|
switch (I.fieldId) {
|
|
7202
7202
|
case e.FirstUserIdFieldId: {
|
|
7203
7203
|
if (I.isNull)
|
|
7204
7204
|
throw new Error("Field FirstUserId cannot be null");
|
|
7205
|
-
|
|
7205
|
+
E.FirstUserId = I.asString();
|
|
7206
7206
|
break;
|
|
7207
7207
|
}
|
|
7208
7208
|
case e.ClientsFieldId: {
|
|
7209
7209
|
if (I.isNull)
|
|
7210
7210
|
throw new Error("Field Clients cannot be null");
|
|
7211
|
-
|
|
7211
|
+
E.Clients = t(I.asDictionary());
|
|
7212
7212
|
break;
|
|
7213
7213
|
}
|
|
7214
7214
|
case e.TrackingStreamsFieldId: {
|
|
7215
7215
|
if (I.isNull)
|
|
7216
7216
|
throw new Error("Field TrackingStreams cannot be null");
|
|
7217
|
-
|
|
7217
|
+
E.TrackingStreams = r(I.asDictionary());
|
|
7218
7218
|
break;
|
|
7219
7219
|
}
|
|
7220
7220
|
case e.ChannelIdFieldId: {
|
|
7221
7221
|
if (I.isNull)
|
|
7222
7222
|
throw new Error("Field ChannelId cannot be null");
|
|
7223
|
-
|
|
7223
|
+
E.ChannelId = I.asString();
|
|
7224
7224
|
break;
|
|
7225
7225
|
}
|
|
7226
7226
|
case e.SessionIdFieldId: {
|
|
7227
7227
|
if (I.isNull)
|
|
7228
7228
|
throw new Error("Field SessionId cannot be null");
|
|
7229
|
-
|
|
7229
|
+
E.SessionId = I.asString();
|
|
7230
7230
|
break;
|
|
7231
7231
|
}
|
|
7232
7232
|
case e.ChannelUrlFieldId: {
|
|
7233
7233
|
if (I.isNull)
|
|
7234
7234
|
throw new Error("Field ChannelUrl cannot be null");
|
|
7235
|
-
|
|
7235
|
+
E.ChannelUrl = I.asString();
|
|
7236
7236
|
break;
|
|
7237
7237
|
}
|
|
7238
7238
|
case e.ChannelNameFieldId: {
|
|
7239
7239
|
if (I.isNull)
|
|
7240
7240
|
throw new Error("Field ChannelName cannot be null");
|
|
7241
|
-
|
|
7241
|
+
E.ChannelName = I.asString();
|
|
7242
7242
|
break;
|
|
7243
7243
|
}
|
|
7244
7244
|
case e.OrganisationNameFieldId: {
|
|
7245
7245
|
if (I.isNull)
|
|
7246
7246
|
throw new Error("Field OrganisationName cannot be null");
|
|
7247
|
-
|
|
7247
|
+
E.OrganisationName = I.asString();
|
|
7248
7248
|
break;
|
|
7249
7249
|
}
|
|
7250
7250
|
case e.FunctionsFieldId: {
|
|
7251
7251
|
if (I.isNull)
|
|
7252
7252
|
throw new Error("Field Functions cannot be null");
|
|
7253
|
-
|
|
7253
|
+
E.Functions = o(I.asDictionary());
|
|
7254
7254
|
break;
|
|
7255
7255
|
}
|
|
7256
7256
|
case e.UIStreamsFieldId: {
|
|
7257
7257
|
if (I.isNull)
|
|
7258
7258
|
throw new Error("Field UIStreams cannot be null");
|
|
7259
|
-
|
|
7259
|
+
E.UIStreams = l(I.asDictionary());
|
|
7260
7260
|
break;
|
|
7261
7261
|
}
|
|
7262
7262
|
case e.SpaceIdFieldId: {
|
|
7263
7263
|
if (I.isNull)
|
|
7264
7264
|
throw new Error("Field SpaceId cannot be null");
|
|
7265
|
-
|
|
7265
|
+
E.SpaceId = I.asString();
|
|
7266
7266
|
break;
|
|
7267
7267
|
}
|
|
7268
7268
|
case e.PrimaryUserIdFieldId: {
|
|
7269
7269
|
if (I.isNull)
|
|
7270
7270
|
throw new Error("Field PrimaryUserId cannot be null");
|
|
7271
|
-
|
|
7271
|
+
E.PrimaryUserId = I.asString();
|
|
7272
7272
|
break;
|
|
7273
7273
|
}
|
|
7274
7274
|
case e.ChannelInstanceIdFieldId: {
|
|
7275
7275
|
if (I.isNull)
|
|
7276
7276
|
throw new Error("Field ChannelInstanceId cannot be null");
|
|
7277
|
-
|
|
7277
|
+
E.ChannelInstanceId = I.asString();
|
|
7278
7278
|
break;
|
|
7279
7279
|
}
|
|
7280
7280
|
case e.AudioStreamsFieldId: {
|
|
7281
7281
|
if (I.isNull)
|
|
7282
7282
|
throw new Error("Field AudioStreams cannot be null");
|
|
7283
|
-
|
|
7283
|
+
E.AudioStreams = u(I.asDictionary());
|
|
7284
7284
|
break;
|
|
7285
7285
|
}
|
|
7286
7286
|
case e.VideoStreamsFieldId: {
|
|
7287
7287
|
if (I.isNull)
|
|
7288
7288
|
throw new Error("Field VideoStreams cannot be null");
|
|
7289
|
-
|
|
7289
|
+
E.VideoStreams = b(I.asDictionary());
|
|
7290
7290
|
break;
|
|
7291
7291
|
}
|
|
7292
7292
|
case e.SpaceNameFieldId: {
|
|
7293
7293
|
if (I.isNull)
|
|
7294
7294
|
throw new Error("Field SpaceName cannot be null");
|
|
7295
|
-
|
|
7295
|
+
E.SpaceName = I.asString();
|
|
7296
7296
|
break;
|
|
7297
7297
|
}
|
|
7298
7298
|
}
|
|
7299
7299
|
}
|
|
7300
|
-
function w(p,
|
|
7300
|
+
function w(p, E) {
|
|
7301
7301
|
const I = i(p);
|
|
7302
|
-
return M(e.TeleportOpcode, I, e.TeleportVersion,
|
|
7302
|
+
return M(e.TeleportOpcode, I, e.TeleportVersion, E);
|
|
7303
7303
|
}
|
|
7304
7304
|
e.toProtocolMessage = w;
|
|
7305
|
-
function F(p,
|
|
7306
|
-
const I =
|
|
7307
|
-
return a(I,
|
|
7305
|
+
function F(p, E) {
|
|
7306
|
+
const I = N(p, e.TeleportOpcode, e.TeleportVersion);
|
|
7307
|
+
return a(I, E);
|
|
7308
7308
|
}
|
|
7309
7309
|
e.fromProtocolMessage = F;
|
|
7310
7310
|
function t(p) {
|
|
7311
|
-
const
|
|
7311
|
+
const E = /* @__PURE__ */ Object.create(null);
|
|
7312
7312
|
let I;
|
|
7313
7313
|
for (; (I = p.next()) !== null; ) {
|
|
7314
7314
|
const T = I.key.asInt32();
|
|
7315
|
-
|
|
7315
|
+
E[T] = L.readFromTeleport(I.value.asObject());
|
|
7316
7316
|
}
|
|
7317
|
-
return
|
|
7317
|
+
return E;
|
|
7318
7318
|
}
|
|
7319
7319
|
function r(p) {
|
|
7320
|
-
const
|
|
7320
|
+
const E = /* @__PURE__ */ Object.create(null);
|
|
7321
7321
|
let I;
|
|
7322
7322
|
for (; (I = p.next()) !== null; ) {
|
|
7323
7323
|
const T = I.key.asString();
|
|
7324
|
-
|
|
7324
|
+
E[T] = e.TrackingStreamState.readFromTeleport(I.value.asObject());
|
|
7325
7325
|
}
|
|
7326
|
-
return
|
|
7326
|
+
return E;
|
|
7327
7327
|
}
|
|
7328
7328
|
function o(p) {
|
|
7329
|
-
const
|
|
7329
|
+
const E = /* @__PURE__ */ Object.create(null);
|
|
7330
7330
|
let I;
|
|
7331
7331
|
for (; (I = p.next()) !== null; ) {
|
|
7332
7332
|
const T = I.key.asInt32();
|
|
7333
|
-
|
|
7333
|
+
E[T] = O(I.value.asArray());
|
|
7334
7334
|
}
|
|
7335
|
-
return
|
|
7335
|
+
return E;
|
|
7336
7336
|
}
|
|
7337
7337
|
function l(p) {
|
|
7338
|
-
const
|
|
7338
|
+
const E = /* @__PURE__ */ Object.create(null);
|
|
7339
7339
|
let I;
|
|
7340
7340
|
for (; (I = p.next()) !== null; ) {
|
|
7341
7341
|
const T = I.key.asString();
|
|
7342
|
-
|
|
7342
|
+
E[T] = e.UIStreamState.readFromTeleport(I.value.asObject());
|
|
7343
7343
|
}
|
|
7344
|
-
return
|
|
7344
|
+
return E;
|
|
7345
7345
|
}
|
|
7346
7346
|
function u(p) {
|
|
7347
|
-
const
|
|
7347
|
+
const E = /* @__PURE__ */ Object.create(null);
|
|
7348
7348
|
let I;
|
|
7349
7349
|
for (; (I = p.next()) !== null; ) {
|
|
7350
7350
|
const T = I.key.asString();
|
|
7351
|
-
|
|
7351
|
+
E[T] = e.AudioStreamState.readFromTeleport(I.value.asObject());
|
|
7352
7352
|
}
|
|
7353
|
-
return
|
|
7353
|
+
return E;
|
|
7354
7354
|
}
|
|
7355
7355
|
function b(p) {
|
|
7356
|
-
const
|
|
7356
|
+
const E = /* @__PURE__ */ Object.create(null);
|
|
7357
7357
|
let I;
|
|
7358
7358
|
for (; (I = p.next()) !== null; ) {
|
|
7359
7359
|
const T = I.key.asString();
|
|
7360
|
-
|
|
7360
|
+
E[T] = e.VideoStreamState.readFromTeleport(I.value.asObject());
|
|
7361
7361
|
}
|
|
7362
|
-
return
|
|
7362
|
+
return E;
|
|
7363
7363
|
}
|
|
7364
|
-
function
|
|
7365
|
-
const
|
|
7364
|
+
function O(p) {
|
|
7365
|
+
const E = [];
|
|
7366
7366
|
let I;
|
|
7367
7367
|
for (; (I = p.next()) !== null; )
|
|
7368
|
-
|
|
7369
|
-
return
|
|
7368
|
+
E.push(ue.readFromTeleport(I.asObject()));
|
|
7369
|
+
return E;
|
|
7370
7370
|
}
|
|
7371
7371
|
((p) => {
|
|
7372
7372
|
p.TeleportVersion = 3, p.TeleportLayoutHash = 3143891131, p.StreamIdFieldId = 161083277, p.ClientSessionIdFieldId = 325678206, p.TrackIdFieldId = 3469892363, p.InfoFieldId = 3645544153;
|
|
7373
|
-
function
|
|
7373
|
+
function E(P) {
|
|
7374
7374
|
const k = {};
|
|
7375
7375
|
return I(k), P && Object.assign(k, P), k;
|
|
7376
7376
|
}
|
|
7377
|
-
p.create =
|
|
7377
|
+
p.create = E;
|
|
7378
7378
|
function I(P) {
|
|
7379
7379
|
return P.StreamId = "", P.ClientSessionId = 0, P.TrackId = 0, P.Info = oe.create(), P;
|
|
7380
7380
|
}
|
|
@@ -7385,58 +7385,58 @@ var Se;
|
|
|
7385
7385
|
}
|
|
7386
7386
|
p.encode = T;
|
|
7387
7387
|
function h(P, k) {
|
|
7388
|
-
k.writeStringField(p.StreamIdFieldId, P.StreamId), k.writeInt32Field(p.ClientSessionIdFieldId, P.ClientSessionId | 0), k.writeInt32Field(p.TrackIdFieldId, P.TrackId | 0), k.writeObjectField(p.InfoFieldId, oe.TeleportVersion, (
|
|
7389
|
-
oe.writeToTeleport(P.Info,
|
|
7388
|
+
k.writeStringField(p.StreamIdFieldId, P.StreamId), k.writeInt32Field(p.ClientSessionIdFieldId, P.ClientSessionId | 0), k.writeInt32Field(p.TrackIdFieldId, P.TrackId | 0), k.writeObjectField(p.InfoFieldId, oe.TeleportVersion, (C) => {
|
|
7389
|
+
oe.writeToTeleport(P.Info, C);
|
|
7390
7390
|
});
|
|
7391
7391
|
}
|
|
7392
7392
|
p.writeToTeleport = h;
|
|
7393
7393
|
function g(P, k) {
|
|
7394
|
-
const
|
|
7395
|
-
return V(
|
|
7394
|
+
const C = y.create(P);
|
|
7395
|
+
return V(C, k);
|
|
7396
7396
|
}
|
|
7397
7397
|
p.decode = g;
|
|
7398
7398
|
function V(P, k) {
|
|
7399
|
-
const
|
|
7400
|
-
return I(
|
|
7399
|
+
const C = k ?? E();
|
|
7400
|
+
return I(C), _(P, C), C;
|
|
7401
7401
|
}
|
|
7402
7402
|
p.readFromTeleport = V;
|
|
7403
7403
|
function _(P, k) {
|
|
7404
|
-
let
|
|
7405
|
-
for (; (
|
|
7406
|
-
switch (
|
|
7404
|
+
let C;
|
|
7405
|
+
for (; (C = P.next()) !== null; )
|
|
7406
|
+
switch (C.fieldId) {
|
|
7407
7407
|
case p.StreamIdFieldId: {
|
|
7408
|
-
if (
|
|
7408
|
+
if (C.isNull)
|
|
7409
7409
|
throw new Error("Field StreamId cannot be null");
|
|
7410
|
-
k.StreamId =
|
|
7410
|
+
k.StreamId = C.asString();
|
|
7411
7411
|
break;
|
|
7412
7412
|
}
|
|
7413
7413
|
case p.ClientSessionIdFieldId: {
|
|
7414
|
-
if (
|
|
7414
|
+
if (C.isNull)
|
|
7415
7415
|
throw new Error("Field ClientSessionId cannot be null");
|
|
7416
|
-
k.ClientSessionId =
|
|
7416
|
+
k.ClientSessionId = C.asInt32();
|
|
7417
7417
|
break;
|
|
7418
7418
|
}
|
|
7419
7419
|
case p.TrackIdFieldId: {
|
|
7420
|
-
if (
|
|
7420
|
+
if (C.isNull)
|
|
7421
7421
|
throw new Error("Field TrackId cannot be null");
|
|
7422
|
-
k.TrackId =
|
|
7422
|
+
k.TrackId = C.asInt32();
|
|
7423
7423
|
break;
|
|
7424
7424
|
}
|
|
7425
7425
|
case p.InfoFieldId: {
|
|
7426
|
-
if (
|
|
7426
|
+
if (C.isNull)
|
|
7427
7427
|
throw new Error("Field Info cannot be null");
|
|
7428
|
-
k.Info = oe.readFromTeleport(
|
|
7428
|
+
k.Info = oe.readFromTeleport(C.asObject());
|
|
7429
7429
|
break;
|
|
7430
7430
|
}
|
|
7431
7431
|
}
|
|
7432
7432
|
}
|
|
7433
7433
|
})(e.UIStreamState || (e.UIStreamState = {})), ((p) => {
|
|
7434
7434
|
p.TeleportVersion = 3, p.TeleportLayoutHash = 3143891131, p.StreamIdFieldId = 161083277, p.ClientSessionIdFieldId = 325678206, p.TrackIdFieldId = 3469892363, p.InfoFieldId = 3645544153;
|
|
7435
|
-
function
|
|
7435
|
+
function E(P) {
|
|
7436
7436
|
const k = {};
|
|
7437
7437
|
return I(k), P && Object.assign(k, P), k;
|
|
7438
7438
|
}
|
|
7439
|
-
p.create =
|
|
7439
|
+
p.create = E;
|
|
7440
7440
|
function I(P) {
|
|
7441
7441
|
return P.StreamId = "", P.ClientSessionId = 0, P.TrackId = 0, P.Info = U.create(), P;
|
|
7442
7442
|
}
|
|
@@ -7447,58 +7447,58 @@ var Se;
|
|
|
7447
7447
|
}
|
|
7448
7448
|
p.encode = T;
|
|
7449
7449
|
function h(P, k) {
|
|
7450
|
-
k.writeStringField(p.StreamIdFieldId, P.StreamId), k.writeInt32Field(p.ClientSessionIdFieldId, P.ClientSessionId | 0), k.writeInt32Field(p.TrackIdFieldId, P.TrackId | 0), k.writeObjectField(p.InfoFieldId, U.TeleportVersion, (
|
|
7451
|
-
U.writeToTeleport(P.Info,
|
|
7450
|
+
k.writeStringField(p.StreamIdFieldId, P.StreamId), k.writeInt32Field(p.ClientSessionIdFieldId, P.ClientSessionId | 0), k.writeInt32Field(p.TrackIdFieldId, P.TrackId | 0), k.writeObjectField(p.InfoFieldId, U.TeleportVersion, (C) => {
|
|
7451
|
+
U.writeToTeleport(P.Info, C);
|
|
7452
7452
|
});
|
|
7453
7453
|
}
|
|
7454
7454
|
p.writeToTeleport = h;
|
|
7455
7455
|
function g(P, k) {
|
|
7456
|
-
const
|
|
7457
|
-
return V(
|
|
7456
|
+
const C = y.create(P);
|
|
7457
|
+
return V(C, k);
|
|
7458
7458
|
}
|
|
7459
7459
|
p.decode = g;
|
|
7460
7460
|
function V(P, k) {
|
|
7461
|
-
const
|
|
7462
|
-
return I(
|
|
7461
|
+
const C = k ?? E();
|
|
7462
|
+
return I(C), _(P, C), C;
|
|
7463
7463
|
}
|
|
7464
7464
|
p.readFromTeleport = V;
|
|
7465
7465
|
function _(P, k) {
|
|
7466
|
-
let
|
|
7467
|
-
for (; (
|
|
7468
|
-
switch (
|
|
7466
|
+
let C;
|
|
7467
|
+
for (; (C = P.next()) !== null; )
|
|
7468
|
+
switch (C.fieldId) {
|
|
7469
7469
|
case p.StreamIdFieldId: {
|
|
7470
|
-
if (
|
|
7470
|
+
if (C.isNull)
|
|
7471
7471
|
throw new Error("Field StreamId cannot be null");
|
|
7472
|
-
k.StreamId =
|
|
7472
|
+
k.StreamId = C.asString();
|
|
7473
7473
|
break;
|
|
7474
7474
|
}
|
|
7475
7475
|
case p.ClientSessionIdFieldId: {
|
|
7476
|
-
if (
|
|
7476
|
+
if (C.isNull)
|
|
7477
7477
|
throw new Error("Field ClientSessionId cannot be null");
|
|
7478
|
-
k.ClientSessionId =
|
|
7478
|
+
k.ClientSessionId = C.asInt32();
|
|
7479
7479
|
break;
|
|
7480
7480
|
}
|
|
7481
7481
|
case p.TrackIdFieldId: {
|
|
7482
|
-
if (
|
|
7482
|
+
if (C.isNull)
|
|
7483
7483
|
throw new Error("Field TrackId cannot be null");
|
|
7484
|
-
k.TrackId =
|
|
7484
|
+
k.TrackId = C.asInt32();
|
|
7485
7485
|
break;
|
|
7486
7486
|
}
|
|
7487
7487
|
case p.InfoFieldId: {
|
|
7488
|
-
if (
|
|
7488
|
+
if (C.isNull)
|
|
7489
7489
|
throw new Error("Field Info cannot be null");
|
|
7490
|
-
k.Info = U.readFromTeleport(
|
|
7490
|
+
k.Info = U.readFromTeleport(C.asObject());
|
|
7491
7491
|
break;
|
|
7492
7492
|
}
|
|
7493
7493
|
}
|
|
7494
7494
|
}
|
|
7495
7495
|
})(e.AudioStreamState || (e.AudioStreamState = {})), ((p) => {
|
|
7496
7496
|
p.TeleportVersion = 3, p.TeleportLayoutHash = 3143891131, p.StreamIdFieldId = 161083277, p.ClientSessionIdFieldId = 325678206, p.TrackIdFieldId = 3469892363, p.InfoFieldId = 3645544153;
|
|
7497
|
-
function
|
|
7497
|
+
function E(P) {
|
|
7498
7498
|
const k = {};
|
|
7499
7499
|
return I(k), P && Object.assign(k, P), k;
|
|
7500
7500
|
}
|
|
7501
|
-
p.create =
|
|
7501
|
+
p.create = E;
|
|
7502
7502
|
function I(P) {
|
|
7503
7503
|
return P.StreamId = "", P.ClientSessionId = 0, P.TrackId = 0, P.Info = te.create(), P;
|
|
7504
7504
|
}
|
|
@@ -7509,58 +7509,58 @@ var Se;
|
|
|
7509
7509
|
}
|
|
7510
7510
|
p.encode = T;
|
|
7511
7511
|
function h(P, k) {
|
|
7512
|
-
k.writeStringField(p.StreamIdFieldId, P.StreamId), k.writeInt32Field(p.ClientSessionIdFieldId, P.ClientSessionId | 0), k.writeInt32Field(p.TrackIdFieldId, P.TrackId | 0), k.writeObjectField(p.InfoFieldId, te.TeleportVersion, (
|
|
7513
|
-
te.writeToTeleport(P.Info,
|
|
7512
|
+
k.writeStringField(p.StreamIdFieldId, P.StreamId), k.writeInt32Field(p.ClientSessionIdFieldId, P.ClientSessionId | 0), k.writeInt32Field(p.TrackIdFieldId, P.TrackId | 0), k.writeObjectField(p.InfoFieldId, te.TeleportVersion, (C) => {
|
|
7513
|
+
te.writeToTeleport(P.Info, C);
|
|
7514
7514
|
});
|
|
7515
7515
|
}
|
|
7516
7516
|
p.writeToTeleport = h;
|
|
7517
7517
|
function g(P, k) {
|
|
7518
|
-
const
|
|
7519
|
-
return V(
|
|
7518
|
+
const C = y.create(P);
|
|
7519
|
+
return V(C, k);
|
|
7520
7520
|
}
|
|
7521
7521
|
p.decode = g;
|
|
7522
7522
|
function V(P, k) {
|
|
7523
|
-
const
|
|
7524
|
-
return I(
|
|
7523
|
+
const C = k ?? E();
|
|
7524
|
+
return I(C), _(P, C), C;
|
|
7525
7525
|
}
|
|
7526
7526
|
p.readFromTeleport = V;
|
|
7527
7527
|
function _(P, k) {
|
|
7528
|
-
let
|
|
7529
|
-
for (; (
|
|
7530
|
-
switch (
|
|
7528
|
+
let C;
|
|
7529
|
+
for (; (C = P.next()) !== null; )
|
|
7530
|
+
switch (C.fieldId) {
|
|
7531
7531
|
case p.StreamIdFieldId: {
|
|
7532
|
-
if (
|
|
7532
|
+
if (C.isNull)
|
|
7533
7533
|
throw new Error("Field StreamId cannot be null");
|
|
7534
|
-
k.StreamId =
|
|
7534
|
+
k.StreamId = C.asString();
|
|
7535
7535
|
break;
|
|
7536
7536
|
}
|
|
7537
7537
|
case p.ClientSessionIdFieldId: {
|
|
7538
|
-
if (
|
|
7538
|
+
if (C.isNull)
|
|
7539
7539
|
throw new Error("Field ClientSessionId cannot be null");
|
|
7540
|
-
k.ClientSessionId =
|
|
7540
|
+
k.ClientSessionId = C.asInt32();
|
|
7541
7541
|
break;
|
|
7542
7542
|
}
|
|
7543
7543
|
case p.TrackIdFieldId: {
|
|
7544
|
-
if (
|
|
7544
|
+
if (C.isNull)
|
|
7545
7545
|
throw new Error("Field TrackId cannot be null");
|
|
7546
|
-
k.TrackId =
|
|
7546
|
+
k.TrackId = C.asInt32();
|
|
7547
7547
|
break;
|
|
7548
7548
|
}
|
|
7549
7549
|
case p.InfoFieldId: {
|
|
7550
|
-
if (
|
|
7550
|
+
if (C.isNull)
|
|
7551
7551
|
throw new Error("Field Info cannot be null");
|
|
7552
|
-
k.Info = te.readFromTeleport(
|
|
7552
|
+
k.Info = te.readFromTeleport(C.asObject());
|
|
7553
7553
|
break;
|
|
7554
7554
|
}
|
|
7555
7555
|
}
|
|
7556
7556
|
}
|
|
7557
7557
|
})(e.VideoStreamState || (e.VideoStreamState = {})), ((p) => {
|
|
7558
7558
|
p.TeleportVersion = 3, p.TeleportLayoutHash = 3143891131, p.StreamIdFieldId = 161083277, p.ClientSessionIdFieldId = 325678206, p.TrackIdFieldId = 3469892363, p.InfoFieldId = 3645544153;
|
|
7559
|
-
function
|
|
7559
|
+
function E(P) {
|
|
7560
7560
|
const k = {};
|
|
7561
7561
|
return I(k), P && Object.assign(k, P), k;
|
|
7562
7562
|
}
|
|
7563
|
-
p.create =
|
|
7563
|
+
p.create = E;
|
|
7564
7564
|
function I(P) {
|
|
7565
7565
|
return P.StreamId = "", P.ClientSessionId = 0, P.TrackId = 0, P.Info = re.create(), P;
|
|
7566
7566
|
}
|
|
@@ -7571,47 +7571,47 @@ var Se;
|
|
|
7571
7571
|
}
|
|
7572
7572
|
p.encode = T;
|
|
7573
7573
|
function h(P, k) {
|
|
7574
|
-
k.writeStringField(p.StreamIdFieldId, P.StreamId), k.writeInt32Field(p.ClientSessionIdFieldId, P.ClientSessionId | 0), k.writeInt32Field(p.TrackIdFieldId, P.TrackId | 0), k.writeObjectField(p.InfoFieldId, re.TeleportVersion, (
|
|
7575
|
-
re.writeToTeleport(P.Info,
|
|
7574
|
+
k.writeStringField(p.StreamIdFieldId, P.StreamId), k.writeInt32Field(p.ClientSessionIdFieldId, P.ClientSessionId | 0), k.writeInt32Field(p.TrackIdFieldId, P.TrackId | 0), k.writeObjectField(p.InfoFieldId, re.TeleportVersion, (C) => {
|
|
7575
|
+
re.writeToTeleport(P.Info, C);
|
|
7576
7576
|
});
|
|
7577
7577
|
}
|
|
7578
7578
|
p.writeToTeleport = h;
|
|
7579
7579
|
function g(P, k) {
|
|
7580
|
-
const
|
|
7581
|
-
return V(
|
|
7580
|
+
const C = y.create(P);
|
|
7581
|
+
return V(C, k);
|
|
7582
7582
|
}
|
|
7583
7583
|
p.decode = g;
|
|
7584
7584
|
function V(P, k) {
|
|
7585
|
-
const
|
|
7586
|
-
return I(
|
|
7585
|
+
const C = k ?? E();
|
|
7586
|
+
return I(C), _(P, C), C;
|
|
7587
7587
|
}
|
|
7588
7588
|
p.readFromTeleport = V;
|
|
7589
7589
|
function _(P, k) {
|
|
7590
|
-
let
|
|
7591
|
-
for (; (
|
|
7592
|
-
switch (
|
|
7590
|
+
let C;
|
|
7591
|
+
for (; (C = P.next()) !== null; )
|
|
7592
|
+
switch (C.fieldId) {
|
|
7593
7593
|
case p.StreamIdFieldId: {
|
|
7594
|
-
if (
|
|
7594
|
+
if (C.isNull)
|
|
7595
7595
|
throw new Error("Field StreamId cannot be null");
|
|
7596
|
-
k.StreamId =
|
|
7596
|
+
k.StreamId = C.asString();
|
|
7597
7597
|
break;
|
|
7598
7598
|
}
|
|
7599
7599
|
case p.ClientSessionIdFieldId: {
|
|
7600
|
-
if (
|
|
7600
|
+
if (C.isNull)
|
|
7601
7601
|
throw new Error("Field ClientSessionId cannot be null");
|
|
7602
|
-
k.ClientSessionId =
|
|
7602
|
+
k.ClientSessionId = C.asInt32();
|
|
7603
7603
|
break;
|
|
7604
7604
|
}
|
|
7605
7605
|
case p.TrackIdFieldId: {
|
|
7606
|
-
if (
|
|
7606
|
+
if (C.isNull)
|
|
7607
7607
|
throw new Error("Field TrackId cannot be null");
|
|
7608
|
-
k.TrackId =
|
|
7608
|
+
k.TrackId = C.asInt32();
|
|
7609
7609
|
break;
|
|
7610
7610
|
}
|
|
7611
7611
|
case p.InfoFieldId: {
|
|
7612
|
-
if (
|
|
7612
|
+
if (C.isNull)
|
|
7613
7613
|
throw new Error("Field Info cannot be null");
|
|
7614
|
-
k.Info = re.readFromTeleport(
|
|
7614
|
+
k.Info = re.readFromTeleport(C.asObject());
|
|
7615
7615
|
break;
|
|
7616
7616
|
}
|
|
7617
7617
|
}
|
|
@@ -7667,7 +7667,7 @@ var io;
|
|
|
7667
7667
|
}
|
|
7668
7668
|
e.toProtocolMessage = w;
|
|
7669
7669
|
function F(t, r) {
|
|
7670
|
-
const o =
|
|
7670
|
+
const o = N(t, e.TeleportOpcode, e.TeleportVersion);
|
|
7671
7671
|
return a(o, r);
|
|
7672
7672
|
}
|
|
7673
7673
|
e.fromProtocolMessage = F;
|
|
@@ -7691,23 +7691,23 @@ var so;
|
|
|
7691
7691
|
e.encode = i;
|
|
7692
7692
|
function s(l, u) {
|
|
7693
7693
|
u.writeDictionaryField(e.DynamicConfigObsoleteFieldId, S.String, S.String, (b) => {
|
|
7694
|
-
const
|
|
7695
|
-
for (const p of Object.keys(
|
|
7696
|
-
const
|
|
7694
|
+
const O = l.DynamicConfigObsolete;
|
|
7695
|
+
for (const p of Object.keys(O)) {
|
|
7696
|
+
const E = p, I = O[p];
|
|
7697
7697
|
if (I == null)
|
|
7698
7698
|
continue;
|
|
7699
7699
|
const T = b.beginEntry();
|
|
7700
|
-
T.writeKeyString(
|
|
7700
|
+
T.writeKeyString(E), T.writeValueString(I), T.complete();
|
|
7701
7701
|
}
|
|
7702
7702
|
}), u.writeArrayField(e.ExtensionsFieldId, S.Object, (b) => {
|
|
7703
|
-
for (const
|
|
7703
|
+
for (const O of l.Extensions)
|
|
7704
7704
|
b.writeObject(e.ServerExtensionInit.TeleportVersion, (p) => {
|
|
7705
|
-
e.ServerExtensionInit.writeToTeleport(
|
|
7705
|
+
e.ServerExtensionInit.writeToTeleport(O, p);
|
|
7706
7706
|
});
|
|
7707
7707
|
}), u.writeStringField(e.ChannelIdFieldId, l.ChannelId), u.writeStringField(e.SessionIdFieldId, l.SessionId), u.writeStringField(e.ChannelUrlFieldId, l.ChannelUrl), u.writeStringField(e.ChannelNameFieldId, l.ChannelName), u.writeStringField(e.DynamicConfigJsonContentFieldId, l.DynamicConfigJsonContent), u.writeStringField(e.SpaceGitRepositoryUrlFieldId, l.SpaceGitRepositoryUrl), u.writeStringField(e.IkonBackendUrlFieldId, l.IkonBackendUrl), u.writeStringField(e.OrganisationNameFieldId, l.OrganisationName), u.writeArrayField(e.PluginsFieldId, S.Object, (b) => {
|
|
7708
|
-
for (const
|
|
7708
|
+
for (const O of l.Plugins)
|
|
7709
7709
|
b.writeObject(e.ServerPluginInit.TeleportVersion, (p) => {
|
|
7710
|
-
e.ServerPluginInit.writeToTeleport(
|
|
7710
|
+
e.ServerPluginInit.writeToTeleport(O, p);
|
|
7711
7711
|
});
|
|
7712
7712
|
}), u.writeStringField(e.SpaceIdFieldId, l.SpaceId), u.writeStringField(e.PrimaryUserIdFieldId, l.PrimaryUserId), u.writeStringField(e.IkonBackendTokenFieldId, l.IkonBackendToken), u.writeStringField(e.ChannelTemplateIdFieldId, l.ChannelTemplateId), u.writeStringField(e.SpaceNameFieldId, l.SpaceName);
|
|
7713
7713
|
}
|
|
@@ -7830,7 +7830,7 @@ var so;
|
|
|
7830
7830
|
}
|
|
7831
7831
|
e.toProtocolMessage = w;
|
|
7832
7832
|
function F(l, u) {
|
|
7833
|
-
const b =
|
|
7833
|
+
const b = N(l, e.TeleportOpcode, e.TeleportVersion);
|
|
7834
7834
|
return a(b, u);
|
|
7835
7835
|
}
|
|
7836
7836
|
e.fromProtocolMessage = F;
|
|
@@ -7852,8 +7852,8 @@ var so;
|
|
|
7852
7852
|
const u = /* @__PURE__ */ Object.create(null);
|
|
7853
7853
|
let b;
|
|
7854
7854
|
for (; (b = l.next()) !== null; ) {
|
|
7855
|
-
const
|
|
7856
|
-
u[
|
|
7855
|
+
const O = b.key.asString();
|
|
7856
|
+
u[O] = b.value.asString();
|
|
7857
7857
|
}
|
|
7858
7858
|
return u;
|
|
7859
7859
|
}
|
|
@@ -7868,11 +7868,11 @@ var so;
|
|
|
7868
7868
|
return g.Enabled = !1, g.BundleDirectoryPath = "", g.BundleDirectoryZipContent = new Uint8Array(0), g.DllName = "", g.TypeName = "", g.ConfigFilePath = "", g.ConfigJsonContent = "", g.ExtraConfigs = [], g;
|
|
7869
7869
|
}
|
|
7870
7870
|
l.reset = b;
|
|
7871
|
-
function
|
|
7871
|
+
function O(g) {
|
|
7872
7872
|
const V = new m(l.TeleportVersion);
|
|
7873
7873
|
return p(g, V), V.finish();
|
|
7874
7874
|
}
|
|
7875
|
-
l.encode =
|
|
7875
|
+
l.encode = O;
|
|
7876
7876
|
function p(g, V) {
|
|
7877
7877
|
V.writeStringField(l.BundleDirectoryPathFieldId, g.BundleDirectoryPath), V.writeBinaryField(l.BundleDirectoryZipContentFieldId, g.BundleDirectoryZipContent), V.writeStringField(l.ConfigJsonContentFieldId, g.ConfigJsonContent), V.writeStringField(l.DllNameFieldId, g.DllName), V.writeStringField(l.ConfigFilePathFieldId, g.ConfigFilePath), V.writeBoolField(l.EnabledFieldId, g.Enabled), V.writeArrayField(l.ExtraConfigsFieldId, S.Object, (_) => {
|
|
7878
7878
|
for (const P of g.ExtraConfigs)
|
|
@@ -7882,11 +7882,11 @@ var so;
|
|
|
7882
7882
|
}), V.writeStringField(l.TypeNameFieldId, g.TypeName);
|
|
7883
7883
|
}
|
|
7884
7884
|
l.writeToTeleport = p;
|
|
7885
|
-
function
|
|
7885
|
+
function E(g, V) {
|
|
7886
7886
|
const _ = y.create(g);
|
|
7887
7887
|
return I(_, V);
|
|
7888
7888
|
}
|
|
7889
|
-
l.decode =
|
|
7889
|
+
l.decode = E;
|
|
7890
7890
|
function I(g, V) {
|
|
7891
7891
|
const _ = V ?? u();
|
|
7892
7892
|
return b(_), T(g, _), _;
|
|
@@ -7964,20 +7964,20 @@ var so;
|
|
|
7964
7964
|
return h.FilePath = "", h.Content = "", h;
|
|
7965
7965
|
}
|
|
7966
7966
|
l.reset = b;
|
|
7967
|
-
function
|
|
7967
|
+
function O(h) {
|
|
7968
7968
|
const g = new m(l.TeleportVersion);
|
|
7969
7969
|
return p(h, g), g.finish();
|
|
7970
7970
|
}
|
|
7971
|
-
l.encode =
|
|
7971
|
+
l.encode = O;
|
|
7972
7972
|
function p(h, g) {
|
|
7973
7973
|
g.writeStringField(l.FilePathFieldId, h.FilePath), g.writeStringField(l.ContentFieldId, h.Content);
|
|
7974
7974
|
}
|
|
7975
7975
|
l.writeToTeleport = p;
|
|
7976
|
-
function
|
|
7976
|
+
function E(h, g) {
|
|
7977
7977
|
const V = y.create(h);
|
|
7978
7978
|
return I(V, g);
|
|
7979
7979
|
}
|
|
7980
|
-
l.decode =
|
|
7980
|
+
l.decode = E;
|
|
7981
7981
|
function I(h, g) {
|
|
7982
7982
|
const V = g ?? u();
|
|
7983
7983
|
return b(V), T(h, V), V;
|
|
@@ -8012,20 +8012,20 @@ var so;
|
|
|
8012
8012
|
return h.Enabled = !1, h.TypeName = "", h.ConfigJsonContent = "", h;
|
|
8013
8013
|
}
|
|
8014
8014
|
l.reset = b;
|
|
8015
|
-
function
|
|
8015
|
+
function O(h) {
|
|
8016
8016
|
const g = new m(l.TeleportVersion);
|
|
8017
8017
|
return p(h, g), g.finish();
|
|
8018
8018
|
}
|
|
8019
|
-
l.encode =
|
|
8019
|
+
l.encode = O;
|
|
8020
8020
|
function p(h, g) {
|
|
8021
8021
|
g.writeStringField(l.ConfigJsonContentFieldId, h.ConfigJsonContent), g.writeBoolField(l.EnabledFieldId, h.Enabled), g.writeStringField(l.TypeNameFieldId, h.TypeName);
|
|
8022
8022
|
}
|
|
8023
8023
|
l.writeToTeleport = p;
|
|
8024
|
-
function
|
|
8024
|
+
function E(h, g) {
|
|
8025
8025
|
const V = y.create(h);
|
|
8026
8026
|
return I(V, g);
|
|
8027
8027
|
}
|
|
8028
|
-
l.decode =
|
|
8028
|
+
l.decode = E;
|
|
8029
8029
|
function I(h, g) {
|
|
8030
8030
|
const V = g ?? u();
|
|
8031
8031
|
return b(V), T(h, V), V;
|
|
@@ -8058,6 +8058,84 @@ var so;
|
|
|
8058
8058
|
})(e.ServerExtensionInit || (e.ServerExtensionInit = {}));
|
|
8059
8059
|
})(so || (so = {}));
|
|
8060
8060
|
var ao;
|
|
8061
|
+
((e) => {
|
|
8062
|
+
e.TeleportVersion = 1, e.TeleportOpcode = 65557, e.TeleportLayoutHash = 1731463462, e.SessionIdFieldId = 1999510636, e.SessionIdentityFieldId = 4187599097;
|
|
8063
|
+
function n(r) {
|
|
8064
|
+
const o = {};
|
|
8065
|
+
return d(o), r && Object.assign(o, r), o;
|
|
8066
|
+
}
|
|
8067
|
+
e.create = n;
|
|
8068
|
+
function d(r) {
|
|
8069
|
+
return r.SessionId = "", r.SessionIdentity = /* @__PURE__ */ Object.create(null), r;
|
|
8070
|
+
}
|
|
8071
|
+
e.reset = d;
|
|
8072
|
+
function i(r) {
|
|
8073
|
+
const o = new m(e.TeleportVersion);
|
|
8074
|
+
return s(r, o), o.finish();
|
|
8075
|
+
}
|
|
8076
|
+
e.encode = i;
|
|
8077
|
+
function s(r, o) {
|
|
8078
|
+
o.writeStringField(e.SessionIdFieldId, r.SessionId), o.writeDictionaryField(e.SessionIdentityFieldId, S.String, S.String, (l) => {
|
|
8079
|
+
const u = r.SessionIdentity;
|
|
8080
|
+
for (const b of Object.keys(u)) {
|
|
8081
|
+
const O = b, p = u[b];
|
|
8082
|
+
if (p == null)
|
|
8083
|
+
continue;
|
|
8084
|
+
const E = l.beginEntry();
|
|
8085
|
+
E.writeKeyString(O), E.writeValueString(p), E.complete();
|
|
8086
|
+
}
|
|
8087
|
+
});
|
|
8088
|
+
}
|
|
8089
|
+
e.writeToTeleport = s;
|
|
8090
|
+
function a(r, o) {
|
|
8091
|
+
const l = y.create(r);
|
|
8092
|
+
return c(l, o);
|
|
8093
|
+
}
|
|
8094
|
+
e.decode = a;
|
|
8095
|
+
function c(r, o) {
|
|
8096
|
+
const l = o ?? n();
|
|
8097
|
+
return d(l), f(r, l), l;
|
|
8098
|
+
}
|
|
8099
|
+
e.readFromTeleport = c;
|
|
8100
|
+
function f(r, o) {
|
|
8101
|
+
let l;
|
|
8102
|
+
for (; (l = r.next()) !== null; )
|
|
8103
|
+
switch (l.fieldId) {
|
|
8104
|
+
case e.SessionIdFieldId: {
|
|
8105
|
+
if (l.isNull)
|
|
8106
|
+
throw new Error("Field SessionId cannot be null");
|
|
8107
|
+
o.SessionId = l.asString();
|
|
8108
|
+
break;
|
|
8109
|
+
}
|
|
8110
|
+
case e.SessionIdentityFieldId: {
|
|
8111
|
+
if (l.isNull)
|
|
8112
|
+
throw new Error("Field SessionIdentity cannot be null");
|
|
8113
|
+
o.SessionIdentity = t(l.asDictionary());
|
|
8114
|
+
break;
|
|
8115
|
+
}
|
|
8116
|
+
}
|
|
8117
|
+
}
|
|
8118
|
+
function w(r, o) {
|
|
8119
|
+
const l = i(r);
|
|
8120
|
+
return M(e.TeleportOpcode, l, e.TeleportVersion, o);
|
|
8121
|
+
}
|
|
8122
|
+
e.toProtocolMessage = w;
|
|
8123
|
+
function F(r, o) {
|
|
8124
|
+
const l = N(r, e.TeleportOpcode, e.TeleportVersion);
|
|
8125
|
+
return a(l, o);
|
|
8126
|
+
}
|
|
8127
|
+
e.fromProtocolMessage = F;
|
|
8128
|
+
function t(r) {
|
|
8129
|
+
const o = /* @__PURE__ */ Object.create(null);
|
|
8130
|
+
let l;
|
|
8131
|
+
for (; (l = r.next()) !== null; ) {
|
|
8132
|
+
const u = l.key.asString();
|
|
8133
|
+
o[u] = l.value.asString();
|
|
8134
|
+
}
|
|
8135
|
+
return o;
|
|
8136
|
+
}
|
|
8137
|
+
})(ao || (ao = {}));
|
|
8138
|
+
var co;
|
|
8061
8139
|
((e) => {
|
|
8062
8140
|
e.TeleportVersion = 1, e.TeleportOpcode = 65552, e.TeleportLayoutHash = 3513573677, e.HostServerSessionIdFieldId = 1469496005, e.ConfigJsonContentFieldId = 1808036573;
|
|
8063
8141
|
function n(t) {
|
|
@@ -8112,12 +8190,12 @@ var ao;
|
|
|
8112
8190
|
}
|
|
8113
8191
|
e.toProtocolMessage = w;
|
|
8114
8192
|
function F(t, r) {
|
|
8115
|
-
const o =
|
|
8193
|
+
const o = N(t, e.TeleportOpcode, e.TeleportVersion);
|
|
8116
8194
|
return a(o, r);
|
|
8117
8195
|
}
|
|
8118
8196
|
e.fromProtocolMessage = F;
|
|
8119
|
-
})(
|
|
8120
|
-
var
|
|
8197
|
+
})(co || (co = {}));
|
|
8198
|
+
var uo;
|
|
8121
8199
|
((e) => {
|
|
8122
8200
|
e.TeleportVersion = 1, e.TeleportOpcode = 65553, e.TeleportLayoutHash = 1335623043, e.HostServerSessionIdFieldId = 1469496005, e.TargetServerSessionIdFieldId = 2635744582;
|
|
8123
8201
|
function n(t) {
|
|
@@ -8172,12 +8250,12 @@ var co;
|
|
|
8172
8250
|
}
|
|
8173
8251
|
e.toProtocolMessage = w;
|
|
8174
8252
|
function F(t, r) {
|
|
8175
|
-
const o =
|
|
8253
|
+
const o = N(t, e.TeleportOpcode, e.TeleportVersion);
|
|
8176
8254
|
return a(o, r);
|
|
8177
8255
|
}
|
|
8178
8256
|
e.fromProtocolMessage = F;
|
|
8179
|
-
})(
|
|
8180
|
-
var
|
|
8257
|
+
})(uo || (uo = {}));
|
|
8258
|
+
var fo;
|
|
8181
8259
|
((e) => {
|
|
8182
8260
|
e.TeleportVersion = 1, e.TeleportOpcode = 131073, e.TeleportLayoutHash = 4089149075;
|
|
8183
8261
|
function n(t) {
|
|
@@ -8217,11 +8295,11 @@ var uo;
|
|
|
8217
8295
|
}
|
|
8218
8296
|
e.toProtocolMessage = w;
|
|
8219
8297
|
function F(t, r) {
|
|
8220
|
-
const o =
|
|
8298
|
+
const o = N(t, e.TeleportOpcode, e.TeleportVersion);
|
|
8221
8299
|
return a(o, r);
|
|
8222
8300
|
}
|
|
8223
8301
|
e.fromProtocolMessage = F;
|
|
8224
|
-
})(
|
|
8302
|
+
})(fo || (fo = {}));
|
|
8225
8303
|
var de;
|
|
8226
8304
|
((e) => {
|
|
8227
8305
|
e.TeleportVersion = 1, e.TeleportOpcode = 131074, e.TeleportLayoutHash = 4089149075;
|
|
@@ -8262,12 +8340,12 @@ var de;
|
|
|
8262
8340
|
}
|
|
8263
8341
|
e.toProtocolMessage = w;
|
|
8264
8342
|
function F(t, r) {
|
|
8265
|
-
const o =
|
|
8343
|
+
const o = N(t, e.TeleportOpcode, e.TeleportVersion);
|
|
8266
8344
|
return a(o, r);
|
|
8267
8345
|
}
|
|
8268
8346
|
e.fromProtocolMessage = F;
|
|
8269
8347
|
})(de || (de = {}));
|
|
8270
|
-
var
|
|
8348
|
+
var wo;
|
|
8271
8349
|
((e) => {
|
|
8272
8350
|
e.TeleportVersion = 1, e.TeleportOpcode = 65543, e.TeleportLayoutHash = 720504711, e.ClientContextFieldId = 2802434353;
|
|
8273
8351
|
function n(t) {
|
|
@@ -8318,12 +8396,12 @@ var fo;
|
|
|
8318
8396
|
}
|
|
8319
8397
|
e.toProtocolMessage = w;
|
|
8320
8398
|
function F(t, r) {
|
|
8321
|
-
const o =
|
|
8399
|
+
const o = N(t, e.TeleportOpcode, e.TeleportVersion);
|
|
8322
8400
|
return a(o, r);
|
|
8323
8401
|
}
|
|
8324
8402
|
e.fromProtocolMessage = F;
|
|
8325
|
-
})(
|
|
8326
|
-
var
|
|
8403
|
+
})(wo || (wo = {}));
|
|
8404
|
+
var Io;
|
|
8327
8405
|
((e) => {
|
|
8328
8406
|
e.TeleportVersion = 1, e.TeleportOpcode = 65544, e.TeleportLayoutHash = 720504711, e.ClientContextFieldId = 2802434353;
|
|
8329
8407
|
function n(t) {
|
|
@@ -8374,12 +8452,12 @@ var wo;
|
|
|
8374
8452
|
}
|
|
8375
8453
|
e.toProtocolMessage = w;
|
|
8376
8454
|
function F(t, r) {
|
|
8377
|
-
const o =
|
|
8455
|
+
const o = N(t, e.TeleportOpcode, e.TeleportVersion);
|
|
8378
8456
|
return a(o, r);
|
|
8379
8457
|
}
|
|
8380
8458
|
e.fromProtocolMessage = F;
|
|
8381
|
-
})(
|
|
8382
|
-
var
|
|
8459
|
+
})(Io || (Io = {}));
|
|
8460
|
+
var Fo;
|
|
8383
8461
|
((e) => {
|
|
8384
8462
|
e.TeleportVersion = 1, e.TeleportOpcode = 65548, e.TeleportLayoutHash = 720504711, e.ClientContextFieldId = 2802434353;
|
|
8385
8463
|
function n(t) {
|
|
@@ -8430,12 +8508,12 @@ var Io;
|
|
|
8430
8508
|
}
|
|
8431
8509
|
e.toProtocolMessage = w;
|
|
8432
8510
|
function F(t, r) {
|
|
8433
|
-
const o =
|
|
8511
|
+
const o = N(t, e.TeleportOpcode, e.TeleportVersion);
|
|
8434
8512
|
return a(o, r);
|
|
8435
8513
|
}
|
|
8436
8514
|
e.fromProtocolMessage = F;
|
|
8437
|
-
})(
|
|
8438
|
-
var
|
|
8515
|
+
})(Fo || (Fo = {}));
|
|
8516
|
+
var To;
|
|
8439
8517
|
((e) => {
|
|
8440
8518
|
e.TeleportVersion = 1, e.TeleportOpcode = 65554, e.TeleportLayoutHash = 236754357, e.ServerSessionIdFieldId = 3914217035, e.WasSuccessfulFieldId = 4185620404;
|
|
8441
8519
|
function n(t) {
|
|
@@ -8490,12 +8568,12 @@ var Fo;
|
|
|
8490
8568
|
}
|
|
8491
8569
|
e.toProtocolMessage = w;
|
|
8492
8570
|
function F(t, r) {
|
|
8493
|
-
const o =
|
|
8571
|
+
const o = N(t, e.TeleportOpcode, e.TeleportVersion);
|
|
8494
8572
|
return a(o, r);
|
|
8495
8573
|
}
|
|
8496
8574
|
e.fromProtocolMessage = F;
|
|
8497
|
-
})(
|
|
8498
|
-
var
|
|
8575
|
+
})(To || (To = {}));
|
|
8576
|
+
var ho;
|
|
8499
8577
|
((e) => {
|
|
8500
8578
|
e.TeleportVersion = 1, e.TeleportOpcode = 65551, e.TeleportLayoutHash = 2824225980, e.PluginNameFieldId = 2034740834, e.ServerContextFieldId = 3085883711;
|
|
8501
8579
|
function n(t) {
|
|
@@ -8552,12 +8630,12 @@ var To;
|
|
|
8552
8630
|
}
|
|
8553
8631
|
e.toProtocolMessage = w;
|
|
8554
8632
|
function F(t, r) {
|
|
8555
|
-
const o =
|
|
8633
|
+
const o = N(t, e.TeleportOpcode, e.TeleportVersion);
|
|
8556
8634
|
return a(o, r);
|
|
8557
8635
|
}
|
|
8558
8636
|
e.fromProtocolMessage = F;
|
|
8559
|
-
})(
|
|
8560
|
-
var
|
|
8637
|
+
})(ho || (ho = {}));
|
|
8638
|
+
var po;
|
|
8561
8639
|
((e) => {
|
|
8562
8640
|
e.TeleportVersion = 1, e.TeleportOpcode = 65545, e.TeleportLayoutHash = 4069627936, e.ServerContextFieldId = 3085883711;
|
|
8563
8641
|
function n(t) {
|
|
@@ -8608,12 +8686,12 @@ var ho;
|
|
|
8608
8686
|
}
|
|
8609
8687
|
e.toProtocolMessage = w;
|
|
8610
8688
|
function F(t, r) {
|
|
8611
|
-
const o =
|
|
8689
|
+
const o = N(t, e.TeleportOpcode, e.TeleportVersion);
|
|
8612
8690
|
return a(o, r);
|
|
8613
8691
|
}
|
|
8614
8692
|
e.fromProtocolMessage = F;
|
|
8615
|
-
})(
|
|
8616
|
-
var
|
|
8693
|
+
})(po || (po = {}));
|
|
8694
|
+
var bo;
|
|
8617
8695
|
((e) => {
|
|
8618
8696
|
e.TeleportVersion = 1, e.TeleportOpcode = 65540, e.TeleportLayoutHash = 2873360986, e.ManagedMemoryUsedMbFieldId = 144095967, e.ReceivedMessagesBandwidthFieldId = 647036201, e.SentMessagesCountFieldId = 1132451076, e.StatusFieldId = 1570741175, e.ClientCountFieldId = 1672226111, e.HumanClientCountFieldId = 1829818185, e.ReceivedMessagesPerSecondFieldId = 1861503179, e.UserCountFieldId = 2005382839, e.ProcessCpuUsageFieldId = 2251002725, e.ReceivedMessagesCountFieldId = 2287403876, e.ServerContextFieldId = 3085883711, e.ProcessMemoryUsedMbFieldId = 3260282808, e.SentMessagesPerSecondFieldId = 3655789418, e.SentMessagesBandwidthFieldId = 3928106833, e.IdleTimeInSecondsFieldId = 4037699398;
|
|
8619
8697
|
function n(t) {
|
|
@@ -8748,12 +8826,12 @@ var po;
|
|
|
8748
8826
|
}
|
|
8749
8827
|
e.toProtocolMessage = w;
|
|
8750
8828
|
function F(t, r) {
|
|
8751
|
-
const o =
|
|
8829
|
+
const o = N(t, e.TeleportOpcode, e.TeleportVersion);
|
|
8752
8830
|
return a(o, r);
|
|
8753
8831
|
}
|
|
8754
8832
|
e.fromProtocolMessage = F;
|
|
8755
|
-
})(
|
|
8756
|
-
var
|
|
8833
|
+
})(bo || (bo = {}));
|
|
8834
|
+
var mo;
|
|
8757
8835
|
((e) => {
|
|
8758
8836
|
e.TeleportVersion = 1, e.TeleportOpcode = 65546, e.TeleportLayoutHash = 4069627936, e.ServerContextFieldId = 3085883711;
|
|
8759
8837
|
function n(t) {
|
|
@@ -8804,12 +8882,12 @@ var bo;
|
|
|
8804
8882
|
}
|
|
8805
8883
|
e.toProtocolMessage = w;
|
|
8806
8884
|
function F(t, r) {
|
|
8807
|
-
const o =
|
|
8885
|
+
const o = N(t, e.TeleportOpcode, e.TeleportVersion);
|
|
8808
8886
|
return a(o, r);
|
|
8809
8887
|
}
|
|
8810
8888
|
e.fromProtocolMessage = F;
|
|
8811
|
-
})(
|
|
8812
|
-
var
|
|
8889
|
+
})(mo || (mo = {}));
|
|
8890
|
+
var yo;
|
|
8813
8891
|
((e) => {
|
|
8814
8892
|
e.TeleportVersion = 1, e.TeleportOpcode = 65547, e.TeleportLayoutHash = 4069627936, e.ServerContextFieldId = 3085883711;
|
|
8815
8893
|
function n(t) {
|
|
@@ -8860,12 +8938,12 @@ var mo;
|
|
|
8860
8938
|
}
|
|
8861
8939
|
e.toProtocolMessage = w;
|
|
8862
8940
|
function F(t, r) {
|
|
8863
|
-
const o =
|
|
8941
|
+
const o = N(t, e.TeleportOpcode, e.TeleportVersion);
|
|
8864
8942
|
return a(o, r);
|
|
8865
8943
|
}
|
|
8866
8944
|
e.fromProtocolMessage = F;
|
|
8867
|
-
})(
|
|
8868
|
-
var
|
|
8945
|
+
})(yo || (yo = {}));
|
|
8946
|
+
var Eo;
|
|
8869
8947
|
((e) => {
|
|
8870
8948
|
e.TeleportVersion = 1, e.TeleportOpcode = 65541, e.TeleportLayoutHash = 720504711, e.ClientContextFieldId = 2802434353;
|
|
8871
8949
|
function n(t) {
|
|
@@ -8916,11 +8994,11 @@ var yo;
|
|
|
8916
8994
|
}
|
|
8917
8995
|
e.toProtocolMessage = w;
|
|
8918
8996
|
function F(t, r) {
|
|
8919
|
-
const o =
|
|
8997
|
+
const o = N(t, e.TeleportOpcode, e.TeleportVersion);
|
|
8920
8998
|
return a(o, r);
|
|
8921
8999
|
}
|
|
8922
9000
|
e.fromProtocolMessage = F;
|
|
8923
|
-
})(
|
|
9001
|
+
})(Eo || (Eo = {}));
|
|
8924
9002
|
var No;
|
|
8925
9003
|
((e) => {
|
|
8926
9004
|
e.TeleportVersion = 1, e.TeleportOpcode = 65542, e.TeleportLayoutHash = 720504711, e.ClientContextFieldId = 2802434353;
|
|
@@ -8972,12 +9050,12 @@ var No;
|
|
|
8972
9050
|
}
|
|
8973
9051
|
e.toProtocolMessage = w;
|
|
8974
9052
|
function F(t, r) {
|
|
8975
|
-
const o =
|
|
9053
|
+
const o = N(t, e.TeleportOpcode, e.TeleportVersion);
|
|
8976
9054
|
return a(o, r);
|
|
8977
9055
|
}
|
|
8978
9056
|
e.fromProtocolMessage = F;
|
|
8979
9057
|
})(No || (No = {}));
|
|
8980
|
-
var $ = /* @__PURE__ */ ((e) => (e[e.NONE = 0] = "NONE", e[e.CONSTANT_GROUP_BITS = 15] = "CONSTANT_GROUP_BITS", e[e.CONSTANT_GROUP_OFFSET = 16] = "CONSTANT_GROUP_OFFSET", e[e.GROUP_CORE = 65536] = "GROUP_CORE", e[e.CORE_AUTH_RESPONSE = 65537] = "CORE_AUTH_RESPONSE", e[e.CORE_AUTH_TICKET = 65538] = "CORE_AUTH_TICKET", e[e.CORE_GLOBAL_STATE = 65539] = "CORE_GLOBAL_STATE", e[e.CORE_ON_SERVER_STATUS_PING = 65540] = "CORE_ON_SERVER_STATUS_PING", e[e.CORE_ON_USER_JOINED = 65541] = "CORE_ON_USER_JOINED", e[e.CORE_ON_USER_LEFT = 65542] = "CORE_ON_USER_LEFT", e[e.CORE_ON_CLIENT_JOINED = 65543] = "CORE_ON_CLIENT_JOINED", e[e.CORE_ON_CLIENT_LEFT = 65544] = "CORE_ON_CLIENT_LEFT", e[e.CORE_ON_SERVER_STARTED = 65545] = "CORE_ON_SERVER_STARTED", e[e.CORE_ON_SERVER_STOPPED = 65546] = "CORE_ON_SERVER_STOPPED", e[e.CORE_ON_SERVER_STOPPING = 65547] = "CORE_ON_SERVER_STOPPING", e[e.CORE_ON_CLIENT_READY = 65548] = "CORE_ON_CLIENT_READY", e[e.CORE_CLIENT_READY = 65549] = "CORE_CLIENT_READY", e[e.CORE_SERVER_INIT = 65550] = "CORE_SERVER_INIT", e[e.CORE_ON_PLUGIN_RELOADED = 65551] = "CORE_ON_PLUGIN_RELOADED", e[e.CORE_SERVER_START = 65552] = "CORE_SERVER_START", e[e.CORE_SERVER_STOP = 65553] = "CORE_SERVER_STOP", e[e.CORE_ON_HOSTED_SERVER_EXIT = 65554] = "CORE_ON_HOSTED_SERVER_EXIT", e[e.CORE_DYNAMIC_CONFIG = 65555] = "CORE_DYNAMIC_CONFIG", e[e.CORE_PROXY_RPC_AUTH_TICKET = 65556] = "CORE_PROXY_RPC_AUTH_TICKET", e[e.GROUP_KEEPALIVE = 131072] = "GROUP_KEEPALIVE", e[e.KEEPALIVE_REQUEST = 131073] = "KEEPALIVE_REQUEST", e[e.KEEPALIVE_RESPONSE = 131074] = "KEEPALIVE_RESPONSE", e[e.GROUP_EVENTS = 262144] = "GROUP_EVENTS", e[e.EVENTS_PROFILE_UPDATE = 262145] = "EVENTS_PROFILE_UPDATE", e[e.EVENTS_CHANNEL_COMPLETE = 262146] = "EVENTS_CHANNEL_COMPLETE", e[e.EVENTS_SPEECH_PLAYBACK_COMPLETE = 262147] = "EVENTS_SPEECH_PLAYBACK_COMPLETE", e[e.GROUP_ANALYTICS = 524288] = "GROUP_ANALYTICS", e[e.ANALYTICS_LOGS = 524289] = "ANALYTICS_LOGS", e[e.ANALYTICS_EVENTS = 524290] = "ANALYTICS_EVENTS", e[e.ANALYTICS_USAGES = 524291] = "ANALYTICS_USAGES", e[e.ANALYTICS_USAGE = 524292] = "ANALYTICS_USAGE", e[e.ANALYTICS_SPECIAL_LOG = 524293] = "ANALYTICS_SPECIAL_LOG", e[e.ANALYTICS_PROCESSING_UPDATE = 524294] = "ANALYTICS_PROCESSING_UPDATE", e[e.ANALYTICS_REACTIVE_PROCESSING_UPDATE = 524295] = "ANALYTICS_REACTIVE_PROCESSING_UPDATE", e[e.ANALYTICS_IKON_PROXY_SERVER_STATS = 524296] = "ANALYTICS_IKON_PROXY_SERVER_STATS", e[e.GROUP_ACTIONS = 1048576] = "GROUP_ACTIONS", e[e.ACTION_CALL = 1048577] = "ACTION_CALL", e[e.ACTION_ACTIVE = 1048578] = "ACTION_ACTIVE", e[e.ACTION_TEXT_OUTPUT = 1048579] = "ACTION_TEXT_OUTPUT", e[e.ACTION_TEXT_OUTPUT_DELTA = 1048580] = "ACTION_TEXT_OUTPUT_DELTA", e[e.ACTION_TEXT_OUTPUT_DELTA_FULL = 1048581] = "ACTION_TEXT_OUTPUT_DELTA_FULL", e[e.ACTION_SET_STATE = 1048582] = "ACTION_SET_STATE", e[e.ACTION_TAP = 1048583] = "ACTION_TAP", e[e.ACTION_PAN = 1048584] = "ACTION_PAN", e[e.ACTION_ZOOM = 1048585] = "ACTION_ZOOM", e[e.ACTION_FILE_UPLOAD_BEGIN = 1048586] = "ACTION_FILE_UPLOAD_BEGIN", e[e.ACTION_FILE_UPLOAD_DATA = 1048587] = "ACTION_FILE_UPLOAD_DATA", e[e.ACTION_FILE_UPLOAD_ACK = 1048588] = "ACTION_FILE_UPLOAD_ACK", e[e.ACTION_FILE_UPLOAD_END = 1048589] = "ACTION_FILE_UPLOAD_END", e[e.ACTION_FILE_UPLOAD_RESULT = 1048590] = "ACTION_FILE_UPLOAD_RESULT", e[e.ACTION_OPEN_CHANNEL = 1048591] = "ACTION_OPEN_CHANNEL", e[e.ACTION_OPEN_EXTERNAL_URL = 1048592] = "ACTION_OPEN_EXTERNAL_URL", e[e.ACTION_UI_OPEN_VIEW = 1048593] = "ACTION_UI_OPEN_VIEW", e[e.ACTION_UI_CLOSE_VIEW = 1048594] = "ACTION_UI_CLOSE_VIEW", e[e.ACTION_UI_BLOCKING_BEGIN = 1048595] = "ACTION_UI_BLOCKING_BEGIN", e[e.ACTION_UI_BLOCKING_END = 1048596] = "ACTION_UI_BLOCKING_END", e[e.ACTION_UI_UPDATE_TEXT_DELTA = 1048597] = "ACTION_UI_UPDATE_TEXT_DELTA", e[e.ACTION_UI_DELETE_CONTAINER = 1048598] = "ACTION_UI_DELETE_CONTAINER", e[e.ACTION_UPDATE_GFX_SHADER = 1048599] = "ACTION_UPDATE_GFX_SHADER", e[e.ACTION_FUNCTION_REGISTER = 1048600] = "ACTION_FUNCTION_REGISTER", e[e.ACTION_FUNCTION_CALL = 1048601] = "ACTION_FUNCTION_CALL", e[e.ACTION_FUNCTION_RESULT = 1048602] = "ACTION_FUNCTION_RESULT", e[e.ACTION_GENERATE_ANSWER = 1048603] = "ACTION_GENERATE_ANSWER", e[e.ACTION_REGENERATE_ANSWER = 1048604] = "ACTION_REGENERATE_ANSWER", e[e.ACTION_CLEAR_CHAT_MESSAGE_HISTORY = 1048605] = "ACTION_CLEAR_CHAT_MESSAGE_HISTORY", e[e.ACTION_CLEAR_STATE = 1048606] = "ACTION_CLEAR_STATE", e[e.ACTION_RELOAD_CHANNELS = 1048607] = "ACTION_RELOAD_CHANNELS", e[e.ACTION_RELOAD_PROFILE = 1048608] = "ACTION_RELOAD_PROFILE", e[e.ACTION_CLASSIFICATION_RESULT = 1048609] = "ACTION_CLASSIFICATION_RESULT", e[e.ACTION_AUDIO_STOP = 1048610] = "ACTION_AUDIO_STOP", e[e.ACTION_CALL_TEXT = 1048611] = "ACTION_CALL_TEXT", e[e.ACTION_RELOAD_APPLICATION = 1048612] = "ACTION_RELOAD_APPLICATION", e[e.ACTION_CANCEL_GENERATION = 1048613] = "ACTION_CANCEL_GENERATION", e[e.ACTION_UI_SET_CONTAINER_STABLE = 1048614] = "ACTION_UI_SET_CONTAINER_STABLE", e[e.ACTION_SPEECH_RECOGNIZED = 1048615] = "ACTION_SPEECH_RECOGNIZED", e[e.ACTION_CALL_RESULT = 1048616] = "ACTION_CALL_RESULT", e[e.ACTION_RELOAD_PROVIDER = 1048617] = "ACTION_RELOAD_PROVIDER", e[e.ACTION_DOWNLOAD = 1048618] = "ACTION_DOWNLOAD", e[e.ACTION_SCROLL_TO_CONTAINER = 1048619] = "ACTION_SCROLL_TO_CONTAINER", e[e.ACTION_UI_CLEAR_STREAM = 1048620] = "ACTION_UI_CLEAR_STREAM", e[e.ACTION_PLAY_SOUND = 1048621] = "ACTION_PLAY_SOUND", e[e.ACTION_ENTER_FULLSCREEN = 1048622] = "ACTION_ENTER_FULLSCREEN", e[e.ACTION_STOP_SOUND = 1048623] = "ACTION_STOP_SOUND", e[e.ACTION_START_RECORDING = 1048624] = "ACTION_START_RECORDING", e[e.ACTION_STOP_RECORDING = 1048625] = "ACTION_STOP_RECORDING", e[e.ACTION_OPTIMISTIC_CLIENT_CALLS = 1048626] = "ACTION_OPTIMISTIC_CLIENT_CALLS", e[e.ACTION_FUNCTION_ENUMERATION_ITEM = 1048627] = "ACTION_FUNCTION_ENUMERATION_ITEM", e[e.ACTION_FUNCTION_ENUMERATION_END = 1048628] = "ACTION_FUNCTION_ENUMERATION_END", e[e.ACTION_FUNCTION_CANCEL = 1048629] = "ACTION_FUNCTION_CANCEL", e[e.ACTION_FUNCTION_DISPOSE = 1048630] = "ACTION_FUNCTION_DISPOSE", e[e.ACTION_FUNCTION_ERROR = 1048631] = "ACTION_FUNCTION_ERROR", e[e.ACTION_FUNCTION_ACK = 1048632] = "ACTION_FUNCTION_ACK", e[e.GROUP_UI = 2097152] = "GROUP_UI", e[e.UI_STREAM_BEGIN = 2097153] = "UI_STREAM_BEGIN", e[e.UI_STREAM_END = 2097154] = "UI_STREAM_END", e[e.UI_CONTAINER_BEGIN = 2097155] = "UI_CONTAINER_BEGIN", e[e.UI_CONTAINER_END = 2097156] = "UI_CONTAINER_END", e[e.UI_SECTION_BEGIN = 2097157] = "UI_SECTION_BEGIN", e[e.UI_SECTION_END = 2097158] = "UI_SECTION_END", e[e.UI_LIST_BEGIN = 2097159] = "UI_LIST_BEGIN", e[e.UI_LIST_ITEM = 2097160] = "UI_LIST_ITEM", e[e.UI_LIST_END = 2097161] = "UI_LIST_END", e[e.UI_TEXT = 2097162] = "UI_TEXT", e[e.UI_HEADER = 2097163] = "UI_HEADER", e[e.UI_SEPARATOR = 2097164] = "UI_SEPARATOR", e[e.UI_BUTTON = 2097165] = "UI_BUTTON", e[e.UI_ICON_BUTTON = 2097166] = "UI_ICON_BUTTON", e[e.UI_IMAGE = 2097167] = "UI_IMAGE", e[e.UI_FILE = 2097168] = "UI_FILE", e[e.UI_BADGE = 2097169] = "UI_BADGE", e[e.UI_CONTENT_LINK = 2097170] = "UI_CONTENT_LINK", e[e.UI_MAP = 2097171] = "UI_MAP", e[e.UI_VEGA_CHART = 2097172] = "UI_VEGA_CHART", e[e.UI_ICON = 2097173] = "UI_ICON", e[e.UI_FILE_UPLOAD_SECTION_BEGIN = 2097174] = "UI_FILE_UPLOAD_SECTION_BEGIN", e[e.UI_FILE_UPLOAD_SECTION_END = 2097175] = "UI_FILE_UPLOAD_SECTION_END", e[e.UI_MATERIAL_SYMBOL = 2097176] = "UI_MATERIAL_SYMBOL", e[e.UI_BUTTON_BEGIN = 2097177] = "UI_BUTTON_BEGIN", e[e.UI_BUTTON_END = 2097178] = "UI_BUTTON_END", e[e.UI_CONTAINER_DELETE = 2097179] = "UI_CONTAINER_DELETE", e[e.UI_INPUT_TEXT = 2097180] = "UI_INPUT_TEXT", e[e.UI_PROGRESS_BAR = 2097181] = "UI_PROGRESS_BAR", e[e.UI_UPDATE_BEGIN = 2097182] = "UI_UPDATE_BEGIN", e[e.UI_UPDATE_END = 2097183] = "UI_UPDATE_END", e[e.UI_AUTOCOMPLETE = 2097184] = "UI_AUTOCOMPLETE", e[e.UI_CHECKBOX = 2097185] = "UI_CHECKBOX", e[e.UI_QS = 2097186] = "UI_QS", e[e.UI_ELEMENT = 2097187] = "UI_ELEMENT", e[e.UI_STYLES = 2097188] = "UI_STYLES", e[e.UI_SVG = 2097189] = "UI_SVG", e[e.UI = 2097190] = "UI", e[e.UI_INIT = 2097191] = "UI_INIT", e[e.GROUP_COMMON = 4128768] = "GROUP_COMMON", e[e.GROUP_AUDIO = 4194304] = "GROUP_AUDIO", e[e.AUDIO_STREAM_BEGIN = 4194305] = "AUDIO_STREAM_BEGIN", e[e.AUDIO_STREAM_END = 4194306] = "AUDIO_STREAM_END", e[e.AUDIO_FRAME = 4194307] = "AUDIO_FRAME", e[e.AUDIO_FRAME_VOLUME = 4194308] = "AUDIO_FRAME_VOLUME", e[e.GROUP_VIDEO = 8388608] = "GROUP_VIDEO", e[e.VIDEO_STREAM_BEGIN = 8388609] = "VIDEO_STREAM_BEGIN", e[e.VIDEO_STREAM_END = 8388610] = "VIDEO_STREAM_END", e[e.VIDEO_FRAME = 8388611] = "VIDEO_FRAME", e[e.VIDEO_REQUEST_IDR_FRAME = 8388612] = "VIDEO_REQUEST_IDR_FRAME", e[e.VIDEO_INVALIDATE_FRAME = 8388613] = "VIDEO_INVALIDATE_FRAME", e[e.GROUP_TRACKING = 16777216] = "GROUP_TRACKING", e[e.TRACKING_STREAM_BEGIN = 16777217] = "TRACKING_STREAM_BEGIN", e[e.TRACKING_STREAM_END = 16777218] = "TRACKING_STREAM_END", e[e.TRACKING_FRAME = 16777219] = "TRACKING_FRAME", e[e.GROUP_SCENE = 33554432] = "GROUP_SCENE", e[e.SCENE_MESH = 33554433] = "SCENE_MESH", e[e.SCENE_ARRAY = 33554434] = "SCENE_ARRAY", e[e.GROUP_ALL = 67043328] = "GROUP_ALL", e[e.CONSTANT_GROUP_MASK = 2147418112] = "CONSTANT_GROUP_MASK", e))($ || {}),
|
|
9058
|
+
var $ = /* @__PURE__ */ ((e) => (e[e.NONE = 0] = "NONE", e[e.CONSTANT_GROUP_BITS = 15] = "CONSTANT_GROUP_BITS", e[e.CONSTANT_GROUP_OFFSET = 16] = "CONSTANT_GROUP_OFFSET", e[e.GROUP_CORE = 65536] = "GROUP_CORE", e[e.CORE_AUTH_RESPONSE = 65537] = "CORE_AUTH_RESPONSE", e[e.CORE_AUTH_TICKET = 65538] = "CORE_AUTH_TICKET", e[e.CORE_GLOBAL_STATE = 65539] = "CORE_GLOBAL_STATE", e[e.CORE_ON_SERVER_STATUS_PING = 65540] = "CORE_ON_SERVER_STATUS_PING", e[e.CORE_ON_USER_JOINED = 65541] = "CORE_ON_USER_JOINED", e[e.CORE_ON_USER_LEFT = 65542] = "CORE_ON_USER_LEFT", e[e.CORE_ON_CLIENT_JOINED = 65543] = "CORE_ON_CLIENT_JOINED", e[e.CORE_ON_CLIENT_LEFT = 65544] = "CORE_ON_CLIENT_LEFT", e[e.CORE_ON_SERVER_STARTED = 65545] = "CORE_ON_SERVER_STARTED", e[e.CORE_ON_SERVER_STOPPED = 65546] = "CORE_ON_SERVER_STOPPED", e[e.CORE_ON_SERVER_STOPPING = 65547] = "CORE_ON_SERVER_STOPPING", e[e.CORE_ON_CLIENT_READY = 65548] = "CORE_ON_CLIENT_READY", e[e.CORE_CLIENT_READY = 65549] = "CORE_CLIENT_READY", e[e.CORE_SERVER_INIT = 65550] = "CORE_SERVER_INIT", e[e.CORE_ON_PLUGIN_RELOADED = 65551] = "CORE_ON_PLUGIN_RELOADED", e[e.CORE_SERVER_START = 65552] = "CORE_SERVER_START", e[e.CORE_SERVER_STOP = 65553] = "CORE_SERVER_STOP", e[e.CORE_ON_HOSTED_SERVER_EXIT = 65554] = "CORE_ON_HOSTED_SERVER_EXIT", e[e.CORE_DYNAMIC_CONFIG = 65555] = "CORE_DYNAMIC_CONFIG", e[e.CORE_PROXY_RPC_AUTH_TICKET = 65556] = "CORE_PROXY_RPC_AUTH_TICKET", e[e.CORE_SERVER_INIT2 = 65557] = "CORE_SERVER_INIT2", e[e.GROUP_KEEPALIVE = 131072] = "GROUP_KEEPALIVE", e[e.KEEPALIVE_REQUEST = 131073] = "KEEPALIVE_REQUEST", e[e.KEEPALIVE_RESPONSE = 131074] = "KEEPALIVE_RESPONSE", e[e.GROUP_EVENTS = 262144] = "GROUP_EVENTS", e[e.EVENTS_PROFILE_UPDATE = 262145] = "EVENTS_PROFILE_UPDATE", e[e.EVENTS_CHANNEL_COMPLETE = 262146] = "EVENTS_CHANNEL_COMPLETE", e[e.EVENTS_SPEECH_PLAYBACK_COMPLETE = 262147] = "EVENTS_SPEECH_PLAYBACK_COMPLETE", e[e.GROUP_ANALYTICS = 524288] = "GROUP_ANALYTICS", e[e.ANALYTICS_LOGS = 524289] = "ANALYTICS_LOGS", e[e.ANALYTICS_EVENTS = 524290] = "ANALYTICS_EVENTS", e[e.ANALYTICS_USAGES = 524291] = "ANALYTICS_USAGES", e[e.ANALYTICS_USAGE = 524292] = "ANALYTICS_USAGE", e[e.ANALYTICS_SPECIAL_LOG = 524293] = "ANALYTICS_SPECIAL_LOG", e[e.ANALYTICS_PROCESSING_UPDATE = 524294] = "ANALYTICS_PROCESSING_UPDATE", e[e.ANALYTICS_REACTIVE_PROCESSING_UPDATE = 524295] = "ANALYTICS_REACTIVE_PROCESSING_UPDATE", e[e.ANALYTICS_IKON_PROXY_SERVER_STATS = 524296] = "ANALYTICS_IKON_PROXY_SERVER_STATS", e[e.GROUP_ACTIONS = 1048576] = "GROUP_ACTIONS", e[e.ACTION_CALL = 1048577] = "ACTION_CALL", e[e.ACTION_ACTIVE = 1048578] = "ACTION_ACTIVE", e[e.ACTION_TEXT_OUTPUT = 1048579] = "ACTION_TEXT_OUTPUT", e[e.ACTION_TEXT_OUTPUT_DELTA = 1048580] = "ACTION_TEXT_OUTPUT_DELTA", e[e.ACTION_TEXT_OUTPUT_DELTA_FULL = 1048581] = "ACTION_TEXT_OUTPUT_DELTA_FULL", e[e.ACTION_SET_STATE = 1048582] = "ACTION_SET_STATE", e[e.ACTION_TAP = 1048583] = "ACTION_TAP", e[e.ACTION_PAN = 1048584] = "ACTION_PAN", e[e.ACTION_ZOOM = 1048585] = "ACTION_ZOOM", e[e.ACTION_FILE_UPLOAD_BEGIN = 1048586] = "ACTION_FILE_UPLOAD_BEGIN", e[e.ACTION_FILE_UPLOAD_DATA = 1048587] = "ACTION_FILE_UPLOAD_DATA", e[e.ACTION_FILE_UPLOAD_ACK = 1048588] = "ACTION_FILE_UPLOAD_ACK", e[e.ACTION_FILE_UPLOAD_END = 1048589] = "ACTION_FILE_UPLOAD_END", e[e.ACTION_FILE_UPLOAD_RESULT = 1048590] = "ACTION_FILE_UPLOAD_RESULT", e[e.ACTION_OPEN_CHANNEL = 1048591] = "ACTION_OPEN_CHANNEL", e[e.ACTION_OPEN_EXTERNAL_URL = 1048592] = "ACTION_OPEN_EXTERNAL_URL", e[e.ACTION_UI_OPEN_VIEW = 1048593] = "ACTION_UI_OPEN_VIEW", e[e.ACTION_UI_CLOSE_VIEW = 1048594] = "ACTION_UI_CLOSE_VIEW", e[e.ACTION_UI_BLOCKING_BEGIN = 1048595] = "ACTION_UI_BLOCKING_BEGIN", e[e.ACTION_UI_BLOCKING_END = 1048596] = "ACTION_UI_BLOCKING_END", e[e.ACTION_UI_UPDATE_TEXT_DELTA = 1048597] = "ACTION_UI_UPDATE_TEXT_DELTA", e[e.ACTION_UI_DELETE_CONTAINER = 1048598] = "ACTION_UI_DELETE_CONTAINER", e[e.ACTION_UPDATE_GFX_SHADER = 1048599] = "ACTION_UPDATE_GFX_SHADER", e[e.ACTION_FUNCTION_REGISTER = 1048600] = "ACTION_FUNCTION_REGISTER", e[e.ACTION_FUNCTION_CALL = 1048601] = "ACTION_FUNCTION_CALL", e[e.ACTION_FUNCTION_RESULT = 1048602] = "ACTION_FUNCTION_RESULT", e[e.ACTION_GENERATE_ANSWER = 1048603] = "ACTION_GENERATE_ANSWER", e[e.ACTION_REGENERATE_ANSWER = 1048604] = "ACTION_REGENERATE_ANSWER", e[e.ACTION_CLEAR_CHAT_MESSAGE_HISTORY = 1048605] = "ACTION_CLEAR_CHAT_MESSAGE_HISTORY", e[e.ACTION_CLEAR_STATE = 1048606] = "ACTION_CLEAR_STATE", e[e.ACTION_RELOAD_CHANNELS = 1048607] = "ACTION_RELOAD_CHANNELS", e[e.ACTION_RELOAD_PROFILE = 1048608] = "ACTION_RELOAD_PROFILE", e[e.ACTION_CLASSIFICATION_RESULT = 1048609] = "ACTION_CLASSIFICATION_RESULT", e[e.ACTION_AUDIO_STOP = 1048610] = "ACTION_AUDIO_STOP", e[e.ACTION_CALL_TEXT = 1048611] = "ACTION_CALL_TEXT", e[e.ACTION_RELOAD_APPLICATION = 1048612] = "ACTION_RELOAD_APPLICATION", e[e.ACTION_CANCEL_GENERATION = 1048613] = "ACTION_CANCEL_GENERATION", e[e.ACTION_UI_SET_CONTAINER_STABLE = 1048614] = "ACTION_UI_SET_CONTAINER_STABLE", e[e.ACTION_SPEECH_RECOGNIZED = 1048615] = "ACTION_SPEECH_RECOGNIZED", e[e.ACTION_CALL_RESULT = 1048616] = "ACTION_CALL_RESULT", e[e.ACTION_RELOAD_PROVIDER = 1048617] = "ACTION_RELOAD_PROVIDER", e[e.ACTION_DOWNLOAD = 1048618] = "ACTION_DOWNLOAD", e[e.ACTION_SCROLL_TO_CONTAINER = 1048619] = "ACTION_SCROLL_TO_CONTAINER", e[e.ACTION_UI_CLEAR_STREAM = 1048620] = "ACTION_UI_CLEAR_STREAM", e[e.ACTION_PLAY_SOUND = 1048621] = "ACTION_PLAY_SOUND", e[e.ACTION_ENTER_FULLSCREEN = 1048622] = "ACTION_ENTER_FULLSCREEN", e[e.ACTION_STOP_SOUND = 1048623] = "ACTION_STOP_SOUND", e[e.ACTION_START_RECORDING = 1048624] = "ACTION_START_RECORDING", e[e.ACTION_STOP_RECORDING = 1048625] = "ACTION_STOP_RECORDING", e[e.ACTION_OPTIMISTIC_CLIENT_CALLS = 1048626] = "ACTION_OPTIMISTIC_CLIENT_CALLS", e[e.ACTION_FUNCTION_ENUMERATION_ITEM = 1048627] = "ACTION_FUNCTION_ENUMERATION_ITEM", e[e.ACTION_FUNCTION_ENUMERATION_END = 1048628] = "ACTION_FUNCTION_ENUMERATION_END", e[e.ACTION_FUNCTION_CANCEL = 1048629] = "ACTION_FUNCTION_CANCEL", e[e.ACTION_FUNCTION_DISPOSE = 1048630] = "ACTION_FUNCTION_DISPOSE", e[e.ACTION_FUNCTION_ERROR = 1048631] = "ACTION_FUNCTION_ERROR", e[e.ACTION_FUNCTION_ACK = 1048632] = "ACTION_FUNCTION_ACK", e[e.GROUP_UI = 2097152] = "GROUP_UI", e[e.UI_STREAM_BEGIN = 2097153] = "UI_STREAM_BEGIN", e[e.UI_STREAM_END = 2097154] = "UI_STREAM_END", e[e.UI_CONTAINER_BEGIN = 2097155] = "UI_CONTAINER_BEGIN", e[e.UI_CONTAINER_END = 2097156] = "UI_CONTAINER_END", e[e.UI_SECTION_BEGIN = 2097157] = "UI_SECTION_BEGIN", e[e.UI_SECTION_END = 2097158] = "UI_SECTION_END", e[e.UI_LIST_BEGIN = 2097159] = "UI_LIST_BEGIN", e[e.UI_LIST_ITEM = 2097160] = "UI_LIST_ITEM", e[e.UI_LIST_END = 2097161] = "UI_LIST_END", e[e.UI_TEXT = 2097162] = "UI_TEXT", e[e.UI_HEADER = 2097163] = "UI_HEADER", e[e.UI_SEPARATOR = 2097164] = "UI_SEPARATOR", e[e.UI_BUTTON = 2097165] = "UI_BUTTON", e[e.UI_ICON_BUTTON = 2097166] = "UI_ICON_BUTTON", e[e.UI_IMAGE = 2097167] = "UI_IMAGE", e[e.UI_FILE = 2097168] = "UI_FILE", e[e.UI_BADGE = 2097169] = "UI_BADGE", e[e.UI_CONTENT_LINK = 2097170] = "UI_CONTENT_LINK", e[e.UI_MAP = 2097171] = "UI_MAP", e[e.UI_VEGA_CHART = 2097172] = "UI_VEGA_CHART", e[e.UI_ICON = 2097173] = "UI_ICON", e[e.UI_FILE_UPLOAD_SECTION_BEGIN = 2097174] = "UI_FILE_UPLOAD_SECTION_BEGIN", e[e.UI_FILE_UPLOAD_SECTION_END = 2097175] = "UI_FILE_UPLOAD_SECTION_END", e[e.UI_MATERIAL_SYMBOL = 2097176] = "UI_MATERIAL_SYMBOL", e[e.UI_BUTTON_BEGIN = 2097177] = "UI_BUTTON_BEGIN", e[e.UI_BUTTON_END = 2097178] = "UI_BUTTON_END", e[e.UI_CONTAINER_DELETE = 2097179] = "UI_CONTAINER_DELETE", e[e.UI_INPUT_TEXT = 2097180] = "UI_INPUT_TEXT", e[e.UI_PROGRESS_BAR = 2097181] = "UI_PROGRESS_BAR", e[e.UI_UPDATE_BEGIN = 2097182] = "UI_UPDATE_BEGIN", e[e.UI_UPDATE_END = 2097183] = "UI_UPDATE_END", e[e.UI_AUTOCOMPLETE = 2097184] = "UI_AUTOCOMPLETE", e[e.UI_CHECKBOX = 2097185] = "UI_CHECKBOX", e[e.UI_QS = 2097186] = "UI_QS", e[e.UI_ELEMENT = 2097187] = "UI_ELEMENT", e[e.UI_STYLES = 2097188] = "UI_STYLES", e[e.UI_SVG = 2097189] = "UI_SVG", e[e.UI = 2097190] = "UI", e[e.UI_INIT = 2097191] = "UI_INIT", e[e.GROUP_COMMON = 4128768] = "GROUP_COMMON", e[e.GROUP_AUDIO = 4194304] = "GROUP_AUDIO", e[e.AUDIO_STREAM_BEGIN = 4194305] = "AUDIO_STREAM_BEGIN", e[e.AUDIO_STREAM_END = 4194306] = "AUDIO_STREAM_END", e[e.AUDIO_FRAME = 4194307] = "AUDIO_FRAME", e[e.AUDIO_FRAME_VOLUME = 4194308] = "AUDIO_FRAME_VOLUME", e[e.GROUP_VIDEO = 8388608] = "GROUP_VIDEO", e[e.VIDEO_STREAM_BEGIN = 8388609] = "VIDEO_STREAM_BEGIN", e[e.VIDEO_STREAM_END = 8388610] = "VIDEO_STREAM_END", e[e.VIDEO_FRAME = 8388611] = "VIDEO_FRAME", e[e.VIDEO_REQUEST_IDR_FRAME = 8388612] = "VIDEO_REQUEST_IDR_FRAME", e[e.VIDEO_INVALIDATE_FRAME = 8388613] = "VIDEO_INVALIDATE_FRAME", e[e.GROUP_TRACKING = 16777216] = "GROUP_TRACKING", e[e.TRACKING_STREAM_BEGIN = 16777217] = "TRACKING_STREAM_BEGIN", e[e.TRACKING_STREAM_END = 16777218] = "TRACKING_STREAM_END", e[e.TRACKING_FRAME = 16777219] = "TRACKING_FRAME", e[e.GROUP_SCENE = 33554432] = "GROUP_SCENE", e[e.SCENE_MESH = 33554433] = "SCENE_MESH", e[e.SCENE_ARRAY = 33554434] = "SCENE_ARRAY", e[e.GROUP_ALL = 67043328] = "GROUP_ALL", e[e.CONSTANT_GROUP_MASK = 2147418112] = "CONSTANT_GROUP_MASK", e))($ || {}), Mo;
|
|
8981
9059
|
((e) => {
|
|
8982
9060
|
e.TeleportVersion = 1, e.TeleportOpcode = 33554434, e.TeleportLayoutHash = 2736242701, e.SubIdFieldId = 53696160, e.SerializerTypeFieldId = 945836134, e.ElementCountFieldId = 2575916304, e.StrideSizeFieldId = 2643117937, e.ByteOffsetFieldId = 2645860747, e.TypeFieldId = 3167053791, e.TypeSizeFieldId = 3335201933, e.ByteArrayFieldId = 4137315252, e.ElementOffsetFieldId = 4223202547;
|
|
8983
9061
|
function n(t) {
|
|
@@ -9074,12 +9152,12 @@ var $ = /* @__PURE__ */ ((e) => (e[e.NONE = 0] = "NONE", e[e.CONSTANT_GROUP_BITS
|
|
|
9074
9152
|
}
|
|
9075
9153
|
e.toProtocolMessage = w;
|
|
9076
9154
|
function F(t, r) {
|
|
9077
|
-
const o =
|
|
9155
|
+
const o = N(t, e.TeleportOpcode, e.TeleportVersion);
|
|
9078
9156
|
return a(o, r);
|
|
9079
9157
|
}
|
|
9080
9158
|
e.fromProtocolMessage = F;
|
|
9081
|
-
})(
|
|
9082
|
-
var
|
|
9159
|
+
})(Mo || (Mo = {}));
|
|
9160
|
+
var go;
|
|
9083
9161
|
((e) => {
|
|
9084
9162
|
e.TeleportVersion = 1, e.TeleportOpcode = 33554433, e.TeleportLayoutHash = 2579681493, e.VerticesFieldId = 1896337117;
|
|
9085
9163
|
function n(r) {
|
|
@@ -9131,7 +9209,7 @@ var Mo;
|
|
|
9131
9209
|
}
|
|
9132
9210
|
e.toProtocolMessage = w;
|
|
9133
9211
|
function F(r, o) {
|
|
9134
|
-
const l =
|
|
9212
|
+
const l = N(r, e.TeleportOpcode, e.TeleportVersion);
|
|
9135
9213
|
return a(l, o);
|
|
9136
9214
|
}
|
|
9137
9215
|
e.fromProtocolMessage = F;
|
|
@@ -9142,8 +9220,8 @@ var Mo;
|
|
|
9142
9220
|
o.push(l.asFloat32());
|
|
9143
9221
|
return o;
|
|
9144
9222
|
}
|
|
9145
|
-
})(
|
|
9146
|
-
var
|
|
9223
|
+
})(go || (go = {}));
|
|
9224
|
+
var Po;
|
|
9147
9225
|
((e) => {
|
|
9148
9226
|
e.TeleportVersion = 2, e.TeleportOpcode = 16777219, e.TeleportLayoutHash = 4035321450, e.TimestampInUsFieldId = 271275304, e.FaceTransformationMatrixFieldId = 334288592, e.DurationInUsFieldId = 2541432218, e.FaceBlendshapesFieldId = 3342364356;
|
|
9149
9227
|
function n(r) {
|
|
@@ -9216,7 +9294,7 @@ var go;
|
|
|
9216
9294
|
}
|
|
9217
9295
|
e.toProtocolMessage = w;
|
|
9218
9296
|
function F(r, o) {
|
|
9219
|
-
const l =
|
|
9297
|
+
const l = N(r, e.TeleportOpcode, e.TeleportVersion);
|
|
9220
9298
|
return a(l, o);
|
|
9221
9299
|
}
|
|
9222
9300
|
e.fromProtocolMessage = F;
|
|
@@ -9227,7 +9305,7 @@ var go;
|
|
|
9227
9305
|
o.push(l.asFloat32());
|
|
9228
9306
|
return o;
|
|
9229
9307
|
}
|
|
9230
|
-
})(
|
|
9308
|
+
})(Po || (Po = {}));
|
|
9231
9309
|
var re;
|
|
9232
9310
|
((e) => {
|
|
9233
9311
|
e.TeleportVersion = 1, e.TeleportOpcode = 16777217, e.TeleportLayoutHash = 2045327925, e.TypeFieldId = 3167053791, e.FaceBlendshapesFieldId = 3342364356, e.CategoryFieldId = 3612929027;
|
|
@@ -9292,7 +9370,7 @@ var re;
|
|
|
9292
9370
|
}
|
|
9293
9371
|
e.toProtocolMessage = w;
|
|
9294
9372
|
function F(r, o) {
|
|
9295
|
-
const l =
|
|
9373
|
+
const l = N(r, e.TeleportOpcode, e.TeleportVersion);
|
|
9296
9374
|
return a(l, o);
|
|
9297
9375
|
}
|
|
9298
9376
|
e.fromProtocolMessage = F;
|
|
@@ -9304,7 +9382,7 @@ var re;
|
|
|
9304
9382
|
return o;
|
|
9305
9383
|
}
|
|
9306
9384
|
})(re || (re = {}));
|
|
9307
|
-
var
|
|
9385
|
+
var Vo;
|
|
9308
9386
|
((e) => {
|
|
9309
9387
|
e.TeleportVersion = 1, e.TeleportOpcode = 16777218, e.TeleportLayoutHash = 4089149075;
|
|
9310
9388
|
function n(t) {
|
|
@@ -9344,12 +9422,12 @@ var Po;
|
|
|
9344
9422
|
}
|
|
9345
9423
|
e.toProtocolMessage = w;
|
|
9346
9424
|
function F(t, r) {
|
|
9347
|
-
const o =
|
|
9425
|
+
const o = N(t, e.TeleportOpcode, e.TeleportVersion);
|
|
9348
9426
|
return a(o, r);
|
|
9349
9427
|
}
|
|
9350
9428
|
e.fromProtocolMessage = F;
|
|
9351
|
-
})(
|
|
9352
|
-
var
|
|
9429
|
+
})(Vo || (Vo = {}));
|
|
9430
|
+
var So;
|
|
9353
9431
|
((e) => {
|
|
9354
9432
|
e.TeleportVersion = 1, e.TeleportOpcode = 2097184, e.TeleportLayoutHash = 1419269744, e.VariantFieldId = 224706665, e.StyleIdFieldId = 979822885, e.NameFieldId = 1107713536, e.ColorFieldId = 1668824531, e.ElementIdFieldId = 1753055760, e.InitialValueFieldId = 2273729899, e.LabelsFieldId = 2329079073, e.UpdateActionIdFieldId = 3146631935, e.PlaceholderFieldId = 3367995660, e.MaxCountFieldId = 3826319868, e.MinCountFieldId = 3942705935, e.OptionsFieldId = 3945507786;
|
|
9355
9433
|
function n(o) {
|
|
@@ -9375,8 +9453,8 @@ var Vo;
|
|
|
9375
9453
|
u.writeString(b);
|
|
9376
9454
|
}), l.writeStringField(e.UpdateActionIdFieldId, o.UpdateActionId), l.writeStringField(e.PlaceholderFieldId, o.Placeholder), l.writeInt32Field(e.MaxCountFieldId, o.MaxCount | 0), l.writeInt32Field(e.MinCountFieldId, o.MinCount | 0), l.writeArrayField(e.OptionsFieldId, S.Object, (u) => {
|
|
9377
9455
|
for (const b of o.Options)
|
|
9378
|
-
u.writeObject(e.UIAutocompleteOption.TeleportVersion, (
|
|
9379
|
-
e.UIAutocompleteOption.writeToTeleport(b,
|
|
9456
|
+
u.writeObject(e.UIAutocompleteOption.TeleportVersion, (O) => {
|
|
9457
|
+
e.UIAutocompleteOption.writeToTeleport(b, O);
|
|
9380
9458
|
});
|
|
9381
9459
|
});
|
|
9382
9460
|
}
|
|
@@ -9475,7 +9553,7 @@ var Vo;
|
|
|
9475
9553
|
}
|
|
9476
9554
|
e.toProtocolMessage = w;
|
|
9477
9555
|
function F(o, l) {
|
|
9478
|
-
const u =
|
|
9556
|
+
const u = N(o, e.TeleportOpcode, e.TeleportVersion);
|
|
9479
9557
|
return a(u, l);
|
|
9480
9558
|
}
|
|
9481
9559
|
e.fromProtocolMessage = F;
|
|
@@ -9506,23 +9584,23 @@ var Vo;
|
|
|
9506
9584
|
o.reset = u;
|
|
9507
9585
|
function b(T) {
|
|
9508
9586
|
const h = new m(o.TeleportVersion);
|
|
9509
|
-
return
|
|
9587
|
+
return O(T, h), h.finish();
|
|
9510
9588
|
}
|
|
9511
9589
|
o.encode = b;
|
|
9512
|
-
function
|
|
9590
|
+
function O(T, h) {
|
|
9513
9591
|
h.writeStringField(o.NameFieldId, T.Name), h.writeStringField(o.ValueFieldId, T.Value), h.writeStringField(o.GroupFieldId, T.Group);
|
|
9514
9592
|
}
|
|
9515
|
-
o.writeToTeleport =
|
|
9593
|
+
o.writeToTeleport = O;
|
|
9516
9594
|
function p(T, h) {
|
|
9517
9595
|
const g = y.create(T);
|
|
9518
|
-
return
|
|
9596
|
+
return E(g, h);
|
|
9519
9597
|
}
|
|
9520
9598
|
o.decode = p;
|
|
9521
|
-
function
|
|
9599
|
+
function E(T, h) {
|
|
9522
9600
|
const g = h ?? l();
|
|
9523
9601
|
return u(g), I(T, g), g;
|
|
9524
9602
|
}
|
|
9525
|
-
o.readFromTeleport =
|
|
9603
|
+
o.readFromTeleport = E;
|
|
9526
9604
|
function I(T, h) {
|
|
9527
9605
|
let g;
|
|
9528
9606
|
for (; (g = T.next()) !== null; )
|
|
@@ -9548,8 +9626,8 @@ var Vo;
|
|
|
9548
9626
|
}
|
|
9549
9627
|
}
|
|
9550
9628
|
})(e.UIAutocompleteOption || (e.UIAutocompleteOption = {}));
|
|
9551
|
-
})(
|
|
9552
|
-
var
|
|
9629
|
+
})(So || (So = {}));
|
|
9630
|
+
var ko;
|
|
9553
9631
|
((e) => {
|
|
9554
9632
|
e.TeleportVersion = 1, e.TeleportOpcode = 2097169, e.TeleportLayoutHash = 147991301, e.DropActionIdFieldId = 125663982, e.VariantFieldId = 224706665, e.DragOverActionIdFieldId = 397939120, e.DragEndActionIdFieldId = 604708310, e.DragLeaveActionIdFieldId = 807214320, e.StyleIdFieldId = 979822885, e.PressStartActionIdFieldId = 1115189793, e.PressChangeActionIdFieldId = 1297223534, e.PressEndActionIdFieldId = 1604349297, e.ColorFieldId = 1668824531, e.ElementIdFieldId = 1753055760, e.DragStartActionIdFieldId = 2069639306, e.TextFieldId = 2069861431, e.LabelsFieldId = 2329079073, e.ClickActionIdFieldId = 2904763197, e.DragEnterActionIdFieldId = 3852067844, e.PressUpActionIdFieldId = 4113077146;
|
|
9555
9633
|
function n(r) {
|
|
@@ -9697,7 +9775,7 @@ var So;
|
|
|
9697
9775
|
}
|
|
9698
9776
|
e.toProtocolMessage = w;
|
|
9699
9777
|
function F(r, o) {
|
|
9700
|
-
const l =
|
|
9778
|
+
const l = N(r, e.TeleportOpcode, e.TeleportVersion);
|
|
9701
9779
|
return a(l, o);
|
|
9702
9780
|
}
|
|
9703
9781
|
e.fromProtocolMessage = F;
|
|
@@ -9708,8 +9786,8 @@ var So;
|
|
|
9708
9786
|
o.push(l.asString());
|
|
9709
9787
|
return o;
|
|
9710
9788
|
}
|
|
9711
|
-
})(
|
|
9712
|
-
var
|
|
9789
|
+
})(ko || (ko = {}));
|
|
9790
|
+
var Oo;
|
|
9713
9791
|
((e) => {
|
|
9714
9792
|
e.TeleportVersion = 1, e.TeleportOpcode = 2097165, e.TeleportLayoutHash = 3408439712, e.IconFieldId = 59431001, e.DropActionIdFieldId = 125663982, e.VariantFieldId = 224706665, e.DragOverActionIdFieldId = 397939120, e.DragEndActionIdFieldId = 604708310, e.DragLeaveActionIdFieldId = 807214320, e.StyleIdFieldId = 979822885, e.PressStartActionIdFieldId = 1115189793, e.PressChangeActionIdFieldId = 1297223534, e.PressEndActionIdFieldId = 1604349297, e.ColorFieldId = 1668824531, e.ElementIdFieldId = 1753055760, e.DragStartActionIdFieldId = 2069639306, e.TextFieldId = 2069861431, e.LabelsFieldId = 2329079073, e.ClickActionIdFieldId = 2904763197, e.DragEnterActionIdFieldId = 3852067844, e.PressUpActionIdFieldId = 4113077146;
|
|
9715
9793
|
function n(r) {
|
|
@@ -9863,7 +9941,7 @@ var ko;
|
|
|
9863
9941
|
}
|
|
9864
9942
|
e.toProtocolMessage = w;
|
|
9865
9943
|
function F(r, o) {
|
|
9866
|
-
const l =
|
|
9944
|
+
const l = N(r, e.TeleportOpcode, e.TeleportVersion);
|
|
9867
9945
|
return a(l, o);
|
|
9868
9946
|
}
|
|
9869
9947
|
e.fromProtocolMessage = F;
|
|
@@ -9874,8 +9952,8 @@ var ko;
|
|
|
9874
9952
|
o.push(l.asString());
|
|
9875
9953
|
return o;
|
|
9876
9954
|
}
|
|
9877
|
-
})(
|
|
9878
|
-
var
|
|
9955
|
+
})(Oo || (Oo = {}));
|
|
9956
|
+
var Co;
|
|
9879
9957
|
((e) => {
|
|
9880
9958
|
e.TeleportVersion = 1, e.TeleportOpcode = 2097177, e.TeleportLayoutHash = 1373665975, e.DropActionIdFieldId = 125663982, e.VariantFieldId = 224706665, e.DragOverActionIdFieldId = 397939120, e.DragEndActionIdFieldId = 604708310, e.DragLeaveActionIdFieldId = 807214320, e.StyleIdFieldId = 979822885, e.PressStartActionIdFieldId = 1115189793, e.PressChangeActionIdFieldId = 1297223534, e.PressEndActionIdFieldId = 1604349297, e.ColorFieldId = 1668824531, e.ElementIdFieldId = 1753055760, e.DragStartActionIdFieldId = 2069639306, e.LabelsFieldId = 2329079073, e.ClickActionIdFieldId = 2904763197, e.DragEnterActionIdFieldId = 3852067844, e.PressUpActionIdFieldId = 4113077146;
|
|
9881
9959
|
function n(r) {
|
|
@@ -10017,7 +10095,7 @@ var Oo;
|
|
|
10017
10095
|
}
|
|
10018
10096
|
e.toProtocolMessage = w;
|
|
10019
10097
|
function F(r, o) {
|
|
10020
|
-
const l =
|
|
10098
|
+
const l = N(r, e.TeleportOpcode, e.TeleportVersion);
|
|
10021
10099
|
return a(l, o);
|
|
10022
10100
|
}
|
|
10023
10101
|
e.fromProtocolMessage = F;
|
|
@@ -10028,8 +10106,8 @@ var Oo;
|
|
|
10028
10106
|
o.push(l.asString());
|
|
10029
10107
|
return o;
|
|
10030
10108
|
}
|
|
10031
|
-
})(
|
|
10032
|
-
var
|
|
10109
|
+
})(Co || (Co = {}));
|
|
10110
|
+
var _o;
|
|
10033
10111
|
((e) => {
|
|
10034
10112
|
e.TeleportVersion = 1, e.TeleportOpcode = 2097178, e.TeleportLayoutHash = 4089149075;
|
|
10035
10113
|
function n(t) {
|
|
@@ -10069,12 +10147,12 @@ var Co;
|
|
|
10069
10147
|
}
|
|
10070
10148
|
e.toProtocolMessage = w;
|
|
10071
10149
|
function F(t, r) {
|
|
10072
|
-
const o =
|
|
10150
|
+
const o = N(t, e.TeleportOpcode, e.TeleportVersion);
|
|
10073
10151
|
return a(o, r);
|
|
10074
10152
|
}
|
|
10075
10153
|
e.fromProtocolMessage = F;
|
|
10076
|
-
})(
|
|
10077
|
-
var
|
|
10154
|
+
})(_o || (_o = {}));
|
|
10155
|
+
var Lo;
|
|
10078
10156
|
((e) => {
|
|
10079
10157
|
e.TeleportVersion = 1, e.TeleportOpcode = 2097185, e.TeleportLayoutHash = 2656087106, e.StyleIdFieldId = 979822885, e.NameFieldId = 1107713536, e.ElementIdFieldId = 1753055760, e.SelectedFieldId = 1910318853, e.LabelsFieldId = 2329079073, e.UpdateActionIdFieldId = 3146631935;
|
|
10080
10158
|
function n(r) {
|
|
@@ -10156,7 +10234,7 @@ var _o;
|
|
|
10156
10234
|
}
|
|
10157
10235
|
e.toProtocolMessage = w;
|
|
10158
10236
|
function F(r, o) {
|
|
10159
|
-
const l =
|
|
10237
|
+
const l = N(r, e.TeleportOpcode, e.TeleportVersion);
|
|
10160
10238
|
return a(l, o);
|
|
10161
10239
|
}
|
|
10162
10240
|
e.fromProtocolMessage = F;
|
|
@@ -10167,8 +10245,8 @@ var _o;
|
|
|
10167
10245
|
o.push(l.asString());
|
|
10168
10246
|
return o;
|
|
10169
10247
|
}
|
|
10170
|
-
})(
|
|
10171
|
-
var
|
|
10248
|
+
})(Lo || (Lo = {}));
|
|
10249
|
+
var Do;
|
|
10172
10250
|
((e) => {
|
|
10173
10251
|
e.TeleportVersion = 1, e.TeleportOpcode = 2097170, e.TeleportLayoutHash = 3083054951, e.StyleIdFieldId = 979822885, e.ElementIdFieldId = 1753055760, e.CodeFieldId = 1852701397, e.LabelsFieldId = 2329079073, e.TypeFieldId = 3167053791;
|
|
10174
10252
|
function n(r) {
|
|
@@ -10244,7 +10322,7 @@ var Lo;
|
|
|
10244
10322
|
}
|
|
10245
10323
|
e.toProtocolMessage = w;
|
|
10246
10324
|
function F(r, o) {
|
|
10247
|
-
const l =
|
|
10325
|
+
const l = N(r, e.TeleportOpcode, e.TeleportVersion);
|
|
10248
10326
|
return a(l, o);
|
|
10249
10327
|
}
|
|
10250
10328
|
e.fromProtocolMessage = F;
|
|
@@ -10255,8 +10333,8 @@ var Lo;
|
|
|
10255
10333
|
o.push(l.asString());
|
|
10256
10334
|
return o;
|
|
10257
10335
|
}
|
|
10258
|
-
})(
|
|
10259
|
-
var
|
|
10336
|
+
})(Do || (Do = {}));
|
|
10337
|
+
var jo;
|
|
10260
10338
|
((e) => {
|
|
10261
10339
|
e.TeleportVersion = 1, e.TeleportOpcode = 2097168, e.TeleportLayoutHash = 1891098133, e.FileInfoFieldId = 44938878, e.StyleIdFieldId = 979822885, e.RemoveActionIdFieldId = 1033199595, e.NameFieldId = 1107713536, e.SecondaryTextFieldId = 1373233776, e.MaxSizeFieldId = 1487572753, e.UploadActionIdFieldId = 1717336281, e.ElementIdFieldId = 1753055760, e.LabelsFieldId = 2329079073, e.MimeFieldId = 2697635005, e.AllowedMimeTypesFieldId = 2858332423, e.OpenActionIdFieldId = 3113153975, e.TypeFieldId = 3167053791;
|
|
10262
10340
|
function n(r) {
|
|
@@ -10385,7 +10463,7 @@ var Do;
|
|
|
10385
10463
|
}
|
|
10386
10464
|
e.toProtocolMessage = w;
|
|
10387
10465
|
function F(r, o) {
|
|
10388
|
-
const l =
|
|
10466
|
+
const l = N(r, e.TeleportOpcode, e.TeleportVersion);
|
|
10389
10467
|
return a(l, o);
|
|
10390
10468
|
}
|
|
10391
10469
|
e.fromProtocolMessage = F;
|
|
@@ -10416,17 +10494,17 @@ var Do;
|
|
|
10416
10494
|
T.writeStringField(r.FileNameFieldId, I.FileName), T.writeInt32Field(r.SizeFieldId, I.Size | 0), T.writeStringField(r.NameFieldId, I.Name), T.writeStringField(r.CreatedAtFieldId, I.CreatedAt), T.writeStringField(r.UrlFieldId, I.Url), T.writeStringField(r.IdFieldId, I.Id);
|
|
10417
10495
|
}
|
|
10418
10496
|
r.writeToTeleport = b;
|
|
10419
|
-
function
|
|
10497
|
+
function O(I, T) {
|
|
10420
10498
|
const h = y.create(I);
|
|
10421
10499
|
return p(h, T);
|
|
10422
10500
|
}
|
|
10423
|
-
r.decode =
|
|
10501
|
+
r.decode = O;
|
|
10424
10502
|
function p(I, T) {
|
|
10425
10503
|
const h = T ?? o();
|
|
10426
|
-
return l(h),
|
|
10504
|
+
return l(h), E(I, h), h;
|
|
10427
10505
|
}
|
|
10428
10506
|
r.readFromTeleport = p;
|
|
10429
|
-
function
|
|
10507
|
+
function E(I, T) {
|
|
10430
10508
|
let h;
|
|
10431
10509
|
for (; (h = I.next()) !== null; )
|
|
10432
10510
|
switch (h.fieldId) {
|
|
@@ -10469,8 +10547,8 @@ var Do;
|
|
|
10469
10547
|
}
|
|
10470
10548
|
}
|
|
10471
10549
|
})(e.UIFileInfo || (e.UIFileInfo = {}));
|
|
10472
|
-
})(
|
|
10473
|
-
var
|
|
10550
|
+
})(jo || (jo = {}));
|
|
10551
|
+
var Ho;
|
|
10474
10552
|
((e) => {
|
|
10475
10553
|
e.TeleportVersion = 1, e.TeleportOpcode = 2097174, e.TeleportLayoutHash = 1649607977, e.StyleIdFieldId = 979822885, e.GapFieldId = 1375888292, e.MaxSizeFieldId = 1487572753, e.UploadActionIdFieldId = 1717336281, e.ElementIdFieldId = 1753055760, e.LabelsFieldId = 2329079073, e.AllowedMimeTypesFieldId = 2858332423;
|
|
10476
10554
|
function n(r) {
|
|
@@ -10561,7 +10639,7 @@ var jo;
|
|
|
10561
10639
|
}
|
|
10562
10640
|
e.toProtocolMessage = w;
|
|
10563
10641
|
function F(r, o) {
|
|
10564
|
-
const l =
|
|
10642
|
+
const l = N(r, e.TeleportOpcode, e.TeleportVersion);
|
|
10565
10643
|
return a(l, o);
|
|
10566
10644
|
}
|
|
10567
10645
|
e.fromProtocolMessage = F;
|
|
@@ -10572,8 +10650,8 @@ var jo;
|
|
|
10572
10650
|
o.push(l.asString());
|
|
10573
10651
|
return o;
|
|
10574
10652
|
}
|
|
10575
|
-
})(
|
|
10576
|
-
var
|
|
10653
|
+
})(Ho || (Ho = {}));
|
|
10654
|
+
var vo;
|
|
10577
10655
|
((e) => {
|
|
10578
10656
|
e.TeleportVersion = 1, e.TeleportOpcode = 2097175, e.TeleportLayoutHash = 4089149075;
|
|
10579
10657
|
function n(t) {
|
|
@@ -10613,12 +10691,12 @@ var Ho;
|
|
|
10613
10691
|
}
|
|
10614
10692
|
e.toProtocolMessage = w;
|
|
10615
10693
|
function F(t, r) {
|
|
10616
|
-
const o =
|
|
10694
|
+
const o = N(t, e.TeleportOpcode, e.TeleportVersion);
|
|
10617
10695
|
return a(o, r);
|
|
10618
10696
|
}
|
|
10619
10697
|
e.fromProtocolMessage = F;
|
|
10620
|
-
})(
|
|
10621
|
-
var
|
|
10698
|
+
})(vo || (vo = {}));
|
|
10699
|
+
var Go;
|
|
10622
10700
|
((e) => {
|
|
10623
10701
|
e.TeleportVersion = 1, e.TeleportOpcode = 2097163, e.TeleportLayoutHash = 98019786, e.StyleIdFieldId = 979822885, e.ElementIdFieldId = 1753055760, e.TextFieldId = 2069861431, e.LabelsFieldId = 2329079073, e.LevelFieldId = 3330411593, e.SubTextFieldId = 3727436592;
|
|
10624
10702
|
function n(r) {
|
|
@@ -10700,7 +10778,7 @@ var vo;
|
|
|
10700
10778
|
}
|
|
10701
10779
|
e.toProtocolMessage = w;
|
|
10702
10780
|
function F(r, o) {
|
|
10703
|
-
const l =
|
|
10781
|
+
const l = N(r, e.TeleportOpcode, e.TeleportVersion);
|
|
10704
10782
|
return a(l, o);
|
|
10705
10783
|
}
|
|
10706
10784
|
e.fromProtocolMessage = F;
|
|
@@ -10711,8 +10789,8 @@ var vo;
|
|
|
10711
10789
|
o.push(l.asString());
|
|
10712
10790
|
return o;
|
|
10713
10791
|
}
|
|
10714
|
-
})(
|
|
10715
|
-
var
|
|
10792
|
+
})(Go || (Go = {}));
|
|
10793
|
+
var Ko;
|
|
10716
10794
|
((e) => {
|
|
10717
10795
|
e.TeleportVersion = 1, e.TeleportOpcode = 2097173, e.TeleportLayoutHash = 3857182005, e.IconFieldId = 59431001, e.StyleIdFieldId = 979822885, e.ColorFieldId = 1668824531, e.ElementIdFieldId = 1753055760, e.LabelsFieldId = 2329079073;
|
|
10718
10796
|
function n(r) {
|
|
@@ -10788,7 +10866,7 @@ var Go;
|
|
|
10788
10866
|
}
|
|
10789
10867
|
e.toProtocolMessage = w;
|
|
10790
10868
|
function F(r, o) {
|
|
10791
|
-
const l =
|
|
10869
|
+
const l = N(r, e.TeleportOpcode, e.TeleportVersion);
|
|
10792
10870
|
return a(l, o);
|
|
10793
10871
|
}
|
|
10794
10872
|
e.fromProtocolMessage = F;
|
|
@@ -10799,8 +10877,8 @@ var Go;
|
|
|
10799
10877
|
o.push(l.asString());
|
|
10800
10878
|
return o;
|
|
10801
10879
|
}
|
|
10802
|
-
})(
|
|
10803
|
-
var
|
|
10880
|
+
})(Ko || (Ko = {}));
|
|
10881
|
+
var xo;
|
|
10804
10882
|
((e) => {
|
|
10805
10883
|
e.TeleportVersion = 1, e.TeleportOpcode = 2097166, e.TeleportLayoutHash = 3055446470, e.IconFieldId = 59431001, e.DropActionIdFieldId = 125663982, e.DragOverActionIdFieldId = 397939120, e.DragEndActionIdFieldId = 604708310, e.DragLeaveActionIdFieldId = 807214320, e.StyleIdFieldId = 979822885, e.PressStartActionIdFieldId = 1115189793, e.PressChangeActionIdFieldId = 1297223534, e.PressEndActionIdFieldId = 1604349297, e.ColorFieldId = 1668824531, e.ElementIdFieldId = 1753055760, e.DragStartActionIdFieldId = 2069639306, e.LabelsFieldId = 2329079073, e.ClickActionIdFieldId = 2904763197, e.DragEnterActionIdFieldId = 3852067844, e.PressUpActionIdFieldId = 4113077146;
|
|
10806
10884
|
function n(r) {
|
|
@@ -10942,7 +11020,7 @@ var Ko;
|
|
|
10942
11020
|
}
|
|
10943
11021
|
e.toProtocolMessage = w;
|
|
10944
11022
|
function F(r, o) {
|
|
10945
|
-
const l =
|
|
11023
|
+
const l = N(r, e.TeleportOpcode, e.TeleportVersion);
|
|
10946
11024
|
return a(l, o);
|
|
10947
11025
|
}
|
|
10948
11026
|
e.fromProtocolMessage = F;
|
|
@@ -10953,8 +11031,8 @@ var Ko;
|
|
|
10953
11031
|
o.push(l.asString());
|
|
10954
11032
|
return o;
|
|
10955
11033
|
}
|
|
10956
|
-
})(
|
|
10957
|
-
var
|
|
11034
|
+
})(xo || (xo = {}));
|
|
11035
|
+
var Wo;
|
|
10958
11036
|
((e) => {
|
|
10959
11037
|
e.TeleportVersion = 1, e.TeleportOpcode = 2097167, e.TeleportLayoutHash = 902326874, e.DropActionIdFieldId = 125663982, e.DragOverActionIdFieldId = 397939120, e.DragEndActionIdFieldId = 604708310, e.DragLeaveActionIdFieldId = 807214320, e.StyleIdFieldId = 979822885, e.NameFieldId = 1107713536, e.PressStartActionIdFieldId = 1115189793, e.PressChangeActionIdFieldId = 1297223534, e.PressEndActionIdFieldId = 1604349297, e.ElementIdFieldId = 1753055760, e.DragStartActionIdFieldId = 2069639306, e.LabelsFieldId = 2329079073, e.UrlFieldId = 2643541312, e.MimeFieldId = 2697635005, e.ClickActionIdFieldId = 2904763197, e.DataFieldId = 2986785889, e.DragEnterActionIdFieldId = 3852067844, e.PressUpActionIdFieldId = 4113077146;
|
|
10960
11038
|
function n(r) {
|
|
@@ -11108,7 +11186,7 @@ var xo;
|
|
|
11108
11186
|
}
|
|
11109
11187
|
e.toProtocolMessage = w;
|
|
11110
11188
|
function F(r, o) {
|
|
11111
|
-
const l =
|
|
11189
|
+
const l = N(r, e.TeleportOpcode, e.TeleportVersion);
|
|
11112
11190
|
return a(l, o);
|
|
11113
11191
|
}
|
|
11114
11192
|
e.fromProtocolMessage = F;
|
|
@@ -11119,8 +11197,8 @@ var xo;
|
|
|
11119
11197
|
o.push(l.asString());
|
|
11120
11198
|
return o;
|
|
11121
11199
|
}
|
|
11122
|
-
})(
|
|
11123
|
-
var
|
|
11200
|
+
})(Wo || (Wo = {}));
|
|
11201
|
+
var Jo;
|
|
11124
11202
|
((e) => {
|
|
11125
11203
|
e.TeleportVersion = 1, e.TeleportOpcode = 2097180, e.TeleportLayoutHash = 4201975843, e.VariantFieldId = 224706665, e.StyleIdFieldId = 979822885, e.NameFieldId = 1107713536, e.ColorFieldId = 1668824531, e.ElementIdFieldId = 1753055760, e.InitialValueFieldId = 2273729899, e.RowsFieldId = 2325885894, e.LabelsFieldId = 2329079073, e.UpdateActionIdFieldId = 3146631935, e.SubmitActionIdFieldId = 4282408692;
|
|
11126
11204
|
function n(r) {
|
|
@@ -11226,7 +11304,7 @@ var Wo;
|
|
|
11226
11304
|
}
|
|
11227
11305
|
e.toProtocolMessage = w;
|
|
11228
11306
|
function F(r, o) {
|
|
11229
|
-
const l =
|
|
11307
|
+
const l = N(r, e.TeleportOpcode, e.TeleportVersion);
|
|
11230
11308
|
return a(l, o);
|
|
11231
11309
|
}
|
|
11232
11310
|
e.fromProtocolMessage = F;
|
|
@@ -11237,8 +11315,8 @@ var Wo;
|
|
|
11237
11315
|
o.push(l.asString());
|
|
11238
11316
|
return o;
|
|
11239
11317
|
}
|
|
11240
|
-
})(
|
|
11241
|
-
var
|
|
11318
|
+
})(Jo || (Jo = {}));
|
|
11319
|
+
var $o;
|
|
11242
11320
|
((e) => {
|
|
11243
11321
|
e.TeleportVersion = 1, e.TeleportOpcode = 2097159, e.TeleportLayoutHash = 2686908446, e.StyleIdFieldId = 979822885, e.ElementIdFieldId = 1753055760, e.LabelsFieldId = 2329079073, e.TypeFieldId = 3167053791;
|
|
11244
11322
|
function n(r) {
|
|
@@ -11308,7 +11386,7 @@ var Jo;
|
|
|
11308
11386
|
}
|
|
11309
11387
|
e.toProtocolMessage = w;
|
|
11310
11388
|
function F(r, o) {
|
|
11311
|
-
const l =
|
|
11389
|
+
const l = N(r, e.TeleportOpcode, e.TeleportVersion);
|
|
11312
11390
|
return a(l, o);
|
|
11313
11391
|
}
|
|
11314
11392
|
e.fromProtocolMessage = F;
|
|
@@ -11319,8 +11397,8 @@ var Jo;
|
|
|
11319
11397
|
o.push(l.asString());
|
|
11320
11398
|
return o;
|
|
11321
11399
|
}
|
|
11322
|
-
})(
|
|
11323
|
-
var
|
|
11400
|
+
})($o || ($o = {}));
|
|
11401
|
+
var Ro;
|
|
11324
11402
|
((e) => {
|
|
11325
11403
|
e.TeleportVersion = 1, e.TeleportOpcode = 2097161, e.TeleportLayoutHash = 4089149075;
|
|
11326
11404
|
function n(t) {
|
|
@@ -11360,12 +11438,12 @@ var $o;
|
|
|
11360
11438
|
}
|
|
11361
11439
|
e.toProtocolMessage = w;
|
|
11362
11440
|
function F(t, r) {
|
|
11363
|
-
const o =
|
|
11441
|
+
const o = N(t, e.TeleportOpcode, e.TeleportVersion);
|
|
11364
11442
|
return a(o, r);
|
|
11365
11443
|
}
|
|
11366
11444
|
e.fromProtocolMessage = F;
|
|
11367
|
-
})(
|
|
11368
|
-
var
|
|
11445
|
+
})(Ro || (Ro = {}));
|
|
11446
|
+
var zo;
|
|
11369
11447
|
((e) => {
|
|
11370
11448
|
e.TeleportVersion = 1, e.TeleportOpcode = 2097160, e.TeleportLayoutHash = 2366224799, e.StyleIdFieldId = 979822885, e.NameFieldId = 1107713536, e.ElementIdFieldId = 1753055760, e.TextFieldId = 2069861431, e.LabelsFieldId = 2329079073;
|
|
11371
11449
|
function n(r) {
|
|
@@ -11441,7 +11519,7 @@ var Ro;
|
|
|
11441
11519
|
}
|
|
11442
11520
|
e.toProtocolMessage = w;
|
|
11443
11521
|
function F(r, o) {
|
|
11444
|
-
const l =
|
|
11522
|
+
const l = N(r, e.TeleportOpcode, e.TeleportVersion);
|
|
11445
11523
|
return a(l, o);
|
|
11446
11524
|
}
|
|
11447
11525
|
e.fromProtocolMessage = F;
|
|
@@ -11452,8 +11530,8 @@ var Ro;
|
|
|
11452
11530
|
o.push(l.asString());
|
|
11453
11531
|
return o;
|
|
11454
11532
|
}
|
|
11455
|
-
})(
|
|
11456
|
-
var
|
|
11533
|
+
})(zo || (zo = {}));
|
|
11534
|
+
var Yo;
|
|
11457
11535
|
((e) => {
|
|
11458
11536
|
e.TeleportVersion = 1, e.TeleportOpcode = 2097171, e.TeleportLayoutHash = 1480871888, e.StyleIdFieldId = 979822885, e.NameFieldId = 1107713536, e.ElementIdFieldId = 1753055760, e.LabelsFieldId = 2329079073, e.MarkerFieldId = 3792213143, e.MarkersFieldId = 3816392184;
|
|
11459
11537
|
function n(o) {
|
|
@@ -11478,8 +11556,8 @@ var zo;
|
|
|
11478
11556
|
e.UIMapMarker.writeToTeleport(o.Marker, u);
|
|
11479
11557
|
}), l.writeArrayField(e.MarkersFieldId, S.Object, (u) => {
|
|
11480
11558
|
for (const b of o.Markers)
|
|
11481
|
-
u.writeObject(e.UIMapMarker.TeleportVersion, (
|
|
11482
|
-
e.UIMapMarker.writeToTeleport(b,
|
|
11559
|
+
u.writeObject(e.UIMapMarker.TeleportVersion, (O) => {
|
|
11560
|
+
e.UIMapMarker.writeToTeleport(b, O);
|
|
11483
11561
|
});
|
|
11484
11562
|
});
|
|
11485
11563
|
}
|
|
@@ -11542,7 +11620,7 @@ var zo;
|
|
|
11542
11620
|
}
|
|
11543
11621
|
e.toProtocolMessage = w;
|
|
11544
11622
|
function F(o, l) {
|
|
11545
|
-
const u =
|
|
11623
|
+
const u = N(o, e.TeleportOpcode, e.TeleportVersion);
|
|
11546
11624
|
return a(u, l);
|
|
11547
11625
|
}
|
|
11548
11626
|
e.fromProtocolMessage = F;
|
|
@@ -11573,23 +11651,23 @@ var zo;
|
|
|
11573
11651
|
o.reset = u;
|
|
11574
11652
|
function b(T) {
|
|
11575
11653
|
const h = new m(o.TeleportVersion);
|
|
11576
|
-
return
|
|
11654
|
+
return O(T, h), h.finish();
|
|
11577
11655
|
}
|
|
11578
11656
|
o.encode = b;
|
|
11579
|
-
function
|
|
11657
|
+
function O(T, h) {
|
|
11580
11658
|
h.writeStringField(o.TitleFieldId, T.Title), h.writeFloat32Field(o.LongitudeFieldId, T.Longitude), h.writeFloat32Field(o.LatitudeFieldId, T.Latitude);
|
|
11581
11659
|
}
|
|
11582
|
-
o.writeToTeleport =
|
|
11660
|
+
o.writeToTeleport = O;
|
|
11583
11661
|
function p(T, h) {
|
|
11584
11662
|
const g = y.create(T);
|
|
11585
|
-
return
|
|
11663
|
+
return E(g, h);
|
|
11586
11664
|
}
|
|
11587
11665
|
o.decode = p;
|
|
11588
|
-
function
|
|
11666
|
+
function E(T, h) {
|
|
11589
11667
|
const g = h ?? l();
|
|
11590
11668
|
return u(g), I(T, g), g;
|
|
11591
11669
|
}
|
|
11592
|
-
o.readFromTeleport =
|
|
11670
|
+
o.readFromTeleport = E;
|
|
11593
11671
|
function I(T, h) {
|
|
11594
11672
|
let g;
|
|
11595
11673
|
for (; (g = T.next()) !== null; )
|
|
@@ -11615,8 +11693,8 @@ var zo;
|
|
|
11615
11693
|
}
|
|
11616
11694
|
}
|
|
11617
11695
|
})(e.UIMapMarker || (e.UIMapMarker = {}));
|
|
11618
|
-
})(
|
|
11619
|
-
var
|
|
11696
|
+
})(Yo || (Yo = {}));
|
|
11697
|
+
var Xo;
|
|
11620
11698
|
((e) => {
|
|
11621
11699
|
e.TeleportVersion = 1, e.TeleportOpcode = 2097176, e.TeleportLayoutHash = 2871480116, e.VariantFieldId = 224706665, e.StyleIdFieldId = 979822885, e.NameFieldId = 1107713536, e.ColorFieldId = 1668824531, e.ElementIdFieldId = 1753055760, e.LabelsFieldId = 2329079073;
|
|
11622
11700
|
function n(r) {
|
|
@@ -11698,7 +11776,7 @@ var Yo;
|
|
|
11698
11776
|
}
|
|
11699
11777
|
e.toProtocolMessage = w;
|
|
11700
11778
|
function F(r, o) {
|
|
11701
|
-
const l =
|
|
11779
|
+
const l = N(r, e.TeleportOpcode, e.TeleportVersion);
|
|
11702
11780
|
return a(l, o);
|
|
11703
11781
|
}
|
|
11704
11782
|
e.fromProtocolMessage = F;
|
|
@@ -11709,8 +11787,8 @@ var Yo;
|
|
|
11709
11787
|
o.push(l.asString());
|
|
11710
11788
|
return o;
|
|
11711
11789
|
}
|
|
11712
|
-
})(
|
|
11713
|
-
var
|
|
11790
|
+
})(Xo || (Xo = {}));
|
|
11791
|
+
var qo;
|
|
11714
11792
|
((e) => {
|
|
11715
11793
|
e.TeleportVersion = 1, e.TeleportOpcode = 2097181, e.TeleportLayoutHash = 393918750, e.PercentageFieldId = 117496938, e.StyleIdFieldId = 979822885, e.ElementIdFieldId = 1753055760, e.LabelsFieldId = 2329079073;
|
|
11716
11794
|
function n(r) {
|
|
@@ -11780,7 +11858,7 @@ var Xo;
|
|
|
11780
11858
|
}
|
|
11781
11859
|
e.toProtocolMessage = w;
|
|
11782
11860
|
function F(r, o) {
|
|
11783
|
-
const l =
|
|
11861
|
+
const l = N(r, e.TeleportOpcode, e.TeleportVersion);
|
|
11784
11862
|
return a(l, o);
|
|
11785
11863
|
}
|
|
11786
11864
|
e.fromProtocolMessage = F;
|
|
@@ -11791,8 +11869,8 @@ var Xo;
|
|
|
11791
11869
|
o.push(l.asString());
|
|
11792
11870
|
return o;
|
|
11793
11871
|
}
|
|
11794
|
-
})(
|
|
11795
|
-
var
|
|
11872
|
+
})(qo || (qo = {}));
|
|
11873
|
+
var Zo;
|
|
11796
11874
|
((e) => {
|
|
11797
11875
|
e.TeleportVersion = 1, e.TeleportOpcode = 2097186, e.TeleportLayoutHash = 2070677502, e.StyleIdFieldId = 979822885, e.NameFieldId = 1107713536, e.ElementIdFieldId = 1753055760, e.LabelsFieldId = 2329079073, e.EventActionIdFieldId = 2434499988, e.ArgumentsJsonFieldId = 3407843734;
|
|
11798
11876
|
function n(o) {
|
|
@@ -11815,12 +11893,12 @@ var qo;
|
|
|
11815
11893
|
u.writeString(b);
|
|
11816
11894
|
}), l.writeStringField(e.EventActionIdFieldId, o.EventActionId), l.writeDictionaryField(e.ArgumentsJsonFieldId, S.String, S.String, (u) => {
|
|
11817
11895
|
const b = o.ArgumentsJson;
|
|
11818
|
-
for (const
|
|
11819
|
-
const p =
|
|
11820
|
-
if (
|
|
11896
|
+
for (const O of Object.keys(b)) {
|
|
11897
|
+
const p = O, E = b[O];
|
|
11898
|
+
if (E == null)
|
|
11821
11899
|
continue;
|
|
11822
11900
|
const I = u.beginEntry();
|
|
11823
|
-
I.writeKeyString(p), I.writeValueString(
|
|
11901
|
+
I.writeKeyString(p), I.writeValueString(E), I.complete();
|
|
11824
11902
|
}
|
|
11825
11903
|
});
|
|
11826
11904
|
}
|
|
@@ -11883,7 +11961,7 @@ var qo;
|
|
|
11883
11961
|
}
|
|
11884
11962
|
e.toProtocolMessage = w;
|
|
11885
11963
|
function F(o, l) {
|
|
11886
|
-
const u =
|
|
11964
|
+
const u = N(o, e.TeleportOpcode, e.TeleportVersion);
|
|
11887
11965
|
return a(u, l);
|
|
11888
11966
|
}
|
|
11889
11967
|
e.fromProtocolMessage = F;
|
|
@@ -11903,8 +11981,8 @@ var qo;
|
|
|
11903
11981
|
}
|
|
11904
11982
|
return l;
|
|
11905
11983
|
}
|
|
11906
|
-
})(
|
|
11907
|
-
var
|
|
11984
|
+
})(Zo || (Zo = {}));
|
|
11985
|
+
var Qo;
|
|
11908
11986
|
((e) => {
|
|
11909
11987
|
e.TeleportVersion = 1, e.TeleportOpcode = 2097157, e.TeleportLayoutHash = 476497603, e.DropActionIdFieldId = 125663982, e.DragOverActionIdFieldId = 397939120, e.DragEndActionIdFieldId = 604708310, e.DragLeaveActionIdFieldId = 807214320, e.StyleIdFieldId = 979822885, e.PressStartActionIdFieldId = 1115189793, e.PressChangeActionIdFieldId = 1297223534, e.GapFieldId = 1375888292, e.PressEndActionIdFieldId = 1604349297, e.ElementIdFieldId = 1753055760, e.DragStartActionIdFieldId = 2069639306, e.LabelsFieldId = 2329079073, e.ClickActionIdFieldId = 2904763197, e.TypeFieldId = 3167053791, e.DragEnterActionIdFieldId = 3852067844, e.PressUpActionIdFieldId = 4113077146;
|
|
11910
11988
|
function n(r) {
|
|
@@ -12046,7 +12124,7 @@ var Zo;
|
|
|
12046
12124
|
}
|
|
12047
12125
|
e.toProtocolMessage = w;
|
|
12048
12126
|
function F(r, o) {
|
|
12049
|
-
const l =
|
|
12127
|
+
const l = N(r, e.TeleportOpcode, e.TeleportVersion);
|
|
12050
12128
|
return a(l, o);
|
|
12051
12129
|
}
|
|
12052
12130
|
e.fromProtocolMessage = F;
|
|
@@ -12057,8 +12135,8 @@ var Zo;
|
|
|
12057
12135
|
o.push(l.asString());
|
|
12058
12136
|
return o;
|
|
12059
12137
|
}
|
|
12060
|
-
})(
|
|
12061
|
-
var
|
|
12138
|
+
})(Qo || (Qo = {}));
|
|
12139
|
+
var Bo;
|
|
12062
12140
|
((e) => {
|
|
12063
12141
|
e.TeleportVersion = 1, e.TeleportOpcode = 2097158, e.TeleportLayoutHash = 4089149075;
|
|
12064
12142
|
function n(t) {
|
|
@@ -12098,12 +12176,12 @@ var Qo;
|
|
|
12098
12176
|
}
|
|
12099
12177
|
e.toProtocolMessage = w;
|
|
12100
12178
|
function F(t, r) {
|
|
12101
|
-
const o =
|
|
12179
|
+
const o = N(t, e.TeleportOpcode, e.TeleportVersion);
|
|
12102
12180
|
return a(o, r);
|
|
12103
12181
|
}
|
|
12104
12182
|
e.fromProtocolMessage = F;
|
|
12105
|
-
})(
|
|
12106
|
-
var
|
|
12183
|
+
})(Bo || (Bo = {}));
|
|
12184
|
+
var Ao;
|
|
12107
12185
|
((e) => {
|
|
12108
12186
|
e.TeleportVersion = 1, e.TeleportOpcode = 2097164, e.TeleportLayoutHash = 3636719430, e.StyleIdFieldId = 979822885, e.ElementIdFieldId = 1753055760, e.LabelsFieldId = 2329079073;
|
|
12109
12187
|
function n(r) {
|
|
@@ -12167,7 +12245,7 @@ var Bo;
|
|
|
12167
12245
|
}
|
|
12168
12246
|
e.toProtocolMessage = w;
|
|
12169
12247
|
function F(r, o) {
|
|
12170
|
-
const l =
|
|
12248
|
+
const l = N(r, e.TeleportOpcode, e.TeleportVersion);
|
|
12171
12249
|
return a(l, o);
|
|
12172
12250
|
}
|
|
12173
12251
|
e.fromProtocolMessage = F;
|
|
@@ -12178,8 +12256,8 @@ var Bo;
|
|
|
12178
12256
|
o.push(l.asString());
|
|
12179
12257
|
return o;
|
|
12180
12258
|
}
|
|
12181
|
-
})(
|
|
12182
|
-
var
|
|
12259
|
+
})(Ao || (Ao = {}));
|
|
12260
|
+
var Uo;
|
|
12183
12261
|
((e) => {
|
|
12184
12262
|
e.TeleportVersion = 1, e.TeleportOpcode = 2097189, e.TeleportLayoutHash = 3225070243, e.StyleIdFieldId = 979822885, e.SvgFieldId = 1032553508, e.ElementIdFieldId = 1753055760, e.LabelsFieldId = 2329079073;
|
|
12185
12263
|
function n(r) {
|
|
@@ -12249,7 +12327,7 @@ var Ao;
|
|
|
12249
12327
|
}
|
|
12250
12328
|
e.toProtocolMessage = w;
|
|
12251
12329
|
function F(r, o) {
|
|
12252
|
-
const l =
|
|
12330
|
+
const l = N(r, e.TeleportOpcode, e.TeleportVersion);
|
|
12253
12331
|
return a(l, o);
|
|
12254
12332
|
}
|
|
12255
12333
|
e.fromProtocolMessage = F;
|
|
@@ -12260,8 +12338,8 @@ var Ao;
|
|
|
12260
12338
|
o.push(l.asString());
|
|
12261
12339
|
return o;
|
|
12262
12340
|
}
|
|
12263
|
-
})(
|
|
12264
|
-
var
|
|
12341
|
+
})(Uo || (Uo = {}));
|
|
12342
|
+
var et;
|
|
12265
12343
|
((e) => {
|
|
12266
12344
|
e.TeleportVersion = 1, e.TeleportOpcode = 2097162, e.TeleportLayoutHash = 4195353566, e.StyleIdFieldId = 979822885, e.ColorFieldId = 1668824531, e.ElementIdFieldId = 1753055760, e.TextFieldId = 2069861431, e.LabelsFieldId = 2329079073, e.TypeFieldId = 3167053791;
|
|
12267
12345
|
function n(r) {
|
|
@@ -12343,7 +12421,7 @@ var Uo;
|
|
|
12343
12421
|
}
|
|
12344
12422
|
e.toProtocolMessage = w;
|
|
12345
12423
|
function F(r, o) {
|
|
12346
|
-
const l =
|
|
12424
|
+
const l = N(r, e.TeleportOpcode, e.TeleportVersion);
|
|
12347
12425
|
return a(l, o);
|
|
12348
12426
|
}
|
|
12349
12427
|
e.fromProtocolMessage = F;
|
|
@@ -12354,8 +12432,8 @@ var Uo;
|
|
|
12354
12432
|
o.push(l.asString());
|
|
12355
12433
|
return o;
|
|
12356
12434
|
}
|
|
12357
|
-
})(
|
|
12358
|
-
var
|
|
12435
|
+
})(et || (et = {}));
|
|
12436
|
+
var rt;
|
|
12359
12437
|
((e) => {
|
|
12360
12438
|
e.TeleportVersion = 1, e.TeleportOpcode = 2097172, e.TeleportLayoutHash = 3917385670, e.DataJsonFieldId = 896140642, e.StyleIdFieldId = 979822885, e.ElementIdFieldId = 1753055760, e.SpecJsonFieldId = 2277734115, e.LabelsFieldId = 2329079073;
|
|
12361
12439
|
function n(r) {
|
|
@@ -12431,7 +12509,7 @@ var et;
|
|
|
12431
12509
|
}
|
|
12432
12510
|
e.toProtocolMessage = w;
|
|
12433
12511
|
function F(r, o) {
|
|
12434
|
-
const l =
|
|
12512
|
+
const l = N(r, e.TeleportOpcode, e.TeleportVersion);
|
|
12435
12513
|
return a(l, o);
|
|
12436
12514
|
}
|
|
12437
12515
|
e.fromProtocolMessage = F;
|
|
@@ -12442,8 +12520,8 @@ var et;
|
|
|
12442
12520
|
o.push(l.asString());
|
|
12443
12521
|
return o;
|
|
12444
12522
|
}
|
|
12445
|
-
})(
|
|
12446
|
-
var
|
|
12523
|
+
})(rt || (rt = {}));
|
|
12524
|
+
var ot;
|
|
12447
12525
|
((e) => {
|
|
12448
12526
|
e.TeleportVersion = 1, e.TeleportOpcode = 2097155, e.TeleportLayoutHash = 2444008981, e.IsStableFieldId = 282418324, e.GroupIdFieldId = 439220103, e.PreciseCreatedAtFieldId = 522063616, e.IsTransientFieldId = 616111757, e.UpdatedAtFieldId = 690084816, e.UserIdFieldId = 781727218, e.OptimisticActionIdFieldId = 796514532, e.CreatedAtFieldId = 1263193241, e.AlternativeTextFieldId = 1424966273, e.ContainerIdFieldId = 1545760265, e.SortingIdFieldId = 1969586302, e.IsUpdateFieldId = 2017294645, e.IsHistoryFieldId = 2745355791, e.VisibilityFieldId = 3781984640;
|
|
12449
12527
|
function n(t) {
|
|
@@ -12570,12 +12648,12 @@ var rt;
|
|
|
12570
12648
|
}
|
|
12571
12649
|
e.toProtocolMessage = w;
|
|
12572
12650
|
function F(t, r) {
|
|
12573
|
-
const o =
|
|
12651
|
+
const o = N(t, e.TeleportOpcode, e.TeleportVersion);
|
|
12574
12652
|
return a(o, r);
|
|
12575
12653
|
}
|
|
12576
12654
|
e.fromProtocolMessage = F;
|
|
12577
|
-
})(
|
|
12578
|
-
var
|
|
12655
|
+
})(ot || (ot = {}));
|
|
12656
|
+
var tt;
|
|
12579
12657
|
((e) => {
|
|
12580
12658
|
e.TeleportVersion = 1, e.TeleportOpcode = 2097179, e.TeleportLayoutHash = 4089149075;
|
|
12581
12659
|
function n(t) {
|
|
@@ -12615,12 +12693,12 @@ var ot;
|
|
|
12615
12693
|
}
|
|
12616
12694
|
e.toProtocolMessage = w;
|
|
12617
12695
|
function F(t, r) {
|
|
12618
|
-
const o =
|
|
12696
|
+
const o = N(t, e.TeleportOpcode, e.TeleportVersion);
|
|
12619
12697
|
return a(o, r);
|
|
12620
12698
|
}
|
|
12621
12699
|
e.fromProtocolMessage = F;
|
|
12622
|
-
})(
|
|
12623
|
-
var
|
|
12700
|
+
})(tt || (tt = {}));
|
|
12701
|
+
var lt;
|
|
12624
12702
|
((e) => {
|
|
12625
12703
|
e.TeleportVersion = 1, e.TeleportOpcode = 2097156, e.TeleportLayoutHash = 4089149075;
|
|
12626
12704
|
function n(t) {
|
|
@@ -12660,12 +12738,12 @@ var tt;
|
|
|
12660
12738
|
}
|
|
12661
12739
|
e.toProtocolMessage = w;
|
|
12662
12740
|
function F(t, r) {
|
|
12663
|
-
const o =
|
|
12741
|
+
const o = N(t, e.TeleportOpcode, e.TeleportVersion);
|
|
12664
12742
|
return a(o, r);
|
|
12665
12743
|
}
|
|
12666
12744
|
e.fromProtocolMessage = F;
|
|
12667
|
-
})(
|
|
12668
|
-
var
|
|
12745
|
+
})(lt || (lt = {}));
|
|
12746
|
+
var nt;
|
|
12669
12747
|
((e) => {
|
|
12670
12748
|
e.TeleportVersion = 1, e.TeleportOpcode = 2097187, e.TeleportLayoutHash = 1035587314, e.PayloadsFieldId = 653781469, e.StyleIdFieldId = 979822885, e.NameFieldId = 1107713536, e.DescriptionFieldId = 1368629611, e.ElementIdFieldId = 1753055760, e.LabelsFieldId = 2329079073, e.ArgumentsJsonFieldId = 3407843734, e.ActionIdsFieldId = 3502295793;
|
|
12671
12749
|
function n(l) {
|
|
@@ -12684,27 +12762,27 @@ var lt;
|
|
|
12684
12762
|
e.encode = i;
|
|
12685
12763
|
function s(l, u) {
|
|
12686
12764
|
u.writeDictionaryField(e.PayloadsFieldId, S.String, S.Object, (b) => {
|
|
12687
|
-
const
|
|
12688
|
-
for (const p of Object.keys(
|
|
12689
|
-
const
|
|
12765
|
+
const O = l.Payloads;
|
|
12766
|
+
for (const p of Object.keys(O)) {
|
|
12767
|
+
const E = p, I = O[p];
|
|
12690
12768
|
if (I == null)
|
|
12691
12769
|
continue;
|
|
12692
12770
|
const T = b.beginEntry();
|
|
12693
|
-
T.writeKeyString(
|
|
12771
|
+
T.writeKeyString(E), T.writeValueObject(Q.TeleportVersion, (h) => {
|
|
12694
12772
|
Q.writeToTeleport(I, h);
|
|
12695
12773
|
}), T.complete();
|
|
12696
12774
|
}
|
|
12697
12775
|
}), u.writeStringField(e.StyleIdFieldId, l.StyleId), u.writeStringField(e.NameFieldId, l.Name), u.writeStringField(e.DescriptionFieldId, l.Description), u.writeInt32Field(e.ElementIdFieldId, l.ElementId | 0), u.writeArrayField(e.LabelsFieldId, S.String, (b) => {
|
|
12698
|
-
for (const
|
|
12699
|
-
b.writeString(
|
|
12776
|
+
for (const O of l.Labels)
|
|
12777
|
+
b.writeString(O);
|
|
12700
12778
|
}), u.writeStringField(e.ArgumentsJsonFieldId, l.ArgumentsJson), u.writeDictionaryField(e.ActionIdsFieldId, S.String, S.Object, (b) => {
|
|
12701
|
-
const
|
|
12702
|
-
for (const p of Object.keys(
|
|
12703
|
-
const
|
|
12779
|
+
const O = l.ActionIds;
|
|
12780
|
+
for (const p of Object.keys(O)) {
|
|
12781
|
+
const E = p, I = O[p];
|
|
12704
12782
|
if (I == null)
|
|
12705
12783
|
continue;
|
|
12706
12784
|
const T = b.beginEntry();
|
|
12707
|
-
T.writeKeyString(
|
|
12785
|
+
T.writeKeyString(E), T.writeValueObject(ae.TeleportVersion, (h) => {
|
|
12708
12786
|
ae.writeToTeleport(I, h);
|
|
12709
12787
|
}), T.complete();
|
|
12710
12788
|
}
|
|
@@ -12781,7 +12859,7 @@ var lt;
|
|
|
12781
12859
|
}
|
|
12782
12860
|
e.toProtocolMessage = w;
|
|
12783
12861
|
function F(l, u) {
|
|
12784
|
-
const b =
|
|
12862
|
+
const b = N(l, e.TeleportOpcode, e.TeleportVersion);
|
|
12785
12863
|
return a(b, u);
|
|
12786
12864
|
}
|
|
12787
12865
|
e.fromProtocolMessage = F;
|
|
@@ -12796,8 +12874,8 @@ var lt;
|
|
|
12796
12874
|
const u = /* @__PURE__ */ Object.create(null);
|
|
12797
12875
|
let b;
|
|
12798
12876
|
for (; (b = l.next()) !== null; ) {
|
|
12799
|
-
const
|
|
12800
|
-
u[
|
|
12877
|
+
const O = b.key.asString();
|
|
12878
|
+
u[O] = Q.readFromTeleport(b.value.asObject());
|
|
12801
12879
|
}
|
|
12802
12880
|
return u;
|
|
12803
12881
|
}
|
|
@@ -12805,13 +12883,13 @@ var lt;
|
|
|
12805
12883
|
const u = /* @__PURE__ */ Object.create(null);
|
|
12806
12884
|
let b;
|
|
12807
12885
|
for (; (b = l.next()) !== null; ) {
|
|
12808
|
-
const
|
|
12809
|
-
u[
|
|
12886
|
+
const O = b.key.asString();
|
|
12887
|
+
u[O] = ae.readFromTeleport(b.value.asObject());
|
|
12810
12888
|
}
|
|
12811
12889
|
return u;
|
|
12812
12890
|
}
|
|
12813
|
-
})(
|
|
12814
|
-
var
|
|
12891
|
+
})(nt || (nt = {}));
|
|
12892
|
+
var dt;
|
|
12815
12893
|
((e) => {
|
|
12816
12894
|
e.TeleportVersion = 1, e.TeleportOpcode = 2097191, e.TeleportLayoutHash = 2491188219, e.ModulesFieldId = 2824693793;
|
|
12817
12895
|
function n(r) {
|
|
@@ -12865,7 +12943,7 @@ var nt;
|
|
|
12865
12943
|
}
|
|
12866
12944
|
e.toProtocolMessage = w;
|
|
12867
12945
|
function F(r, o) {
|
|
12868
|
-
const l =
|
|
12946
|
+
const l = N(r, e.TeleportOpcode, e.TeleportVersion);
|
|
12869
12947
|
return a(l, o);
|
|
12870
12948
|
}
|
|
12871
12949
|
e.fromProtocolMessage = F;
|
|
@@ -12898,17 +12976,17 @@ var nt;
|
|
|
12898
12976
|
h != null && T.writeStringField(r.JavascriptFieldId, h);
|
|
12899
12977
|
}
|
|
12900
12978
|
r.writeToTeleport = b;
|
|
12901
|
-
function
|
|
12979
|
+
function O(I, T) {
|
|
12902
12980
|
const h = y.create(I);
|
|
12903
12981
|
return p(h, T);
|
|
12904
12982
|
}
|
|
12905
|
-
r.decode =
|
|
12983
|
+
r.decode = O;
|
|
12906
12984
|
function p(I, T) {
|
|
12907
12985
|
const h = T ?? o();
|
|
12908
|
-
return l(h),
|
|
12986
|
+
return l(h), E(I, h), h;
|
|
12909
12987
|
}
|
|
12910
12988
|
r.readFromTeleport = p;
|
|
12911
|
-
function
|
|
12989
|
+
function E(I, T) {
|
|
12912
12990
|
let h;
|
|
12913
12991
|
for (; (h = I.next()) !== null; )
|
|
12914
12992
|
switch (h.fieldId) {
|
|
@@ -12929,7 +13007,7 @@ var nt;
|
|
|
12929
13007
|
}
|
|
12930
13008
|
}
|
|
12931
13009
|
})(e.UIInitModule || (e.UIInitModule = {}));
|
|
12932
|
-
})(
|
|
13010
|
+
})(dt || (dt = {}));
|
|
12933
13011
|
var Q;
|
|
12934
13012
|
((e) => {
|
|
12935
13013
|
e.TeleportVersion = 1, e.TeleportOpcode = 0, e.TeleportLayoutHash = 1537116481, e.ValueFieldId = 1405462580, e.MimeTypeFieldId = 2968276160;
|
|
@@ -12985,7 +13063,7 @@ var Q;
|
|
|
12985
13063
|
}
|
|
12986
13064
|
e.toProtocolMessage = w;
|
|
12987
13065
|
function F(t, r) {
|
|
12988
|
-
const o =
|
|
13066
|
+
const o = N(t, e.TeleportOpcode, e.TeleportVersion);
|
|
12989
13067
|
return a(o, r);
|
|
12990
13068
|
}
|
|
12991
13069
|
e.fromProtocolMessage = F;
|
|
@@ -13039,12 +13117,12 @@ var oe;
|
|
|
13039
13117
|
}
|
|
13040
13118
|
e.toProtocolMessage = w;
|
|
13041
13119
|
function F(t, r) {
|
|
13042
|
-
const o =
|
|
13120
|
+
const o = N(t, e.TeleportOpcode, e.TeleportVersion);
|
|
13043
13121
|
return a(o, r);
|
|
13044
13122
|
}
|
|
13045
13123
|
e.fromProtocolMessage = F;
|
|
13046
13124
|
})(oe || (oe = {}));
|
|
13047
|
-
var
|
|
13125
|
+
var it;
|
|
13048
13126
|
((e) => {
|
|
13049
13127
|
e.TeleportVersion = 1, e.TeleportOpcode = 2097154, e.TeleportLayoutHash = 4089149075;
|
|
13050
13128
|
function n(t) {
|
|
@@ -13084,12 +13162,12 @@ var dt;
|
|
|
13084
13162
|
}
|
|
13085
13163
|
e.toProtocolMessage = w;
|
|
13086
13164
|
function F(t, r) {
|
|
13087
|
-
const o =
|
|
13165
|
+
const o = N(t, e.TeleportOpcode, e.TeleportVersion);
|
|
13088
13166
|
return a(o, r);
|
|
13089
13167
|
}
|
|
13090
13168
|
e.fromProtocolMessage = F;
|
|
13091
|
-
})(
|
|
13092
|
-
var
|
|
13169
|
+
})(it || (it = {}));
|
|
13170
|
+
var st;
|
|
13093
13171
|
((e) => {
|
|
13094
13172
|
e.TeleportVersion = 1, e.TeleportOpcode = 2097188, e.TeleportLayoutHash = 2452306282, e.StyleIdFieldId = 979822885, e.StyleFieldId = 2374537704;
|
|
13095
13173
|
function n(r) {
|
|
@@ -13110,11 +13188,11 @@ var it;
|
|
|
13110
13188
|
o.writeStringField(e.StyleIdFieldId, r.StyleId), o.writeDictionaryField(e.StyleFieldId, S.String, S.String, (l) => {
|
|
13111
13189
|
const u = r.Style;
|
|
13112
13190
|
for (const b of Object.keys(u)) {
|
|
13113
|
-
const
|
|
13191
|
+
const O = b, p = u[b];
|
|
13114
13192
|
if (p == null)
|
|
13115
13193
|
continue;
|
|
13116
|
-
const
|
|
13117
|
-
|
|
13194
|
+
const E = l.beginEntry();
|
|
13195
|
+
E.writeKeyString(O), E.writeValueString(p), E.complete();
|
|
13118
13196
|
}
|
|
13119
13197
|
});
|
|
13120
13198
|
}
|
|
@@ -13153,7 +13231,7 @@ var it;
|
|
|
13153
13231
|
}
|
|
13154
13232
|
e.toProtocolMessage = w;
|
|
13155
13233
|
function F(r, o) {
|
|
13156
|
-
const l =
|
|
13234
|
+
const l = N(r, e.TeleportOpcode, e.TeleportVersion);
|
|
13157
13235
|
return a(l, o);
|
|
13158
13236
|
}
|
|
13159
13237
|
e.fromProtocolMessage = F;
|
|
@@ -13166,8 +13244,8 @@ var it;
|
|
|
13166
13244
|
}
|
|
13167
13245
|
return o;
|
|
13168
13246
|
}
|
|
13169
|
-
})(
|
|
13170
|
-
var
|
|
13247
|
+
})(st || (st = {}));
|
|
13248
|
+
var at;
|
|
13171
13249
|
((e) => {
|
|
13172
13250
|
e.TeleportVersion = 1, e.TeleportOpcode = 2097190, e.TeleportLayoutHash = 2150258178, e.JsonFieldId = 425183262, e.PayloadsFieldId = 653781469;
|
|
13173
13251
|
function n(r) {
|
|
@@ -13188,13 +13266,13 @@ var st;
|
|
|
13188
13266
|
o.writeStringField(e.JsonFieldId, r.Json), o.writeDictionaryField(e.PayloadsFieldId, S.String, S.Object, (l) => {
|
|
13189
13267
|
const u = r.Payloads;
|
|
13190
13268
|
for (const b of Object.keys(u)) {
|
|
13191
|
-
const
|
|
13269
|
+
const O = b, p = u[b];
|
|
13192
13270
|
if (p == null)
|
|
13193
13271
|
continue;
|
|
13194
|
-
const
|
|
13195
|
-
|
|
13272
|
+
const E = l.beginEntry();
|
|
13273
|
+
E.writeKeyString(O), E.writeValueObject(Q.TeleportVersion, (I) => {
|
|
13196
13274
|
Q.writeToTeleport(p, I);
|
|
13197
|
-
}),
|
|
13275
|
+
}), E.complete();
|
|
13198
13276
|
}
|
|
13199
13277
|
});
|
|
13200
13278
|
}
|
|
@@ -13233,7 +13311,7 @@ var st;
|
|
|
13233
13311
|
}
|
|
13234
13312
|
e.toProtocolMessage = w;
|
|
13235
13313
|
function F(r, o) {
|
|
13236
|
-
const l =
|
|
13314
|
+
const l = N(r, e.TeleportOpcode, e.TeleportVersion);
|
|
13237
13315
|
return a(l, o);
|
|
13238
13316
|
}
|
|
13239
13317
|
e.fromProtocolMessage = F;
|
|
@@ -13246,8 +13324,8 @@ var st;
|
|
|
13246
13324
|
}
|
|
13247
13325
|
return o;
|
|
13248
13326
|
}
|
|
13249
|
-
})(
|
|
13250
|
-
var
|
|
13327
|
+
})(at || (at = {}));
|
|
13328
|
+
var ct;
|
|
13251
13329
|
((e) => {
|
|
13252
13330
|
e.TeleportVersion = 1, e.TeleportOpcode = 2097182, e.TeleportLayoutHash = 4089149075;
|
|
13253
13331
|
function n(t) {
|
|
@@ -13287,12 +13365,12 @@ var at;
|
|
|
13287
13365
|
}
|
|
13288
13366
|
e.toProtocolMessage = w;
|
|
13289
13367
|
function F(t, r) {
|
|
13290
|
-
const o =
|
|
13368
|
+
const o = N(t, e.TeleportOpcode, e.TeleportVersion);
|
|
13291
13369
|
return a(o, r);
|
|
13292
13370
|
}
|
|
13293
13371
|
e.fromProtocolMessage = F;
|
|
13294
|
-
})(
|
|
13295
|
-
var
|
|
13372
|
+
})(ct || (ct = {}));
|
|
13373
|
+
var ut;
|
|
13296
13374
|
((e) => {
|
|
13297
13375
|
e.TeleportVersion = 1, e.TeleportOpcode = 2097183, e.TeleportLayoutHash = 4089149075;
|
|
13298
13376
|
function n(t) {
|
|
@@ -13332,12 +13410,12 @@ var ct;
|
|
|
13332
13410
|
}
|
|
13333
13411
|
e.toProtocolMessage = w;
|
|
13334
13412
|
function F(t, r) {
|
|
13335
|
-
const o =
|
|
13413
|
+
const o = N(t, e.TeleportOpcode, e.TeleportVersion);
|
|
13336
13414
|
return a(o, r);
|
|
13337
13415
|
}
|
|
13338
13416
|
e.fromProtocolMessage = F;
|
|
13339
|
-
})(
|
|
13340
|
-
var
|
|
13417
|
+
})(ut || (ut = {}));
|
|
13418
|
+
var ft;
|
|
13341
13419
|
((e) => {
|
|
13342
13420
|
e.TeleportVersion = 1, e.TeleportOpcode = 8388613, e.TeleportLayoutHash = 2113949815, e.TimeStampInUsFieldId = 151665729, e.FrameNumberFieldId = 3456383222;
|
|
13343
13421
|
function n(t) {
|
|
@@ -13392,12 +13470,12 @@ var ut;
|
|
|
13392
13470
|
}
|
|
13393
13471
|
e.toProtocolMessage = w;
|
|
13394
13472
|
function F(t, r) {
|
|
13395
|
-
const o =
|
|
13473
|
+
const o = N(t, e.TeleportOpcode, e.TeleportVersion);
|
|
13396
13474
|
return a(o, r);
|
|
13397
13475
|
}
|
|
13398
13476
|
e.fromProtocolMessage = F;
|
|
13399
|
-
})(
|
|
13400
|
-
var
|
|
13477
|
+
})(ft || (ft = {}));
|
|
13478
|
+
var wt;
|
|
13401
13479
|
((e) => {
|
|
13402
13480
|
e.TeleportVersion = 1, e.TeleportOpcode = 8388612, e.TeleportLayoutHash = 4089149075;
|
|
13403
13481
|
function n(t) {
|
|
@@ -13437,12 +13515,12 @@ var ft;
|
|
|
13437
13515
|
}
|
|
13438
13516
|
e.toProtocolMessage = w;
|
|
13439
13517
|
function F(t, r) {
|
|
13440
|
-
const o =
|
|
13518
|
+
const o = N(t, e.TeleportOpcode, e.TeleportVersion);
|
|
13441
13519
|
return a(o, r);
|
|
13442
13520
|
}
|
|
13443
13521
|
e.fromProtocolMessage = F;
|
|
13444
|
-
})(
|
|
13445
|
-
var
|
|
13522
|
+
})(wt || (wt = {}));
|
|
13523
|
+
var It;
|
|
13446
13524
|
((e) => {
|
|
13447
13525
|
e.TeleportVersion = 1, e.TeleportOpcode = 8388611, e.TeleportLayoutHash = 3574382015, e.TimestampInUsFieldId = 271275304, e.DurationInUsFieldId = 2541432218, e.DataFieldId = 2986785889, e.IsKeyFieldId = 3105403172, e.FrameNumberFieldId = 3456383222;
|
|
13448
13526
|
function n(t) {
|
|
@@ -13515,11 +13593,11 @@ var wt;
|
|
|
13515
13593
|
}
|
|
13516
13594
|
e.toProtocolMessage = w;
|
|
13517
13595
|
function F(t, r) {
|
|
13518
|
-
const o =
|
|
13596
|
+
const o = N(t, e.TeleportOpcode, e.TeleportVersion);
|
|
13519
13597
|
return a(o, r);
|
|
13520
13598
|
}
|
|
13521
13599
|
e.fromProtocolMessage = F;
|
|
13522
|
-
})(
|
|
13600
|
+
})(It || (It = {}));
|
|
13523
13601
|
var te;
|
|
13524
13602
|
((e) => {
|
|
13525
13603
|
e.TeleportVersion = 1, e.TeleportOpcode = 8388609, e.TeleportLayoutHash = 3848697468, e.DescriptionFieldId = 1368629611, e.HeightFieldId = 2950031986, e.CodecFieldId = 3284746250, e.WidthFieldId = 4065070594;
|
|
@@ -13587,12 +13665,12 @@ var te;
|
|
|
13587
13665
|
}
|
|
13588
13666
|
e.toProtocolMessage = w;
|
|
13589
13667
|
function F(t, r) {
|
|
13590
|
-
const o =
|
|
13668
|
+
const o = N(t, e.TeleportOpcode, e.TeleportVersion);
|
|
13591
13669
|
return a(o, r);
|
|
13592
13670
|
}
|
|
13593
13671
|
e.fromProtocolMessage = F;
|
|
13594
13672
|
})(te || (te = {}));
|
|
13595
|
-
var
|
|
13673
|
+
var Ft;
|
|
13596
13674
|
((e) => {
|
|
13597
13675
|
e.TeleportVersion = 1, e.TeleportOpcode = 8388610, e.TeleportLayoutHash = 4089149075;
|
|
13598
13676
|
function n(t) {
|
|
@@ -13632,11 +13710,11 @@ var It;
|
|
|
13632
13710
|
}
|
|
13633
13711
|
e.toProtocolMessage = w;
|
|
13634
13712
|
function F(t, r) {
|
|
13635
|
-
const o =
|
|
13713
|
+
const o = N(t, e.TeleportOpcode, e.TeleportVersion);
|
|
13636
13714
|
return a(o, r);
|
|
13637
13715
|
}
|
|
13638
13716
|
e.fromProtocolMessage = F;
|
|
13639
|
-
})(
|
|
13717
|
+
})(Ft || (Ft = {}));
|
|
13640
13718
|
class Ke extends Error {
|
|
13641
13719
|
constructor(n, d) {
|
|
13642
13720
|
super(n), this.cause = d, this.name = "ConnectionError";
|
|
@@ -13652,62 +13730,62 @@ class le extends Ke {
|
|
|
13652
13730
|
super(n, d), this.name = "TransportError";
|
|
13653
13731
|
}
|
|
13654
13732
|
}
|
|
13655
|
-
class
|
|
13733
|
+
class mt extends le {
|
|
13656
13734
|
constructor(n) {
|
|
13657
13735
|
super(`No keepalive received within ${n}ms`), this.name = "KeepaliveTimeoutError";
|
|
13658
13736
|
}
|
|
13659
13737
|
}
|
|
13660
|
-
class
|
|
13738
|
+
class Kt extends Ke {
|
|
13661
13739
|
constructor(n) {
|
|
13662
13740
|
super(`Maximum reconnection attempts (${n}) exceeded`), this.name = "MaxRetriesExceededError";
|
|
13663
13741
|
}
|
|
13664
13742
|
}
|
|
13665
|
-
class
|
|
13743
|
+
class xt extends j {
|
|
13666
13744
|
constructor(n) {
|
|
13667
13745
|
super(`Channel provisioning timeout after ${n}ms`), this.name = "ProvisioningTimeoutError";
|
|
13668
13746
|
}
|
|
13669
13747
|
}
|
|
13670
|
-
class
|
|
13748
|
+
class Wt extends j {
|
|
13671
13749
|
constructor(n) {
|
|
13672
13750
|
super(`Channel not found: ${n}`), this.name = "ChannelNotFoundError";
|
|
13673
13751
|
}
|
|
13674
13752
|
}
|
|
13675
|
-
class
|
|
13753
|
+
class Jt extends j {
|
|
13676
13754
|
constructor(n) {
|
|
13677
13755
|
super(`Space not found for domain: ${n}`), this.name = "SpaceNotFoundError";
|
|
13678
13756
|
}
|
|
13679
13757
|
}
|
|
13680
|
-
class
|
|
13758
|
+
class $t extends j {
|
|
13681
13759
|
constructor() {
|
|
13682
13760
|
super("No channels available in this space"), this.name = "NoChannelsError";
|
|
13683
13761
|
}
|
|
13684
13762
|
}
|
|
13685
|
-
var
|
|
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 || {});
|
|
13686
13764
|
let xe = 1, he = null;
|
|
13687
|
-
function
|
|
13765
|
+
function Ml(e) {
|
|
13688
13766
|
xe = e;
|
|
13689
13767
|
}
|
|
13690
|
-
function
|
|
13768
|
+
function gl() {
|
|
13691
13769
|
return xe;
|
|
13692
13770
|
}
|
|
13693
|
-
function
|
|
13771
|
+
function Rt(e) {
|
|
13694
13772
|
he = e;
|
|
13695
13773
|
}
|
|
13696
|
-
function
|
|
13774
|
+
function Pl() {
|
|
13697
13775
|
return he;
|
|
13698
13776
|
}
|
|
13699
|
-
const
|
|
13777
|
+
const zt = {
|
|
13700
13778
|
0: "DEBUG",
|
|
13701
13779
|
1: "INFO",
|
|
13702
13780
|
2: "WARN",
|
|
13703
13781
|
3: "ERROR",
|
|
13704
13782
|
4: "NONE"
|
|
13705
13783
|
};
|
|
13706
|
-
function
|
|
13784
|
+
function Yt(e, n) {
|
|
13707
13785
|
return `[${e}] ${n}`;
|
|
13708
13786
|
}
|
|
13709
13787
|
function Ie(e, n, d, i) {
|
|
13710
|
-
const s = (/* @__PURE__ */ new Date()).toISOString(), a =
|
|
13788
|
+
const s = (/* @__PURE__ */ new Date()).toISOString(), a = zt[e];
|
|
13711
13789
|
if (he && he({
|
|
13712
13790
|
timestamp: s,
|
|
13713
13791
|
level: e,
|
|
@@ -13716,7 +13794,7 @@ function Ie(e, n, d, i) {
|
|
|
13716
13794
|
message: d,
|
|
13717
13795
|
args: i
|
|
13718
13796
|
}), xe <= e) {
|
|
13719
|
-
const c =
|
|
13797
|
+
const c = Yt(n, d);
|
|
13720
13798
|
switch (e) {
|
|
13721
13799
|
case 0:
|
|
13722
13800
|
console.debug(c, ...i);
|
|
@@ -13750,7 +13828,7 @@ function B(e) {
|
|
|
13750
13828
|
};
|
|
13751
13829
|
}
|
|
13752
13830
|
const X = B("WebSocketTransport");
|
|
13753
|
-
class
|
|
13831
|
+
class Xt {
|
|
13754
13832
|
ws = null;
|
|
13755
13833
|
keepaliveTimeout = null;
|
|
13756
13834
|
keepaliveTimeoutMs;
|
|
@@ -13812,7 +13890,7 @@ class Yt {
|
|
|
13812
13890
|
}
|
|
13813
13891
|
resetKeepaliveTimeout() {
|
|
13814
13892
|
this.clearKeepaliveTimeout(), this.keepaliveTimeout = setTimeout(() => {
|
|
13815
|
-
X.error(`No keepalive received in ${this.keepaliveTimeoutMs}ms, closing connection`), this.callbacks.onError(new
|
|
13893
|
+
X.error(`No keepalive received in ${this.keepaliveTimeoutMs}ms, closing connection`), this.callbacks.onError(new mt(this.keepaliveTimeoutMs)), this.close();
|
|
13816
13894
|
}, this.keepaliveTimeoutMs);
|
|
13817
13895
|
}
|
|
13818
13896
|
clearKeepaliveTimeout() {
|
|
@@ -13820,10 +13898,10 @@ class Yt {
|
|
|
13820
13898
|
}
|
|
13821
13899
|
}
|
|
13822
13900
|
const K = B("WebTransportTransport");
|
|
13823
|
-
function
|
|
13901
|
+
function Et() {
|
|
13824
13902
|
return typeof WebTransport < "u";
|
|
13825
13903
|
}
|
|
13826
|
-
class
|
|
13904
|
+
class qt {
|
|
13827
13905
|
transport = null;
|
|
13828
13906
|
stream = null;
|
|
13829
13907
|
reader = null;
|
|
@@ -13840,7 +13918,7 @@ class Xt {
|
|
|
13840
13918
|
return this.transport !== null && this.writer !== null;
|
|
13841
13919
|
}
|
|
13842
13920
|
async connect(n, d) {
|
|
13843
|
-
if (!
|
|
13921
|
+
if (!Et())
|
|
13844
13922
|
throw new le("WebTransport is not supported in this browser");
|
|
13845
13923
|
K.debug(`Connecting to WebTransport: ${n}`);
|
|
13846
13924
|
try {
|
|
@@ -13913,7 +13991,7 @@ class Xt {
|
|
|
13913
13991
|
*/
|
|
13914
13992
|
resetKeepaliveTimeout() {
|
|
13915
13993
|
this.clearKeepaliveTimeout(), this.keepaliveTimeout = setTimeout(() => {
|
|
13916
|
-
K.error(`No keepalive received in ${this.keepaliveTimeoutMs}ms, closing connection`), this.callbacks.onError(new
|
|
13994
|
+
K.error(`No keepalive received in ${this.keepaliveTimeoutMs}ms, closing connection`), this.callbacks.onError(new mt(this.keepaliveTimeoutMs)), this.close();
|
|
13917
13995
|
}, this.keepaliveTimeoutMs);
|
|
13918
13996
|
}
|
|
13919
13997
|
/**
|
|
@@ -13936,7 +14014,7 @@ class Xt {
|
|
|
13936
14014
|
}
|
|
13937
14015
|
}
|
|
13938
14016
|
const q = B("Channel");
|
|
13939
|
-
class
|
|
14017
|
+
class Zt {
|
|
13940
14018
|
state = "disconnected";
|
|
13941
14019
|
transport = null;
|
|
13942
14020
|
config;
|
|
@@ -14015,13 +14093,13 @@ class qt {
|
|
|
14015
14093
|
switch (n.Type) {
|
|
14016
14094
|
case v.WebSocket:
|
|
14017
14095
|
case v.WebSocketProxy:
|
|
14018
|
-
this.transport = new
|
|
14096
|
+
this.transport = new Xt(d);
|
|
14019
14097
|
break;
|
|
14020
14098
|
case v.WebTransport:
|
|
14021
14099
|
case v.WebTransportProxy:
|
|
14022
|
-
if (!
|
|
14100
|
+
if (!Et())
|
|
14023
14101
|
throw new Error("WebTransport is not supported in this browser");
|
|
14024
|
-
this.transport = new
|
|
14102
|
+
this.transport = new qt(d);
|
|
14025
14103
|
break;
|
|
14026
14104
|
default:
|
|
14027
14105
|
throw new Error(`Unsupported entrypoint type: ${v[n.Type]}`);
|
|
@@ -14062,8 +14140,8 @@ class qt {
|
|
|
14062
14140
|
this.state !== n && (q.debug(`Channel state: ${this.state} -> ${n}`), this.state = n, this.config.onStateChange?.(n));
|
|
14063
14141
|
}
|
|
14064
14142
|
}
|
|
14065
|
-
const x = B("ChannelManager"),
|
|
14066
|
-
class
|
|
14143
|
+
const x = B("ChannelManager"), Tt = $.GROUP_CORE;
|
|
14144
|
+
class Qt {
|
|
14067
14145
|
channels = /* @__PURE__ */ new Map();
|
|
14068
14146
|
// keyed by opcode group
|
|
14069
14147
|
activeType = null;
|
|
@@ -14107,7 +14185,7 @@ class Zt {
|
|
|
14107
14185
|
* The opcode group is extracted from the message automatically.
|
|
14108
14186
|
*/
|
|
14109
14187
|
sendProtocolMessage(n) {
|
|
14110
|
-
const d =
|
|
14188
|
+
const d = Ct(n);
|
|
14111
14189
|
for (const [i, s] of this.channels)
|
|
14112
14190
|
if (i & d) {
|
|
14113
14191
|
s.send(n);
|
|
@@ -14151,7 +14229,7 @@ class Zt {
|
|
|
14151
14229
|
*/
|
|
14152
14230
|
async connectAllChannels(n, d) {
|
|
14153
14231
|
x.info(`Trying endpoint type: ${v[n]} (${d.length} channels)`);
|
|
14154
|
-
const i = d.find((a) => (a.OpcodeGroupsFromServer &
|
|
14232
|
+
const i = d.find((a) => (a.OpcodeGroupsFromServer & Tt) !== 0), s = d.filter((a) => (a.OpcodeGroupsFromServer & Tt) === 0);
|
|
14155
14233
|
if (!i)
|
|
14156
14234
|
throw new Error("No core channel found in entrypoints");
|
|
14157
14235
|
if (x.debug("Connecting core channel first..."), await this.connectChannel(i), s.length > 0) {
|
|
@@ -14168,7 +14246,7 @@ class Zt {
|
|
|
14168
14246
|
* Connect a single channel.
|
|
14169
14247
|
*/
|
|
14170
14248
|
async connectChannel(n) {
|
|
14171
|
-
const d = new
|
|
14249
|
+
const d = new Zt({
|
|
14172
14250
|
entrypoint: n,
|
|
14173
14251
|
sessionId: this.config.sessionId,
|
|
14174
14252
|
keepaliveTimeoutMs: this.config.keepaliveTimeoutMs,
|
|
@@ -14218,7 +14296,7 @@ class Zt {
|
|
|
14218
14296
|
if (!this.shouldReconnect)
|
|
14219
14297
|
return;
|
|
14220
14298
|
if (this.reconnectAttempts >= this.config.maxReconnectAttempts) {
|
|
14221
|
-
x.error(`Max reconnect attempts (${this.config.maxReconnectAttempts}) reached`), this.setState("offline"), this.config.onError?.(new
|
|
14299
|
+
x.error(`Max reconnect attempts (${this.config.maxReconnectAttempts}) reached`), this.setState("offline"), this.config.onError?.(new Kt(this.config.maxReconnectAttempts));
|
|
14222
14300
|
return;
|
|
14223
14301
|
}
|
|
14224
14302
|
this.setState("reconnecting"), this.reconnectAttempts++;
|
|
@@ -14258,11 +14336,11 @@ class Zt {
|
|
|
14258
14336
|
});
|
|
14259
14337
|
}
|
|
14260
14338
|
}
|
|
14261
|
-
const
|
|
14339
|
+
const Bt = 5e3, At = 3e4, Ut = 125e3, 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;
|
|
14262
14340
|
function We() {
|
|
14263
14341
|
return "device-" + Math.random().toString(36).substring(2, 15);
|
|
14264
14342
|
}
|
|
14265
|
-
async function
|
|
14343
|
+
async function nl(e) {
|
|
14266
14344
|
try {
|
|
14267
14345
|
const n = await fetch("https://api.dev.ikon.live/users/me", {
|
|
14268
14346
|
credentials: "include",
|
|
@@ -14273,13 +14351,13 @@ async function ll(e) {
|
|
|
14273
14351
|
return;
|
|
14274
14352
|
}
|
|
14275
14353
|
}
|
|
14276
|
-
function
|
|
14354
|
+
function dl(e) {
|
|
14277
14355
|
return e === "development" ? "https://api.dev.ikon.live" : "https://api.prod.ikon.live";
|
|
14278
14356
|
}
|
|
14279
|
-
function
|
|
14357
|
+
function il() {
|
|
14280
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";
|
|
14281
14359
|
}
|
|
14282
|
-
function
|
|
14360
|
+
function sl() {
|
|
14283
14361
|
if (typeof window > "u")
|
|
14284
14362
|
return { parameters: {} };
|
|
14285
14363
|
const e = window.location.pathname;
|
|
@@ -14294,8 +14372,8 @@ function il() {
|
|
|
14294
14372
|
c[f] = w;
|
|
14295
14373
|
return { sessionId: n, channelKey: d, parameters: c };
|
|
14296
14374
|
}
|
|
14297
|
-
function
|
|
14298
|
-
const e = typeof import.meta < "u" ?
|
|
14375
|
+
function al() {
|
|
14376
|
+
const e = typeof import.meta < "u" ? ol?.VITE_IKON_SPACE_DOMAIN : void 0;
|
|
14299
14377
|
if (e)
|
|
14300
14378
|
return e;
|
|
14301
14379
|
if (typeof window > "u")
|
|
@@ -14305,7 +14383,7 @@ function sl() {
|
|
|
14305
14383
|
throw new j(`Cannot derive space domain from hostname: ${n}`);
|
|
14306
14384
|
return d[1];
|
|
14307
14385
|
}
|
|
14308
|
-
function
|
|
14386
|
+
function cl(e, n) {
|
|
14309
14387
|
return new Promise((d, i) => {
|
|
14310
14388
|
const s = setTimeout(d, e);
|
|
14311
14389
|
if (n) {
|
|
@@ -14320,13 +14398,13 @@ function al(e, n) {
|
|
|
14320
14398
|
}
|
|
14321
14399
|
});
|
|
14322
14400
|
}
|
|
14323
|
-
function
|
|
14401
|
+
function Mt(e, n) {
|
|
14324
14402
|
const d = { signal: n };
|
|
14325
14403
|
return e ? d.headers = {
|
|
14326
14404
|
Authorization: `Bearer ${e}`
|
|
14327
14405
|
} : d.credentials = "include", d;
|
|
14328
14406
|
}
|
|
14329
|
-
function
|
|
14407
|
+
function ul(e, n, d) {
|
|
14330
14408
|
const i = {
|
|
14331
14409
|
method: "POST",
|
|
14332
14410
|
headers: {
|
|
@@ -14338,23 +14416,23 @@ function cl(e, n, d) {
|
|
|
14338
14416
|
};
|
|
14339
14417
|
return n || (i.credentials = "include"), i;
|
|
14340
14418
|
}
|
|
14341
|
-
async function
|
|
14419
|
+
async function fl(e, n, d, i) {
|
|
14342
14420
|
const s = `${e}/spaces/domain/${encodeURIComponent(n)}`;
|
|
14343
14421
|
G.debug(`Fetching space by domain: ${n}`);
|
|
14344
|
-
const a = await fetch(s,
|
|
14422
|
+
const a = await fetch(s, Mt(d, i));
|
|
14345
14423
|
if (!a.ok) {
|
|
14346
14424
|
if (a.status === 404)
|
|
14347
|
-
throw new
|
|
14425
|
+
throw new Jt(n);
|
|
14348
14426
|
const f = await a.text().catch(() => "Unknown error");
|
|
14349
14427
|
throw new j(`Failed to fetch space: ${a.status} ${f}`);
|
|
14350
14428
|
}
|
|
14351
14429
|
const c = await a.json();
|
|
14352
14430
|
return G.debug(`Found space: ${c.name} (${c.id})`), c;
|
|
14353
14431
|
}
|
|
14354
|
-
async function
|
|
14432
|
+
async function gt(e, n, d, i) {
|
|
14355
14433
|
const s = `${e}/rooms?space=${encodeURIComponent(n)}&scope=my&limit=50`;
|
|
14356
14434
|
G.debug(`Fetching channels for space: ${n}`);
|
|
14357
|
-
const a = await fetch(s,
|
|
14435
|
+
const a = await fetch(s, Mt(d, i));
|
|
14358
14436
|
if (!a.ok) {
|
|
14359
14437
|
const f = await a.text().catch(() => "Unknown error");
|
|
14360
14438
|
throw new j(`Failed to fetch channels: ${a.status} ${f}`);
|
|
@@ -14362,39 +14440,39 @@ async function Mt(e, n, d, i) {
|
|
|
14362
14440
|
const c = await a.json();
|
|
14363
14441
|
return G.debug(`Found ${c.results.length} channels`), c.results;
|
|
14364
14442
|
}
|
|
14365
|
-
function
|
|
14443
|
+
function Pt(e, n) {
|
|
14366
14444
|
if (e.length === 0)
|
|
14367
|
-
throw new
|
|
14445
|
+
throw new $t();
|
|
14368
14446
|
if (n) {
|
|
14369
14447
|
const i = e.find((s) => s.channelSlug === n || s.roomTemplateSlug === n);
|
|
14370
14448
|
if (!i)
|
|
14371
|
-
throw new
|
|
14449
|
+
throw new Wt(n);
|
|
14372
14450
|
return G.debug(`Selected channel by key '${n}': ${i.code}`), i;
|
|
14373
14451
|
}
|
|
14374
14452
|
const d = e[0];
|
|
14375
14453
|
return G.debug(`Selected first channel: ${d.code}`), d;
|
|
14376
14454
|
}
|
|
14377
|
-
async function
|
|
14378
|
-
const s = `${e}/rooms/connect`, a = await fetch(s,
|
|
14455
|
+
async function wl(e, n, d, i) {
|
|
14456
|
+
const s = `${e}/rooms/connect`, a = await fetch(s, ul(n, d, i));
|
|
14379
14457
|
if (!a.ok) {
|
|
14380
14458
|
const c = await a.text().catch(() => "Unknown error");
|
|
14381
14459
|
throw new j(`Backend connect failed: ${a.status} ${c}`);
|
|
14382
14460
|
}
|
|
14383
14461
|
return a.json();
|
|
14384
14462
|
}
|
|
14385
|
-
async function
|
|
14463
|
+
async function Vt(e, n, d, i, s) {
|
|
14386
14464
|
const a = Date.now();
|
|
14387
|
-
let c =
|
|
14465
|
+
let c = tl;
|
|
14388
14466
|
for (; ; ) {
|
|
14389
14467
|
if (s?.aborted)
|
|
14390
14468
|
throw new j("Connection aborted");
|
|
14391
14469
|
if (Date.now() - a >= d)
|
|
14392
|
-
throw new
|
|
14393
|
-
const w = await
|
|
14470
|
+
throw new xt(d);
|
|
14471
|
+
const w = await wl(e, n, i, s), F = w.state?.toLowerCase();
|
|
14394
14472
|
if (F === "running")
|
|
14395
14473
|
return w;
|
|
14396
14474
|
if (F === "provisioning") {
|
|
14397
|
-
G.debug(`Channel provisioning, waiting ${c}ms...`), await
|
|
14475
|
+
G.debug(`Channel provisioning, waiting ${c}ms...`), await cl(c, s), c = Math.min(c * 1.5, ll);
|
|
14398
14476
|
continue;
|
|
14399
14477
|
}
|
|
14400
14478
|
throw new j(`Unexpected channel state: ${w.state}`);
|
|
@@ -14411,12 +14489,12 @@ async function Je(e, n) {
|
|
|
14411
14489
|
const a = Pe.fromProtocolMessage(s);
|
|
14412
14490
|
return G.debug(`Got ${a.Entrypoints.length} entrypoints`), { authResponse: a };
|
|
14413
14491
|
}
|
|
14414
|
-
function
|
|
14492
|
+
function Il(e, n) {
|
|
14415
14493
|
return Ve.create({
|
|
14416
14494
|
ServerSessionId: "",
|
|
14417
14495
|
// Server will fill this in
|
|
14418
14496
|
ContextType: me.Browser,
|
|
14419
|
-
UserType:
|
|
14497
|
+
UserType: Ee.Human,
|
|
14420
14498
|
PayloadType: ye.Teleport,
|
|
14421
14499
|
IsInternal: !1,
|
|
14422
14500
|
Description: e.description ?? "Ikon SDK TypeScript",
|
|
@@ -14439,7 +14517,7 @@ function wl(e, n) {
|
|
|
14439
14517
|
Parameters: e.parameters ?? {}
|
|
14440
14518
|
});
|
|
14441
14519
|
}
|
|
14442
|
-
function
|
|
14520
|
+
function Fl(e) {
|
|
14443
14521
|
return {
|
|
14444
14522
|
ServerSessionId: e.ServerSessionId,
|
|
14445
14523
|
ContextType: e.ContextType,
|
|
@@ -14466,12 +14544,12 @@ function Il(e) {
|
|
|
14466
14544
|
Parameters: e.Parameters
|
|
14467
14545
|
};
|
|
14468
14546
|
}
|
|
14469
|
-
async function
|
|
14547
|
+
async function Tl(e, n) {
|
|
14470
14548
|
const d = `https://${e.host}:${e.httpsPort}`;
|
|
14471
14549
|
G.debug(`Authenticating with local server: ${d}`);
|
|
14472
14550
|
let i = e.userId;
|
|
14473
|
-
i || (i = await
|
|
14474
|
-
const s =
|
|
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);
|
|
14475
14553
|
G.debug("Requesting connect token...");
|
|
14476
14554
|
const c = await fetch(`${d}/connect-token`, {
|
|
14477
14555
|
method: "POST",
|
|
@@ -14492,17 +14570,17 @@ async function Fl(e, n) {
|
|
|
14492
14570
|
const F = `${d}/connect?token=${encodeURIComponent(w)}`;
|
|
14493
14571
|
return Je(F, n);
|
|
14494
14572
|
}
|
|
14495
|
-
async function
|
|
14573
|
+
async function hl(e, n) {
|
|
14496
14574
|
G.debug("Starting browser authentication");
|
|
14497
|
-
const d =
|
|
14575
|
+
const d = sl(), i = e.channelKey ?? d.channelKey, s = e.sessionId ?? d.sessionId, a = { ...d.parameters, ...e.parameters };
|
|
14498
14576
|
if (s && i)
|
|
14499
14577
|
throw new j("Cannot specify both sessionId and channelKey. Use sessionId for precomputed sessions or channelKey to select a channel.");
|
|
14500
|
-
const c =
|
|
14578
|
+
const c = il(), f = al();
|
|
14501
14579
|
G.debug(`Backend URL: ${c}, Space domain: ${f}`);
|
|
14502
|
-
const w = await
|
|
14503
|
-
code:
|
|
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,
|
|
14504
14582
|
contextType: me.Browser,
|
|
14505
|
-
userType:
|
|
14583
|
+
userType: Ee.Human,
|
|
14506
14584
|
clientType: be.DesktopWeb,
|
|
14507
14585
|
payloadType: ye.Teleport,
|
|
14508
14586
|
description: e.description ?? "Ikon SDK TypeScript",
|
|
@@ -14518,16 +14596,16 @@ async function Tl(e, n) {
|
|
|
14518
14596
|
launchParams: a,
|
|
14519
14597
|
hash: s,
|
|
14520
14598
|
waitForRunning: !0
|
|
14521
|
-
}, o = e.provisioningTimeoutMs ?? Nt, l = await
|
|
14599
|
+
}, o = e.provisioningTimeoutMs ?? Nt, l = await Vt(c, r, o, void 0, n);
|
|
14522
14600
|
if (!l.configuration?.url)
|
|
14523
14601
|
throw new j("Backend did not return a connect URL");
|
|
14524
14602
|
const u = l.configuration.url;
|
|
14525
14603
|
return G.debug("Got connect URL, authenticating with Ikon server"), Je(u, n);
|
|
14526
14604
|
}
|
|
14527
|
-
async function
|
|
14605
|
+
async function pl(e, n) {
|
|
14528
14606
|
if (G.debug("Starting API key authentication"), e.sessionId && e.channelKey)
|
|
14529
14607
|
throw new j("Cannot specify both sessionId and channelKey. Use sessionId for precomputed sessions or channelKey to select a channel.");
|
|
14530
|
-
const d =
|
|
14608
|
+
const d = dl(e.backendType);
|
|
14531
14609
|
G.debug(`Backend URL: ${d}, Space ID: ${e.spaceId}`);
|
|
14532
14610
|
const i = await fetch(`${d}/auth/api-key`, {
|
|
14533
14611
|
method: "POST",
|
|
@@ -14561,10 +14639,10 @@ async function hl(e, n) {
|
|
|
14561
14639
|
throw new j(`Failed to get or create profile: ${c.status} ${l}`);
|
|
14562
14640
|
}
|
|
14563
14641
|
G.debug("Profile created or retrieved");
|
|
14564
|
-
const f = await
|
|
14565
|
-
code:
|
|
14642
|
+
const f = await gt(d, e.spaceId, a, n), F = {
|
|
14643
|
+
code: Pt(f, e.channelKey).code,
|
|
14566
14644
|
contextType: me.Plugin,
|
|
14567
|
-
userType: e.userType ??
|
|
14645
|
+
userType: e.userType ?? Ee.Human,
|
|
14568
14646
|
clientType: e.clientType ?? be.DesktopWeb,
|
|
14569
14647
|
payloadType: ye.Teleport,
|
|
14570
14648
|
description: e.description ?? "Ikon SDK TypeScript",
|
|
@@ -14580,19 +14658,19 @@ async function hl(e, n) {
|
|
|
14580
14658
|
launchParams: e.parameters,
|
|
14581
14659
|
hash: e.sessionId,
|
|
14582
14660
|
waitForRunning: !0
|
|
14583
|
-
}, t = e.provisioningTimeoutMs ?? Nt, r = await
|
|
14661
|
+
}, t = e.provisioningTimeoutMs ?? Nt, r = await Vt(d, F, t, a, n);
|
|
14584
14662
|
if (!r.configuration?.url)
|
|
14585
14663
|
throw new j("Backend did not return a connect URL");
|
|
14586
14664
|
const o = r.configuration.url;
|
|
14587
14665
|
return G.debug("Got connect URL, authenticating with Ikon server"), Je(o, n);
|
|
14588
14666
|
}
|
|
14589
|
-
const A = B("EndpointSelector"),
|
|
14667
|
+
const A = B("EndpointSelector"), ht = {
|
|
14590
14668
|
[v.WebTransport]: 0,
|
|
14591
14669
|
[v.WebSocket]: 1,
|
|
14592
14670
|
[v.WebTransportProxy]: 2,
|
|
14593
14671
|
[v.WebSocketProxy]: 3
|
|
14594
|
-
},
|
|
14595
|
-
class
|
|
14672
|
+
}, Ne = "ikon_endpoint_type";
|
|
14673
|
+
class bl {
|
|
14596
14674
|
isLocal;
|
|
14597
14675
|
workingEndpointType = null;
|
|
14598
14676
|
constructor(n) {
|
|
@@ -14607,7 +14685,7 @@ class pl {
|
|
|
14607
14685
|
if (this.isLocal)
|
|
14608
14686
|
return A.debug(`Local mode: using server order [${d.map((s) => v[s]).join(", ")}]`), d;
|
|
14609
14687
|
const i = [...d].sort((s, a) => {
|
|
14610
|
-
const c =
|
|
14688
|
+
const c = ht[s] ?? 999, f = ht[a] ?? 999;
|
|
14611
14689
|
return c - f;
|
|
14612
14690
|
});
|
|
14613
14691
|
if (this.workingEndpointType !== null && n.has(this.workingEndpointType)) {
|
|
@@ -14624,7 +14702,7 @@ class pl {
|
|
|
14624
14702
|
if (!this.isLocal) {
|
|
14625
14703
|
this.workingEndpointType = n;
|
|
14626
14704
|
try {
|
|
14627
|
-
localStorage.setItem(
|
|
14705
|
+
localStorage.setItem(Ne, String(n)), A.debug(`Remembered working type: ${v[n]}`);
|
|
14628
14706
|
} catch {
|
|
14629
14707
|
}
|
|
14630
14708
|
}
|
|
@@ -14635,7 +14713,7 @@ class pl {
|
|
|
14635
14713
|
clearRememberedType() {
|
|
14636
14714
|
this.workingEndpointType = null;
|
|
14637
14715
|
try {
|
|
14638
|
-
localStorage.removeItem(
|
|
14716
|
+
localStorage.removeItem(Ne);
|
|
14639
14717
|
} catch {
|
|
14640
14718
|
}
|
|
14641
14719
|
}
|
|
@@ -14644,7 +14722,7 @@ class pl {
|
|
|
14644
14722
|
*/
|
|
14645
14723
|
loadRememberedType() {
|
|
14646
14724
|
try {
|
|
14647
|
-
const n = localStorage.getItem(
|
|
14725
|
+
const n = localStorage.getItem(Ne);
|
|
14648
14726
|
if (n !== null) {
|
|
14649
14727
|
const d = Number(n);
|
|
14650
14728
|
v[d] !== void 0 && (this.workingEndpointType = d, A.debug(`Loaded remembered type: ${v[d]}`));
|
|
@@ -14654,7 +14732,7 @@ class pl {
|
|
|
14654
14732
|
}
|
|
14655
14733
|
}
|
|
14656
14734
|
const H = B("IkonClient");
|
|
14657
|
-
class
|
|
14735
|
+
class Vl {
|
|
14658
14736
|
channelManager = null;
|
|
14659
14737
|
authResponse = null;
|
|
14660
14738
|
currentState = "idle";
|
|
@@ -14675,13 +14753,13 @@ class Pl {
|
|
|
14675
14753
|
_globalState = null;
|
|
14676
14754
|
_initialGlobalStateReceived = !1;
|
|
14677
14755
|
constructor(n) {
|
|
14678
|
-
this.config = n, this.slowConnectionThresholdMs = n.timeouts?.slowConnectionThresholdMs ??
|
|
14756
|
+
this.config = n, this.slowConnectionThresholdMs = n.timeouts?.slowConnectionThresholdMs ?? Bt, this.connectionTimeoutMs = n.timeouts?.connectionTimeoutMs ?? At;
|
|
14679
14757
|
const d = [n.local, n.browser, n.apiKey].filter(Boolean).length;
|
|
14680
14758
|
if (d === 0)
|
|
14681
14759
|
throw new Error('IkonClient requires one of: "local", "browser", or "apiKey" configuration');
|
|
14682
14760
|
if (d > 1)
|
|
14683
14761
|
throw new Error('IkonClient accepts only one of: "local", "browser", or "apiKey" configuration');
|
|
14684
|
-
this.endpointSelector = new
|
|
14762
|
+
this.endpointSelector = new bl({
|
|
14685
14763
|
local: n.local
|
|
14686
14764
|
});
|
|
14687
14765
|
}
|
|
@@ -14728,11 +14806,11 @@ class Pl {
|
|
|
14728
14806
|
}, this.connectionTimeoutMs);
|
|
14729
14807
|
try {
|
|
14730
14808
|
const n = await this.authenticate();
|
|
14731
|
-
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
|
|
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({
|
|
14732
14810
|
sessionId: this._sessionId,
|
|
14733
|
-
keepaliveTimeoutMs: this.config.timeouts?.keepaliveTimeoutMs ??
|
|
14734
|
-
reconnectBackoffMs: this.config.timeouts?.reconnectBackoffMs ??
|
|
14735
|
-
maxReconnectAttempts: this.config.timeouts?.maxReconnectAttempts ??
|
|
14811
|
+
keepaliveTimeoutMs: this.config.timeouts?.keepaliveTimeoutMs ?? Ut,
|
|
14812
|
+
reconnectBackoffMs: this.config.timeouts?.reconnectBackoffMs ?? el,
|
|
14813
|
+
maxReconnectAttempts: this.config.timeouts?.maxReconnectAttempts ?? rl,
|
|
14736
14814
|
endpointSelector: this.endpointSelector,
|
|
14737
14815
|
onProtocolMessage: (d) => {
|
|
14738
14816
|
this.handleProtocolMessage(d);
|
|
@@ -14794,11 +14872,11 @@ class Pl {
|
|
|
14794
14872
|
async authenticate() {
|
|
14795
14873
|
const n = this.abortController?.signal;
|
|
14796
14874
|
if (this.config.local)
|
|
14797
|
-
return
|
|
14875
|
+
return Tl(this.config.local, n);
|
|
14798
14876
|
if (this.config.browser)
|
|
14799
|
-
return
|
|
14877
|
+
return hl(this.config.browser, n);
|
|
14800
14878
|
if (this.config.apiKey)
|
|
14801
|
-
return
|
|
14879
|
+
return pl(this.config.apiKey, n);
|
|
14802
14880
|
throw new Error("No connection configuration provided (need local, browser, or apiKey)");
|
|
14803
14881
|
}
|
|
14804
14882
|
/**
|
|
@@ -14932,90 +15010,90 @@ class Pl {
|
|
|
14932
15010
|
}
|
|
14933
15011
|
}
|
|
14934
15012
|
}
|
|
14935
|
-
function
|
|
15013
|
+
function Sl(e) {
|
|
14936
15014
|
return e === "connecting" || e === "connectingSlow" || e === "reconnecting";
|
|
14937
15015
|
}
|
|
14938
|
-
function
|
|
15016
|
+
function kl(e) {
|
|
14939
15017
|
return e === "connected";
|
|
14940
15018
|
}
|
|
14941
|
-
function
|
|
15019
|
+
function Ol(e) {
|
|
14942
15020
|
return e === "offline" || e === "offlineError" || e === "idle";
|
|
14943
15021
|
}
|
|
14944
|
-
function
|
|
15022
|
+
function Cl(e) {
|
|
14945
15023
|
return e === "offlineError";
|
|
14946
15024
|
}
|
|
14947
|
-
const
|
|
14948
|
-
let z = [], ke =
|
|
14949
|
-
function bl(e) {
|
|
14950
|
-
e.level < kt || (z.push(e), z.length > ke && (z = z.slice(-ke)));
|
|
14951
|
-
}
|
|
15025
|
+
const St = 1e3, kt = yt.INFO;
|
|
15026
|
+
let z = [], ke = St, Ot = kt, Oe = null;
|
|
14952
15027
|
function ml(e) {
|
|
14953
|
-
|
|
15028
|
+
e.level < Ot || (z.push(e), z.length > ke && (z = z.slice(-ke)));
|
|
14954
15029
|
}
|
|
14955
|
-
function
|
|
15030
|
+
function yl(e) {
|
|
15031
|
+
ke = e?.maxBufferSize ?? St, Ot = e?.minLevel ?? kt, z = [], Rt(ml);
|
|
15032
|
+
}
|
|
15033
|
+
function _l(e) {
|
|
14956
15034
|
Oe = e;
|
|
14957
15035
|
}
|
|
14958
|
-
function
|
|
15036
|
+
function Ll() {
|
|
14959
15037
|
return z;
|
|
14960
15038
|
}
|
|
14961
|
-
function
|
|
15039
|
+
function El() {
|
|
14962
15040
|
const e = z;
|
|
14963
15041
|
return z = [], e;
|
|
14964
15042
|
}
|
|
14965
|
-
function
|
|
15043
|
+
function Dl() {
|
|
14966
15044
|
if (!Oe || z.length === 0)
|
|
14967
15045
|
return 0;
|
|
14968
|
-
const e =
|
|
15046
|
+
const e = El();
|
|
14969
15047
|
return Oe(e), e.length;
|
|
14970
15048
|
}
|
|
14971
|
-
function
|
|
15049
|
+
function jl() {
|
|
14972
15050
|
z = [];
|
|
14973
15051
|
}
|
|
14974
|
-
function
|
|
15052
|
+
function Hl() {
|
|
14975
15053
|
return z.length;
|
|
14976
15054
|
}
|
|
14977
|
-
|
|
15055
|
+
yl();
|
|
14978
15056
|
export {
|
|
14979
15057
|
j as AuthenticationError,
|
|
14980
|
-
|
|
14981
|
-
|
|
14982
|
-
|
|
15058
|
+
Zt as Channel,
|
|
15059
|
+
Qt as ChannelManager,
|
|
15060
|
+
Wt as ChannelNotFoundError,
|
|
14983
15061
|
ee as ClientReady,
|
|
14984
15062
|
be as ClientType,
|
|
14985
15063
|
Ke as ConnectionError,
|
|
14986
15064
|
me as ContextType,
|
|
14987
|
-
|
|
15065
|
+
bl as EndpointSelector,
|
|
14988
15066
|
v as EntrypointType,
|
|
14989
15067
|
Se as GlobalState,
|
|
14990
|
-
|
|
14991
|
-
|
|
14992
|
-
|
|
14993
|
-
|
|
14994
|
-
|
|
15068
|
+
Vl as IkonClient,
|
|
15069
|
+
mt as KeepaliveTimeoutError,
|
|
15070
|
+
yt as LogLevel,
|
|
15071
|
+
Kt as MaxRetriesExceededError,
|
|
15072
|
+
$t as NoChannelsError,
|
|
14995
15073
|
$ as Opcode,
|
|
14996
|
-
|
|
14997
|
-
|
|
15074
|
+
xt as ProvisioningTimeoutError,
|
|
15075
|
+
Jt as SpaceNotFoundError,
|
|
14998
15076
|
le as TransportError,
|
|
14999
|
-
|
|
15077
|
+
Ee as UserType,
|
|
15000
15078
|
Nl as asProtocolMessage,
|
|
15001
|
-
|
|
15079
|
+
jl as clearLogBuffer,
|
|
15002
15080
|
B as createLogger,
|
|
15003
|
-
|
|
15004
|
-
|
|
15005
|
-
|
|
15006
|
-
|
|
15007
|
-
|
|
15008
|
-
|
|
15009
|
-
|
|
15010
|
-
|
|
15011
|
-
|
|
15012
|
-
|
|
15013
|
-
|
|
15081
|
+
Dl as flushLogs,
|
|
15082
|
+
Ll as getBufferedLogs,
|
|
15083
|
+
Hl as getLogBufferSize,
|
|
15084
|
+
gl as getLogLevel,
|
|
15085
|
+
Pl as getLogSink,
|
|
15086
|
+
yl as initializeLogSink,
|
|
15087
|
+
kl as isConnected,
|
|
15088
|
+
Sl as isConnecting,
|
|
15089
|
+
Cl as isError,
|
|
15090
|
+
Ol as isOffline,
|
|
15091
|
+
Et as isWebTransportSupported,
|
|
15014
15092
|
Ce as readOpcode,
|
|
15015
|
-
|
|
15093
|
+
Ct as readOpcodeGroup,
|
|
15016
15094
|
_e as readProtocolMessageHeaders,
|
|
15017
|
-
|
|
15018
|
-
|
|
15019
|
-
|
|
15020
|
-
|
|
15095
|
+
Ml as setLogLevel,
|
|
15096
|
+
Rt as setLogSink,
|
|
15097
|
+
_l as setSendLogsCallback,
|
|
15098
|
+
El as takeBufferedLogs
|
|
15021
15099
|
};
|